Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT
- FT.*,
- (
- SELECT
- LECTURERCODE
- FROM
- FINALTASKADVISOR
- WHERE
- FINALTASKID = FT.FINALTASKID
- AND ADVISORSTATUS = '1' ) AS LECTURER_CODE_1,
- (
- SELECT
- LOOK_LECTURERNAME(LECTURERCODE)
- FROM
- FINALTASKADVISOR
- WHERE
- FINALTASKID = FT.FINALTASKID
- AND ADVISORSTATUS = '1' ) AS LECTURER_NAME_1,
- (
- SELECT
- LECTURERCODE
- FROM
- FINALTASKADVISOR
- WHERE
- FINALTASKID = FT.FINALTASKID
- AND ADVISORSTATUS = '2' ) AS LECTURER_CODE_2,
- (
- SELECT
- LOOK_LECTURERNAME(LECTURERCODE)
- FROM
- FINALTASKADVISOR
- WHERE
- FINALTASKID = FT.FINALTASKID
- AND ADVISORSTATUS = '2' ) AS LECTURER_NAME_2
- FROM
- FINALTASK FT
- WHERE
- FT.STUDENTID = '3301214001'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement