mysql error: SELECT object_damage_img_note.id, rel_x, rel_y, note, concat(users.fname, " ", users.lname) as user_name, date_format(note_date, "%d.%m.%Y %H:%i") as note_date_format FROM object_damage_img_note LEFT JOIN users ON users.uid = object_damage_img_note.uid WHERE oid = AND object_damage_img_note.deleted = 0