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