context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_136027_2 (district VARCHAR) | SELECT 2002 AS _commission FROM table_136027_2 WHERE district = "district 3" | Who is on the 2002 commission from district 3? | <s>[INST]Who is on the 2002 commission from district 3? Context: CREATE TABLE table_136027_2 (district VARCHAR)[/INST]SELECT 2002 AS _commission FROM table_136027_2 WHERE district = "district 3"</s> |
CREATE TABLE table_name_90 (title VARCHAR, notes VARCHAR) | SELECT title FROM table_name_90 WHERE notes = "8 episodes" | Which title had Notes of 8 episodes? | <s>[INST]Which title had Notes of 8 episodes? Context: CREATE TABLE table_name_90 (title VARCHAR, notes VARCHAR)[/INST]SELECT title FROM table_name_90 WHERE notes = "8 episodes"</s> |
CREATE TABLE table_26200568_16 (points_for INTEGER, club VARCHAR) | SELECT MIN(points_for) FROM table_26200568_16 WHERE club = "Toronto Downtown Dingos" | How many points did the Toronto Downtown Dingos score? | <s>[INST]How many points did the Toronto Downtown Dingos score? Context: CREATE TABLE table_26200568_16 (points_for INTEGER, club VARCHAR)[/INST]SELECT MIN(points_for) FROM table_26200568_16 WHERE club = "Toronto Downtown Dingos"</s> |
CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_91 WHERE date = "april 16" | Who is the opponent on april 16? | <s>[INST]Who is the opponent on april 16? Context: CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_91 WHERE date = "april 16"</s> |
CREATE TABLE table_name_40 (engine VARCHAR, chassis VARCHAR) | SELECT engine FROM table_name_40 WHERE chassis = "mclaren mp4-20" | What engine did the mclaren mp4-20 use? | <s>[INST]What engine did the mclaren mp4-20 use? Context: CREATE TABLE table_name_40 (engine VARCHAR, chassis VARCHAR)[/INST]SELECT engine FROM table_name_40 WHERE chassis = "mclaren mp4-20"</s> |
CREATE TABLE table_name_79 (total_time VARCHAR, navigator VARCHAR) | SELECT total_time FROM table_name_79 WHERE navigator = "vandenberg" | What is the total time of the vehicle having a navigator of Vandenberg? | <s>[INST]What is the total time of the vehicle having a navigator of Vandenberg? Context: CREATE TABLE table_name_79 (total_time VARCHAR, navigator VARCHAR)[/INST]SELECT total_time FROM table_name_79 WHERE navigator = "vandenberg"</s> |
CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR) | SELECT country FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Daniel Abt ( 2012 )" | What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )? | <s>[INST]What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )? Context: CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)[/INST]SELECT country FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Daniel Abt ( 2012 )"</s> |
CREATE TABLE table_name_66 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_66 WHERE home_team = "richmond" | What is the date when Richmond was the home team? | <s>[INST]What is the date when Richmond was the home team? Context: CREATE TABLE table_name_66 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE home_team = "richmond"</s> |
CREATE TABLE table_name_33 (Id VARCHAR) | SELECT AVG(2012) FROM table_name_33 WHERE 2009 < 3.38 | Which 2012 has a 2009 smaller than 3.38? | <s>[INST]Which 2012 has a 2009 smaller than 3.38? Context: CREATE TABLE table_name_33 (Id VARCHAR)[/INST]SELECT AVG(2012) FROM table_name_33 WHERE 2009 < 3.38</s> |
CREATE TABLE table_name_37 (model VARCHAR, top_speed VARCHAR) | SELECT model FROM table_name_37 WHERE top_speed = "231km/h (143mph)" | Which model has a top speed of 231km/h (143mph)? | <s>[INST]Which model has a top speed of 231km/h (143mph)? Context: CREATE TABLE table_name_37 (model VARCHAR, top_speed VARCHAR)[/INST]SELECT model FROM table_name_37 WHERE top_speed = "231km/h (143mph)"</s> |
CREATE TABLE table_1153898_1 (emulated_class VARCHAR, comparisons VARCHAR) | SELECT emulated_class FROM table_1153898_1 WHERE comparisons = "USB RE-Enumeration Required" | Is usb re-enumeration required part of the emulated class? | <s>[INST]Is usb re-enumeration required part of the emulated class? Context: CREATE TABLE table_1153898_1 (emulated_class VARCHAR, comparisons VARCHAR)[/INST]SELECT emulated_class FROM table_1153898_1 WHERE comparisons = "USB RE-Enumeration Required"</s> |
CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR) | SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy" | what is the location when the circuit is lowood circuit and the race is lowood trophy? | <s>[INST]what is the location when the circuit is lowood circuit and the race is lowood trophy? Context: CREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)[/INST]SELECT location FROM table_name_47 WHERE circuit = "lowood circuit" AND race = "lowood trophy"</s> |
CREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR) | SELECT total FROM table_name_16 WHERE score = "3-0" AND set_3 = "25-18" AND set_2 = "25-12" | What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18? | <s>[INST]What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18? Context: CREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR)[/INST]SELECT total FROM table_name_16 WHERE score = "3-0" AND set_3 = "25-18" AND set_2 = "25-12"</s> |
CREATE TABLE table_name_28 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_28 WHERE tie_no = "3" | Which away team has a tie number of 3? | <s>[INST]Which away team has a tie number of 3? Context: CREATE TABLE table_name_28 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_28 WHERE tie_no = "3"</s> |
CREATE TABLE table_name_87 (net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR) | SELECT AVG(net_yards) FROM table_name_87 WHERE touchdowns = 9 AND attempts = 145 AND yards_per_attempt > 4.8 | What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8? | <s>[INST]What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8? Context: CREATE TABLE table_name_87 (net_yards INTEGER, yards_per_attempt VARCHAR, touchdowns VARCHAR, attempts VARCHAR)[/INST]SELECT AVG(net_yards) FROM table_name_87 WHERE touchdowns = 9... |
CREATE TABLE table_name_84 (type VARCHAR, name_of_mill VARCHAR) | SELECT type FROM table_name_84 WHERE name_of_mill = "molen de stud" | What is the Type of Mill at Molen de Stud? | <s>[INST]What is the Type of Mill at Molen de Stud? Context: CREATE TABLE table_name_84 (type VARCHAR, name_of_mill VARCHAR)[/INST]SELECT type FROM table_name_84 WHERE name_of_mill = "molen de stud"</s> |
CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT largest_ethnic_group__2002_ FROM table_2562572_44 WHERE cyrillic_name_other_names = "Банатски Карловац" | What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац? | <s>[INST]What was the largest ethnic group in in the settlement with the cyrillic name банатски карловац? Context: CREATE TABLE table_2562572_44 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)[/INST]SELECT largest_ethnic_group__2002_ FROM table_2562572_44 WHERE cyrillic_name_other_names = "Бана... |
CREATE TABLE table_name_26 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_26 WHERE tournament = "napoli" | What is the Surface of the Court in Napoli? | <s>[INST]What is the Surface of the Court in Napoli? Context: CREATE TABLE table_name_26 (surface VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_26 WHERE tournament = "napoli"</s> |
CREATE TABLE table_name_68 (opponent VARCHAR, november VARCHAR) | SELECT opponent FROM table_name_68 WHERE november = 24 | who is the opponent on november 24? | <s>[INST]who is the opponent on november 24? Context: CREATE TABLE table_name_68 (opponent VARCHAR, november VARCHAR)[/INST]SELECT opponent FROM table_name_68 WHERE november = 24</s> |
CREATE TABLE table_name_15 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_15 WHERE date = "october 1, 1989" | What was the result on October 1, 1989? | <s>[INST]What was the result on October 1, 1989? Context: CREATE TABLE table_name_15 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_15 WHERE date = "october 1, 1989"</s> |
CREATE TABLE table_name_75 (nation VARCHAR, total VARCHAR) | SELECT nation FROM table_name_75 WHERE total = 59 | What was the nation that had 59 totals? | <s>[INST]What was the nation that had 59 totals? Context: CREATE TABLE table_name_75 (nation VARCHAR, total VARCHAR)[/INST]SELECT nation FROM table_name_75 WHERE total = 59</s> |
CREATE TABLE table_name_31 (actor VARCHAR, soap_opera VARCHAR, years VARCHAR) | SELECT actor FROM table_name_31 WHERE soap_opera = "shortland street" AND years = "1993–1999, 2001–2003, 2007, 2009—" | who is the actor for shortland street for the years 1993–1999, 2001–2003, 2007, 2009—? | <s>[INST]who is the actor for shortland street for the years 1993–1999, 2001–2003, 2007, 2009—? Context: CREATE TABLE table_name_31 (actor VARCHAR, soap_opera VARCHAR, years VARCHAR)[/INST]SELECT actor FROM table_name_31 WHERE soap_opera = "shortland street" AND years = "1993–1999, 2001–2003, 2007, 2009—"</s> |
CREATE TABLE table_name_54 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR) | SELECT MAX(viewers__m_) FROM table_name_54 WHERE rating = "1.7" AND episode = "the game of life" | What Viewers (m) has a Rating of 1.7, and an Episode of the game of life? | <s>[INST]What Viewers (m) has a Rating of 1.7, and an Episode of the game of life? Context: CREATE TABLE table_name_54 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR)[/INST]SELECT MAX(viewers__m_) FROM table_name_54 WHERE rating = "1.7" AND episode = "the game of life"</s> |
CREATE TABLE table_27733258_2 (game VARCHAR, high_rebounds VARCHAR) | SELECT COUNT(game) FROM table_27733258_2 WHERE high_rebounds = "Robin Lopez (10)" | How many games had Robin Lopez (10) for the most rebounds? | <s>[INST]How many games had Robin Lopez (10) for the most rebounds? Context: CREATE TABLE table_27733258_2 (game VARCHAR, high_rebounds VARCHAR)[/INST]SELECT COUNT(game) FROM table_27733258_2 WHERE high_rebounds = "Robin Lopez (10)"</s> |
CREATE TABLE table_name_79 (finalists VARCHAR, tournament VARCHAR) | SELECT finalists FROM table_name_79 WHERE tournament = "miami" | What is Finalists, when Tournament is Miami? | <s>[INST]What is Finalists, when Tournament is Miami? Context: CREATE TABLE table_name_79 (finalists VARCHAR, tournament VARCHAR)[/INST]SELECT finalists FROM table_name_79 WHERE tournament = "miami"</s> |
CREATE TABLE table_name_43 (afc_cup VARCHAR, name VARCHAR) | SELECT afc_cup FROM table_name_43 WHERE name = "kenji arai" | Which AFC cup does Kenji Arai have? | <s>[INST]Which AFC cup does Kenji Arai have? Context: CREATE TABLE table_name_43 (afc_cup VARCHAR, name VARCHAR)[/INST]SELECT afc_cup FROM table_name_43 WHERE name = "kenji arai"</s> |
CREATE TABLE table_1745843_6 (class VARCHAR, part_3 VARCHAR) | SELECT COUNT(class) FROM table_1745843_6 WHERE part_3 = "lucon" | How many different classes of verbs are there whose part 3 is lucon? | <s>[INST]How many different classes of verbs are there whose part 3 is lucon? Context: CREATE TABLE table_1745843_6 (class VARCHAR, part_3 VARCHAR)[/INST]SELECT COUNT(class) FROM table_1745843_6 WHERE part_3 = "lucon"</s> |
CREATE TABLE table_name_75 (stadium VARCHAR) | SELECT 2007 AS _08_season FROM table_name_75 WHERE stadium = "stadio silvio piola" | What is the 2007-08 season at Stadio Silvio Piola? | <s>[INST]What is the 2007-08 season at Stadio Silvio Piola? Context: CREATE TABLE table_name_75 (stadium VARCHAR)[/INST]SELECT 2007 AS _08_season FROM table_name_75 WHERE stadium = "stadio silvio piola"</s> |
CREATE TABLE employees (country VARCHAR) | SELECT COUNT(*) FROM employees WHERE country = "Canada" | How many employees are living in Canada? | <s>[INST]How many employees are living in Canada? Context: CREATE TABLE employees (country VARCHAR)[/INST]SELECT COUNT(*) FROM employees WHERE country = "Canada"</s> |
CREATE TABLE table_16729930_11 (fsb VARCHAR, model_number VARCHAR) | SELECT fsb FROM table_16729930_11 WHERE model_number = "Atom Z540" | Name the fsb for atom z540 | <s>[INST]Name the fsb for atom z540 Context: CREATE TABLE table_16729930_11 (fsb VARCHAR, model_number VARCHAR)[/INST]SELECT fsb FROM table_16729930_11 WHERE model_number = "Atom Z540"</s> |
CREATE TABLE table_22871316_11 (high_rebounds VARCHAR, series VARCHAR) | SELECT COUNT(high_rebounds) FROM table_22871316_11 WHERE series = "3-3" | How many high rebounds are in series 3-3? | <s>[INST]How many high rebounds are in series 3-3? Context: CREATE TABLE table_22871316_11 (high_rebounds VARCHAR, series VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_22871316_11 WHERE series = "3-3"</s> |
CREATE TABLE table_17429402_7 (years_of_participation VARCHAR, school VARCHAR) | SELECT years_of_participation FROM table_17429402_7 WHERE school = "Pickerington North" | What are the years of participation for pickerington north? | <s>[INST]What are the years of participation for pickerington north? Context: CREATE TABLE table_17429402_7 (years_of_participation VARCHAR, school VARCHAR)[/INST]SELECT years_of_participation FROM table_17429402_7 WHERE school = "Pickerington North"</s> |
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_53 WHERE home_team = "leatherhead" | What was the away team that played against home team Leatherhead? | <s>[INST]What was the away team that played against home team Leatherhead? Context: CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_53 WHERE home_team = "leatherhead"</s> |
CREATE TABLE table_10706879_3 (name VARCHAR, winning_driver VARCHAR) | SELECT name FROM table_10706879_3 WHERE winning_driver = "Johnny Rutherford" | What are the races that johnny rutherford has won? | <s>[INST]What are the races that johnny rutherford has won? Context: CREATE TABLE table_10706879_3 (name VARCHAR, winning_driver VARCHAR)[/INST]SELECT name FROM table_10706879_3 WHERE winning_driver = "Johnny Rutherford"</s> |
CREATE TABLE table_name_15 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_15 WHERE date = "may 8" | What was the Record on the Date May 8? | <s>[INST]What was the Record on the Date May 8? Context: CREATE TABLE table_name_15 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_15 WHERE date = "may 8"</s> |
CREATE TABLE table_2088_1 (naming VARCHAR, fluency VARCHAR, auditory_comprehension VARCHAR) | SELECT naming FROM table_2088_1 WHERE fluency = "fluent" AND auditory_comprehension = "poor" | Name the naming for fluent and poor comprehension | <s>[INST]Name the naming for fluent and poor comprehension Context: CREATE TABLE table_2088_1 (naming VARCHAR, fluency VARCHAR, auditory_comprehension VARCHAR)[/INST]SELECT naming FROM table_2088_1 WHERE fluency = "fluent" AND auditory_comprehension = "poor"</s> |
CREATE TABLE table_name_63 (name VARCHAR, decile VARCHAR, roll VARCHAR) | SELECT name FROM table_name_63 WHERE decile = "6" AND roll = 93 | Tell me the name with decile of 6 and roll of 93 | <s>[INST]Tell me the name with decile of 6 and roll of 93 Context: CREATE TABLE table_name_63 (name VARCHAR, decile VARCHAR, roll VARCHAR)[/INST]SELECT name FROM table_name_63 WHERE decile = "6" AND roll = 93</s> |
CREATE TABLE table_name_2 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_2 WHERE opponent = "kendall grove" | which Event that has an Opponent of kendall grove? | <s>[INST]which Event that has an Opponent of kendall grove? Context: CREATE TABLE table_name_2 (event VARCHAR, opponent VARCHAR)[/INST]SELECT event FROM table_name_2 WHERE opponent = "kendall grove"</s> |
CREATE TABLE table_name_67 (institution VARCHAR, chief_judge VARCHAR, year VARCHAR, award VARCHAR) | SELECT institution FROM table_name_67 WHERE year > 2007 AND award = "2nd" AND chief_judge = "peter agre" | What institution won 2nd more recently than 2007 with Peter Agre as Chief Judge? | <s>[INST]What institution won 2nd more recently than 2007 with Peter Agre as Chief Judge? Context: CREATE TABLE table_name_67 (institution VARCHAR, chief_judge VARCHAR, year VARCHAR, award VARCHAR)[/INST]SELECT institution FROM table_name_67 WHERE year > 2007 AND award = "2nd" AND chief_judge = "peter agre"</s> |
CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, tournament VARCHAR) | SELECT opponent_in_the_final FROM table_name_8 WHERE tournament = "senegal f2" | Who was the opponent in the final of the Senegal f2 tournament> | <s>[INST]Who was the opponent in the final of the Senegal f2 tournament> Context: CREATE TABLE table_name_8 (opponent_in_the_final VARCHAR, tournament VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_8 WHERE tournament = "senegal f2"</s> |
CREATE TABLE table_name_92 (date VARCHAR, prize VARCHAR) | SELECT date FROM table_name_92 WHERE prize = "$141,426" | What is the Date of the Event with a Prize of $141,426? | <s>[INST]What is the Date of the Event with a Prize of $141,426? Context: CREATE TABLE table_name_92 (date VARCHAR, prize VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE prize = "$141,426"</s> |
CREATE TABLE table_name_79 (lightweight VARCHAR, information_model VARCHAR, flexible VARCHAR) | SELECT lightweight FROM table_name_79 WHERE information_model = "no" AND flexible = "unknown" | What is the lightweight value with no information model and the flexible value is unknown? | <s>[INST]What is the lightweight value with no information model and the flexible value is unknown? Context: CREATE TABLE table_name_79 (lightweight VARCHAR, information_model VARCHAR, flexible VARCHAR)[/INST]SELECT lightweight FROM table_name_79 WHERE information_model = "no" AND flexible = "unknown"</s> |
CREATE TABLE table_1272844_2 (vote VARCHAR, finish VARCHAR) | SELECT vote FROM table_1272844_2 WHERE finish = "10th voted Out 3rd Jury Member Day 30" | What was the vote on the episode where the finish was "10th voted out 3rd jury member day 30"? | <s>[INST]What was the vote on the episode where the finish was "10th voted out 3rd jury member day 30"? Context: CREATE TABLE table_1272844_2 (vote VARCHAR, finish VARCHAR)[/INST]SELECT vote FROM table_1272844_2 WHERE finish = "10th voted Out 3rd Jury Member Day 30"</s> |
CREATE TABLE table_name_80 (draft INTEGER, nationality VARCHAR, player VARCHAR) | SELECT MIN(draft) FROM table_name_80 WHERE nationality = "usa" AND player = "justin martin" | What is the lowest draft of player justin martin from the USA? | <s>[INST]What is the lowest draft of player justin martin from the USA? Context: CREATE TABLE table_name_80 (draft INTEGER, nationality VARCHAR, player VARCHAR)[/INST]SELECT MIN(draft) FROM table_name_80 WHERE nationality = "usa" AND player = "justin martin"</s> |
CREATE TABLE table_name_91 (round INTEGER, school VARCHAR) | SELECT MIN(round) FROM table_name_91 WHERE school = "university of southern california" | What is the earliest round drafted for a University of Southern California player? | <s>[INST]What is the earliest round drafted for a University of Southern California player? Context: CREATE TABLE table_name_91 (round INTEGER, school VARCHAR)[/INST]SELECT MIN(round) FROM table_name_91 WHERE school = "university of southern california"</s> |
CREATE TABLE table_name_34 (pick INTEGER, college VARCHAR) | SELECT AVG(pick) FROM table_name_34 WHERE college = "new mexico" | What is the pick number for New Mexico? | <s>[INST]What is the pick number for New Mexico? Context: CREATE TABLE table_name_34 (pick INTEGER, college VARCHAR)[/INST]SELECT AVG(pick) FROM table_name_34 WHERE college = "new mexico"</s> |
CREATE TABLE table_name_47 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | SELECT MAX(week) FROM table_name_47 WHERE opponent = "cleveland browns" AND attendance > 54 OFFSET 205 | What is the highest week for Cleveland Browns with 54,205 in attendance? | <s>[INST]What is the highest week for Cleveland Browns with 54,205 in attendance? Context: CREATE TABLE table_name_47 (week INTEGER, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT MAX(week) FROM table_name_47 WHERE opponent = "cleveland browns" AND attendance > 54 OFFSET 205</s> |
CREATE TABLE table_name_1 (driver VARCHAR, engine_† VARCHAR) | SELECT driver FROM table_name_1 WHERE engine_† = "mercedes fo110m" | who is the driver when the engine is mercedes fo110m? | <s>[INST]who is the driver when the engine is mercedes fo110m? Context: CREATE TABLE table_name_1 (driver VARCHAR, engine_† VARCHAR)[/INST]SELECT driver FROM table_name_1 WHERE engine_† = "mercedes fo110m"</s> |
CREATE TABLE table_name_92 (year INTEGER, returned_on VARCHAR) | SELECT AVG(year) FROM table_name_92 WHERE returned_on = "march 10, 2013" | Which Year has a Returned On of march 10, 2013? | <s>[INST]Which Year has a Returned On of march 10, 2013? Context: CREATE TABLE table_name_92 (year INTEGER, returned_on VARCHAR)[/INST]SELECT AVG(year) FROM table_name_92 WHERE returned_on = "march 10, 2013"</s> |
CREATE TABLE table_name_79 (team VARCHAR, rider VARCHAR) | SELECT team FROM table_name_79 WHERE rider = "adam barclay" | What team has adam barclay as the rider? | <s>[INST]What team has adam barclay as the rider? Context: CREATE TABLE table_name_79 (team VARCHAR, rider VARCHAR)[/INST]SELECT team FROM table_name_79 WHERE rider = "adam barclay"</s> |
CREATE TABLE table_name_25 (games INTEGER, goals VARCHAR, league VARCHAR, manager VARCHAR) | SELECT MAX(games) FROM table_name_25 WHERE league = "eredivisie" AND manager = "jurrie koolhof" AND goals < 10 | Name the most games for eredivisie when jurrie koolhof is manager when goals are less than 10 | <s>[INST]Name the most games for eredivisie when jurrie koolhof is manager when goals are less than 10 Context: CREATE TABLE table_name_25 (games INTEGER, goals VARCHAR, league VARCHAR, manager VARCHAR)[/INST]SELECT MAX(games) FROM table_name_25 WHERE league = "eredivisie" AND manager = "jurrie koolhof" AND goals < 10<... |
CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR, to_par VARCHAR, score VARCHAR, country VARCHAR) | SELECT place FROM table_name_18 WHERE score > 67 AND country = "united states" AND to_par = "e" AND player = "bunky henry" | When Bunky Henry of the United States scored higher than 67 and his To par was e, what was his place? | <s>[INST]When Bunky Henry of the United States scored higher than 67 and his To par was e, what was his place? Context: CREATE TABLE table_name_18 (place VARCHAR, player VARCHAR, to_par VARCHAR, score VARCHAR, country VARCHAR)[/INST]SELECT place FROM table_name_18 WHERE score > 67 AND country = "united states" AND to_p... |
CREATE TABLE table_name_31 (lane VARCHAR, time VARCHAR, rank VARCHAR) | SELECT COUNT(lane) FROM table_name_31 WHERE time = "1:56.64" AND rank < 7 | What is the lane with a time of 1:56.64, and a tank smaller than 7? | <s>[INST]What is the lane with a time of 1:56.64, and a tank smaller than 7? Context: CREATE TABLE table_name_31 (lane VARCHAR, time VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(lane) FROM table_name_31 WHERE time = "1:56.64" AND rank < 7</s> |
CREATE TABLE table_name_82 (surface VARCHAR, result VARCHAR) | SELECT surface FROM table_name_82 WHERE result = "6–7 (6–7) , 7–6 (9–7) , 6–7 (4–7) , 7–5, 3–6" | What was the surface when the result was 6–7 (6–7) , 7–6 (9–7) , 6–7 (4–7) , 7–5, 3–6? | <s>[INST]What was the surface when the result was 6–7 (6–7) , 7–6 (9–7) , 6–7 (4–7) , 7–5, 3–6? Context: CREATE TABLE table_name_82 (surface VARCHAR, result VARCHAR)[/INST]SELECT surface FROM table_name_82 WHERE result = "6–7 (6–7) , 7–6 (9–7) , 6–7 (4–7) , 7–5, 3–6"</s> |
CREATE TABLE table_name_2 (award VARCHAR, result VARCHAR, year VARCHAR) | SELECT award FROM table_name_2 WHERE result = "nominated" AND year = 2007 | What award was Trent Tesoro nominated for in 2007? | <s>[INST]What award was Trent Tesoro nominated for in 2007? Context: CREATE TABLE table_name_2 (award VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT award FROM table_name_2 WHERE result = "nominated" AND year = 2007</s> |
CREATE TABLE table_name_9 (result VARCHAR, date VARCHAR, opponent VARCHAR, venue VARCHAR) | SELECT result FROM table_name_9 WHERE opponent = "dundee" AND venue = "a" AND date = "6 september 1986" | What was the result when Dundee were the Opponent at Venue A on 6 September 1986? | <s>[INST]What was the result when Dundee were the Opponent at Venue A on 6 September 1986? Context: CREATE TABLE table_name_9 (result VARCHAR, date VARCHAR, opponent VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_9 WHERE opponent = "dundee" AND venue = "a" AND date = "6 september 1986"</s> |
CREATE TABLE table_name_28 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_28 WHERE venue = "corio oval" | What was the average size of the crowd for matches held at Corio Oval? | <s>[INST]What was the average size of the crowd for matches held at Corio Oval? Context: CREATE TABLE table_name_28 (crowd INTEGER, venue VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_28 WHERE venue = "corio oval"</s> |
CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, spent_per_vote___php__ VARCHAR) | SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE spent_per_vote___php__ = "20.07" | What was spent per voter when the spent per vote was 20.07? | <s>[INST]What was spent per voter when the spent per vote was 20.07? Context: CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, spent_per_vote___php__ VARCHAR)[/INST]SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE spent_per_vote___php__ = "20.07"</s> |
CREATE TABLE table_28059992_5 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_28059992_5 WHERE college = "York" | What CFL team got the player from york? | <s>[INST]What CFL team got the player from york? Context: CREATE TABLE table_28059992_5 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT cfl_team FROM table_28059992_5 WHERE college = "York"</s> |
CREATE TABLE table_name_26 (city VARCHAR, prize VARCHAR) | SELECT city FROM table_name_26 WHERE prize = "€880,000" | What is the City, when the Prize is €880,000? | <s>[INST]What is the City, when the Prize is €880,000? Context: CREATE TABLE table_name_26 (city VARCHAR, prize VARCHAR)[/INST]SELECT city FROM table_name_26 WHERE prize = "€880,000"</s> |
CREATE TABLE table_name_35 (Id VARCHAR) | SELECT MAX(2008) FROM table_name_35 WHERE 2009 = 3.4 AND 2005 > 2.9 | What's the 2008 that has 3.4 in 2009 and more than 2.9 in 2005? | <s>[INST]What's the 2008 that has 3.4 in 2009 and more than 2.9 in 2005? Context: CREATE TABLE table_name_35 (Id VARCHAR)[/INST]SELECT MAX(2008) FROM table_name_35 WHERE 2009 = 3.4 AND 2005 > 2.9</s> |
CREATE TABLE table_20726262_3 (no_in_season VARCHAR, writtenby VARCHAR) | SELECT COUNT(no_in_season) FROM table_20726262_3 WHERE writtenby = "Brett Conrad & Liz Sagal" | How many numbers in the season were written by Brett Conrad & Liz Sagal? | <s>[INST]How many numbers in the season were written by Brett Conrad & Liz Sagal? Context: CREATE TABLE table_20726262_3 (no_in_season VARCHAR, writtenby VARCHAR)[/INST]SELECT COUNT(no_in_season) FROM table_20726262_3 WHERE writtenby = "Brett Conrad & Liz Sagal"</s> |
CREATE TABLE table_15261_1 (voltage_range__v_ VARCHAR, clock_multiplier VARCHAR, part_number VARCHAR) | SELECT COUNT(voltage_range__v_) FROM table_15261_1 WHERE clock_multiplier = "3X or 2X mode" AND part_number = "A80486DX4WB-100" | What is the voltage range (v) if the clock multiplier is 3x or 2x mode and part number is a80486dx4wb-100? | <s>[INST]What is the voltage range (v) if the clock multiplier is 3x or 2x mode and part number is a80486dx4wb-100? Context: CREATE TABLE table_15261_1 (voltage_range__v_ VARCHAR, clock_multiplier VARCHAR, part_number VARCHAR)[/INST]SELECT COUNT(voltage_range__v_) FROM table_15261_1 WHERE clock_multiplier = "3X or 2X m... |
CREATE TABLE organizations (organization_id VARCHAR, parent_organization_id VARCHAR) | SELECT organization_id FROM organizations EXCEPT SELECT parent_organization_id FROM organizations | Which organizations are not a parent organization of others? List the organization id. | <s>[INST]Which organizations are not a parent organization of others? List the organization id. Context: CREATE TABLE organizations (organization_id VARCHAR, parent_organization_id VARCHAR)[/INST]SELECT organization_id FROM organizations EXCEPT SELECT parent_organization_id FROM organizations</s> |
CREATE TABLE table_name_60 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR) | SELECT COUNT(area_km_2) FROM table_name_60 WHERE census_ranking = "3,129 of 5,008" AND population < 460 | What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460? | <s>[INST]What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460? Context: CREATE TABLE table_name_60 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)[/INST]SELECT COUNT(area_km_2) FROM table_name_60 WHERE census_ranking = "3,129 of 5,008" AND population < 460<... |
CREATE TABLE table_name_30 (turbo VARCHAR, cores VARCHAR) | SELECT turbo FROM table_name_30 WHERE cores = "standard power" | what is the turbo when the cores is standard power? | <s>[INST]what is the turbo when the cores is standard power? Context: CREATE TABLE table_name_30 (turbo VARCHAR, cores VARCHAR)[/INST]SELECT turbo FROM table_name_30 WHERE cores = "standard power"</s> |
CREATE TABLE table_name_31 (wheels VARCHAR, railway VARCHAR, built VARCHAR, location VARCHAR) | SELECT wheels FROM table_name_31 WHERE built < 1958 AND location = "york" AND railway = "nsr" | Which Wheels has Built smaller than 1958, a Location of york, and a Railway of nsr? | <s>[INST]Which Wheels has Built smaller than 1958, a Location of york, and a Railway of nsr? Context: CREATE TABLE table_name_31 (wheels VARCHAR, railway VARCHAR, built VARCHAR, location VARCHAR)[/INST]SELECT wheels FROM table_name_31 WHERE built < 1958 AND location = "york" AND railway = "nsr"</s> |
CREATE TABLE table_1213511_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR) | SELECT college_junior_club_team FROM table_1213511_5 WHERE nhl_team = "Chicago Black Hawks" | what college has nhl team chicago black hawks? | <s>[INST]what college has nhl team chicago black hawks? Context: CREATE TABLE table_1213511_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT college_junior_club_team FROM table_1213511_5 WHERE nhl_team = "Chicago Black Hawks"</s> |
CREATE TABLE table_name_17 (player VARCHAR, opponent VARCHAR) | SELECT player FROM table_name_17 WHERE opponent = "source: . last updated: 28 june 2007." | What is Player, when Opponent is source: . last updated: 28 june 2007.? | <s>[INST]What is Player, when Opponent is source: . last updated: 28 june 2007.? Context: CREATE TABLE table_name_17 (player VARCHAR, opponent VARCHAR)[/INST]SELECT player FROM table_name_17 WHERE opponent = "source: . last updated: 28 june 2007."</s> |
CREATE TABLE table_18304259_1 (ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR) | SELECT ebit__£m_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "10.6" | Name the ebit for eps being 10.6 | <s>[INST]Name the ebit for eps being 10.6 Context: CREATE TABLE table_18304259_1 (ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR)[/INST]SELECT ebit__£m_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "10.6"</s> |
CREATE TABLE table_name_20 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_20 WHERE score = "113-115 (ot)" | What date has 113-115 (ot) as the score? | <s>[INST]What date has 113-115 (ot) as the score? Context: CREATE TABLE table_name_20 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE score = "113-115 (ot)"</s> |
CREATE TABLE table_name_11 (type VARCHAR, moving_from VARCHAR) | SELECT type FROM table_name_11 WHERE moving_from = "belgrano" | What is the type of the player moving from belgrano? | <s>[INST]What is the type of the player moving from belgrano? Context: CREATE TABLE table_name_11 (type VARCHAR, moving_from VARCHAR)[/INST]SELECT type FROM table_name_11 WHERE moving_from = "belgrano"</s> |
CREATE TABLE table_name_67 (decile VARCHAR, authority VARCHAR, area VARCHAR) | SELECT decile FROM table_name_67 WHERE authority = "state" AND area = "raumati south" | What Decile has State Authority and Raumati South Area? | <s>[INST]What Decile has State Authority and Raumati South Area? Context: CREATE TABLE table_name_67 (decile VARCHAR, authority VARCHAR, area VARCHAR)[/INST]SELECT decile FROM table_name_67 WHERE authority = "state" AND area = "raumati south"</s> |
CREATE TABLE table_name_98 (ihsaa_class VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_98 WHERE school = "crown point" | What is the IHSAA class for Crown Point? | <s>[INST]What is the IHSAA class for Crown Point? Context: CREATE TABLE table_name_98 (ihsaa_class VARCHAR, school VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_98 WHERE school = "crown point"</s> |
CREATE TABLE bank (no_of_customers INTEGER) | SELECT SUM(no_of_customers) FROM bank | How many customers are there? | <s>[INST]How many customers are there? Context: CREATE TABLE bank (no_of_customers INTEGER)[/INST]SELECT SUM(no_of_customers) FROM bank</s> |
CREATE TABLE table_name_55 (status VARCHAR, unit VARCHAR) | SELECT status FROM table_name_55 WHERE unit = "daohugou beds" | Which Status has a Unit of daohugou beds? | <s>[INST]Which Status has a Unit of daohugou beds? Context: CREATE TABLE table_name_55 (status VARCHAR, unit VARCHAR)[/INST]SELECT status FROM table_name_55 WHERE unit = "daohugou beds"</s> |
CREATE TABLE document_sections (document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR) | SELECT t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code GROUP BY t1.document_code ORDER BY COUNT(*) DESC LIMIT 1 | What is the name of the document with the most number of sections? | <s>[INST]What is the name of the document with the most number of sections? Context: CREATE TABLE document_sections (document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR)[/INST]SELECT t1.document_name FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.docu... |
CREATE TABLE table_2538117_2 (type VARCHAR, organization VARCHAR) | SELECT type FROM table_2538117_2 WHERE organization = "Sigma Phi Omega" | what type of organization is sigma phi omega? | <s>[INST]what type of organization is sigma phi omega? Context: CREATE TABLE table_2538117_2 (type VARCHAR, organization VARCHAR)[/INST]SELECT type FROM table_2538117_2 WHERE organization = "Sigma Phi Omega"</s> |
CREATE TABLE table_name_35 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_35 WHERE away_team = "peterborough united" | What was the tie number when peterborough united was the away team? | <s>[INST]What was the tie number when peterborough united was the away team? Context: CREATE TABLE table_name_35 (tie_no VARCHAR, away_team VARCHAR)[/INST]SELECT tie_no FROM table_name_35 WHERE away_team = "peterborough united"</s> |
CREATE TABLE table_name_54 (total INTEGER, nation VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_54 WHERE nation = "thailand" AND gold < 17 | What is the average total with a nation of thailand with a gold smaller than 17? | <s>[INST]What is the average total with a nation of thailand with a gold smaller than 17? Context: CREATE TABLE table_name_54 (total INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT AVG(total) FROM table_name_54 WHERE nation = "thailand" AND gold < 17</s> |
CREATE TABLE table_name_68 (recnet VARCHAR, city_of_license VARCHAR) | SELECT recnet FROM table_name_68 WHERE city_of_license = "peterborough" | what is the recnet when the city of license is peterborough? | <s>[INST]what is the recnet when the city of license is peterborough? Context: CREATE TABLE table_name_68 (recnet VARCHAR, city_of_license VARCHAR)[/INST]SELECT recnet FROM table_name_68 WHERE city_of_license = "peterborough"</s> |
CREATE TABLE table_13606924_1 (kerry__number INTEGER, bush__percentage VARCHAR) | SELECT MIN(kerry__number) FROM table_13606924_1 WHERE bush__percentage = "78.40%" | what is the minimum kerry # with bush % being 78.40% | <s>[INST]what is the minimum kerry # with bush % being 78.40% Context: CREATE TABLE table_13606924_1 (kerry__number INTEGER, bush__percentage VARCHAR)[/INST]SELECT MIN(kerry__number) FROM table_13606924_1 WHERE bush__percentage = "78.40%"</s> |
CREATE TABLE table_name_24 (on_demand VARCHAR, free_or_pay VARCHAR, provider VARCHAR) | SELECT on_demand FROM table_name_24 WHERE free_or_pay = "free" AND provider = "freesat" | Which On demandhas a Free or pay of free and a Provider of freesat? | <s>[INST]Which On demandhas a Free or pay of free and a Provider of freesat? Context: CREATE TABLE table_name_24 (on_demand VARCHAR, free_or_pay VARCHAR, provider VARCHAR)[/INST]SELECT on_demand FROM table_name_24 WHERE free_or_pay = "free" AND provider = "freesat"</s> |
CREATE TABLE table_name_94 (losses VARCHAR, total VARCHAR, wins VARCHAR) | SELECT COUNT(losses) FROM table_name_94 WHERE total = 17 AND wins > 10 | How many losses had a total of 17 and more than 10 wins? | <s>[INST]How many losses had a total of 17 and more than 10 wins? Context: CREATE TABLE table_name_94 (losses VARCHAR, total VARCHAR, wins VARCHAR)[/INST]SELECT COUNT(losses) FROM table_name_94 WHERE total = 17 AND wins > 10</s> |
CREATE TABLE swimmer (name VARCHAR, meter_100 VARCHAR) | SELECT name FROM swimmer ORDER BY meter_100 | Find the names of all swimmers, sorted by their 100 meter scores in ascending order. | <s>[INST]Find the names of all swimmers, sorted by their 100 meter scores in ascending order. Context: CREATE TABLE swimmer (name VARCHAR, meter_100 VARCHAR)[/INST]SELECT name FROM swimmer ORDER BY meter_100</s> |
CREATE TABLE table_18012738_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR) | SELECT COUNT(directed_by) FROM table_18012738_1 WHERE uk_viewers__million_ = "6.86" | Name the total number directed by for uk viewers being 6.86 | <s>[INST]Name the total number directed by for uk viewers being 6.86 Context: CREATE TABLE table_18012738_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_18012738_1 WHERE uk_viewers__million_ = "6.86"</s> |
CREATE TABLE table_name_20 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_20 WHERE record = "35-46" | What was the attendance at the game when the record was 35-46? | <s>[INST]What was the attendance at the game when the record was 35-46? Context: CREATE TABLE table_name_20 (attendance VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_20 WHERE record = "35-46"</s> |
CREATE TABLE table_name_7 (year INTEGER, location VARCHAR) | SELECT SUM(year) FROM table_name_7 WHERE location = "beijing" | For how many years was the location at Beijing? | <s>[INST]For how many years was the location at Beijing? Context: CREATE TABLE table_name_7 (year INTEGER, location VARCHAR)[/INST]SELECT SUM(year) FROM table_name_7 WHERE location = "beijing"</s> |
CREATE TABLE table_name_79 (points INTEGER, year VARCHAR) | SELECT SUM(points) FROM table_name_79 WHERE year = 1991 | Name the sum of points for 1991 | <s>[INST]Name the sum of points for 1991 Context: CREATE TABLE table_name_79 (points INTEGER, year VARCHAR)[/INST]SELECT SUM(points) FROM table_name_79 WHERE year = 1991</s> |
CREATE TABLE table_name_14 (condition VARCHAR, partial_thromboplastin_time VARCHAR) | SELECT condition FROM table_name_14 WHERE partial_thromboplastin_time = "prolonged or unaffected" | Name the condition with partial thromboplastin time of prolonged or unaffected | <s>[INST]Name the condition with partial thromboplastin time of prolonged or unaffected Context: CREATE TABLE table_name_14 (condition VARCHAR, partial_thromboplastin_time VARCHAR)[/INST]SELECT condition FROM table_name_14 WHERE partial_thromboplastin_time = "prolonged or unaffected"</s> |
CREATE TABLE table_name_32 (total_passengers__millions__2011_12 INTEGER, annual_entry_exit__millions__2011_12 VARCHAR) | SELECT MIN(total_passengers__millions__2011_12) FROM table_name_32 WHERE annual_entry_exit__millions__2011_12 = 36.609 | What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609? | <s>[INST]What's the lowest number of total passengers (millions) for an annual entry/exit of 36.609? Context: CREATE TABLE table_name_32 (total_passengers__millions__2011_12 INTEGER, annual_entry_exit__millions__2011_12 VARCHAR)[/INST]SELECT MIN(total_passengers__millions__2011_12) FROM table_name_32 WHERE annual_entry... |
CREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR) | SELECT MAX(wins) FROM table_name_82 WHERE cuts_made = 1 AND top_25 < 1 AND events < 2 | What is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has? | <s>[INST]What is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has? Context: CREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)[/INST]SELECT MAX(wins) FROM table_name_82 WHERE cuts_made = 1 AND top_25 < 1 AND events < 2</... |
CREATE TABLE table_12962773_10 (no VARCHAR, height VARCHAR) | SELECT no FROM table_12962773_10 WHERE height = "2.10" | Which player number is 2.10 meters tall? | <s>[INST]Which player number is 2.10 meters tall? Context: CREATE TABLE table_12962773_10 (no VARCHAR, height VARCHAR)[/INST]SELECT no FROM table_12962773_10 WHERE height = "2.10"</s> |
CREATE TABLE table_name_53 (place VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT place FROM table_name_53 WHERE to_par = "–2" AND player = "bernhard langer" | WHich Place has a To par of –2, and a Player of bernhard langer? | <s>[INST]WHich Place has a To par of –2, and a Player of bernhard langer? Context: CREATE TABLE table_name_53 (place VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_53 WHERE to_par = "–2" AND player = "bernhard langer"</s> |
CREATE TABLE table_name_40 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_40 WHERE tie_no = "7" | What is the name of the away team with a Tie no of 7? | <s>[INST]What is the name of the away team with a Tie no of 7? Context: CREATE TABLE table_name_40 (away_team VARCHAR, tie_no VARCHAR)[/INST]SELECT away_team FROM table_name_40 WHERE tie_no = "7"</s> |
CREATE TABLE stadium (country VARCHAR) | SELECT COUNT(*) FROM stadium WHERE country <> 'Russia' | How many stadiums are not in country "Russia"? | <s>[INST]How many stadiums are not in country "Russia"? Context: CREATE TABLE stadium (country VARCHAR)[/INST]SELECT COUNT(*) FROM stadium WHERE country <> 'Russia'</s> |
CREATE TABLE table_12792876_4 (losing_bonus VARCHAR, points VARCHAR) | SELECT losing_bonus FROM table_12792876_4 WHERE points = "96" | Name the losing bonus of 96 points | <s>[INST]Name the losing bonus of 96 points Context: CREATE TABLE table_12792876_4 (losing_bonus VARCHAR, points VARCHAR)[/INST]SELECT losing_bonus FROM table_12792876_4 WHERE points = "96"</s> |
CREATE TABLE table_12962773_1 (current_club VARCHAR, player VARCHAR) | SELECT current_club FROM table_12962773_1 WHERE player = "Nikolaos Chatzivrettas" | what's current club with player being nikolaos chatzivrettas | <s>[INST]what's current club with player being nikolaos chatzivrettas Context: CREATE TABLE table_12962773_1 (current_club VARCHAR, player VARCHAR)[/INST]SELECT current_club FROM table_12962773_1 WHERE player = "Nikolaos Chatzivrettas"</s> |
CREATE TABLE table_name_26 (conference VARCHAR, school VARCHAR) | SELECT conference FROM table_name_26 WHERE school = "wichita state" | What conference has the Wichita State school? | <s>[INST]What conference has the Wichita State school? Context: CREATE TABLE table_name_26 (conference VARCHAR, school VARCHAR)[/INST]SELECT conference FROM table_name_26 WHERE school = "wichita state"</s> |
CREATE TABLE table_name_6 (winning_driver VARCHAR, name VARCHAR) | SELECT winning_driver FROM table_name_6 WHERE name = "kraco twin 125 (r2)" | Who was Kraco Twin 125 (R2)'s Winning Driver? | <s>[INST]Who was Kraco Twin 125 (R2)'s Winning Driver? Context: CREATE TABLE table_name_6 (winning_driver VARCHAR, name VARCHAR)[/INST]SELECT winning_driver FROM table_name_6 WHERE name = "kraco twin 125 (r2)"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.