text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What number of Points are shown for Team Paulistano where the Drawn is less than 2 and the Against is less than 15?
<|assistant|>
SELECT COUNT("points") FROM "campeonato_paulista" WHERE "drawn"<2 AND "team"='paulistano' AND "against"<15;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the Lowest lost for Team Ypiranga-SP where the games Played is more than 10 and the goals Against is greater than 50?
<|assistant|>
SELECT MIN("lost") FROM "campeonato_paulista" WHERE "played">10 AND "team"='ypiranga-sp' AND "against">50;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4?
<|assistant|>
SELECT MAX("played") FROM "campeonato_paulista" WHERE "position"<2 AND "drawn"<4;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number_of_championships_by_school" (
"university" text,
"men_s" real,
"women_s" real,
"runner_up" real,
"total_championships" real
);
Question: What is the average number of runner-up that National University, which has more than 2 total championships, has?
<|assistant|>
SELECT AVG("runner_up") FROM "number_of_championships_by_school" WHERE "university"='national university' AND "total_championships">2;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number_of_championships_by_school" (
"university" text,
"men_s" real,
"women_s" real,
"runner_up" real,
"total_championships" real
);
Question: What is the lowest number of total championships of the university with 2 men's and more than 2 women's?
<|assistant|>
SELECT MIN("total_championships") FROM "number_of_championships_by_school" WHERE "men_s"=2 AND "women_s">2;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number_of_championships_by_school" (
"university" text,
"men_s" real,
"women_s" real,
"runner_up" real,
"total_championships" real
);
Question: How many runner-ups does the university with more than 0 men's and less than 4 total championships have?
<|assistant|>
SELECT "runner_up" FROM "number_of_championships_by_school" WHERE "men_s">0 AND "total_championships"<4;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number_of_championships_by_school" (
"university" text,
"men_s" real,
"women_s" real,
"runner_up" real,
"total_championships" real
);
Question: What is the average total championships of the university with more than 0 women's, less than 4 runner-ups, and less than 0 men's?
<|assistant|>
SELECT AVG("total_championships") FROM "number_of_championships_by_school" WHERE "women_s">0 AND "runner_up"<4 AND "men_s"<0;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "number_of_championships_by_school" (
"university" text,
"men_s" real,
"women_s" real,
"runner_up" real,
"total_championships" real
);
Question: What is the lowest number of total championships of the University of Santo Tomas, which has less than 2 men's?
<|assistant|>
SELECT MIN("total_championships") FROM "number_of_championships_by_school" WHERE "university"='university of santo tomas' AND "men_s"<2;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1916_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_ticket" text,
"prohibition_ticket" text,
"progressive_ticket" text,
"independence_league_ticket" text
);
Question: Who was on the Progressive ticket when John T. Norton was on the Democratic ticket?
<|assistant|>
SELECT "progressive_ticket" FROM "1916_state_election_results" WHERE "democratic_ticket"='john t. norton';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1916_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_ticket" text,
"prohibition_ticket" text,
"progressive_ticket" text,
"independence_league_ticket" text
);
Question: What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket?
<|assistant|>
SELECT "socialist_ticket" FROM "1916_state_election_results" WHERE "democratic_ticket"='thomas j. kreuzer';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1916_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_ticket" text,
"prohibition_ticket" text,
"progressive_ticket" text,
"independence_league_ticket" text
);
Question: Who ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket?
<|assistant|>
SELECT "republican_ticket" FROM "1916_state_election_results" WHERE "progressive_ticket"='frank h. hiscock';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1916_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_ticket" text,
"prohibition_ticket" text,
"progressive_ticket" text,
"independence_league_ticket" text
);
Question: What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis?
<|assistant|>
SELECT "prohibition_ticket" FROM "1916_state_election_results" WHERE "progressive_ticket"='eugene m. travis';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1916_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_ticket" text,
"prohibition_ticket" text,
"progressive_ticket" text,
"independence_league_ticket" text
);
Question: When Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket?
<|assistant|>
SELECT "independence_league_ticket" FROM "1916_state_election_results" WHERE "prohibition_ticket"='coleridge a. hart';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1916_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_ticket" text,
"prohibition_ticket" text,
"progressive_ticket" text,
"independence_league_ticket" text
);
Question: With the Republican ticket of Frank M. Williams who was the Progressive ticket?
<|assistant|>
SELECT "progressive_ticket" FROM "1916_state_election_results" WHERE "republican_ticket"='frank m. williams';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1898_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_labor_ticket" text,
"prohibition_ticket" text,
"independent_citizens_ticket" text
);
Question: What kind of Prohibition ticket that has a Office of lieutenant governor?
<|assistant|>
SELECT "prohibition_ticket" FROM "1898_state_election_results" WHERE "office"='lieutenant governor';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1898_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_labor_ticket" text,
"prohibition_ticket" text,
"independent_citizens_ticket" text
);
Question: Which Socialist Labor ticket has a Office of secretary of state?
<|assistant|>
SELECT "socialist_labor_ticket" FROM "1898_state_election_results" WHERE "office"='secretary of state';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1898_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_labor_ticket" text,
"prohibition_ticket" text,
"independent_citizens_ticket" text
);
Question: What kind of Independent Citizens' ticket that has a Republican ticket of william j. morgan?
<|assistant|>
SELECT "independent_citizens_ticket" FROM "1898_state_election_results" WHERE "republican_ticket"='william j. morgan';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1898_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_labor_ticket" text,
"prohibition_ticket" text,
"independent_citizens_ticket" text
);
Question: What kind of Republican ticket has a Prohibition ticket of stephen mead wing?
<|assistant|>
SELECT "republican_ticket" FROM "1898_state_election_results" WHERE "prohibition_ticket"='stephen mead wing';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1898_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_labor_ticket" text,
"prohibition_ticket" text,
"independent_citizens_ticket" text
);
Question: What is the kind of Democratic ticket has a Office of comptroller?
<|assistant|>
SELECT "democratic_ticket" FROM "1898_state_election_results" WHERE "office"='comptroller';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1898_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"socialist_labor_ticket" text,
"prohibition_ticket" text,
"independent_citizens_ticket" text
);
Question: Which Prohibition ticket has a Socialist Labor ticket of joseph smith?
<|assistant|>
SELECT "prohibition_ticket" FROM "1898_state_election_results" WHERE "socialist_labor_ticket"='joseph smith';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: What is the lowest grid number when Colin Edwards is the rider?
<|assistant|>
SELECT MIN("grid") FROM "moto_gp_classification" WHERE "rider"='colin edwards';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: What is the time/retired when there are less than 22 laps and honda is the manufacturer?
<|assistant|>
SELECT "time_retired" FROM "moto_gp_classification" WHERE "laps"<22 AND "manufacturer"='honda';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: What is the average number of laps when the grid number is 9?
<|assistant|>
SELECT AVG("laps") FROM "moto_gp_classification" WHERE "grid"=9;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: What is the highest number of laps when honda is the manufacturer and the grid number is 12?
<|assistant|>
SELECT MAX("laps") FROM "moto_gp_classification" WHERE "manufacturer"='honda' AND "grid"=12;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: Who is the rider when the grid number is 3?
<|assistant|>
SELECT "rider" FROM "moto_gp_classification" WHERE "grid"=3;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "moto_gp_classification" (
"rider" text,
"manufacturer" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: How many laps were driven when the time/retired is +44.284?
<|assistant|>
SELECT COUNT("laps") FROM "moto_gp_classification" WHERE "time_retired"='+44.284';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coins" (
"value" text,
"equiv" text,
"diameter" text,
"weight" text,
"composition" text
);
Question: What is the value of the coin weighing 10.5 g and made of cupronickel?
<|assistant|>
SELECT "value" FROM "coins" WHERE "composition"='cupronickel' AND "weight"='10.5 g';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coins" (
"value" text,
"equiv" text,
"diameter" text,
"weight" text,
"composition" text
);
Question: What is the coin with a € equivalency of 0.30 made of?
<|assistant|>
SELECT "composition" FROM "coins" WHERE "equiv"='0.30';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coins" (
"value" text,
"equiv" text,
"diameter" text,
"weight" text,
"composition" text
);
Question: What is the coin that weighs 3 g made of?
<|assistant|>
SELECT "composition" FROM "coins" WHERE "weight"='3 g';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coins" (
"value" text,
"equiv" text,
"diameter" text,
"weight" text,
"composition" text
);
Question: What is the diameter of the coin with a € equivalence of 0.60?
<|assistant|>
SELECT "diameter" FROM "coins" WHERE "equiv"='0.60';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coins" (
"value" text,
"equiv" text,
"diameter" text,
"weight" text,
"composition" text
);
Question: How much does the coin with a 14mm diameter weigh?
<|assistant|>
SELECT "weight" FROM "coins" WHERE "diameter"='14mm';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "monster_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the coverage for the 99.5mhz frequency?
<|assistant|>
SELECT "coverage" FROM "monster_radio_stations" WHERE "frequency"='99.5mhz';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "monster_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the power in kW corresponding to the station that covers General Santos?
<|assistant|>
SELECT "power_k_w" FROM "monster_radio_stations" WHERE "coverage"='general santos';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "monster_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga?
<|assistant|>
SELECT "branding" FROM "monster_radio_stations" WHERE "frequency"='93.1mhz' AND "coverage"='zamboanga';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "monster_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the frequency for the 10kw station with DXEZ as its callsign?
<|assistant|>
SELECT "frequency" FROM "monster_radio_stations" WHERE "power_k_w"='10kw' AND "callsign"='dxez';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "monster_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the frequency for the station with DYBT as its callsign?
<|assistant|>
SELECT "frequency" FROM "monster_radio_stations" WHERE "callsign"='dybt';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "monster_radio_stations" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX?
<|assistant|>
SELECT "branding" FROM "monster_radio_stations" WHERE "frequency"='93.1mhz' AND "callsign"='dwrx';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: What is Women's Doubles, when Year is 2007?
<|assistant|>
SELECT "women_s_doubles" FROM "past_winners" WHERE "year"=2007;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" (
"rank" real,
"location" text,
"total_passengers" real,
"annual_change" text,
"capacity_in_use" text
);
Question: Can you tell me lowest Rank that has the Capacity in use of 93.6%, and the Total Passengers larger than 4,679,457?
<|assistant|>
SELECT MIN("rank") FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "capacity_in_use"='93.6%' AND "total_passengers">'4,679,457';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" (
"rank" real,
"location" text,
"total_passengers" real,
"annual_change" text,
"capacity_in_use" text
);
Question: Can you tell me the lowest Total Passengers than has the Location of salvador, and the Rank larger than 5?
<|assistant|>
SELECT MIN("total_passengers") FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "location"='salvador' AND "rank">5;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazil_s_15_busiest_airports_by_passenge" (
"rank" real,
"location" text,
"total_passengers" real,
"annual_change" text,
"capacity_in_use" text
);
Question: Can you tell me the Annual change that has the Location of manaus?
<|assistant|>
SELECT "annual_change" FROM "brazil_s_15_busiest_airports_by_passenge" WHERE "location"='manaus';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"best_finish" text,
"earnings" text,
"scoring_average" real
);
Question: What is the average number of cuts made when there were more than 2 tournaments played in 2011?
<|assistant|>
SELECT AVG("cuts_made") FROM "lpga_tour_career_summary" WHERE "tournaments_played">2 AND "year"=2011;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"best_finish" text,
"earnings" text,
"scoring_average" real
);
Question: What is the total number of wins with 10 cuts made and a score average under 74.09?
<|assistant|>
SELECT COUNT("wins") FROM "lpga_tour_career_summary" WHERE "cuts_made"=10 AND "scoring_average"<74.09;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
);
Question: What is Madeleine Dupont's shot pct.?
<|assistant|>
SELECT "shot_pct" FROM "standings" WHERE "skip"='madeleine dupont';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Can you tell me the Score that has the High assists of rafer alston (8)?
<|assistant|>
SELECT "score" FROM "game_log" WHERE "high_assists"='rafer alston (8)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Can you tell me the High points that has the High rebounds of rafer alston (9)?
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "high_rebounds"='rafer alston (9)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Can you tell me the Score that has the Date of april 8?
<|assistant|>
SELECT "score" FROM "game_log" WHERE "date"='april 8';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "member_schools" (
"school" text,
"location" text,
"enrolment" real,
"founded" real,
"denomination" text,
"boys_girls" text,
"day_boarding" text,
"year_entered_competition" real,
"school_colors" text
);
Question: Which boys' school wears Royal Blue and Gold and entered the competition in 1929?
<|assistant|>
SELECT "school" FROM "member_schools" WHERE "boys_girls"='boys' AND "year_entered_competition"=1929 AND "school_colors"='royal blue and gold';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preseason" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: What's the highest attendance for a game the Texan's played at Arrowhead Stadium?
<|assistant|>
SELECT MAX("attendance") FROM "preseason" WHERE "game_site"='arrowhead stadium';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preseason" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: Who did the Texan's play on Week 4?
<|assistant|>
SELECT "opponent" FROM "preseason" WHERE "week"='4';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "preseason" (
"week" text,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
);
Question: What's the date for HOF week?
<|assistant|>
SELECT "date" FROM "preseason" WHERE "week"='hof';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_goalscorers" (
"name" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"football_league_trophy" text,
"watney_cup" text,
"welsh_cup" text,
"total" text
);
Question: What is Total, when FA Cup is 1 0 (3)?
<|assistant|>
SELECT "total" FROM "top_goalscorers" WHERE "fa_cup"='1 0 (3)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"candidate" text,
"votes" real,
"percentage" text,
"counties" real,
"delegates" real
);
Question: What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?
<|assistant|>
SELECT MIN("delegates") FROM "results" WHERE "candidate"='john mccain' AND "counties"<45;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"candidate" text,
"votes" real,
"percentage" text,
"counties" real,
"delegates" real
);
Question: What is the sum of Counties when there were 701,761 votes and less than 57 delegates?
<|assistant|>
SELECT SUM("counties") FROM "results" WHERE "votes"='701,761' AND "delegates"<57;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"candidate" text,
"votes" real,
"percentage" text,
"counties" real,
"delegates" real
);
Question: What is the highest Counties when Mitt Romney was the candidate with less than 0 delegates?
<|assistant|>
SELECT MAX("counties") FROM "results" WHERE "candidate"='mitt romney' AND "delegates"<0;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"candidate" text,
"votes" real,
"percentage" text,
"counties" real,
"delegates" real
);
Question: What is the name of the candidate with more than 4,060 votes and more than 0 delegates?
<|assistant|>
SELECT "candidate" FROM "results" WHERE "votes">'4,060' AND "delegates">0;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"candidate" text,
"votes" real,
"percentage" text,
"counties" real,
"delegates" real
);
Question: What is the number of votes when Ron Paul is the candidate with less than 0 counties?
<|assistant|>
SELECT COUNT("votes") FROM "results" WHERE "candidate"='ron paul' AND "counties"<0;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_scorers" (
"player" text,
"position" text,
"premier_league" real,
"fa_cup" real,
"league_cup" real,
"uefa_cup" real,
"total" real
);
Question: What is the sum of totals associated with a UEFA Cup score of 4?
<|assistant|>
SELECT SUM("total") FROM "top_scorers" WHERE "uefa_cup"=4;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_scorers" (
"player" text,
"position" text,
"premier_league" real,
"fa_cup" real,
"league_cup" real,
"uefa_cup" real,
"total" real
);
Question: What is the sum of totals for FA Cup values of 0?
<|assistant|>
SELECT SUM("total") FROM "top_scorers" WHERE "fa_cup"<0;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"pos" text,
"height" text,
"weight" real,
"year" text,
"hometown_previous_school" text
);
Question: What is the Hometown of the person with a height of 5'8"?
<|assistant|>
SELECT "hometown_previous_school" FROM "roster" WHERE "height"='5''8\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"pos" text,
"height" text,
"weight" real,
"year" text,
"hometown_previous_school" text
);
Question: What is the average Weight of the person who is 6'9"?
<|assistant|>
SELECT AVG("weight") FROM "roster" WHERE "height"='6''9\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"pos" text,
"height" text,
"weight" real,
"year" text,
"hometown_previous_school" text
);
Question: What is the Hometown of Tim Williams?
<|assistant|>
SELECT "hometown_previous_school" FROM "roster" WHERE "name"='tim williams';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"pos" text,
"height" text,
"weight" real,
"year" text,
"hometown_previous_school" text
);
Question: What is the Year of the person who is 6'1", and weighs more than 165?
<|assistant|>
SELECT "year" FROM "roster" WHERE "height"='6''1\"' AND "weight">165;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fide_april_2008_top_ten" (
"rank" real,
"prev" real,
"player" text,
"rating" real,
"chng" text
);
Question: What player has a rating greater than 2746, with a prev less than 4, and +4 as the chng?
<|assistant|>
SELECT "player" FROM "fide_april_2008_top_ten" WHERE "rating">2746 AND "prev"<4 AND "chng"='+4';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fide_april_2008_top_ten" (
"rank" real,
"prev" real,
"player" text,
"rating" real,
"chng" text
);
Question: What chng has a rank greater than 6, with 12 as a prev?
<|assistant|>
SELECT "chng" FROM "fide_april_2008_top_ten" WHERE "rank">6 AND "prev"=12;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fide_april_2008_top_ten" (
"rank" real,
"prev" real,
"player" text,
"rating" real,
"chng" text
);
Question: What is the highest prev that has 9 as the rank, with a rating less than 2746?
<|assistant|>
SELECT MAX("prev") FROM "fide_april_2008_top_ten" WHERE "rank"=9 AND "rating"<2746;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
);
Question: How many blocks have a weight greater than 82, and a height less than 199?
<|assistant|>
SELECT SUM("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "weight">82 AND "height"<199;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
);
Question: What is the lowest block that has 328 as the spike, and a height less than 186?
<|assistant|>
SELECT MIN("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "spike"=328 AND "height"<186;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
);
Question: What is the lowest block that has a height less than 202, 19.06.1980 as the date of birth, and a weight greater than 76?
<|assistant|>
SELECT MIN("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "height"<202 AND "date_of_birth"='19.06.1980' AND "weight">76;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
);
Question: What is the highest block that has 15.09.1981 as the date, and a height greater than 202?
<|assistant|>
SELECT MAX("block") FROM "volleyball_at_the_2004_summer_olympics_m" WHERE "date_of_birth"='15.09.1981' AND "height">202;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_11_teams" (
"club" text,
"city" text,
"stadium" text,
"2009_season" text,
"group" text
);
Question: Which City has a Stadium of estadio san cristóbal?
<|assistant|>
SELECT "city" FROM "2010_11_teams" WHERE "stadium"='estadio san cristóbal';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_11_teams" (
"club" text,
"city" text,
"stadium" text,
"2009_season" text,
"group" text
);
Question: When in 2009 season has a Group of group b, and cancha del mystic with a Club of el tecal?
<|assistant|>
SELECT "2009_season" FROM "2010_11_teams" WHERE "group"='group b' AND "stadium"='cancha del mystic' AND "club"='el tecal';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_11_teams" (
"club" text,
"city" text,
"stadium" text,
"2009_season" text,
"group" text
);
Question: WHich Club has a City of colón?
<|assistant|>
SELECT "club" FROM "2010_11_teams" WHERE "city"='colón';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_11_teams" (
"club" text,
"city" text,
"stadium" text,
"2009_season" text,
"group" text
);
Question: WHat kind of 2009 season has a City of panama city, and a Group of group b?
<|assistant|>
SELECT "2009_season" FROM "2010_11_teams" WHERE "city"='panama city' AND "group"='group b';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_11_teams" (
"club" text,
"city" text,
"stadium" text,
"2009_season" text,
"group" text
);
Question: Which City has a Club of suntracs f.c.?
<|assistant|>
SELECT "city" FROM "2010_11_teams" WHERE "club"='suntracs f.c.';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_11_teams" (
"club" text,
"city" text,
"stadium" text,
"2009_season" text,
"group" text
);
Question: Which Stadium has a City of panama city, and a Group of group a, and a 2009 season of 1st in lna (champion)?
<|assistant|>
SELECT "stadium" FROM "2010_11_teams" WHERE "city"='panama city' AND "group"='group a' AND "2009_season"='1st in lna (champion)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" text,
"date" text,
"matches" real,
"clubs" text,
"prize_money" text
);
Question: What is the highest Matches, when Prize Money is £5,000?
<|assistant|>
SELECT MAX("matches") FROM "calendar" WHERE "prize_money"='£5,000';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" text,
"date" text,
"matches" real,
"clubs" text,
"prize_money" text
);
Question: What is Date, when Matches is less than 32, and when Round is Fifth Round Proper?
<|assistant|>
SELECT "date" FROM "calendar" WHERE "matches"<32 AND "round"='fifth round proper';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" text,
"date" text,
"matches" real,
"clubs" text,
"prize_money" text
);
Question: What is the average Matches, when Round is Third Qualifying Round?
<|assistant|>
SELECT AVG("matches") FROM "calendar" WHERE "round"='third qualifying round';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" text,
"date" text,
"matches" real,
"clubs" text,
"prize_money" text
);
Question: What is the total number of Matches, when Clubs is 588 → 406?
<|assistant|>
SELECT COUNT("matches") FROM "calendar" WHERE "clubs"='588 → 406';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" text,
"date" text,
"matches" real,
"clubs" text,
"prize_money" text
);
Question: What is Prize Money, when Matches is less than 73, and when Round is Third Round Proper?
<|assistant|>
SELECT "prize_money" FROM "calendar" WHERE "matches"<73 AND "round"='third round proper';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_wins_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: For the tournament played on a hard surface and ending with a score of Walkover, who was the Finals opponent?
<|assistant|>
SELECT "opponent_in_the_final" FROM "singles_wins_5" WHERE "surface"='hard' AND "score"='walkover';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_wins_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: For the tournament played on September 25, 1995, who was the Finals opponent?
<|assistant|>
SELECT "opponent_in_the_final" FROM "singles_wins_5" WHERE "date"='september 25, 1995';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_wins_5" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: Which tournament was played on September 25, 1995?
<|assistant|>
SELECT "tournament" FROM "singles_wins_5" WHERE "date"='september 25, 1995';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: What was the time for the bout against Amanda Lavoy, which went under 3 rounds?
<|assistant|>
SELECT "time" FROM "mixed_martial_arts_record" WHERE "round"<3 AND "opponent"='amanda lavoy';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "players_out_on_loan" (
"nat" text,
"name" text,
"since" real,
"app_l_c_e" text,
"goals_l_c_e" text,
"ends" real,
"transfer_fee" text,
"notes" text
);
Question: What is Notes, when App(L/C/E) is 13 (7/2/4)?
<|assistant|>
SELECT "notes" FROM "players_out_on_loan" WHERE "app_l_c_e"='13 (7/2/4)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "players_out_on_loan" (
"nat" text,
"name" text,
"since" real,
"app_l_c_e" text,
"goals_l_c_e" text,
"ends" real,
"transfer_fee" text,
"notes" text
);
Question: What is Nat., when Ends is greater than 2010, when Since is 2006, and when Name is Paligeorgos?
<|assistant|>
SELECT "nat" FROM "players_out_on_loan" WHERE "ends">2010 AND "since"=2006 AND "name"='paligeorgos';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "players_out_on_loan" (
"nat" text,
"name" text,
"since" real,
"app_l_c_e" text,
"goals_l_c_e" text,
"ends" real,
"transfer_fee" text,
"notes" text
);
Question: What is the lowest Since, when Notes is To Anagennisi Karditsa, and when App(L/C/E) is 0 (0/0/0)?
<|assistant|>
SELECT MIN("since") FROM "players_out_on_loan" WHERE "notes"='to anagennisi karditsa' AND "app_l_c_e"='0 (0/0/0)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: What is the Time/Retired of the Newman-Haas Racing team in under 51 laps?
<|assistant|>
SELECT "time_retired" FROM "race" WHERE "laps"<51 AND "team"='newman-haas racing';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real
);
Question: What are the lowest laps Alex Tagliani did for the Forsythe Racing team?
<|assistant|>
SELECT MIN("laps") FROM "race" WHERE "team"='forsythe racing' AND "driver"='alex tagliani';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: What is the Event when DNP shows for 2007–08?
<|assistant|>
SELECT "event" FROM "grand_slam_record" WHERE "2007_08"='dnp';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: What is the 2008–09 when the 2009–10 shows q?
<|assistant|>
SELECT "2008_09" FROM "grand_slam_record" WHERE "2009_10"='q';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: What is the 2009–10 when the 2007–08 shows n/a, and an Event of colonial square ladies classic?
<|assistant|>
SELECT "2009_10" FROM "grand_slam_record" WHERE "2007_08"='n/a' AND "event"='colonial square ladies classic';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: What is the Event when the 2008–09 is sf?
<|assistant|>
SELECT "event" FROM "grand_slam_record" WHERE "2008_09"='sf';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: What is the 2010–11 when the Event is colonial square ladies classic?
<|assistant|>
SELECT "2010_11" FROM "grand_slam_record" WHERE "event"='colonial square ladies classic';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text
);
Question: What is the 2007–08 when the event was autumn gold?
<|assistant|>
SELECT "2007_08" FROM "grand_slam_record" WHERE "event"='autumn gold';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_15th_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: Which Cultural and Educational Panel has a Labour Panel larger than 5, and an Industrial and Commercial Panel larger than 9?
<|assistant|>
SELECT COUNT("cultural_and_educational_panel") FROM "composition_of_the_15th_seanad" WHERE "labour_panel">5 AND "industrial_and_commercial_panel">9;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_15th_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: Which Administrative Panel has a Nominated by the Taoiseach smaller than 0?
<|assistant|>
SELECT MIN("administrative_panel") FROM "composition_of_the_15th_seanad" WHERE "nominated_by_the_taoiseach"<0;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_15th_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: Which Labour Panel has an Industrial and Commercial Panel of 9, and a University of Dublin smaller than 3?
<|assistant|>
SELECT AVG("labour_panel") FROM "composition_of_the_15th_seanad" WHERE "industrial_and_commercial_panel"=9 AND "university_of_dublin"<3;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "composition_of_the_15th_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: Which Total has a Labour Panel smaller than 5, an Administrative Panel smaller than 1, and a National University of Ireland smaller than 2?
<|assistant|>
SELECT COUNT("total") FROM "composition_of_the_15th_seanad" WHERE "labour_panel"<5 AND "administrative_panel"<1 AND "national_university_of_ireland"<2;<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.