
January 31st, 2013, 05:46 AM
|
|
Registered User
|
|
Join Date: Jan 2013
Posts: 4
Time spent in forums: 1 h 21 m 19 sec
Reputation Power: 0
|
|
|
Selecting from two tables
Good day to you all.
I have tables SUBJECT(subject_id, name, number) and PS(ps_id, subject_id, student_id). I need to select all from SUBJECT,subject_id and student_id from SP, joined by subject_id, where student_id needs to be read from session. I'm using asp.net with oracle database. Can anybody help me with the sql statement and how to get the value from the session.
Thank you.
|