|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
SQL - Table Problem
Hi all,
I've got a database with three tables: Student Fields: ID, Surname, Forename, etc Module Fields: ID, Code, Name, Date Set, Number Of Marks Available, etc Student Module Fields: Student ID, Module ID, Mark So, the problem I have is getting some SQL which will either do a SELECT or perhaps a CREATE which will leave me with a table like this: Student 1 Mark for Module 1 Mark for Module 2 Mark for Module 4 Mark for Module 3... ...Mark for Module n Student 2 Mark for Module 1 Mark for Module 2 Mark for Module 4 Mark for Module 3... ...Mark for Module n Student 3 Mark for Module 1 Mark for Module 2 Mark for Module 4 Mark for Module 3... ...Mark for Module n ... ... Student m Mark for Module 1 Mark for Module 2 Mark for Module 4 Mark for Module 3... ...Mark for Module n Where n is the number of modules and m is the number of students. Any ideas? Thanks a lot for your time. Regards, Louis Rose. |
![]() |
| Viewing: Dev Shed Forums > Databases > Database Management > SQL - Table Problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|