question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)? | CREATE TABLE table_name_65 (location VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT MIN(1 AS st_prize__) AS $__ FROM table_name_65 WHERE location = \"florida\" AND score = \"200 (-16)\""
} |
Which grid has a time/retired of +27.347? | CREATE TABLE table_name_24 (grid VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT COUNT(grid) FROM table_name_24 WHERE time_retired = \"+27.347\""
} |
Who was the Singles Champions in Trieste, Italy? | CREATE TABLE table_name_9 (singles_champions VARCHAR, country VARCHAR, city VARCHAR) | {
"SQL_Query": "SELECT singles_champions FROM table_name_9 WHERE country = \"italy\" AND city = \"trieste\""
} |
On what Surface will the Venezuela F5 Futures in Caracas be played? | CREATE TABLE table_name_30 (surface VARCHAR, city VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT surface FROM table_name_30 WHERE city = \"caracas\" AND tournament = \"venezuela f5 futures\""
} |
What is the type of Surface for the New Zealand F1 Futures Tournament? | CREATE TABLE table_name_12 (surface VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT surface FROM table_name_12 WHERE tournament = \"new zealand f1 futures\""
} |
In what Country will Dennis Blömke play the Germany F13 Futures Tournament? | CREATE TABLE table_name_9 (country VARCHAR, singles_champions VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_9 WHERE singles_champions = \"dennis blömke\" AND tournament = \"germany f13 futures\""
} |
What are the average laps for jackie stewart? | CREATE TABLE table_name_77 (laps INTEGER, driver VARCHAR) | {
"SQL_Query": "SELECT AVG(laps) FROM table_name_77 WHERE driver = \"jackie stewart\""
} |
What is the result in fort lauderdale, florida? | CREATE TABLE table_name_19 (result VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_19 WHERE venue = \"fort lauderdale, florida\""
} |
What venue had less than 2 goals? | CREATE TABLE table_name_80 (venue VARCHAR, goal INTEGER) | {
"SQL_Query": "SELECT venue FROM table_name_80 WHERE goal < 2"
} |
What was the attendance when Fitzroy played as the away team? | CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR) | {
"SQL_Query": "SELECT AVG(crowd) FROM table_name_8 WHERE away_team = \"fitzroy\""
} |
Who was the trainer with Robert Courtney was owner? | CREATE TABLE table_name_8 (trainer VARCHAR, owner VARCHAR) | {
"SQL_Query": "SELECT trainer FROM table_name_8 WHERE owner = \"robert courtney\""
} |
What year was Jeff Mullins? | CREATE TABLE table_name_36 (year INTEGER, trainer VARCHAR) | {
"SQL_Query": "SELECT MIN(year) FROM table_name_36 WHERE trainer = \"jeff mullins\""
} |
In what grid did Richard Robarts make 36 laps? | CREATE TABLE table_name_48 (grid INTEGER, driver VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT SUM(grid) FROM table_name_48 WHERE driver = \"richard robarts\" AND laps < 36"
} |
How many laps were completed in grid 18? | CREATE TABLE table_name_20 (laps INTEGER, grid VARCHAR) | {
"SQL_Query": "SELECT SUM(laps) FROM table_name_20 WHERE grid = 18"
} |
What was the venue where the result was 12th? | CREATE TABLE table_name_73 (venue VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_73 WHERE result = \"12th\""
} |
What species has more than 2,030 genes? | CREATE TABLE table_name_22 (species VARCHAR, genes INTEGER) | {
"SQL_Query": "SELECT species FROM table_name_22 WHERE genes > 2 OFFSET 030"
} |
How many genes in the species Rubrobacter Xylanophilus? | CREATE TABLE table_name_47 (genes VARCHAR, species VARCHAR) | {
"SQL_Query": "SELECT genes FROM table_name_47 WHERE species = \"rubrobacter xylanophilus\""
} |
What is the lowest number of genes in Rubrobacter Xylanophilus? | CREATE TABLE table_name_66 (genes INTEGER, species VARCHAR) | {
"SQL_Query": "SELECT MIN(genes) FROM table_name_66 WHERE species = \"rubrobacter xylanophilus\""
} |
What is the average number of base pairs with 784 genes? | CREATE TABLE table_name_53 (base_pairs INTEGER, genes VARCHAR) | {
"SQL_Query": "SELECT AVG(base_pairs) FROM table_name_53 WHERE genes = 784"
} |
How many points are obtained when a standing broad jump is 207-215 cm? | CREATE TABLE table_name_25 (points VARCHAR, standing_broad_jump__cm_ VARCHAR) | {
"SQL_Query": "SELECT COUNT(points) FROM table_name_25 WHERE standing_broad_jump__cm_ = \"207-215\""
} |
How many points are there, when the grade is A? | CREATE TABLE table_name_92 (points INTEGER, grade VARCHAR) | {
"SQL_Query": "SELECT MAX(points) FROM table_name_92 WHERE grade = \"a\""
} |
If a person does 3 chin-up reps, what grade do they obtain? | CREATE TABLE table_name_43 (grade VARCHAR, chin_up__reps_ VARCHAR) | {
"SQL_Query": "SELECT grade FROM table_name_43 WHERE chin_up__reps_ = \"3\""
} |
How many seconds is a shuttle run that give 2 points? | CREATE TABLE table_name_54 (shuttle_run__sec_ VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT shuttle_run__sec_ FROM table_name_54 WHERE points = 2"
} |
Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza | CREATE TABLE table_name_29 (outgoing_manager VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT outgoing_manager FROM table_name_29 WHERE manner_of_departure = \"resigned\" AND team = \"real zaragoza\" AND replaced_by = \"manolo villanova\""
} |
Name the replaced by for racing santander | CREATE TABLE table_name_64 (replaced_by VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT replaced_by FROM table_name_64 WHERE team = \"racing santander\""
} |
What Grid had 14 laps completed? | CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR) | {
"SQL_Query": "SELECT AVG(grid) FROM table_name_64 WHERE laps = 14"
} |
What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103? | CREATE TABLE table_name_91 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR) | {
"SQL_Query": "SELECT MIN(grid) FROM table_name_91 WHERE laps = 25 AND manufacturer = \"honda\" AND time_retired = \"+54.103\""
} |
How many laps were timed at +1:02.315? | CREATE TABLE table_name_75 (laps VARCHAR, time_retired VARCHAR) | {
"SQL_Query": "SELECT COUNT(laps) FROM table_name_75 WHERE time_retired = \"+1:02.315\""
} |
What is the points ranking of Chicago Fire? | CREATE TABLE table_name_73 (pts_rank VARCHAR, club VARCHAR) | {
"SQL_Query": "SELECT pts_rank FROM table_name_73 WHERE club = \"chicago fire\""
} |
Who is the opponent with a time of 1:16? | CREATE TABLE table_name_58 (opponent VARCHAR, time VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_58 WHERE time = \"1:16\""
} |
What round has a method of submission? | CREATE TABLE table_name_64 (round VARCHAR, method VARCHAR) | {
"SQL_Query": "SELECT round FROM table_name_64 WHERE method = \"submission\""
} |
Which competition did he win on August 15, 2012? | CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_54 WHERE result = \"win\" AND date = \"august 15, 2012\""
} |
Where was the competition on August 15, 2012? | CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_60 WHERE date = \"august 15, 2012\""
} |
When was the competition that had a score of 3-0? | CREATE TABLE table_name_34 (date VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_34 WHERE score = \"3-0\""
} |
What was the result of the UEFA Euro 2008 Qualifying competition? | CREATE TABLE table_name_97 (result VARCHAR, competition VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_97 WHERE competition = \"uefa euro 2008 qualifying\""
} |
What nationality is Steven Anthony? | CREATE TABLE table_name_88 (nationality VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_88 WHERE player = \"steven anthony\""
} |
What is the highest pick number from Slovakia? | CREATE TABLE table_name_51 (pick__number INTEGER, nationality VARCHAR) | {
"SQL_Query": "SELECT MAX(pick__number) FROM table_name_51 WHERE nationality = \"slovakia\""
} |
What is the lowest pick number for the Russian Major League? | CREATE TABLE table_name_70 (pick__number INTEGER, league_from VARCHAR) | {
"SQL_Query": "SELECT MIN(pick__number) FROM table_name_70 WHERE league_from = \"russian major league\""
} |
What team is from the Russian Major League? | CREATE TABLE table_name_21 (position VARCHAR, league_from VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_21 WHERE league_from = \"russian major league\""
} |
Which league has a pick number larger than 204 from Canada and LW as the position? | CREATE TABLE table_name_61 (league_from VARCHAR, position VARCHAR, pick__number VARCHAR, nationality VARCHAR) | {
"SQL_Query": "SELECT league_from FROM table_name_61 WHERE pick__number > 204 AND nationality = \"canada\" AND position = \"lw\""
} |
Who is the player from Aurillac? | CREATE TABLE table_name_49 (player VARCHAR, club_province VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_49 WHERE club_province = \"aurillac\""
} |
what is the points when the rank is more than 1 and the places is 33? | CREATE TABLE table_name_69 (points VARCHAR, rank VARCHAR, places VARCHAR) | {
"SQL_Query": "SELECT points FROM table_name_69 WHERE rank > 1 AND places = 33"
} |
what is the highest rank for east germany with points of 128.98 and places less than 70? | CREATE TABLE table_name_40 (rank INTEGER, places VARCHAR, nation VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT MAX(rank) FROM table_name_40 WHERE nation = \"east germany\" AND points = 128.98 AND places < 70"
} |
what is the points for rank 12? | CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR) | {
"SQL_Query": "SELECT SUM(points) FROM table_name_13 WHERE rank = 12"
} |
What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97? | CREATE TABLE table_name_32 (pl_gp INTEGER, reg_gp VARCHAR, pick__number VARCHAR) | {
"SQL_Query": "SELECT AVG(pl_gp) FROM table_name_32 WHERE reg_gp = 97 AND pick__number < 70"
} |
Name the gloss for [χdəm] | CREATE TABLE table_name_69 (gloss VARCHAR, pronunciation VARCHAR) | {
"SQL_Query": "SELECT gloss FROM table_name_69 WHERE pronunciation = \"[χdəm]\""
} |
Name the realization for 'to be, to do' | CREATE TABLE table_name_71 (realization VARCHAR, gloss VARCHAR) | {
"SQL_Query": "SELECT realization FROM table_name_71 WHERE gloss = \"'to be, to do'\""
} |
What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1? | CREATE TABLE table_name_70 (places INTEGER, name VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT MIN(places) FROM table_name_70 WHERE name = \"sherri baier / robin cowan\" AND rank < 1"
} |
What platform is nds4droid on for the nintendo ds? | CREATE TABLE table_name_97 (platform VARCHAR, system VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT platform FROM table_name_97 WHERE system = \"nintendo ds\" AND name = \"nds4droid\""
} |
Who has a license of proprietary (available on inquiry)? | CREATE TABLE table_name_67 (name VARCHAR, license VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_67 WHERE license = \"proprietary (available on inquiry)\""
} |
What platform is nds4droid on for the nintendo ds with a license of gpl v2? | CREATE TABLE table_name_93 (platform VARCHAR, name VARCHAR, system VARCHAR, license VARCHAR) | {
"SQL_Query": "SELECT platform FROM table_name_93 WHERE system = \"nintendo ds\" AND license = \"gpl v2\" AND name = \"nds4droid\""
} |
What system has a current version of 1.4e? | CREATE TABLE table_name_65 (system VARCHAR, current_version VARCHAR) | {
"SQL_Query": "SELECT system FROM table_name_65 WHERE current_version = \"1.4e\""
} |
Who has a licence of gpl v2 and a current version of 0.9.9? | CREATE TABLE table_name_92 (name VARCHAR, license VARCHAR, current_version VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_92 WHERE license = \"gpl v2\" AND current_version = \"0.9.9\""
} |
What was the performance length of the 1999 season in bydgoszcz, poland? | CREATE TABLE table_name_11 (performance VARCHAR, season VARCHAR, place VARCHAR) | {
"SQL_Query": "SELECT performance FROM table_name_11 WHERE season = 1999 AND place = \"bydgoszcz, poland\""
} |
What were the performance lengths in the 3000 m events in and after 2003? | CREATE TABLE table_name_49 (performance VARCHAR, season VARCHAR, discipline VARCHAR) | {
"SQL_Query": "SELECT performance FROM table_name_49 WHERE season > 2003 AND discipline = \"3000 m\""
} |
How many seasons took place in santiago de chile, chile? | CREATE TABLE table_name_19 (season VARCHAR, place VARCHAR) | {
"SQL_Query": "SELECT COUNT(season) FROM table_name_19 WHERE place = \"santiago de chile, chile\""
} |
During which Season did the may 11, 2002 event take place? | CREATE TABLE table_name_90 (season VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT season FROM table_name_90 WHERE date = \"may 11, 2002\""
} |
What is the average round for players from california? | CREATE TABLE table_name_16 (round INTEGER, college VARCHAR) | {
"SQL_Query": "SELECT AVG(round) FROM table_name_16 WHERE college = \"california\""
} |
What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Current Broncos (WHL)? | CREATE TABLE table_name_12 (nationality VARCHAR, round VARCHAR, nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR) | {
"SQL_Query": "SELECT nationality FROM table_name_12 WHERE nhl_team = \"vancouver canucks\" AND college_junior_club_team__league_ = \"swift current broncos (whl)\" AND round = 8"
} |
When the Away team of essendon was playing, what was the Home team's score? | CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR) | {
"SQL_Query": "SELECT home_team AS score FROM table_name_62 WHERE away_team = \"essendon\""
} |
For the Venue of western oval, what's the Away team playing? | CREATE TABLE table_name_71 (away_team VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT away_team FROM table_name_71 WHERE venue = \"western oval\""
} |
Who was the opponent on week 7? | CREATE TABLE table_name_82 (opponent VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_82 WHERE week = \"7\""
} |
Who was the opponent on week 5? | CREATE TABLE table_name_4 (opponent VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_4 WHERE week = \"5\""
} |
Who was the leading scorer of the game that had a score of 107–97? | CREATE TABLE table_name_26 (leading_scorer VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT leading_scorer FROM table_name_26 WHERE score = \"107–97\""
} |
Who was the visiting team when the Suns were the home team? | CREATE TABLE table_name_39 (visitor VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT visitor FROM table_name_39 WHERE home = \"suns\""
} |
What is the average number of ties for the Detroit Lions team when they have fewer than 5 wins, fewer than 3 losses, and a win percentage of 0.800? | CREATE TABLE table_name_63 (ties INTEGER, team VARCHAR, win_pct VARCHAR, losses VARCHAR, wins VARCHAR) | {
"SQL_Query": "SELECT AVG(ties) FROM table_name_63 WHERE losses < 3 AND wins < 5 AND win_pct = \"0.800\" AND team = \"detroit lions\""
} |
What is the most recent year in which the score was 4–6, 6–3, 7–5? | CREATE TABLE table_name_91 (year INTEGER, score VARCHAR) | {
"SQL_Query": "SELECT MAX(year) FROM table_name_91 WHERE score = \"4–6, 6–3, 7–5\""
} |
Which player has a height of 6-7? | CREATE TABLE table_name_5 (player VARCHAR, height VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_5 WHERE height = \"6-7\""
} |
What is the NBA draft result of the player from Washington, DC? | CREATE TABLE table_name_97 (nba_draft VARCHAR, hometown VARCHAR) | {
"SQL_Query": "SELECT nba_draft FROM table_name_97 WHERE hometown = \"washington, dc\""
} |
What is the NBA draft result of the player from the College of Kansas? | CREATE TABLE table_name_48 (nba_draft VARCHAR, college VARCHAR) | {
"SQL_Query": "SELECT nba_draft FROM table_name_48 WHERE college = \"kansas\""
} |
Who is the player from La Costa Canyon High School? | CREATE TABLE table_name_79 (player VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_79 WHERE school = \"la costa canyon high school\""
} |
How tall is the player from Nacogdoches High School? | CREATE TABLE table_name_28 (height VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT height FROM table_name_28 WHERE school = \"nacogdoches high school\""
} |
What is the school of the player from Dallas, TX? | CREATE TABLE table_name_47 (school VARCHAR, hometown VARCHAR) | {
"SQL_Query": "SELECT school FROM table_name_47 WHERE hometown = \"dallas, tx\""
} |
What is the result for world group, consolation round? | CREATE TABLE table_name_31 (result VARCHAR, competition VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_31 WHERE competition = \"world group, consolation round\""
} |
How many attended tie number 1? | CREATE TABLE table_name_47 (attendance INTEGER, tie_no VARCHAR) | {
"SQL_Query": "SELECT SUM(attendance) FROM table_name_47 WHERE tie_no = \"1\""
} |
How many attended tie number 3? | CREATE TABLE table_name_97 (attendance INTEGER, tie_no VARCHAR) | {
"SQL_Query": "SELECT MAX(attendance) FROM table_name_97 WHERE tie_no = \"3\""
} |
What is the hometown for tre madden? | CREATE TABLE table_name_68 (hometown VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT hometown FROM table_name_68 WHERE player = \"tre madden\""
} |
What is the hometown for the player that is defensive back and went to alabama? | CREATE TABLE table_name_20 (hometown VARCHAR, position VARCHAR, college VARCHAR) | {
"SQL_Query": "SELECT hometown FROM table_name_20 WHERE position = \"defensive back\" AND college = \"alabama\""
} |
What is the college for the player that went to ridge community high school and is defensive back? | CREATE TABLE table_name_19 (college VARCHAR, position VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT college FROM table_name_19 WHERE position = \"defensive back\" AND school = \"ridge community high school\""
} |
What is the sum of Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may? | CREATE TABLE table_name_77 (year INTEGER, date VARCHAR, type VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT SUM(year) FROM table_name_77 WHERE type = \"informal\" AND location = \"justus lipsius building, brussels\" AND date = \"23 may\""
} |
What is the Type with a Location with justus lipsius building, brussels, and a Year of 2012, and a President with herman van rompuy (1st term), and a Date with 23 may? | CREATE TABLE table_name_59 (type VARCHAR, date VARCHAR, president VARCHAR, location VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_59 WHERE location = \"justus lipsius building, brussels\" AND year = 2012 AND president = \"herman van rompuy (1st term)\" AND date = \"23 may\""
} |
What is the President with a Location of justus lipsius building, brussels, and a Type with scheduled, and a Year larger than 2011, and a Date with 18–19 october? | CREATE TABLE table_name_22 (president VARCHAR, date VARCHAR, year VARCHAR, location VARCHAR, type VARCHAR) | {
"SQL_Query": "SELECT president FROM table_name_22 WHERE location = \"justus lipsius building, brussels\" AND type = \"scheduled\" AND year > 2011 AND date = \"18–19 october\""
} |
What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled? | CREATE TABLE table_name_63 (location VARCHAR, type VARCHAR, date VARCHAR, year VARCHAR, president VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_63 WHERE year > 2011 AND president = \"herman van rompuy (2nd term)\" AND date = \"28–29 june\" AND type = \"scheduled\""
} |
What is the President with a Year larger than 2011, and a Date with 23 may? | CREATE TABLE table_name_31 (president VARCHAR, year VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT president FROM table_name_31 WHERE year > 2011 AND date = \"23 may\""
} |
What is the Type with a Year larger than 2010, and a Location with justus lipsius building, brussels, and a President of herman van rompuy (2nd term), and a Date with 28–29 june? | CREATE TABLE table_name_96 (type VARCHAR, date VARCHAR, president VARCHAR, year VARCHAR, location VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_96 WHERE year > 2010 AND location = \"justus lipsius building, brussels\" AND president = \"herman van rompuy (2nd term)\" AND date = \"28–29 june\""
} |
What competition has a goal number of 13? | CREATE TABLE table_name_49 (competition VARCHAR, goal VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_49 WHERE goal = 13"
} |
What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0? | CREATE TABLE table_name_60 (yards INTEGER, sack VARCHAR, asst VARCHAR, totaltk VARCHAR) | {
"SQL_Query": "SELECT SUM(yards) FROM table_name_60 WHERE asst = 19 AND totaltk = 60 AND sack > 0"
} |
what is the total sack for mike green when fumr is less than 0? | CREATE TABLE table_name_40 (sack INTEGER, player VARCHAR, fumr VARCHAR) | {
"SQL_Query": "SELECT SUM(sack) FROM table_name_40 WHERE player = \"mike green\" AND fumr < 0"
} |
what is the total sack when totaltk is 1 and asst. is more than 0? | CREATE TABLE table_name_86 (sack INTEGER, totaltk VARCHAR, asst VARCHAR) | {
"SQL_Query": "SELECT SUM(sack) FROM table_name_86 WHERE totaltk = 1 AND asst > 0"
} |
what is the total number of tackles when fumr is 0, totaltk is 54 and yards is less than 0? | CREATE TABLE table_name_21 (tackles VARCHAR, yards VARCHAR, fumr VARCHAR, totaltk VARCHAR) | {
"SQL_Query": "SELECT COUNT(tackles) FROM table_name_21 WHERE fumr = 0 AND totaltk = 54 AND yards < 0"
} |
what is the sum of totaltk when yards is less than 0? | CREATE TABLE table_name_9 (totaltk INTEGER, yards INTEGER) | {
"SQL_Query": "SELECT SUM(totaltk) FROM table_name_9 WHERE yards < 0"
} |
What class is after 1973 with 41 points? | CREATE TABLE table_name_45 (class VARCHAR, year VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT class FROM table_name_45 WHERE year > 1973 AND points = 41"
} |
How many wins for bikes with under 54 points, team yamaha, a 250cc bike, and before 1977? | CREATE TABLE table_name_90 (wins VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR, team VARCHAR) | {
"SQL_Query": "SELECT COUNT(wins) FROM table_name_90 WHERE points < 54 AND team = \"yamaha\" AND class = \"250cc\" AND year < 1977"
} |
What distance did giovanni lombardi win after stage 5? | CREATE TABLE table_name_10 (distance VARCHAR, stage VARCHAR, winner VARCHAR) | {
"SQL_Query": "SELECT distance FROM table_name_10 WHERE stage > 5 AND winner = \"giovanni lombardi\""
} |
Who is the GC leader at ávila - segovia? | CREATE TABLE table_name_51 (gc_leader VARCHAR, course VARCHAR) | {
"SQL_Query": "SELECT gc_leader FROM table_name_51 WHERE course = \"ávila - segovia\""
} |
How many grids have less than 41 laps and a Driver of pedro de la rosa? | CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT COUNT(grid) FROM table_name_11 WHERE laps < 41 AND driver = \"pedro de la rosa\""
} |
Which Time/Retired has a Grid smaller than 3, and a Driver of mika häkkinen? | CREATE TABLE table_name_58 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) | {
"SQL_Query": "SELECT time_retired FROM table_name_58 WHERE grid < 3 AND driver = \"mika häkkinen\""
} |
What are toranosuke takagi's average laps? | CREATE TABLE table_name_14 (laps INTEGER, driver VARCHAR) | {
"SQL_Query": "SELECT AVG(laps) FROM table_name_14 WHERE driver = \"toranosuke takagi\""
} |
Which grid has a Time/Retired of +5.004? | CREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR) | {
"SQL_Query": "SELECT MIN(grid) FROM table_name_95 WHERE time_retired = \"+5.004\""
} |
What was the score of the game on November 9 when Atlanta was the visiting team? | CREATE TABLE table_name_73 (score VARCHAR, visitor VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_73 WHERE visitor = \"atlanta\" AND date = \"november 9\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.