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