Verde Mc Verde Mc - 5 months ago 8
SQL Question

Cant make my query work mysql PHP

I can not make my query works can anyone knows whats wrong!
Thanks.

select * from coments where publicacionID="245" id < 177 order by id asc limit 5

Answer

You are missing an operator between publicacionID="245" and id < 177.

select * from coments where publicacionID="245" AND id < 177 order by id asc limit 5
Comments