in sql table following column r there
i want find 1st paid ,2nd paid,3rd paid date for same
|service_type|date |vehicle_no|
|------------|------|_---------|
|paid |23 jan|MH12H2007 |
| | | |
|paid |26 feb|MH12H2007 |
| | | |
| | | |
|paid |28 mar|MH12H2007 |
i want o/p like below
vehicle no| 1st paid date | 2nd paid date|3rd paid |latest
paid date|

pls help me out

Answer Posted / vinay

friend i want o/p for multiple vehicle_no where service type
are different i.e paid ,first free,second free,third free
pls help

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where is all the data on the internet stored?

737


Does inner join return duplicate rows?

705


what is the difference between a having clause and a where clause? : Sql dba

693


What is a .db file?

726


What are the various restrictions imposed on view in terms of dml?

694






What is sql stand for?

747


Will truncate release space?

680


what is single byte over head in oracle..?

2093


how to select unique records from a table? : Sql dba

826


Define a temp table?

755


what is the difference between clustered and non clustered index in sql? : Sql dba

738


What is auto increment?

734


How do I audit the sql sent to the server?

733


What is rownum in sql?

763


define sql delete statement ? : Sql dba

745