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