Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Complex Query
Message
De
27/09/2000 18:07:15
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Divers
Thread ID:
00421451
Message ID:
00421806
Vues:
12
I have no idea how to help you because I cannot determine how to answer the questions given the table and views. I'm even sure of the relationships.

But, if you can write a query for each of the individual items listed, you can combine two ways. If you want each value in a seperate column:

SELECT
(query 1) AS totalstafftrained,
(query 2) AS percentgovstaff,
...

If you want each value in a seperate row:

query1
union
query2
union
...

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform