Permabanned
- Joined
- 22 Feb 2010
- Posts
- 1,629
hey there
I need to do some specific querys to my tables that i created.
But for the life of me i cant seem to string them together to get them to work / give correct data.
Here they are:
A
1. List the module code, title and term code of all the option modules currently run at DBU, in module code order.
2. List the module code and title of all those currently running compulsory modules that were created but not led by DRS, and which run only within the Autumn term.
3. List staff details together with the title, code and term of those modules that they have led (if a staff member has not led a module, then the associated module details should be padded with null values).
4. Find the module code and title of all current and/or old modules that have a known module leader.
There are 5 tables
Cf.staff
cf.term
bon_module
bon_oldmodule
bon_course
I have been pulling my hair out and also purcahsed a book on SQL but i still cant get anything working
Im doing this on the SQL shell online so can input multiple commands
thanks so much
p.s if you need any info please just ask i have all the data on the tables as i did create them
I need to do some specific querys to my tables that i created.
But for the life of me i cant seem to string them together to get them to work / give correct data.
Here they are:
A
1. List the module code, title and term code of all the option modules currently run at DBU, in module code order.
2. List the module code and title of all those currently running compulsory modules that were created but not led by DRS, and which run only within the Autumn term.
3. List staff details together with the title, code and term of those modules that they have led (if a staff member has not led a module, then the associated module details should be padded with null values).
4. Find the module code and title of all current and/or old modules that have a known module leader.
There are 5 tables
Cf.staff
cf.term
bon_module
bon_oldmodule
bon_course
I have been pulling my hair out and also purcahsed a book on SQL but i still cant get anything working

Im doing this on the SQL shell online so can input multiple commands
thanks so much
p.s if you need any info please just ask i have all the data on the tables as i did create them
