Hi,
I am trying a WHERE query for learning purpose.
I am facing an issue while writing this query.
When I copy where criteria from table, query gives result.
But when I manually type criteria, I get blank records.
Please see below queries I am using. I can not see any difference in both.
However, one query gives result and one does not.
The only change is 'London ' is copied from table in one query and in second query I have manually typed 'London '
Can anyone help me in this please.
SELECT * from Customers where City = 'London '
SELECT * from Customers where City = 'London '
Table copied from below link.
https://www.w3schools.com/sql/sql_distinct.asp
I am trying a WHERE query for learning purpose.
I am facing an issue while writing this query.
When I copy where criteria from table, query gives result.
But when I manually type criteria, I get blank records.
Please see below queries I am using. I can not see any difference in both.
However, one query gives result and one does not.
The only change is 'London ' is copied from table in one query and in second query I have manually typed 'London '
Can anyone help me in this please.
SELECT * from Customers where City = 'London '
SELECT * from Customers where City = 'London '
Table copied from below link.
https://www.w3schools.com/sql/sql_distinct.asp
Last edited: