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