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