Table: festivali_46
Columns: draw
artist
song
rank
points
a_krajka
gj_leka
b_haxhia
d_tukiqi
r_magjistari
gj_xhuvani
a_sk_nderaj

Question: For R. Magjistari scores over 12, what is the highest number of points?
SQL: SELECT MAX("points") FROM festivali_46 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 festivali_46 WHERE "r_magjistari" < 6 AND "d_tukiqi" = 6 AND "rank" < 5