CREATE TABLE finrev_fed_key_17 (state_code NUMBER, state CLOB)
CREATE TABLE finrev_fed_17 (state_code NUMBER, idcensus NUMBER, school_district CLOB, nces_id CLOB, yr_data NUMBER, t_fed_rev NUMBER, c14 NUMBER, c25 NUMBER)
CREATE TABLE ndecoreexcel_math_grade8 (year NUMBER, state CLOB, all_students CLOB, average_scale_score NUMBER)

What are the top five states in descending order in terms of revenue provided to school districts?
SELECT T2.state FROM finrev_fed_key_17 AS T2 JOIN finrev_fed_17 AS T1 ON T1.state_code = T2.state_code GROUP BY T1.state_code ORDER BY SUM(t_fed_rev)
SELECT "T2"."state" FROM "finrev_fed_key_17" "T2" JOIN "finrev_fed_17" "T1" ON "T1"."state_code" = "T2"."state_code" GROUP BY "T1"."state_code" ORDER BY SUM("t_fed_rev")