question_id
int64 24.2k
80.3k
| table_id
stringlengths 8
14
| question
stringlengths 12
244
| sql
stringlengths 33
482
|
|---|---|---|---|
80,220
|
2-12392545-3
|
What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of Hungary?
|
SELECT MIN("Bronze") FROM "2-12392545-3" WHERE "Gold" < 3.0 AND "Silver" > 1.0 AND "Rank" = 6.0 AND "Nation" = 'Hungary';
|
80,221
|
2-12392545-3
|
What is the average bronze with a rank of 4 and less than 1 silver?
|
SELECT AVG("Bronze") FROM "2-12392545-3" WHERE "Rank" = 4.0 AND "Silver" < 1.0;
|
80,222
|
2-12392545-3
|
Which silver has a Gold larger than 4, and a Rank of 1?
|
SELECT "Silver" FROM "2-12392545-3" WHERE "Gold" > 4.0 AND "Rank" = 1.0;
|
80,223
|
2-12392545-3
|
What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0?
|
SELECT MIN("Bronze") FROM "2-12392545-3" WHERE "Total" = 3.0 AND "Nation" = 'hungary' AND "Gold" < 0.0;
|
80,224
|
2-12392545-3
|
How many gold have a Rank of 7, and a Bronze of 1, and a Silver smaller than 0?
|
SELECT SUM("Gold") FROM "2-12392545-3" WHERE "Rank" = 7.0 AND "Bronze" = 1.0 AND "Silver" < 0.0;
|
80,225
|
2-12392545-3
|
How many Totals have a Silver smaller than 2, and a Nation of ukraine, and a Gold smaller than 3?
|
SELECT COUNT("Total") FROM "2-12392545-3" WHERE "Silver" < 2.0 AND "Nation" = 'ukraine' AND "Gold" < 3.0;
|
80,226
|
2-12643669-12
|
Which player played in 2007?
|
SELECT "Player" FROM "2-12643669-12" WHERE "Season" = '2007';
|
80,227
|
2-12643669-12
|
What was Min Patel's bowling?
|
SELECT "Bowling" FROM "2-12643669-12" WHERE "Player" = 'Min Patel';
|
80,228
|
2-13032664-2
|
Who was the week 1 nomination when the week 2 nomination was Piia Jarkko?
|
SELECT "Week 1" FROM "2-13032664-2" WHERE "Week 2" = 'Piia Jarkko';
|
80,229
|
2-13032664-2
|
Who was the week 12 nomination when the week 9 nomination Walked (Day 11)?
|
SELECT "Week 12" FROM "2-13032664-2" WHERE "Week 9" = 'Walked (Day 11)';
|
80,230
|
2-13032664-2
|
What is the week 12 nomination that had a week 1 nomination of Maria Maxine and a week 2 nomination of Henri Satu?
|
SELECT "Week 12" FROM "2-13032664-2" WHERE "Week 1" = 'Maria Maxine' AND "Week 2" = 'Henri Satu';
|
80,231
|
2-12454334-1
|
Name the heightfor city of license of Malone, NY
|
SELECT "Height m ( ft )" FROM "2-12454334-1" WHERE "City of license" = 'Malone, NY';
|
80,232
|
2-12454334-1
|
Name the class with call sign of WMHN
|
SELECT "Class" FROM "2-12454334-1" WHERE "Call sign" = 'WMHN';
|
80,233
|
2-12454334-1
|
Name the frequency with class of B
|
SELECT "Frequency" FROM "2-12454334-1" WHERE "Class" = 'B';
|
80,234
|
2-12454334-1
|
Name the city of license with frequency of 90.1 FM
|
SELECT "City of license" FROM "2-12454334-1" WHERE "Frequency" = '90.1 FM';
|
80,235
|
2-12454334-1
|
Name the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430
|
SELECT COUNT("ERP / Power W") FROM "2-12454334-1" WHERE "Frequency" = '89.3 fm' AND "Facility ID" < 40430.0;
|
80,236
|
2-13091379-1
|
What is the Engine(s) that has F Tyres in 1971?
|
SELECT "Engine(s)" FROM "2-13091379-1" WHERE "Tyres" = 'F' AND "Year" = 1971.0;
|
80,237
|
2-12278845-5
|
What was the attendance on June 27?
|
SELECT MIN("Att.") FROM "2-12278845-5" WHERE "Date" = 'June 27';
|
80,238
|
2-12762499-2
|
Name the surface for 12 September 2006
|
SELECT "Surface" FROM "2-12762499-2" WHERE "Date" = '12 September 2006';
|
80,239
|
2-12762499-2
|
Name the score for opponent in the final being Paul Baccanello
|
SELECT "Score" FROM "2-12762499-2" WHERE "Opponent in the final" = 'Paul Baccanello';
|
80,240
|
2-12762499-2
|
Name the surface for 20 March 2007
|
SELECT "Surface" FROM "2-12762499-2" WHERE "Date" = '20 March 2007';
|
80,241
|
2-12762499-2
|
Name the date for opponent in the final being Ignasi Villacampa
|
SELECT "Date" FROM "2-12762499-2" WHERE "Opponent in the final" = 'Ignasi Villacampa';
|
80,242
|
2-12762499-2
|
Name the tournament for Grass surface and opponent in the final being Paul Baccanello
|
SELECT "Tournament" FROM "2-12762499-2" WHERE "Surface" = 'Grass' AND "Opponent in the final" = 'Paul Baccanello';
|
80,243
|
2-12943308-1
|
When is the earliest year in Milan that Guillermo Vilas was champion?
|
SELECT MIN("Year") FROM "2-12943308-1" WHERE "Location" = 'Milan' AND "Champion" = 'Guillermo Vilas';
|
80,244
|
2-12943308-1
|
Where in 1985 was Tim Mayotte runner up?
|
SELECT "Location" FROM "2-12943308-1" WHERE "Year" > 1985.0 AND "Runner-up" = 'Tim Mayotte';
|
80,245
|
2-12943308-1
|
What was the score when Stefan Edberg won after 1978?
|
SELECT "Score" FROM "2-12943308-1" WHERE "Year" > 1978.0 AND "Champion" = 'Stefan Edberg';
|
80,246
|
2-1278862-3
|
What is the Facility ID that has a City of license of wheeling, and a ERP kW less than 4.5?
|
SELECT MAX("Facility ID") FROM "2-1278862-3" WHERE "City of license" = 'wheeling' AND "ERP kW" < 4.5;
|
80,247
|
2-1278862-3
|
What is the City of license that has a ERP kW more than 4.5 and W23DR-D?
|
SELECT "City of license" FROM "2-1278862-3" WHERE "ERP kW" > 4.5 AND "Station" = 'W23DR-D';
|
80,248
|
2-13050399-2
|
What is the location that has a date of demolition of 1940 and has a church named Christ Church Greyfriars?
|
SELECT "Location" FROM "2-13050399-2" WHERE "Date of demolition" = 1940.0 AND "Church name" = 'Christ Church Greyfriars';
|
80,249
|
2-13050399-2
|
How many dates of demolition are located on wood street?
|
SELECT COUNT("Date of demolition") FROM "2-13050399-2" WHERE "Location" = 'wood street';
|
80,250
|
2-12472200-5
|
What was Olga Govortsova's score when she played on a Clay surface on 19 May 2008?
|
SELECT "Score" FROM "2-12472200-5" WHERE "Surface" = 'Clay' AND "Date" = '19 May 2008';
|
80,251
|
2-12472200-5
|
What was Olga Govortsova's outcome when she played on a Grass surface?
|
SELECT "Outcome" FROM "2-12472200-5" WHERE "Surface" = 'Grass';
|
80,252
|
2-12472200-5
|
What was Olga Govortsova's goal when she played on a Clay surface on 26 May 2012?
|
SELECT "Score" FROM "2-12472200-5" WHERE "Surface" = 'Clay' AND "Date" = '26 May 2012';
|
80,253
|
2-12679495-2
|
Which mountain range has a rank of 19?
|
SELECT "Mountain Range" FROM "2-12679495-2" WHERE "Rank" = 19.0;
|
80,254
|
2-12679495-2
|
Which location includes Coast Mountains with a rank less than 18 at Skihist Mountain?
|
SELECT "Location" FROM "2-12679495-2" WHERE "Mountain Range" = 'Coast Mountains' AND "Rank" < 18.0 AND "Mountain Peak" = 'Skihist Mountain';
|
80,255
|
2-12679495-2
|
Which mountain range includes Mount Hubbard?
|
SELECT "Mountain Range" FROM "2-12679495-2" WHERE "Mountain Peak" = 'Mount Hubbard';
|
80,256
|
2-12679495-2
|
Which province includes Axel Heiberg Island?
|
SELECT "Province" FROM "2-12679495-2" WHERE "Mountain Range" = 'Axel Heiberg Island';
|
80,257
|
2-12736549-1
|
What are the notes of events that finished in 12th position?
|
SELECT "Notes" FROM "2-12736549-1" WHERE "Position" = '12th';
|
80,258
|
2-12736549-1
|
Which venue was finished in 2nd position in 1985?
|
SELECT "Venue" FROM "2-12736549-1" WHERE "Position" = '2nd' AND "Year" = 1985.0;
|
80,259
|
2-12736549-1
|
What is the average year of events that took place in antwerp, belgium?
|
SELECT AVG("Year") FROM "2-12736549-1" WHERE "Venue" = 'antwerp, belgium';
|
80,260
|
2-12736549-1
|
What's the year of the event that took place most recently in antwerp, belgium with team competition notes?
|
SELECT MAX("Year") FROM "2-12736549-1" WHERE "Notes" = 'team competition' AND "Venue" = 'antwerp, belgium';
|
80,261
|
2-12605791-1
|
What was the label's format LP and catalog of CH-9192?
|
SELECT "Label" FROM "2-12605791-1" WHERE "Format" = 'LP' AND "Catalog" = 'CH-9192';
|
80,262
|
2-12605791-1
|
When was Catalog CHD-9192 published?
|
SELECT "Date" FROM "2-12605791-1" WHERE "Catalog" = 'CHD-9192';
|
80,263
|
2-12503727-1
|
I need the FCC info on the radio Frequency MHz 107.5?
|
SELECT "FCC info" FROM "2-12503727-1" WHERE "Frequency MHz" = 107.5;
|
80,264
|
2-12503727-1
|
Give me the MHz Frequency of Allapattah, Florida.
|
SELECT "Frequency MHz" FROM "2-12503727-1" WHERE "City of license" = 'Allapattah, Florida';
|
80,265
|
2-12503727-1
|
What class does the W298AK sign belong to?
|
SELECT "Class" FROM "2-12503727-1" WHERE "Call sign" = 'W298AK';
|
80,266
|
2-12503727-1
|
What class is ERP W of 800?
|
SELECT "Class" FROM "2-12503727-1" WHERE "ERP W" = 800.0;
|
80,267
|
2-13013383-1
|
What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8?
|
SELECT SUM("Goals Conceded") FROM "2-13013383-1" WHERE "Points" < 21.0 AND "Lost" < 8.0;
|
80,268
|
2-13013383-1
|
What's the total of Lost that's got Points larger than 28, Draw of 5, and Place that's smaller than 1?
|
SELECT SUM("Lost") FROM "2-13013383-1" WHERE "Points" > 28.0 AND "Draw" = 5.0 AND "Place" < 1.0;
|
80,269
|
2-13013383-1
|
What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atlético Balboa?
|
SELECT SUM("Goals Scored") FROM "2-13013383-1" WHERE "Points" < 27.0 AND "Team" = 'C.D. Atlético Balboa';
|
80,270
|
2-13013383-1
|
What is listed as the Highest Played and that has a Place that is larger than 10?
|
SELECT MAX("Played") FROM "2-13013383-1" WHERE "Place" > 10.0;
|
80,271
|
2-13013383-1
|
What is listed as the Highest Played, has Points of 17, and Draw that is smaller than 5?
|
SELECT MAX("Played") FROM "2-13013383-1" WHERE "Points" = 17.0 AND "Draw" < 5.0;
|
80,272
|
2-12206689-6
|
When was the game that ended with a score of 6-4?
|
SELECT "Date" FROM "2-12206689-6" WHERE "Score" = '6-4';
|
80,273
|
2-13034488-9
|
What was the score on April 8?
|
SELECT "Score" FROM "2-13034488-9" WHERE "Date" = 'April 8';
|
80,274
|
2-13034488-9
|
What was the decision in Minnesota?
|
SELECT "Decision" FROM "2-13034488-9" WHERE "Home" = 'Minnesota';
|
80,275
|
2-13034488-9
|
Which score has a record of 58–15–8?
|
SELECT "Score" FROM "2-13034488-9" WHERE "Record" = '58–15–8';
|
80,276
|
2-12220421-1
|
Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season?
|
SELECT "Section" FROM "2-12220421-1" WHERE "Level" = 'Tier 3' AND "Position" = '6th' AND "Season" = '1937-38';
|
80,277
|
2-12220421-1
|
Which section is in the 6th position?
|
SELECT "Section" FROM "2-12220421-1" WHERE "Position" = '6th';
|
80,278
|
2-12205689-5
|
Name the attendance with date of June 11
|
SELECT "Attendance" FROM "2-12205689-5" WHERE "Date" = 'June 11';
|
80,279
|
2-13219504-10
|
Which partnership has a run number of 27?
|
SELECT "Partnerships" FROM "2-13219504-10" WHERE "Runs" = '27';
|
80,280
|
2-13219504-10
|
What venue did the parntership of Shoaib Malik / Misbah-ul-Haq occur?
|
SELECT "Venue" FROM "2-13219504-10" WHERE "Partnerships" = 'Shoaib Malik / Misbah-ul-Haq';
|
80,281
|
2-13219504-10
|
What venue did the partnership of Herschelle Gibbs / Justin Kemp happen?
|
SELECT "Venue" FROM "2-13219504-10" WHERE "Partnerships" = 'Herschelle Gibbs / Justin Kemp';
|
80,282
|
2-12886178-2
|
What is the number Played that has 310 Points for?
|
SELECT "Played" FROM "2-12886178-2" WHERE "Points for" = '310';
|
80,283
|
2-12886178-2
|
What Losing bonus has a Points against of 588?
|
SELECT "Losing bonus" FROM "2-12886178-2" WHERE "Points against" = '588';
|
80,284
|
2-12886178-2
|
What Tries against has a Losing bonus of 7?
|
SELECT "Tries against" FROM "2-12886178-2" WHERE "Losing bonus" = '7';
|
80,285
|
2-12886178-2
|
What Try bonus has a Points against of 488?
|
SELECT "Try bonus" FROM "2-12886178-2" WHERE "Points against" = '488';
|
80,286
|
2-12886178-2
|
What Points for has a Try bonus of 140?
|
SELECT "Points for" FROM "2-12886178-2" WHERE "Try bonus" = '140';
|
80,287
|
2-12886178-2
|
What Drawn has a Tries against of 0?
|
SELECT "Drawn" FROM "2-12886178-2" WHERE "Tries against" = '0';
|
80,288
|
2-12484424-1
|
What is the days held the champion with a reign larger than 3 and 1 defense has?
|
SELECT "Days held" FROM "2-12484424-1" WHERE "Reign" > 3.0 AND "Defenses" = 1.0;
|
80,289
|
2-12484424-1
|
What is the days held the champion with a reign larger than 3 and less than 1 defense has?
|
SELECT "Days held" FROM "2-12484424-1" WHERE "Reign" > 3.0 AND "Defenses" < 1.0;
|
80,290
|
2-12484424-1
|
What is the average defenses a champion with 404 days held and a reign larger than 1 has?
|
SELECT AVG("Defenses") FROM "2-12484424-1" WHERE "Days held" = '404' AND "Reign" > 1.0;
|
80,291
|
2-12484424-1
|
What is the lowest defense a champion with 345 days held has?
|
SELECT MIN("Defenses") FROM "2-12484424-1" WHERE "Days held" = '345';
|
80,292
|
2-12206000-9
|
On what date was there a record of 76-72?
|
SELECT "Date" FROM "2-12206000-9" WHERE "Record" = '76-72';
|
80,293
|
2-12206234-4
|
What was the attendance that had a loss of Ponson (1-5)?
|
SELECT "Attendance" FROM "2-12206234-4" WHERE "Loss" = 'Ponson (1-5)';
|
80,294
|
2-12206234-4
|
On which day was there a record of 36-39?
|
SELECT "Date" FROM "2-12206234-4" WHERE "Record" = '36-39';
|
80,295
|
2-12206234-4
|
On what day was the record 30-31?
|
SELECT "Date" FROM "2-12206234-4" WHERE "Record" = '30-31';
|
80,296
|
2-12207755-6
|
Who was the opponent at the game that had a loss of Leonard (7–8)?
|
SELECT "Opponent" FROM "2-12207755-6" WHERE "Loss" = 'Leonard (7–8)';
|
80,297
|
2-12207755-6
|
What was the score of the game when the record was 18–43?
|
SELECT "Score" FROM "2-12207755-6" WHERE "Record" = '18–43';
|
80,298
|
2-12207755-6
|
What was the score of the game against the Royals when the record was 24–52?
|
SELECT "Score" FROM "2-12207755-6" WHERE "Opponent" = 'Royals' AND "Record" = '24–52';
|
80,299
|
2-12207755-6
|
What was the score of the game when the record was 22–46?
|
SELECT "Score" FROM "2-12207755-6" WHERE "Record" = '22–46';
|
80,300
|
2-12881774-1
|
What is the real name of the person whose primary military specialty is Shock paratrooper?
|
SELECT "Real Name" FROM "2-12881774-1" WHERE "Primary military speciality" = 'Shock paratrooper';
|
80,301
|
2-12881774-1
|
What is the birthplace of Pete Sanderson?
|
SELECT "Birthplace" FROM "2-12881774-1" WHERE "Real Name" = 'Pete Sanderson';
|
80,302
|
2-12881774-1
|
What role did Jean-Luc Bouvier serve?
|
SELECT "Function (figure)" FROM "2-12881774-1" WHERE "Real Name" = 'Jean-Luc Bouvier';
|
80,303
|
2-12881774-1
|
What is the real name of the person who is a Pilot of the Silent Attack kayak?
|
SELECT "Real Name" FROM "2-12881774-1" WHERE "Function (figure)" = 'Pilot of the Silent Attack kayak';
|
80,304
|
2-12881774-1
|
What is the code name of the person born in Liverpool?
|
SELECT "Code Name" FROM "2-12881774-1" WHERE "Birthplace" = 'Liverpool';
|
80,305
|
2-12817264-1
|
What is the names for the medalist in the sport of Canoeing?
|
SELECT "Name" FROM "2-12817264-1" WHERE "Sport" = 'Canoeing';
|
80,306
|
2-12817264-1
|
What games had the Women's half middleweight event?
|
SELECT "Games" FROM "2-12817264-1" WHERE "Event" = 'Women''s half middleweight';
|
80,307
|
2-12817264-1
|
Who received the Bronze medal in the 2000 Sydney games?
|
SELECT "Name" FROM "2-12817264-1" WHERE "Medal" = 'Bronze' AND "Games" = '2000 Sydney';
|
80,308
|
2-12206127-5
|
How many people attended when opponent was twins?
|
SELECT COUNT("Attendance") FROM "2-12206127-5" WHERE "Opponent" = 'twins';
|
80,309
|
2-12206127-5
|
Which date has a Record of 41-46?
|
SELECT "Date" FROM "2-12206127-5" WHERE "Record" = '41-46';
|
80,310
|
2-12206127-5
|
Which score has a Record of 48-55?
|
SELECT "Score" FROM "2-12206127-5" WHERE "Record" = '48-55';
|
80,311
|
2-12206127-5
|
Which score has a Record of 44-49?
|
SELECT "Score" FROM "2-12206127-5" WHERE "Record" = '44-49';
|
80,312
|
2-12206356-1
|
Which score has an Attendance larger than 16571, and a Loss of McDowell (0-1)?
|
SELECT "Score" FROM "2-12206356-1" WHERE "Attendance" > 16571.0 AND "Loss" = 'McDowell (0-1)';
|
80,313
|
2-12206356-1
|
Which score has an Opponent of White Sox, and a Record of 2-0?
|
SELECT "Score" FROM "2-12206356-1" WHERE "Opponent" = 'White Sox' AND "Record" = '2-0';
|
80,314
|
2-1238577-1
|
How many votes did Candice Sjostrom receive?
|
SELECT AVG("Popular Votes") FROM "2-1238577-1" WHERE "Candidate" = 'Candice Sjostrom';
|
80,315
|
2-1238577-1
|
What percentage did Chris Wright receive?
|
SELECT "Percentage" FROM "2-1238577-1" WHERE "Candidate" = 'Chris Wright';
|
80,316
|
2-1238577-1
|
How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4?
|
SELECT AVG("Popular Votes") FROM "2-1238577-1" WHERE "Office" = 'us representative 4' AND "Percentage" = '1.59%' AND "Year" > 1992.0;
|
80,317
|
2-12601321-1
|
What years did J. Smith Young serve as a Representative?
|
SELECT "Years" FROM "2-12601321-1" WHERE "Representative" = 'J. Smith Young';
|
80,318
|
2-12601321-1
|
Which party did Thomas L. Young belong to?
|
SELECT "Party" FROM "2-12601321-1" WHERE "Representative" = 'Thomas L. Young';
|
80,319
|
2-13063126-1
|
What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal?
|
SELECT MIN("Total") FROM "2-13063126-1" WHERE "Gold" = 0.0 AND "Bronze" > 2.0 AND "Silver" > 1.0;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.