I have the following record in a table:
id | Name |
1 | abc
2 | bac
3 | abc
4 | cab
5 | abc
6 | abc
7 | cab
8 | cab
9 | cab
I would like to retrieve only records with 'abc' entries. How do I construct a query to accomplish this?
Here's an example output illustrating what I mean:
1 | abc
3 | abc
5 | abc
6 | abc
WHERE, not randomly isORDER BY