Table: senate_elections
Columns: administrative_panel
agricultural_panel
cultural_and_educational_panel
industrial_and_commercial_panel
labour_panel
national_university_of_ireland
university_of_dublin
nominated_by_the_taoiseach
total

Question: What is the average agricultural panel value with a Labour panel less than 1, a total value less than 21, and a National University of Ireland value greater than 0?
SQL: SELECT AVG("agricultural_panel") FROM senate_elections WHERE "labour_panel" < 1 AND "total" < 21 AND "national_university_of_ireland" > 0

Question: What is the highest administrative panel value with an agricultural panel less than 1 and a labour panel value less than 5?
SQL: SELECT MAX("administrative_panel") FROM senate_elections WHERE "agricultural_panel" < 1 AND "labour_panel" < 5

Question: What is the highest labour panel value with a cultural and educational panel greater than 1, a University of Dublin value greater than 0, and a total value less than 60?
SQL: SELECT MAX("labour_panel") FROM senate_elections WHERE "cultural_and_educational_panel" > 1 AND "university_of_dublin" > 0 AND "total" < 60

Question: What is the total University of Dublin value with a labour panel greater than 11?
SQL: SELECT COUNT("university_of_dublin") FROM senate_elections WHERE "labour_panel" > 11

Question: What is the sum of the cultural and educational panel value with an administrative panel of 0 and an agricultural panel value less than 0?
SQL: SELECT SUM("cultural_and_educational_panel") FROM senate_elections WHERE "administrative_panel" = 0 AND "agricultural_panel" < 0