question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
Which Type has a Capacity of 10 tons, and a Number of 24-27? | CREATE TABLE table_name_22 (type VARCHAR, capacity VARCHAR, number VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_22 WHERE capacity = \"10 tons\" AND number = \"24-27\""
} |
How many Dates have a Builder of laconia car company, and a Number of 63-68? | CREATE TABLE table_name_8 (date VARCHAR, builder VARCHAR, number VARCHAR) | {
"SQL_Query": "SELECT COUNT(date) FROM table_name_8 WHERE builder = \"laconia car company\" AND number = \"63-68\""
} |
What is the score for Billy Andrade? | CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_73 WHERE player = \"billy andrade\""
} |
What country is Nick Price from? | CREATE TABLE table_name_35 (country VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_35 WHERE player = \"nick price\""
} |
What is the to par for the player with score of 67-67=134? | CREATE TABLE table_name_53 (to_par VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT to_par FROM table_name_53 WHERE score = 67 - 67 = 134"
} |
Team 1, Everton, has what as a 1st leg? | CREATE TABLE table_name_6 (team_1 VARCHAR) | {
"SQL_Query": "SELECT 1 AS st_leg FROM table_name_6 WHERE team_1 = \"everton\""
} |
The 2nd leg is what for the Atlético Madrid as Team 1? | CREATE TABLE table_name_68 (team_1 VARCHAR) | {
"SQL_Query": "SELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = \"atlético madrid\""
} |
Fulham as Team 1 has the 2nd leg score of what? | CREATE TABLE table_name_44 (team_1 VARCHAR) | {
"SQL_Query": "SELECT 2 AS nd_leg FROM table_name_44 WHERE team_1 = \"fulham\""
} |
What name is for the period 1945-1949 & 1953-1954 1949-1952? | CREATE TABLE table_name_69 (name VARCHAR, period VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_69 WHERE period = \"1945-1949 & 1953-1954 1949-1952\""
} |
Which name is on the of fc sète olympique de marseille? | CREATE TABLE table_name_39 (name VARCHAR, teams VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_39 WHERE teams = \"fc sète olympique de marseille\""
} |
What role has the team of Troyes AC Grenoble Foot? | CREATE TABLE table_name_89 (role VARCHAR, teams VARCHAR) | {
"SQL_Query": "SELECT role FROM table_name_89 WHERE teams = \"troyes ac grenoble foot\""
} |
What name has the role of midfielder for 1999-2003? | CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_76 WHERE role = \"midfielder\" AND period = \"1999-2003\""
} |
Which period has the team CS Sedan? | CREATE TABLE table_name_99 (period VARCHAR, teams VARCHAR) | {
"SQL_Query": "SELECT period FROM table_name_99 WHERE teams = \"cs sedan\""
} |
What is the team with the name Boumediene Abderahmane? | CREATE TABLE table_name_48 (teams VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT teams FROM table_name_48 WHERE name = \"boumediene abderahmane\""
} |
What was the finishing position with 13 points? | CREATE TABLE table_name_93 (fin_pos VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT fin_pos FROM table_name_93 WHERE points = \"13\""
} |
What Driver had 50+3 Points? | CREATE TABLE table_name_99 (driver VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT driver FROM table_name_99 WHERE points = \"50+3\""
} |
When was the most recent game that he partnered with nicklas kulti and they scored 3–6, 7–6, 6–4? | CREATE TABLE table_name_19 (date INTEGER, partner VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT MAX(date) FROM table_name_19 WHERE partner = \"nicklas kulti\" AND score = \"3–6, 7–6, 6–4\""
} |
Who did he play on a hard surface? | CREATE TABLE table_name_99 (opponents VARCHAR, surface VARCHAR) | {
"SQL_Query": "SELECT opponents FROM table_name_99 WHERE surface = \"hard\""
} |
When was his first game on a clay surface where he scored 0–6, 3–6? | CREATE TABLE table_name_24 (date INTEGER, surface VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT MIN(date) FROM table_name_24 WHERE surface = \"clay\" AND score = \"0–6, 3–6\""
} |
what is the highest wickets when the matches is less than 5, player is jim laker and average is more than 52.44? | CREATE TABLE table_name_89 (wickets INTEGER, average VARCHAR, matches VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT MAX(wickets) FROM table_name_89 WHERE matches < 5 AND player = \"jim laker\" AND average > 52.44"
} |
what is the average when matches is less than 5 and wickets is more than 9? | CREATE TABLE table_name_26 (average VARCHAR, matches VARCHAR, wickets VARCHAR) | {
"SQL_Query": "SELECT average FROM table_name_26 WHERE matches < 5 AND wickets > 9"
} |
what is the sum of matches when the player is jim laker and wikets is less than 9? | CREATE TABLE table_name_25 (matches INTEGER, player VARCHAR, wickets VARCHAR) | {
"SQL_Query": "SELECT SUM(matches) FROM table_name_25 WHERE player = \"jim laker\" AND wickets < 9"
} |
what is the highest wickets when the best bowling is 2/32 and matches is less than 5? | CREATE TABLE table_name_33 (wickets INTEGER, best_bowling VARCHAR, matches VARCHAR) | {
"SQL_Query": "SELECT MAX(wickets) FROM table_name_33 WHERE best_bowling = \"2/32\" AND matches < 5"
} |
what is the highest wickets when best bowling is 5/40 and average is less than 33.09? | CREATE TABLE table_name_14 (wickets INTEGER, best_bowling VARCHAR, average VARCHAR) | {
"SQL_Query": "SELECT MAX(wickets) FROM table_name_14 WHERE best_bowling = \"5/40\" AND average < 33.09"
} |
Which player has a pick# over 47? | CREATE TABLE table_name_87 (player VARCHAR, pick__number INTEGER) | {
"SQL_Query": "SELECT player FROM table_name_87 WHERE pick__number > 47"
} |
Who is the player with a FB position? | CREATE TABLE table_name_2 (player VARCHAR, position VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_2 WHERE position = \"fb\""
} |
What is the Score that has a To standard of –3, and a Player of Jim Furyk? | CREATE TABLE table_name_15 (score VARCHAR, to_par VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_15 WHERE to_par = \"–3\" AND player = \"jim furyk\""
} |
What is the Country that has a Player of Scott Hoch? | CREATE TABLE table_name_31 (country VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_31 WHERE player = \"scott hoch\""
} |
What is the Player that has a To standard of –4, and a Score of 74-70-68=212? | CREATE TABLE table_name_45 (player VARCHAR, to_par VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_45 WHERE to_par = \"–4\" AND score = 74 - 70 - 68 = 212"
} |
What is the Score that has a To standard of –2, and a Country of Spain? | CREATE TABLE table_name_63 (score VARCHAR, to_par VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_63 WHERE to_par = \"–2\" AND country = \"spain\""
} |
What is the Score that has a Player of Ernie Els? | CREATE TABLE table_name_28 (score VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_28 WHERE player = \"ernie els\""
} |
What is the Player that has a Place of t2, and a Score of 74-70-68=212? | CREATE TABLE table_name_64 (player VARCHAR, place VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_64 WHERE place = \"t2\" AND score = 74 - 70 - 68 = 212"
} |
what is the date when the nationality is united kingdom, the type is freighter and the displacement is 5,145 t? | CREATE TABLE table_name_14 (date VARCHAR, displacement VARCHAR, nationality VARCHAR, type VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_14 WHERE nationality = \"united kingdom\" AND type = \"freighter\" AND displacement = \"5,145 t\""
} |
what is the name when the displacement is 8,305 t? | CREATE TABLE table_name_12 (name VARCHAR, displacement VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_12 WHERE displacement = \"8,305 t\""
} |
what is the name when the type is freighter, nationality is united kingdom on 3 may 1940? | CREATE TABLE table_name_61 (name VARCHAR, date VARCHAR, type VARCHAR, nationality VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_61 WHERE type = \"freighter\" AND nationality = \"united kingdom\" AND date = \"3 may 1940\""
} |
what is the date for tirrana? | CREATE TABLE table_name_18 (date VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_18 WHERE name = \"tirrana\""
} |
what is the name for the nationality total:? | CREATE TABLE table_name_1 (name VARCHAR, nationality VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_1 WHERE nationality = \"total:\""
} |
Who is the republican Jon Huntsman that was administered June 19, 2008? | CREATE TABLE table_name_76 (republican VARCHAR, dates_administered VARCHAR) | {
"SQL_Query": "SELECT republican AS :_jon_huntsman FROM table_name_76 WHERE dates_administered = \"june 19, 2008\""
} |
What is the most minimal Final year that has a North or east end of covington? | CREATE TABLE table_name_69 (final_year INTEGER, north_or_east_terminus VARCHAR) | {
"SQL_Query": "SELECT MIN(final_year) FROM table_name_69 WHERE north_or_east_terminus = \"covington\""
} |
What is the total of Final year that has a Notes of replaced by i-96? | CREATE TABLE table_name_15 (final_year INTEGER, notes VARCHAR) | {
"SQL_Query": "SELECT SUM(final_year) FROM table_name_15 WHERE notes = \"replaced by i-96\""
} |
What is the most minimal Final year that has a Notes of replaced by i-75 and m-25, and a First year larger than 1926? | CREATE TABLE table_name_45 (final_year INTEGER, notes VARCHAR, first_year VARCHAR) | {
"SQL_Query": "SELECT MIN(final_year) FROM table_name_45 WHERE notes = \"replaced by i-75 and m-25\" AND first_year > 1926"
} |
What is the average First year that has a Notes of replaced by us 12 when i-94 replaced us 12, and a Final year larger than 1961? | CREATE TABLE table_name_31 (first_year INTEGER, notes VARCHAR, final_year VARCHAR) | {
"SQL_Query": "SELECT AVG(first_year) FROM table_name_31 WHERE notes = \"replaced by us 12 when i-94 replaced us 12\" AND final_year > 1961"
} |
What is the number of the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes? | CREATE TABLE table_name_74 (number_of_votes VARCHAR, share_of_votes VARCHAR, candidate VARCHAR, election VARCHAR) | {
"SQL_Query": "SELECT number_of_votes FROM table_name_74 WHERE candidate = \"edward mahama\" AND election < 2004 AND share_of_votes = \"3.0%\""
} |
What is the outcome of the election with edward mahama as a candidate and 73,494 votes? | CREATE TABLE table_name_31 (outcome_of_election VARCHAR, candidate VARCHAR, number_of_votes VARCHAR) | {
"SQL_Query": "SELECT outcome_of_election FROM table_name_31 WHERE candidate = \"edward mahama\" AND number_of_votes = \"73,494\""
} |
What is the earlest election with a 0.9% share of votes? | CREATE TABLE table_name_13 (election INTEGER, share_of_votes VARCHAR) | {
"SQL_Query": "SELECT MIN(election) FROM table_name_13 WHERE share_of_votes = \"0.9%\""
} |
Who is the candidate with 73,494 votes? | CREATE TABLE table_name_41 (candidate VARCHAR, number_of_votes VARCHAR) | {
"SQL_Query": "SELECT candidate FROM table_name_41 WHERE number_of_votes = \"73,494\""
} |
What is the share of votes in the 2008 election? | CREATE TABLE table_name_44 (share_of_votes VARCHAR, election VARCHAR) | {
"SQL_Query": "SELECT share_of_votes FROM table_name_44 WHERE election = 2008"
} |
What is the number of votes of candidate edward mahama, who had 0.9% share of votes? | CREATE TABLE table_name_82 (number_of_votes VARCHAR, candidate VARCHAR, share_of_votes VARCHAR) | {
"SQL_Query": "SELECT number_of_votes FROM table_name_82 WHERE candidate = \"edward mahama\" AND share_of_votes = \"0.9%\""
} |
Which Ages have a Capacity larger than 21, and an Ofsted of 106168? | CREATE TABLE table_name_90 (ages VARCHAR, capacity VARCHAR, ofsted VARCHAR) | {
"SQL_Query": "SELECT ages FROM table_name_90 WHERE capacity > 21 AND ofsted = 106168"
} |
Which Ages have an Ofsted larger than 106172, and a School of oakgrove school? | CREATE TABLE table_name_45 (ages VARCHAR, ofsted VARCHAR, school VARCHAR) | {
"SQL_Query": "SELECT ages FROM table_name_45 WHERE ofsted > 106172 AND school = \"oakgrove school\""
} |
Which Ofsted has a Capacity smaller than 56, and Ages of 11-16? | CREATE TABLE table_name_46 (ofsted INTEGER, capacity VARCHAR, ages VARCHAR) | {
"SQL_Query": "SELECT SUM(ofsted) FROM table_name_46 WHERE capacity < 56 AND ages = \"11-16\""
} |
Which Capacity has a School of windlehurst school, and an Ofsted smaller than 131889? | CREATE TABLE table_name_63 (capacity INTEGER, school VARCHAR, ofsted VARCHAR) | {
"SQL_Query": "SELECT SUM(capacity) FROM table_name_63 WHERE school = \"windlehurst school\" AND ofsted < 131889"
} |
How many people attended the game when sydney spirit was at home? | CREATE TABLE table_name_58 (crowd VARCHAR, home_team VARCHAR) | {
"SQL_Query": "SELECT crowd FROM table_name_58 WHERE home_team = \"sydney spirit\""
} |
When the crowd was greater than 19,498 who was the away team? | CREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER) | {
"SQL_Query": "SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498"
} |
An attendance larger than 33,684 and an opponent of Hamilton Academical had this listed as a result? | CREATE TABLE table_name_55 (result VARCHAR, opponent VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_55 WHERE opponent = \"hamilton academical\" AND attendance > 33 OFFSET 684"
} |
When did grid 8 finish? | CREATE TABLE table_name_66 (time_retired VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT time_retired FROM table_name_66 WHERE grid = 8"
} |
Which Location has a Game greater than 20 and a Date of Wed. Dec. 26? | CREATE TABLE table_name_79 (location VARCHAR, game VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_79 WHERE game > 20 AND date = \"wed. dec. 26\""
} |
On what date is the Score 94-109? | CREATE TABLE table_name_54 (date VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_54 WHERE score = \"94-109\""
} |
Which Location has a Game greater than 27 and a Record of 18-10? | CREATE TABLE table_name_58 (location VARCHAR, game VARCHAR, record VARCHAR) | {
"SQL_Query": "SELECT location FROM table_name_58 WHERE game > 27 AND record = \"18-10\""
} |
What is the number of losses for the team with a points difference of -25? | CREATE TABLE table_name_24 (lost VARCHAR, points_difference VARCHAR) | {
"SQL_Query": "SELECT lost FROM table_name_24 WHERE points_difference = \"-25\""
} |
What is the number of draws for the team with a points difference of -210? | CREATE TABLE table_name_12 (drawn VARCHAR, points_difference VARCHAR) | {
"SQL_Query": "SELECT drawn FROM table_name_12 WHERE points_difference = \"-210\""
} |
What is the points difference for the team that has allowed 615 points against? | CREATE TABLE table_name_39 (points_difference VARCHAR, points_against VARCHAR) | {
"SQL_Query": "SELECT points_difference FROM table_name_39 WHERE points_against = \"615\""
} |
What is the number of matches played for the team with 0 draws and 33 points? | CREATE TABLE table_name_49 (played VARCHAR, drawn VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT played FROM table_name_49 WHERE drawn = \"0\" AND points = \"33\""
} |
What is the number of points for the team with 2 matches drawn and 577 points for? | CREATE TABLE table_name_88 (points VARCHAR, drawn VARCHAR, points_for VARCHAR) | {
"SQL_Query": "SELECT points FROM table_name_88 WHERE drawn = \"2\" AND points_for = \"577\""
} |
What was the result when home was fc luzern (asl)? | CREATE TABLE table_name_22 (result VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_22 WHERE home = \"fc luzern (asl)\""
} |
Who was the guest on 24.11.07 when the result was 0:1 at 16:00? | CREATE TABLE table_name_25 (guest VARCHAR, time VARCHAR, date VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT guest FROM table_name_25 WHERE date = \"24.11.07\" AND result = \"0:1\" AND time = \"16:00\""
} |
What day was the time 14:30, the result 0:1, and the home team fc chiasso (chl)? | CREATE TABLE table_name_44 (date VARCHAR, home VARCHAR, time VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_44 WHERE time = \"14:30\" AND result = \"0:1\" AND home = \"fc chiasso (chl)\""
} |
Who was the gues on 25.11.07 when home was stade nyonnais (1.l)? | CREATE TABLE table_name_67 (guest VARCHAR, date VARCHAR, home VARCHAR) | {
"SQL_Query": "SELECT guest FROM table_name_67 WHERE date = \"25.11.07\" AND home = \"stade nyonnais (1.l)\""
} |
Who was the guest when the result was 0:3? | CREATE TABLE table_name_56 (guest VARCHAR, result VARCHAR) | {
"SQL_Query": "SELECT guest FROM table_name_56 WHERE result = \"0:3\""
} |
What was the result when the guest was fc zürich (asl)? | CREATE TABLE table_name_93 (result VARCHAR, guest VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_93 WHERE guest = \"fc zürich (asl)\""
} |
What's the white of E93 King's Indian Defence when Kasparov was black, moves were greater than 19, and happened before 2000? | CREATE TABLE table_name_80 (white VARCHAR, opening VARCHAR, year VARCHAR, moves VARCHAR, black VARCHAR) | {
"SQL_Query": "SELECT white FROM table_name_80 WHERE moves > 19 AND black = \"kasparov\" AND year < 2000 AND opening = \"e93 king's indian defence\""
} |
What tournament had a black of Kramnik and an opening of B66 Sicilian Defence? | CREATE TABLE table_name_28 (tournament VARCHAR, black VARCHAR, opening VARCHAR) | {
"SQL_Query": "SELECT tournament FROM table_name_28 WHERE black = \"kramnik\" AND opening = \"b66 sicilian defence\""
} |
What year had a black of Kramnik, opening of E05 Catalan Opening, moves greater than 38, and a result of ½–½? | CREATE TABLE table_name_19 (year INTEGER, moves VARCHAR, opening VARCHAR, result VARCHAR, black VARCHAR) | {
"SQL_Query": "SELECT MAX(year) FROM table_name_19 WHERE result = \"½–½\" AND black = \"kramnik\" AND opening = \"e05 catalan opening\" AND moves > 38"
} |
What year had 32 moves? | CREATE TABLE table_name_23 (year INTEGER, moves VARCHAR) | {
"SQL_Query": "SELECT SUM(year) FROM table_name_23 WHERE moves = 32"
} |
What year has 14 moves and an opening of C54 Italian Game? | CREATE TABLE table_name_66 (year VARCHAR, moves VARCHAR, opening VARCHAR) | {
"SQL_Query": "SELECT year FROM table_name_66 WHERE moves = 14 AND opening = \"c54 italian game\""
} |
what is the lowest round2 when round5 is 71 and round4 is more than 64? | CREATE TABLE table_name_88 (round2 INTEGER, round5 VARCHAR, round4 VARCHAR) | {
"SQL_Query": "SELECT MIN(round2) FROM table_name_88 WHERE round5 = 71 AND round4 > 64"
} |
what is round1 when round3 is less than 51, total points is less than 273, round2 is less than 98 and round5 is less than 24? | CREATE TABLE table_name_62 (round1 INTEGER, round5 VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR) | {
"SQL_Query": "SELECT AVG(round1) FROM table_name_62 WHERE round3 < 51 AND total_points < 273 AND round2 < 98 AND round5 < 24"
} |
what is the rank when the total points is more than 194, round4 is less than 64, round3 is more than 51 and round 2 is less than 66? | CREATE TABLE table_name_72 (rank VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR, round4 VARCHAR) | {
"SQL_Query": "SELECT COUNT(rank) FROM table_name_72 WHERE total_points > 194 AND round4 < 64 AND round3 > 51 AND round2 < 66"
} |
what is round2 when round5 is more than 35, round3 is less than 51, the rank is smaller than 2 and the team is netherlands? | CREATE TABLE table_name_54 (round2 VARCHAR, rank VARCHAR, team VARCHAR, round5 VARCHAR, round3 VARCHAR) | {
"SQL_Query": "SELECT COUNT(round2) FROM table_name_54 WHERE round5 > 35 AND round3 < 51 AND team = \"netherlands\" AND rank < 2"
} |
what is the lowest round3 when round4 is 37? | CREATE TABLE table_name_73 (round3 INTEGER, round4 VARCHAR) | {
"SQL_Query": "SELECT MIN(round3) FROM table_name_73 WHERE round4 = 37"
} |
What is the team that has a shooting guard that played for the Grizzlies in 2000-2001? | CREATE TABLE table_name_98 (school_club_team VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR) | {
"SQL_Query": "SELECT school_club_team FROM table_name_98 WHERE position = \"shooting guard\" AND years_for_grizzlies = \"2000-2001\""
} |
What's the United States team that played for the Grizzlies in 1995-1996? | CREATE TABLE table_name_51 (school_club_team VARCHAR, nationality VARCHAR, years_for_grizzlies VARCHAR) | {
"SQL_Query": "SELECT school_club_team FROM table_name_51 WHERE nationality = \"united states\" AND years_for_grizzlies = \"1995-1996\""
} |
What are years that Obinna Ekezie played for the Grizzlies? | CREATE TABLE table_name_94 (years_for_grizzlies VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT years_for_grizzlies FROM table_name_94 WHERE player = \"obinna ekezie\""
} |
What's the school that played for the Grizzlie from 1995-1998? | CREATE TABLE table_name_10 (school_club_team VARCHAR, years_for_grizzlies VARCHAR) | {
"SQL_Query": "SELECT school_club_team FROM table_name_10 WHERE years_for_grizzlies = \"1995-1998\""
} |
What position does Wayne Ellington play? | CREATE TABLE table_name_24 (position VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT position FROM table_name_24 WHERE player = \"wayne ellington\""
} |
What is the premier league number when the position is forward, and the total is more than 22? | CREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT COUNT(premier_league) FROM table_name_16 WHERE position = \"forward\" AND total > 22"
} |
What is the total when the league cup is less than 1, and the fa cup is less than 1? | CREATE TABLE table_name_45 (total INTEGER, league_cup VARCHAR, fa_cup VARCHAR) | {
"SQL_Query": "SELECT SUM(total) FROM table_name_45 WHERE league_cup < 1 AND fa_cup < 1"
} |
What is the lowest league cup with a premier League of 1, and the total is less than 5? | CREATE TABLE table_name_71 (league_cup INTEGER, premier_league VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT MIN(league_cup) FROM table_name_71 WHERE premier_league = 1 AND total < 5"
} |
What is the lowest FA Cup when the league cup is 1, and the total is more than 23? | CREATE TABLE table_name_16 (fa_cup INTEGER, league_cup VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT MIN(fa_cup) FROM table_name_16 WHERE league_cup = 1 AND total > 23"
} |
What is the lowest grid for Roberto Rolfo with more than 26 laps? | CREATE TABLE table_name_87 (grid INTEGER, rider VARCHAR, laps VARCHAR) | {
"SQL_Query": "SELECT MIN(grid) FROM table_name_87 WHERE rider = \"roberto rolfo\" AND laps > 26"
} |
What was the time for Aprilia and their driver Casey Stoner, before gird 9, and less than 26 laps? | CREATE TABLE table_name_35 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) | {
"SQL_Query": "SELECT time_retired FROM table_name_35 WHERE manufacturer = \"aprilia\" AND grid < 9 AND laps < 26 AND rider = \"casey stoner\""
} |
What are the highest laps for Marco Melandri? | CREATE TABLE table_name_67 (laps INTEGER, rider VARCHAR) | {
"SQL_Query": "SELECT MAX(laps) FROM table_name_67 WHERE rider = \"marco melandri\""
} |
Which player lost more than 12? | CREATE TABLE table_name_54 (lost VARCHAR, played INTEGER) | {
"SQL_Query": "SELECT COUNT(lost) FROM table_name_54 WHERE played > 12"
} |
What is the name of the player that lost more than 4? | CREATE TABLE table_name_69 (name VARCHAR, lost INTEGER) | {
"SQL_Query": "SELECT name FROM table_name_69 WHERE lost > 4"
} |
Which name has a lane less than 8, russia as the country, with a mark of 8.07? | CREATE TABLE table_name_88 (name VARCHAR, mark VARCHAR, lane VARCHAR, country VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_88 WHERE lane < 8 AND country = \"russia\" AND mark = \"8.07\""
} |
How many lanes have 2 as the heat, and susanna kallur as the name? | CREATE TABLE table_name_77 (lane INTEGER, heat VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT SUM(lane) FROM table_name_77 WHERE heat = 2 AND name = \"susanna kallur\""
} |
What name has 8.19 as the mark, with 3 as the lane? | CREATE TABLE table_name_32 (name VARCHAR, mark VARCHAR, lane VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_32 WHERE mark = \"8.19\" AND lane = 3"
} |
In which discipline was non-championship under Championship? | CREATE TABLE table_name_45 (discipline VARCHAR, championship VARCHAR) | {
"SQL_Query": "SELECT discipline FROM table_name_45 WHERE championship = \"non-championship\""
} |
What type of motorsport has a session of pre-race test? | CREATE TABLE table_name_93 (discipline VARCHAR, session VARCHAR) | {
"SQL_Query": "SELECT discipline FROM table_name_93 WHERE session = \"pre-race test\""
} |
With a Championship of 1959 USAC Championship Car Season what is the event? | CREATE TABLE table_name_32 (event VARCHAR, championship VARCHAR) | {
"SQL_Query": "SELECT event FROM table_name_32 WHERE championship = \"1959 usac championship car season\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.