context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_16710829_2 (result VARCHAR, opponent VARCHAR) | SELECT COUNT(result) FROM table_16710829_2 WHERE opponent = "New Orleans Saints" | Name the total number of results for new orleans saints | <s>[INST]Name the total number of results for new orleans saints Context: CREATE TABLE table_16710829_2 (result VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(result) FROM table_16710829_2 WHERE opponent = "New Orleans Saints"</s> |
CREATE TABLE table_22355_68 (rank INTEGER, gold VARCHAR) | SELECT MIN(rank) FROM table_22355_68 WHERE gold = 2 | Name the most rank for 2 gold | <s>[INST]Name the most rank for 2 gold Context: CREATE TABLE table_22355_68 (rank INTEGER, gold VARCHAR)[/INST]SELECT MIN(rank) FROM table_22355_68 WHERE gold = 2</s> |
CREATE TABLE table_2570269_3 (cast VARCHAR, episode__number VARCHAR) | SELECT cast FROM table_2570269_3 WHERE episode__number = "3-04" | Who are the cast members of episode 3-04? | <s>[INST]Who are the cast members of episode 3-04? Context: CREATE TABLE table_2570269_3 (cast VARCHAR, episode__number VARCHAR)[/INST]SELECT cast FROM table_2570269_3 WHERE episode__number = "3-04"</s> |
CREATE TABLE table_name_88 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_88 WHERE player = "riley clayton" | which college has a player called Riley Clayton? | <s>[INST]which college has a player called Riley Clayton? Context: CREATE TABLE table_name_88 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_88 WHERE player = "riley clayton"</s> |
CREATE TABLE table_name_43 (attendance VARCHAR, date VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_43 WHERE date = "october 20, 1946" AND week < 4 | Name the total number of attendance for october 20, 1946 with week less than 4 | <s>[INST]Name the total number of attendance for october 20, 1946 with week less than 4 Context: CREATE TABLE table_name_43 (attendance VARCHAR, date VARCHAR, week VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_43 WHERE date = "october 20, 1946" AND week < 4</s> |
CREATE TABLE table_name_46 (date VARCHAR, athlete VARCHAR) | SELECT date FROM table_name_46 WHERE athlete = "nesta carter" | On what Date of the race was Nesta Carter the Athlete? | <s>[INST]On what Date of the race was Nesta Carter the Athlete? Context: CREATE TABLE table_name_46 (date VARCHAR, athlete VARCHAR)[/INST]SELECT date FROM table_name_46 WHERE athlete = "nesta carter"</s> |
CREATE TABLE table_name_5 (circuit VARCHAR, race_name VARCHAR) | SELECT circuit FROM table_name_5 WHERE race_name = "i mexican grand prix" | On what circuit was the i mexican grand prix held? | <s>[INST]On what circuit was the i mexican grand prix held? Context: CREATE TABLE table_name_5 (circuit VARCHAR, race_name VARCHAR)[/INST]SELECT circuit FROM table_name_5 WHERE race_name = "i mexican grand prix"</s> |
CREATE TABLE table_2226817_3 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_2226817_3 WHERE written_by = "Michael G. Moye & Ron Leavitt & J. Stanford Parker" | Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker? | <s>[INST]Who directed what was written by Michael G. Moye & Ron Leavitt & J. Stanford Parker? Context: CREATE TABLE table_2226817_3 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_2226817_3 WHERE written_by = "Michael G. Moye & Ron Leavitt & J. Stanford Parker"</s> |
CREATE TABLE table_name_60 (award VARCHAR, outcome VARCHAR, name VARCHAR) | SELECT award FROM table_name_60 WHERE outcome = "nominated" AND name = "anuya bhagvath" | Anuya Bhagvath was nominated for what award? | <s>[INST]Anuya Bhagvath was nominated for what award? Context: CREATE TABLE table_name_60 (award VARCHAR, outcome VARCHAR, name VARCHAR)[/INST]SELECT award FROM table_name_60 WHERE outcome = "nominated" AND name = "anuya bhagvath"</s> |
CREATE TABLE table_1686313_1 (population__2007_ INTEGER, barangay VARCHAR) | SELECT MIN(population__2007_) FROM table_1686313_1 WHERE barangay = "Poblacion II" | Name the least population 2007 for barangay is poblacion ii | <s>[INST]Name the least population 2007 for barangay is poblacion ii Context: CREATE TABLE table_1686313_1 (population__2007_ INTEGER, barangay VARCHAR)[/INST]SELECT MIN(population__2007_) FROM table_1686313_1 WHERE barangay = "Poblacion II"</s> |
CREATE TABLE table_name_30 (seats_2001 INTEGER, _percentage_2001 VARCHAR, _percentage_2006 VARCHAR) | SELECT SUM(seats_2001) FROM table_name_30 WHERE _percentage_2001 > 61.4 AND _percentage_2006 < 54.1 | When the %2001 is more than 61.4, and the %2006 fewer than 54.1, how many Seats in 2001 were there? | <s>[INST]When the %2001 is more than 61.4, and the %2006 fewer than 54.1, how many Seats in 2001 were there? Context: CREATE TABLE table_name_30 (seats_2001 INTEGER, _percentage_2001 VARCHAR, _percentage_2006 VARCHAR)[/INST]SELECT SUM(seats_2001) FROM table_name_30 WHERE _percentage_2001 > 61.4 AND _percentage_2006 < 5... |
CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT score FROM table_name_75 WHERE opponent = "royals" AND record = "24–52" | What was the score of the game against the Royals when the record was 24–52? | <s>[INST]What was the score of the game against the Royals when the record was 24–52? Context: CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_75 WHERE opponent = "royals" AND record = "24–52"</s> |
CREATE TABLE table_name_2 (msrp VARCHAR, storage VARCHAR) | SELECT msrp FROM table_name_2 WHERE storage = "128-512 gb ssd" | What is the MSRP for the laptop with storage of 128-512 GB SSD? | <s>[INST]What is the MSRP for the laptop with storage of 128-512 GB SSD? Context: CREATE TABLE table_name_2 (msrp VARCHAR, storage VARCHAR)[/INST]SELECT msrp FROM table_name_2 WHERE storage = "128-512 gb ssd"</s> |
CREATE TABLE invoices (billing_country VARCHAR) | SELECT billing_country, COUNT(*) FROM invoices GROUP BY billing_country ORDER BY COUNT(*) DESC LIMIT 5 | A list of the top 5 countries by number of invoices. List country name and number of invoices. | <s>[INST]A list of the top 5 countries by number of invoices. List country name and number of invoices. Context: CREATE TABLE invoices (billing_country VARCHAR)[/INST]SELECT billing_country, COUNT(*) FROM invoices GROUP BY billing_country ORDER BY COUNT(*) DESC LIMIT 5</s> |
CREATE TABLE table_name_37 (engine VARCHAR, driver VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_37 WHERE driver = "ken downing" AND entrant = "connaught engineering" | what was the engine when ken downing drove an entrant from connaught engineering? | <s>[INST]what was the engine when ken downing drove an entrant from connaught engineering? Context: CREATE TABLE table_name_37 (engine VARCHAR, driver VARCHAR, entrant VARCHAR)[/INST]SELECT engine FROM table_name_37 WHERE driver = "ken downing" AND entrant = "connaught engineering"</s> |
CREATE TABLE table_name_4 (competition_finish INTEGER, average VARCHAR, number_of_dances VARCHAR) | SELECT MAX(competition_finish) FROM table_name_4 WHERE average > 32.9 AND number_of_dances > 16 | Name the greatest competition finish with average more than 32.9 and number of dances more than 16 | <s>[INST]Name the greatest competition finish with average more than 32.9 and number of dances more than 16 Context: CREATE TABLE table_name_4 (competition_finish INTEGER, average VARCHAR, number_of_dances VARCHAR)[/INST]SELECT MAX(competition_finish) FROM table_name_4 WHERE average > 32.9 AND number_of_dances > 16</s> |
CREATE TABLE table_name_67 (round VARCHAR, score VARCHAR) | SELECT round FROM table_name_67 WHERE score = "10-52" | Which round resulted in 10-52? | <s>[INST]Which round resulted in 10-52? Context: CREATE TABLE table_name_67 (round VARCHAR, score VARCHAR)[/INST]SELECT round FROM table_name_67 WHERE score = "10-52"</s> |
CREATE TABLE table_name_46 (region VARCHAR, label VARCHAR, date VARCHAR) | SELECT region FROM table_name_46 WHERE label = "alfa records" AND date = "january 23, 1987" | What region has the label of alfa records and the date of January 23, 1987? | <s>[INST]What region has the label of alfa records and the date of January 23, 1987? Context: CREATE TABLE table_name_46 (region VARCHAR, label VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_46 WHERE label = "alfa records" AND date = "january 23, 1987"</s> |
CREATE TABLE table_name_97 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_97 WHERE home_team = "north melbourne" | What is the average crowd for the home team of North Melbourne? | <s>[INST]What is the average crowd for the home team of North Melbourne? Context: CREATE TABLE table_name_97 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_97 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_27495117_3 (team VARCHAR, date_of_appointment VARCHAR) | SELECT COUNT(team) FROM table_27495117_3 WHERE date_of_appointment = "11 April 2011" | how many teams had an appointment date of 11 april 2011 | <s>[INST]how many teams had an appointment date of 11 april 2011 Context: CREATE TABLE table_27495117_3 (team VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT COUNT(team) FROM table_27495117_3 WHERE date_of_appointment = "11 April 2011"</s> |
CREATE TABLE table_name_52 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_52 WHERE away_team = "north melbourne" | What was North Melbourne's score when they were the home team? | <s>[INST]What was North Melbourne's score when they were the home team? Context: CREATE TABLE table_name_52 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_52 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR) | SELECT partner FROM table_name_22 WHERE surface = "carpet" | Who was his partner when he played on carpet? | <s>[INST]Who was his partner when he played on carpet? Context: CREATE TABLE table_name_22 (partner VARCHAR, surface VARCHAR)[/INST]SELECT partner FROM table_name_22 WHERE surface = "carpet"</s> |
CREATE TABLE table_name_2 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_2 WHERE score = "w 106-100" | What was the date of the game with a score of W 106-100? | <s>[INST]What was the date of the game with a score of W 106-100? Context: CREATE TABLE table_name_2 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_2 WHERE score = "w 106-100"</s> |
CREATE TABLE table_name_66 (original_title VARCHAR, result VARCHAR, year__ceremony_ VARCHAR) | SELECT original_title FROM table_name_66 WHERE result = "not nominated" AND year__ceremony_ = "2012 (85th)" | In the 2012 (85th) Ceremony, what was the Original title of the film not nominated? | <s>[INST]In the 2012 (85th) Ceremony, what was the Original title of the film not nominated? Context: CREATE TABLE table_name_66 (original_title VARCHAR, result VARCHAR, year__ceremony_ VARCHAR)[/INST]SELECT original_title FROM table_name_66 WHERE result = "not nominated" AND year__ceremony_ = "2012 (85th)"</s> |
CREATE TABLE table_name_43 (grade VARCHAR, chin_up__reps_ VARCHAR) | SELECT grade FROM table_name_43 WHERE chin_up__reps_ = "3" | If a person does 3 chin-up reps, what grade do they obtain? | <s>[INST]If a person does 3 chin-up reps, what grade do they obtain? Context: CREATE TABLE table_name_43 (grade VARCHAR, chin_up__reps_ VARCHAR)[/INST]SELECT grade FROM table_name_43 WHERE chin_up__reps_ = "3"</s> |
CREATE TABLE table_1342218_35 (candidates VARCHAR, result VARCHAR, first_elected VARCHAR) | SELECT candidates FROM table_1342218_35 WHERE result = "Re-elected" AND first_elected = 1942 | What candidate was re-elected and was first elected in 1942? | <s>[INST]What candidate was re-elected and was first elected in 1942? Context: CREATE TABLE table_1342218_35 (candidates VARCHAR, result VARCHAR, first_elected VARCHAR)[/INST]SELECT candidates FROM table_1342218_35 WHERE result = "Re-elected" AND first_elected = 1942</s> |
CREATE TABLE table_name_17 (author VARCHAR, title VARCHAR) | SELECT author FROM table_name_17 WHERE title = "harry potter and the deathly hallows" | who is the author for harry potter and the deathly hallows? | <s>[INST]who is the author for harry potter and the deathly hallows? Context: CREATE TABLE table_name_17 (author VARCHAR, title VARCHAR)[/INST]SELECT author FROM table_name_17 WHERE title = "harry potter and the deathly hallows"</s> |
CREATE TABLE table_11677691_2 (player VARCHAR, college VARCHAR) | SELECT COUNT(player) FROM table_11677691_2 WHERE college = "Oregon" | HOW MANY PLAYERS PLAY FOR OREGON? | <s>[INST]HOW MANY PLAYERS PLAY FOR OREGON? Context: CREATE TABLE table_11677691_2 (player VARCHAR, college VARCHAR)[/INST]SELECT COUNT(player) FROM table_11677691_2 WHERE college = "Oregon"</s> |
CREATE TABLE table_10360656_1 (player_name VARCHAR, position VARCHAR) | SELECT player_name FROM table_10360656_1 WHERE position = "Quarterback" | What was the name of the quarterback drafted? | <s>[INST]What was the name of the quarterback drafted? Context: CREATE TABLE table_10360656_1 (player_name VARCHAR, position VARCHAR)[/INST]SELECT player_name FROM table_10360656_1 WHERE position = "Quarterback"</s> |
CREATE TABLE table_26842217_18 (date VARCHAR, broadcast VARCHAR) | SELECT date FROM table_26842217_18 WHERE broadcast = "FSN" | Name the date for broadcast fsn | <s>[INST]Name the date for broadcast fsn Context: CREATE TABLE table_26842217_18 (date VARCHAR, broadcast VARCHAR)[/INST]SELECT date FROM table_26842217_18 WHERE broadcast = "FSN"</s> |
CREATE TABLE table_name_34 (track VARCHAR, opened VARCHAR) | SELECT track FROM table_name_34 WHERE opened = "1992" | Where is the track located that opened in 1992? | <s>[INST]Where is the track located that opened in 1992? Context: CREATE TABLE table_name_34 (track VARCHAR, opened VARCHAR)[/INST]SELECT track FROM table_name_34 WHERE opened = "1992"</s> |
CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR) | SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane" | Who Eliminated Kane? | <s>[INST]Who Eliminated Kane? Context: CREATE TABLE table_name_63 (eliminated_by VARCHAR, wrestler VARCHAR)[/INST]SELECT eliminated_by FROM table_name_63 WHERE wrestler = "kane"</s> |
CREATE TABLE table_name_56 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_56 WHERE away_team = "north melbourne" | When North Melbourne played as the away team, what was the crowd numbers? | <s>[INST]When North Melbourne played as the away team, what was the crowd numbers? Context: CREATE TABLE table_name_56 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_56 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_23 (total INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(total) FROM table_name_23 WHERE rank < 2 AND silver < 15 | Which Total is the lowest one that has a Rank smaller than 2, and a Silver smaller than 15? | <s>[INST]Which Total is the lowest one that has a Rank smaller than 2, and a Silver smaller than 15? Context: CREATE TABLE table_name_23 (total INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(total) FROM table_name_23 WHERE rank < 2 AND silver < 15</s> |
CREATE TABLE table_name_32 (result VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_32 WHERE week < 3 AND attendance = "53,658" | What was the result of the game before week 3 with an attendance of 53,658? | <s>[INST]What was the result of the game before week 3 with an attendance of 53,658? Context: CREATE TABLE table_name_32 (result VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_32 WHERE week < 3 AND attendance = "53,658"</s> |
CREATE TABLE table_15945862_1 (december VARCHAR, january VARCHAR) | SELECT december FROM table_15945862_1 WHERE january = "8.77" | What December is 8.77 in January | <s>[INST]What December is 8.77 in January Context: CREATE TABLE table_15945862_1 (december VARCHAR, january VARCHAR)[/INST]SELECT december FROM table_15945862_1 WHERE january = "8.77"</s> |
CREATE TABLE table_name_32 (team_2 VARCHAR, ground VARCHAR, result VARCHAR) | SELECT team_2 FROM table_name_32 WHERE ground = "pailing sport park" AND result = "0-4" | What team is 2 when the game result is 0-4 at Pailing Sport Park? | <s>[INST]What team is 2 when the game result is 0-4 at Pailing Sport Park? Context: CREATE TABLE table_name_32 (team_2 VARCHAR, ground VARCHAR, result VARCHAR)[/INST]SELECT team_2 FROM table_name_32 WHERE ground = "pailing sport park" AND result = "0-4"</s> |
CREATE TABLE table_name_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR) | SELECT MAX(doctorate) FROM table_name_10 WHERE specialist = 0 AND college = "informatics and systems" AND masters < 2 | What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have? | <s>[INST]What is the highest number of doctorates the college of informatics and systems, which has 0 specialists and less than 2 master's degrees, have? Context: CREATE TABLE table_name_10 (doctorate INTEGER, masters VARCHAR, specialist VARCHAR, college VARCHAR)[/INST]SELECT MAX(doctorate) FROM table_name_10 WHERE spe... |
CREATE TABLE table_name_69 (runner_up VARCHAR, winning_score VARCHAR) | SELECT runner_up FROM table_name_69 WHERE winning_score = −20(70 - 69 - 64 - 65 = 268) | Which Runner-up has a Winning score of −20 (70-69-64-65=268)? | <s>[INST]Which Runner-up has a Winning score of −20 (70-69-64-65=268)? Context: CREATE TABLE table_name_69 (runner_up VARCHAR, winning_score VARCHAR)[/INST]SELECT runner_up FROM table_name_69 WHERE winning_score = −20(70 - 69 - 64 - 65 = 268)</s> |
CREATE TABLE table_name_44 (score VARCHAR, competition VARCHAR, date VARCHAR) | SELECT score FROM table_name_44 WHERE competition = "west asian games 2005" AND date = "10 dec 2005" | What is the Score of West Asian Games 2005 on 10 dec 2005? | <s>[INST]What is the Score of West Asian Games 2005 on 10 dec 2005? Context: CREATE TABLE table_name_44 (score VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_44 WHERE competition = "west asian games 2005" AND date = "10 dec 2005"</s> |
CREATE TABLE repair_assignment (technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR) | SELECT T2.Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_ID = T2.technician_ID GROUP BY T2.Name | Show names of technicians and the number of machines they are assigned to repair. | <s>[INST]Show names of technicians and the number of machines they are assigned to repair. Context: CREATE TABLE repair_assignment (technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)[/INST]SELECT T2.Name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_ID ... |
CREATE TABLE table_15621965_17 (no VARCHAR, school_club_team VARCHAR) | SELECT no FROM table_15621965_17 WHERE school_club_team = "Arizona" | Which number belonged to the school team from Arizona? | <s>[INST]Which number belonged to the school team from Arizona? Context: CREATE TABLE table_15621965_17 (no VARCHAR, school_club_team VARCHAR)[/INST]SELECT no FROM table_15621965_17 WHERE school_club_team = "Arizona"</s> |
CREATE TABLE table_name_90 (period VARCHAR, country VARCHAR, peak_position VARCHAR) | SELECT period FROM table_name_90 WHERE country = "south korea" AND peak_position = "#1" | Name the period for south korea with peak position of #1 | <s>[INST]Name the period for south korea with peak position of #1 Context: CREATE TABLE table_name_90 (period VARCHAR, country VARCHAR, peak_position VARCHAR)[/INST]SELECT period FROM table_name_90 WHERE country = "south korea" AND peak_position = "#1"</s> |
CREATE TABLE table_1973842_1 (type VARCHAR, nickname VARCHAR) | SELECT type FROM table_1973842_1 WHERE nickname = "Tigers" | What is the type of the school whose students' nickname is tigers? | <s>[INST]What is the type of the school whose students' nickname is tigers? Context: CREATE TABLE table_1973842_1 (type VARCHAR, nickname VARCHAR)[/INST]SELECT type FROM table_1973842_1 WHERE nickname = "Tigers"</s> |
CREATE TABLE table_name_50 (byes INTEGER, wins INTEGER) | SELECT AVG(byes) FROM table_name_50 WHERE wins > 16 | How many byes when there are more than 16 wins? | <s>[INST]How many byes when there are more than 16 wins? Context: CREATE TABLE table_name_50 (byes INTEGER, wins INTEGER)[/INST]SELECT AVG(byes) FROM table_name_50 WHERE wins > 16</s> |
CREATE TABLE table_name_30 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_30 WHERE result = "w 27–20" | Which Date has a Result of w 27–20? | <s>[INST]Which Date has a Result of w 27–20? Context: CREATE TABLE table_name_30 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_30 WHERE result = "w 27–20"</s> |
CREATE TABLE table_name_2 (quantity_made VARCHAR, class VARCHAR) | SELECT quantity_made FROM table_name_2 WHERE class = "p14" | How many CLASS P14 trains were made? | <s>[INST]How many CLASS P14 trains were made? Context: CREATE TABLE table_name_2 (quantity_made VARCHAR, class VARCHAR)[/INST]SELECT quantity_made FROM table_name_2 WHERE class = "p14"</s> |
CREATE TABLE table_name_5 (tyre VARCHAR, race VARCHAR) | SELECT tyre FROM table_name_5 WHERE race = "united states grand prix" | What is the Tyre for the united states grand prix? | <s>[INST]What is the Tyre for the united states grand prix? Context: CREATE TABLE table_name_5 (tyre VARCHAR, race VARCHAR)[/INST]SELECT tyre FROM table_name_5 WHERE race = "united states grand prix"</s> |
CREATE TABLE table_1431467_4 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1431467_4 WHERE incumbent = "John J. Hemphill" | Who was everyone first elected when incumbent was John J. Hemphill? | <s>[INST]Who was everyone first elected when incumbent was John J. Hemphill? Context: CREATE TABLE table_1431467_4 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_1431467_4 WHERE incumbent = "John J. Hemphill"</s> |
CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ VARCHAR, standard_torque__lb_ft_ VARCHAR, modified_torque__lb_ft_ VARCHAR) | SELECT modified_speed__6th_gear_ FROM table_19704392_1 WHERE standard_torque__lb_ft_ = "10.3" AND modified_torque__lb_ft_ = "8.75" | What is the modified speed (6th gear) when standard torque (lb/ft) is 10.3 and modified torque (lb/ft) is 8.75? | <s>[INST]What is the modified speed (6th gear) when standard torque (lb/ft) is 10.3 and modified torque (lb/ft) is 8.75? Context: CREATE TABLE table_19704392_1 (modified_speed__6th_gear_ VARCHAR, standard_torque__lb_ft_ VARCHAR, modified_torque__lb_ft_ VARCHAR)[/INST]SELECT modified_speed__6th_gear_ FROM table_19704392... |
CREATE TABLE Band (Id VARCHAR) | SELECT COUNT(*) FROM Band | How many bands are there? | <s>[INST]How many bands are there? Context: CREATE TABLE Band (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Band</s> |
CREATE TABLE Owners (state VARCHAR); CREATE TABLE Professionals (state VARCHAR) | SELECT state FROM Owners INTERSECT SELECT state FROM Professionals | Which states have both owners and professionals living there? | <s>[INST]Which states have both owners and professionals living there? Context: CREATE TABLE Owners (state VARCHAR); CREATE TABLE Professionals (state VARCHAR)[/INST]SELECT state FROM Owners INTERSECT SELECT state FROM Professionals</s> |
CREATE TABLE table_name_49 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_49 WHERE result = "w 13–0" | What is the Opponent of the game with a Result of w 13–0? | <s>[INST]What is the Opponent of the game with a Result of w 13–0? Context: CREATE TABLE table_name_49 (opponent VARCHAR, result VARCHAR)[/INST]SELECT opponent FROM table_name_49 WHERE result = "w 13–0"</s> |
CREATE TABLE table_name_1 (points INTEGER, games VARCHAR, pts_game VARCHAR, nation VARCHAR) | SELECT AVG(points) FROM table_name_1 WHERE pts_game > 4 AND nation = "england" AND games < 5 | Can you tell me the average Points that has a Pts/game larger than 4, and the Nation of england, and the Games smaller than 5? | <s>[INST]Can you tell me the average Points that has a Pts/game larger than 4, and the Nation of england, and the Games smaller than 5? Context: CREATE TABLE table_name_1 (points INTEGER, games VARCHAR, pts_game VARCHAR, nation VARCHAR)[/INST]SELECT AVG(points) FROM table_name_1 WHERE pts_game > 4 AND nation = "england... |
CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE student (fname VARCHAR, age VARCHAR, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR) | SELECT T1.fname, T1.age FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE NOT T2.dormid IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge') | Find the first name and age of students who are living in the dorms that do not have amenity TV Lounge. | <s>[INST]Find the first name and age of students who are living in the dorms that do not have amenity TV Lounge. Context: CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE student (fname VARCHAR, age VARCHAR, stuid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm_... |
CREATE TABLE table_name_69 (torque VARCHAR, notes VARCHAR, engine VARCHAR) | SELECT torque FROM table_name_69 WHERE notes = "laredo, limited, overland" AND engine = "5.7l hemi v8" | what is the torque when the notes are laredo, limited, overland and the engine is 5.7l hemi v8? | <s>[INST]what is the torque when the notes are laredo, limited, overland and the engine is 5.7l hemi v8? Context: CREATE TABLE table_name_69 (torque VARCHAR, notes VARCHAR, engine VARCHAR)[/INST]SELECT torque FROM table_name_69 WHERE notes = "laredo, limited, overland" AND engine = "5.7l hemi v8"</s> |
CREATE TABLE table_name_24 (round VARCHAR, overall VARCHAR) | SELECT COUNT(round) FROM table_name_24 WHERE overall = 211 | How many rounds had an overall of 211? | <s>[INST]How many rounds had an overall of 211? Context: CREATE TABLE table_name_24 (round VARCHAR, overall VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_24 WHERE overall = 211</s> |
CREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_16 WHERE away_team = "workington" | WHAT IS THE DATE WITH AN AWAY TEAM OF WORKINGTON? | <s>[INST]WHAT IS THE DATE WITH AN AWAY TEAM OF WORKINGTON? Context: CREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_16 WHERE away_team = "workington"</s> |
CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR, date VARCHAR) | SELECT score FROM table_name_35 WHERE opponents = "pkns fc" AND date = "january 8, 2006" | Which Score has Opponents of pkns fc, and a Date of january 8, 2006? | <s>[INST]Which Score has Opponents of pkns fc, and a Date of january 8, 2006? Context: CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_35 WHERE opponents = "pkns fc" AND date = "january 8, 2006"</s> |
CREATE TABLE table_name_14 (goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR) | SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65 | When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against? | <s>[INST]When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against? Context: CREATE TABLE table_name_14 (goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR)[/INST]SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65</s> |
CREATE TABLE table_name_78 (years VARCHAR, magazine VARCHAR) | SELECT years FROM table_name_78 WHERE magazine = "vaillant and pif" | What years did the magazine Vaillant and Pif run? | <s>[INST]What years did the magazine Vaillant and Pif run? Context: CREATE TABLE table_name_78 (years VARCHAR, magazine VARCHAR)[/INST]SELECT years FROM table_name_78 WHERE magazine = "vaillant and pif"</s> |
CREATE TABLE table_name_98 (revenue__bn INTEGER, rank VARCHAR, profit__bn$_ VARCHAR, assets__bn$_ VARCHAR, headquarters VARCHAR) | SELECT SUM(revenue__bn) AS $_ FROM table_name_98 WHERE assets__bn$_ < 3.46 AND headquarters = "hong kong" AND profit__bn$_ > 0.17 AND rank > 42 | What is the sum of revenue in Hong Kong with a rank greater than 42, less than $3.46 billion in assets, and greater than $0.17 billion in profits? | <s>[INST]What is the sum of revenue in Hong Kong with a rank greater than 42, less than $3.46 billion in assets, and greater than $0.17 billion in profits? Context: CREATE TABLE table_name_98 (revenue__bn INTEGER, rank VARCHAR, profit__bn$_ VARCHAR, assets__bn$_ VARCHAR, headquarters VARCHAR)[/INST]SELECT SUM(revenue__... |
CREATE TABLE table_name_89 (colourist_s VARCHAR, letterer_s VARCHAR, story_title VARCHAR) | SELECT colourist_s FROM table_name_89 WHERE letterer_s = "albers" AND story_title = "broken glass (part 3)" | Who is the Colourist that has a Story Title of Broken Glass (part 3) and a Letterer of Albers? | <s>[INST]Who is the Colourist that has a Story Title of Broken Glass (part 3) and a Letterer of Albers? Context: CREATE TABLE table_name_89 (colourist_s VARCHAR, letterer_s VARCHAR, story_title VARCHAR)[/INST]SELECT colourist_s FROM table_name_89 WHERE letterer_s = "albers" AND story_title = "broken glass (part 3)"</s> |
CREATE TABLE table_name_12 (h_a_n VARCHAR, score VARCHAR) | SELECT h_a_n FROM table_name_12 WHERE score = "108-102" | What was the H/A/N for the game that ended in a score of 108-102? | <s>[INST]What was the H/A/N for the game that ended in a score of 108-102? Context: CREATE TABLE table_name_12 (h_a_n VARCHAR, score VARCHAR)[/INST]SELECT h_a_n FROM table_name_12 WHERE score = "108-102"</s> |
CREATE TABLE table_name_37 (president VARCHAR, head_coach VARCHAR) | SELECT president FROM table_name_37 WHERE head_coach = "mark wakeling" | Who is the President of the team that has the Head Coach Mark Wakeling? | <s>[INST]Who is the President of the team that has the Head Coach Mark Wakeling? Context: CREATE TABLE table_name_37 (president VARCHAR, head_coach VARCHAR)[/INST]SELECT president FROM table_name_37 WHERE head_coach = "mark wakeling"</s> |
CREATE TABLE table_12570207_1 (livingstone VARCHAR, fitzroy VARCHAR) | SELECT livingstone FROM table_12570207_1 WHERE fitzroy = 9499 | what's the livingstone with fitzroy being 9499 | <s>[INST]what's the livingstone with fitzroy being 9499 Context: CREATE TABLE table_12570207_1 (livingstone VARCHAR, fitzroy VARCHAR)[/INST]SELECT livingstone FROM table_12570207_1 WHERE fitzroy = 9499</s> |
CREATE TABLE table_name_5 (cuts_made INTEGER, wins INTEGER) | SELECT MAX(cuts_made) FROM table_name_5 WHERE wins > 1 | Tell me the highest cuts made with wins more than 1 | <s>[INST]Tell me the highest cuts made with wins more than 1 Context: CREATE TABLE table_name_5 (cuts_made INTEGER, wins INTEGER)[/INST]SELECT MAX(cuts_made) FROM table_name_5 WHERE wins > 1</s> |
CREATE TABLE table_name_9 (att INTEGER, yards VARCHAR, comp VARCHAR) | SELECT MAX(att) FROM table_name_9 WHERE yards < 138 AND comp > 0 | For the player with yards less than 138, and Comp more than 0, what was the highest Att.? | <s>[INST]For the player with yards less than 138, and Comp more than 0, what was the highest Att.? Context: CREATE TABLE table_name_9 (att INTEGER, yards VARCHAR, comp VARCHAR)[/INST]SELECT MAX(att) FROM table_name_9 WHERE yards < 138 AND comp > 0</s> |
CREATE TABLE table_name_67 (try_bonus VARCHAR, points VARCHAR) | SELECT try_bonus FROM table_name_67 WHERE points = "58" | What is the try bonus when there were 58 points? | <s>[INST]What is the try bonus when there were 58 points? Context: CREATE TABLE table_name_67 (try_bonus VARCHAR, points VARCHAR)[/INST]SELECT try_bonus FROM table_name_67 WHERE points = "58"</s> |
CREATE TABLE table_name_63 (total INTEGER, difficulty_score VARCHAR, rank VARCHAR, routine_score VARCHAR) | SELECT MIN(total) FROM table_name_63 WHERE rank > 8 AND routine_score > 27.6 AND difficulty_score = "13.8" | What is the total with lower than rank 8, and higher than 27.6 score and 13.8 difficulty? | <s>[INST]What is the total with lower than rank 8, and higher than 27.6 score and 13.8 difficulty? Context: CREATE TABLE table_name_63 (total INTEGER, difficulty_score VARCHAR, rank VARCHAR, routine_score VARCHAR)[/INST]SELECT MIN(total) FROM table_name_63 WHERE rank > 8 AND routine_score > 27.6 AND difficulty_score = ... |
CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_2 WHERE region = "us" AND catalog = "10008-2" | Tell me the label for US region and catalog of 10008-2 | <s>[INST]Tell me the label for US region and catalog of 10008-2 Context: CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_2 WHERE region = "us" AND catalog = "10008-2"</s> |
CREATE TABLE match_season (Draft_Pick_Number VARCHAR, Draft_Class VARCHAR, POSITION VARCHAR) | SELECT Draft_Pick_Number, Draft_Class FROM match_season WHERE POSITION = "Defender" | Show the draft pick numbers and draft classes of players whose positions are defenders. | <s>[INST]Show the draft pick numbers and draft classes of players whose positions are defenders. Context: CREATE TABLE match_season (Draft_Pick_Number VARCHAR, Draft_Class VARCHAR, POSITION VARCHAR)[/INST]SELECT Draft_Pick_Number, Draft_Class FROM match_season WHERE POSITION = "Defender"</s> |
CREATE TABLE table_name_73 (winner VARCHAR, tournament VARCHAR) | SELECT winner FROM table_name_73 WHERE tournament = "the tour championship" | What is the name of the winner of the tour championship tournament? | <s>[INST]What is the name of the winner of the tour championship tournament? Context: CREATE TABLE table_name_73 (winner VARCHAR, tournament VARCHAR)[/INST]SELECT winner FROM table_name_73 WHERE tournament = "the tour championship"</s> |
CREATE TABLE table_name_82 (silver INTEGER, total VARCHAR, bronze VARCHAR) | SELECT MAX(silver) FROM table_name_82 WHERE total = 57 AND bronze > 20 | What is the highest silver that has 57 as the total, with a bronze greater than 20? | <s>[INST]What is the highest silver that has 57 as the total, with a bronze greater than 20? Context: CREATE TABLE table_name_82 (silver INTEGER, total VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_82 WHERE total = 57 AND bronze > 20</s> |
CREATE TABLE table_name_81 (party VARCHAR, votes INTEGER) | SELECT party FROM table_name_81 WHERE votes < 11 OFFSET 484 | Which party has less than 11,484 votes? | <s>[INST]Which party has less than 11,484 votes? Context: CREATE TABLE table_name_81 (party VARCHAR, votes INTEGER)[/INST]SELECT party FROM table_name_81 WHERE votes < 11 OFFSET 484</s> |
CREATE TABLE table_11614581_3 (name_in_polish VARCHAR, seat VARCHAR) | SELECT name_in_polish FROM table_11614581_3 WHERE seat = "Lublin" | Whose name in Polish holds the Lublin seat? | <s>[INST]Whose name in Polish holds the Lublin seat? Context: CREATE TABLE table_11614581_3 (name_in_polish VARCHAR, seat VARCHAR)[/INST]SELECT name_in_polish FROM table_11614581_3 WHERE seat = "Lublin"</s> |
CREATE TABLE table_15887683_8 (package_option VARCHAR, country VARCHAR) | SELECT package_option FROM table_15887683_8 WHERE country = "Giappone" | Name the package/option for giappone | <s>[INST]Name the package/option for giappone Context: CREATE TABLE table_15887683_8 (package_option VARCHAR, country VARCHAR)[/INST]SELECT package_option FROM table_15887683_8 WHERE country = "Giappone"</s> |
CREATE TABLE table_name_90 (owner VARCHAR, frequency VARCHAR) | SELECT owner FROM table_name_90 WHERE frequency = "0 101.5 fm" | Who is the owner of the radio frequency of 0 101.5 fm? | <s>[INST]Who is the owner of the radio frequency of 0 101.5 fm? Context: CREATE TABLE table_name_90 (owner VARCHAR, frequency VARCHAR)[/INST]SELECT owner FROM table_name_90 WHERE frequency = "0 101.5 fm"</s> |
CREATE TABLE table_name_40 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR) | SELECT COUNT(gold) FROM table_name_40 WHERE silver > 0 AND total > 1 AND bronze > 3 | How many golds for nations with over 0 silvers, over 1 total, and over 3 bronze? | <s>[INST]How many golds for nations with over 0 silvers, over 1 total, and over 3 bronze? Context: CREATE TABLE table_name_40 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_40 WHERE silver > 0 AND total > 1 AND bronze > 3</s> |
CREATE TABLE table_name_4 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_4 WHERE date = "11 august 2008" | What region is on 11 August 2008? | <s>[INST]What region is on 11 August 2008? Context: CREATE TABLE table_name_4 (region VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_4 WHERE date = "11 august 2008"</s> |
CREATE TABLE table_1121352_2 (margin_of_victory VARCHAR, date VARCHAR) | SELECT margin_of_victory FROM table_1121352_2 WHERE date = "Mar 28, 2004" | Where is the margin of victory dated mar 28, 2004? | <s>[INST]Where is the margin of victory dated mar 28, 2004? Context: CREATE TABLE table_1121352_2 (margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT margin_of_victory FROM table_1121352_2 WHERE date = "Mar 28, 2004"</s> |
CREATE TABLE table_name_48 (ring_name VARCHAR, current_rank VARCHAR) | SELECT ring_name FROM table_name_48 WHERE current_rank = "e0 maegashira 9 west" | What is Ring Name, when Current Rank is E0 Maegashira 9 West? | <s>[INST]What is Ring Name, when Current Rank is E0 Maegashira 9 West? Context: CREATE TABLE table_name_48 (ring_name VARCHAR, current_rank VARCHAR)[/INST]SELECT ring_name FROM table_name_48 WHERE current_rank = "e0 maegashira 9 west"</s> |
CREATE TABLE table_14847258_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT written_by FROM table_14847258_1 WHERE directed_by = "Steve Gomer" | When steve gomer is the director who is the writer? | <s>[INST]When steve gomer is the director who is the writer? Context: CREATE TABLE table_14847258_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT written_by FROM table_14847258_1 WHERE directed_by = "Steve Gomer"</s> |
CREATE TABLE table_2668387_18 (result VARCHAR, candidates VARCHAR) | SELECT result FROM table_2668387_18 WHERE candidates = "Walter Jones (DR) 99.0% Henry Lee (F) 1.0%" | Name the result for walter jones (dr) 99.0% henry lee (f) 1.0% | <s>[INST]Name the result for walter jones (dr) 99.0% henry lee (f) 1.0% Context: CREATE TABLE table_2668387_18 (result VARCHAR, candidates VARCHAR)[/INST]SELECT result FROM table_2668387_18 WHERE candidates = "Walter Jones (DR) 99.0% Henry Lee (F) 1.0%"</s> |
CREATE TABLE table_name_21 (position VARCHAR, league_from VARCHAR) | SELECT position FROM table_name_21 WHERE league_from = "russian major league" | What team is from the Russian Major League? | <s>[INST]What team is from the Russian Major League? Context: CREATE TABLE table_name_21 (position VARCHAR, league_from VARCHAR)[/INST]SELECT position FROM table_name_21 WHERE league_from = "russian major league"</s> |
CREATE TABLE table_13564702_3 (tries_against VARCHAR, played VARCHAR, points_against VARCHAR) | SELECT tries_against FROM table_13564702_3 WHERE played = "22" AND points_against = "183" | Name the tries against for played 22 and points against of 183 | <s>[INST]Name the tries against for played 22 and points against of 183 Context: CREATE TABLE table_13564702_3 (tries_against VARCHAR, played VARCHAR, points_against VARCHAR)[/INST]SELECT tries_against FROM table_13564702_3 WHERE played = "22" AND points_against = "183"</s> |
CREATE TABLE nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR) | SELECT T1.Festival_ID, T3.Festival_Name, COUNT(*) FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID GROUP BY T1.Festival_ID | Show the id, name of each festival and the number of artworks it has nominated. | <s>[INST]Show the id, name of each festival and the number of artworks it has nominated. Context: CREATE TABLE nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR)[/INST]SELECT T1.Festival_ID, T3.Festiv... |
CREATE TABLE table_name_91 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_91 WHERE record = "7-5" | What was the score of the game that led to a 7-5 record? | <s>[INST]What was the score of the game that led to a 7-5 record? Context: CREATE TABLE table_name_91 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_91 WHERE record = "7-5"</s> |
CREATE TABLE table_25058562_2 (player VARCHAR, height VARCHAR) | SELECT player FROM table_25058562_2 WHERE height = 199 | Name the player for 199 height | <s>[INST]Name the player for 199 height Context: CREATE TABLE table_25058562_2 (player VARCHAR, height VARCHAR)[/INST]SELECT player FROM table_25058562_2 WHERE height = 199</s> |
CREATE TABLE station (name VARCHAR, lat VARCHAR, city VARCHAR) | SELECT name, lat, city FROM station ORDER BY lat LIMIT 1 | What are the name, latitude, and city of the station with the lowest latitude? | <s>[INST]What are the name, latitude, and city of the station with the lowest latitude? Context: CREATE TABLE station (name VARCHAR, lat VARCHAR, city VARCHAR)[/INST]SELECT name, lat, city FROM station ORDER BY lat LIMIT 1</s> |
CREATE TABLE table_1837570_1 (operator VARCHAR, genre VARCHAR) | SELECT operator FROM table_1837570_1 WHERE genre = "music" | Which operators offer a genre of music? | <s>[INST]Which operators offer a genre of music? Context: CREATE TABLE table_1837570_1 (operator VARCHAR, genre VARCHAR)[/INST]SELECT operator FROM table_1837570_1 WHERE genre = "music"</s> |
CREATE TABLE table_name_68 (laps INTEGER, rider VARCHAR, grid VARCHAR) | SELECT MIN(laps) FROM table_name_68 WHERE rider = "sylvain guintoli" AND grid < 16 | What is the lowest Laps, when Rider is Sylvain Guintoli, and when Grid is less than 16? | <s>[INST]What is the lowest Laps, when Rider is Sylvain Guintoli, and when Grid is less than 16? Context: CREATE TABLE table_name_68 (laps INTEGER, rider VARCHAR, grid VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_68 WHERE rider = "sylvain guintoli" AND grid < 16</s> |
CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR) | SELECT heat_rank FROM table_name_22 WHERE country = "senegal" | Name the heat rank for senegal | <s>[INST]Name the heat rank for senegal Context: CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR)[/INST]SELECT heat_rank FROM table_name_22 WHERE country = "senegal"</s> |
CREATE TABLE table_name_79 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR) | SELECT driver FROM table_name_79 WHERE rounds = "6" AND chassis = "52 51/52" | with 6 rounds, and a 52 51/52 chassis, who is the driver? | <s>[INST]with 6 rounds, and a 52 51/52 chassis, who is the driver? Context: CREATE TABLE table_name_79 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR)[/INST]SELECT driver FROM table_name_79 WHERE rounds = "6" AND chassis = "52 51/52"</s> |
CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_2 WHERE venue = "kardinia park" | What is the name of the away team that played at Kardinia Park? | <s>[INST]What is the name of the away team that played at Kardinia Park? Context: CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_2 WHERE venue = "kardinia park"</s> |
CREATE TABLE table_27657925_1 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_27657925_1 WHERE written_by = "Steve Holland" | When steve holland is the writer what is the air date? | <s>[INST]When steve holland is the writer what is the air date? Context: CREATE TABLE table_27657925_1 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_27657925_1 WHERE written_by = "Steve Holland"</s> |
CREATE TABLE table_206419_3 (s_b_share VARCHAR, shareholder VARCHAR) | SELECT s_b_share FROM table_206419_3 WHERE shareholder = "Handelsbanken funds incl XACT" | What is the s B share for Handelsbanken funds incl XACT? | <s>[INST]What is the s B share for Handelsbanken funds incl XACT? Context: CREATE TABLE table_206419_3 (s_b_share VARCHAR, shareholder VARCHAR)[/INST]SELECT s_b_share FROM table_206419_3 WHERE shareholder = "Handelsbanken funds incl XACT"</s> |
CREATE TABLE table_name_23 (arch_type VARCHAR, name VARCHAR) | SELECT arch_type FROM table_name_23 WHERE name = "pont de montanges (pont-des-pierres)" | What kind of arch is the pont de montanges (pont-des-pierres)? | <s>[INST]What kind of arch is the pont de montanges (pont-des-pierres)? Context: CREATE TABLE table_name_23 (arch_type VARCHAR, name VARCHAR)[/INST]SELECT arch_type FROM table_name_23 WHERE name = "pont de montanges (pont-des-pierres)"</s> |
CREATE TABLE table_1756264_2 (description_of_activities VARCHAR, company_name VARCHAR) | SELECT description_of_activities FROM table_1756264_2 WHERE company_name = "CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED" | What activities does Clear Channel Entertainment Facilitation Limited engage in? | <s>[INST]What activities does Clear Channel Entertainment Facilitation Limited engage in? Context: CREATE TABLE table_1756264_2 (description_of_activities VARCHAR, company_name VARCHAR)[/INST]SELECT description_of_activities FROM table_1756264_2 WHERE company_name = "CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED"</s... |
CREATE TABLE table_11780179_1 (area__km²_ INTEGER, population VARCHAR) | SELECT MIN(area__km²_) FROM table_11780179_1 WHERE population = 16967000 | What is the area (km²) for the country with a population of 16967000? | <s>[INST]What is the area (km²) for the country with a population of 16967000? Context: CREATE TABLE table_11780179_1 (area__km²_ INTEGER, population VARCHAR)[/INST]SELECT MIN(area__km²_) FROM table_11780179_1 WHERE population = 16967000</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.