Too few columns

Item Value
SQLCODE -902
Constant SQLE_FOR_XML_EXPLICIT_TOO_FEW_COLUMNS
SQLSTATE WX010
Sybase error code 13581
ODBC 2 State ERROR
ODBC 3 State ERROR

Probable cause 

FOR XML EXPLICIT requires at least three columns: the tag column, the parent column, and one or more data columns.