question_id
int64 24.2k
80.3k
| table_id
stringlengths 8
14
| question
stringlengths 12
244
| sql
stringlengths 33
482
|
|---|---|---|---|
79,620
|
2-1226455-1
|
What Entrant has 0 points and from 1997?
|
SELECT "Entrant" FROM "2-1226455-1" WHERE "Points" = 0.0 AND "Year" = 1997.0;
|
79,621
|
2-12303251-1
|
What is the total roll with a decile less than 7, and an authority of state, in the macraes flat area?
|
SELECT COUNT("Roll") FROM "2-12303251-1" WHERE "Decile" = 7.0 AND "Authority" = 'state' AND "Area" = 'macraes flat';
|
79,622
|
2-12303251-1
|
What year has a decile more than 6, in the Waikouaiti area?
|
SELECT "Years" FROM "2-12303251-1" WHERE "Decile" > 6.0 AND "Area" = 'Waikouaiti';
|
79,623
|
2-1214035-2
|
What place did the Nashville Metros place in the 1994/95 Season?
|
SELECT "Regular Season" FROM "2-1214035-2" WHERE "Year" = '1994/95';
|
79,624
|
2-1214035-2
|
What years did the Nashville Metros have USISL Indoor League?
|
SELECT "Year" FROM "2-1214035-2" WHERE "League" = 'USISL Indoor';
|
79,625
|
2-12878201-9
|
Which Round has Kim Eun-ha as an Opponent?
|
SELECT "Round" FROM "2-12878201-9" WHERE "Opponent" = 'Kim Eun-ha';
|
79,626
|
2-12878201-9
|
Which kind of Edition that has a Surface of Clay, and Park Sung-hee as an opponent?
|
SELECT "Edition" FROM "2-12878201-9" WHERE "Surface" = 'Clay' AND "Opponent" = 'Park Sung-hee';
|
79,627
|
2-12420967-2
|
What is the highest gold number count where a county had over 9 golds and 10 silvers?
|
SELECT MAX("Gold") FROM "2-12420967-2" WHERE "Total" > 9.0 AND "Silver" > 10.0;
|
79,628
|
2-12420967-2
|
How many bronze medals did the country with 7 medals and over 5 silver medals receive?
|
SELECT SUM("Bronze") FROM "2-12420967-2" WHERE "Total" = 7.0 AND "Silver" > 5.0;
|
79,629
|
2-12410929-94
|
Name the date for venue of Lord's
|
SELECT "Date" FROM "2-12410929-94" WHERE "Venue" = 'Lord''s';
|
79,630
|
2-12410929-94
|
Name the result for venue of Lord's
|
SELECT "Result" FROM "2-12410929-94" WHERE "Venue" = 'Lord''s';
|
79,631
|
2-12410929-94
|
Name the date for result of ENG by 23 runs
|
SELECT "Date" FROM "2-12410929-94" WHERE "Result" = 'ENG by 23 runs';
|
79,632
|
2-12410929-94
|
Name the date for result of DRAW, and venue of Edgbaston
|
SELECT "Date" FROM "2-12410929-94" WHERE "Result" = 'DRAW' AND "Venue" = 'Edgbaston';
|
79,633
|
2-13258818-2
|
What is the total number of weeks that the Seahawks had a record of 5-5?
|
SELECT COUNT("Week") FROM "2-13258818-2" WHERE "Record" = '5-5';
|
79,634
|
2-1302448-1
|
Who has 1 win, 1 loss, and has played 2 matches?
|
SELECT "Name" FROM "2-1302448-1" WHERE "Wins" = '1' AND "Losses" = '1' AND "Matches" = '2';
|
79,635
|
2-1302448-1
|
Who has 5 losses and has played 11 matches?
|
SELECT "Name" FROM "2-1302448-1" WHERE "Losses" = '5' AND "Matches" = '11';
|
79,636
|
2-1302448-1
|
How many matches has Mohammad Al-Shamlan played when there is 1 win?
|
SELECT "Matches" FROM "2-1302448-1" WHERE "Wins" = '1' AND "Name" = 'Mohammad Al-Shamlan';
|
79,637
|
2-1302448-1
|
How many matches were played when there was 1 draw and 1 win?
|
SELECT "Matches" FROM "2-1302448-1" WHERE "Draws" = '1' AND "Wins" = '1';
|
79,638
|
2-12828723-2
|
Name the played with lost of 5
|
SELECT "Played" FROM "2-12828723-2" WHERE "Lost" = '5';
|
79,639
|
2-12828723-2
|
Name the played with Points against of Points against
|
SELECT "Played" FROM "2-12828723-2" WHERE "Points against" = 'Points against';
|
79,640
|
2-12828723-2
|
Name the tries with tries against of 38
|
SELECT "Tries for" FROM "2-12828723-2" WHERE "Tries against" = '38';
|
79,641
|
2-12828723-2
|
Name the points against when tries against is 51 and points is 52 with played of 22
|
SELECT "Points against" FROM "2-12828723-2" WHERE "Played" = '22' AND "Points" = '52' AND "Tries against" = '51';
|
79,642
|
2-12828723-2
|
Name the points against for Cwmllynfell RFC
|
SELECT "Points against" FROM "2-12828723-2" WHERE "Club" = 'Cwmllynfell RFC';
|
79,643
|
2-1286662-1
|
What is lead for the Election results polling firm and has a PSOE of 39.6% 175?
|
SELECT "Lead" FROM "2-1286662-1" WHERE "Polling Firm" = 'Election results' AND "PSOE" = '39.6% 175';
|
79,644
|
2-1286662-1
|
What is the PSOE for the Local Elections polling firm?
|
SELECT "PSOE" FROM "2-1286662-1" WHERE "Polling Firm" = 'Local Elections';
|
79,645
|
2-1286662-1
|
Which date has a PSOE of 36.1%?
|
SELECT "Date" FROM "2-1286662-1" WHERE "PSOE" = '36.1%';
|
79,646
|
2-12982226-3
|
Name the height with 9 floors
|
SELECT "Height ft / m" FROM "2-12982226-3" WHERE "Floors" = 9.0;
|
79,647
|
2-12982226-3
|
Name the years as tallest when floors are larger than 18
|
SELECT "Years as tallest" FROM "2-12982226-3" WHERE "Floors" > 18.0;
|
79,648
|
2-12982226-3
|
Tell me the name that has 17 floors
|
SELECT "Name" FROM "2-12982226-3" WHERE "Floors" = 17.0;
|
79,649
|
2-13312898-27
|
Which was the position for overall less than 254, round less than 5 and pick number less than 13?
|
SELECT "Position" FROM "2-13312898-27" WHERE "Overall" < 254.0 AND "Round" < 5.0 AND "Pick #" < 13.0;
|
79,650
|
2-13312898-27
|
Name the round having an overall of 6
|
SELECT "Round" FROM "2-13312898-27" WHERE "Overall" = 6.0;
|
79,651
|
2-13312898-27
|
Name the position of the player from college of Virginia
|
SELECT "Position" FROM "2-13312898-27" WHERE "College" = 'Virginia';
|
79,652
|
2-1257826-1
|
What was the date of the game that had a goal of 3?
|
SELECT "Date" FROM "2-1257826-1" WHERE "Goal" = 3.0;
|
79,653
|
2-1257826-1
|
What was the date of the game that had a goal of 4?
|
SELECT "Date" FROM "2-1257826-1" WHERE "Goal" = 4.0;
|
79,654
|
2-13282157-3
|
If the points are over 1613 and a To par under -14, what is the overall score?
|
SELECT "Score" FROM "2-13282157-3" WHERE "Points" > 1613.0 AND "To par" < -14.0;
|
79,655
|
2-12386605-5
|
What is the highest rank of a swimmer in lane 5?
|
SELECT MAX("Rank") FROM "2-12386605-5" WHERE "Lane" = 5.0;
|
79,656
|
2-12386605-5
|
What is the lowest rank of jens kruppa in a lane larger than 2?
|
SELECT MIN("Rank") FROM "2-12386605-5" WHERE "Name" = 'jens kruppa' AND "Lane" > 2.0;
|
79,657
|
2-12386605-5
|
Which nationality has a lane of 6 and a rank smaller than 6?
|
SELECT "Nationality" FROM "2-12386605-5" WHERE "Rank" < 6.0 AND "Lane" = 6.0;
|
79,658
|
2-12278571-3
|
What is Tony Jacklin's total?
|
SELECT "Total" FROM "2-12278571-3" WHERE "Player" = 'Tony Jacklin';
|
79,659
|
2-12278571-3
|
What was Todd Hamilton's to par?
|
SELECT "To par" FROM "2-12278571-3" WHERE "Player" = 'Todd Hamilton';
|
79,660
|
2-12278571-3
|
When was a game won with more than 11 to par?
|
SELECT "Year(s) Won" FROM "2-12278571-3" WHERE "To par" > 11.0;
|
79,661
|
2-12379297-4
|
Where is the place that has a Callsign of DWRJ-FM?
|
SELECT "Location" FROM "2-12379297-4" WHERE "Callsign" = 'DWRJ-FM';
|
79,662
|
2-12379297-4
|
Which Power has Location in Metro Manila
|
SELECT "Power (kW)" FROM "2-12379297-4" WHERE "Location" = 'Metro Manila';
|
79,663
|
2-12428755-2
|
Which tier of the tournament has Mont de Marson in it?
|
SELECT "Tier" FROM "2-12428755-2" WHERE "Tournament" = 'Mont de Marson';
|
79,664
|
2-12428755-2
|
Which date has opponents, Akgul Amanmuradova Nina Bratchikova, in the final?
|
SELECT "Date" FROM "2-12428755-2" WHERE "Opponents in the final" = 'Akgul Amanmuradova Nina Bratchikova';
|
79,665
|
2-12428755-2
|
Which date has opponents, Claire de Gubernatis Alexandra Dulgheru, in the final?
|
SELECT "Date" FROM "2-12428755-2" WHERE "Opponents in the final" = 'Claire de Gubernatis Alexandra Dulgheru';
|
79,666
|
2-12428755-2
|
What is the score in the touranament of Antalya-Belek?
|
SELECT "Score" FROM "2-12428755-2" WHERE "Tournament" = 'Antalya-Belek';
|
79,667
|
2-12428755-2
|
Which date has the tier of ITF $10k?
|
SELECT "Date" FROM "2-12428755-2" WHERE "Tier" = 'ITF $10k';
|
79,668
|
2-12248552-1
|
What is the value vs. Zerg with a September 1, 2012 Best streak?
|
SELECT "vs. Zerg" FROM "2-12248552-1" WHERE "As of September 1, 2012" = 'Best streak';
|
79,669
|
2-12248552-1
|
What is the score vs. all when the score vs. Terran is 159?
|
SELECT "vs. all" FROM "2-12248552-1" WHERE "vs. Terran" = '159';
|
79,670
|
2-12248552-1
|
What is the score vs. Protoss when the score vs. Terran is 10 wins?
|
SELECT "vs. Protoss" FROM "2-12248552-1" WHERE "vs. Terran" = '10 wins';
|
79,671
|
2-12248552-1
|
What is the score vs. Zerg with Wins as of September 1,2012?
|
SELECT "vs. Zerg" FROM "2-12248552-1" WHERE "As of September 1, 2012" = 'Wins';
|
79,672
|
2-12248552-1
|
What is the score vs. Terran when the score vs. Zerg is 69?
|
SELECT "vs. Terran" FROM "2-12248552-1" WHERE "vs. Zerg" = '69';
|
79,673
|
2-12248552-1
|
What occurrs as of September 1, 2012 when the value for vs. all is 65.47%?
|
SELECT "As of September 1, 2012" FROM "2-12248552-1" WHERE "vs. all" = '65.47%';
|
79,674
|
2-12297537-4
|
What is the record of the opponent that has a Bye?
|
SELECT "Record" FROM "2-12297537-4" WHERE "Opponent" = 'Bye';
|
79,675
|
2-1305623-18
|
What was the average total medals received by Roland Hayes School when there were 0 gold medals?
|
SELECT AVG("Total Medals") FROM "2-1305623-18" WHERE "Gold Medals" = 0.0 AND "Ensemble" = 'Roland Hayes School';
|
79,676
|
2-1305623-18
|
What was the total number of medals received by james logan high school when it received less than 1 silver medal?
|
SELECT COUNT("Total Medals") FROM "2-1305623-18" WHERE "Ensemble" = 'james logan high school' AND "Silver Medals" < 1.0;
|
79,677
|
2-1305623-18
|
What is the highest number of bronze medals received by an ensemble who received fewer than 0 gold medals?
|
SELECT MAX("Bronze Medals") FROM "2-1305623-18" WHERE "Gold Medals" < 0.0;
|
79,678
|
2-12127634-1
|
What was the Score of the 2008 Africa Cup of Nations Competition?
|
SELECT "Score" FROM "2-12127634-1" WHERE "Competition" = '2008 Africa Cup of Nations';
|
79,679
|
2-12117808-2
|
Name the most goals with losses less than 15 and position more than 8 with points of 42+4
|
SELECT MAX("Goals for") FROM "2-12117808-2" WHERE "Losses" < 15.0 AND "Position" > 8.0 AND "Points" = '42+4';
|
79,680
|
2-12117808-2
|
Name the average goals against for draws of 8 and wins more than 22 with losses less than 12
|
SELECT AVG("Goals against") FROM "2-12117808-2" WHERE "Draws" = 8.0 AND "Losses" < 12.0 AND "Wins" > 22.0;
|
79,681
|
2-12117808-2
|
Name the least wins for goal difference being less than -20 with position less than 20 and goals for of 35
|
SELECT MIN("Wins") FROM "2-12117808-2" WHERE "Position" < 20.0 AND "Goals for" = 35.0 AND "Goal Difference" < -20.0;
|
79,682
|
2-12117808-2
|
Name the average losses for draws larger than 6 and played more than 38
|
SELECT AVG("Losses") FROM "2-12117808-2" WHERE "Draws" > 6.0 AND "Played" > 38.0;
|
79,683
|
2-12117808-2
|
Name the least goals against for played more than 38
|
SELECT MIN("Goals against") FROM "2-12117808-2" WHERE "Played" > 38.0;
|
79,684
|
2-1226484-1
|
After 1961, who as the Entrant when the engine was a Ferrari V8, and when the points were lower than 23?
|
SELECT "Entrant" FROM "2-1226484-1" WHERE "Year" > 1961.0 AND "Engine" = 'Ferrari V8' AND "Points" < 23.0;
|
79,685
|
2-1226484-1
|
What is was the Chassis in 1967?
|
SELECT "Chassis" FROM "2-1226484-1" WHERE "Year" = 1967.0;
|
79,686
|
2-1226484-1
|
In 1962, what was the total number of points, when the Engine was ferrari v6?
|
SELECT COUNT("Points") FROM "2-1226484-1" WHERE "Engine" = 'ferrari v6' AND "Year" = 1962.0;
|
79,687
|
2-1226484-1
|
In 1961, what was the Chassis when the points were lower than 6?
|
SELECT "Chassis" FROM "2-1226484-1" WHERE "Points" < 6.0 AND "Year" = 1961.0;
|
79,688
|
2-1226484-1
|
What was the sum of the years, when the entrant was Scuderia Ferrari, and when the Chassis was Ferrari 312/66?
|
SELECT SUM("Year") FROM "2-1226484-1" WHERE "Entrant" = 'Scuderia Ferrari' AND "Chassis" = 'Ferrari 312/66';
|
79,689
|
2-1226484-1
|
What was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 points?
|
SELECT SUM("Year") FROM "2-1226484-1" WHERE "Entrant" = 'Scuderia Centro Sud' AND "Points" = 6.0;
|
79,690
|
2-12197750-5
|
In the TKKM o Manawatu Coed school in Kelvin Grove, what is the Authority listed/
|
SELECT "Authority" FROM "2-12197750-5" WHERE "Gender" = 'Coed' AND "Area" = 'Kelvin Grove' AND "Name" = 'TKKM o Manawatu';
|
79,691
|
2-12197750-5
|
which Authority has a Coed school with a decile greater than 4, with a 150 roll?
|
SELECT "Authority" FROM "2-12197750-5" WHERE "Gender" = 'Coed' AND "Decile" > 4.0 AND "Roll" = '150';
|
79,692
|
2-12979118-1
|
Name the language for Trotta
|
SELECT "Language" FROM "2-12979118-1" WHERE "Original title" = 'Trotta';
|
79,693
|
2-12979118-1
|
Name the original title directed by Luis Buñuel
|
SELECT "Original title" FROM "2-12979118-1" WHERE "Director" = 'Luis Buñuel';
|
79,694
|
2-12979118-1
|
Name the original title directed by Sudhendu Roy
|
SELECT "Original title" FROM "2-12979118-1" WHERE "Director" = 'Sudhendu Roy';
|
79,695
|
2-12979118-1
|
Name the film title that is Spanish from Peru
|
SELECT "Film title used in nomination" FROM "2-12979118-1" WHERE "Language" = 'Spanish' AND "Country" = 'Peru';
|
79,696
|
2-12979118-1
|
Name the langauge for Switzerland
|
SELECT "Language" FROM "2-12979118-1" WHERE "Country" = 'Switzerland';
|
79,697
|
2-13150090-2
|
What is the Total with 0 Silver and Gold, 1 Bronze and Rank larger than 2?
|
SELECT MIN("Total") FROM "2-13150090-2" WHERE "Rank" > 2.0 AND "Bronze" = 1.0 AND "Silver" > 0.0 AND "Gold" < 0.0;
|
79,698
|
2-13150090-2
|
How many Bronze medals were received by the nation that Ranked less than 5 and received more than 2 Gold medals, less than 4 Silver medals with a Total of 9 medals?
|
SELECT AVG("Bronze") FROM "2-13150090-2" WHERE "Rank" < 5.0 AND "Gold" > 2.0 AND "Total" = 9.0 AND "Silver" < 4.0;
|
79,699
|
2-12334508-3
|
which order of bat belongs to the family of Vespertilionidae and includes the Northern Long-eared Myotis?
|
SELECT "Order" FROM "2-12334508-3" WHERE "Family" = 'Vespertilionidae' AND "Name" = 'Northern Long-eared Myotis';
|
79,700
|
2-1228355-3
|
What year has WSC class?
|
SELECT "Year" FROM "2-1228355-3" WHERE "Class" = 'WSC';
|
79,701
|
2-1284347-3
|
Which race has D. Beadman for the jockey and a 4th place result?
|
SELECT "Race" FROM "2-1284347-3" WHERE "Jockey" = 'D. Beadman' AND "Result" = '4th';
|
79,702
|
2-12283523-1
|
What is the 1st party with Charles Isaac Elton as the 2nd member?
|
SELECT "1st Party" FROM "2-12283523-1" WHERE "2nd Member" = 'Charles Isaac Elton';
|
79,703
|
2-12283523-1
|
Which election had Sir Alexander Fuller-Acland-Hood, Bt as the 2nd member?
|
SELECT "Election" FROM "2-12283523-1" WHERE "2nd Member" = 'Sir Alexander Fuller-Acland-Hood, Bt';
|
79,704
|
2-12283523-1
|
Who is the 2nd member of the Conservative 1st party, which had Vaughan Lee as the 1st member, in the election of 1874?
|
SELECT "2nd Member" FROM "2-12283523-1" WHERE "1st Party" = 'Conservative' AND "1st Member" = 'Vaughan Lee' AND "Election" = '1874';
|
79,705
|
2-12283523-1
|
What is the 2nd party for a Conservative 1st party with a 1st member Charles Moody in the election of 1851 by-election?
|
SELECT "2nd Party" FROM "2-12283523-1" WHERE "1st Party" = 'Conservative' AND "1st Member" = 'Charles Moody' AND "Election" = '1851 by-election';
|
79,706
|
2-12283523-1
|
Who is the 1st member in the 1884 by-election?
|
SELECT "1st Member" FROM "2-12283523-1" WHERE "Election" = '1884 by-election';
|
79,707
|
2-12283523-1
|
What is the 2nd party in the 1874 election?
|
SELECT "2nd Party" FROM "2-12283523-1" WHERE "Election" = '1874';
|
79,708
|
2-12937257-10
|
WhiCh sChool had a player who played the C position?
|
SELECT "School" FROM "2-12937257-10" WHERE "Position" = 'C';
|
79,709
|
2-1219592-1
|
Which game is on the date October 16?
|
SELECT AVG("Game") FROM "2-1219592-1" WHERE "Date" = 'October 16';
|
79,710
|
2-12500294-4
|
What is the 2009 value with a Q1 in 2006 in the French Open?
|
SELECT "2009" FROM "2-12500294-4" WHERE "2006" = 'Q1' AND "Tournament" = 'French Open';
|
79,711
|
2-12500294-4
|
WhAt is the 2010 vAlue with A 2R in 2008 And A in 2013?
|
SELECT "2010" FROM "2-12500294-4" WHERE "2008" = '2R' AND "2013" = 'A';
|
79,712
|
2-12500294-4
|
What is the 2007 value with 1R in 2009 in the US Open?
|
SELECT "2007" FROM "2-12500294-4" WHERE "2009" = '1R' AND "Tournament" = 'US Open';
|
79,713
|
2-12500294-4
|
What is the 2009 value in the 2011 Grand Slam Tournaments?
|
SELECT "2009" FROM "2-12500294-4" WHERE "2011" = 'Grand Slam Tournaments';
|
79,714
|
2-12500294-4
|
What is the 2005 value with 1R in 2013 and Q2 in 2011?
|
SELECT "2005" FROM "2-12500294-4" WHERE "2013" = '1R' AND "2011" = 'Q2';
|
79,715
|
2-12500294-4
|
What is the 2010 value in the Australian Open?
|
SELECT "2010" FROM "2-12500294-4" WHERE "Tournament" = 'Australian Open';
|
79,716
|
2-12840409-2
|
what is the city of license for the station with the frequency mhz less than 102.3 abd erp w of 25?
|
SELECT "City of license" FROM "2-12840409-2" WHERE "Frequency MHz" < 102.3 AND "ERP W" = 25.0;
|
79,717
|
2-12840409-2
|
\What is the class of the station with the call sign W254AH?
|
SELECT "Class" FROM "2-12840409-2" WHERE "Call sign" = 'W254AH';
|
79,718
|
2-12840409-2
|
what is the class of the station with erp w more than 30?
|
SELECT "Class" FROM "2-12840409-2" WHERE "ERP W" > 30.0;
|
79,719
|
2-12840409-2
|
what is the highest frequency mhz with the call sign W292CU?
|
SELECT MAX("Frequency MHz") FROM "2-12840409-2" WHERE "Call sign" = 'W292CU';
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.