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