CREATE TABLE "all_time_medal_tables" (
  "rank" text,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

Question: Where does Norway rank in total medals among countries with fewer than 7 bronzes?
SQL: SELECT "rank" FROM "all_time_medal_tables" WHERE "bronze"<7 AND "nation"='norway';