SELECT query failed - select * from gallery where id = order by id asc