Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the data from one SQL
Message
De
17/11/2005 20:40:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01070001
Message ID:
01070044
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform