Table: euro_council_meetings
Columns: year
date
type
president
location

Question: What is the sum of Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may?
SQL: SELECT SUM("year") FROM euro_council_meetings WHERE "type" = 'informal' AND "location" = 'justus lipsius building, brussels' AND "date" = '23 may'

Question: What is the Type with a Location with justus lipsius building, brussels, and a Year of 2012, and a President with herman van rompuy (1st term), and a Date with 23 may?
SQL: SELECT "type" FROM euro_council_meetings WHERE "location" = 'justus lipsius building, brussels' AND "year" = 2012 AND "president" = 'herman van rompuy (1st term)' AND "date" = '23 may'

Question: What is the President with a Location of justus lipsius building, brussels, and a Type with scheduled, and a Year larger than 2011, and a Date with 18–19 october?
SQL: SELECT "president" FROM euro_council_meetings WHERE "location" = 'justus lipsius building, brussels' AND "type" = 'scheduled' AND "year" > 2011 AND "date" = '18–19 october'

Question: What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled?
SQL: SELECT "location" FROM euro_council_meetings WHERE "year" > 2011 AND "president" = 'herman van rompuy (2nd term)' AND "date" = '28–29 june' AND "type" = 'scheduled'

Question: What is the President with a Year larger than 2011, and a Date with 23 may?
SQL: SELECT "president" FROM euro_council_meetings WHERE "year" > 2011 AND "date" = '23 may'

Question: What is the Type with a Year larger than 2010, and a Location with justus lipsius building, brussels, and a President of herman van rompuy (2nd term), and a Date with 28–29 june?
SQL: SELECT "type" FROM euro_council_meetings WHERE "year" > 2010 AND "location" = 'justus lipsius building, brussels' AND "president" = 'herman van rompuy (2nd term)' AND "date" = '28–29 june'