|
-
Jan 18th, 2012, 11:49 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] Sub-select
Hi,
I will need a hint on how to write a mssql query.
I will like to run two SQL query as one query.
1) Select * from xxx where yyy=000 from zzzz
2) select user , sum(aaa+bbb) from xxx where hhh=4
i would like to run the second query on the result i will get from query 1. I'm not sure which function to use.
Thx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|