Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Need to combine 2 queries

Author  Topic 

archana23
Yak Posting Veteran

89 Posts

Posted - 2013-05-09 : 14:25:41
Hello,

I have one table called UserInfo with Columns as UserID,UserName,Class,Marks

I have another Table called Depts with Columns as
UserID,Depts

I have UserName with that Username i need to get UserID,Marks , Depts from above 2 tables.

Can you guys please help me on this to get the query.

Thank you.

chadmat
The Chadinator

1974 Posts

Posted - 2013-05-09 : 14:29:57
What have you tried so far? This is a relatively simple select with a join.

-Chad
Go to Top of Page

archana23
Yak Posting Veteran

89 Posts

Posted - 2013-05-09 : 14:42:57
Why dont you please tell me that simple Join query i am new to this programing.

Thank you.
Go to Top of Page

archana23
Yak Posting Veteran

89 Posts

Posted - 2013-05-09 : 15:05:23
Thank you got the solution
Go to Top of Page
   

- Advertisement -