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