array(2) {
[0]=>
string(219) "select * from (select * from tb_produtos where ativo = 's' and vale_presente = 'n' and autor = 4354 order by visualizacao desc, peso desc, altura desc, largura desc, comprimento desc limit -11, 12) as t order by rand()"
[1]=>
array(0) {
}
}
ERROR: SQLSTATE[42000]: Syntax error or access violation: 1064 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 '-11, 12) as t order by rand()' at line 1