Click here to Skip to main content
15,897,334 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I Have a Table For Example.

CID CNAME CPOINT

1 a 400

2 b 300

3 c 200

4 d 100

5 e 200

6 f 300



Now how to select data according to top 3 CPOINT From This Table.

Top 3 Means - for all Vale of 400 and for all value of 300 and for all value of 200

PLZ HELP ME.
Posted

1 solution

Select top 3 from myTable where cpoint>200.
 
Share this answer
 
Comments
kanchan1123 20-Mar-11 2:52am    
but i don't know cpoint value so how u can put 200 here?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900