yeoys2003
2009-06-15 07:23:56 UTC
"Getting the 4 latest categories of the latest updated news."
==SQL Table==
ID CATEGORY
76 Sports
75 Sports
74 Entertainment
73 Sports
72 Business
71 World
70 Business
==OUTPUT==
Sports
Entertainment
Business
World
There are still some more other data in the SQL Table such as news title, date etc.
I tried "Select distinct category order by id DESC" but it not is not logically right.
I just need the sql statement.
Any kind soul to help me?? thanks!!