question_id
int64 24.2k
80.3k
| table_id
stringlengths 8
14
| question
stringlengths 12
244
| sql
stringlengths 33
482
|
|---|---|---|---|
79,920
|
2-13099139-1
|
What is the total number of drawn matches from first game years before 2006 and fewer than 2 matches played?
|
SELECT SUM("Drawn") FROM "2-13099139-1" WHERE "First game" < 2006.0 AND "Played" < 2.0;
|
79,921
|
2-13099139-1
|
What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws?
|
SELECT MAX("Lost") FROM "2-13099139-1" WHERE "Played" = 2.0 AND "First game" > 1997.0 AND "Drawn" > 0.0;
|
79,922
|
2-12410929-78
|
What is the Result of the Test match at the Edgbaston Venue on 5,6,7,8 June 1997?
|
SELECT "Result" FROM "2-12410929-78" WHERE "Date" = '5,6,7,8 June 1997';
|
79,923
|
2-12410929-78
|
What is the Date of the Test match of Australia in England at The Oval Venue?
|
SELECT "Date" FROM "2-12410929-78" WHERE "Venue" = 'The Oval';
|
79,924
|
2-12410929-78
|
Who was the Away captain for the Test match of Australia in England where the Result was AUS by 264 runs?
|
SELECT "Away captain" FROM "2-12410929-78" WHERE "Result" = 'AUS by 264 runs';
|
79,925
|
2-12410929-78
|
Who was the Home captain for the Test match of Australia in England at the Edgbaston Venue?
|
SELECT "Home captain" FROM "2-12410929-78" WHERE "Venue" = 'Edgbaston';
|
79,926
|
2-12980239-1
|
what is the name of the role that has Co-protagonist in the notes field and the years of 2008-2009?
|
SELECT "Role" FROM "2-12980239-1" WHERE "Notes" = 'Co-protagonist' AND "Year" = '2008-2009';
|
79,927
|
2-12980239-1
|
What is the name of the role that has a Title of Olvidarte Jamas?
|
SELECT "Role" FROM "2-12980239-1" WHERE "Title" = 'Olvidarte Jamas';
|
79,928
|
2-12980239-1
|
Which production company has the year of 2005 listed?
|
SELECT "Production Company" FROM "2-12980239-1" WHERE "Year" = '2005';
|
79,929
|
2-12980239-1
|
What is the name of the role that has a Title of Salud, dinero y amor and Antagonist in the notes field?
|
SELECT "Role" FROM "2-12980239-1" WHERE "Notes" = 'Antagonist' AND "Title" = 'Salud, dinero y amor';
|
79,930
|
2-12980239-1
|
What is the name of the production company that has a year of 2008-2009?
|
SELECT "Production Company" FROM "2-12980239-1" WHERE "Year" = '2008-2009';
|
79,931
|
2-12146269-9
|
What is the Authority for Kuranui Primary School that is located in the Area of Tirau?
|
SELECT "Authority" FROM "2-12146269-9" WHERE "Area" = 'Tirau' AND "Name" = 'Kuranui Primary School';
|
79,932
|
2-12146269-9
|
Which Names have Deciles larger than 7?
|
SELECT "Name" FROM "2-12146269-9" WHERE "Decile" > 7.0;
|
79,933
|
2-12146269-9
|
What Gender are the schools that have a Roll of 135?
|
SELECT "Gender" FROM "2-12146269-9" WHERE "Roll" = '135';
|
79,934
|
2-12146269-9
|
What is the Name of a State Authority that has a Roll of 72?
|
SELECT "Name" FROM "2-12146269-9" WHERE "Authority" = 'State' AND "Roll" = '72';
|
79,935
|
2-12886259-1
|
Which Friendly competition took place on 19 April 1979?
|
SELECT "Score" FROM "2-12886259-1" WHERE "Competition" = 'Friendly' AND "Date" = '19 April 1979';
|
79,936
|
2-12845004-3
|
Which Team 1 has a first leg of 1-0 and a second leg of 0-2?
|
SELECT "Team 1" FROM "2-12845004-3" WHERE "1st leg" = '1-0' AND "2nd leg" = '0-2';
|
79,937
|
2-12845004-3
|
Which Team 1 faced Dynamos FC?
|
SELECT "Team 1" FROM "2-12845004-3" WHERE "Team 2" = 'Dynamos FC';
|
79,938
|
2-12845004-3
|
What is Team 1 Al-Hilal's Agg.?
|
SELECT "Agg." FROM "2-12845004-3" WHERE "Team 1" = 'Al-Hilal';
|
79,939
|
2-12845004-3
|
What Team 2 has a second leg of 1-0?
|
SELECT "Team 2" FROM "2-12845004-3" WHERE "2nd leg" = '1-0';
|
79,940
|
2-12845004-3
|
What Team 2 has a second leg of 3-1?
|
SELECT "Team 2" FROM "2-12845004-3" WHERE "2nd leg" = '3-1';
|
79,941
|
2-12208071-3
|
Which record happened on the date of May 7?
|
SELECT "Record" FROM "2-12208071-3" WHERE "Date" = 'May 7';
|
79,942
|
2-12695931-2
|
Which tournament had Lubomira Bacheva as the opponent in the final?
|
SELECT "Tournament" FROM "2-12695931-2" WHERE "Opponent in the final" = 'Lubomira Bacheva';
|
79,943
|
2-12695931-2
|
Who was the opponent in the final on 5 July 1992?
|
SELECT "Opponent in the final" FROM "2-12695931-2" WHERE "Date" = '5 July 1992';
|
79,944
|
2-12695931-2
|
What is the date of the tournament where Kyoko Nagatsuka was the opponent in the final?
|
SELECT "Date" FROM "2-12695931-2" WHERE "Opponent in the final" = 'Kyoko Nagatsuka';
|
79,945
|
2-12695931-2
|
What is the surface at the tournament of Vaihingen?
|
SELECT "Surface" FROM "2-12695931-2" WHERE "Tournament" = 'Vaihingen';
|
79,946
|
2-12695931-2
|
What was the surface of the tournament where Anna Benzon was the opponent in the final?
|
SELECT "Surface" FROM "2-12695931-2" WHERE "Opponent in the final" = 'Anna Benzon';
|
79,947
|
2-12511626-1
|
What is the average position of Eesti Põlevkivi Jõhvi when they had less than 13 points and worse than a -12 goal differential?
|
SELECT AVG("Position") FROM "2-12511626-1" WHERE "Points" < 13.0 AND "Goals +/-" > -12.0;
|
79,948
|
2-12626983-7
|
What is the to par for the player who had a score of 70-72-70-69=281?
|
SELECT "To par" FROM "2-12626983-7" WHERE "Score" = '70-72-70-69=281';
|
79,949
|
2-1252053-1
|
What year had the qual of Totals
|
SELECT "Year" FROM "2-1252053-1" WHERE "Qual" = 'Totals';
|
79,950
|
2-1252053-1
|
What qual had a finish of 16 in 1968?
|
SELECT "Qual" FROM "2-1252053-1" WHERE "Finish" = '16' AND "Year" = '1968';
|
79,951
|
2-1252053-1
|
What was the finish with the start of 25 and a lap larger than 46?
|
SELECT "Finish" FROM "2-1252053-1" WHERE "Start" = '25' AND "Laps" > 46.0;
|
79,952
|
2-1252053-1
|
What was the lowest lap with the ranking of 19?
|
SELECT MIN("Laps") FROM "2-1252053-1" WHERE "Start" = '19';
|
79,953
|
2-13136868-11
|
Name the least ovrs for wkts of 0
|
SELECT MIN("Ovrs") FROM "2-13136868-11" WHERE "Wkts" = 0.0;
|
79,954
|
2-13136868-11
|
Name the average econ for runs more than 703 and ovrs more than 25.5
|
SELECT AVG("Econ") FROM "2-13136868-11" WHERE "Ovrs" > 25.5 AND "Runs" > 703.0;
|
79,955
|
2-12927587-5
|
What is the average year that has a Car that won 0 stages with a position of DNF?
|
SELECT AVG("Year") FROM "2-12927587-5" WHERE "Class" = 'Car' AND "Stages won" = '0' AND "Position" = 'DNF';
|
79,956
|
2-12927587-5
|
What is the class that that won 2 stages and has a position of DNF?
|
SELECT "Class" FROM "2-12927587-5" WHERE "Stages won" = '2' AND "Position" = 'DNF';
|
79,957
|
2-12927587-5
|
What position did the BMW vehicle made in 2006 hold?
|
SELECT "Position" FROM "2-12927587-5" WHERE "Vehicle" = 'BMW' AND "Year" = 2006.0;
|
79,958
|
2-12328006-1
|
Which builder has a Fuel Propulsion of Diesel, a Model of D40LF, and an Order Year of 2005?
|
SELECT "Builder" FROM "2-12328006-1" WHERE "Fuel Propulsion" = 'Diesel' AND "Model" = 'D40LF' AND "Order Year" = '2005';
|
79,959
|
2-12328006-1
|
Which model has a Fleet Series (Quantity) of 11081-11092 (12)?
|
SELECT "Model" FROM "2-12328006-1" WHERE "Fleet Series (Quantity)" = '11081-11092 (12)';
|
79,960
|
2-12328006-1
|
Which order year has a Fleet Series (Quantity) of 12081-12090 (10)?
|
SELECT "Order Year" FROM "2-12328006-1" WHERE "Fleet Series (Quantity)" = '12081-12090 (10)';
|
79,961
|
2-12328006-1
|
Which Fleet Series (Quantity) that has a Builder of MCI, and an Order Year of 2002?
|
SELECT "Fleet Series (Quantity)" FROM "2-12328006-1" WHERE "Builder" = 'MCI' AND "Order Year" = '2002';
|
79,962
|
2-12328006-1
|
Which Fleet Series (Quantity) has an Order Year of 2010, and a Model of DE40LFR?
|
SELECT "Fleet Series (Quantity)" FROM "2-12328006-1" WHERE "Order Year" = '2010' AND "Model" = 'DE40LFR';
|
79,963
|
2-12328006-1
|
Which Fuel Propulsion has a Fleet Series (Quantity) of 04001-04125 (125)?
|
SELECT "Fuel Propulsion" FROM "2-12328006-1" WHERE "Fleet Series (Quantity)" = '04001-04125 (125)';
|
79,964
|
2-12146269-4
|
Name the sum of roll for Morrinsville School
|
SELECT SUM("Roll") FROM "2-12146269-4" WHERE "Name" = 'Morrinsville School';
|
79,965
|
2-12146269-4
|
Name the authority for Morrinsville College
|
SELECT "Authority" FROM "2-12146269-4" WHERE "Name" = 'Morrinsville College';
|
79,966
|
2-12146269-4
|
Name the years when decile was less than 7 for Waitoa School
|
SELECT "Years" FROM "2-12146269-4" WHERE "Decile" < 7.0 AND "Name" = 'Waitoa School';
|
79,967
|
2-12146269-4
|
Name the total number of roll for state authority and stanley avenue school with decile more than 5
|
SELECT COUNT("Roll") FROM "2-12146269-4" WHERE "Authority" = 'state' AND "Name" = 'stanley avenue school' AND "Decile" > 5.0;
|
79,968
|
2-12206356-4
|
What was the Blue Jays' record when they played the Royals with an attendance larger than 50522?
|
SELECT "Record" FROM "2-12206356-4" WHERE "Attendance" > 50522.0 AND "Opponent" = 'Royals';
|
79,969
|
2-12590291-1
|
What year had a population region total of 63073 and a population maroochy smaller than 35266?
|
SELECT MAX("Year") FROM "2-12590291-1" WHERE "Population (Region total)" = 63073.0 AND "Population (Maroochy)" < 35266.0;
|
79,970
|
2-12838693-3
|
What is the grid total associated with 18 laps?
|
SELECT COUNT("Grid") FROM "2-12838693-3" WHERE "Laps" = 18.0;
|
79,971
|
2-12838693-3
|
What rider is on an Aprilia that went under 18 laps with a grid total of 17?
|
SELECT "Rider" FROM "2-12838693-3" WHERE "Manufacturer" = 'Aprilia' AND "Laps" < 18.0 AND "Grid" = 17.0;
|
79,972
|
2-12838693-3
|
What is the Manufacturer for Simone Corsi?
|
SELECT "Manufacturer" FROM "2-12838693-3" WHERE "Rider" = 'Simone Corsi';
|
79,973
|
2-12838693-3
|
What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19?
|
SELECT MIN("Grid") FROM "2-12838693-3" WHERE "Time/Retired" = '+33.634' AND "Laps" < 19.0;
|
79,974
|
2-1212189-1
|
Tell me the power when the torque is N·m (lb·ft)/*N·m (lb·ft) @1750
|
SELECT "Power/rpm" FROM "2-1212189-1" WHERE "Torque (Nm)/rpm" = 'N·m (lb·ft)/*N·m (lb·ft) @1750';
|
79,975
|
2-1212189-1
|
Name the capacity for the engine of 2.0 Duratorq
|
SELECT "Capacity" FROM "2-1212189-1" WHERE "Model/Engine" = '2.0 Duratorq';
|
79,976
|
2-1212189-1
|
Name the capacity for the torque of N·m (lb·ft) @4150
|
SELECT "Capacity" FROM "2-1212189-1" WHERE "Torque (Nm)/rpm" = 'N·m (lb·ft) @4150';
|
79,977
|
2-1212189-1
|
Name the power for 1.8 Duratorq
|
SELECT "Power/rpm" FROM "2-1212189-1" WHERE "Model/Engine" = '1.8 Duratorq';
|
79,978
|
2-1212189-1
|
Name the power for when the torque is N·m (lb·ft)/*N·m (lb·ft) @1750
|
SELECT "Power/rpm" FROM "2-1212189-1" WHERE "Torque (Nm)/rpm" = 'N·m (lb·ft)/*N·m (lb·ft) @1750';
|
79,979
|
2-12307135-6
|
What are the smallest goals with a Goal Ratio of 0.14, and a Debut in Europe smaller than 1995?
|
SELECT MIN("Goals") FROM "2-12307135-6" WHERE "Goal Ratio" = 0.14 AND "Debut in Europe" < 1995.0;
|
79,980
|
2-12307135-6
|
What's the average goal ratio with Goals larger than 1, Games larger than 161, and a Debut in Europe smaller than 1985?
|
SELECT AVG("Goal Ratio") FROM "2-12307135-6" WHERE "Goals" > 1.0 AND "Games" > 161.0 AND "Debut in Europe" < 1985.0;
|
79,981
|
2-12307135-6
|
What lowest games have 20 goals and a Goal Ratio smaller than 0.14?
|
SELECT MIN("Games") FROM "2-12307135-6" WHERE "Goals" = 20.0 AND "Goal Ratio" < 0.14;
|
79,982
|
2-12307135-6
|
What is the largest goal ratio with Goals smaller than 0?
|
SELECT MAX("Goal Ratio") FROM "2-12307135-6" WHERE "Goals" < 0.0;
|
79,983
|
2-12307135-6
|
What lowest games have a Goal Ratio of 0, and Goals smaller than 0?
|
SELECT MIN("Games") FROM "2-12307135-6" WHERE "Goal Ratio" = 0.0 AND "Goals" < 0.0;
|
79,984
|
2-12307135-6
|
How many debuts in Europe have less than 76 goals, more than 151 games, and a rank greater than 5?
|
SELECT COUNT("Debut in Europe") FROM "2-12307135-6" WHERE "Goals" < 76.0 AND "Games" > 151.0 AND "Rank" > 5.0;
|
79,985
|
2-1235774-1
|
What is the average points of the ferrari 1512 Chassis after 1965?
|
SELECT AVG("Points") FROM "2-1235774-1" WHERE "Chassis" = 'ferrari 1512' AND "Year" > 1965.0;
|
79,986
|
2-1235774-1
|
What is the Chassis of the Cooper Car Company after 1965 when the engine was a Maserati V12?
|
SELECT "Chassis" FROM "2-1235774-1" WHERE "Year" > 1965.0 AND "Team" = 'Cooper Car Company' AND "Engine" = 'Maserati V12';
|
79,987
|
2-13300898-2
|
Which location had a round of 3, and an Opponent of Matt Horwich?
|
SELECT "Location" FROM "2-13300898-2" WHERE "Round" < 3.0 AND "Opponent" = 'Matt Horwich';
|
79,988
|
2-13300898-2
|
What was the time of SportFight 10?
|
SELECT "Time" FROM "2-13300898-2" WHERE "Event" = 'SportFight 10';
|
79,989
|
2-13300898-2
|
Which opponent had a time of 0:29?
|
SELECT "Opponent" FROM "2-13300898-2" WHERE "Time" = '0:29';
|
79,990
|
2-1281645-1
|
What number has the builder ruston hornsby, the date 1961, and the name topsy?
|
SELECT COUNT("Number") FROM "2-1281645-1" WHERE "Builder" = 'ruston hornsby' AND "Date" = 1961.0 AND "Name" = 'topsy';
|
79,991
|
2-1281645-1
|
What is the number with the builder hunslet and a works number greater than 822?
|
SELECT COUNT("Number") FROM "2-1281645-1" WHERE "Builder" = 'hunslet' AND "Works number" > 822.0;
|
79,992
|
2-12785038-2
|
What was the score of the March 14 game?
|
SELECT "Score" FROM "2-12785038-2" WHERE "Date" = 'March 14';
|
79,993
|
2-12785038-2
|
What was the score for the December 11 game against the Ottawa Senators?
|
SELECT "Score" FROM "2-12785038-2" WHERE "Visitor" = 'Ottawa Senators' AND "Date" = 'December 11';
|
79,994
|
2-13198075-1
|
Name the project with length overall being 25 and name of Levante
|
SELECT "Project" FROM "2-13198075-1" WHERE "Length overall in meters (without bowsprit)" = 25.0 AND "Name" = 'Levante';
|
79,995
|
2-13198075-1
|
Name the sum of Hull number with Portugal destination
|
SELECT SUM("Hull No.") FROM "2-13198075-1" WHERE "Destination" = 'Portugal';
|
79,996
|
2-13198075-1
|
Name the sum of hull number for Italy and year more than 1999
|
SELECT SUM("Hull No.") FROM "2-13198075-1" WHERE "Destination" = 'Italy' AND "Year" > 1999.0;
|
79,997
|
2-1220392-19
|
Give me the result for a format saying Album with 1994 as the year.
|
SELECT "Result(s)" FROM "2-1220392-19" WHERE "Format(s)" = 'Album' AND "Year" = 1994.0;
|
79,998
|
2-1220392-19
|
List the Award Descriptions for the year of 1989.
|
SELECT "Award Description(s)" FROM "2-1220392-19" WHERE "Year" = 1989.0;
|
79,999
|
2-12280777-2
|
What is on at 9:30 on the channel of Dancing with the Stars?
|
SELECT "9:30" FROM "2-12280777-2" WHERE "8:30" = 'Dancing with the Stars';
|
80,000
|
2-12280777-2
|
What is on at 7:30 when K-Ville is on at 9:00 on that channel?
|
SELECT "7:30" FROM "2-12280777-2" WHERE "9:00" = 'K-Ville';
|
80,001
|
2-12280777-2
|
What is on at 8:30 when Occupation Double is on at 7:00 at that channel?
|
SELECT "8:30" FROM "2-12280777-2" WHERE "7:00" = 'Occupation Double';
|
80,002
|
2-12280777-2
|
What is on at 8:30 when eTalk is on at 7:00 on that channel?
|
SELECT "8:30" FROM "2-12280777-2" WHERE "7:00" = 'eTalk';
|
80,003
|
2-12280777-2
|
What is on at 8:00 when eTalk is on at 7:00?
|
SELECT "8:00" FROM "2-12280777-2" WHERE "7:00" = 'eTalk';
|
80,004
|
2-12207449-6
|
What was the score of the game played on August 5?
|
SELECT "Score" FROM "2-12207449-6" WHERE "Date" = 'August 5';
|
80,005
|
2-12207449-6
|
On what date was the Blue Jays record 60-56?
|
SELECT "Date" FROM "2-12207449-6" WHERE "Record" = '60-56';
|
80,006
|
2-12561412-1
|
Tell me the name for first elected more than 1988 and district of Mason
|
SELECT "Name" FROM "2-12561412-1" WHERE "First elected" > 1988.0 AND "District" = 'Mason';
|
80,007
|
2-12561412-1
|
Name the party with first elected more than 1999 and position of Supervisor for John Foust
|
SELECT "Party" FROM "2-12561412-1" WHERE "First elected" > 1999.0 AND "Position" = 'Supervisor' AND "Name" = 'John Foust';
|
80,008
|
2-12561412-1
|
Name the total number of first elected for dranesville
|
SELECT COUNT("First elected") FROM "2-12561412-1" WHERE "District" = 'dranesville';
|
80,009
|
2-12573519-7
|
What year was the venue at sydney cricket ground, and the opponent was parramatta eels?
|
SELECT COUNT("Year") FROM "2-12573519-7" WHERE "Venue" = 'sydney cricket ground' AND "Opponent" = 'parramatta eels';
|
80,010
|
2-12573519-7
|
What was the competition in 1978?
|
SELECT "Competition" FROM "2-12573519-7" WHERE "Year" = 1978.0;
|
80,011
|
2-12573519-7
|
What year was the average attendance 80,388?
|
SELECT AVG("Year") FROM "2-12573519-7" WHERE "Attendance" = '80,388';
|
80,012
|
2-12573519-7
|
What was the score with the opponent being New Zealand Warriors?
|
SELECT "Score" FROM "2-12573519-7" WHERE "Opponent" = 'New Zealand Warriors';
|
80,013
|
2-12291693-1
|
Which 1st Party has an election in 1847?
|
SELECT "1st Party" FROM "2-12291693-1" WHERE "Election" = '1847';
|
80,014
|
2-12291693-1
|
Which 1st Party has an election in 1865?
|
SELECT "1st Party" FROM "2-12291693-1" WHERE "Election" = '1865';
|
80,015
|
2-12291693-1
|
Which 1st Party has a 2nd Member of constituency abolished?
|
SELECT "1st Party" FROM "2-12291693-1" WHERE "2nd Member" = 'constituency abolished';
|
80,016
|
2-12291693-1
|
Which 1st Member has an election in 1880 and a Liberal 1st Party?
|
SELECT "1st Member" FROM "2-12291693-1" WHERE "1st Party" = 'Liberal' AND "Election" = '1880';
|
80,017
|
2-12291693-1
|
Which 1st Member has an election in 1859 and a Conservative 2nd Party?
|
SELECT "1st Member" FROM "2-12291693-1" WHERE "2nd Party" = 'Conservative' AND "Election" = '1859';
|
80,018
|
2-12518301-2
|
What was the average number of points with bonus pts less than 31 with the rider dennis gavros?
|
SELECT AVG("Total Points") FROM "2-12518301-2" WHERE "Rider" = 'dennis gavros' AND "Bonus Pts" < 31.0;
|
80,019
|
2-12518301-2
|
How many total matches involving dennis gavros had total points less than 167?
|
SELECT COUNT("Matches") FROM "2-12518301-2" WHERE "Rider" = 'dennis gavros' AND "Total Points" < 167.0;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.