context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_80 (percentage VARCHAR, first_game VARCHAR) | SELECT percentage FROM table_name_80 WHERE first_game = 1998 | What Percentage did the First game of 1998 have? | <s>[INST]What Percentage did the First game of 1998 have? Context: CREATE TABLE table_name_80 (percentage VARCHAR, first_game VARCHAR)[/INST]SELECT percentage FROM table_name_80 WHERE first_game = 1998</s> |
CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_95 WHERE date = "october 7" | What is the score on october 7? | <s>[INST]What is the score on october 7? Context: CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_95 WHERE date = "october 7"</s> |
CREATE TABLE table_name_11 (frequency VARCHAR, part_number_s_ VARCHAR) | SELECT frequency FROM table_name_11 WHERE part_number_s_ = "au80610006240aa" | What is Frequency, when Part Number(s) is au80610006240aa? | <s>[INST]What is Frequency, when Part Number(s) is au80610006240aa? Context: CREATE TABLE table_name_11 (frequency VARCHAR, part_number_s_ VARCHAR)[/INST]SELECT frequency FROM table_name_11 WHERE part_number_s_ = "au80610006240aa"</s> |
CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8" | Game smaller than 70, and a Record of 43–16–8 is what opponent? | <s>[INST]Game smaller than 70, and a Record of 43–16–8 is what opponent? Context: CREATE TABLE table_name_39 (opponent VARCHAR, game VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_39 WHERE game < 70 AND record = "43–16–8"</s> |
CREATE TABLE table_name_65 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR) | SELECT fcc_info FROM table_name_65 WHERE city_of_license = "burley, idaho" AND frequency_mhz = 89.5 | Which FCC info has a City of license of burley, idaho, and a Frequency MHz of 89.5? | <s>[INST]Which FCC info has a City of license of burley, idaho, and a Frequency MHz of 89.5? Context: CREATE TABLE table_name_65 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR)[/INST]SELECT fcc_info FROM table_name_65 WHERE city_of_license = "burley, idaho" AND frequency_mhz = 89.5</s> |
CREATE TABLE table_name_80 (team_name VARCHAR, schools VARCHAR) | SELECT team_name FROM table_name_80 WHERE schools = "goreville vienna" | What is the name of the team from goreville vienna school? | <s>[INST]What is the name of the team from goreville vienna school? Context: CREATE TABLE table_name_80 (team_name VARCHAR, schools VARCHAR)[/INST]SELECT team_name FROM table_name_80 WHERE schools = "goreville vienna"</s> |
CREATE TABLE table_23670057_6 (height__f_ VARCHAR, year_born VARCHAR, height__m_ VARCHAR) | SELECT height__f_ FROM table_23670057_6 WHERE year_born = 1989 AND height__m_ = "2.11" | Name the height for the player born 1989 and height 2.11 | <s>[INST]Name the height for the player born 1989 and height 2.11 Context: CREATE TABLE table_23670057_6 (height__f_ VARCHAR, year_born VARCHAR, height__m_ VARCHAR)[/INST]SELECT height__f_ FROM table_23670057_6 WHERE year_born = 1989 AND height__m_ = "2.11"</s> |
CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_22269839_1 WHERE written_by = "Patrick Meighan" | Who directed the episode written by patrick meighan? | <s>[INST]Who directed the episode written by patrick meighan? Context: CREATE TABLE table_22269839_1 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_22269839_1 WHERE written_by = "Patrick Meighan"</s> |
CREATE TABLE table_name_25 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_25 WHERE game = 22 | What was the date of the game number 22? | <s>[INST]What was the date of the game number 22? Context: CREATE TABLE table_name_25 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE game = 22</s> |
CREATE TABLE table_19751479_4 (rnd INTEGER, fastest_lap VARCHAR) | SELECT MIN(rnd) FROM table_19751479_4 WHERE fastest_lap = "#67 The Racer's Group" | What is the first round that had #67 the racer's group with the fastest lap? | <s>[INST]What is the first round that had #67 the racer's group with the fastest lap? Context: CREATE TABLE table_19751479_4 (rnd INTEGER, fastest_lap VARCHAR)[/INST]SELECT MIN(rnd) FROM table_19751479_4 WHERE fastest_lap = "#67 The Racer's Group"</s> |
CREATE TABLE table_2679061_6 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_2679061_6 WHERE pick__number = 103 | what is the position for pick # 103? | <s>[INST]what is the position for pick # 103? Context: CREATE TABLE table_2679061_6 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_2679061_6 WHERE pick__number = 103</s> |
CREATE TABLE table_18461635_1 (team VARCHAR, county VARCHAR) | SELECT team FROM table_18461635_1 WHERE county = "Derbyshire" | What is the name of the team from Derbyshire county? | <s>[INST]What is the name of the team from Derbyshire county? Context: CREATE TABLE table_18461635_1 (team VARCHAR, county VARCHAR)[/INST]SELECT team FROM table_18461635_1 WHERE county = "Derbyshire"</s> |
CREATE TABLE table_name_86 (image VARCHAR, husband VARCHAR) | SELECT image FROM table_name_86 WHERE husband = "william iv" | Which image is of the woman married to william iv? | <s>[INST]Which image is of the woman married to william iv? Context: CREATE TABLE table_name_86 (image VARCHAR, husband VARCHAR)[/INST]SELECT image FROM table_name_86 WHERE husband = "william iv"</s> |
CREATE TABLE table_13564637_3 (try_bonus VARCHAR, won VARCHAR) | SELECT COUNT(try_bonus) FROM table_13564637_3 WHERE won = "11" | what amount of try bonus where the game was won by 11? | <s>[INST]what amount of try bonus where the game was won by 11? Context: CREATE TABLE table_13564637_3 (try_bonus VARCHAR, won VARCHAR)[/INST]SELECT COUNT(try_bonus) FROM table_13564637_3 WHERE won = "11"</s> |
CREATE TABLE table_name_50 (playoffs VARCHAR, points VARCHAR, head_coach VARCHAR, finish VARCHAR) | SELECT playoffs FROM table_name_50 WHERE head_coach = "brent sutter" AND finish = "4th central" AND points = "82" | What was the playoff status when the head coach was Brent Sutter, the finish was 4th central, and the points were 82? | <s>[INST]What was the playoff status when the head coach was Brent Sutter, the finish was 4th central, and the points were 82? Context: CREATE TABLE table_name_50 (playoffs VARCHAR, points VARCHAR, head_coach VARCHAR, finish VARCHAR)[/INST]SELECT playoffs FROM table_name_50 WHERE head_coach = "brent sutter" AND finish = "4th central" AND points = "82"</s> |
CREATE TABLE table_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_68 WHERE score = "1–1" AND away_team = "tottenham hotspur" | Which Home team has a Score of 1–1, and an Away team of tottenham hotspur? | <s>[INST]Which Home team has a Score of 1–1, and an Away team of tottenham hotspur? Context: CREATE TABLE table_name_68 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_68 WHERE score = "1–1" AND away_team = "tottenham hotspur"</s> |
CREATE TABLE table_name_41 (player VARCHAR, year VARCHAR) | SELECT player FROM table_name_41 WHERE year = "1974" | What is the Player in the Int'l Debut of 1974? | <s>[INST]What is the Player in the Int'l Debut of 1974? Context: CREATE TABLE table_name_41 (player VARCHAR, year VARCHAR)[/INST]SELECT player FROM table_name_41 WHERE year = "1974"</s> |
CREATE TABLE table_27927185_1 (originalairdate VARCHAR, viewers__millions_ VARCHAR) | SELECT originalairdate FROM table_27927185_1 WHERE viewers__millions_ = "4.77" | What was the original air-date that had 4.77 million viewers? | <s>[INST]What was the original air-date that had 4.77 million viewers? Context: CREATE TABLE table_27927185_1 (originalairdate VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT originalairdate FROM table_27927185_1 WHERE viewers__millions_ = "4.77"</s> |
CREATE TABLE table_name_47 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR) | SELECT local_location FROM table_name_47 WHERE resident_country = "senegal" AND mission = "mali" | What is the local location that has senegal as the resident county, and a mission of mali? | <s>[INST]What is the local location that has senegal as the resident county, and a mission of mali? Context: CREATE TABLE table_name_47 (local_location VARCHAR, resident_country VARCHAR, mission VARCHAR)[/INST]SELECT local_location FROM table_name_47 WHERE resident_country = "senegal" AND mission = "mali"</s> |
CREATE TABLE table_name_22 (ground VARCHAR, score VARCHAR) | SELECT ground FROM table_name_22 WHERE score = "62-69" | Where was the game played the ended with a score of 62-69? | <s>[INST]Where was the game played the ended with a score of 62-69? Context: CREATE TABLE table_name_22 (ground VARCHAR, score VARCHAR)[/INST]SELECT ground FROM table_name_22 WHERE score = "62-69"</s> |
CREATE TABLE table_name_68 (party VARCHAR, district VARCHAR) | SELECT party FROM table_name_68 WHERE district = "ohio 6" | What is the party in Ohio 6 District? | <s>[INST]What is the party in Ohio 6 District? Context: CREATE TABLE table_name_68 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_name_68 WHERE district = "ohio 6"</s> |
CREATE TABLE table_name_21 (total_attempted VARCHAR, total_made VARCHAR) | SELECT COUNT(total_attempted) FROM table_name_21 WHERE total_made = 16 | what is the total attempted with a total made 16 | <s>[INST]what is the total attempted with a total made 16 Context: CREATE TABLE table_name_21 (total_attempted VARCHAR, total_made VARCHAR)[/INST]SELECT COUNT(total_attempted) FROM table_name_21 WHERE total_made = 16</s> |
CREATE TABLE table_name_39 (date VARCHAR, name VARCHAR) | SELECT date FROM table_name_39 WHERE name = "granville" | What is the date for the name of Granville? | <s>[INST]What is the date for the name of Granville? Context: CREATE TABLE table_name_39 (date VARCHAR, name VARCHAR)[/INST]SELECT date FROM table_name_39 WHERE name = "granville"</s> |
CREATE TABLE table_name_82 (loss INTEGER, gain VARCHAR) | SELECT SUM(loss) FROM table_name_82 WHERE gain = 2646 | Can you tell me the sum of Loss that has the Gain of 2646? | <s>[INST]Can you tell me the sum of Loss that has the Gain of 2646? Context: CREATE TABLE table_name_82 (loss INTEGER, gain VARCHAR)[/INST]SELECT SUM(loss) FROM table_name_82 WHERE gain = 2646</s> |
CREATE TABLE table_name_16 (builder VARCHAR, works_number VARCHAR) | SELECT builder FROM table_name_16 WHERE works_number = "2534" | Who is the builder with a works number of 2534? | <s>[INST]Who is the builder with a works number of 2534? Context: CREATE TABLE table_name_16 (builder VARCHAR, works_number VARCHAR)[/INST]SELECT builder FROM table_name_16 WHERE works_number = "2534"</s> |
CREATE TABLE table_name_17 (draft VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR) | SELECT draft FROM table_name_17 WHERE round = "9" AND pick = 171 AND player = "dan wiebe category:articles with hcards" | What is Draft, when Round is "9", when Pick is "171", and when Player is "Dan Wiebe Category:Articles with hCards"? | <s>[INST]What is Draft, when Round is "9", when Pick is "171", and when Player is "Dan Wiebe Category:Articles with hCards"? Context: CREATE TABLE table_name_17 (draft VARCHAR, player VARCHAR, round VARCHAR, pick VARCHAR)[/INST]SELECT draft FROM table_name_17 WHERE round = "9" AND pick = 171 AND player = "dan wiebe category:articles with hcards"</s> |
CREATE TABLE table_name_86 (attendance VARCHAR, week VARCHAR, result VARCHAR) | SELECT attendance FROM table_name_86 WHERE week < 10 AND result = "l 12-15" | What was the attendance for the week before 10 with a result of L 12-15 | <s>[INST]What was the attendance for the week before 10 with a result of L 12-15 Context: CREATE TABLE table_name_86 (attendance VARCHAR, week VARCHAR, result VARCHAR)[/INST]SELECT attendance FROM table_name_86 WHERE week < 10 AND result = "l 12-15"</s> |
CREATE TABLE table_name_40 (run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR) | SELECT SUM(run_1) FROM table_name_40 WHERE run_2 > 55.24 AND athlete = "matthias guggenberger" | What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24? | <s>[INST]What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24? Context: CREATE TABLE table_name_40 (run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR)[/INST]SELECT SUM(run_1) FROM table_name_40 WHERE run_2 > 55.24 AND athlete = "matthias guggenberger"</s> |
CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, amount_outstanding INTEGER) | SELECT first_name, last_name FROM Customers WHERE amount_outstanding BETWEEN 1000 AND 3000 | List the first name and last name of customers have the amount of outstanding between 1000 and 3000. | <s>[INST]List the first name and last name of customers have the amount of outstanding between 1000 and 3000. Context: CREATE TABLE Customers (first_name VARCHAR, last_name VARCHAR, amount_outstanding INTEGER)[/INST]SELECT first_name, last_name FROM Customers WHERE amount_outstanding BETWEEN 1000 AND 3000</s> |
CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR) | SELECT team FROM table_name_27 WHERE balls < 258 AND inns = 10 AND matches < 12 | Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12? | <s>[INST]Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12? Context: CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR)[/INST]SELECT team FROM table_name_27 WHERE balls < 258 AND inns = 10 AND matches < 12</s> |
CREATE TABLE table_name_56 (money___ INTEGER, player VARCHAR) | SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = "nick faldo" | What is the total Money (£) of Player of nick faldo? | <s>[INST]What is the total Money (£) of Player of nick faldo? Context: CREATE TABLE table_name_56 (money___ INTEGER, player VARCHAR)[/INST]SELECT SUM(money___) AS £__ FROM table_name_56 WHERE player = "nick faldo"</s> |
CREATE TABLE table_name_65 (Id VARCHAR) | SELECT 1997 FROM table_name_65 WHERE 1992 = "atp masters series" | Name the 1997 for atp masters series 1992 | <s>[INST]Name the 1997 for atp masters series 1992 Context: CREATE TABLE table_name_65 (Id VARCHAR)[/INST]SELECT 1997 FROM table_name_65 WHERE 1992 = "atp masters series"</s> |
CREATE TABLE table_name_14 (money___ INTEGER, country VARCHAR, to_par VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_14 WHERE country = "united states" AND to_par = "+3" | What is the average Money ( $ ), when Country is "United States", and when To par is "+3"? | <s>[INST]What is the average Money ( $ ), when Country is "United States", and when To par is "+3"? Context: CREATE TABLE table_name_14 (money___ INTEGER, country VARCHAR, to_par VARCHAR)[/INST]SELECT AVG(money___) AS $__ FROM table_name_14 WHERE country = "united states" AND to_par = "+3"</s> |
CREATE TABLE table_name_31 (Id VARCHAR) | SELECT 1956 AS _1968 FROM table_name_31 WHERE 1969 = "qf" | What did the tournament with a QF in 1969 get in 1956-1968? | <s>[INST]What did the tournament with a QF in 1969 get in 1956-1968? Context: CREATE TABLE table_name_31 (Id VARCHAR)[/INST]SELECT 1956 AS _1968 FROM table_name_31 WHERE 1969 = "qf"</s> |
CREATE TABLE table_name_28 (party VARCHAR, mayor VARCHAR) | SELECT party FROM table_name_28 WHERE mayor = "achille variati" | What party was achille variati afilliated with? | <s>[INST]What party was achille variati afilliated with? Context: CREATE TABLE table_name_28 (party VARCHAR, mayor VARCHAR)[/INST]SELECT party FROM table_name_28 WHERE mayor = "achille variati"</s> |
CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR); CREATE TABLE media_types (id VARCHAR, name VARCHAR) | SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "Rock" OR T3.name = "MPEG audio file" | List the name of tracks belongs to genre Rock or media type is MPEG audio file. | <s>[INST]List the name of tracks belongs to genre Rock or media type is MPEG audio file. Context: CREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR, media_type_id VARCHAR); CREATE TABLE media_types (id VARCHAR, name VARCHAR)[/INST]SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id JOIN media_types AS T3 ON T3.id = T2.media_type_id WHERE T1.name = "Rock" OR T3.name = "MPEG audio file"</s> |
CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR, member_state VARCHAR) | SELECT pop_density_people_km_2 FROM table_1606824_1 WHERE population__percentage_of_eu = "1.1%" AND member_state = "Slovakia" | Name the population density where population % is 1.1% for slovakia | <s>[INST]Name the population density where population % is 1.1% for slovakia Context: CREATE TABLE table_1606824_1 (pop_density_people_km_2 VARCHAR, population__percentage_of_eu VARCHAR, member_state VARCHAR)[/INST]SELECT pop_density_people_km_2 FROM table_1606824_1 WHERE population__percentage_of_eu = "1.1%" AND member_state = "Slovakia"</s> |
CREATE TABLE table_name_26 (games INTEGER, rank VARCHAR, rebounds VARCHAR, name VARCHAR) | SELECT MAX(games) FROM table_name_26 WHERE rebounds > 100 AND name = "nikola peković" AND rank < 4 | What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Peković, and when Rank is less than 4? | <s>[INST]What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Peković, and when Rank is less than 4? Context: CREATE TABLE table_name_26 (games INTEGER, rank VARCHAR, rebounds VARCHAR, name VARCHAR)[/INST]SELECT MAX(games) FROM table_name_26 WHERE rebounds > 100 AND name = "nikola peković" AND rank < 4</s> |
CREATE TABLE ROLES (Id VARCHAR) | SELECT COUNT(*) FROM ROLES | How many roles are there? | <s>[INST]How many roles are there? Context: CREATE TABLE ROLES (Id VARCHAR)[/INST]SELECT COUNT(*) FROM ROLES</s> |
CREATE TABLE table_name_39 (notes VARCHAR, fleet_size VARCHAR) | SELECT notes FROM table_name_39 WHERE fleet_size = 3 | What is the Notes when the fleet size is 3? | <s>[INST]What is the Notes when the fleet size is 3? Context: CREATE TABLE table_name_39 (notes VARCHAR, fleet_size VARCHAR)[/INST]SELECT notes FROM table_name_39 WHERE fleet_size = 3</s> |
CREATE TABLE table_name_59 (frequency VARCHAR, number VARCHAR) | SELECT frequency FROM table_name_59 WHERE number = 161 | What is the frequency of number 161? | <s>[INST]What is the frequency of number 161? Context: CREATE TABLE table_name_59 (frequency VARCHAR, number VARCHAR)[/INST]SELECT frequency FROM table_name_59 WHERE number = 161</s> |
CREATE TABLE table_name_66 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_66 WHERE attendance = "27,262" | What week had an attendance of 27,262? | <s>[INST]What week had an attendance of 27,262? Context: CREATE TABLE table_name_66 (week VARCHAR, attendance VARCHAR)[/INST]SELECT week FROM table_name_66 WHERE attendance = "27,262"</s> |
CREATE TABLE table_27712_2 (country VARCHAR) | SELECT COUNT(2010 AS _11) FROM table_27712_2 WHERE country = "Brazil" | How many data were given on 2010/2011 in Brazil? | <s>[INST]How many data were given on 2010/2011 in Brazil? Context: CREATE TABLE table_27712_2 (country VARCHAR)[/INST]SELECT COUNT(2010 AS _11) FROM table_27712_2 WHERE country = "Brazil"</s> |
CREATE TABLE table_name_17 (song_sung VARCHAR, artist VARCHAR, week VARCHAR) | SELECT song_sung FROM table_name_17 WHERE artist = "luther vandross" AND week = "top 20" | Which song was sung by Artist Luther Vandross in the Week Top 20? | <s>[INST]Which song was sung by Artist Luther Vandross in the Week Top 20? Context: CREATE TABLE table_name_17 (song_sung VARCHAR, artist VARCHAR, week VARCHAR)[/INST]SELECT song_sung FROM table_name_17 WHERE artist = "luther vandross" AND week = "top 20"</s> |
CREATE TABLE table_11449590_2 (kickoff_ VARCHAR, a_ VARCHAR, opponent VARCHAR) | SELECT kickoff_[a_] FROM table_11449590_2 WHERE opponent = "at New Orleans Saints" | Which kickoff has the opponent at new orleans saints? | <s>[INST]Which kickoff has the opponent at new orleans saints? Context: CREATE TABLE table_11449590_2 (kickoff_ VARCHAR, a_ VARCHAR, opponent VARCHAR)[/INST]SELECT kickoff_[a_] FROM table_11449590_2 WHERE opponent = "at New Orleans Saints"</s> |
CREATE TABLE table_19068566_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_19068566_1 WHERE production_code = "3T7458" | When 3t7458 is the production code who are the writers? | <s>[INST]When 3t7458 is the production code who are the writers? Context: CREATE TABLE table_19068566_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_19068566_1 WHERE production_code = "3T7458"</s> |
CREATE TABLE table_name_61 (team VARCHAR) | SELECT 1 AS st_match FROM table_name_61 WHERE team = "brisbane bears" | Name the 1st match for brisbane bears | <s>[INST]Name the 1st match for brisbane bears Context: CREATE TABLE table_name_61 (team VARCHAR)[/INST]SELECT 1 AS st_match FROM table_name_61 WHERE team = "brisbane bears"</s> |
CREATE TABLE table_11581984_2 (race_1 VARCHAR, driver VARCHAR) | SELECT race_1 FROM table_11581984_2 WHERE driver = "Mark Skaife" | For driver Mark Skaife what is the result for race 1? | <s>[INST]For driver Mark Skaife what is the result for race 1? Context: CREATE TABLE table_11581984_2 (race_1 VARCHAR, driver VARCHAR)[/INST]SELECT race_1 FROM table_11581984_2 WHERE driver = "Mark Skaife"</s> |
CREATE TABLE table_20935975_1 (moto2_winner VARCHAR) | SELECT COUNT(125 AS cc_winner) FROM table_20935975_1 WHERE moto2_winner = "Shoya Tomizawa" | How many 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa? | <s>[INST]How many 125cc winners were in the same events as when the Moto2 winner was Shoya Tomizawa? Context: CREATE TABLE table_20935975_1 (moto2_winner VARCHAR)[/INST]SELECT COUNT(125 AS cc_winner) FROM table_20935975_1 WHERE moto2_winner = "Shoya Tomizawa"</s> |
CREATE TABLE table_name_46 (drawn INTEGER, lost VARCHAR, played VARCHAR) | SELECT SUM(drawn) FROM table_name_46 WHERE lost = 2 AND played < 14 | How much Drawn has a Lost of 2, and Played smaller than 14? | <s>[INST]How much Drawn has a Lost of 2, and Played smaller than 14? Context: CREATE TABLE table_name_46 (drawn INTEGER, lost VARCHAR, played VARCHAR)[/INST]SELECT SUM(drawn) FROM table_name_46 WHERE lost = 2 AND played < 14</s> |
CREATE TABLE table_name_86 (verb VARCHAR, proto_austronesian VARCHAR) | SELECT verb FROM table_name_86 WHERE proto_austronesian = "*diri" | What is the verb for the Proto-Austronesian word *diri? | <s>[INST]What is the verb for the Proto-Austronesian word *diri? Context: CREATE TABLE table_name_86 (verb VARCHAR, proto_austronesian VARCHAR)[/INST]SELECT verb FROM table_name_86 WHERE proto_austronesian = "*diri"</s> |
CREATE TABLE table_name_43 (state VARCHAR, name VARCHAR, title VARCHAR) | SELECT state FROM table_name_43 WHERE name = "li" AND title = "marquis" | In which state did Marquis Li rule? | <s>[INST]In which state did Marquis Li rule? Context: CREATE TABLE table_name_43 (state VARCHAR, name VARCHAR, title VARCHAR)[/INST]SELECT state FROM table_name_43 WHERE name = "li" AND title = "marquis"</s> |
CREATE TABLE table_name_13 (pick__number INTEGER, player VARCHAR) | SELECT AVG(pick__number) FROM table_name_13 WHERE player = "greg mckegg" | What pick number was player Greg McKegg? | <s>[INST]What pick number was player Greg McKegg? Context: CREATE TABLE table_name_13 (pick__number INTEGER, player VARCHAR)[/INST]SELECT AVG(pick__number) FROM table_name_13 WHERE player = "greg mckegg"</s> |
CREATE TABLE table_name_28 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR) | SELECT name FROM table_name_28 WHERE pos = "cb" AND date_of_birth = "1983-03-14" | born on 1983-03-14, what is the cb's name? | <s>[INST]born on 1983-03-14, what is the cb's name? Context: CREATE TABLE table_name_28 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR)[/INST]SELECT name FROM table_name_28 WHERE pos = "cb" AND date_of_birth = "1983-03-14"</s> |
CREATE TABLE table_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR) | SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner" AND partner = "John Lloyd" AND surface = "Clay" | What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface? | <s>[INST]What was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface? Context: CREATE TABLE table_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR)[/INST]SELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = "Winner" AND partner = "John Lloyd" AND surface = "Clay"</s> |
CREATE TABLE table_name_60 (interview_subject VARCHAR, centerfold_model VARCHAR) | SELECT interview_subject FROM table_name_60 WHERE centerfold_model = "athena lundberg" | Which Interview subject has a Centerfold model of athena lundberg? | <s>[INST]Which Interview subject has a Centerfold model of athena lundberg? Context: CREATE TABLE table_name_60 (interview_subject VARCHAR, centerfold_model VARCHAR)[/INST]SELECT interview_subject FROM table_name_60 WHERE centerfold_model = "athena lundberg"</s> |
CREATE TABLE table_name_3 (date_of_appointment VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR) | SELECT date_of_appointment FROM table_name_3 WHERE position_in_table = "pre-season" AND replaced_by = "thomas thomasberg" | WHAT IS THE APPOINTMENT DATE WITH A PRE-SEASON POSITION, AND REPLACED BY THOMAS THOMASBERG? | <s>[INST]WHAT IS THE APPOINTMENT DATE WITH A PRE-SEASON POSITION, AND REPLACED BY THOMAS THOMASBERG? Context: CREATE TABLE table_name_3 (date_of_appointment VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR)[/INST]SELECT date_of_appointment FROM table_name_3 WHERE position_in_table = "pre-season" AND replaced_by = "thomas thomasberg"</s> |
CREATE TABLE table_name_82 (replica VARCHAR, position VARCHAR) | SELECT replica FROM table_name_82 WHERE position = "5th" | What replica has the 5th position? | <s>[INST]What replica has the 5th position? Context: CREATE TABLE table_name_82 (replica VARCHAR, position VARCHAR)[/INST]SELECT replica FROM table_name_82 WHERE position = "5th"</s> |
CREATE TABLE table_name_75 (song_title VARCHAR, time VARCHAR) | SELECT song_title FROM table_name_75 WHERE time = "1:51" | Name the song title with time of 1:51 | <s>[INST]Name the song title with time of 1:51 Context: CREATE TABLE table_name_75 (song_title VARCHAR, time VARCHAR)[/INST]SELECT song_title FROM table_name_75 WHERE time = "1:51"</s> |
CREATE TABLE table_name_73 (crowd INTEGER, venue VARCHAR) | SELECT MIN(crowd) FROM table_name_73 WHERE venue = "mcg" | What is the lowest crowd number at the venue MCG? | <s>[INST]What is the lowest crowd number at the venue MCG? Context: CREATE TABLE table_name_73 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_73 WHERE venue = "mcg"</s> |
CREATE TABLE table_1601792_4 (network VARCHAR, television_station VARCHAR) | SELECT network FROM table_1601792_4 WHERE television_station = "TV1" | What are the network(s) for tv1? | <s>[INST]What are the network(s) for tv1? Context: CREATE TABLE table_1601792_4 (network VARCHAR, television_station VARCHAR)[/INST]SELECT network FROM table_1601792_4 WHERE television_station = "TV1"</s> |
CREATE TABLE school (Id VARCHAR) | SELECT COUNT(*) FROM school | How many schools are there? | <s>[INST]How many schools are there? Context: CREATE TABLE school (Id VARCHAR)[/INST]SELECT COUNT(*) FROM school</s> |
CREATE TABLE table_29612224_1 (school_website VARCHAR, location VARCHAR) | SELECT school_website FROM table_29612224_1 WHERE location = "Macon, Illinois" | What's the website of the school in Macon, Illinois? | <s>[INST]What's the website of the school in Macon, Illinois? Context: CREATE TABLE table_29612224_1 (school_website VARCHAR, location VARCHAR)[/INST]SELECT school_website FROM table_29612224_1 WHERE location = "Macon, Illinois"</s> |
CREATE TABLE table_name_19 (fleet_numbers VARCHAR, type VARCHAR) | SELECT fleet_numbers FROM table_name_19 WHERE type = "4-6-4t" | What are the fleet number for the 4-6-4t locomotive? | <s>[INST]What are the fleet number for the 4-6-4t locomotive? Context: CREATE TABLE table_name_19 (fleet_numbers VARCHAR, type VARCHAR)[/INST]SELECT fleet_numbers FROM table_name_19 WHERE type = "4-6-4t"</s> |
CREATE TABLE table_10848177_1 (track__number INTEGER) | SELECT MAX(track__number) FROM table_10848177_1 | What is the highest track number? | <s>[INST]What is the highest track number? Context: CREATE TABLE table_10848177_1 (track__number INTEGER)[/INST]SELECT MAX(track__number) FROM table_10848177_1</s> |
CREATE TABLE table_27758427_2 (results VARCHAR, lmpc_winning_team VARCHAR) | SELECT results FROM table_27758427_2 WHERE lmpc_winning_team = "#89 Intersport Racing" | What was the result for the cirtcuit where the LMPC winning team was #89 Intersport Racing? | <s>[INST]What was the result for the cirtcuit where the LMPC winning team was #89 Intersport Racing? Context: CREATE TABLE table_27758427_2 (results VARCHAR, lmpc_winning_team VARCHAR)[/INST]SELECT results FROM table_27758427_2 WHERE lmpc_winning_team = "#89 Intersport Racing"</s> |
CREATE TABLE table_name_49 (rank INTEGER, u_17_goals VARCHAR) | SELECT MAX(rank) FROM table_name_49 WHERE u_17_goals = 9 | What is the highest Rank, when U-17 Goals is "9"? | <s>[INST]What is the highest Rank, when U-17 Goals is "9"? Context: CREATE TABLE table_name_49 (rank INTEGER, u_17_goals VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_49 WHERE u_17_goals = 9</s> |
CREATE TABLE table_name_38 (years_at_club VARCHAR, player VARCHAR, debut_year VARCHAR, games VARCHAR) | SELECT years_at_club FROM table_name_38 WHERE debut_year = 1930 AND games > 7 AND player = "colin benham" | Which Years at club have a Debut year of 1930, and Games larger than 7, and a Player of colin benham? | <s>[INST]Which Years at club have a Debut year of 1930, and Games larger than 7, and a Player of colin benham? Context: CREATE TABLE table_name_38 (years_at_club VARCHAR, player VARCHAR, debut_year VARCHAR, games VARCHAR)[/INST]SELECT years_at_club FROM table_name_38 WHERE debut_year = 1930 AND games > 7 AND player = "colin benham"</s> |
CREATE TABLE table_189893_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR) | SELECT percentage__2006_ FROM table_189893_1 WHERE mother_tongue = "Polish" | What is every value for percentage(2006) with a Polish mother tongue? | <s>[INST]What is every value for percentage(2006) with a Polish mother tongue? Context: CREATE TABLE table_189893_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)[/INST]SELECT percentage__2006_ FROM table_189893_1 WHERE mother_tongue = "Polish"</s> |
CREATE TABLE table_name_3 (first_criticality VARCHAR, electric_power VARCHAR) | SELECT first_criticality FROM table_name_3 WHERE electric_power = "1,380 mw" | Name the first citicality for electric power of 1,380 mw | <s>[INST]Name the first citicality for electric power of 1,380 mw Context: CREATE TABLE table_name_3 (first_criticality VARCHAR, electric_power VARCHAR)[/INST]SELECT first_criticality FROM table_name_3 WHERE electric_power = "1,380 mw"</s> |
CREATE TABLE table_name_40 (khmer VARCHAR, other VARCHAR) | SELECT khmer FROM table_name_40 WHERE other = "soun" | for the other of soun, what's the khmer? | <s>[INST]for the other of soun, what's the khmer? Context: CREATE TABLE table_name_40 (khmer VARCHAR, other VARCHAR)[/INST]SELECT khmer FROM table_name_40 WHERE other = "soun"</s> |
CREATE TABLE table_name_74 (rank VARCHAR, total VARCHAR, nation VARCHAR) | SELECT rank FROM table_name_74 WHERE total < 13 AND nation = "mixed team" | What is the rank for the Mixed Team nation with a total of less than 13? | <s>[INST]What is the rank for the Mixed Team nation with a total of less than 13? Context: CREATE TABLE table_name_74 (rank VARCHAR, total VARCHAR, nation VARCHAR)[/INST]SELECT rank FROM table_name_74 WHERE total < 13 AND nation = "mixed team"</s> |
CREATE TABLE table_name_79 (Id VARCHAR) | SELECT 2002 FROM table_name_79 WHERE 2008 = "3–3" | Which 2002 has a 2008 of 3–3? | <s>[INST]Which 2002 has a 2008 of 3–3? Context: CREATE TABLE table_name_79 (Id VARCHAR)[/INST]SELECT 2002 FROM table_name_79 WHERE 2008 = "3–3"</s> |
CREATE TABLE table_28578594_1 (entrant VARCHAR, driver VARCHAR) | SELECT entrant FROM table_28578594_1 WHERE driver = "Bruno Sterzi" | Name the entrant for bruno sterzi | <s>[INST]Name the entrant for bruno sterzi Context: CREATE TABLE table_28578594_1 (entrant VARCHAR, driver VARCHAR)[/INST]SELECT entrant FROM table_28578594_1 WHERE driver = "Bruno Sterzi"</s> |
CREATE TABLE table_1251878_3 (frame_size VARCHAR, maximum_fps VARCHAR) | SELECT frame_size FROM table_1251878_3 WHERE maximum_fps = 30 | What size is a 30 frames per minute | <s>[INST]What size is a 30 frames per minute Context: CREATE TABLE table_1251878_3 (frame_size VARCHAR, maximum_fps VARCHAR)[/INST]SELECT frame_size FROM table_1251878_3 WHERE maximum_fps = 30</s> |
CREATE TABLE table_1601027_1 (termination VARCHAR, headphone_model VARCHAR) | SELECT termination FROM table_1601027_1 WHERE headphone_model = "SR80i" | Which terminations correspond with headphone model SR80I? | <s>[INST]Which terminations correspond with headphone model SR80I? Context: CREATE TABLE table_1601027_1 (termination VARCHAR, headphone_model VARCHAR)[/INST]SELECT termination FROM table_1601027_1 WHERE headphone_model = "SR80i"</s> |
CREATE TABLE table_26032940_2 (main_cast VARCHAR, airdate VARCHAR) | SELECT main_cast FROM table_26032940_2 WHERE airdate = "3/23/1963" | Who was the cast on the 3/23/1963 episode? | <s>[INST]Who was the cast on the 3/23/1963 episode? Context: CREATE TABLE table_26032940_2 (main_cast VARCHAR, airdate VARCHAR)[/INST]SELECT main_cast FROM table_26032940_2 WHERE airdate = "3/23/1963"</s> |
CREATE TABLE table_name_15 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_15 WHERE place = "t4" AND player = "nick price" | What is T4 Place Player Nick Price's Score? | <s>[INST]What is T4 Place Player Nick Price's Score? Context: CREATE TABLE table_name_15 (score VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_15 WHERE place = "t4" AND player = "nick price"</s> |
CREATE TABLE instructor (name VARCHAR, dept_name VARCHAR) | SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.' | Find the names of all instructors in computer science department | <s>[INST]Find the names of all instructors in computer science department Context: CREATE TABLE instructor (name VARCHAR, dept_name VARCHAR)[/INST]SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.'</s> |
CREATE TABLE table_290017_1 (subdivision_name___be____bgn_pcgn_ VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR) | SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = "Grodnenskaya oblast'" | What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'? | <s>[INST]What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'? Context: CREATE TABLE table_290017_1 (subdivision_name___be____bgn_pcgn_ VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR)[/INST]SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = "Grodnenskaya oblast'"</s> |
CREATE TABLE table_name_90 (mpg_us_combined INTEGER, transmission VARCHAR, manufacturer VARCHAR, green_rating VARCHAR, mpg_uk_combined VARCHAR) | SELECT MIN(mpg_us_combined) FROM table_name_90 WHERE green_rating = "e" AND mpg_uk_combined < 42.2 AND manufacturer = "volkswagen" AND transmission = "m6" | What is the lowest MPG-US combined for a green rating of E, mpg in the UK- combined of under 42.2, manufacturer of Volkswagen, and an M6 transmission? | <s>[INST]What is the lowest MPG-US combined for a green rating of E, mpg in the UK- combined of under 42.2, manufacturer of Volkswagen, and an M6 transmission? Context: CREATE TABLE table_name_90 (mpg_us_combined INTEGER, transmission VARCHAR, manufacturer VARCHAR, green_rating VARCHAR, mpg_uk_combined VARCHAR)[/INST]SELECT MIN(mpg_us_combined) FROM table_name_90 WHERE green_rating = "e" AND mpg_uk_combined < 42.2 AND manufacturer = "volkswagen" AND transmission = "m6"</s> |
CREATE TABLE table_name_62 (label VARCHAR, date VARCHAR, region VARCHAR) | SELECT label FROM table_name_62 WHERE date = "june 12, 2008" AND region = "cyprus" | What is the Label of the release on June 12, 2008 in Cyprus? | <s>[INST]What is the Label of the release on June 12, 2008 in Cyprus? Context: CREATE TABLE table_name_62 (label VARCHAR, date VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_62 WHERE date = "june 12, 2008" AND region = "cyprus"</s> |
CREATE TABLE table_name_90 (tournaments INTEGER, highest_rank VARCHAR) | SELECT AVG(tournaments) FROM table_name_90 WHERE highest_rank = "maegashira 1" | What is the average Tournaments, when Highest Rank is "Maegashira 1"? | <s>[INST]What is the average Tournaments, when Highest Rank is "Maegashira 1"? Context: CREATE TABLE table_name_90 (tournaments INTEGER, highest_rank VARCHAR)[/INST]SELECT AVG(tournaments) FROM table_name_90 WHERE highest_rank = "maegashira 1"</s> |
CREATE TABLE table_name_79 (name VARCHAR, qual_1 VARCHAR) | SELECT name FROM table_name_79 WHERE qual_1 = "59.578" | Who got 59.578 for Qual 1? | <s>[INST]Who got 59.578 for Qual 1? Context: CREATE TABLE table_name_79 (name VARCHAR, qual_1 VARCHAR)[/INST]SELECT name FROM table_name_79 WHERE qual_1 = "59.578"</s> |
CREATE TABLE table_name_77 (ifls___uifls VARCHAR, model VARCHAR) | SELECT ifls___uifls FROM table_name_77 WHERE model = "e12" | For Model e12 what is the IFLs/uIFLs? | <s>[INST]For Model e12 what is the IFLs/uIFLs? Context: CREATE TABLE table_name_77 (ifls___uifls VARCHAR, model VARCHAR)[/INST]SELECT ifls___uifls FROM table_name_77 WHERE model = "e12"</s> |
CREATE TABLE table_name_62 (nation VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR) | SELECT nation FROM table_name_62 WHERE total < 14 AND silver = 1 AND rank = "5" | What nation won fewer than 14 total medals, 1 silver medal, and rank 5? | <s>[INST]What nation won fewer than 14 total medals, 1 silver medal, and rank 5? Context: CREATE TABLE table_name_62 (nation VARCHAR, rank VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT nation FROM table_name_62 WHERE total < 14 AND silver = 1 AND rank = "5"</s> |
CREATE TABLE table_name_3 (martin_mcguinness VARCHAR, seán_gallagher VARCHAR) | SELECT martin_mcguinness FROM table_name_3 WHERE seán_gallagher = "29.6%" | What is the Martin mcGuinness with a Sean Gallagher that is 29.6%? | <s>[INST]What is the Martin mcGuinness with a Sean Gallagher that is 29.6%? Context: CREATE TABLE table_name_3 (martin_mcguinness VARCHAR, seán_gallagher VARCHAR)[/INST]SELECT martin_mcguinness FROM table_name_3 WHERE seán_gallagher = "29.6%"</s> |
CREATE TABLE table_20867295_2 (top_scorer VARCHAR, winner VARCHAR, third_place VARCHAR) | SELECT top_scorer FROM table_20867295_2 WHERE winner = "PSV Eindhoven" AND third_place = "NAC Breda" | When nac breda came in third place and psv eindhoven was the winner who is the top scorer? | <s>[INST]When nac breda came in third place and psv eindhoven was the winner who is the top scorer? Context: CREATE TABLE table_20867295_2 (top_scorer VARCHAR, winner VARCHAR, third_place VARCHAR)[/INST]SELECT top_scorer FROM table_20867295_2 WHERE winner = "PSV Eindhoven" AND third_place = "NAC Breda"</s> |
CREATE TABLE table_name_79 (res VARCHAR, record VARCHAR) | SELECT res FROM table_name_79 WHERE record = "12-2" | What is the result of the fight when record is 12-2? | <s>[INST]What is the result of the fight when record is 12-2? Context: CREATE TABLE table_name_79 (res VARCHAR, record VARCHAR)[/INST]SELECT res FROM table_name_79 WHERE record = "12-2"</s> |
CREATE TABLE club (name VARCHAR, Club_ID VARCHAR); CREATE TABLE player (Club_ID VARCHAR, Position VARCHAR) | SELECT T1.name FROM club AS T1 JOIN player AS T2 ON T1.Club_ID = T2.Club_ID WHERE T2.Position = "Right Wing" | Show the names of clubs that have players with position "Right Wing". | <s>[INST]Show the names of clubs that have players with position "Right Wing". Context: CREATE TABLE club (name VARCHAR, Club_ID VARCHAR); CREATE TABLE player (Club_ID VARCHAR, Position VARCHAR)[/INST]SELECT T1.name FROM club AS T1 JOIN player AS T2 ON T1.Club_ID = T2.Club_ID WHERE T2.Position = "Right Wing"</s> |
CREATE TABLE table_name_48 (long_term_gain_on_collectibles VARCHAR, ordinary_income_rate VARCHAR) | SELECT long_term_gain_on_collectibles FROM table_name_48 WHERE ordinary_income_rate = "15%" | What long-term gain for collectibles coincides with ordinary income rate 15%? | <s>[INST]What long-term gain for collectibles coincides with ordinary income rate 15%? Context: CREATE TABLE table_name_48 (long_term_gain_on_collectibles VARCHAR, ordinary_income_rate VARCHAR)[/INST]SELECT long_term_gain_on_collectibles FROM table_name_48 WHERE ordinary_income_rate = "15%"</s> |
CREATE TABLE table_name_86 (tuner VARCHAR, governing_body VARCHAR, team VARCHAR, season VARCHAR, driver VARCHAR) | SELECT tuner FROM table_name_86 WHERE season > 2004 AND driver = "gaurav gill" AND team = "team mrf" AND governing_body = "mai" | Who is the tuner after season 2004 with Gaurav Gill as the driver, Team MRF, and Mai governing body? | <s>[INST]Who is the tuner after season 2004 with Gaurav Gill as the driver, Team MRF, and Mai governing body? Context: CREATE TABLE table_name_86 (tuner VARCHAR, governing_body VARCHAR, team VARCHAR, season VARCHAR, driver VARCHAR)[/INST]SELECT tuner FROM table_name_86 WHERE season > 2004 AND driver = "gaurav gill" AND team = "team mrf" AND governing_body = "mai"</s> |
CREATE TABLE table_name_56 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_56 WHERE game = 2 | On what day was game 2 played? | <s>[INST]On what day was game 2 played? Context: CREATE TABLE table_name_56 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_56 WHERE game = 2</s> |
CREATE TABLE table_name_10 (brigade VARCHAR, type VARCHAR, tankers VARCHAR) | SELECT brigade FROM table_name_10 WHERE type = "rural" AND tankers = 1 | What is the Brigade, when the Type is Rural, and when the value for Tankers is 1? | <s>[INST]What is the Brigade, when the Type is Rural, and when the value for Tankers is 1? Context: CREATE TABLE table_name_10 (brigade VARCHAR, type VARCHAR, tankers VARCHAR)[/INST]SELECT brigade FROM table_name_10 WHERE type = "rural" AND tankers = 1</s> |
CREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR) | SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers" | What is the average attendance when the Forest Green Rovers is the away team? | <s>[INST]What is the average attendance when the Forest Green Rovers is the away team? Context: CREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers"</s> |
CREATE TABLE table_25642873_2 (safeties INTEGER) | SELECT MIN(safeties) FROM table_25642873_2 | What is the smallest number of safeties? | <s>[INST]What is the smallest number of safeties? Context: CREATE TABLE table_25642873_2 (safeties INTEGER)[/INST]SELECT MIN(safeties) FROM table_25642873_2</s> |
CREATE TABLE table_name_11 (mark VARCHAR, name VARCHAR) | SELECT mark FROM table_name_11 WHERE name = "kim collins" | What is the mark for Kim Collins? | <s>[INST]What is the mark for Kim Collins? Context: CREATE TABLE table_name_11 (mark VARCHAR, name VARCHAR)[/INST]SELECT mark FROM table_name_11 WHERE name = "kim collins"</s> |
CREATE TABLE table_name_5 (long INTEGER, player VARCHAR, att VARCHAR) | SELECT MIN(long) FROM table_name_5 WHERE player = "santana moss" AND att > 1 | I want to know the longest Long for santana moss and Att more than 1 | <s>[INST]I want to know the longest Long for santana moss and Att more than 1 Context: CREATE TABLE table_name_5 (long INTEGER, player VARCHAR, att VARCHAR)[/INST]SELECT MIN(long) FROM table_name_5 WHERE player = "santana moss" AND att > 1</s> |
CREATE TABLE table_name_98 (time VARCHAR, year VARCHAR, event VARCHAR) | SELECT time FROM table_name_98 WHERE year > 2011 AND event = "800 freestyle relay" | What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"? | <s>[INST]What is Time, when Year is greater than 2011, and when Event is "800 Freestyle Relay"? Context: CREATE TABLE table_name_98 (time VARCHAR, year VARCHAR, event VARCHAR)[/INST]SELECT time FROM table_name_98 WHERE year > 2011 AND event = "800 freestyle relay"</s> |
CREATE TABLE table_name_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_35 WHERE enrollment > 441 AND mascot = "chargers" | What's the school that has an enrollment more than 441 with chargers as their mascot? | <s>[INST]What's the school that has an enrollment more than 441 with chargers as their mascot? Context: CREATE TABLE table_name_35 (school VARCHAR, enrollment VARCHAR, mascot VARCHAR)[/INST]SELECT school FROM table_name_35 WHERE enrollment > 441 AND mascot = "chargers"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.