answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT SUM(wins) FROM table_name_42 WHERE class = "350cc" AND year < 1973
CREATE TABLE table_name_42 (wins INTEGER, class VARCHAR, year VARCHAR)
Name the Wins which has a Class of 350cc, and a Year smaller than 1973?
SELECT COUNT(points) FROM table_name_24 WHERE wins > 0
CREATE TABLE table_name_24 (points VARCHAR, wins INTEGER)
How many Points has Wins larger than 0?
SELECT spike FROM table_name_27 WHERE name = "mia jerkov category:articles with hcards"
CREATE TABLE table_name_27 (spike VARCHAR, name VARCHAR)
What kind of Spike has a Name of mia jerkov category:articles with hcards?
SELECT 2013 AS _club FROM table_name_62 WHERE name = "ana grbac category:articles with hcards"
CREATE TABLE table_name_62 (name VARCHAR)
Name the 2013 club which has a Name of ana grbac category:articles with hcards?
SELECT spike FROM table_name_84 WHERE name = "senna ušić-jogunica category:articles with hcards"
CREATE TABLE table_name_84 (spike VARCHAR, name VARCHAR)
Name the Spike which has a Name of senna ušić-jogunica category:articles with hcards?
SELECT SUM(overall) FROM table_name_58 WHERE round > 7 AND position = "c"
CREATE TABLE table_name_58 (overall INTEGER, round VARCHAR, position VARCHAR)
What was the Overall number for the player with a position of C and a round greater than 7?
SELECT MIN(overall) FROM table_name_86 WHERE pick > 9
CREATE TABLE table_name_86 (overall INTEGER, pick INTEGER)
What was the Overall number that is the lowest, and has a pick greater than 9?
SELECT MIN(races) FROM table_name_67 WHERE podiums < 2 AND flaps > 0 AND season > 2008
CREATE TABLE table_name_67 (races INTEGER, season VARCHAR, podiums VARCHAR, flaps VARCHAR)
Which team after 2008, with less than 2 podium finished and more than 0 FLAPS, had the lowest numberof races?
SELECT points FROM table_name_17 WHERE entrant = "brabham racing organisation" AND year = 1964 AND chassis = "brabham bt7"
CREATE TABLE table_name_17 (points VARCHAR, chassis VARCHAR, entrant VARCHAR, year VARCHAR)
what is the points when the entrant is brabham racing organisation, the year is 1964 and the chassis is brabham bt7?
SELECT entrant FROM table_name_25 WHERE points = "42 (45)" AND chassis = "brabham bt20"
CREATE TABLE table_name_25 (entrant VARCHAR, points VARCHAR, chassis VARCHAR)
who is the entrant when the points is 42 (45) and the chassis is brabham bt20?
SELECT COUNT(year) FROM table_name_79 WHERE chassis = "brabham bt33"
CREATE TABLE table_name_79 (year VARCHAR, chassis VARCHAR)
how many times is the chassis brabham bt33?
SELECT stage AS winner FROM table_name_48 WHERE year = 2013
CREATE TABLE table_name_48 (stage VARCHAR, year VARCHAR)
Who was the winner in 2013?
SELECT opponents FROM table_name_22 WHERE venue = "ullevi"
CREATE TABLE table_name_22 (opponents VARCHAR, venue VARCHAR)
Who was the opponent at Ullevi?
SELECT date FROM table_name_9 WHERE opponents = "göteborg" AND score = "3-1"
CREATE TABLE table_name_9 (date VARCHAR, opponents VARCHAR, score VARCHAR)
When was Göteborg the opponent with a score of 3-1?
SELECT finish FROM table_name_89 WHERE to_par = "+10"
CREATE TABLE table_name_89 (finish VARCHAR, to_par VARCHAR)
Which Finish had a To par of +10?
SELECT year_s__won FROM table_name_45 WHERE to_par = "+1"
CREATE TABLE table_name_45 (year_s__won VARCHAR, to_par VARCHAR)
Which years was there a To par of +1?
SELECT MIN(points) FROM table_name_16 WHERE driver = "sébastien bourdais" AND laps < 63
CREATE TABLE table_name_16 (points INTEGER, driver VARCHAR, laps VARCHAR)
What were Sébastien Bourdais' lowest points when there were less than 63 laps?
SELECT position FROM table_name_40 WHERE event = "60 m" AND venue = "budapest , hungary"
CREATE TABLE table_name_40 (position VARCHAR, event VARCHAR, venue VARCHAR)
What is Position, when Event is 60 m, and when Venue is Budapest , Hungary?
SELECT event FROM table_name_97 WHERE position = "6th" AND year > 2006
CREATE TABLE table_name_97 (event VARCHAR, position VARCHAR, year VARCHAR)
What is Event, when Position is 6th, and when Year is after 2006?
SELECT AVG(year) FROM table_name_66 WHERE position = "9th" AND event = "100 m" AND venue = "munich, germany"
CREATE TABLE table_name_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR)
What is the average Year, when Position is 9th, when Event is 100 m, and when Venue is Munich, Germany?
SELECT event FROM table_name_6 WHERE year = 2002 AND competition = "european indoor championships"
CREATE TABLE table_name_6 (event VARCHAR, year VARCHAR, competition VARCHAR)
What is the Event, when Year is 2002, and when Competition is European Indoor Championships?
SELECT nation FROM table_name_11 WHERE bronze = 1 AND gold > 0 AND rank = "2"
CREATE TABLE table_name_11 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
What is Nation, when Bronze is 1, when Gold is greater than 0, and when Rank is 2?
SELECT AVG(total) FROM table_name_75 WHERE bronze > 0 AND silver > 0 AND gold > 2 AND nation = "soviet union"
CREATE TABLE table_name_75 (total INTEGER, nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
What is the average Total, when Bronze is greater than 0, when Silver is greater than 0, when Gold is greater than 2, and when Nation is Soviet Union?
SELECT AVG(gold) FROM table_name_28 WHERE nation = "yugoslavia" AND silver > 0
CREATE TABLE table_name_28 (gold INTEGER, nation VARCHAR, silver VARCHAR)
What is the average Gold, when Nation is Yugoslavia, and when Silver is greater than 0?
SELECT AVG(bronze) FROM table_name_36 WHERE total = 4 AND silver < 2
CREATE TABLE table_name_36 (bronze INTEGER, total VARCHAR, silver VARCHAR)
What is the average Bronze, when Total is 4, and when Silver is less than 2?
SELECT agg FROM table_name_58 WHERE team_2 = "irtysh"
CREATE TABLE table_name_58 (agg VARCHAR, team_2 VARCHAR)
What is the aggregate for the tie with a team 2 of Irtysh?
SELECT agg FROM table_name_27 WHERE team_1 = "dinamo minsk"
CREATE TABLE table_name_27 (agg VARCHAR, team_1 VARCHAR)
What was the aggregate in the match with a team 1 of Dinamo Minsk?
SELECT java_ee_compatibility FROM table_name_97 WHERE edition = "5.2.4"
CREATE TABLE table_name_97 (java_ee_compatibility VARCHAR, edition VARCHAR)
What is the Java EE compatibility of the 5.2.4 edition?
SELECT release_date FROM table_name_43 WHERE vendor = "eclipse foundation"
CREATE TABLE table_name_43 (release_date VARCHAR, vendor VARCHAR)
What is the release date for Eclipse Foundation?
SELECT product FROM table_name_80 WHERE java_ee_compatibility = "1.4" AND vendor = "oracle corporation"
CREATE TABLE table_name_80 (product VARCHAR, java_ee_compatibility VARCHAR, vendor VARCHAR)
Which Oracle Corporation product has a Java EE compatibility of 1.4?
SELECT edition FROM table_name_4 WHERE java_ee_compatibility = "5" AND release_date = "2007-06-07"
CREATE TABLE table_name_4 (edition VARCHAR, java_ee_compatibility VARCHAR, release_date VARCHAR)
Which edition released on 2007-06-07 has a Java EE compatibility of 5?
SELECT release_date FROM table_name_15 WHERE product = "glassfish"
CREATE TABLE table_name_15 (release_date VARCHAR, product VARCHAR)
When was Glassfish released?
SELECT license FROM table_name_23 WHERE release_date = "2009-08"
CREATE TABLE table_name_23 (license VARCHAR, release_date VARCHAR)
Which licence has a release date of 2009-08?
SELECT semifinalists FROM table_name_28 WHERE tournament = "paris"
CREATE TABLE table_name_28 (semifinalists VARCHAR, tournament VARCHAR)
WHO ARE THE SEMIFINALISTS FOR TOURNAMENT OF PARIS?
SELECT semifinalists FROM table_name_82 WHERE tournament = "hamburg"
CREATE TABLE table_name_82 (semifinalists VARCHAR, tournament VARCHAR)
WHO WAS THE SEMIFINALISTS FOR THE HAMBURG TOURNAMENT?
SELECT opponent FROM table_name_45 WHERE round = "sf"
CREATE TABLE table_name_45 (opponent VARCHAR, round VARCHAR)
Which opponent had a round of SF?
SELECT result FROM table_name_55 WHERE opponent = "celtic"
CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR)
What was the result when the opponent was Celtic?
SELECT result FROM table_name_10 WHERE round = "r3"
CREATE TABLE table_name_10 (result VARCHAR, round VARCHAR)
What was the result for round r3?
SELECT SUM(occ_championships) FROM table_name_96 WHERE school = "central crossing"
CREATE TABLE table_name_96 (occ_championships INTEGER, school VARCHAR)
How many times have Central Crossing won the OCC Championship?
SELECT AVG(round) FROM table_name_46 WHERE opponent = "michael chavez"
CREATE TABLE table_name_46 (round INTEGER, opponent VARCHAR)
How many rounds is the fight against Michael Chavez?
SELECT date FROM table_name_26 WHERE partner = "pere riba"
CREATE TABLE table_name_26 (date VARCHAR, partner VARCHAR)
What date was the match where Daniel Gimeno-Traver's partner was pere riba?
SELECT to_club FROM table_name_26 WHERE player = "ashley grimes"
CREATE TABLE table_name_26 (to_club VARCHAR, player VARCHAR)
Ashley Grimes had what to club?
SELECT player FROM table_name_30 WHERE transfer_fee = "released" AND pos = "df"
CREATE TABLE table_name_30 (player VARCHAR, transfer_fee VARCHAR, pos VARCHAR)
Who had a transfer fee of released and played the position of DF?
SELECT exit_date FROM table_name_50 WHERE transfer_fee = "released" AND player = "kiatprawut saiwaeo"
CREATE TABLE table_name_50 (exit_date VARCHAR, transfer_fee VARCHAR, player VARCHAR)
When was the exit date KiatPrawut Saiwaeo who had a transfer fee of released?
SELECT exit_date FROM table_name_14 WHERE to_club = "doncaster rovers"
CREATE TABLE table_name_14 (exit_date VARCHAR, to_club VARCHAR)
What was the date that a player went to the club Doncaster Rovers?
SELECT pos FROM table_name_76 WHERE to_club = "released" AND player = "teerasil dangda"
CREATE TABLE table_name_76 (pos VARCHAR, to_club VARCHAR, player VARCHAR)
Teerasil Dangda who had a to club of released plays what position?
SELECT AVG(points) FROM table_name_67 WHERE played > 10
CREATE TABLE table_name_67 (points INTEGER, played INTEGER)
What was the average points for someone who has played more than 10?
SELECT l2_cache FROM table_name_54 WHERE model_number = "pentium ii 350"
CREATE TABLE table_name_54 (l2_cache VARCHAR, model_number VARCHAR)
What is L2 Cache, when Model Number is Pentium II 350?
SELECT mult FROM table_name_85 WHERE model_number = "pentium ii 450"
CREATE TABLE table_name_85 (mult VARCHAR, model_number VARCHAR)
What is Mult, when Model Number is Pentium II 450?
SELECT frequency FROM table_name_59 WHERE model_number = "pentium ii 400"
CREATE TABLE table_name_59 (frequency VARCHAR, model_number VARCHAR)
What is Frequency, when Model Number is Pentium II 400?
SELECT socket FROM table_name_64 WHERE voltage = "2.0v" AND model_number = "pentium ii 333"
CREATE TABLE table_name_64 (socket VARCHAR, voltage VARCHAR, model_number VARCHAR)
What is Socket, when Voltage is 2.0V, and when Model Number is Pentium II 333?
SELECT model_number FROM table_name_2 WHERE voltage = "2.0v" AND frequency = "350 mhz"
CREATE TABLE table_name_2 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)
What is Model Number, when Voltage is 2.0V, and when Frequency is 350 mhz?
SELECT SUM(attendance) FROM table_name_52 WHERE score = "80-94"
CREATE TABLE table_name_52 (attendance INTEGER, score VARCHAR)
How many attended during the game with a score of 80-94?
SELECT us AS Rap FROM table_name_44 WHERE year = 2000 AND us = "105"
CREATE TABLE table_name_44 (us VARCHAR, year VARCHAR)
What is the U.S. rap ranking in 2000 of the U.S. 105 single?
SELECT record FROM table_name_86 WHERE score = "28-43"
CREATE TABLE table_name_86 (record VARCHAR, score VARCHAR)
For the game ending with a score of 28-43, what is the listed as the final record?
SELECT attendance FROM table_name_95 WHERE record = "0-5"
CREATE TABLE table_name_95 (attendance VARCHAR, record VARCHAR)
For the game showing a final record of 0-5, what was the attendance level?
SELECT score FROM table_name_65 WHERE opponent = "at los angeles rams"
CREATE TABLE table_name_65 (score VARCHAR, opponent VARCHAR)
For the game where the opponent is listed as At Los Angeles Rams, what was the final score?
SELECT result FROM table_name_66 WHERE record = "0-1"
CREATE TABLE table_name_66 (result VARCHAR, record VARCHAR)
What was the result for the game with final record listed as 0-1?
SELECT player FROM table_name_73 WHERE round < 3 AND position = "(g)"
CREATE TABLE table_name_73 (player VARCHAR, round VARCHAR, position VARCHAR)
Which player has fewer than 3 rounds and the position of (g)?
SELECT round FROM table_name_20 WHERE position = "(d)" AND player = "colby robak"
CREATE TABLE table_name_20 (round VARCHAR, position VARCHAR, player VARCHAR)
How many rounds does Colby Robak have with a position of (d)?
SELECT college_junior_club_team__league_ FROM table_name_31 WHERE player = "matthew bartkowski"
CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
Which College/Junior/Club Team (league) does Matthew Bartkowski play for?
SELECT date FROM table_name_63 WHERE record = "12-9"
CREATE TABLE table_name_63 (date VARCHAR, record VARCHAR)
What date was the game when the liberty had a record of 12-9?
SELECT record FROM table_name_45 WHERE score = "105-72"
CREATE TABLE table_name_45 (record VARCHAR, score VARCHAR)
What was the record for the game that had a score of 105-72?
SELECT date FROM table_name_56 WHERE record = "4-4"
CREATE TABLE table_name_56 (date VARCHAR, record VARCHAR)
What was the date of the game where the record was 4-4?
SELECT away_team FROM table_name_91 WHERE date = "10 february 1951" AND home_team = "manchester united"
CREATE TABLE table_name_91 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
Who was the away team when Manchester United played at home on 10 February 1951?
SELECT tie_no FROM table_name_87 WHERE away_team = "huddersfield town"
CREATE TABLE table_name_87 (tie_no VARCHAR, away_team VARCHAR)
Which tie did Huddersfield Town play as an away team?
SELECT country FROM table_name_57 WHERE place = "t6" AND player = "ben crenshaw"
CREATE TABLE table_name_57 (country VARCHAR, place VARCHAR, player VARCHAR)
What is the Country of T6 Place Player Ben Crenshaw?
SELECT MAX(money___) AS $__ FROM table_name_67 WHERE to_par = "+3" AND score = 76 - 69 - 69 - 69 = 283
CREATE TABLE table_name_67 (money___ INTEGER, to_par VARCHAR, score VARCHAR)
What is the Money of the Player with a To par of +3 and Score of 76-69-69-69=283?
SELECT score FROM table_name_54 WHERE january < 22 AND record = "30-7-7"
CREATE TABLE table_name_54 (score VARCHAR, january VARCHAR, record VARCHAR)
What is the score of the game before January 22 with a 30-7-7 record?
SELECT SUM(game) FROM table_name_11 WHERE january < 19 AND record = "27-6-6"
CREATE TABLE table_name_11 (game INTEGER, january VARCHAR, record VARCHAR)
What is the sum of the games before January 19 with a 27-6-6 record?
SELECT frequency FROM table_name_47 WHERE voltage = "3.3 v"
CREATE TABLE table_name_47 (frequency VARCHAR, voltage VARCHAR)
What is the Frequency, when the Voltage is 3.3 V?
SELECT l1_cache FROM table_name_88 WHERE model_number = "x5-133 ady"
CREATE TABLE table_name_88 (l1_cache VARCHAR, model_number VARCHAR)
What is the L1 Cache, when the Model Number is X5-133 ADY?
SELECT model_number FROM table_name_86 WHERE voltage = "3.45 v" AND frequency = "133 mhz"
CREATE TABLE table_name_86 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)
What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ?
SELECT nationality FROM table_name_17 WHERE ship = "aracataca"
CREATE TABLE table_name_17 (nationality VARCHAR, ship VARCHAR)
What is the Nationality of the Aracataca Ship?
SELECT saka_era FROM table_name_77 WHERE months_in_malayalam_era = "medam"
CREATE TABLE table_name_77 (saka_era VARCHAR, months_in_malayalam_era VARCHAR)
WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM?
SELECT sign_of_zodiac FROM table_name_58 WHERE in_malayalam = "മീനം"
CREATE TABLE table_name_58 (sign_of_zodiac VARCHAR, in_malayalam VARCHAR)
WHAT IS THE SIGN OF ZODIAC OF മീനം?
SELECT saka_era FROM table_name_31 WHERE sign_of_zodiac = "virgo"
CREATE TABLE table_name_31 (saka_era VARCHAR, sign_of_zodiac VARCHAR)
WHAT IS THE SAKA ERA OF VIRGO?
SELECT gregorian_calendar FROM table_name_77 WHERE sign_of_zodiac = "aquarius"
CREATE TABLE table_name_77 (gregorian_calendar VARCHAR, sign_of_zodiac VARCHAR)
WHAT IS THE GREGORIAN CALENDAR FOR AQUARIUS?
SELECT in_malayalam FROM table_name_61 WHERE saka_era = "kartika–agrahayana"
CREATE TABLE table_name_61 (in_malayalam VARCHAR, saka_era VARCHAR)
WHAT IS THE IN MALAYALAM WITH kartika–agrahayana?
SELECT airport FROM table_name_77 WHERE iata = "tbj"
CREATE TABLE table_name_77 (airport VARCHAR, iata VARCHAR)
What is the airport when the iata is tbj?
SELECT iata FROM table_name_89 WHERE airport = "malta international airport"
CREATE TABLE table_name_89 (iata VARCHAR, airport VARCHAR)
what is the iata for malta international airport?
SELECT airport FROM table_name_68 WHERE country = "tunisia" AND icao = "dtaa"
CREATE TABLE table_name_68 (airport VARCHAR, country VARCHAR, icao VARCHAR)
what is the airport for the country tunisia with the icao dtaa?
SELECT city FROM table_name_57 WHERE country = "libya" AND iata = "ben"
CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, iata VARCHAR)
what is the city when the country is libya and the iata is ben?
SELECT country FROM table_name_1 WHERE city = "gafsa"
CREATE TABLE table_name_1 (country VARCHAR, city VARCHAR)
what is the country when the city is gafsa?
SELECT iata FROM table_name_71 WHERE city = "tripoli"
CREATE TABLE table_name_71 (iata VARCHAR, city VARCHAR)
what is the iata when the city is tripoli?
SELECT 2 AS nd_round FROM table_name_91 WHERE team_2 = "red star (d1)"
CREATE TABLE table_name_91 (team_2 VARCHAR)
Who is the 2nd round opponent when Team 2 is Red Star (D1)?
SELECT score FROM table_name_75 WHERE team_2 = "usl dunkerque (d2)"
CREATE TABLE table_name_75 (score VARCHAR, team_2 VARCHAR)
When Team 2 was USL Dunkerque (D2), what was the score
SELECT team_1 FROM table_name_60 WHERE team_2 = "red star (d1)"
CREATE TABLE table_name_60 (team_1 VARCHAR, team_2 VARCHAR)
What was the team 1 when Red Star (D1) was team 2?
SELECT home_team FROM table_name_88 WHERE tie_no = "4"
CREATE TABLE table_name_88 (home_team VARCHAR, tie_no VARCHAR)
Which team has home game with tie of 4?
SELECT score FROM table_name_38 WHERE tie_no = "4"
CREATE TABLE table_name_38 (score VARCHAR, tie_no VARCHAR)
what is score of a team with tie of 4?
SELECT score FROM table_name_19 WHERE attendance = "39,592"
CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR)
What is the score of the game with 39,592 attendance?
SELECT attendance FROM table_name_65 WHERE tie_no = "4"
CREATE TABLE table_name_65 (attendance VARCHAR, tie_no VARCHAR)
How many attended the game when the score was tie at 4?
SELECT player FROM table_name_87 WHERE position = "defensive back" AND round > 3
CREATE TABLE table_name_87 (player VARCHAR, position VARCHAR, round VARCHAR)
Which player was defensive back after round 3?
SELECT pick FROM table_name_53 WHERE round > 2 AND player = "bill gramatica"
CREATE TABLE table_name_53 (pick VARCHAR, round VARCHAR, player VARCHAR)
What was the pick for Bill Gramatica after round 2?
SELECT record FROM table_name_25 WHERE date = "june 29"
CREATE TABLE table_name_25 (record VARCHAR, date VARCHAR)
What was the record on june 29?
SELECT high_points FROM table_name_36 WHERE date = "june 20"
CREATE TABLE table_name_36 (high_points VARCHAR, date VARCHAR)
What were the high points on june 20?
SELECT record FROM table_name_22 WHERE location_attendance = "palace of auburn hills 8,108"
CREATE TABLE table_name_22 (record VARCHAR, location_attendance VARCHAR)
Which Record has a Location/Attendance of palace of auburn hills 8,108?
SELECT MIN(game) FROM table_name_30 WHERE record = "11-4"
CREATE TABLE table_name_30 (game INTEGER, record VARCHAR)
Which Game is the lowest one that has a Record of 11-4?
SELECT date FROM table_name_66 WHERE location_attendance = "verizon center 7,587"
CREATE TABLE table_name_66 (date VARCHAR, location_attendance VARCHAR)
Which Date has a Location/Attendance of verizon center 7,587?
SELECT high_rebounds FROM table_name_23 WHERE high_points = "douglas (23)"
CREATE TABLE table_name_23 (high_rebounds VARCHAR, high_points VARCHAR)
Which High rebounds has a High points of douglas (23)?