Project: Okul Database · Hub: Okul Database — Reference

Reference: sectors Table

Used in schools.sector_id and school_filters.sector_id.

Values

idnameslugDescription
1DevletdevletPublic / state-funded schools
2ÖzelozelPrivate schools

Usage in Queries

-- Always join or filter like this:
WHERE sector_id = 2  -- Private schools only
WHERE sector_id = 1  -- Public schools only
 
-- If you need the name without joining:
-- school_filters.sector_name already contains it (denormalized)