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