Error 151

Message text

Subquery allowed only one select list item

Item

Value

SQLCode

-151

Constant

SQLE_SUBQUERY_SELECT_LIST

SQLState

53023

ODBC State

42000

Probable cause

You have entered a subquery which has more than one column in the select list. Change the select list to have only one column.