I have a table called records which has several columns, one of which is fromphone which represents a phone number. I can run this query to see the different phone numbers:
SELECT DISTINCT fromphone
FROM records
and it shows the different phone numbers.
However, if I run this query:
SELECT *
FROM records
WHERE fromphone = '123-456-7890'
where fromphone is a phone number in the table, no results get returned.