question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Laps have a Time/Retired of +23.215, and a Grid larger than 11?
CREATE TABLE table_name_41 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_41 WHERE time_retired = "+23.215" AND grid > 11
What score to par won in 1998?
CREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR)
SELECT to_par FROM table_18862490_2 WHERE year = 1998
What region has the date of 2005 and Playground Music Scandinavia as a label?
CREATE TABLE table_name_16 (region VARCHAR, date VARCHAR, label VARCHAR)
SELECT region FROM table_name_16 WHERE date = "2005" AND label = "playground music scandinavia"
Which State (class) has a Successor of harry f. byrd, jr. (d)? Question
CREATE TABLE table_name_54 (state__class_ VARCHAR, successor VARCHAR)
SELECT state__class_ FROM table_name_54 WHERE successor = "harry f. byrd, jr. (d)"
Tell me the qual 1 for jan heylen
CREATE TABLE table_name_13 (qual_1 VARCHAR, name VARCHAR)
SELECT qual_1 FROM table_name_13 WHERE name = "jan heylen"
When David E. Finley was the incumbent what was the result?
CREATE TABLE table_name_8 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_name_8 WHERE incumbent = "david e. finley"
Find the countries that have never participated in any competition with Friendly type.
CREATE TABLE competition (country VARCHAR, competition_type VARCHAR)
SELECT country FROM competition EXCEPT SELECT country FROM competition WHERE competition_type = 'Friendly'
Which venue has a Date of 28 july 2007?
CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_68 WHERE date = "28 july 2007"
What is the high point total associated with a difference of 1 and 0 draws?
CREATE TABLE table_name_88 (points INTEGER, difference VARCHAR, drawn VARCHAR)
SELECT MAX(points) FROM table_name_88 WHERE difference = "1" AND drawn = 0
What are the international tourist arrivals in 2010 where change from 2010 to 2011 is +11.2% ?
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR)
SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+11.2%"
What was the score of the game with the Broadview Hawks as the home team?
CREATE TABLE table_name_97 (score VARCHAR, home VARCHAR)
SELECT score FROM table_name_97 WHERE home = "broadview hawks"
Find the numbers of different majors and cities.
CREATE TABLE student (major VARCHAR, city_code VARCHAR)
SELECT COUNT(DISTINCT major), COUNT(DISTINCT city_code) FROM student
Name the team for oct 30, 1989
CREATE TABLE table_1594772_2 (team__b_ VARCHAR, match_date VARCHAR)
SELECT team__b_ FROM table_1594772_2 WHERE match_date = "Oct 30, 1989"
What is the smallest amount of water having landmass over 34.864 sqmi, in Pierce township, with a GEO ID over 3800362460?
CREATE TABLE table_name_2 (water__sqmi_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, township VARCHAR)
SELECT MIN(water__sqmi_) FROM table_name_2 WHERE land___sqmi__ > 34.864 AND township = "pierce" AND geo_id > 3800362460
What's the statue for an against above 22?
CREATE TABLE table_name_68 (status VARCHAR, against INTEGER)
SELECT status FROM table_name_68 WHERE against > 22
Who was the incumbent in the Illinois 17 district?
CREATE TABLE table_1342218_13 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1342218_13 WHERE district = "Illinois 17"
What school did the punter picked after 101 attend?
CREATE TABLE table_name_62 (college VARCHAR, pick VARCHAR, position VARCHAR)
SELECT college FROM table_name_62 WHERE pick > 101 AND position = "punter"
When Bianca Manalo won Miss Universe Philippines who was the second runner-up?
CREATE TABLE table_name_46 (second_runner_up VARCHAR, miss_universe_philippines VARCHAR)
SELECT second_runner_up FROM table_name_46 WHERE miss_universe_philippines = "bianca manalo"
List the name of products in ascending order of price.
CREATE TABLE Products (Product_Name VARCHAR, Product_Price VARCHAR)
SELECT Product_Name FROM Products ORDER BY Product_Price
Which venue is rank 3?
CREATE TABLE table_name_4 (venue VARCHAR, rank VARCHAR)
SELECT venue FROM table_name_4 WHERE rank = "3"
David James Elliott directed which episode number within the series?
CREATE TABLE table_228973_11 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT no_in_series FROM table_228973_11 WHERE directed_by = "David James Elliott"
What activities does Clear Channel Entertainment Facilitation Limited engage in?
CREATE TABLE table_1756264_2 (description_of_activities VARCHAR, company_name VARCHAR)
SELECT description_of_activities FROM table_1756264_2 WHERE company_name = "CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED"
What is the email of the student with first name "Emma" and last name "Rohan"?
CREATE TABLE Students (email_address VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT email_address FROM Students WHERE first_name = "Emma" AND last_name = "Rohan"
What is the fewest number of shuttles where the shuttle time is 6.55 seconds?
CREATE TABLE table_1751142_2 (shuttles INTEGER, shuttle_time__seconds_ VARCHAR)
SELECT MIN(shuttles) FROM table_1751142_2 WHERE shuttle_time__seconds_ = "6.55"
What is the sum of laps for grid 20?
CREATE TABLE table_name_53 (laps INTEGER, grid VARCHAR)
SELECT SUM(laps) FROM table_name_53 WHERE grid = 20
Name the number of appearances for yugoslavia
CREATE TABLE table_24565004_20 (appearances¹ VARCHAR, nationality² VARCHAR)
SELECT COUNT(appearances¹) FROM table_24565004_20 WHERE nationality² = "Yugoslavia"
What is the name of the airport with an ICAO of ULLI?
CREATE TABLE table_name_40 (airport VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_40 WHERE icao = "ulli"
what is the points when the club blaengarw rfc?
CREATE TABLE table_name_62 (points VARCHAR, club VARCHAR)
SELECT points FROM table_name_62 WHERE club = "blaengarw rfc"
What is the sum of top-25s for events with more than 1 top-5?
CREATE TABLE table_name_71 (top_25 INTEGER, top_5 INTEGER)
SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 1
How many first elections have Claude Fuller as incumbent?
CREATE TABLE table_1342315_4 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_1342315_4 WHERE incumbent = "Claude Fuller"
Which Competition has a Date of may 2, 1993?
CREATE TABLE table_name_12 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_12 WHERE date = "may 2, 1993"
What is the total number of S No(s), when the Margin is 16 runs?
CREATE TABLE table_name_88 (s_no VARCHAR, margin VARCHAR)
SELECT COUNT(s_no) FROM table_name_88 WHERE margin = "16 runs"
Who had the highest rebounds on November 4
CREATE TABLE table_11959669_3 (high_rebounds VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_11959669_3 WHERE date = "November 4"
Which week's date was September 27, 1953?
CREATE TABLE table_name_8 (week VARCHAR, date VARCHAR)
SELECT week FROM table_name_8 WHERE date = "september 27, 1953"
What country is Lee Janzen from?
CREATE TABLE table_name_46 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_46 WHERE player = "lee janzen"
What are the arriving date and the departing date of all the dogs?
CREATE TABLE Dogs (date_arrived VARCHAR, date_departed VARCHAR)
SELECT date_arrived, date_departed FROM Dogs
Where were the 2008 championships with a time of 7:56.90 held?
CREATE TABLE table_name_3 (location VARCHAR, meet VARCHAR, time VARCHAR)
SELECT location FROM table_name_3 WHERE meet = "2008 championships" AND time = "7:56.90"
What network is virtual channel 9.1 linked to?
CREATE TABLE table_1404984_1 (network VARCHAR, virtual_channel VARCHAR)
SELECT network FROM table_1404984_1 WHERE virtual_channel = "9.1"
Display the serial numbers for the players who play at the center.
CREATE TABLE table_23670057_4 (no VARCHAR, position VARCHAR)
SELECT no FROM table_23670057_4 WHERE position = "Center"
What is Graeme Bonar's lowest pick number?
CREATE TABLE table_2850912_3 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_2850912_3 WHERE player = "Graeme Bonar"
What team finished 35 in a ford before 1997?
CREATE TABLE table_name_90 (team VARCHAR, finish VARCHAR, year VARCHAR, manufacturer VARCHAR)
SELECT team FROM table_name_90 WHERE year < 1997 AND manufacturer = "ford" AND finish = "35"
How many starts did Hendrick motorsports have?
CREATE TABLE table_1012730_1 (starts INTEGER, team_s_ VARCHAR)
SELECT MIN(starts) FROM table_1012730_1 WHERE team_s_ = "Hendrick Motorsports"
What was the Record for the game on October 30?
CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_8 WHERE date = "october 30"
what is the position for pick # 103?
CREATE TABLE table_2679061_6 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_2679061_6 WHERE pick__number = 103
what is the least total in gila
CREATE TABLE table_19681738_1 (total INTEGER, county VARCHAR)
SELECT MIN(total) FROM table_19681738_1 WHERE county = "Gila"
What is the total grid number that has 14 laps and a time of +29.483?
CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR)
SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483"
What is the total number of Total when the Silver is less than 2, and a Bronze is less than 0?
CREATE TABLE table_name_70 (total VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(total) FROM table_name_70 WHERE silver < 2 AND bronze < 0
What school had an enrollment in 2005 of 69?
CREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR)
SELECT school FROM table_2076490_1 WHERE enrollment__2005_ = "69"
Who's the Socialist ticket with a Democratic ticket of herbert h. lehman?
CREATE TABLE table_name_5 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT socialist_ticket FROM table_name_5 WHERE democratic_ticket = "herbert h. lehman"
What are the examples for the Australian æ?
CREATE TABLE table_name_51 (examples VARCHAR, australian VARCHAR)
SELECT examples FROM table_name_51 WHERE australian = "æ"
What number is shown for november 3 where january 15-16 is 151?
CREATE TABLE table_25252080_3 (november_3 VARCHAR, january_15_16 VARCHAR)
SELECT november_3 FROM table_25252080_3 WHERE january_15_16 = "151"
What is the release date of the 6 mb L3 cache with the part number by80607005259aabx80607i7740qm?
CREATE TABLE table_name_92 (release_date VARCHAR, l3_cache VARCHAR, part_number_s_ VARCHAR)
SELECT release_date FROM table_name_92 WHERE l3_cache = "6 mb" AND part_number_s_ = "by80607005259aabx80607i7740qm"
On week 13 what was the score of the game?
CREATE TABLE table_name_11 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_11 WHERE week = 13
Tell me the sum of draws for position less than 15 with played more than 38
CREATE TABLE table_name_95 (draws INTEGER, position VARCHAR, played VARCHAR)
SELECT SUM(draws) FROM table_name_95 WHERE position < 15 AND played > 38
What is the average attendance that has 83-52 as the record?
CREATE TABLE table_name_86 (attendance INTEGER, record VARCHAR)
SELECT AVG(attendance) FROM table_name_86 WHERE record = "83-52"
what is the year when the driver was kevin lepage?
CREATE TABLE table_name_87 (year INTEGER, driver VARCHAR)
SELECT SUM(year) FROM table_name_87 WHERE driver = "kevin lepage"
How many party were listed for district oklahoma 5?
CREATE TABLE table_1341423_36 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_1341423_36 WHERE district = "Oklahoma 5"
How much Rank has Points larger than 282.5?
CREATE TABLE table_name_11 (rank VARCHAR, points INTEGER)
SELECT COUNT(rank) FROM table_name_11 WHERE points > 282.5
Who was the winner of the 23rd Edition?
CREATE TABLE table_name_58 (winner VARCHAR, edition VARCHAR)
SELECT winner FROM table_name_58 WHERE edition = "23rd"
What is the highest New Zealand value with a Hong Kong value less than 0?
CREATE TABLE table_name_47 (new_zealand INTEGER, hong_kong INTEGER)
SELECT MAX(new_zealand) FROM table_name_47 WHERE hong_kong < 0
What format was used for Mobil 1?
CREATE TABLE table_name_21 (format VARCHAR, catalog VARCHAR)
SELECT format FROM table_name_21 WHERE catalog = "mobil 1"
What driver went 14 rounds with a 193 Chassis?
CREATE TABLE table_name_55 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
SELECT driver FROM table_name_55 WHERE chassis = "193" AND rounds = "14"
What is the time/retired for the driver with 16 grids?
CREATE TABLE table_name_81 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_81 WHERE grid = 16
what is the highest latitude when the township is kingsley and the geo id is higher than 3803942820?
CREATE TABLE table_name_24 (latitude INTEGER, township VARCHAR, geo_id VARCHAR)
SELECT MAX(latitude) FROM table_name_24 WHERE township = "kingsley" AND geo_id > 3803942820
What was the record on 6 April 2008?
CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_20 WHERE date = "6 april 2008"
What is the sum of Total for 0 gold and less than 2, silver with a rank of 6?
CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT SUM(total) FROM table_name_11 WHERE gold = 0 AND silver < 2 AND rank = "6"
Who was the opponent in week 3?
CREATE TABLE table_name_34 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_34 WHERE week = 3
What is Province, when 2006 is less than 153748, when Date of Official Foundation of Municipality is after 1958, and when City is "Pakdasht"?
CREATE TABLE table_name_46 (province VARCHAR, city VARCHAR, date_of_official_foundation_of_municipality VARCHAR)
SELECT province FROM table_name_46 WHERE 2006 < 153748 AND date_of_official_foundation_of_municipality > 1958 AND city = "pakdasht"
Find the emails of parties with the most popular party form.
CREATE TABLE party_forms (form_id VARCHAR); CREATE TABLE parties (party_email VARCHAR, party_id VARCHAR); CREATE TABLE party_forms (party_id VARCHAR, form_id VARCHAR)
SELECT t1.party_email FROM parties AS t1 JOIN party_forms AS t2 ON t1.party_id = t2.party_id WHERE t2.form_id = (SELECT form_id FROM party_forms GROUP BY form_id ORDER BY COUNT(*) DESC LIMIT 1)
What is the away team that played at punt road oval?
CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_24 WHERE venue = "punt road oval"
In 1971, how many total points did the entrant stp march have?
CREATE TABLE table_name_56 (points VARCHAR, entrant VARCHAR, year VARCHAR)
SELECT COUNT(points) FROM table_name_56 WHERE entrant = "stp march" AND year > 1971
What is varricchio's unit?
CREATE TABLE table_name_75 (unit VARCHAR, authors VARCHAR)
SELECT unit FROM table_name_75 WHERE authors = "varricchio"
Name the ptor-austronesian for father
CREATE TABLE table_15568886_14 (proto_austronesian VARCHAR, kinship VARCHAR)
SELECT proto_austronesian FROM table_15568886_14 WHERE kinship = "father"
If there were 14 in 1990 and 6 survived how many were destroyed?
CREATE TABLE table_1817852_1 (destroyed VARCHAR, survived VARCHAR)
SELECT destroyed FROM table_1817852_1 WHERE 1990 = 14 AND survived = 6
What is Mike Skinner's Chevrolet's Car #?
CREATE TABLE table_name_74 (car__number VARCHAR, make VARCHAR, driver VARCHAR)
SELECT COUNT(car__number) FROM table_name_74 WHERE make = "chevrolet" AND driver = "mike skinner"
Which 1998 tournament had a performance of 3R in 2007?
CREATE TABLE table_name_14 (Id VARCHAR)
SELECT 1998 FROM table_name_14 WHERE 2007 = "3r"
What is Team, when Circuit is Queensland Raceway, and when Winner is Garth Tander?
CREATE TABLE table_name_96 (team VARCHAR, circuit VARCHAR, winner VARCHAR)
SELECT team FROM table_name_96 WHERE circuit = "queensland raceway" AND winner = "garth tander"
When included ram (mib) is the model what is the sonnet?
CREATE TABLE table_3002894_4 (sonnet VARCHAR, model VARCHAR)
SELECT sonnet FROM table_3002894_4 WHERE model = "Included RAM (MiB)"
What is the lowest points scored by the Wildcats when the record was 5-1?
CREATE TABLE table_20850527_1 (wildcats_points INTEGER, record VARCHAR)
SELECT MIN(wildcats_points) FROM table_20850527_1 WHERE record = "5-1"
What's the Lost average that has a Drawn less than 0?
CREATE TABLE table_name_19 (lost INTEGER, drawn INTEGER)
SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0
Name the most founded for sea gulls
CREATE TABLE table_1973648_1 (founded INTEGER, nickname VARCHAR)
SELECT MAX(founded) FROM table_1973648_1 WHERE nickname = "Sea Gulls"
What is the country where there are 8 children per donor and no data for donor payments?
CREATE TABLE table_16175217_1 (country VARCHAR, children_per_donor VARCHAR, donor_payment VARCHAR)
SELECT country FROM table_16175217_1 WHERE children_per_donor = "8 children" AND donor_payment = "no data"
What was the record when the visiting team was Ottawa?
CREATE TABLE table_name_54 (record VARCHAR, visitor VARCHAR)
SELECT record FROM table_name_54 WHERE visitor = "ottawa"
Name the visitor from vancouver on february 24
CREATE TABLE table_name_81 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_81 WHERE home = "vancouver" AND date = "february 24"
Which System has an Actual Version 9.0?
CREATE TABLE table_name_15 (system VARCHAR, actual_version VARCHAR)
SELECT system FROM table_name_15 WHERE actual_version = "9.0"
Who is the villain in episode #7?
CREATE TABLE table_10470082_4 (villains VARCHAR, _number VARCHAR)
SELECT villains FROM table_10470082_4 WHERE _number = 7
What is the Prize, when the Event is Ept Sanremo?
CREATE TABLE table_name_11 (prize VARCHAR, event VARCHAR)
SELECT prize FROM table_name_11 WHERE event = "ept sanremo"
What is the score of away team, North Melbourne?
CREATE TABLE table_name_37 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_37 WHERE away_team = "north melbourne"
What is Opponent, when Location/Attendance is "Mellon Arena - 17,132"?
CREATE TABLE table_name_67 (opponent VARCHAR, location_attendance VARCHAR)
SELECT opponent FROM table_name_67 WHERE location_attendance = "mellon arena - 17,132"
What was the time when the laps were smaller than 66 and the grid was 15?
CREATE TABLE table_name_62 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_62 WHERE laps < 66 AND grid = 15
What is the method of resolution for the fight that had a time of 5:00 and a record of 5-0?
CREATE TABLE table_name_57 (method VARCHAR, time VARCHAR, record VARCHAR)
SELECT method FROM table_name_57 WHERE time = "5:00" AND record = "5-0"
How many villages are there in the Magway region?
CREATE TABLE table_19457_1 (villages VARCHAR, state_region VARCHAR)
SELECT villages FROM table_19457_1 WHERE state_region = "Magway Region"
Name the most overall rank for czech republic
CREATE TABLE table_2701625_1 (overall_rank INTEGER, country VARCHAR)
SELECT MAX(overall_rank) FROM table_2701625_1 WHERE country = "Czech Republic"
What is the region that the Blaine County Museum is located in?
CREATE TABLE table_name_43 (region VARCHAR, name VARCHAR)
SELECT region FROM table_name_43 WHERE name = "blaine county museum"
What is the venue of the match with a score of 33-22?
CREATE TABLE table_name_45 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_45 WHERE score = "33-22"
What was the margin of victory for the Players Championship tournament?
CREATE TABLE table_name_70 (margin_of_victory VARCHAR, tournament VARCHAR)
SELECT margin_of_victory FROM table_name_70 WHERE tournament = "the players championship"
What was the name in English that had a Stat of 7th cut?
CREATE TABLE table_name_43 (english_name VARCHAR, stat VARCHAR)
SELECT english_name FROM table_name_43 WHERE stat = "7th cut"
How much Silver has a Rank of 4, and a Bronze smaller than 12?
CREATE TABLE table_name_36 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)
SELECT COUNT(silver) FROM table_name_36 WHERE rank = "4" AND bronze < 12
How much Voltage (kV) has a Country of argentina, and a Power (MW) larger than 30, and a Supply point of yacyretá?
CREATE TABLE table_name_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR)
SELECT COUNT(voltage__kv_) FROM table_name_44 WHERE country = "argentina" AND power__mw_ > 30 AND supply_point = "yacyretá"
What is the result of the match against Ryan Schultz?
CREATE TABLE table_name_12 (res VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_12 WHERE opponent = "ryan schultz"