Unknown column 'PT' in 'where clause' | QUERY: | select * from bo_house where CodHouse is not null and CodHouse=PT and Ativo=1 order by Ordem ASC CABRA

CABRA

 -

    Unknown column 'PT' in 'where clause' | QUERY: | select * from bo_house_service hs left JOIN bo_service bs on bs.CodService=hs.CodService where CodHouse=PT ORDER BY bs.CodService