Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL suggestions needed
Message
 
 
To
15/02/2000 11:28:04
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00331812
Message ID:
00332367
Views:
16
Oleg,

Yes, this SQL works and gives me desired result! The problem now is that my application returns the whole where expression. As I understand, I need to devide it this way...



>Nadya, how about this:
>SELECT * FROM tranmstr ;
>left JOIN misclndr on tranmstr.tranid = misclndr.tranid ;
> and between(tranmstr.extrYear+tranmstr.extrWeek ,oJC.LowWeek,oJC.HighWeek) ;
> and and SOURCE="S" ;
>inner JOIN propmstr on tranmstr.propid = propmstr.propid ;
>inner JOIN sitemstr on tranmstr.propid = sitemstr.propid ;
> and sitemstr.town="GOSN" and sitemstr.prefcode = "P" ;
>left JOIN bldgmstr on tranmstr.propid = bldgmstr.propid ;
>right join Towns on SiteMstr.Town=Towns.Town ;
>where Towns.town="GOSN" ;
>INTO TABLE &qry_arg3
>
>Oleg
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform