correct custom SQL query; include all candidate attributes