I want to select rows based on a column value. I know for a fact the column value exists. The first query returns 100 rows from the listing
table. The second query, which looks for listings.OriginatingSystemName
= 'mfrmls` returns nothing. Why?
(Removing the quotes or using double quotes does not work).
I am using pgAdmin4 to run these queries.
first query:
select * from listing limit 100;
second query:
select * from listing where 'listing.OriginatingSystemName' = 'mfrmls'
This produces a 'column does not exist' error:
select * from listing where OriginatingSystemName = 'mfrmls'