Advertisement
ma39isy

Untitled

Oct 5th, 2023
2,026
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. SELECT DISTINCT
  2.     B.MEET,
  3.     A.ID COURSEOUTLINEID,
  4.     A.REFFERENCE_NAME COURSEOUTLINE,
  5.     B.WEEK,
  6.     '' STATUS
  7. FROM
  8.     CLO_MATERIAL_TEACHING A
  9.     JOIN CLO_TEACHING_PLANS B ON ( CLO_LEARNING_PLAN_ID = B.ID )
  10. WHERE
  11.     SUBJECTID = '$subjectID'
  12.     AND SCHOOLYEAR = '$schoolYear'
  13.     AND SEMESTER = '$semester'
  14.     AND A.ACTIVE_STATUS = '1'
  15.     AND B.ACTIVE_STATUS = '1'
  16.     AND B.APPROVAL_STATUS = 'A'
  17. ORDER BY
  18.     B.WEEK,
  19.     B.MEET,
  20.     A.ID;
  21. SELECT
  22.     LECTURESID,
  23.     CLO_MATERIAL_TEACHING_ID COURSEOUTLINEID,
  24.     COURSEID
  25. FROM
  26.     LECTURES_CLO_MATERIAL_TEACHING
  27.     JOIN LECTURES USING ( LECTURESID )
  28. WHERE
  29.     LECTURES.COURSEID = '$courseId'
  30.     AND CLO_MATERIAL_TEACHING_ID = '$courseOutlineId'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement