You specified an embedded static SELECT statement but you did not specify an INTO clause for the results.