Question: How does grade 2 enrollment compare to grade 5 in 2021-2022?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (2, 5)
GROUP BY grade_level
ORDER BY grade_level


Question: Compare enrollment between grade 6 and grade 2 in 2021-2022.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (6, 2)
GROUP BY grade_level
ORDER BY grade_level


Question: In 2023-2024, how many Lincoln Elementary students missed more than 25 days?

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Lincoln Elementary' AND school_year = '2023-2024' AND absence_count > 25


Question: Which is bigger in 2022-2023: grade 10 or grade 5 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2022-2023' AND grade_level IN (10, 5)
GROUP BY grade_level
ORDER BY grade_level


Question: In 2022-2023, how many Washington Middle students missed more than 10 days?

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2022-2023' AND absence_count > 10


Question: Compare enrollment between grade 1 and grade 6 in 2021-2022.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (1, 6)
GROUP BY grade_level
ORDER BY grade_level


Question: Which grade-school combinations in 2021-2022 have 20-80 students?

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2021-2022' AND student_count BETWEEN 20 AND 80
ORDER BY student_count DESC


Question: Break down chronic absenteeism by grade level at Kennedy Prep for 2023-2024.

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Kennedy Prep' AND school_year = '2023-2024' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: Show grades in 2021-2022 with enrollment between 50 and 200.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2021-2022' AND student_count BETWEEN 50 AND 200
ORDER BY student_count DESC


Question: Show chronic absence counts per grade at Lincoln Elementary, 2021-2022.

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Lincoln Elementary' AND school_year = '2021-2022' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: Compare enrollment between grade 8 and grade 9 in 2024-2025.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2024-2025' AND grade_level IN (8, 9)
GROUP BY grade_level
ORDER BY grade_level


Question: How many chronically absent students are in each grade at Kennedy Prep in 2021-2022?

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Kennedy Prep' AND school_year = '2021-2022' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: For Washington Middle in 2023-2024, give me chronic absence numbers by grade.

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2023-2024' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: Count the chronically absent students at Washington Middle for 2023-2024.

SELECT COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2023-2024' AND is_chronically_absent = TRUE


Question: List enrollments in 2021-2022 where student count is between 30 and 100.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2021-2022' AND student_count BETWEEN 30 AND 100
ORDER BY student_count DESC


Question: In 2021-2022, how many Roosevelt Academy students missed more than 15 days?

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Roosevelt Academy' AND school_year = '2021-2022' AND absence_count > 15


Question: Show grades in 2024-2025 with enrollment between 10 and 150.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2024-2025' AND student_count BETWEEN 10 AND 150
ORDER BY student_count DESC


Question: In 2022-2023, how many Jefferson High students missed more than 20 days?

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Jefferson High' AND school_year = '2022-2023' AND absence_count > 20


Question: Which grade-school combinations in 2022-2023 have 20-100 students?

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2022-2023' AND student_count BETWEEN 20 AND 100
ORDER BY student_count DESC


Question: I need the chronic absenteeism count for Washington Middle in 2022-2023.

SELECT COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2022-2023' AND is_chronically_absent = TRUE


Question: How many chronically absent students are in each grade at Washington Middle in 2023-2024?

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2023-2024' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: How many students at Roosevelt Academy had more than 10 absences in 2021-2022?

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Roosevelt Academy' AND school_year = '2021-2022' AND absence_count > 10


Question: Which is bigger in 2023-2024: grade 9 or grade 7 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (9, 7)
GROUP BY grade_level
ORDER BY grade_level


Question: Which is bigger in 2024-2025: grade 1 or grade 2 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2024-2025' AND grade_level IN (1, 2)
GROUP BY grade_level
ORDER BY grade_level


Question: Show grades in 2021-2022 with enrollment between 10 and 150.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2021-2022' AND student_count BETWEEN 10 AND 150
ORDER BY student_count DESC


Question: Compare enrollment between grade 11 and grade 3 in 2023-2024.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (11, 3)
GROUP BY grade_level
ORDER BY grade_level


Question: Show chronic absence counts per grade at Roosevelt Academy, 2023-2024.

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Roosevelt Academy' AND school_year = '2023-2024' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: Compare enrollment between grade 9 and grade 8 in 2021-2022.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (9, 8)
GROUP BY grade_level
ORDER BY grade_level


Question: Compare enrollment between grade 2 and grade 11 in 2022-2023.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2022-2023' AND grade_level IN (2, 11)
GROUP BY grade_level
ORDER BY grade_level


Question: Show grades in 2023-2024 with enrollment between 50 and 150.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2023-2024' AND student_count BETWEEN 50 AND 150
ORDER BY student_count DESC


Question: Which is bigger in 2023-2024: grade 11 or grade 5 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (11, 5)
GROUP BY grade_level
ORDER BY grade_level


Question: How many students at Roosevelt Academy had more than 15 absences in 2023-2024?

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Roosevelt Academy' AND school_year = '2023-2024' AND absence_count > 15


Question: In 2021-2022, how many Lincoln Elementary students missed more than 10 days?

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Lincoln Elementary' AND school_year = '2021-2022' AND absence_count > 10


Question: List enrollments in 2022-2023 where student count is between 10 and 100.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2022-2023' AND student_count BETWEEN 10 AND 100
ORDER BY student_count DESC


Question: Which is bigger in 2021-2022: grade 3 or grade 5 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (3, 5)
GROUP BY grade_level
ORDER BY grade_level


Question: How many kids at Washington Middle were chronically absent during 2021-2022?

SELECT COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2021-2022' AND is_chronically_absent = TRUE


Question: How does grade 3 enrollment compare to grade 4 in 2023-2024?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (3, 4)
GROUP BY grade_level
ORDER BY grade_level


Question: How does grade 12 enrollment compare to grade 6 in 2024-2025?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2024-2025' AND grade_level IN (12, 6)
GROUP BY grade_level
ORDER BY grade_level


Question: Show grades in 2023-2024 with enrollment between 20 and 200.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2023-2024' AND student_count BETWEEN 20 AND 200
ORDER BY student_count DESC


Question: Which is bigger in 2023-2024: grade 11 or grade 3 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (11, 3)
GROUP BY grade_level
ORDER BY grade_level


Question: How does grade 4 enrollment compare to grade 8 in 2023-2024?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (4, 8)
GROUP BY grade_level
ORDER BY grade_level


Question: In 2022-2023, how many students at Washington Middle were chronically absent?

SELECT COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2022-2023' AND is_chronically_absent = TRUE


Question: Which is bigger in 2022-2023: grade 6 or grade 8 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2022-2023' AND grade_level IN (6, 8)
GROUP BY grade_level
ORDER BY grade_level


Question: Show grades in 2023-2024 with enrollment between 50 and 200.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2023-2024' AND student_count BETWEEN 50 AND 200
ORDER BY student_count DESC


Question: How many students at Kennedy Prep had more than 20 absences in 2021-2022?

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Kennedy Prep' AND school_year = '2021-2022' AND absence_count > 20


Question: Which grades at Washington Middle had the most chronic absences in 2024-2025?

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2024-2025' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: Which is bigger in 2021-2022: grade 9 or grade 0 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (9, 0)
GROUP BY grade_level
ORDER BY grade_level


Question: Count students at Washington Middle with over 10 absences for 2022-2023.

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2022-2023' AND absence_count > 10


Question: How does grade 6 enrollment compare to grade 8 in 2021-2022?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (6, 8)
GROUP BY grade_level
ORDER BY grade_level


Question: Compare enrollment between grade 12 and grade 7 in 2023-2024.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (12, 7)
GROUP BY grade_level
ORDER BY grade_level


Question: List enrollments in 2022-2023 where student count is between 20 and 200.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2022-2023' AND student_count BETWEEN 20 AND 200
ORDER BY student_count DESC


Question: How many chronically absent students are in each grade at Washington Middle in 2021-2022?

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Washington Middle' AND school_year = '2021-2022' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: How does grade 12 enrollment compare to grade 3 in 2024-2025?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2024-2025' AND grade_level IN (12, 3)
GROUP BY grade_level
ORDER BY grade_level


Question: Which is bigger in 2022-2023: grade 4 or grade 8 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2022-2023' AND grade_level IN (4, 8)
GROUP BY grade_level
ORDER BY grade_level


Question: How does grade 4 enrollment compare to grade 0 in 2021-2022?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (4, 0)
GROUP BY grade_level
ORDER BY grade_level


Question: How does grade 11 enrollment compare to grade 5 in 2024-2025?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2024-2025' AND grade_level IN (11, 5)
GROUP BY grade_level
ORDER BY grade_level


Question: Which is bigger in 2023-2024: grade 12 or grade 4 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (12, 4)
GROUP BY grade_level
ORDER BY grade_level


Question: Compare enrollment between grade 7 and grade 2 in 2024-2025.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2024-2025' AND grade_level IN (7, 2)
GROUP BY grade_level
ORDER BY grade_level


Question: How does grade 7 enrollment compare to grade 1 in 2024-2025?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2024-2025' AND grade_level IN (7, 1)
GROUP BY grade_level
ORDER BY grade_level


Question: Count students at Lincoln Elementary with over 25 absences for 2023-2024.

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Lincoln Elementary' AND school_year = '2023-2024' AND absence_count > 25


Question: Which grade-school combinations in 2023-2024 have 20-150 students?

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2023-2024' AND student_count BETWEEN 20 AND 150
ORDER BY student_count DESC


Question: In 2023-2024, how many Roosevelt Academy students missed more than 15 days?

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Roosevelt Academy' AND school_year = '2023-2024' AND absence_count > 15


Question: In 2021-2022, how many students at Roosevelt Academy were chronically absent?

SELECT COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Roosevelt Academy' AND school_year = '2021-2022' AND is_chronically_absent = TRUE


Question: Compare enrollment between grade 2 and grade 8 in 2022-2023.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2022-2023' AND grade_level IN (2, 8)
GROUP BY grade_level
ORDER BY grade_level


Question: Which is bigger in 2023-2024: grade 8 or grade 0 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (8, 0)
GROUP BY grade_level
ORDER BY grade_level


Question: Compare enrollment between grade 0 and grade 11 in 2023-2024.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (0, 11)
GROUP BY grade_level
ORDER BY grade_level


Question: How many kids at Kennedy Prep were chronically absent during 2023-2024?

SELECT COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Kennedy Prep' AND school_year = '2023-2024' AND is_chronically_absent = TRUE


Question: List enrollments in 2024-2025 where student count is between 20 and 150.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2024-2025' AND student_count BETWEEN 20 AND 150
ORDER BY student_count DESC


Question: List enrollments in 2023-2024 where student count is between 20 and 200.

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2023-2024' AND student_count BETWEEN 20 AND 200
ORDER BY student_count DESC


Question: Count students at Jefferson High with over 15 absences for 2024-2025.

SELECT COUNT(*) AS high_absence_count
FROM attendance
WHERE school_name = 'Jefferson High' AND school_year = '2024-2025' AND absence_count > 15


Question: Count chronically absent students by grade at Kennedy Prep for the 2022-2023 school year.

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Kennedy Prep' AND school_year = '2022-2023' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: Compare enrollment between grade 4 and grade 7 in 2022-2023.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2022-2023' AND grade_level IN (4, 7)
GROUP BY grade_level
ORDER BY grade_level


Question: Which is bigger in 2021-2022: grade 5 or grade 12 enrollment?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (5, 12)
GROUP BY grade_level
ORDER BY grade_level


Question: Which grade-school combinations in 2024-2025 have 10-150 students?

SELECT school_name, grade_level, student_count
FROM enrollment
WHERE school_year = '2024-2025' AND student_count BETWEEN 10 AND 150
ORDER BY student_count DESC


Question: Compare enrollment between grade 3 and grade 0 in 2023-2024.

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2023-2024' AND grade_level IN (3, 0)
GROUP BY grade_level
ORDER BY grade_level


Question: How does grade 7 enrollment compare to grade 1 in 2021-2022?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2021-2022' AND grade_level IN (7, 1)
GROUP BY grade_level
ORDER BY grade_level


Question: Show chronic absence counts per grade at Jefferson High, 2023-2024.

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Jefferson High' AND school_year = '2023-2024' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: For Roosevelt Academy in 2023-2024, give me chronic absence numbers by grade.

SELECT grade_level, COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Roosevelt Academy' AND school_year = '2023-2024' AND is_chronically_absent = TRUE
GROUP BY grade_level
ORDER BY grade_level


Question: I need the chronic absenteeism count for Roosevelt Academy in 2023-2024.

SELECT COUNT(*) AS chronic_count
FROM attendance
WHERE school_name = 'Roosevelt Academy' AND school_year = '2023-2024' AND is_chronically_absent = TRUE


Question: How does grade 8 enrollment compare to grade 11 in 2022-2023?

SELECT grade_level, SUM(student_count) AS total_enrollment
FROM enrollment
WHERE school_year = '2022-2023' AND grade_level IN (8, 11)
GROUP BY grade_level
ORDER BY grade_level