select * from h2o_objects WHERE (det ilike '%Y%') ORDER BY h2o_objects.ra,h2o_objects.dec