Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the data from one SQL
Message
From
17/11/2005 20:40:28
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01070001
Message ID:
01070044
Views:
15
>Try with derived table
>SELECT Master.Numero,Master.FirstName,Master.LastName,'MasterType.Title_A, ;
>   MasterType.Title_F,Master.Bio_A,Master.Bio_F,;
>   UPPER(Master.LastName) AS LastName2,UPPER(Master.FirstName) AS FirstName2;
> FROM Master;
> INNER JOIN MasterType ON Master.NoMasterT=MasterType.Numero;
> INNER JOIN ON Master.NoMasterT=MasterType.Numero;
>	JOIN (	 ;
>		SELECT NoMaster AS Numero FROM Style;
>		 UNION SELECT NoMaster2 AS Numero FROM Style) temp ;
> ON Master.Numero=Temp.Numero ;
> ORDER BY LastName2,FirstName2
>
Thanks, I used Fabio's approach. It does the same thing.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform