Click here to Skip to main content
15,921,028 members
Home / Discussions / Database
   

Database

 
GeneralRe: Copy column from one table to another question Pin
leckey29-Jun-06 10:00
leckey29-Jun-06 10:00 
GeneralRe: Copy column from one table to another question Pin
Colin Angus Mackay29-Jun-06 10:05
Colin Angus Mackay29-Jun-06 10:05 
GeneralRe: Copy column from one table to another question Pin
leckey29-Jun-06 10:07
leckey29-Jun-06 10:07 
Questionhow do we get the column type from datagrid [modified] Pin
arutjothi29-Jun-06 5:34
arutjothi29-Jun-06 5:34 
AnswerRe: how do we get the column type from datagrid Pin
sathish s30-Jun-06 1:55
sathish s30-Jun-06 1:55 
Question[Message Deleted] Pin
BlueKooZZZZZZZZ29-Jun-06 2:58
BlueKooZZZZZZZZ29-Jun-06 2:58 
AnswerRe: Many to Many query Pin
PlayByTheRules29-Jun-06 3:14
PlayByTheRules29-Jun-06 3:14 
AnswerRe: Many to Many query Pin
Mike Dimmick29-Jun-06 3:15
Mike Dimmick29-Jun-06 3:15 
This smells a lot like a homework problem, but it's the end of June so there shouldn't be much homework around right now.

You'll need to join the Mark table to the Lesson table to be able to look up the [Lesson Name] in the Lesson table, to include only those results where [Lesson Name] is equal to Lesson2. I'd then use the NOT IN operator to select those students from the Student table which don't appear in that set. In my view, NOT IN is clearer than trying to use some form of outer join and select rows which have a NULL indicating no match. On the other hand, NOT IN only works when you're trying to filter on a single column, if you have a compound key you're forced to use an outer join.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: Many to Many query Pin
Colin Angus Mackay29-Jun-06 3:19
Colin Angus Mackay29-Jun-06 3:19 
GeneralRe: Many to Many query Pin
Paul Conrad29-Jun-06 7:30
professionalPaul Conrad29-Jun-06 7:30 
GeneralRe: Many to Many query Pin
Eric Dahlvang29-Jun-06 8:51
Eric Dahlvang29-Jun-06 8:51 
QuestionDatabase problem Pin
hany_hu29-Jun-06 2:22
hany_hu29-Jun-06 2:22 
AnswerRe: Database problem Pin
Colin Angus Mackay29-Jun-06 2:36
Colin Angus Mackay29-Jun-06 2:36 
GeneralRe: Database problem Pin
hany_hu29-Jun-06 2:49
hany_hu29-Jun-06 2:49 
GeneralRe: Database problem Pin
Mike Dimmick29-Jun-06 3:06
Mike Dimmick29-Jun-06 3:06 
QuestionWhats wrong here friends? [modified] Pin
Naveed Kamboh29-Jun-06 1:54
Naveed Kamboh29-Jun-06 1:54 
AnswerRe: Whats wrong here friends? Pin
sathish s29-Jun-06 2:25
sathish s29-Jun-06 2:25 
AnswerRe: Whats wrong here friends? Pin
aruna_susee29-Jun-06 2:45
aruna_susee29-Jun-06 2:45 
AnswerRe: Whats wrong here friends? Pin
PlayByTheRules29-Jun-06 7:02
PlayByTheRules29-Jun-06 7:02 
QuestionDataList - SQL Server Pin
leanhsang29-Jun-06 0:51
leanhsang29-Jun-06 0:51 
QuestionHelp-return only one row [modified] Pin
dinhzap29-Jun-06 0:48
dinhzap29-Jun-06 0:48 
AnswerRe: Help-return only one row Pin
aruna_susee29-Jun-06 2:21
aruna_susee29-Jun-06 2:21 
GeneralRe: Help-return only one row Pin
dinhzap29-Jun-06 18:59
dinhzap29-Jun-06 18:59 
QuestionStored Procedure (Debug) Pin
Richard Htin28-Jun-06 23:35
Richard Htin28-Jun-06 23:35 
QuestionStored Procedure not Working Pin
Brendan Vogt28-Jun-06 22:07
Brendan Vogt28-Jun-06 22:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.