Advertisement
bucky_resa

Untitled

Jun 18th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.34 KB | None | 0 0
  1. USE iMartADW
  2. GO
  3.  
  4.  
  5. Select cr.academic_year_id, count(*) AS Grades
  6. from dbo.rpt_Student_Class_Roster cr
  7. join dbo.lkp_LEA_Course c
  8.   on cr.LEA_Course_Id = c.LEA_Course_Id
  9. where 1=1
  10. and cr.School_Unique_Id = '671-0197'
  11. and c.Course_Subject_Id IN (17, 14, 16, 23, 26, 24)
  12. and cr.Final_Numeric_Grade IS NOT NULL
  13. group by cr.Academic_Year_Id
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement