Click here to Skip to main content
13,193,468 members (25,368 online)
Rate this:
Please Sign up or sign in to vote.
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.
Posted 18-May-12 6:11am
Updated 18-May-12 6:13am
Ed Nutting39.5K
Ed Nutting 18-May-12 12:13pm
Looks like homework to me...
mark merrens 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?
Member 7749624 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.
losmac 19-May-12 17:54pm
We need more details: the structure of your database, example data.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171018.2 | Last Updated 18 May 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100