Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL question
Message
From
09/03/2000 03:09:19
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SQL question
Miscellaneous
Thread ID:
00343589
Message ID:
00343589
Views:
50
In my application I am storing the visits made to customer in a visits file of the following format -

customercode C 6
visitdate D 8
visitstatus C 20
visitremarks M

I need an sql to create a table with the latest visit along with the previous date (the one just before that) i.e. somthing like

customercode
lastvisitdate
lastvisitstatus
previousvisitdate
previousvisitstatus

Any ides will be helpful

Thanks in Advance

Anurag
Next
Reply
Map
View

Click here to load this message in the networking platform