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