CREATE TABLE "composition_of_the_17th_seanad" (
  "administrative_panel" real,
  "agricultural_panel" real,
  "cultural_and_educational_panel" real,
  "industrial_and_commercial_panel" real,
  "labour_panel" real,
  "national_university_of_ireland" real,
  "university_of_dublin" real,
  "nominated_by_the_taoiseach" real,
  "total" real
);

Question: What is the highest administrative panel with a cultural and educational panel of 2 plus an industrial and commercial panel larger than 4?
SQL: SELECT MAX("administrative_panel") FROM "composition_of_the_17th_seanad" WHERE "cultural_and_educational_panel"=2 AND "industrial_and_commercial_panel">4;

Question: What is the total for National University of Ireland with an industrial and commercial panel less than 1, and the cultural and educational panel bigger than 0?
SQL: SELECT COUNT("national_university_of_ireland") FROM "composition_of_the_17th_seanad" WHERE "industrial_and_commercial_panel"<1 AND "cultural_and_educational_panel">0;

Question: What is the administrative panel average when the cultural and educational panel is greater than 1 and the industrial and commercial panel less than 4?
SQL: SELECT AVG("administrative_panel") FROM "composition_of_the_17th_seanad" WHERE "cultural_and_educational_panel">1 AND "industrial_and_commercial_panel"<4;

Question: What is the biggest administrative panel with a nominated by the Taoiseach greater than 3 and an argricultural panel of 5, plust a cultural and educational panel larger than 2?
SQL: SELECT MAX("administrative_panel") FROM "composition_of_the_17th_seanad" WHERE "nominated_by_the_taoiseach">3 AND "agricultural_panel"=5 AND "cultural_and_educational_panel">2;

Question: What is the smallest cultural and educational panel with a nominated by the Taoiseach less than 5 and the total greater than 19?
SQL: SELECT MIN("cultural_and_educational_panel") FROM "composition_of_the_17th_seanad" WHERE "nominated_by_the_taoiseach"<5 AND "total">19;

Question: With the cultural and educational panel less than 0 what is the average industrial and commercial panel?
SQL: SELECT AVG("industrial_and_commercial_panel") FROM "composition_of_the_17th_seanad" WHERE "cultural_and_educational_panel"<0;