Unknown column 'upload' in 'where clause': SELECT * FROM reservas WHERE propiedad_fk = upload and session_id = "uluub1t2fk2ab8e8esii8g28k7"