Can some explain to me why this comparison in postgresql is not working the way I want it to?
So I have a database called customer and it has the columns of customerid, firstname, lastname, phone, and city.. Each one of these columns is a Character(50). I want to find only customers from a certain city and ran multiple queries trying to figure out how to select a certain city.. and I feel like this is going to be a simple answer but I am pretty new to sql querying.
The first query I ran is this
SELECT *
FROM customer c
WHERE c.city = 'Denver'
This query returned no results and I also tried LIKE, ILIKE nothing seems to work I've even changed it from character(50) to character varying and still no results.. Not sure what I am doing wrong here