question stringlengths 12 244 | context stringlengths 27 489 | answer dict |
|---|---|---|
Which Planet has a Sanskrit word of budha? | CREATE TABLE table_name_31 (planet VARCHAR, sanskrit_word VARCHAR) | {
"SQL_Query": "SELECT planet FROM table_name_31 WHERE sanskrit_word = \"budha\""
} |
WHich Thai name has a Transcription of wan phruehatsabodi? | CREATE TABLE table_name_55 (thai_name VARCHAR, transcription VARCHAR) | {
"SQL_Query": "SELECT thai_name FROM table_name_55 WHERE transcription = \"wan phruehatsabodi\""
} |
Show the Thai name of wan phruehatsabodi? | CREATE TABLE table_name_29 (thai_name VARCHAR, transcription VARCHAR) | {
"SQL_Query": "SELECT thai_name FROM table_name_29 WHERE transcription = \"wan phruehatsabodi\""
} |
Show the Color which has a Thai name of วันพฤหัสบดี? | CREATE TABLE table_name_19 (color VARCHAR, thai_name VARCHAR) | {
"SQL_Query": "SELECT color FROM table_name_19 WHERE thai_name = \"วันพฤหัสบดี\""
} |
Which Color has a Transcription of wan suk? | CREATE TABLE table_name_16 (color VARCHAR, transcription VARCHAR) | {
"SQL_Query": "SELECT color FROM table_name_16 WHERE transcription = \"wan suk\""
} |
Which English name has a Color of green? | CREATE TABLE table_name_54 (english_name VARCHAR, color VARCHAR) | {
"SQL_Query": "SELECT english_name FROM table_name_54 WHERE color = \"green\""
} |
What is Gil Morgan's Place? | CREATE TABLE table_name_70 (place VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT place FROM table_name_70 WHERE player = \"gil morgan\""
} |
What is the Place of the Player with a To par of –5? | CREATE TABLE table_name_43 (place VARCHAR, to_par VARCHAR) | {
"SQL_Query": "SELECT place FROM table_name_43 WHERE to_par = \"–5\""
} |
Which Player has a Money ($) of 137, and a Score of 73-70-73-74=290? | CREATE TABLE table_name_11 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_11 WHERE money___$__ = 137 AND score = 73 - 70 - 73 - 74 = 290"
} |
Which To Par has a Money ($) of 350, and a Player of henry picard? | CREATE TABLE table_name_69 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT to_par FROM table_name_69 WHERE money___$__ = 350 AND player = \"henry picard\""
} |
What year had Best Actor in a Musical as a category? | CREATE TABLE table_name_15 (year INTEGER, category VARCHAR) | {
"SQL_Query": "SELECT SUM(year) FROM table_name_15 WHERE category = \"best actor in a musical\""
} |
What Secretary has a Social AO of lieke de boer? | CREATE TABLE table_name_12 (secretary VARCHAR, social_ao VARCHAR) | {
"SQL_Query": "SELECT secretary FROM table_name_12 WHERE social_ao = \"lieke de boer\""
} |
What Social AO has an External CO of elena buscher, and a President of harm van leeuwen? | CREATE TABLE table_name_39 (social_ao VARCHAR, external_co VARCHAR, president VARCHAR) | {
"SQL_Query": "SELECT social_ao FROM table_name_39 WHERE external_co = \"elena buscher\" AND president = \"harm van leeuwen\""
} |
What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten? | CREATE TABLE table_name_83 (social_ao VARCHAR, external_co VARCHAR, internal_co VARCHAR) | {
"SQL_Query": "SELECT social_ao FROM table_name_83 WHERE external_co = \"simonas savickas\" AND internal_co = \"pieter kuijsten\""
} |
What Secretary has an Internal CO of isabel voets? | CREATE TABLE table_name_90 (secretary VARCHAR, internal_co VARCHAR) | {
"SQL_Query": "SELECT secretary FROM table_name_90 WHERE internal_co = \"isabel voets\""
} |
What Academic AO has a President of harm van leeuwen? | CREATE TABLE table_name_20 (academic_ao VARCHAR, president VARCHAR) | {
"SQL_Query": "SELECT academic_ao FROM table_name_20 WHERE president = \"harm van leeuwen\""
} |
What Social AO has a President of harm van leeuwen? | CREATE TABLE table_name_68 (social_ao VARCHAR, president VARCHAR) | {
"SQL_Query": "SELECT social_ao FROM table_name_68 WHERE president = \"harm van leeuwen\""
} |
Which country has a to par of +2 for Bernhard Langer? | CREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_3 WHERE to_par = \"+2\" AND player = \"bernhard langer\""
} |
Which country has a score of 72 by Andrew Brooks? | CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_41 WHERE score = 72 AND player = \"andrew brooks\""
} |
What is Anders Forsbrand's score with a to par of +1? | CREATE TABLE table_name_64 (score VARCHAR, to_par VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_64 WHERE to_par = \"+1\" AND player = \"anders forsbrand\""
} |
What is the rad number for the dead end in rank 22? | CREATE TABLE table_name_75 (road_number VARCHAR, type VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT road_number FROM table_name_75 WHERE type = \"dead end\" AND rank = \"22\""
} |
What is the name of the dead end type ranked 22? | CREATE TABLE table_name_42 (name VARCHAR, type VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_42 WHERE type = \"dead end\" AND rank = \"22\""
} |
What is the type ranked 13? | CREATE TABLE table_name_6 (type VARCHAR, rank VARCHAR) | {
"SQL_Query": "SELECT type FROM table_name_6 WHERE rank = \"13\""
} |
Who had 1344 points? | CREATE TABLE table_name_79 (name VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT name FROM table_name_79 WHERE points = 1344"
} |
What was the total number of wins that had an against greater than 1136 but losses less than 15 with Ultima with less than 2 byes? | CREATE TABLE table_name_62 (wins INTEGER, byes VARCHAR, golden_rivers VARCHAR, against VARCHAR, losses VARCHAR) | {
"SQL_Query": "SELECT SUM(wins) FROM table_name_62 WHERE against > 1136 AND losses < 15 AND golden_rivers = \"ultima\" AND byes < 2"
} |
What's the average number of wins for those with less than 2 byes? | CREATE TABLE table_name_62 (wins INTEGER, byes INTEGER) | {
"SQL_Query": "SELECT AVG(wins) FROM table_name_62 WHERE byes < 2"
} |
What's the greatest losses for those with more than 13 wins? | CREATE TABLE table_name_20 (losses INTEGER, wins INTEGER) | {
"SQL_Query": "SELECT MAX(losses) FROM table_name_20 WHERE wins > 13"
} |
What was the greatest number of wins for a team that had 7 losses and more than 0 draws? | CREATE TABLE table_name_17 (wins INTEGER, losses VARCHAR, draws VARCHAR) | {
"SQL_Query": "SELECT MAX(wins) FROM table_name_17 WHERE losses = 7 AND draws > 0"
} |
What's the number of byes for someone who had 7 wins and an against number greater than 1412? | CREATE TABLE table_name_85 (byes INTEGER, wins VARCHAR, against VARCHAR) | {
"SQL_Query": "SELECT SUM(byes) FROM table_name_85 WHERE wins = 7 AND against > 1412"
} |
What's the total wins of a team with more than 2 byes? | CREATE TABLE table_name_11 (wins VARCHAR, byes INTEGER) | {
"SQL_Query": "SELECT COUNT(wins) FROM table_name_11 WHERE byes > 2"
} |
Who had a finish of t16? | CREATE TABLE table_name_81 (player VARCHAR, finish VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_81 WHERE finish = \"t16\""
} |
What country is jack nicklaus from? | CREATE TABLE table_name_75 (country VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_75 WHERE player = \"jack nicklaus\""
} |
Who has a total of 272? | CREATE TABLE table_name_46 (player VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_46 WHERE total = 272"
} |
What country won in 1977? | CREATE TABLE table_name_46 (country VARCHAR, year_s__won VARCHAR) | {
"SQL_Query": "SELECT country FROM table_name_46 WHERE year_s__won = \"1977\""
} |
Can you tell me the total number of Draw that has the Artist of de spelbrekers, and the Points smaller than 0? | CREATE TABLE table_name_59 (draw VARCHAR, artist VARCHAR, points VARCHAR) | {
"SQL_Query": "SELECT COUNT(draw) FROM table_name_59 WHERE artist = \"de spelbrekers\" AND points < 0"
} |
Can you tell me the Artist that has the Draw smaller than 16, and the English translation of lullaby? | CREATE TABLE table_name_66 (artist VARCHAR, draw VARCHAR, english_translation VARCHAR) | {
"SQL_Query": "SELECT artist FROM table_name_66 WHERE draw < 16 AND english_translation = \"lullaby\""
} |
Can you tell me the English translation that has the Artist of camillo felgen? | CREATE TABLE table_name_61 (english_translation VARCHAR, artist VARCHAR) | {
"SQL_Query": "SELECT english_translation FROM table_name_61 WHERE artist = \"camillo felgen\""
} |
What is the population of the town with an area larger than 3.09? | CREATE TABLE table_name_59 (population INTEGER, area_km_2 VARCHAR, status VARCHAR) | {
"SQL_Query": "SELECT AVG(population) FROM table_name_59 WHERE area_km_2 > 3.09 AND status = \"town\""
} |
What is the area of the community with a census ranking of 636 of 5,008? | CREATE TABLE table_name_97 (area_km_2 INTEGER, census_ranking VARCHAR) | {
"SQL_Query": "SELECT AVG(area_km_2) FROM table_name_97 WHERE census_ranking = \"636 of 5,008\""
} |
What is the area of drummond village? | CREATE TABLE table_name_45 (area_km_2 INTEGER, status VARCHAR, official_name VARCHAR) | {
"SQL_Query": "SELECT MAX(area_km_2) FROM table_name_45 WHERE status = \"village\" AND official_name = \"drummond\""
} |
What is the status of the community with a census ranking of 2,418 of 5,008? | CREATE TABLE table_name_67 (status VARCHAR, census_ranking VARCHAR) | {
"SQL_Query": "SELECT status FROM table_name_67 WHERE census_ranking = \"2,418 of 5,008\""
} |
What is the area of the village with a census ranking of 1,442 of 5,008 and a population less than 1,778? | CREATE TABLE table_name_92 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR) | {
"SQL_Query": "SELECT MAX(area_km_2) FROM table_name_92 WHERE status = \"village\" AND census_ranking = \"1,442 of 5,008\" AND population < 1 OFFSET 778"
} |
WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151? | CREATE TABLE table_name_86 (year_s__won VARCHAR, to_par VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT year_s__won FROM table_name_86 WHERE to_par < 16 AND total = 151"
} |
WHAT IS THE TOTAL WITH A TO PAR OF 10? | CREATE TABLE table_name_30 (total INTEGER, to_par VARCHAR) | {
"SQL_Query": "SELECT MAX(total) FROM table_name_30 WHERE to_par = 10"
} |
WHAT IS THE PLAYER WITH TOTAL LESS THAN 151, TO PAR OF 8? | CREATE TABLE table_name_41 (player VARCHAR, total VARCHAR, to_par VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_41 WHERE total < 151 AND to_par = 8"
} |
Who is the player who has a total less than 4, no scottish cups, and a league cup greater than 0? | CREATE TABLE table_name_31 (player VARCHAR, league_cup VARCHAR, total VARCHAR, scottish_cup VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_31 WHERE total < 4 AND scottish_cup = 0 AND league_cup > 0"
} |
What is the sum of the scottish cup of the forward player with less than 2 league cups and a total greater than 6? | CREATE TABLE table_name_47 (scottish_cup INTEGER, position VARCHAR, league_cup VARCHAR, total VARCHAR) | {
"SQL_Query": "SELECT SUM(scottish_cup) FROM table_name_47 WHERE league_cup < 2 AND total > 6 AND position = \"forward\""
} |
What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47%, in the poll from October 30, 2005? | CREATE TABLE table_name_47 (kilgore__r_ VARCHAR, date VARCHAR, potts__i_ VARCHAR, kaine__d_ VARCHAR) | {
"SQL_Query": "SELECT kilgore__r_ FROM table_name_47 WHERE potts__i_ = \"4%\" AND kaine__d_ = \"47%\" AND date = \"october 30, 2005\""
} |
On which date did Potts (I) poll at 9%? | CREATE TABLE table_name_92 (date VARCHAR, potts__i_ VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_92 WHERE potts__i_ = \"9%\""
} |
What was Kaine's (D) percentage in the Rasmussen poll on October 24, 2005? | CREATE TABLE table_name_43 (kaine__d_ VARCHAR, source VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT kaine__d_ FROM table_name_43 WHERE source = \"rasmussen\" AND date = \"october 24, 2005\""
} |
What was Kaine's (D) percentage in the poll on October 30, 2005? | CREATE TABLE table_name_55 (kaine__d_ VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT kaine__d_ FROM table_name_55 WHERE date = \"october 30, 2005\""
} |
What was Kilgore's (R) percentage when Potts (I) polled at 1%? | CREATE TABLE table_name_95 (kilgore__r_ VARCHAR, potts__i_ VARCHAR) | {
"SQL_Query": "SELECT kilgore__r_ FROM table_name_95 WHERE potts__i_ = \"1%\""
} |
What was Kaine's (D) percentage in the poll on september 19, 2005? | CREATE TABLE table_name_7 (kaine__d_ VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT kaine__d_ FROM table_name_7 WHERE date = \"september 19, 2005\""
} |
What is To par, when Country is "United States", and when Player is "Jay Haas"? | CREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR) | {
"SQL_Query": "SELECT to_par FROM table_name_85 WHERE country = \"united states\" AND player = \"jay haas\""
} |
What is Player, when Score is "68-67-75-70=280"? | CREATE TABLE table_name_71 (player VARCHAR, score VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_71 WHERE score = 68 - 67 - 75 - 70 = 280"
} |
What is the result of the friendly competition on 23 January 2010? | CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_49 WHERE competition = \"friendly\" AND date = \"23 january 2010\""
} |
What is the venue of the match with a w result on 3 March 2010? | CREATE TABLE table_name_61 (venue VARCHAR, result VARCHAR, date VARCHAR) | {
"SQL_Query": "SELECT venue FROM table_name_61 WHERE result = \"w\" AND date = \"3 march 2010\""
} |
What is the lowest Year, when Notes is "5.19km, 18controls"? | CREATE TABLE table_name_24 (year INTEGER, notes VARCHAR) | {
"SQL_Query": "SELECT MIN(year) FROM table_name_24 WHERE notes = \"5.19km, 18controls\""
} |
What is Notes, when Year is "2010"? | CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT notes FROM table_name_96 WHERE year = 2010"
} |
What winning score has in-kyung kim as the runner(s)-up? | CREATE TABLE table_name_64 (winning_score VARCHAR, runner_s__up VARCHAR) | {
"SQL_Query": "SELECT winning_score FROM table_name_64 WHERE runner_s__up = \"in-kyung kim\""
} |
What winning score has kraft nabisco championship as the tournament? | CREATE TABLE table_name_74 (winning_score VARCHAR, tournament VARCHAR) | {
"SQL_Query": "SELECT winning_score FROM table_name_74 WHERE tournament = \"kraft nabisco championship\""
} |
What Winning constructor has a Name of grand prix de la marne? | CREATE TABLE table_name_97 (winning_constructor VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT winning_constructor FROM table_name_97 WHERE name = \"grand prix de la marne\""
} |
What kind of the Winning driver has a Circuit of saint-raphaël? | CREATE TABLE table_name_11 (winning_driver VARCHAR, circuit VARCHAR) | {
"SQL_Query": "SELECT winning_driver FROM table_name_11 WHERE circuit = \"saint-raphaël\""
} |
Name the Report with Winning constructor of maserati, and a Name of monza grand prix? | CREATE TABLE table_name_28 (report VARCHAR, winning_constructor VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT report FROM table_name_28 WHERE winning_constructor = \"maserati\" AND name = \"monza grand prix\""
} |
Name the Report has a Name of lyon grand prix? | CREATE TABLE table_name_70 (report VARCHAR, name VARCHAR) | {
"SQL_Query": "SELECT report FROM table_name_70 WHERE name = \"lyon grand prix\""
} |
Name the Report which has heinrich-joachim von morgen? | CREATE TABLE table_name_29 (report VARCHAR, winning_driver VARCHAR) | {
"SQL_Query": "SELECT report FROM table_name_29 WHERE winning_driver = \"heinrich-joachim von morgen\""
} |
Which player had a draft before 1975 and before round 6? | CREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6"
} |
What is Score, when Opponent Team is Belgium, and when Opponent is Kirsten Flipkens? | CREATE TABLE table_name_83 (score VARCHAR, opponent_team VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_83 WHERE opponent_team = \"belgium\" AND opponent = \"kirsten flipkens\""
} |
What is Opponent, when Round is World Group? | CREATE TABLE table_name_94 (opponent VARCHAR, round VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_94 WHERE round = \"world group\""
} |
What is Surface, when Edition is 2012, and when Outcome is Winner? | CREATE TABLE table_name_51 (surface VARCHAR, edition VARCHAR, outcome VARCHAR) | {
"SQL_Query": "SELECT surface FROM table_name_51 WHERE edition = 2012 AND outcome = \"winner\""
} |
What is Score, when Outcome is Loser, and when Edition is 2011? | CREATE TABLE table_name_32 (score VARCHAR, outcome VARCHAR, edition VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_32 WHERE outcome = \"loser\" AND edition = 2011"
} |
What is Score, when Edition is 2011, and when Surface is Hard (i)? | CREATE TABLE table_name_37 (score VARCHAR, edition VARCHAR, surface VARCHAR) | {
"SQL_Query": "SELECT score FROM table_name_37 WHERE edition = 2011 AND surface = \"hard (i)\""
} |
What is Round, when Opponent Team is Slovakia, when Outcome is Loser, and when Edition is greater than 2010? | CREATE TABLE table_name_7 (round VARCHAR, edition VARCHAR, opponent_team VARCHAR, outcome VARCHAR) | {
"SQL_Query": "SELECT round FROM table_name_7 WHERE opponent_team = \"slovakia\" AND outcome = \"loser\" AND edition > 2010"
} |
In what Week was the Record 4–7–1? | CREATE TABLE table_name_7 (week INTEGER, record VARCHAR) | {
"SQL_Query": "SELECT MIN(week) FROM table_name_7 WHERE record = \"4–7–1\""
} |
On what Date was the Attendance 63,546? | CREATE TABLE table_name_62 (date VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_62 WHERE attendance = \"63,546\""
} |
In what Week was the Attendance 17,737? | CREATE TABLE table_name_19 (week VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT COUNT(week) FROM table_name_19 WHERE attendance = \"17,737\""
} |
What is the Result of the game after Week 10 against Philadelphia Eagles? | CREATE TABLE table_name_26 (result VARCHAR, week VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT result FROM table_name_26 WHERE week > 10 AND opponent = \"philadelphia eagles\""
} |
What is the Opponent on Week 11? | CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR) | {
"SQL_Query": "SELECT opponent FROM table_name_28 WHERE week = 11"
} |
What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total for the year? | CREATE TABLE table_name_11 (wnba_game_average INTEGER, average VARCHAR, total_for_year VARCHAR) | {
"SQL_Query": "SELECT MAX(wnba_game_average) FROM table_name_11 WHERE average = \"9,290 (4th)\" AND total_for_year < 157 OFFSET 934"
} |
How many years in all was less than 105,005 the total for the year? | CREATE TABLE table_name_59 (year VARCHAR, total_for_year INTEGER) | {
"SQL_Query": "SELECT COUNT(year) FROM table_name_59 WHERE total_for_year < 105 OFFSET 005"
} |
What is the maximum sellouts for the 2008 year, with less than 161,369 total for year? | CREATE TABLE table_name_89 (sellouts INTEGER, year VARCHAR, total_for_year VARCHAR) | {
"SQL_Query": "SELECT MAX(sellouts) FROM table_name_89 WHERE year = 2008 AND total_for_year < 161 OFFSET 369"
} |
What is the highest First Elected, when Party is "Republican", and when District is "Louisiana 7"? | CREATE TABLE table_name_48 (first_elected INTEGER, party VARCHAR, district VARCHAR) | {
"SQL_Query": "SELECT MAX(first_elected) FROM table_name_48 WHERE party = \"republican\" AND district = \"louisiana 7\""
} |
What is Party, when Results is "Re-Elected", and when District is "Louisiana 5"? | CREATE TABLE table_name_76 (party VARCHAR, results VARCHAR, district VARCHAR) | {
"SQL_Query": "SELECT party FROM table_name_76 WHERE results = \"re-elected\" AND district = \"louisiana 5\""
} |
What is Party, when Incumbent is "Rodney Alexander"? | CREATE TABLE table_name_52 (party VARCHAR, incumbent VARCHAR) | {
"SQL_Query": "SELECT party FROM table_name_52 WHERE incumbent = \"rodney alexander\""
} |
What is Results, when First Elected is less than 1988? | CREATE TABLE table_name_93 (results VARCHAR, first_elected INTEGER) | {
"SQL_Query": "SELECT results FROM table_name_93 WHERE first_elected < 1988"
} |
What is Incumbent, when District is "Louisiana 4"? | CREATE TABLE table_name_7 (incumbent VARCHAR, district VARCHAR) | {
"SQL_Query": "SELECT incumbent FROM table_name_7 WHERE district = \"louisiana 4\""
} |
What's the finish for car number 6? | CREATE TABLE table_name_33 (finish VARCHAR, car_number VARCHAR) | {
"SQL_Query": "SELECT finish FROM table_name_33 WHERE car_number = \"6\""
} |
What's the speed rank in 1963? | CREATE TABLE table_name_11 (speed_rank VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT speed_rank FROM table_name_11 WHERE year = \"1963\""
} |
What is the total of Losses with a Result of runner-up, Wins of 1, and a Year smaller than 2006? | CREATE TABLE table_name_50 (losses INTEGER, year VARCHAR, result VARCHAR, wins VARCHAR) | {
"SQL_Query": "SELECT SUM(losses) FROM table_name_50 WHERE result = \"runner-up\" AND wins = 1 AND year < 2006"
} |
What is the smallest Draws with a Result of runner-up, and Losses larger than 1? | CREATE TABLE table_name_60 (draws INTEGER, result VARCHAR, losses VARCHAR) | {
"SQL_Query": "SELECT MIN(draws) FROM table_name_60 WHERE result = \"runner-up\" AND losses > 1"
} |
What is the number of Year with a Result of champions, and Matches larger than 5? | CREATE TABLE table_name_34 (year VARCHAR, result VARCHAR, matches VARCHAR) | {
"SQL_Query": "SELECT COUNT(year) FROM table_name_34 WHERE result = \"champions\" AND matches > 5"
} |
What is the greatest Wins with Losses larger than 1? | CREATE TABLE table_name_48 (wins INTEGER, losses INTEGER) | {
"SQL_Query": "SELECT MAX(wins) FROM table_name_48 WHERE losses > 1"
} |
What is the total number of Year with Wins of 1, and Losses smaller than 1? | CREATE TABLE table_name_93 (year INTEGER, wins VARCHAR, losses VARCHAR) | {
"SQL_Query": "SELECT SUM(year) FROM table_name_93 WHERE wins = 1 AND losses < 1"
} |
What is the greatest Wins with Matches smaller than 5, and a Year of 1994? | CREATE TABLE table_name_26 (wins INTEGER, matches VARCHAR, year VARCHAR) | {
"SQL_Query": "SELECT MAX(wins) FROM table_name_26 WHERE matches < 5 AND year = 1994"
} |
On what date was Motherwell the opponent at Fir Park? | CREATE TABLE table_name_77 (date VARCHAR, opponent VARCHAR, venue VARCHAR) | {
"SQL_Query": "SELECT date FROM table_name_77 WHERE opponent = \"motherwell\" AND venue = \"fir park\""
} |
What is the round at St. Mirren Park with more than 4,555 people attending? | CREATE TABLE table_name_37 (round VARCHAR, venue VARCHAR, attendance VARCHAR) | {
"SQL_Query": "SELECT round FROM table_name_37 WHERE venue = \"st. mirren park\" AND attendance > 4 OFFSET 555"
} |
What's the sum of attendance when banbury united is the away team and tie no is over 102? | CREATE TABLE table_name_62 (attendance INTEGER, away_team VARCHAR, tie_no VARCHAR) | {
"SQL_Query": "SELECT SUM(attendance) FROM table_name_62 WHERE away_team = \"banbury united\" AND tie_no > 102"
} |
What's the sum of tie no for home team burgess hill town? | CREATE TABLE table_name_76 (tie_no INTEGER, home_team VARCHAR) | {
"SQL_Query": "SELECT SUM(tie_no) FROM table_name_76 WHERE home_team = \"burgess hill town\""
} |
What is the highest population of Deuel county's 1,819 households? | CREATE TABLE table_name_22 (population INTEGER, county VARCHAR, number_of_households VARCHAR) | {
"SQL_Query": "SELECT MAX(population) FROM table_name_22 WHERE county = \"deuel\" AND number_of_households < 1 OFFSET 819"
} |
When the venue is away and the opponents are the bracknell bees, what is the competition? | CREATE TABLE table_name_88 (competition VARCHAR, venue VARCHAR, opponent VARCHAR) | {
"SQL_Query": "SELECT competition FROM table_name_88 WHERE venue = \"away\" AND opponent = \"bracknell bees\""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.