forgot select on sql query