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