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