human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Administrative Panel, Agricultural Panel, Cultural and Educational Panel, Industrial and Commercial Panel, Labour Panel, National University of Ireland, Nominated by the Taoiseach, Total
###Question: What is the average agricultural panel of the composition with a labour panel less than 6, more than 0 nominations by Taoiseach, and a total less than 4?
gpt
SELECT AVG Agricultural Panel FROM table WHERE Labour Panel < 6 AND Nominated by the Taoiseach > 0 AND Total < 4