Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
Hi guys,
Can anyone please help me in this condition.
A database named as school contains tables named after the name of teachers.Let us suppose them t1,t2,t3,t4 and these table contain their own time table schedule which tells a teacher that in which class she has to go.Now obviously a teacher can have one or more periods free.
So i want to retrieve the teachers name i.e tables' name which have specified cell blank.

Query in high level language.
Give me those table names which have a cell blank where Day = Monday and Period = 5.


Please help me as soon as it could be possible.
Thanks,
Akky
Posted
Updated 18-May-12 6:13am
v2
Comments
Ed Nutting 18-May-12 12:13pm    
Looks like homework to me...
R. Giskard Reventlov 18-May-12 12:41pm    
Most likely: you'd think the tutors would think up a new application to torture the students with so we'd get caught unawares and do their homework for them.
Kschuler 18-May-12 12:32pm    
What have you tried so far? Use the Improve question link to post your code and explain why it isn't working. Include any error messages you are getting.
Shahin Khorshidnia 18-May-12 12:32pm    
And what's the problem? Do you want us writing code for this scenario?
Akkywadhwa 19-May-12 3:51am    
Yes,Shahin i want you to write a query in sql server 2005 for me.Please help me as soon as it could be possible.
Akky

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900