Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Complex Query
Message
From
27/09/2000 18:07:15
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
00421451
Message ID:
00421806
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform