context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_44 WHERE player = "sophie gustafson" | What was the score for a match where Sophie Gustafson played? | <s>[INST]What was the score for a match where Sophie Gustafson played? Context: CREATE TABLE table_name_44 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_44 WHERE player = "sophie gustafson"</s> |
CREATE TABLE table_name_88 (proofs VARCHAR, software VARCHAR) | SELECT proofs FROM table_name_88 WHERE software = "tabulae" | Are there proofs in the Tabulae software? | <s>[INST]Are there proofs in the Tabulae software? Context: CREATE TABLE table_name_88 (proofs VARCHAR, software VARCHAR)[/INST]SELECT proofs FROM table_name_88 WHERE software = "tabulae"</s> |
CREATE TABLE table_name_86 (player VARCHAR, round VARCHAR, college_junior_club_team VARCHAR) | SELECT player FROM table_name_86 WHERE round < 6 AND college_junior_club_team = "hull olympiques (qmjhl)" | Can you tell me the Player that has the Round smaller than 6, and the College/Junior/Club Team of hull olympiques (qmjhl)? | <s>[INST]Can you tell me the Player that has the Round smaller than 6, and the College/Junior/Club Team of hull olympiques (qmjhl)? Context: CREATE TABLE table_name_86 (player VARCHAR, round VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT player FROM table_name_86 WHERE round < 6 AND college_junior_club_team = ... |
CREATE TABLE table_name_31 (result VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_31 WHERE week > 7 AND attendance = "66,251" | Where week is greater than 7 and attendance is 66,251 what is the result? | <s>[INST]Where week is greater than 7 and attendance is 66,251 what is the result? Context: CREATE TABLE table_name_31 (result VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_31 WHERE week > 7 AND attendance = "66,251"</s> |
CREATE TABLE table_name_34 (points VARCHAR, races VARCHAR) | SELECT points FROM table_name_34 WHERE races = "7" | What was the points with 7 races? | <s>[INST]What was the points with 7 races? Context: CREATE TABLE table_name_34 (points VARCHAR, races VARCHAR)[/INST]SELECT points FROM table_name_34 WHERE races = "7"</s> |
CREATE TABLE table_name_64 (county VARCHAR, opposition VARCHAR) | SELECT county FROM table_name_64 WHERE opposition = "offaly" | Which County has an Opposition of offaly? | <s>[INST]Which County has an Opposition of offaly? Context: CREATE TABLE table_name_64 (county VARCHAR, opposition VARCHAR)[/INST]SELECT county FROM table_name_64 WHERE opposition = "offaly"</s> |
CREATE TABLE table_name_94 (home VARCHAR, away VARCHAR) | SELECT home FROM table_name_94 WHERE away = "toronto rebels" | What is the Home with an Away that is toronto rebels? | <s>[INST]What is the Home with an Away that is toronto rebels? Context: CREATE TABLE table_name_94 (home VARCHAR, away VARCHAR)[/INST]SELECT home FROM table_name_94 WHERE away = "toronto rebels"</s> |
CREATE TABLE table_11695215_1 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_11695215_1 WHERE written_by = "John A. Norris" | What episode was writted by John A. Norris? | <s>[INST]What episode was writted by John A. Norris? Context: CREATE TABLE table_11695215_1 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_11695215_1 WHERE written_by = "John A. Norris"</s> |
CREATE TABLE table_name_71 (finish VARCHAR, start VARCHAR) | SELECT finish FROM table_name_71 WHERE start = "22" | When the start is 22, what is the finish? | <s>[INST]When the start is 22, what is the finish? Context: CREATE TABLE table_name_71 (finish VARCHAR, start VARCHAR)[/INST]SELECT finish FROM table_name_71 WHERE start = "22"</s> |
CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR) | SELECT height__ft_ FROM table_13463790_2 WHERE name = "52-54 Lime Street" | what's the height (ft) with name being 52-54 lime street | <s>[INST]what's the height (ft) with name being 52-54 lime street Context: CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR)[/INST]SELECT height__ft_ FROM table_13463790_2 WHERE name = "52-54 Lime Street"</s> |
CREATE TABLE table_name_17 (to_par VARCHAR, total VARCHAR) | SELECT COUNT(to_par) FROM table_name_17 WHERE total = 157 | How many strokes off par was the player who scored 157? | <s>[INST]How many strokes off par was the player who scored 157? Context: CREATE TABLE table_name_17 (to_par VARCHAR, total VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_name_17 WHERE total = 157</s> |
CREATE TABLE table_name_46 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_46 WHERE score = 70 - 66 - 67 = 203 | What is the place of the player with a 70-66-67=203 score? | <s>[INST]What is the place of the player with a 70-66-67=203 score? Context: CREATE TABLE table_name_46 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_46 WHERE score = 70 - 66 - 67 = 203</s> |
CREATE TABLE table_name_17 (nomination VARCHAR, country VARCHAR) | SELECT nomination FROM table_name_17 WHERE country = "ukraine" | Tell me the nomination for ukraine | <s>[INST]Tell me the nomination for ukraine Context: CREATE TABLE table_name_17 (nomination VARCHAR, country VARCHAR)[/INST]SELECT nomination FROM table_name_17 WHERE country = "ukraine"</s> |
CREATE TABLE table_25818630_1 (affiliation VARCHAR, candidate VARCHAR) | SELECT affiliation FROM table_25818630_1 WHERE candidate = "Daren Ireland" | What is every affiliation for candidate Daren Ireland? | <s>[INST]What is every affiliation for candidate Daren Ireland? Context: CREATE TABLE table_25818630_1 (affiliation VARCHAR, candidate VARCHAR)[/INST]SELECT affiliation FROM table_25818630_1 WHERE candidate = "Daren Ireland"</s> |
CREATE TABLE table_29753553_1 (year VARCHAR, sar_no VARCHAR) | SELECT year FROM table_29753553_1 WHERE sar_no = 874 | For what year is the SAR no. 874? | <s>[INST]For what year is the SAR no. 874? Context: CREATE TABLE table_29753553_1 (year VARCHAR, sar_no VARCHAR)[/INST]SELECT year FROM table_29753553_1 WHERE sar_no = 874</s> |
CREATE TABLE table_name_44 (viewers VARCHAR, order VARCHAR) | SELECT AVG(18 AS _49) FROM table_name_44 WHERE viewers < 3.5 AND order > 35 | What is the average 18-49 for the episode that had an order number higher than 35 and less than 3.5 viewers? | <s>[INST]What is the average 18-49 for the episode that had an order number higher than 35 and less than 3.5 viewers? Context: CREATE TABLE table_name_44 (viewers VARCHAR, order VARCHAR)[/INST]SELECT AVG(18 AS _49) FROM table_name_44 WHERE viewers < 3.5 AND order > 35</s> |
CREATE TABLE table_name_88 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_88 WHERE catalog = "0-6700-30838-2-9" | What date has 0-6700-30838-2-9 for a catalog? | <s>[INST]What date has 0-6700-30838-2-9 for a catalog? Context: CREATE TABLE table_name_88 (date VARCHAR, catalog VARCHAR)[/INST]SELECT date FROM table_name_88 WHERE catalog = "0-6700-30838-2-9"</s> |
CREATE TABLE table_1566848_7 (pictorials VARCHAR, centerfold_model VARCHAR) | SELECT COUNT(pictorials) FROM table_1566848_7 WHERE centerfold_model = "Rebekka Armstrong" | Who were all the pictorials when the centerfold model was Rebekka Armstrong? | <s>[INST]Who were all the pictorials when the centerfold model was Rebekka Armstrong? Context: CREATE TABLE table_1566848_7 (pictorials VARCHAR, centerfold_model VARCHAR)[/INST]SELECT COUNT(pictorials) FROM table_1566848_7 WHERE centerfold_model = "Rebekka Armstrong"</s> |
CREATE TABLE table_name_75 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR) | SELECT tournament FROM table_name_75 WHERE surface = "hard" AND finalist = "jan-michael gambill (19)" | Where was the tournament where the match was on a hard surface and jan-michael gambill (19) was the finalist? | <s>[INST]Where was the tournament where the match was on a hard surface and jan-michael gambill (19) was the finalist? Context: CREATE TABLE table_name_75 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR)[/INST]SELECT tournament FROM table_name_75 WHERE surface = "hard" AND finalist = "jan-michael gambill (19)"</... |
CREATE TABLE table_name_90 (name VARCHAR, round VARCHAR, circuit VARCHAR) | SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone" | Who won Silverstone in a round after 10? | <s>[INST]Who won Silverstone in a round after 10? Context: CREATE TABLE table_name_90 (name VARCHAR, round VARCHAR, circuit VARCHAR)[/INST]SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone"</s> |
CREATE TABLE table_name_66 (stadium VARCHAR, club VARCHAR) | SELECT stadium FROM table_name_66 WHERE club = "f.c. igea virtus barcellona" | What's the name of the stadium when the club was F.C. Igea Virtus Barcellona? | <s>[INST]What's the name of the stadium when the club was F.C. Igea Virtus Barcellona? Context: CREATE TABLE table_name_66 (stadium VARCHAR, club VARCHAR)[/INST]SELECT stadium FROM table_name_66 WHERE club = "f.c. igea virtus barcellona"</s> |
CREATE TABLE table_2263674_1 (romanised_name VARCHAR, portfolio VARCHAR) | SELECT romanised_name FROM table_2263674_1 WHERE portfolio = "Secretary for Health, Welfare and Food" | What's the romanised name of the official who was Secretary for health, welfare and food? | <s>[INST]What's the romanised name of the official who was Secretary for health, welfare and food? Context: CREATE TABLE table_2263674_1 (romanised_name VARCHAR, portfolio VARCHAR)[/INST]SELECT romanised_name FROM table_2263674_1 WHERE portfolio = "Secretary for Health, Welfare and Food"</s> |
CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR) | SELECT attendance FROM table_13258806_2 WHERE result = "W 24-20" | What was the attendance at the game that resulted in w 24-20? | <s>[INST]What was the attendance at the game that resulted in w 24-20? Context: CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_13258806_2 WHERE result = "W 24-20"</s> |
CREATE TABLE table_name_59 (winner VARCHAR, runner_up VARCHAR, country VARCHAR) | SELECT winner FROM table_name_59 WHERE runner_up = "kimberly kim" AND country = "united states" | Who was the winner from the United States the year Kimberly Kim was runner-up? | <s>[INST]Who was the winner from the United States the year Kimberly Kim was runner-up? Context: CREATE TABLE table_name_59 (winner VARCHAR, runner_up VARCHAR, country VARCHAR)[/INST]SELECT winner FROM table_name_59 WHERE runner_up = "kimberly kim" AND country = "united states"</s> |
CREATE TABLE table_name_20 (result VARCHAR, group VARCHAR, venue VARCHAR) | SELECT result FROM table_name_20 WHERE group = "g1" AND venue = "moonee valley" | What was the result of the race that had a group of G1 at Moonee Valley? | <s>[INST]What was the result of the race that had a group of G1 at Moonee Valley? Context: CREATE TABLE table_name_20 (result VARCHAR, group VARCHAR, venue VARCHAR)[/INST]SELECT result FROM table_name_20 WHERE group = "g1" AND venue = "moonee valley"</s> |
CREATE TABLE table_18018214_1 (position INTEGER, draws VARCHAR) | SELECT MAX(position) FROM table_18018214_1 WHERE draws = 7 | What is the highest position a team with 7 draws earned? | <s>[INST]What is the highest position a team with 7 draws earned? Context: CREATE TABLE table_18018214_1 (position INTEGER, draws VARCHAR)[/INST]SELECT MAX(position) FROM table_18018214_1 WHERE draws = 7</s> |
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR, commission_pct VARCHAR) | SELECT first_name, last_name, salary FROM employees WHERE commission_pct = "null" | What are the full name (first and last name) and salary for all employees who does not have any value for commission? | <s>[INST]What are the full name (first and last name) and salary for all employees who does not have any value for commission? Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR, commission_pct VARCHAR)[/INST]SELECT first_name, last_name, salary FROM employees WHERE commission_pct = ... |
CREATE TABLE HOTELS (price_range INTEGER, star_rating_code VARCHAR, pets_allowed_yn VARCHAR) | SELECT AVG(price_range) FROM HOTELS WHERE star_rating_code = "5" AND pets_allowed_yn = 1 | Show the average price range of hotels that have 5 star ratings and allow pets. | <s>[INST]Show the average price range of hotels that have 5 star ratings and allow pets. Context: CREATE TABLE HOTELS (price_range INTEGER, star_rating_code VARCHAR, pets_allowed_yn VARCHAR)[/INST]SELECT AVG(price_range) FROM HOTELS WHERE star_rating_code = "5" AND pets_allowed_yn = 1</s> |
CREATE TABLE table_name_90 (second VARCHAR, lead VARCHAR) | SELECT second FROM table_name_90 WHERE lead = "michel gribi" | Who is the Second when Michel Gribi is the lead? | <s>[INST]Who is the Second when Michel Gribi is the lead? Context: CREATE TABLE table_name_90 (second VARCHAR, lead VARCHAR)[/INST]SELECT second FROM table_name_90 WHERE lead = "michel gribi"</s> |
CREATE TABLE table_name_26 (division VARCHAR, position VARCHAR) | SELECT division FROM table_name_26 WHERE position = "6th" | Which Division has a Position of 6th? | <s>[INST]Which Division has a Position of 6th? Context: CREATE TABLE table_name_26 (division VARCHAR, position VARCHAR)[/INST]SELECT division FROM table_name_26 WHERE position = "6th"</s> |
CREATE TABLE table_14532_1 (area__km²_ INTEGER, region VARCHAR) | SELECT MAX(area__km²_) FROM table_14532_1 WHERE region = "Tuscany" | What is the area of Tuscany? | <s>[INST]What is the area of Tuscany? Context: CREATE TABLE table_14532_1 (area__km²_ INTEGER, region VARCHAR)[/INST]SELECT MAX(area__km²_) FROM table_14532_1 WHERE region = "Tuscany"</s> |
CREATE TABLE table_name_1 (character VARCHAR, result VARCHAR, year VARCHAR) | SELECT character FROM table_name_1 WHERE result = "won" AND year > 2003 | Which characters after 2003 won? | <s>[INST]Which characters after 2003 won? Context: CREATE TABLE table_name_1 (character VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT character FROM table_name_1 WHERE result = "won" AND year > 2003</s> |
CREATE TABLE table_name_4 (network VARCHAR, games VARCHAR, title VARCHAR) | SELECT network FROM table_name_4 WHERE games = "unknown" AND title = "hvem kan slå ylvis hvem kan slå aamodt & kjus" | Which network had unknown games and a title of hvem kan slå ylvis hvem kan slå aamodt & kjus? | <s>[INST]Which network had unknown games and a title of hvem kan slå ylvis hvem kan slå aamodt & kjus? Context: CREATE TABLE table_name_4 (network VARCHAR, games VARCHAR, title VARCHAR)[/INST]SELECT network FROM table_name_4 WHERE games = "unknown" AND title = "hvem kan slå ylvis hvem kan slå aamodt & kjus"</s> |
CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR) | SELECT railway FROM table_15608800_2 WHERE class = "J15" | Name the railway when class is j15 | <s>[INST]Name the railway when class is j15 Context: CREATE TABLE table_15608800_2 (railway VARCHAR, class VARCHAR)[/INST]SELECT railway FROM table_15608800_2 WHERE class = "J15"</s> |
CREATE TABLE table_1341930_33 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341930_33 WHERE district = "North Carolina 6" | what's the incumbent with district being north carolina 6 | <s>[INST]what's the incumbent with district being north carolina 6 Context: CREATE TABLE table_1341930_33 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341930_33 WHERE district = "North Carolina 6"</s> |
CREATE TABLE table_28019988_5 (series__number INTEGER, production_code VARCHAR) | SELECT MIN(series__number) FROM table_28019988_5 WHERE production_code = "BDF405" | What episode number in the series had a production code of bdf405? | <s>[INST]What episode number in the series had a production code of bdf405? Context: CREATE TABLE table_28019988_5 (series__number INTEGER, production_code VARCHAR)[/INST]SELECT MIN(series__number) FROM table_28019988_5 WHERE production_code = "BDF405"</s> |
CREATE TABLE table_1108394_43 (brooklyn VARCHAR, queens VARCHAR) | SELECT brooklyn FROM table_1108394_43 WHERE queens = "16.8_percentage" | what's the brooklyn with queens value of 16.8% | <s>[INST]what's the brooklyn with queens value of 16.8% Context: CREATE TABLE table_1108394_43 (brooklyn VARCHAR, queens VARCHAR)[/INST]SELECT brooklyn FROM table_1108394_43 WHERE queens = "16.8_percentage"</s> |
CREATE TABLE table_name_50 (laps INTEGER, driver VARCHAR) | SELECT AVG(laps) FROM table_name_50 WHERE driver = "piero taruffi" | What is the average number of laps for the driver Piero Taruffi? | <s>[INST]What is the average number of laps for the driver Piero Taruffi? Context: CREATE TABLE table_name_50 (laps INTEGER, driver VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_50 WHERE driver = "piero taruffi"</s> |
CREATE TABLE table_30018460_1 (manhunt_international VARCHAR, country_territory VARCHAR) | SELECT manhunt_international FROM table_30018460_1 WHERE country_territory = "France" | How many manhunt beauty contets have been held in france? | <s>[INST]How many manhunt beauty contets have been held in france? Context: CREATE TABLE table_30018460_1 (manhunt_international VARCHAR, country_territory VARCHAR)[/INST]SELECT manhunt_international FROM table_30018460_1 WHERE country_territory = "France"</s> |
CREATE TABLE table_name_36 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_36 WHERE date = "june 20" | What were the high points on june 20? | <s>[INST]What were the high points on june 20? Context: CREATE TABLE table_name_36 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_name_36 WHERE date = "june 20"</s> |
CREATE TABLE table_name_27 (december VARCHAR, score VARCHAR) | SELECT december FROM table_name_27 WHERE score = "8 - 1" | Score of 8 - 1 happened on what day in December? | <s>[INST]Score of 8 - 1 happened on what day in December? Context: CREATE TABLE table_name_27 (december VARCHAR, score VARCHAR)[/INST]SELECT december FROM table_name_27 WHERE score = "8 - 1"</s> |
CREATE TABLE table_name_7 (total_area VARCHAR, in_state_area VARCHAR) | SELECT total_area FROM table_name_7 WHERE in_state_area = "053 1,654km 2 639mi 2" | With an in-state area of 053 1,654km 2 639mi 2, what is the total area? | <s>[INST]With an in-state area of 053 1,654km 2 639mi 2, what is the total area? Context: CREATE TABLE table_name_7 (total_area VARCHAR, in_state_area VARCHAR)[/INST]SELECT total_area FROM table_name_7 WHERE in_state_area = "053 1,654km 2 639mi 2"</s> |
CREATE TABLE table_1137718_2 (fastest_lap VARCHAR, grand_prix VARCHAR) | SELECT fastest_lap FROM table_1137718_2 WHERE grand_prix = "Mexican grand_prix" | What was the fastest lap at the Mexican Grand Prix? | <s>[INST]What was the fastest lap at the Mexican Grand Prix? Context: CREATE TABLE table_1137718_2 (fastest_lap VARCHAR, grand_prix VARCHAR)[/INST]SELECT fastest_lap FROM table_1137718_2 WHERE grand_prix = "Mexican grand_prix"</s> |
CREATE TABLE table_1341568_14 (district VARCHAR, elected VARCHAR) | SELECT district FROM table_1341568_14 WHERE elected = 1964 | What district had elections in 1964? | <s>[INST]What district had elections in 1964? Context: CREATE TABLE table_1341568_14 (district VARCHAR, elected VARCHAR)[/INST]SELECT district FROM table_1341568_14 WHERE elected = 1964</s> |
CREATE TABLE table_name_65 (episodes INTEGER, last_airdate VARCHAR) | SELECT AVG(episodes) FROM table_name_65 WHERE last_airdate = "april 29, 1986" | How many episodes were in the season that ended on April 29, 1986? | <s>[INST]How many episodes were in the season that ended on April 29, 1986? Context: CREATE TABLE table_name_65 (episodes INTEGER, last_airdate VARCHAR)[/INST]SELECT AVG(episodes) FROM table_name_65 WHERE last_airdate = "april 29, 1986"</s> |
CREATE TABLE table_17413485_1 (episode VARCHAR, graemes_guest VARCHAR) | SELECT episode FROM table_17413485_1 WHERE graemes_guest = "Maria McErlane" | what is the number of the episode where maria mcerlane where gramer guest | <s>[INST]what is the number of the episode where maria mcerlane where gramer guest Context: CREATE TABLE table_17413485_1 (episode VARCHAR, graemes_guest VARCHAR)[/INST]SELECT episode FROM table_17413485_1 WHERE graemes_guest = "Maria McErlane"</s> |
CREATE TABLE table_name_64 (december INTEGER, record VARCHAR) | SELECT SUM(december) FROM table_name_64 WHERE record = "6-3-1" | What day in December was the game that resulted in a record of 6-3-1? | <s>[INST]What day in December was the game that resulted in a record of 6-3-1? Context: CREATE TABLE table_name_64 (december INTEGER, record VARCHAR)[/INST]SELECT SUM(december) FROM table_name_64 WHERE record = "6-3-1"</s> |
CREATE TABLE table_name_8 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_8 WHERE player = "chris dimarco" | What is the Place, when the Player is Chris Dimarco? | <s>[INST]What is the Place, when the Player is Chris Dimarco? Context: CREATE TABLE table_name_8 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_8 WHERE player = "chris dimarco"</s> |
CREATE TABLE table_name_16 (pick__number INTEGER, pl_gp INTEGER) | SELECT SUM(pick__number) FROM table_name_16 WHERE pl_gp < 0 | What is the pick # of the player with a PI GP less than 0? | <s>[INST]What is the pick # of the player with a PI GP less than 0? Context: CREATE TABLE table_name_16 (pick__number INTEGER, pl_gp INTEGER)[/INST]SELECT SUM(pick__number) FROM table_name_16 WHERE pl_gp < 0</s> |
CREATE TABLE table_name_65 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_65 WHERE type = "ud" AND round = "10" AND date = "2008-06-11" | Which Opponent has a Type of ud and a Round of 10 on 2008-06-11? | <s>[INST]Which Opponent has a Type of ud and a Round of 10 on 2008-06-11? Context: CREATE TABLE table_name_65 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR)[/INST]SELECT opponent FROM table_name_65 WHERE type = "ud" AND round = "10" AND date = "2008-06-11"</s> |
CREATE TABLE table_name_13 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_13 WHERE team_2 = "al tahrir" | What is Team 1 where Team 2 is al tahrir? | <s>[INST]What is Team 1 where Team 2 is al tahrir? Context: CREATE TABLE table_name_13 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_13 WHERE team_2 = "al tahrir"</s> |
CREATE TABLE table_name_16 (date VARCHAR, rocket VARCHAR, satellite VARCHAR) | SELECT date FROM table_name_16 WHERE rocket = "tbd" AND satellite = "gps iiia-1" | On what date was the rocket a TBD with a satellite of GPS IIIA-1? | <s>[INST]On what date was the rocket a TBD with a satellite of GPS IIIA-1? Context: CREATE TABLE table_name_16 (date VARCHAR, rocket VARCHAR, satellite VARCHAR)[/INST]SELECT date FROM table_name_16 WHERE rocket = "tbd" AND satellite = "gps iiia-1"</s> |
CREATE TABLE table_name_82 (opening_weekend_net_gross VARCHAR, year VARCHAR, rank VARCHAR) | SELECT COUNT(opening_weekend_net_gross) FROM table_name_82 WHERE year > 2012 AND rank = 1 | What's the Total number of Opening Weekend Net Gross that occured after the year 2012 with a Rank of 1? | <s>[INST]What's the Total number of Opening Weekend Net Gross that occured after the year 2012 with a Rank of 1? Context: CREATE TABLE table_name_82 (opening_weekend_net_gross VARCHAR, year VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(opening_weekend_net_gross) FROM table_name_82 WHERE year > 2012 AND rank = 1</s> |
CREATE TABLE table_name_72 (crowd INTEGER, home_team VARCHAR) | SELECT MIN(crowd) FROM table_name_72 WHERE home_team = "carlton" | When carlton was the home team what was the lowest crowd turnout? | <s>[INST]When carlton was the home team what was the lowest crowd turnout? Context: CREATE TABLE table_name_72 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_72 WHERE home_team = "carlton"</s> |
CREATE TABLE table_name_5 (course VARCHAR, stage VARCHAR) | SELECT course FROM table_name_5 WHERE stage = "1" | What course are they running on stage 1? | <s>[INST]What course are they running on stage 1? Context: CREATE TABLE table_name_5 (course VARCHAR, stage VARCHAR)[/INST]SELECT course FROM table_name_5 WHERE stage = "1"</s> |
CREATE TABLE table_name_4 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_4 WHERE home_team = "wolverhampton wanderers" | What's the score when the Wolverhampton Wanderers played at home? | <s>[INST]What's the score when the Wolverhampton Wanderers played at home? Context: CREATE TABLE table_name_4 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_4 WHERE home_team = "wolverhampton wanderers"</s> |
CREATE TABLE table_name_66 (points INTEGER, wins VARCHAR, year VARCHAR, class VARCHAR) | SELECT MAX(points) FROM table_name_66 WHERE year = 1962 AND class = "125cc" AND wins < 0 | What is the highest points value for 1962, in the 125cc class, and with 0 wins? | <s>[INST]What is the highest points value for 1962, in the 125cc class, and with 0 wins? Context: CREATE TABLE table_name_66 (points INTEGER, wins VARCHAR, year VARCHAR, class VARCHAR)[/INST]SELECT MAX(points) FROM table_name_66 WHERE year = 1962 AND class = "125cc" AND wins < 0</s> |
CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_42 WHERE away_team = "collingwood" | What home team played Collingwood as the away team? | <s>[INST]What home team played Collingwood as the away team? Context: CREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_42 WHERE away_team = "collingwood"</s> |
CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, year VARCHAR) | SELECT _percentage_same_sex_marriages FROM table_19614212_1 WHERE year = "2011" | What is the % of same-sex marriages for the year of 2011? | <s>[INST]What is the % of same-sex marriages for the year of 2011? Context: CREATE TABLE table_19614212_1 (_percentage_same_sex_marriages VARCHAR, year VARCHAR)[/INST]SELECT _percentage_same_sex_marriages FROM table_19614212_1 WHERE year = "2011"</s> |
CREATE TABLE table_25646820_2 (points VARCHAR, player VARCHAR) | SELECT points FROM table_25646820_2 WHERE player = "Donald Boor" | Name the points for donald boor | <s>[INST]Name the points for donald boor Context: CREATE TABLE table_25646820_2 (points VARCHAR, player VARCHAR)[/INST]SELECT points FROM table_25646820_2 WHERE player = "Donald Boor"</s> |
CREATE TABLE table_name_69 (team VARCHAR, location_attendance VARCHAR, high_points VARCHAR) | SELECT team FROM table_name_69 WHERE location_attendance = "madison square garden unknown" AND high_points = "alonzo mourning (24)" | What is Team, when Location Attendance is "Madison Square Garden Unknown", and when High Points is "Alonzo Mourning (24)"? | <s>[INST]What is Team, when Location Attendance is "Madison Square Garden Unknown", and when High Points is "Alonzo Mourning (24)"? Context: CREATE TABLE table_name_69 (team VARCHAR, location_attendance VARCHAR, high_points VARCHAR)[/INST]SELECT team FROM table_name_69 WHERE location_attendance = "madison square garden... |
CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR) | SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 < 4 AND cuts_made > 0 | What is the total number of top-25 that has a top-10 smaller than 4 with 0 cuts? | <s>[INST]What is the total number of top-25 that has a top-10 smaller than 4 with 0 cuts? Context: CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR)[/INST]SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 < 4 AND cuts_made > 0</s> |
CREATE TABLE table_name_59 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_59 WHERE score = 69 - 70 = 139 | What is the To par of the Player with a Score of 69-70=139? | <s>[INST]What is the To par of the Player with a Score of 69-70=139? Context: CREATE TABLE table_name_59 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_59 WHERE score = 69 - 70 = 139</s> |
CREATE TABLE table_name_17 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_17 WHERE player = "hal sutton" | What score has hal sutton as the player? | <s>[INST]What score has hal sutton as the player? Context: CREATE TABLE table_name_17 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_17 WHERE player = "hal sutton"</s> |
CREATE TABLE table_name_3 (format VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_3 WHERE catalog = "nebcd058" | What s the format for the catalog nebcd058? | <s>[INST]What s the format for the catalog nebcd058? Context: CREATE TABLE table_name_3 (format VARCHAR, catalog VARCHAR)[/INST]SELECT format FROM table_name_3 WHERE catalog = "nebcd058"</s> |
CREATE TABLE table_name_51 (apps INTEGER, rank VARCHAR, goals VARCHAR) | SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61 | What are the apps for less than 61 goals and before rank 6? | <s>[INST]What are the apps for less than 61 goals and before rank 6? Context: CREATE TABLE table_name_51 (apps INTEGER, rank VARCHAR, goals VARCHAR)[/INST]SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61</s> |
CREATE TABLE table_name_18 (tickets_sold___available VARCHAR, venue VARCHAR) | SELECT tickets_sold___available FROM table_name_18 WHERE venue = "long beach arena" | What is the number of tickets sold and available for the concert at Long Beach Arena? | <s>[INST]What is the number of tickets sold and available for the concert at Long Beach Arena? Context: CREATE TABLE table_name_18 (tickets_sold___available VARCHAR, venue VARCHAR)[/INST]SELECT tickets_sold___available FROM table_name_18 WHERE venue = "long beach arena"</s> |
CREATE TABLE Degree_Programs (degree_program_id VARCHAR); CREATE TABLE Student_Enrolment (semester_id VARCHAR, degree_program_id VARCHAR) | SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE degree_summary_name = 'Master' INTERSECT SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id WHERE... | Find the semester when both Master students and Bachelor students got enrolled in. | <s>[INST]Find the semester when both Master students and Bachelor students got enrolled in. Context: CREATE TABLE Degree_Programs (degree_program_id VARCHAR); CREATE TABLE Student_Enrolment (semester_id VARCHAR, degree_program_id VARCHAR)[/INST]SELECT DISTINCT T2.semester_id FROM Degree_Programs AS T1 JOIN Student_Enro... |
CREATE TABLE table_name_3 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_3 WHERE home_team = "minehead" | minehead has what tie number? | <s>[INST]minehead has what tie number? Context: CREATE TABLE table_name_3 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_3 WHERE home_team = "minehead"</s> |
CREATE TABLE table_name_14 (team VARCHAR, year VARCHAR) | SELECT team FROM table_name_14 WHERE year = "2011" | What is the Team, when the Year is 2011? | <s>[INST]What is the Team, when the Year is 2011? Context: CREATE TABLE table_name_14 (team VARCHAR, year VARCHAR)[/INST]SELECT team FROM table_name_14 WHERE year = "2011"</s> |
CREATE TABLE table_name_34 (rank VARCHAR, player VARCHAR) | SELECT rank FROM table_name_34 WHERE player = "isco alarcón" | What rank is the team that has a player named Isco Alarcón? | <s>[INST]What rank is the team that has a player named Isco Alarcón? Context: CREATE TABLE table_name_34 (rank VARCHAR, player VARCHAR)[/INST]SELECT rank FROM table_name_34 WHERE player = "isco alarcón"</s> |
CREATE TABLE table_name_71 (team VARCHAR, fans_took VARCHAR) | SELECT team FROM table_name_71 WHERE fans_took = "288" | Which team had fans took of 288? | <s>[INST]Which team had fans took of 288? Context: CREATE TABLE table_name_71 (team VARCHAR, fans_took VARCHAR)[/INST]SELECT team FROM table_name_71 WHERE fans_took = "288"</s> |
CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR) | SELECT MIN(dynamo) FROM table_name_12 WHERE spartak > 9 AND competition = "totals" AND draw > 24 | what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24? | <s>[INST]what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24? Context: CREATE TABLE table_name_12 (dynamo INTEGER, draw VARCHAR, spartak VARCHAR, competition VARCHAR)[/INST]SELECT MIN(dynamo) FROM table_name_12 WHERE spartak > 9 AND competition = "totals" AND draw > 24</... |
CREATE TABLE table_name_39 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR) | SELECT prohibition_ticket FROM table_name_39 WHERE greenback_ticket = "abraham j. cuddeback" | Who was on the prohibition ticket when Abraham J. Cuddeback was on the Greenback ticket? | <s>[INST]Who was on the prohibition ticket when Abraham J. Cuddeback was on the Greenback ticket? Context: CREATE TABLE table_name_39 (prohibition_ticket VARCHAR, greenback_ticket VARCHAR)[/INST]SELECT prohibition_ticket FROM table_name_39 WHERE greenback_ticket = "abraham j. cuddeback"</s> |
CREATE TABLE table_name_15 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR) | SELECT winning_driver FROM table_name_15 WHERE winning_team = "a.z.k./roc-compétition a.z.k./roc-compétition" AND date = "2 june" | Who is the winning driver of the race on 2 June with a.z.k./roc-compétition a.z.k./roc-compétition as the winning team? | <s>[INST]Who is the winning driver of the race on 2 June with a.z.k./roc-compétition a.z.k./roc-compétition as the winning team? Context: CREATE TABLE table_name_15 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR)[/INST]SELECT winning_driver FROM table_name_15 WHERE winning_team = "a.z.k./roc-compétition a.... |
CREATE TABLE table_name_50 (week_14_nov_30 VARCHAR, week_10_nov_2 VARCHAR) | SELECT week_14_nov_30 FROM table_name_50 WHERE week_10_nov_2 = "michigan state (8-2)" | What was the week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)? | <s>[INST]What was the week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)? Context: CREATE TABLE table_name_50 (week_14_nov_30 VARCHAR, week_10_nov_2 VARCHAR)[/INST]SELECT week_14_nov_30 FROM table_name_50 WHERE week_10_nov_2 = "michigan state (8-2)"</s> |
CREATE TABLE table_name_2 (netflix VARCHAR, segment_d VARCHAR) | SELECT netflix FROM table_name_2 WHERE segment_d = "ned can corn" | What is the Netflix number having a segment D, of NED can corn? | <s>[INST]What is the Netflix number having a segment D, of NED can corn? Context: CREATE TABLE table_name_2 (netflix VARCHAR, segment_d VARCHAR)[/INST]SELECT netflix FROM table_name_2 WHERE segment_d = "ned can corn"</s> |
CREATE TABLE table_26815674_1 (wins VARCHAR, final_placing VARCHAR) | SELECT wins FROM table_26815674_1 WHERE final_placing = "12th" | When 12th is the final placing what is the wins? | <s>[INST]When 12th is the final placing what is the wins? Context: CREATE TABLE table_26815674_1 (wins VARCHAR, final_placing VARCHAR)[/INST]SELECT wins FROM table_26815674_1 WHERE final_placing = "12th"</s> |
CREATE TABLE table_name_14 (rank VARCHAR, headquarters VARCHAR, sales__billion_$_ VARCHAR) | SELECT rank FROM table_name_14 WHERE headquarters = "united kingdom" AND sales__billion_$_ = 370.9 | What is Rank, when Headquarters is United Kingdom, and when Sales (billion $) is 370.9? | <s>[INST]What is Rank, when Headquarters is United Kingdom, and when Sales (billion $) is 370.9? Context: CREATE TABLE table_name_14 (rank VARCHAR, headquarters VARCHAR, sales__billion_$_ VARCHAR)[/INST]SELECT rank FROM table_name_14 WHERE headquarters = "united kingdom" AND sales__billion_$_ = 370.9</s> |
CREATE TABLE table_name_60 (enrollment INTEGER, founded VARCHAR, institution VARCHAR) | SELECT MIN(enrollment) FROM table_name_60 WHERE founded > 1809 AND institution = "university of michigan" | what is the least enrollment when founded after 1809 and the institution is university of michigan? | <s>[INST]what is the least enrollment when founded after 1809 and the institution is university of michigan? Context: CREATE TABLE table_name_60 (enrollment INTEGER, founded VARCHAR, institution VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_name_60 WHERE founded > 1809 AND institution = "university of michigan"</s> |
CREATE TABLE table_1341663_11 (party VARCHAR, incumbent VARCHAR) | SELECT COUNT(party) FROM table_1341663_11 WHERE incumbent = "Dawson Mathis" | How many parties are there in races involving Dawson Mathis? | <s>[INST]How many parties are there in races involving Dawson Mathis? Context: CREATE TABLE table_1341663_11 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(party) FROM table_1341663_11 WHERE incumbent = "Dawson Mathis"</s> |
CREATE TABLE table_178389_1 (sub_parish__sogn_ VARCHAR, church_name VARCHAR) | SELECT sub_parish__sogn_ FROM table_178389_1 WHERE church_name = "Høyanger kyrkje" | What is the sub-parish for the church names Høyanger Kyrkje? | <s>[INST]What is the sub-parish for the church names Høyanger Kyrkje? Context: CREATE TABLE table_178389_1 (sub_parish__sogn_ VARCHAR, church_name VARCHAR)[/INST]SELECT sub_parish__sogn_ FROM table_178389_1 WHERE church_name = "Høyanger kyrkje"</s> |
CREATE TABLE table_name_77 (competition VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_77 WHERE venue = "stavanger" | What competition was contested at stavanger? | <s>[INST]What competition was contested at stavanger? Context: CREATE TABLE table_name_77 (competition VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_77 WHERE venue = "stavanger"</s> |
CREATE TABLE table_1507806_1 (winning_score VARCHAR, year VARCHAR) | SELECT winning_score FROM table_1507806_1 WHERE year = 1922 | WHAT WAS THE WINNING SCORE IN YEAR 1922? | <s>[INST]WHAT WAS THE WINNING SCORE IN YEAR 1922? Context: CREATE TABLE table_1507806_1 (winning_score VARCHAR, year VARCHAR)[/INST]SELECT winning_score FROM table_1507806_1 WHERE year = 1922</s> |
CREATE TABLE table_name_35 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR) | SELECT rider FROM table_name_35 WHERE laps = "28" AND manufacturer = "honda" AND grid = "1" | Which rider's manufacturer is Honda and has 28 laps and a grid of 1? | <s>[INST]Which rider's manufacturer is Honda and has 28 laps and a grid of 1? Context: CREATE TABLE table_name_35 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)[/INST]SELECT rider FROM table_name_35 WHERE laps = "28" AND manufacturer = "honda" AND grid = "1"</s> |
CREATE TABLE table_2668243_25 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_2668243_25 WHERE incumbent = "John S. Barbour" | What party did john s. barbour represent? | <s>[INST]What party did john s. barbour represent? Context: CREATE TABLE table_2668243_25 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_2668243_25 WHERE incumbent = "John S. Barbour"</s> |
CREATE TABLE table_name_46 (date VARCHAR, round VARCHAR) | SELECT date FROM table_name_46 WHERE round = "semifinal" | What is the Date that has a Round of semifinal? | <s>[INST]What is the Date that has a Round of semifinal? Context: CREATE TABLE table_name_46 (date VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE round = "semifinal"</s> |
CREATE TABLE table_name_94 (partner VARCHAR, opponents_in_the_final VARCHAR) | SELECT partner FROM table_name_94 WHERE opponents_in_the_final = "serena williams venus williams" | Who was the partner that played against Serena Williams Venus Williams? | <s>[INST]Who was the partner that played against Serena Williams Venus Williams? Context: CREATE TABLE table_name_94 (partner VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT partner FROM table_name_94 WHERE opponents_in_the_final = "serena williams venus williams"</s> |
CREATE TABLE table_name_4 (geo_id INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR) | SELECT AVG(geo_id) FROM table_name_4 WHERE latitude < 46.57958 AND longitude = -102.109898 AND land___sqmi__ > 35.99 | What is the average GEO ID with a latitude less than 46.57958, a latitude of -102.109898 and more than 35.99 square miles of land? | <s>[INST]What is the average GEO ID with a latitude less than 46.57958, a latitude of -102.109898 and more than 35.99 square miles of land? Context: CREATE TABLE table_name_4 (geo_id INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR)[/INST]SELECT AVG(geo_id) FROM table_name_4 WHERE latitude < 46.57958... |
CREATE TABLE table_23265433_2 (rookie VARCHAR, offensive VARCHAR) | SELECT rookie FROM table_23265433_2 WHERE offensive = "Ryan Powell" | Name the rookie for ryan powell | <s>[INST]Name the rookie for ryan powell Context: CREATE TABLE table_23265433_2 (rookie VARCHAR, offensive VARCHAR)[/INST]SELECT rookie FROM table_23265433_2 WHERE offensive = "Ryan Powell"</s> |
CREATE TABLE table_name_26 (sport VARCHAR, name VARCHAR) | SELECT sport FROM table_name_26 WHERE name = "ma yuxi" | What sport has Ma Yuxi in it? | <s>[INST]What sport has Ma Yuxi in it? Context: CREATE TABLE table_name_26 (sport VARCHAR, name VARCHAR)[/INST]SELECT sport FROM table_name_26 WHERE name = "ma yuxi"</s> |
CREATE TABLE Degree_Programs (degree_program_id VARCHAR, degree_summary_name VARCHAR); CREATE TABLE Student_Enrolment (degree_program_id VARCHAR) | SELECT T1.degree_program_id, T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_program_id ORDER BY COUNT(*) DESC LIMIT 1 | Find the program which most number of students are enrolled in. List both the id and the summary. | <s>[INST]Find the program which most number of students are enrolled in. List both the id and the summary. Context: CREATE TABLE Degree_Programs (degree_program_id VARCHAR, degree_summary_name VARCHAR); CREATE TABLE Student_Enrolment (degree_program_id VARCHAR)[/INST]SELECT T1.degree_program_id, T1.degree_summary_name ... |
CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR) | SELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = "Anastasia Chervyakova Romina Gabdullina" | Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina? | <s>[INST]Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina? Context: CREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)[/INST]SELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = "Anastasia Chervyakova Romina Gabdullina"</s> |
CREATE TABLE table_name_4 (rebounds INTEGER, minutes_played VARCHAR, games_played VARCHAR) | SELECT AVG(rebounds) FROM table_name_4 WHERE minutes_played = 113 AND games_played > 18 | What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"? | <s>[INST]What is the average Rebounds, when Minutes Played is "113", and when Games Played is greater than "18"? Context: CREATE TABLE table_name_4 (rebounds INTEGER, minutes_played VARCHAR, games_played VARCHAR)[/INST]SELECT AVG(rebounds) FROM table_name_4 WHERE minutes_played = 113 AND games_played > 18</s> |
CREATE TABLE table_name_14 (venue VARCHAR, opposing_team VARCHAR) | SELECT venue FROM table_name_14 WHERE opposing_team = "hawke's bay" | Venue for Hawke's bay? | <s>[INST]Venue for Hawke's bay? Context: CREATE TABLE table_name_14 (venue VARCHAR, opposing_team VARCHAR)[/INST]SELECT venue FROM table_name_14 WHERE opposing_team = "hawke's bay"</s> |
CREATE TABLE table_name_56 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_56 WHERE venue = "lake oval" | When was the game played at Lake Oval? | <s>[INST]When was the game played at Lake Oval? Context: CREATE TABLE table_name_56 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE venue = "lake oval"</s> |
CREATE TABLE table_13416000_3 (champions VARCHAR, first_driver_s_ VARCHAR) | SELECT champions FROM table_13416000_3 WHERE first_driver_s_ = "Hiroki Yoshimoto ( 2005 )" | How many champions were there when the first driver was hiroki yoshimoto ( 2005 )? | <s>[INST]How many champions were there when the first driver was hiroki yoshimoto ( 2005 )? Context: CREATE TABLE table_13416000_3 (champions VARCHAR, first_driver_s_ VARCHAR)[/INST]SELECT champions FROM table_13416000_3 WHERE first_driver_s_ = "Hiroki Yoshimoto ( 2005 )"</s> |
CREATE TABLE table_name_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR) | SELECT country FROM table_name_80 WHERE internetlists = "—" AND onisecurityfiltering = "—" | What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —? | <s>[INST]What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —? Context: CREATE TABLE table_name_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR)[/INST]SELECT country FROM table_name_80 WHERE internetlists = "—" AND onisecurityfiltering = "—"</s> |
CREATE TABLE table_name_56 (tournament VARCHAR) | SELECT 2009 FROM table_name_56 WHERE 2011 = "1r" AND tournament = "australian open" | What's the 2009 of the Australian Open having a 1R in 2011? | <s>[INST]What's the 2009 of the Australian Open having a 1R in 2011? Context: CREATE TABLE table_name_56 (tournament VARCHAR)[/INST]SELECT 2009 FROM table_name_56 WHERE 2011 = "1r" AND tournament = "australian open"</s> |
CREATE TABLE table_name_15 (time VARCHAR, set_2 VARCHAR, date VARCHAR) | SELECT time FROM table_name_15 WHERE set_2 = "20–25" AND date = "05 jun" | Which Time has a Set 2 of 20–25, and a Date of 05 jun? | <s>[INST]Which Time has a Set 2 of 20–25, and a Date of 05 jun? Context: CREATE TABLE table_name_15 (time VARCHAR, set_2 VARCHAR, date VARCHAR)[/INST]SELECT time FROM table_name_15 WHERE set_2 = "20–25" AND date = "05 jun"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.