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