Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Need help for SQL
Hello!
I need a SQL for following with Oracle
I have 3 tables
1) Student with StudentID as PK 2) Subject with subjectID as PK 3) StudentSubject with StudentID,SubjectID as PK'S.
Data Example:
Student table
SID Name
1 James 2 Smith
Subject table
SUBID Subject
1 Math 2 English 3 Science
StudentSubject table
SID SUBID Marks
1 1 90 2 1 85
I Want the final result like this
The information I know is SID = 1
SID Subject Marks
pls help!! Received on Sat Aug 25 2001 - 23:59:06 CDT
![]() |
![]() |