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