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