SQL incorrecto: SELECT DISTINCT o.* FROM object o, belongs_to bt, attribute a WHERE bt.site_node IN () AND o.id = bt.object AND o.id=a.object AND a.attribute_type='date' AND a.index_num = 1 AND o.in_date <> '' AND o.object_type IN(2) ORDER BY a.value DESC, o.mod_date DESC, o.id DESC
MySQL Error: 0 ()
Session halted.