CREATE TABLE "final_16_december_2007" (
  "draw" real,
  "artist" text,
  "song" text,
  "rank" real,
  "points" real,
  "a_krajka" real,
  "gj_leka" real,
  "b_haxhia" real,
  "d_tukiqi" real,
  "r_magjistari" real,
  "gj_xhuvani" real,
  "a_sk_nderaj" real
);

Question: For R. Magjistari scores over 12, what is the highest number of points?
SQL: SELECT MAX("points") FROM "final_16_december_2007" WHERE "r_magjistari">12;

Question: For R. Magjistari scores under 6, D. Tukiqi scores of 6, and ranks under 5, what is the average A. Krajka score?
SQL: SELECT AVG("a_krajka") FROM "final_16_december_2007" WHERE "r_magjistari"<6 AND "d_tukiqi"=6 AND "rank"<5;