CREATE TABLE "unsuccessful_candidates" (
  "rank" real,
  "list" text,
  "candidate_name" text,
  "gender" text,
  "religion" text,
  "votes" real
);

Question: What rank is aliyya qadi with less than 1421 votes?
SQL: SELECT MIN("rank") FROM "unsuccessful_candidates" WHERE "candidate_name"='aliyya qadi' AND "votes"<1421;

Question: Which candidate has more than 279 votes, rank less than 50, is ♀ and al-ahd?
SQL: SELECT "candidate_name" FROM "unsuccessful_candidates" WHERE "votes">279 AND "rank"<50 AND "gender"='♀' AND "list"='al-ahd';