CREATE TABLE "deputy_ministers" (
  "minister" text,
  "party" text,
  "governments" text,
  "term_start" text,
  "term_end" text
);

Question: Which party had a term start of 5 august 1999?
SQL: SELECT "party" FROM "deputy_ministers" WHERE "term_start"='5 august 1999';

Question: What term end had minister Danny Ayalon?
SQL: SELECT "term_end" FROM "deputy_ministers" WHERE "minister"='danny ayalon';

Question: Which goverment had a party of yisrael beiteinu?
SQL: SELECT "governments" FROM "deputy_ministers" WHERE "party"='yisrael beiteinu';

Question: Who was the minister of the labor party and had 26 goverments?
SQL: SELECT "minister" FROM "deputy_ministers" WHERE "party"='labor party' AND "governments"='26';