SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and T3_N_N >0 order by prn_o,tipo,sex,cat,tot3,numero' at line 1