Click here to Skip to main content
15,891,726 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to do the order by of a data according to srno and i want the order to start from 3 not from 1 how can i do this
Posted
Comments
ssd_coolguy 26-Jun-12 5:48am    
can you elaborate more..
show it is in tables..

1 solution

First of all, your question is not exactly very clear.

If you start from 3, where should 1 and 2 go in the list?

If you want to eliminate 1 and 2, and order the rest:

SQL
SELECT *
FROM   order_tab
WHERE  srno > 2
ORDER BY srno;
 
Share this answer
 
Comments
[no name] 15-Jun-12 0:06am    
i want to arrange the data according to financial year month ....and my financial years goes like this april,may ,june ,july and so on
......i want the order in this way
krumia 15-Jun-12 0:23am    
What's the database you're using?

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