Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Code
Message
From
27/06/2006 18:40:45
 
 
To
27/06/2006 16:21:20
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01131562
Message ID:
01132215
Views:
13
Thanks, Tamar.

>Try it like this:
>
>>
>>SET DELETED on
>>
>>SELECT fi_invnum, fi_flcode, fi_cpprim, fi_weight, fi_dlvdat, rp_rtprim, MAX(rp_date), rp_cpprim ;
>>FROM feedinv ;
>>left OUTER JOIN ratpric ;
>>ON fi_rtprim = rp_rtprim ;
>>AND fi_cpprim = rp_cpprim ;
>>AND fi_dlvdat > rp_date ;
>>AND fi_dlvdat - rp_date < 7 ;
>>WHERE fi_flcode = 'BAA12062' ;
>>GROUP BY fi_invnum, fi_flcode, fi_cpprim, fi_weight, fi_dlvdat, rp_rtprim, rp_cpprim
>>
>
>Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform