user: ### NOW ANSWER:
Question: What was the average Chorley for the labour party that had a Rossendale greater than 0 and a Pendle less than 1?
Columns: ['Party', 'Burnley', 'Chorley', 'Fylde', 'Hyndburn', 'Lancaster', 'Pendle', 'Preston', 'Ribble Valley', 'Rossendale', 'South Ribble', 'West Lancashire', 'Wyre', 'Total']
Types: ['text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: ['Labour', 6.0, 4.0, 0.0, 6.0, 6.0, 1.0, 6.0, 0.0, 3.0, 5.0, 4.0, 3.0, 44.0]
SQL:

assistant: SELECT AVG("Chorley") FROM "Table" WHERE "Rossendale" > 0.0 AND "Party" = 'labour' AND "Pendle" < 1.0;