So,
SELECT * FROM table WHERE col LIKE '%'
will return everything. Is there a wildcard for the query
SELECT * FROM table WHERE col = '*'
Clearly *
doesn't work, I just put it there to indicate where I'd like a wildcard. The column I'm selecting from contains an integer between 1 and 12, and I want to be able to select either all records with a particular number, or all records with a wildcard.
Thanks,