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
 Query Help

Author  Topic 

learntsql

524 Posts

Posted - 2010-01-05 : 08:22:57
I have ExamCenter,Students,Subjects tables
ExamCenter table contains Students information who write exam over there,
Student table contains students information
and Subjects table contains Which student appearing what subjects.

I want show output like as follows

CenterID1 - SName-Subject1 on date1,Sname-Subject2 on Date2 etc...
CenterID2 - SName-Subject1 on date1,Sname-Subject2 on Date2 etc...

please help me

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-01-05 : 08:35:41
We need table structure, sample data and wanted output related to sample data.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-01-06 : 03:16:42
are you using sql 2005?
Go to Top of Page

learntsql

524 Posts

Posted - 2010-01-06 : 04:22:05
Yes Visakh,
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-01-06 : 04:24:12
then see this

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=81254
Go to Top of Page
   

- Advertisement -