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