I have this table ID | Category | Subcategory |
1 | Books | Comic |
2 | Books | Fiction |
3 | Cars | New |
4 | Books | Non- fiction |
4 | Cars | Second hand |
and I want to select only unique entries from the column 'Category'. That is, I want 'Books' and 'Cars' to be selected only once. How can I write a query ?? Help please.