You're comparing strings to strings (i.e. "School Type" = 'District Community Day Schools'
is always False), you should use [column name here]
instead or not use spaces (eg. school_type
) after which you'll get an error as such sqlite3.OperationalError: no such column: <column name goes here>