context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_88 (traffic_direction VARCHAR, street VARCHAR) | SELECT traffic_direction FROM table_name_88 WHERE street = "70th street" | What is the traffic direction of 70th street? | <s>[INST]What is the traffic direction of 70th street? Context: CREATE TABLE table_name_88 (traffic_direction VARCHAR, street VARCHAR)[/INST]SELECT traffic_direction FROM table_name_88 WHERE street = "70th street"</s> |
CREATE TABLE table_name_40 (goals_scored INTEGER, points VARCHAR, team VARCHAR) | SELECT SUM(goals_scored) FROM table_name_40 WHERE points < 27 AND team = "c.d. atlético balboa" | What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atlético Balboa? | <s>[INST]What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atlético Balboa? Context: CREATE TABLE table_name_40 (goals_scored INTEGER, points VARCHAR, team VARCHAR)[/INST]SELECT SUM(goals_scored) FROM table_name_40 WHERE points < 27 AND team = "c.d. atlético balboa"</s> |
CREATE TABLE table_name_97 (date VARCHAR, partner VARCHAR, score VARCHAR) | SELECT date FROM table_name_97 WHERE partner = "christophe rochus" AND score = "2–6, 7–6 (7–5) , 0–6" | What is the Date when christophe rochus was partner, and the score was 2–6, 7–6 (7–5) , 0–6? | <s>[INST]What is the Date when christophe rochus was partner, and the score was 2–6, 7–6 (7–5) , 0–6? Context: CREATE TABLE table_name_97 (date VARCHAR, partner VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE partner = "christophe rochus" AND score = "2–6, 7–6 (7–5) , 0–6"</s> |
CREATE TABLE invoices (billing_city VARCHAR, billing_state VARCHAR) | SELECT COUNT(*) FROM invoices WHERE billing_city = "Chicago" AND billing_state = "IL" | List the number of invoices from Chicago, IL. | <s>[INST]List the number of invoices from Chicago, IL. Context: CREATE TABLE invoices (billing_city VARCHAR, billing_state VARCHAR)[/INST]SELECT COUNT(*) FROM invoices WHERE billing_city = "Chicago" AND billing_state = "IL"</s> |
CREATE TABLE perpetrator (People_ID VARCHAR, Year VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Year DESC | List the names of perpetrators in descending order of the year. | <s>[INST]List the names of perpetrators in descending order of the year. Context: CREATE TABLE perpetrator (People_ID VARCHAR, Year VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Year DESC</s> |
CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR) | SELECT home FROM table_name_82 WHERE visitor = "chicago" AND series = "3 – 2" | What is the Home with a Visitor of chicago, and a Series with 3 – 2? | <s>[INST]What is the Home with a Visitor of chicago, and a Series with 3 – 2? Context: CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR)[/INST]SELECT home FROM table_name_82 WHERE visitor = "chicago" AND series = "3 – 2"</s> |
CREATE TABLE table_name_98 (mac_os_x VARCHAR, haiku VARCHAR, client VARCHAR) | SELECT mac_os_x FROM table_name_98 WHERE haiku = "no" AND client = "dc++" | Which Mac OSX had no haiku and a client that was dc++? | <s>[INST]Which Mac OSX had no haiku and a client that was dc++? Context: CREATE TABLE table_name_98 (mac_os_x VARCHAR, haiku VARCHAR, client VARCHAR)[/INST]SELECT mac_os_x FROM table_name_98 WHERE haiku = "no" AND client = "dc++"</s> |
CREATE TABLE table_14332822_1 (variant_id VARCHAR) | SELECT 3 AS ’utr_sequence FROM table_14332822_1 WHERE variant_id = "AD'6A 4" | What is the 3'utr sequence with a variant id of ad'6a 4? | <s>[INST]What is the 3'utr sequence with a variant id of ad'6a 4? Context: CREATE TABLE table_14332822_1 (variant_id VARCHAR)[/INST]SELECT 3 AS ’utr_sequence FROM table_14332822_1 WHERE variant_id = "AD'6A 4"</s> |
CREATE TABLE table_name_34 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_34 WHERE date = "16 november 2003" | What was the result on 16 November 2003? | <s>[INST]What was the result on 16 November 2003? Context: CREATE TABLE table_name_34 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_34 WHERE date = "16 november 2003"</s> |
CREATE TABLE concert (stadium_id VARCHAR, year INTEGER); CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR) | SELECT t2.name, t2.capacity FROM concert AS t1 JOIN stadium AS t2 ON t1.stadium_id = t2.stadium_id WHERE t1.year > 2013 GROUP BY t2.stadium_id ORDER BY COUNT(*) DESC LIMIT 1 | What is the name and capacity of the stadium with the most concerts after 2013 ? | <s>[INST]What is the name and capacity of the stadium with the most concerts after 2013 ? Context: CREATE TABLE concert (stadium_id VARCHAR, year INTEGER); CREATE TABLE stadium (name VARCHAR, capacity VARCHAR, stadium_id VARCHAR)[/INST]SELECT t2.name, t2.capacity FROM concert AS t1 JOIN stadium AS t2 ON t1.stadium_id =... |
CREATE TABLE table_name_54 (name VARCHAR, position VARCHAR) | SELECT name FROM table_name_54 WHERE position = "3b" | what is the name of the player that played position 3b? | <s>[INST]what is the name of the player that played position 3b? Context: CREATE TABLE table_name_54 (name VARCHAR, position VARCHAR)[/INST]SELECT name FROM table_name_54 WHERE position = "3b"</s> |
CREATE TABLE film (language_id VARCHAR) | SELECT COUNT(DISTINCT language_id) FROM film | How many languages are in these films? | <s>[INST]How many languages are in these films? Context: CREATE TABLE film (language_id VARCHAR)[/INST]SELECT COUNT(DISTINCT language_id) FROM film</s> |
CREATE TABLE table_name_88 (engine VARCHAR, team VARCHAR) | SELECT engine FROM table_name_88 WHERE team = "dhg tom's racing" | Tell me the engine for dhg tom's racing | <s>[INST]Tell me the engine for dhg tom's racing Context: CREATE TABLE table_name_88 (engine VARCHAR, team VARCHAR)[/INST]SELECT engine FROM table_name_88 WHERE team = "dhg tom's racing"</s> |
CREATE TABLE movie (director VARCHAR, YEAR VARCHAR) | SELECT director FROM movie WHERE YEAR = 1999 OR YEAR = 2000 | Show all director names who have a movie in the year 1999 or 2000. | <s>[INST]Show all director names who have a movie in the year 1999 or 2000. Context: CREATE TABLE movie (director VARCHAR, YEAR VARCHAR)[/INST]SELECT director FROM movie WHERE YEAR = 1999 OR YEAR = 2000</s> |
CREATE TABLE table_name_50 (opponent VARCHAR, tournament VARCHAR) | SELECT opponent FROM table_name_50 WHERE tournament = "auckland, new zealand" | Who was the Opponent in the Auckland, New Zealand Tournament? | <s>[INST]Who was the Opponent in the Auckland, New Zealand Tournament? Context: CREATE TABLE table_name_50 (opponent VARCHAR, tournament VARCHAR)[/INST]SELECT opponent FROM table_name_50 WHERE tournament = "auckland, new zealand"</s> |
CREATE TABLE table_name_14 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_14 WHERE opponent = "detroit lions" | What attendance has detroit lions as the opponent? | <s>[INST]What attendance has detroit lions as the opponent? Context: CREATE TABLE table_name_14 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_14 WHERE opponent = "detroit lions"</s> |
CREATE TABLE table_name_2 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_2 WHERE record = "7–10–3–1" | What was the score of the game with a record of 7–10–3–1? | <s>[INST]What was the score of the game with a record of 7–10–3–1? Context: CREATE TABLE table_name_2 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_2 WHERE record = "7–10–3–1"</s> |
CREATE TABLE table_name_77 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_77 WHERE team_2 = "jac port-gentil" | What is Team 1 when Team 2 is Jac Port-Gentil? | <s>[INST]What is Team 1 when Team 2 is Jac Port-Gentil? Context: CREATE TABLE table_name_77 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_77 WHERE team_2 = "jac port-gentil"</s> |
CREATE TABLE table_name_35 (losses INTEGER, ballarat_fl VARCHAR, draws VARCHAR) | SELECT SUM(losses) FROM table_name_35 WHERE ballarat_fl = "melton" AND draws < 0 | What is the total number of Losses that Melton had when they had fewer Draws than 0? | <s>[INST]What is the total number of Losses that Melton had when they had fewer Draws than 0? Context: CREATE TABLE table_name_35 (losses INTEGER, ballarat_fl VARCHAR, draws VARCHAR)[/INST]SELECT SUM(losses) FROM table_name_35 WHERE ballarat_fl = "melton" AND draws < 0</s> |
CREATE TABLE student (id VARCHAR, tot_cred VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR) | SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id ORDER BY T3.tot_cred DESC LIMIT 1 | Find the name of instructor who is the advisor of the student who has the highest number of total credits. | <s>[INST]Find the name of instructor who is the advisor of the student who has the highest number of total credits. Context: CREATE TABLE student (id VARCHAR, tot_cred VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)[/INST]SELECT T2.name FROM advisor AS T1 ... |
CREATE TABLE table_name_11 (scrapped_sold VARCHAR, name_as_rebuilt VARCHAR) | SELECT scrapped_sold FROM table_name_11 WHERE name_as_rebuilt = "trostan" | Which Scrapped/Sold has a Name as rebuilt of trostan? | <s>[INST]Which Scrapped/Sold has a Name as rebuilt of trostan? Context: CREATE TABLE table_name_11 (scrapped_sold VARCHAR, name_as_rebuilt VARCHAR)[/INST]SELECT scrapped_sold FROM table_name_11 WHERE name_as_rebuilt = "trostan"</s> |
CREATE TABLE table_1601792_3 (frequency VARCHAR, station VARCHAR) | SELECT COUNT(frequency) FROM table_1601792_3 WHERE station = "Hot FM" | What is the frequency of hot fm? | <s>[INST]What is the frequency of hot fm? Context: CREATE TABLE table_1601792_3 (frequency VARCHAR, station VARCHAR)[/INST]SELECT COUNT(frequency) FROM table_1601792_3 WHERE station = "Hot FM"</s> |
CREATE TABLE table_11960944_7 (high_points VARCHAR, game VARCHAR) | SELECT COUNT(high_points) FROM table_11960944_7 WHERE game = 67 | How many high points were there in the game 67? | <s>[INST]How many high points were there in the game 67? Context: CREATE TABLE table_11960944_7 (high_points VARCHAR, game VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_11960944_7 WHERE game = 67</s> |
CREATE TABLE table_name_43 (years VARCHAR, jersey_number_s_ VARCHAR) | SELECT years FROM table_name_43 WHERE jersey_number_s_ = "5" | What is Years, when Jersey Number(s) is 5? | <s>[INST]What is Years, when Jersey Number(s) is 5? Context: CREATE TABLE table_name_43 (years VARCHAR, jersey_number_s_ VARCHAR)[/INST]SELECT years FROM table_name_43 WHERE jersey_number_s_ = "5"</s> |
CREATE TABLE table_name_23 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_23 WHERE tournament = "stockholm" | Which Semifinalist has a Tournament of stockholm? | <s>[INST]Which Semifinalist has a Tournament of stockholm? Context: CREATE TABLE table_name_23 (semifinalists VARCHAR, tournament VARCHAR)[/INST]SELECT semifinalists FROM table_name_23 WHERE tournament = "stockholm"</s> |
CREATE TABLE table_name_59 (pts_game INTEGER, name VARCHAR, points VARCHAR) | SELECT MIN(pts_game) FROM table_name_59 WHERE name = "philippa tuttiett" AND points > 6 | Can you tell me the lowest Pts/game that has the Name of philippa tuttiett, and the Points larger then 6? | <s>[INST]Can you tell me the lowest Pts/game that has the Name of philippa tuttiett, and the Points larger then 6? Context: CREATE TABLE table_name_59 (pts_game INTEGER, name VARCHAR, points VARCHAR)[/INST]SELECT MIN(pts_game) FROM table_name_59 WHERE name = "philippa tuttiett" AND points > 6</s> |
CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_94 WHERE week > 12 AND opponent = "green bay packers" | What is the result for week 12 against the Green Bay Packers? | <s>[INST]What is the result for week 12 against the Green Bay Packers? Context: CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_94 WHERE week > 12 AND opponent = "green bay packers"</s> |
CREATE TABLE table_name_90 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_90 WHERE date = "may 26" | What was the attendance on May 26? | <s>[INST]What was the attendance on May 26? Context: CREATE TABLE table_name_90 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_90 WHERE date = "may 26"</s> |
CREATE TABLE table_name_19 (year INTEGER, points VARCHAR) | SELECT MAX(year) FROM table_name_19 WHERE points = "2" | in what year were 2 points scored? | <s>[INST]in what year were 2 points scored? Context: CREATE TABLE table_name_19 (year INTEGER, points VARCHAR)[/INST]SELECT MAX(year) FROM table_name_19 WHERE points = "2"</s> |
CREATE TABLE table_12962773_5 (current_club VARCHAR, player VARCHAR) | SELECT current_club FROM table_12962773_5 WHERE player = "Felipe Reyes" | what's the current club with player being felipe reyes | <s>[INST]what's the current club with player being felipe reyes Context: CREATE TABLE table_12962773_5 (current_club VARCHAR, player VARCHAR)[/INST]SELECT current_club FROM table_12962773_5 WHERE player = "Felipe Reyes"</s> |
CREATE TABLE table_256286_55 (meas_num INTEGER) | SELECT MAX(meas_num) FROM table_256286_55 | What is the highest measure number? | <s>[INST]What is the highest measure number? Context: CREATE TABLE table_256286_55 (meas_num INTEGER)[/INST]SELECT MAX(meas_num) FROM table_256286_55</s> |
CREATE TABLE table_29572583_19 (status VARCHAR, rank VARCHAR) | SELECT status FROM table_29572583_19 WHERE rank = 2 | What is the status when the rank is 2? | <s>[INST]What is the status when the rank is 2? Context: CREATE TABLE table_29572583_19 (status VARCHAR, rank VARCHAR)[/INST]SELECT status FROM table_29572583_19 WHERE rank = 2</s> |
CREATE TABLE table_23014923_1 (season VARCHAR, primary__south__winners VARCHAR) | SELECT COUNT(season) FROM table_23014923_1 WHERE primary__south__winners = "Inter The Bloomfield" | If the primary (South) winners is Inter The Bloomfield, what is the season total number? | <s>[INST]If the primary (South) winners is Inter The Bloomfield, what is the season total number? Context: CREATE TABLE table_23014923_1 (season VARCHAR, primary__south__winners VARCHAR)[/INST]SELECT COUNT(season) FROM table_23014923_1 WHERE primary__south__winners = "Inter The Bloomfield"</s> |
CREATE TABLE table_name_79 (opponent VARCHAR, series VARCHAR) | SELECT opponent FROM table_name_79 WHERE series = "1-0" | Who was the opponent with a series of 1-0? | <s>[INST]Who was the opponent with a series of 1-0? Context: CREATE TABLE table_name_79 (opponent VARCHAR, series VARCHAR)[/INST]SELECT opponent FROM table_name_79 WHERE series = "1-0"</s> |
CREATE TABLE table_name_71 (background VARCHAR, hometown VARCHAR) | SELECT background FROM table_name_71 WHERE hometown = "los angeles, california" | What is the Background of the contestant with a Hometown listed as Los Angeles, California? | <s>[INST]What is the Background of the contestant with a Hometown listed as Los Angeles, California? Context: CREATE TABLE table_name_71 (background VARCHAR, hometown VARCHAR)[/INST]SELECT background FROM table_name_71 WHERE hometown = "los angeles, california"</s> |
CREATE TABLE table_name_51 (league_goals INTEGER, fa_cup_goals INTEGER) | SELECT SUM(league_goals) FROM table_name_51 WHERE fa_cup_goals > 0 | what is the sum of league goals when the fa cup goals is more than 0? | <s>[INST]what is the sum of league goals when the fa cup goals is more than 0? Context: CREATE TABLE table_name_51 (league_goals INTEGER, fa_cup_goals INTEGER)[/INST]SELECT SUM(league_goals) FROM table_name_51 WHERE fa_cup_goals > 0</s> |
CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR); CREATE TABLE Employees (role_code VARCHAR) | SELECT T1.role_description, T2.role_code, COUNT(*) FROM ROLES AS T1 JOIN Employees AS T2 ON T1.role_code = T2.role_code GROUP BY T2.role_code | How many employees does each role have? List role description, id and number of employees. | <s>[INST]How many employees does each role have? List role description, id and number of employees. Context: CREATE TABLE ROLES (role_description VARCHAR, role_code VARCHAR); CREATE TABLE Employees (role_code VARCHAR)[/INST]SELECT T1.role_description, T2.role_code, COUNT(*) FROM ROLES AS T1 JOIN Employees AS T2 ON T1.r... |
CREATE TABLE table_name_14 (matches VARCHAR, lose VARCHAR, draw VARCHAR, lost_point VARCHAR) | SELECT COUNT(matches) FROM table_name_14 WHERE draw < 7 AND lost_point = 16 AND lose > 4 | I want the total number of matches for draw less than 7 and lost point of 16 with lose more than 4 | <s>[INST]I want the total number of matches for draw less than 7 and lost point of 16 with lose more than 4 Context: CREATE TABLE table_name_14 (matches VARCHAR, lose VARCHAR, draw VARCHAR, lost_point VARCHAR)[/INST]SELECT COUNT(matches) FROM table_name_14 WHERE draw < 7 AND lost_point = 16 AND lose > 4</s> |
CREATE TABLE table_name_48 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_48 WHERE home_team = "essendon" | What Date did the Home team play in essendon? | <s>[INST]What Date did the Home team play in essendon? Context: CREATE TABLE table_name_48 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_48 WHERE home_team = "essendon"</s> |
CREATE TABLE table_name_81 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_81 WHERE pick = 32 | What is the position of pick 32? | <s>[INST]What is the position of pick 32? Context: CREATE TABLE table_name_81 (position VARCHAR, pick VARCHAR)[/INST]SELECT position FROM table_name_81 WHERE pick = 32</s> |
CREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR) | SELECT to_par FROM table_18862490_2 WHERE year = 1998 | What score to par won in 1998? | <s>[INST]What score to par won in 1998? Context: CREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR)[/INST]SELECT to_par FROM table_18862490_2 WHERE year = 1998</s> |
CREATE TABLE table_217785_2 (season VARCHAR, ranking VARCHAR) | SELECT season AS finale FROM table_217785_2 WHERE ranking = 73 | When did the season finale ranked at 73 first air? | <s>[INST]When did the season finale ranked at 73 first air? Context: CREATE TABLE table_217785_2 (season VARCHAR, ranking VARCHAR)[/INST]SELECT season AS finale FROM table_217785_2 WHERE ranking = 73</s> |
CREATE TABLE table_name_77 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_77 WHERE game = 70 | What's the record of Game 70? | <s>[INST]What's the record of Game 70? Context: CREATE TABLE table_name_77 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_77 WHERE game = 70</s> |
CREATE TABLE table_name_25 (round VARCHAR, time VARCHAR, event VARCHAR) | SELECT COUNT(round) FROM table_name_25 WHERE time = "5:00" AND event = "ufc 155" | How many rounds had a time of 5:00 at UFC 155? | <s>[INST]How many rounds had a time of 5:00 at UFC 155? Context: CREATE TABLE table_name_25 (round VARCHAR, time VARCHAR, event VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_25 WHERE time = "5:00" AND event = "ufc 155"</s> |
CREATE TABLE table_name_98 (junctions VARCHAR, termini VARCHAR) | SELECT junctions FROM table_name_98 WHERE termini = "aguilares, texas us 59" | What are the junctions of the route with termini aguilares, texas us 59? | <s>[INST]What are the junctions of the route with termini aguilares, texas us 59? Context: CREATE TABLE table_name_98 (junctions VARCHAR, termini VARCHAR)[/INST]SELECT junctions FROM table_name_98 WHERE termini = "aguilares, texas us 59"</s> |
CREATE TABLE Reviewer (name VARCHAR, title VARCHAR); CREATE TABLE Movie (name VARCHAR, title VARCHAR) | SELECT name FROM Reviewer UNION SELECT title FROM Movie | Return all reviewer names and movie names together in a single list. | <s>[INST]Return all reviewer names and movie names together in a single list. Context: CREATE TABLE Reviewer (name VARCHAR, title VARCHAR); CREATE TABLE Movie (name VARCHAR, title VARCHAR)[/INST]SELECT name FROM Reviewer UNION SELECT title FROM Movie</s> |
CREATE TABLE table_name_82 (rank INTEGER, studio VARCHAR, director VARCHAR) | SELECT AVG(rank) FROM table_name_82 WHERE studio = "20th century fox" AND director = "roland emmerich" | What was the average rank for the film directed by roland emmerich under the studio of 20th century fox? | <s>[INST]What was the average rank for the film directed by roland emmerich under the studio of 20th century fox? Context: CREATE TABLE table_name_82 (rank INTEGER, studio VARCHAR, director VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_82 WHERE studio = "20th century fox" AND director = "roland emmerich"</s> |
CREATE TABLE table_name_2 (round INTEGER, school VARCHAR) | SELECT AVG(round) FROM table_name_2 WHERE school = "east carolina" | What's the average round number for East Carolina? | <s>[INST]What's the average round number for East Carolina? Context: CREATE TABLE table_name_2 (round INTEGER, school VARCHAR)[/INST]SELECT AVG(round) FROM table_name_2 WHERE school = "east carolina"</s> |
CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR) | SELECT venue FROM table_name_16 WHERE status = "five nations" AND against = 22 | Which venue has a status of Five Nations and an against of 22? | <s>[INST]Which venue has a status of Five Nations and an against of 22? Context: CREATE TABLE table_name_16 (venue VARCHAR, status VARCHAR, against VARCHAR)[/INST]SELECT venue FROM table_name_16 WHERE status = "five nations" AND against = 22</s> |
CREATE TABLE table_name_29 (lap_by_lap VARCHAR, year VARCHAR, ratings VARCHAR) | SELECT lap_by_lap FROM table_name_29 WHERE year < 1994 AND ratings = "8.0/21" | Who was the lap-by-lap broadcaster before 1994 who garnered ratings of 8.0/21? | <s>[INST]Who was the lap-by-lap broadcaster before 1994 who garnered ratings of 8.0/21? Context: CREATE TABLE table_name_29 (lap_by_lap VARCHAR, year VARCHAR, ratings VARCHAR)[/INST]SELECT lap_by_lap FROM table_name_29 WHERE year < 1994 AND ratings = "8.0/21"</s> |
CREATE TABLE table_name_32 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_32 WHERE opponent = "at detroit lions" | What is the result of the game that was played at Detroit Lions? | <s>[INST]What is the result of the game that was played at Detroit Lions? Context: CREATE TABLE table_name_32 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_32 WHERE opponent = "at detroit lions"</s> |
CREATE TABLE table_name_73 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_73 WHERE result = "12th" | What was the venue where the result was 12th? | <s>[INST]What was the venue where the result was 12th? Context: CREATE TABLE table_name_73 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_73 WHERE result = "12th"</s> |
CREATE TABLE table_name_61 (name VARCHAR, sr_no VARCHAR, floors VARCHAR) | SELECT name FROM table_name_61 WHERE sr_no < 74 AND floors > 36 | what is the name when the sr no is less than 74 and floors is more than 36? | <s>[INST]what is the name when the sr no is less than 74 and floors is more than 36? Context: CREATE TABLE table_name_61 (name VARCHAR, sr_no VARCHAR, floors VARCHAR)[/INST]SELECT name FROM table_name_61 WHERE sr_no < 74 AND floors > 36</s> |
CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Shop_Name VARCHAR, Shop_ID VARCHAR) | SELECT Shop_Name FROM shop WHERE NOT Shop_ID IN (SELECT Shop_ID FROM stock) | List the names of shops that have no devices in stock. | <s>[INST]List the names of shops that have no devices in stock. Context: CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Shop_Name VARCHAR, Shop_ID VARCHAR)[/INST]SELECT Shop_Name FROM shop WHERE NOT Shop_ID IN (SELECT Shop_ID FROM stock)</s> |
CREATE TABLE table_name_5 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_5 WHERE score = "1-6, 3-6" | What is Outcome, when Score is 1-6, 3-6? | <s>[INST]What is Outcome, when Score is 1-6, 3-6? Context: CREATE TABLE table_name_5 (outcome VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_name_5 WHERE score = "1-6, 3-6"</s> |
CREATE TABLE table_name_75 (constructor VARCHAR, date VARCHAR) | SELECT constructor FROM table_name_75 WHERE date = "10 august" | Name the constructor for 10 august | <s>[INST]Name the constructor for 10 august Context: CREATE TABLE table_name_75 (constructor VARCHAR, date VARCHAR)[/INST]SELECT constructor FROM table_name_75 WHERE date = "10 august"</s> |
CREATE TABLE table_name_64 (theme_song_s_ VARCHAR, romaji_title VARCHAR) | SELECT theme_song_s_ FROM table_name_64 WHERE romaji_title = "yukan club" | What is the Theme Song of the Yukan Club? | <s>[INST]What is the Theme Song of the Yukan Club? Context: CREATE TABLE table_name_64 (theme_song_s_ VARCHAR, romaji_title VARCHAR)[/INST]SELECT theme_song_s_ FROM table_name_64 WHERE romaji_title = "yukan club"</s> |
CREATE TABLE table_name_32 (bronze INTEGER, total INTEGER) | SELECT AVG(bronze) FROM table_name_32 WHERE total < 1 | Name the average bronze for total less than 1 | <s>[INST]Name the average bronze for total less than 1 Context: CREATE TABLE table_name_32 (bronze INTEGER, total INTEGER)[/INST]SELECT AVG(bronze) FROM table_name_32 WHERE total < 1</s> |
CREATE TABLE table_name_26 (stuffit VARCHAR, iso_cd_image VARCHAR, lha_lzh VARCHAR) | SELECT stuffit AS X FROM table_name_26 WHERE stuffit = "unknown" AND lha_lzh = "yes" AND iso_cd_image = "unknown" | What is the StuffitX value that has a Stuffit of unknown, LHA/LZH of yes, and unknown ISO/CD image? | <s>[INST]What is the StuffitX value that has a Stuffit of unknown, LHA/LZH of yes, and unknown ISO/CD image? Context: CREATE TABLE table_name_26 (stuffit VARCHAR, iso_cd_image VARCHAR, lha_lzh VARCHAR)[/INST]SELECT stuffit AS X FROM table_name_26 WHERE stuffit = "unknown" AND lha_lzh = "yes" AND iso_cd_image = "unknown... |
CREATE TABLE table_name_81 (event VARCHAR, games VARCHAR) | SELECT event FROM table_name_81 WHERE games = "2008 beijing" | What event was in the 2008 Beijing games? | <s>[INST]What event was in the 2008 Beijing games? Context: CREATE TABLE table_name_81 (event VARCHAR, games VARCHAR)[/INST]SELECT event FROM table_name_81 WHERE games = "2008 beijing"</s> |
CREATE TABLE table_name_8 (median_household_income VARCHAR, county VARCHAR) | SELECT median_household_income FROM table_name_8 WHERE county = "valley" | What is the median household income in Valley County? | <s>[INST]What is the median household income in Valley County? Context: CREATE TABLE table_name_8 (median_household_income VARCHAR, county VARCHAR)[/INST]SELECT median_household_income FROM table_name_8 WHERE county = "valley"</s> |
CREATE TABLE table_name_41 (director VARCHAR, producer VARCHAR, platform_s_ VARCHAR) | SELECT director FROM table_name_41 WHERE producer = "hiroshi sato" AND platform_s_ = "gba" | Who is the director of the game with HIroshi Sato as the producer on the GBA platform? | <s>[INST]Who is the director of the game with HIroshi Sato as the producer on the GBA platform? Context: CREATE TABLE table_name_41 (director VARCHAR, producer VARCHAR, platform_s_ VARCHAR)[/INST]SELECT director FROM table_name_41 WHERE producer = "hiroshi sato" AND platform_s_ = "gba"</s> |
CREATE TABLE table_19294812_2 (tie_no VARCHAR, team_1 VARCHAR) | SELECT tie_no FROM table_19294812_2 WHERE team_1 = "Borac Banja Luka" | How many tie no have team 1 as borac banja luka? | <s>[INST]How many tie no have team 1 as borac banja luka? Context: CREATE TABLE table_19294812_2 (tie_no VARCHAR, team_1 VARCHAR)[/INST]SELECT tie_no FROM table_19294812_2 WHERE team_1 = "Borac Banja Luka"</s> |
CREATE TABLE instructor (name VARCHAR, salary VARCHAR, id VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR) | SELECT T2.name, T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'Math' | Find the name and salary of instructors who are advisors of the students from the Math department. | <s>[INST]Find the name and salary of instructors who are advisors of the students from the Math department. Context: CREATE TABLE instructor (name VARCHAR, salary VARCHAR, id VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR)[/INST]SELECT T2.name, T2.salary... |
CREATE TABLE table_name_63 (goals INTEGER, position VARCHAR, league VARCHAR) | SELECT SUM(goals) FROM table_name_63 WHERE position = "14th of 24" AND league = "football conference" | Goals that has a Position of 14th of 24, and a League of football conference has what sum? | <s>[INST]Goals that has a Position of 14th of 24, and a League of football conference has what sum? Context: CREATE TABLE table_name_63 (goals INTEGER, position VARCHAR, league VARCHAR)[/INST]SELECT SUM(goals) FROM table_name_63 WHERE position = "14th of 24" AND league = "football conference"</s> |
CREATE TABLE table_name_66 (club VARCHAR, league_goals VARCHAR) | SELECT club FROM table_name_66 WHERE league_goals = "21" | Which Club has a League goals of 21? | <s>[INST]Which Club has a League goals of 21? Context: CREATE TABLE table_name_66 (club VARCHAR, league_goals VARCHAR)[/INST]SELECT club FROM table_name_66 WHERE league_goals = "21"</s> |
CREATE TABLE table_name_36 (year INTEGER, score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR) | SELECT SUM(year) FROM table_name_36 WHERE championship = "australian open" AND outcome = "runner-up" AND score_in_final = "3-6, 6-3, 6-2" | What is the sum of Year(s), when Championship is "Australian Open", when Outcome is "Runner-Up", and when Score in Final is 3-6, 6-3, 6-2? | <s>[INST]What is the sum of Year(s), when Championship is "Australian Open", when Outcome is "Runner-Up", and when Score in Final is 3-6, 6-3, 6-2? Context: CREATE TABLE table_name_36 (year INTEGER, score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR)[/INST]SELECT SUM(year) FROM table_name_36 WHERE championsh... |
CREATE TABLE table_name_75 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, date_of_appointment VARCHAR) | SELECT date_of_vacancy FROM table_name_75 WHERE manner_of_departure = "mutual consent" AND date_of_appointment = "2 november 2009" | What is the vacancy date for the manager appointed on 2 November 2009 who left due to mutual consent? | <s>[INST]What is the vacancy date for the manager appointed on 2 November 2009 who left due to mutual consent? Context: CREATE TABLE table_name_75 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT date_of_vacancy FROM table_name_75 WHERE manner_of_departure = "mutual conse... |
CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR) | SELECT famous_for FROM table_14345690_5 WHERE finished = "5th" | What is the famous for where the finished is 5th? | <s>[INST]What is the famous for where the finished is 5th? Context: CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR)[/INST]SELECT famous_for FROM table_14345690_5 WHERE finished = "5th"</s> |
CREATE TABLE table_100518_1 (direction VARCHAR, weapon VARCHAR) | SELECT direction FROM table_100518_1 WHERE weapon = "Khaḍga (sword)" | What are the directions for the guardian whose weapon is khaḍga (sword)? | <s>[INST]What are the directions for the guardian whose weapon is khaḍga (sword)? Context: CREATE TABLE table_100518_1 (direction VARCHAR, weapon VARCHAR)[/INST]SELECT direction FROM table_100518_1 WHERE weapon = "Khaḍga (sword)"</s> |
CREATE TABLE table_name_37 (losses INTEGER, games_played INTEGER) | SELECT AVG(losses) FROM table_name_37 WHERE games_played > 8 | What is the average losses for the team(s) that played more than 8 games? | <s>[INST]What is the average losses for the team(s) that played more than 8 games? Context: CREATE TABLE table_name_37 (losses INTEGER, games_played INTEGER)[/INST]SELECT AVG(losses) FROM table_name_37 WHERE games_played > 8</s> |
CREATE TABLE table_1449169_1 (common VARCHAR, area__km_2__ VARCHAR) | SELECT common FROM table_1449169_1 WHERE area__km_2__ = "38.38" | Which common has an area (km2) of 38.38? | <s>[INST]Which common has an area (km2) of 38.38? Context: CREATE TABLE table_1449169_1 (common VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT common FROM table_1449169_1 WHERE area__km_2__ = "38.38"</s> |
CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_70 WHERE away_team = "collingwood" | What is the score of the home team that played Collingwood? | <s>[INST]What is the score of the home team that played Collingwood? Context: CREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_70 WHERE away_team = "collingwood"</s> |
CREATE TABLE table_name_12 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_12 WHERE loss = "shields (1–1)" | Who was the opponent at the game that had a loss of Shields (1–1)? | <s>[INST]Who was the opponent at the game that had a loss of Shields (1–1)? Context: CREATE TABLE table_name_12 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_12 WHERE loss = "shields (1–1)"</s> |
CREATE TABLE table_14342592_5 (touchdowns VARCHAR, points VARCHAR) | SELECT touchdowns FROM table_14342592_5 WHERE points = 22 | When the total points are 22 how many total touchdowns have been made? | <s>[INST]When the total points are 22 how many total touchdowns have been made? Context: CREATE TABLE table_14342592_5 (touchdowns VARCHAR, points VARCHAR)[/INST]SELECT touchdowns FROM table_14342592_5 WHERE points = 22</s> |
CREATE TABLE table_14889048_2 (points INTEGER, scored VARCHAR) | SELECT MIN(points) FROM table_14889048_2 WHERE scored = 15 | How many points when 15 is scored is considered the minimum? | <s>[INST]How many points when 15 is scored is considered the minimum? Context: CREATE TABLE table_14889048_2 (points INTEGER, scored VARCHAR)[/INST]SELECT MIN(points) FROM table_14889048_2 WHERE scored = 15</s> |
CREATE TABLE table_1342426_5 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1342426_5 WHERE incumbent = "Chester W. Taylor" | Name the lowest first elected for chester w. taylor | <s>[INST]Name the lowest first elected for chester w. taylor Context: CREATE TABLE table_1342426_5 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1342426_5 WHERE incumbent = "Chester W. Taylor"</s> |
CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_2 WHERE venue = "junction oval" | Who was the away team at Junction Oval? | <s>[INST]Who was the away team at Junction Oval? Context: CREATE TABLE table_name_2 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_2 WHERE venue = "junction oval"</s> |
CREATE TABLE table_14598_5 (s_sikh VARCHAR, buddhist VARCHAR) | SELECT s_sikh FROM table_14598_5 WHERE buddhist = "955" | What is the number of s sikh where 955 is the number of buddhists? | <s>[INST]What is the number of s sikh where 955 is the number of buddhists? Context: CREATE TABLE table_14598_5 (s_sikh VARCHAR, buddhist VARCHAR)[/INST]SELECT s_sikh FROM table_14598_5 WHERE buddhist = "955"</s> |
CREATE TABLE table_13619053_4 (score VARCHAR, team VARCHAR) | SELECT score FROM table_13619053_4 WHERE team = "San Antonio" | What was the score against san antonio? | <s>[INST]What was the score against san antonio? Context: CREATE TABLE table_13619053_4 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_13619053_4 WHERE team = "San Antonio"</s> |
CREATE TABLE table_name_15 (ties_played INTEGER, debut VARCHAR) | SELECT MIN(ties_played) FROM table_name_15 WHERE debut = 1936 | Tell me the lowest ties played with a debut of 1936 | <s>[INST]Tell me the lowest ties played with a debut of 1936 Context: CREATE TABLE table_name_15 (ties_played INTEGER, debut VARCHAR)[/INST]SELECT MIN(ties_played) FROM table_name_15 WHERE debut = 1936</s> |
CREATE TABLE table_name_23 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_23 WHERE date = "11 feb 1990" | On 11 Feb 1990, the competition is listed as what? | <s>[INST]On 11 Feb 1990, the competition is listed as what? Context: CREATE TABLE table_name_23 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_23 WHERE date = "11 feb 1990"</s> |
CREATE TABLE table_name_15 (competition VARCHAR, first_match VARCHAR) | SELECT competition FROM table_name_15 WHERE first_match = "december 20, 2007" | What competition had its first match on December 20, 2007? | <s>[INST]What competition had its first match on December 20, 2007? Context: CREATE TABLE table_name_15 (competition VARCHAR, first_match VARCHAR)[/INST]SELECT competition FROM table_name_15 WHERE first_match = "december 20, 2007"</s> |
CREATE TABLE table_name_74 (joined VARCHAR, mascot VARCHAR) | SELECT joined FROM table_name_74 WHERE mascot = "blue devils" | When doeas Mascot of blue devils in Gary Froebel School? | <s>[INST]When doeas Mascot of blue devils in Gary Froebel School? Context: CREATE TABLE table_name_74 (joined VARCHAR, mascot VARCHAR)[/INST]SELECT joined FROM table_name_74 WHERE mascot = "blue devils"</s> |
CREATE TABLE table_name_47 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_47 WHERE opponent = "houston oilers" | What is the attendance when the opponent was the Houston Oilers? | <s>[INST]What is the attendance when the opponent was the Houston Oilers? Context: CREATE TABLE table_name_47 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_47 WHERE opponent = "houston oilers"</s> |
CREATE TABLE table_name_59 (agricultural_panel VARCHAR, national_university_of_ireland INTEGER) | SELECT COUNT(agricultural_panel) FROM table_name_59 WHERE national_university_of_ireland > 3 | What is the total number of agriculatural panels of the composition with more than 3 National Universities of Ireland? | <s>[INST]What is the total number of agriculatural panels of the composition with more than 3 National Universities of Ireland? Context: CREATE TABLE table_name_59 (agricultural_panel VARCHAR, national_university_of_ireland INTEGER)[/INST]SELECT COUNT(agricultural_panel) FROM table_name_59 WHERE national_university_of_... |
CREATE TABLE table_name_86 (player VARCHAR, country VARCHAR) | SELECT player FROM table_name_86 WHERE country = "west germany" | What Player has a Country of west germany? | <s>[INST]What Player has a Country of west germany? Context: CREATE TABLE table_name_86 (player VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_86 WHERE country = "west germany"</s> |
CREATE TABLE table_name_76 (lead VARCHAR, country VARCHAR) | SELECT lead FROM table_name_76 WHERE country = "canada" | Who was Canada's lead? | <s>[INST]Who was Canada's lead? Context: CREATE TABLE table_name_76 (lead VARCHAR, country VARCHAR)[/INST]SELECT lead FROM table_name_76 WHERE country = "canada"</s> |
CREATE TABLE table_name_77 (opening VARCHAR, tournament VARCHAR, white VARCHAR, year VARCHAR) | SELECT opening FROM table_name_77 WHERE white = "kramnik" AND year < 2001 AND tournament = "siemens giants" | What is Opening, when White is Kramnik, when Year is less than 2001, and when Tournament is "Siemens Giants"? | <s>[INST]What is Opening, when White is Kramnik, when Year is less than 2001, and when Tournament is "Siemens Giants"? Context: CREATE TABLE table_name_77 (opening VARCHAR, tournament VARCHAR, white VARCHAR, year VARCHAR)[/INST]SELECT opening FROM table_name_77 WHERE white = "kramnik" AND year < 2001 AND tournament = "... |
CREATE TABLE table_1213511_5 (player VARCHAR, nationality VARCHAR, pick__number VARCHAR) | SELECT player FROM table_1213511_5 WHERE nationality = "Canada" AND pick__number = 65 | who is the player with the nationality of canada and pick # is 65? | <s>[INST]who is the player with the nationality of canada and pick # is 65? Context: CREATE TABLE table_1213511_5 (player VARCHAR, nationality VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_1213511_5 WHERE nationality = "Canada" AND pick__number = 65</s> |
CREATE TABLE table_2897457_5 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_2897457_5 WHERE pick__number = 94 | What position did the #94 pick play? | <s>[INST]What position did the #94 pick play? Context: CREATE TABLE table_2897457_5 (position VARCHAR, pick__number VARCHAR)[/INST]SELECT position FROM table_2897457_5 WHERE pick__number = 94</s> |
CREATE TABLE table_2241841_1 (team VARCHAR, race_time VARCHAR) | SELECT team FROM table_2241841_1 WHERE race_time = "3:15:43" | What team set a 3:15:43 winning time? | <s>[INST]What team set a 3:15:43 winning time? Context: CREATE TABLE table_2241841_1 (team VARCHAR, race_time VARCHAR)[/INST]SELECT team FROM table_2241841_1 WHERE race_time = "3:15:43"</s> |
CREATE TABLE Student (city_code VARCHAR, Fname VARCHAR, Lname VARCHAR) | SELECT city_code FROM Student WHERE Fname = "Linda" AND Lname = "Smith" | Which city does student Linda Smith live in? | <s>[INST]Which city does student Linda Smith live in? Context: CREATE TABLE Student (city_code VARCHAR, Fname VARCHAR, Lname VARCHAR)[/INST]SELECT city_code FROM Student WHERE Fname = "Linda" AND Lname = "Smith"</s> |
CREATE TABLE table_name_97 (city VARCHAR, year VARCHAR) | SELECT city FROM table_name_97 WHERE year = 1889 | What city was in 1889? | <s>[INST]What city was in 1889? Context: CREATE TABLE table_name_97 (city VARCHAR, year VARCHAR)[/INST]SELECT city FROM table_name_97 WHERE year = 1889</s> |
CREATE TABLE table_name_89 (university_of_minnesota VARCHAR, deloria_ VARCHAR, _boas VARCHAR) | SELECT university_of_minnesota FROM table_name_89 WHERE deloria_ & _boas = "n" | Deloria & Boas of n included what university of Minnesota? | <s>[INST]Deloria & Boas of n included what university of Minnesota? Context: CREATE TABLE table_name_89 (university_of_minnesota VARCHAR, deloria_ VARCHAR, _boas VARCHAR)[/INST]SELECT university_of_minnesota FROM table_name_89 WHERE deloria_ & _boas = "n"</s> |
CREATE TABLE table_name_20 (bachelorette VARCHAR, winner VARCHAR) | SELECT bachelorette FROM table_name_20 WHERE winner = "ian mckee" | Who was the bachelorette of the season where ian mckee was the winner? | <s>[INST]Who was the bachelorette of the season where ian mckee was the winner? Context: CREATE TABLE table_name_20 (bachelorette VARCHAR, winner VARCHAR)[/INST]SELECT bachelorette FROM table_name_20 WHERE winner = "ian mckee"</s> |
CREATE TABLE table_name_16 (episode VARCHAR) | SELECT 1 AS st_edition FROM table_name_16 WHERE episode = "11" | What is the 1st Edition for Episode 11? | <s>[INST]What is the 1st Edition for Episode 11? Context: CREATE TABLE table_name_16 (episode VARCHAR)[/INST]SELECT 1 AS st_edition FROM table_name_16 WHERE episode = "11"</s> |
CREATE TABLE table_name_19 (number VARCHAR, acquisition_via VARCHAR, season VARCHAR) | SELECT number FROM table_name_19 WHERE acquisition_via = "import" AND season = "2002" | What is the number of the acquisition of import in the 2002 season? | <s>[INST]What is the number of the acquisition of import in the 2002 season? Context: CREATE TABLE table_name_19 (number VARCHAR, acquisition_via VARCHAR, season VARCHAR)[/INST]SELECT number FROM table_name_19 WHERE acquisition_via = "import" AND season = "2002"</s> |
CREATE TABLE table_name_5 (run_3 INTEGER, run_1 VARCHAR, run_2 VARCHAR) | SELECT SUM(run_3) FROM table_name_5 WHERE run_1 > 53.75 AND run_2 < 52.91 | What is the run 3 of the athlete with a run 1 more than 53.75 and a run 2 less than 52.91? | <s>[INST]What is the run 3 of the athlete with a run 1 more than 53.75 and a run 2 less than 52.91? Context: CREATE TABLE table_name_5 (run_3 INTEGER, run_1 VARCHAR, run_2 VARCHAR)[/INST]SELECT SUM(run_3) FROM table_name_5 WHERE run_1 > 53.75 AND run_2 < 52.91</s> |
CREATE TABLE table_name_18 (driver VARCHAR, chassis VARCHAR, tyre VARCHAR, rounds VARCHAR) | SELECT driver FROM table_name_18 WHERE tyre = "g" AND rounds = "2-12" AND chassis = "m7a" | Which driver has a G tyre, rounds of 2-12 and a M7A chassis? | <s>[INST]Which driver has a G tyre, rounds of 2-12 and a M7A chassis? Context: CREATE TABLE table_name_18 (driver VARCHAR, chassis VARCHAR, tyre VARCHAR, rounds VARCHAR)[/INST]SELECT driver FROM table_name_18 WHERE tyre = "g" AND rounds = "2-12" AND chassis = "m7a"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.