context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_49 (finish VARCHAR, wins VARCHAR) | SELECT finish FROM table_name_49 WHERE wins = "28" | What is the Finish of 28 Wins? | <s>[INST]What is the Finish of 28 Wins? Context: CREATE TABLE table_name_49 (finish VARCHAR, wins VARCHAR)[/INST]SELECT finish FROM table_name_49 WHERE wins = "28"</s> |
CREATE TABLE table_2668393_18 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_2668393_18 WHERE incumbent = "John Dawson Redistricted from the 15th district" | How many times was the incumbent john dawson redistricted from the 15th district? | <s>[INST]How many times was the incumbent john dawson redistricted from the 15th district? Context: CREATE TABLE table_2668393_18 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_2668393_18 WHERE incumbent = "John Dawson Redistricted from the 15th district"</s> |
CREATE TABLE table_1682026_7 (industry VARCHAR, sales__billion_$_ VARCHAR) | SELECT industry FROM table_1682026_7 WHERE sales__billion_$_ = "89.16" | In what industry was the company that had 89.16 billions of dollars in sales? | <s>[INST]In what industry was the company that had 89.16 billions of dollars in sales? Context: CREATE TABLE table_1682026_7 (industry VARCHAR, sales__billion_$_ VARCHAR)[/INST]SELECT industry FROM table_1682026_7 WHERE sales__billion_$_ = "89.16"</s> |
CREATE TABLE table_name_26 (streak VARCHAR, opponent VARCHAR) | SELECT streak FROM table_name_26 WHERE opponent = "@ new jersey nets" | What was the streak when the opponent was @ new jersey nets? | <s>[INST]What was the streak when the opponent was @ new jersey nets? Context: CREATE TABLE table_name_26 (streak VARCHAR, opponent VARCHAR)[/INST]SELECT streak FROM table_name_26 WHERE opponent = "@ new jersey nets"</s> |
CREATE TABLE table_1342013_31 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342013_31 WHERE incumbent = "Ralph A. Gamble" | What district did incumbent Ralph A. Gamble represent? | <s>[INST]What district did incumbent Ralph A. Gamble represent? Context: CREATE TABLE table_1342013_31 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342013_31 WHERE incumbent = "Ralph A. Gamble"</s> |
CREATE TABLE table_name_9 (grid INTEGER, laps INTEGER) | SELECT SUM(grid) FROM table_name_9 WHERE laps > 61 | How many grids had more than 61 laps? | <s>[INST]How many grids had more than 61 laps? Context: CREATE TABLE table_name_9 (grid INTEGER, laps INTEGER)[/INST]SELECT SUM(grid) FROM table_name_9 WHERE laps > 61</s> |
CREATE TABLE table_name_68 (date VARCHAR, winner VARCHAR) | SELECT date FROM table_name_68 WHERE winner = "luciano pagliarini" | Name the date for luciano pagliarini | <s>[INST]Name the date for luciano pagliarini Context: CREATE TABLE table_name_68 (date VARCHAR, winner VARCHAR)[/INST]SELECT date FROM table_name_68 WHERE winner = "luciano pagliarini"</s> |
CREATE TABLE table_name_75 (career_win_loss VARCHAR) | SELECT career_win_loss FROM table_name_75 WHERE 2002 = "1r" AND 2000 = "2r" AND 2001 = "2r" | Which career win-loss record has a 1r in 2002, a 2r in 2000 and a 2r in 2001? | <s>[INST]Which career win-loss record has a 1r in 2002, a 2r in 2000 and a 2r in 2001? Context: CREATE TABLE table_name_75 (career_win_loss VARCHAR)[/INST]SELECT career_win_loss FROM table_name_75 WHERE 2002 = "1r" AND 2000 = "2r" AND 2001 = "2r"</s> |
CREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR) | SELECT surface FROM table_22860698_2 WHERE championship = "US Open" AND year = 1979 | What is the surface when the us open is the championship in the year 1979? | <s>[INST]What is the surface when the us open is the championship in the year 1979? Context: CREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)[/INST]SELECT surface FROM table_22860698_2 WHERE championship = "US Open" AND year = 1979</s> |
CREATE TABLE table_name_5 (title VARCHAR, riaa_sales_certification VARCHAR) | SELECT title FROM table_name_5 WHERE riaa_sales_certification = "gold" | Which Title was awarded the gold RIAA Sales Certification? | <s>[INST]Which Title was awarded the gold RIAA Sales Certification? Context: CREATE TABLE table_name_5 (title VARCHAR, riaa_sales_certification VARCHAR)[/INST]SELECT title FROM table_name_5 WHERE riaa_sales_certification = "gold"</s> |
CREATE TABLE table_name_74 (series VARCHAR, date VARCHAR) | SELECT series FROM table_name_74 WHERE date = "june 7" | What is Series, when Date is "June 7"? | <s>[INST]What is Series, when Date is "June 7"? Context: CREATE TABLE table_name_74 (series VARCHAR, date VARCHAR)[/INST]SELECT series FROM table_name_74 WHERE date = "june 7"</s> |
CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, location VARCHAR) | SELECT date FROM table_name_13 WHERE result = "3-1" AND location = "hague" | What date was the result 3-1 in Hague? | <s>[INST]What date was the result 3-1 in Hague? Context: CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_13 WHERE result = "3-1" AND location = "hague"</s> |
CREATE TABLE table_name_65 (week INTEGER, opponent VARCHAR, attendance VARCHAR) | SELECT AVG(week) FROM table_name_65 WHERE opponent = "baltimore colts" AND attendance < 55 OFFSET 137 | Which Week has an Opponent of baltimore colts, and an Attendance smaller than 55,137? | <s>[INST]Which Week has an Opponent of baltimore colts, and an Attendance smaller than 55,137? Context: CREATE TABLE table_name_65 (week INTEGER, opponent VARCHAR, attendance VARCHAR)[/INST]SELECT AVG(week) FROM table_name_65 WHERE opponent = "baltimore colts" AND attendance < 55 OFFSET 137</s> |
CREATE TABLE table_26429658_1 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_26429658_1 WHERE production_code = 2010 | What was the title of the episode with a production code of 2010? | <s>[INST]What was the title of the episode with a production code of 2010? Context: CREATE TABLE table_26429658_1 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_26429658_1 WHERE production_code = 2010</s> |
CREATE TABLE table_name_12 (date_of_birth VARCHAR, years_at_club VARCHAR) | SELECT date_of_birth FROM table_name_12 WHERE years_at_club = "1951" | What is the birthday of the player who has Years at Club of 1951? | <s>[INST]What is the birthday of the player who has Years at Club of 1951? Context: CREATE TABLE table_name_12 (date_of_birth VARCHAR, years_at_club VARCHAR)[/INST]SELECT date_of_birth FROM table_name_12 WHERE years_at_club = "1951"</s> |
CREATE TABLE table_name_13 (gold INTEGER, total INTEGER) | SELECT MIN(gold) FROM table_name_13 WHERE total > 44 | What was the gold medal total for a total of 44 medals? | <s>[INST]What was the gold medal total for a total of 44 medals? Context: CREATE TABLE table_name_13 (gold INTEGER, total INTEGER)[/INST]SELECT MIN(gold) FROM table_name_13 WHERE total > 44</s> |
CREATE TABLE performance (bandmate VARCHAR, songid VARCHAR); CREATE TABLE songs (songid VARCHAR, Title VARCHAR); CREATE TABLE band (id VARCHAR) | SELECT COUNT(*) FROM performance AS T1 JOIN band AS T2 ON T1.bandmate = T2.id JOIN songs AS T3 ON T3.songid = T1.songid WHERE T3.Title = "Flash" | Hom many musicians performed in the song "Flash"? | <s>[INST]Hom many musicians performed in the song "Flash"? Context: CREATE TABLE performance (bandmate VARCHAR, songid VARCHAR); CREATE TABLE songs (songid VARCHAR, Title VARCHAR); CREATE TABLE band (id VARCHAR)[/INST]SELECT COUNT(*) FROM performance AS T1 JOIN band AS T2 ON T1.bandmate = T2.id JOIN songs AS T3 ON T3.s... |
CREATE TABLE table_14346353_1 (title VARCHAR, series__number VARCHAR) | SELECT title FROM table_14346353_1 WHERE series__number = 1 | What is the title of series #1? | <s>[INST]What is the title of series #1? Context: CREATE TABLE table_14346353_1 (title VARCHAR, series__number VARCHAR)[/INST]SELECT title FROM table_14346353_1 WHERE series__number = 1</s> |
CREATE TABLE table_11908801_1 (nickname VARCHAR, meaning VARCHAR) | SELECT COUNT(nickname) FROM table_11908801_1 WHERE meaning = "God Knows My Journey" | What is the number of nicknames for the meaning of god knows my journey. | <s>[INST]What is the number of nicknames for the meaning of god knows my journey. Context: CREATE TABLE table_11908801_1 (nickname VARCHAR, meaning VARCHAR)[/INST]SELECT COUNT(nickname) FROM table_11908801_1 WHERE meaning = "God Knows My Journey"</s> |
CREATE TABLE table_name_73 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT nationality FROM table_name_73 WHERE college_junior_club_team__league_ = "guelph storm ( ohl )" | What is Nationality, when College/Junior/Club Team (League) is "Guelph Storm ( OHL )"? | <s>[INST]What is Nationality, when College/Junior/Club Team (League) is "Guelph Storm ( OHL )"? Context: CREATE TABLE table_name_73 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)[/INST]SELECT nationality FROM table_name_73 WHERE college_junior_club_team__league_ = "guelph storm ( ohl )"</s> |
CREATE TABLE table_28211674_3 (u21_mens VARCHAR, mixed_restricted VARCHAR, u21_womens VARCHAR) | SELECT u21_mens FROM table_28211674_3 WHERE mixed_restricted = "Mike Marsden" AND u21_womens = "Claire Nelson" | Who was the U21 Mens winner when Mike Marsden was the mixed restricted winner and Claire Nelson was the U21 Womens winner? | <s>[INST]Who was the U21 Mens winner when Mike Marsden was the mixed restricted winner and Claire Nelson was the U21 Womens winner? Context: CREATE TABLE table_28211674_3 (u21_mens VARCHAR, mixed_restricted VARCHAR, u21_womens VARCHAR)[/INST]SELECT u21_mens FROM table_28211674_3 WHERE mixed_restricted = "Mike Marsden"... |
CREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (artist_id VARCHAR) | SELECT T2.name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id | Show all artist names and the number of exhibitions for each artist. | <s>[INST]Show all artist names and the number of exhibitions for each artist. Context: CREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (artist_id VARCHAR)[/INST]SELECT T2.name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id GROUP BY T1.artist_id</s> |
CREATE TABLE Invoices (invoice_date VARCHAR, order_id VARCHAR); CREATE TABLE Orders (order_details VARCHAR, order_id VARCHAR) | SELECT T1.invoice_date, T1.order_id, T2.order_details FROM Invoices AS T1 JOIN Orders AS T2 ON T1.order_id = T2.order_id | Show invoice dates and order id and details for all invoices. | <s>[INST]Show invoice dates and order id and details for all invoices. Context: CREATE TABLE Invoices (invoice_date VARCHAR, order_id VARCHAR); CREATE TABLE Orders (order_details VARCHAR, order_id VARCHAR)[/INST]SELECT T1.invoice_date, T1.order_id, T2.order_details FROM Invoices AS T1 JOIN Orders AS T2 ON T1.order_id =... |
CREATE TABLE table_name_59 (interview INTEGER, evening_gown VARCHAR, average VARCHAR) | SELECT SUM(interview) FROM table_name_59 WHERE evening_gown = 9.543 AND average > 9.521 | What is the total number of interview scores that have an evening gown score of 9.543 and an average that is bigger than 9.521? | <s>[INST]What is the total number of interview scores that have an evening gown score of 9.543 and an average that is bigger than 9.521? Context: CREATE TABLE table_name_59 (interview INTEGER, evening_gown VARCHAR, average VARCHAR)[/INST]SELECT SUM(interview) FROM table_name_59 WHERE evening_gown = 9.543 AND average > ... |
CREATE TABLE table_name_59 (play VARCHAR, base VARCHAR, company VARCHAR) | SELECT play FROM table_name_59 WHERE base = "athens" AND company = "dance theatre roes" | What is the Athens Base play with Dance Theatre Roes Company? | <s>[INST]What is the Athens Base play with Dance Theatre Roes Company? Context: CREATE TABLE table_name_59 (play VARCHAR, base VARCHAR, company VARCHAR)[/INST]SELECT play FROM table_name_59 WHERE base = "athens" AND company = "dance theatre roes"</s> |
CREATE TABLE table_name_48 (played INTEGER, goals_for VARCHAR, wins VARCHAR) | SELECT MIN(played) FROM table_name_48 WHERE goals_for = 47 AND wins < 14 | What is the lowest played number when goals for is 47, and wins is smaller than 14? | <s>[INST]What is the lowest played number when goals for is 47, and wins is smaller than 14? Context: CREATE TABLE table_name_48 (played INTEGER, goals_for VARCHAR, wins VARCHAR)[/INST]SELECT MIN(played) FROM table_name_48 WHERE goals_for = 47 AND wins < 14</s> |
CREATE TABLE table_name_94 (purse VARCHAR, distance VARCHAR, year VARCHAR) | SELECT purse FROM table_name_94 WHERE distance = "1-1/16" AND year = 2003 | What is the purse in 2003, which had a 1-1/16 distance? | <s>[INST]What is the purse in 2003, which had a 1-1/16 distance? Context: CREATE TABLE table_name_94 (purse VARCHAR, distance VARCHAR, year VARCHAR)[/INST]SELECT purse FROM table_name_94 WHERE distance = "1-1/16" AND year = 2003</s> |
CREATE TABLE table_name_19 (opponents_in_final VARCHAR, score_in_final VARCHAR) | SELECT opponents_in_final FROM table_name_19 WHERE score_in_final = "7–5, 1–6 4–6" | Which Opponents in Final has a Score in Final of 7–5, 1–6 4–6? | <s>[INST]Which Opponents in Final has a Score in Final of 7–5, 1–6 4–6? Context: CREATE TABLE table_name_19 (opponents_in_final VARCHAR, score_in_final VARCHAR)[/INST]SELECT opponents_in_final FROM table_name_19 WHERE score_in_final = "7–5, 1–6 4–6"</s> |
CREATE TABLE table_name_33 (week_3 VARCHAR, week_1 VARCHAR) | SELECT week_3 FROM table_name_33 WHERE week_1 = "demi jessica" | Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1? | <s>[INST]Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1? Context: CREATE TABLE table_name_33 (week_3 VARCHAR, week_1 VARCHAR)[/INST]SELECT week_3 FROM table_name_33 WHERE week_1 = "demi jessica"</s> |
CREATE TABLE airports (country VARCHAR) | SELECT COUNT(*), country FROM airports GROUP BY country ORDER BY COUNT(*) DESC | How many airports are there per country? Order the countries by decreasing number of airports. | <s>[INST]How many airports are there per country? Order the countries by decreasing number of airports. Context: CREATE TABLE airports (country VARCHAR)[/INST]SELECT COUNT(*), country FROM airports GROUP BY country ORDER BY COUNT(*) DESC</s> |
CREATE TABLE table_name_78 (karen_handel VARCHAR, poll_source VARCHAR, john_oxendine VARCHAR) | SELECT karen_handel FROM table_name_78 WHERE poll_source = "insideradvantage" AND john_oxendine = "15%" | What is Karen Handel polling at in the Insideradvantage poll where John Oxendine is at 15%? | <s>[INST]What is Karen Handel polling at in the Insideradvantage poll where John Oxendine is at 15%? Context: CREATE TABLE table_name_78 (karen_handel VARCHAR, poll_source VARCHAR, john_oxendine VARCHAR)[/INST]SELECT karen_handel FROM table_name_78 WHERE poll_source = "insideradvantage" AND john_oxendine = "15%"</s> |
CREATE TABLE table_27369069_4 (province VARCHAR, soccer_stadium VARCHAR) | SELECT province FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard" | What is the province where the soccer statium is terrain #2 of complexe sportif claude-robillard? | <s>[INST]What is the province where the soccer statium is terrain #2 of complexe sportif claude-robillard? Context: CREATE TABLE table_27369069_4 (province VARCHAR, soccer_stadium VARCHAR)[/INST]SELECT province FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard"</s> |
CREATE TABLE table_name_51 (chassis VARCHAR, drivers VARCHAR) | SELECT chassis FROM table_name_51 WHERE drivers = "ross davis" | What chassis doe Ross Davis use? | <s>[INST]What chassis doe Ross Davis use? Context: CREATE TABLE table_name_51 (chassis VARCHAR, drivers VARCHAR)[/INST]SELECT chassis FROM table_name_51 WHERE drivers = "ross davis"</s> |
CREATE TABLE table_name_61 (year INTEGER, theme VARCHAR) | SELECT SUM(year) FROM table_name_61 WHERE theme = "timber trade" | What year was the timber trade? | <s>[INST]What year was the timber trade? Context: CREATE TABLE table_name_61 (year INTEGER, theme VARCHAR)[/INST]SELECT SUM(year) FROM table_name_61 WHERE theme = "timber trade"</s> |
CREATE TABLE table_name_22 (score VARCHAR, partner VARCHAR, date VARCHAR) | SELECT score FROM table_name_22 WHERE partner = "mashona washington" AND date = "january 10, 2011" | What is the final score for the game played on January 10, 2011 with partner Mashona Washington? | <s>[INST]What is the final score for the game played on January 10, 2011 with partner Mashona Washington? Context: CREATE TABLE table_name_22 (score VARCHAR, partner VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_22 WHERE partner = "mashona washington" AND date = "january 10, 2011"</s> |
CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, Age VARCHAR, Sex VARCHAR) | SELECT Fname, Lname, Age FROM Student WHERE Sex = 'F' | Show first name, last name, age for all female students. Their sex is F. | <s>[INST]Show first name, last name, age for all female students. Their sex is F. Context: CREATE TABLE Student (Fname VARCHAR, Lname VARCHAR, Age VARCHAR, Sex VARCHAR)[/INST]SELECT Fname, Lname, Age FROM Student WHERE Sex = 'F'</s> |
CREATE TABLE table_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR) | SELECT total_poll___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "13,895 (27.3)" | When 13,895 (27.3) is the percentage against what is the toll poll percentage? | <s>[INST]When 13,895 (27.3) is the percentage against what is the toll poll percentage? Context: CREATE TABLE table_20683381_3 (total_poll___percentage_ VARCHAR, against___percentage_ VARCHAR)[/INST]SELECT total_poll___percentage_ FROM table_20683381_3 WHERE against___percentage_ = "13,895 (27.3)"</s> |
CREATE TABLE table_15331868_1 (won INTEGER, difference VARCHAR) | SELECT MAX(won) FROM table_15331868_1 WHERE difference = "1" | What is the highest number won with a difference of 1? | <s>[INST]What is the highest number won with a difference of 1? Context: CREATE TABLE table_15331868_1 (won INTEGER, difference VARCHAR)[/INST]SELECT MAX(won) FROM table_15331868_1 WHERE difference = "1"</s> |
CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR) | SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = "全椒縣" | What is the number of English names that have a Traditional Chinese name of 全椒縣? | <s>[INST]What is the number of English names that have a Traditional Chinese name of 全椒縣? Context: CREATE TABLE table_1982739_2 (english_name VARCHAR, traditional_chinese VARCHAR)[/INST]SELECT COUNT(english_name) FROM table_1982739_2 WHERE traditional_chinese = "全椒縣"</s> |
CREATE TABLE table_25256368_1 (february_2010 VARCHAR, june_2010 VARCHAR) | SELECT february_2010 FROM table_25256368_1 WHERE june_2010 = "6.5%" | Name the bed 2010 for 6.5% | <s>[INST]Name the bed 2010 for 6.5% Context: CREATE TABLE table_25256368_1 (february_2010 VARCHAR, june_2010 VARCHAR)[/INST]SELECT february_2010 FROM table_25256368_1 WHERE june_2010 = "6.5%"</s> |
CREATE TABLE table_name_1 (date VARCHAR, series VARCHAR) | SELECT date FROM table_name_1 WHERE series = "atcc round 5" | What is Date, when Series is ATCC Round 5? | <s>[INST]What is Date, when Series is ATCC Round 5? Context: CREATE TABLE table_name_1 (date VARCHAR, series VARCHAR)[/INST]SELECT date FROM table_name_1 WHERE series = "atcc round 5"</s> |
CREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER) | SELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257 | How much Snatch has a Total (kg) smaller than 257? | <s>[INST]How much Snatch has a Total (kg) smaller than 257? Context: CREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER)[/INST]SELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257</s> |
CREATE TABLE participants_in_Events (participant_id VARCHAR) | SELECT COUNT(DISTINCT participant_id) FROM participants_in_Events | What are all the distinct participant ids who attended any events? | <s>[INST]What are all the distinct participant ids who attended any events? Context: CREATE TABLE participants_in_Events (participant_id VARCHAR)[/INST]SELECT COUNT(DISTINCT participant_id) FROM participants_in_Events</s> |
CREATE TABLE table_name_9 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_9 WHERE laps < 35 AND grid < 10 | How much time is required for less than 35 laps and less than 10 grids? | <s>[INST]How much time is required for less than 35 laps and less than 10 grids? Context: CREATE TABLE table_name_9 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_9 WHERE laps < 35 AND grid < 10</s> |
CREATE TABLE table_name_98 (slalom VARCHAR, super_g VARCHAR) | SELECT slalom FROM table_name_98 WHERE super_g = "4" | Which Slalom has a Super G of 4? | <s>[INST]Which Slalom has a Super G of 4? Context: CREATE TABLE table_name_98 (slalom VARCHAR, super_g VARCHAR)[/INST]SELECT slalom FROM table_name_98 WHERE super_g = "4"</s> |
CREATE TABLE table_1876825_2 (production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR) | SELECT COUNT(production_code) FROM table_1876825_2 WHERE written_by = "David Richardson" AND directed_by = "Todd Holland" | Name the total number of production code by david richardson and todd holland | <s>[INST]Name the total number of production code by david richardson and todd holland Context: CREATE TABLE table_1876825_2 (production_code VARCHAR, written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(production_code) FROM table_1876825_2 WHERE written_by = "David Richardson" AND directed_by = "Todd Holland"<... |
CREATE TABLE undergoes (patient VARCHAR, Stay VARCHAR); CREATE TABLE stay (StayID VARCHAR, room VARCHAR); CREATE TABLE patient (name VARCHAR, SSN VARCHAR) | SELECT DISTINCT T2.name FROM undergoes AS T1 JOIN patient AS T2 ON T1.patient = T2.SSN JOIN stay AS T3 ON T1.Stay = T3.StayID WHERE T3.room = 111 | Find the names of all patients who have an undergoing treatment and are staying in room 111. | <s>[INST]Find the names of all patients who have an undergoing treatment and are staying in room 111. Context: CREATE TABLE undergoes (patient VARCHAR, Stay VARCHAR); CREATE TABLE stay (StayID VARCHAR, room VARCHAR); CREATE TABLE patient (name VARCHAR, SSN VARCHAR)[/INST]SELECT DISTINCT T2.name FROM undergoes AS T1 JOI... |
CREATE TABLE table_name_83 (opposing_teams VARCHAR, date VARCHAR) | SELECT opposing_teams FROM table_name_83 WHERE date = "08/02/1969" | Who were the opposing teams on 08/02/1969? | <s>[INST]Who were the opposing teams on 08/02/1969? Context: CREATE TABLE table_name_83 (opposing_teams VARCHAR, date VARCHAR)[/INST]SELECT opposing_teams FROM table_name_83 WHERE date = "08/02/1969"</s> |
CREATE TABLE problem_log (problem_log_id VARCHAR, problem_id VARCHAR, log_entry_date VARCHAR) | SELECT problem_log_id, problem_id FROM problem_log ORDER BY log_entry_date LIMIT 1 | What is the oldest log id and its corresponding problem id? | <s>[INST]What is the oldest log id and its corresponding problem id? Context: CREATE TABLE problem_log (problem_log_id VARCHAR, problem_id VARCHAR, log_entry_date VARCHAR)[/INST]SELECT problem_log_id, problem_id FROM problem_log ORDER BY log_entry_date LIMIT 1</s> |
CREATE TABLE table_name_5 (entrant VARCHAR, driver VARCHAR) | SELECT entrant FROM table_name_5 WHERE driver = "gary brabham" | Who was the entrant for Gary Brabham? | <s>[INST]Who was the entrant for Gary Brabham? Context: CREATE TABLE table_name_5 (entrant VARCHAR, driver VARCHAR)[/INST]SELECT entrant FROM table_name_5 WHERE driver = "gary brabham"</s> |
CREATE TABLE table_name_88 (result VARCHAR, race VARCHAR) | SELECT result FROM table_name_88 WHERE race = "ajc craven plate (wfa)" | What is the result of the ajc craven plate (wfa) race? | <s>[INST]What is the result of the ajc craven plate (wfa) race? Context: CREATE TABLE table_name_88 (result VARCHAR, race VARCHAR)[/INST]SELECT result FROM table_name_88 WHERE race = "ajc craven plate (wfa)"</s> |
CREATE TABLE table_name_48 (runner_s__up VARCHAR, winning_score VARCHAR) | SELECT runner_s__up FROM table_name_48 WHERE winning_score = −5(72 - 71 - 68 = 211) | Who is the runner(s)-up with a winning score of −5 (72-71-68=211)? | <s>[INST]Who is the runner(s)-up with a winning score of −5 (72-71-68=211)? Context: CREATE TABLE table_name_48 (runner_s__up VARCHAR, winning_score VARCHAR)[/INST]SELECT runner_s__up FROM table_name_48 WHERE winning_score = −5(72 - 71 - 68 = 211)</s> |
CREATE TABLE table_name_62 (language VARCHAR, music_director VARCHAR) | SELECT language FROM table_name_62 WHERE music_director = "raj kamal" | What language does Raj Kamal speak? | <s>[INST]What language does Raj Kamal speak? Context: CREATE TABLE table_name_62 (language VARCHAR, music_director VARCHAR)[/INST]SELECT language FROM table_name_62 WHERE music_director = "raj kamal"</s> |
CREATE TABLE table_name_58 (region VARCHAR, year VARCHAR, name VARCHAR) | SELECT region FROM table_name_58 WHERE year < 2008 AND name = "best 1200" | Name the region before 2008 when name of best 1200 | <s>[INST]Name the region before 2008 when name of best 1200 Context: CREATE TABLE table_name_58 (region VARCHAR, year VARCHAR, name VARCHAR)[/INST]SELECT region FROM table_name_58 WHERE year < 2008 AND name = "best 1200"</s> |
CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR) | SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Second Intermediate Period of Egypt" | When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there? | <s>[INST]When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there? Context: CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)[/INST]SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mes... |
CREATE TABLE table_name_88 (branding VARCHAR, frequency VARCHAR) | SELECT branding FROM table_name_88 WHERE frequency = "680 khz" | Tell me the branding for frequency of 680 khz | <s>[INST]Tell me the branding for frequency of 680 khz Context: CREATE TABLE table_name_88 (branding VARCHAR, frequency VARCHAR)[/INST]SELECT branding FROM table_name_88 WHERE frequency = "680 khz"</s> |
CREATE TABLE table_26980923_2 (capacity VARCHAR, team VARCHAR) | SELECT capacity FROM table_26980923_2 WHERE team = "Dundee United" | What is the capacity for dundee united? | <s>[INST]What is the capacity for dundee united? Context: CREATE TABLE table_26980923_2 (capacity VARCHAR, team VARCHAR)[/INST]SELECT capacity FROM table_26980923_2 WHERE team = "Dundee United"</s> |
CREATE TABLE table_1404456_1 (capital VARCHAR, area__km_2__ VARCHAR) | SELECT capital FROM table_1404456_1 WHERE area__km_2__ = "12,245.9" | what's the capital with area (km 2 ) being 12,245.9 | <s>[INST]what's the capital with area (km 2 ) being 12,245.9 Context: CREATE TABLE table_1404456_1 (capital VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT capital FROM table_1404456_1 WHERE area__km_2__ = "12,245.9"</s> |
CREATE TABLE table_name_20 (total__000s_ INTEGER, year VARCHAR) | SELECT SUM(total__000s_) FROM table_name_20 WHERE year = "1996" | What is the amount of 000s from 1996? | <s>[INST]What is the amount of 000s from 1996? Context: CREATE TABLE table_name_20 (total__000s_ INTEGER, year VARCHAR)[/INST]SELECT SUM(total__000s_) FROM table_name_20 WHERE year = "1996"</s> |
CREATE TABLE table_1405704_1 (team VARCHAR, chassis VARCHAR, engine VARCHAR) | SELECT team FROM table_1405704_1 WHERE chassis = "McLaren" AND engine = "Offenhauser" | What team has a vehicle with an Offenhauser engine and a McLaren chassis? | <s>[INST]What team has a vehicle with an Offenhauser engine and a McLaren chassis? Context: CREATE TABLE table_1405704_1 (team VARCHAR, chassis VARCHAR, engine VARCHAR)[/INST]SELECT team FROM table_1405704_1 WHERE chassis = "McLaren" AND engine = "Offenhauser"</s> |
CREATE TABLE table_name_15 (population VARCHAR, gdp_per_capita__us$_ VARCHAR) | SELECT population FROM table_name_15 WHERE gdp_per_capita__us$_ = "15,054" | What is the total population of the country that has a GDP per capita (US$) of 15,054? | <s>[INST]What is the total population of the country that has a GDP per capita (US$) of 15,054? Context: CREATE TABLE table_name_15 (population VARCHAR, gdp_per_capita__us$_ VARCHAR)[/INST]SELECT population FROM table_name_15 WHERE gdp_per_capita__us$_ = "15,054"</s> |
CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) | SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = "Vilnes kyrkje" | Name the number of parish for vilnes kyrkje | <s>[INST]Name the number of parish for vilnes kyrkje Context: CREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)[/INST]SELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = "Vilnes kyrkje"</s> |
CREATE TABLE table_16886076_1 (coronie VARCHAR, marowijne VARCHAR) | SELECT coronie FROM table_16886076_1 WHERE marowijne = "6.8%" | Name the coronie for marowijne being 6.8% | <s>[INST]Name the coronie for marowijne being 6.8% Context: CREATE TABLE table_16886076_1 (coronie VARCHAR, marowijne VARCHAR)[/INST]SELECT coronie FROM table_16886076_1 WHERE marowijne = "6.8%"</s> |
CREATE TABLE table_26591309_2 (first_broadcast_uk___bbc_four__ VARCHAR, episode VARCHAR) | SELECT first_broadcast_uk___bbc_four__ FROM table_26591309_2 WHERE episode = 9 | When was the first UK broadcast for episode 9? | <s>[INST]When was the first UK broadcast for episode 9? Context: CREATE TABLE table_26591309_2 (first_broadcast_uk___bbc_four__ VARCHAR, episode VARCHAR)[/INST]SELECT first_broadcast_uk___bbc_four__ FROM table_26591309_2 WHERE episode = 9</s> |
CREATE TABLE table_26336739_1 (status VARCHAR, incumbent VARCHAR) | SELECT status FROM table_26336739_1 WHERE incumbent = "Bob Barr" | What is the status in the district with the incumbent Bob Barr? | <s>[INST]What is the status in the district with the incumbent Bob Barr? Context: CREATE TABLE table_26336739_1 (status VARCHAR, incumbent VARCHAR)[/INST]SELECT status FROM table_26336739_1 WHERE incumbent = "Bob Barr"</s> |
CREATE TABLE table_name_77 (live VARCHAR, share INTEGER, viewers_ INTEGER) | SELECT SUM(viewers_)[live] AS __m_ FROM table_name_77 WHERE share > 5 | What is the sum of the live viewers for episodes with share over 5? | <s>[INST]What is the sum of the live viewers for episodes with share over 5? Context: CREATE TABLE table_name_77 (live VARCHAR, share INTEGER, viewers_ INTEGER)[/INST]SELECT SUM(viewers_)[live] AS __m_ FROM table_name_77 WHERE share > 5</s> |
CREATE TABLE table_name_9 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_9 WHERE opponent = "ilija bozoljac" | On what Surface was the match against Ilija Bozoljac played? | <s>[INST]On what Surface was the match against Ilija Bozoljac played? Context: CREATE TABLE table_name_9 (surface VARCHAR, opponent VARCHAR)[/INST]SELECT surface FROM table_name_9 WHERE opponent = "ilija bozoljac"</s> |
CREATE TABLE table_name_82 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_82 WHERE venue = "brunswick street oval" | What is the home team's score at brunswick street oval? | <s>[INST]What is the home team's score at brunswick street oval? Context: CREATE TABLE table_name_82 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_82 WHERE venue = "brunswick street oval"</s> |
CREATE TABLE table_name_98 (result VARCHAR, field VARCHAR, date VARCHAR) | SELECT result FROM table_name_98 WHERE field = "bishop kearney field" AND date = "august 2" | What is the result of the game at Bishop Kearney Field on August 2? | <s>[INST]What is the result of the game at Bishop Kearney Field on August 2? Context: CREATE TABLE table_name_98 (result VARCHAR, field VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_98 WHERE field = "bishop kearney field" AND date = "august 2"</s> |
CREATE TABLE table_name_53 (runner_up VARCHAR, venue VARCHAR) | SELECT runner_up FROM table_name_53 WHERE venue = "tartu, estonia" | Who was the runner-up at the event held in Tartu, Estonia? | <s>[INST]Who was the runner-up at the event held in Tartu, Estonia? Context: CREATE TABLE table_name_53 (runner_up VARCHAR, venue VARCHAR)[/INST]SELECT runner_up FROM table_name_53 WHERE venue = "tartu, estonia"</s> |
CREATE TABLE table_name_76 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) | SELECT MAX(field_goals) FROM table_name_76 WHERE touchdowns = 0 AND points > 4 | Which Field goals is the highest one that has Touchdowns of 0, and Points larger than 4? | <s>[INST]Which Field goals is the highest one that has Touchdowns of 0, and Points larger than 4? Context: CREATE TABLE table_name_76 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR)[/INST]SELECT MAX(field_goals) FROM table_name_76 WHERE touchdowns = 0 AND points > 4</s> |
CREATE TABLE table_name_81 (Id VARCHAR) | SELECT 1989 FROM table_name_81 WHERE 1991 = "1r" AND 1994 = "1r" | Which 1989's 1991 and 1994 stats were 1r? | <s>[INST]Which 1989's 1991 and 1994 stats were 1r? Context: CREATE TABLE table_name_81 (Id VARCHAR)[/INST]SELECT 1989 FROM table_name_81 WHERE 1991 = "1r" AND 1994 = "1r"</s> |
CREATE TABLE table_22170495_6 (original_airing_on_channel_4 VARCHAR, title VARCHAR) | SELECT original_airing_on_channel_4 FROM table_22170495_6 WHERE title = "Being Alive" | When is the original airing on channel 4 with being alive as the title? | <s>[INST]When is the original airing on channel 4 with being alive as the title? Context: CREATE TABLE table_22170495_6 (original_airing_on_channel_4 VARCHAR, title VARCHAR)[/INST]SELECT original_airing_on_channel_4 FROM table_22170495_6 WHERE title = "Being Alive"</s> |
CREATE TABLE phone (Carrier VARCHAR, Price VARCHAR) | SELECT Carrier FROM phone ORDER BY Price DESC LIMIT 1 | What is the carrier of the most expensive phone? | <s>[INST]What is the carrier of the most expensive phone? Context: CREATE TABLE phone (Carrier VARCHAR, Price VARCHAR)[/INST]SELECT Carrier FROM phone ORDER BY Price DESC LIMIT 1</s> |
CREATE TABLE table_name_57 (surpassed_by VARCHAR, year VARCHAR, period VARCHAR) | SELECT surpassed_by FROM table_name_57 WHERE year < 1925 AND period = "6 years" | I need the surpassed for years before 1925 and period of 6 years | <s>[INST]I need the surpassed for years before 1925 and period of 6 years Context: CREATE TABLE table_name_57 (surpassed_by VARCHAR, year VARCHAR, period VARCHAR)[/INST]SELECT surpassed_by FROM table_name_57 WHERE year < 1925 AND period = "6 years"</s> |
CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_11677691_6 WHERE player = "Shaq Thompson" | Where is Shaq Thompson from? | <s>[INST]Where is Shaq Thompson from? Context: CREATE TABLE table_11677691_6 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_11677691_6 WHERE player = "Shaq Thompson"</s> |
CREATE TABLE table_name_72 (nationality VARCHAR, position VARCHAR) | SELECT nationality FROM table_name_72 WHERE position = "center" | What is the nationality of the center? | <s>[INST]What is the nationality of the center? Context: CREATE TABLE table_name_72 (nationality VARCHAR, position VARCHAR)[/INST]SELECT nationality FROM table_name_72 WHERE position = "center"</s> |
CREATE TABLE table_name_10 (points INTEGER, year VARCHAR) | SELECT AVG(points) FROM table_name_10 WHERE year = 1964 | How many points did he average in 1964? | <s>[INST]How many points did he average in 1964? Context: CREATE TABLE table_name_10 (points INTEGER, year VARCHAR)[/INST]SELECT AVG(points) FROM table_name_10 WHERE year = 1964</s> |
CREATE TABLE table_19131921_1 (frequency VARCHAR, station VARCHAR) | SELECT frequency FROM table_19131921_1 WHERE station = "WLFV-FM" | Which frequency is station wlfv-fm? | <s>[INST]Which frequency is station wlfv-fm? Context: CREATE TABLE table_19131921_1 (frequency VARCHAR, station VARCHAR)[/INST]SELECT frequency FROM table_19131921_1 WHERE station = "WLFV-FM"</s> |
CREATE TABLE table_15700367_2 (wickets VARCHAR, name VARCHAR) | SELECT COUNT(wickets) FROM table_15700367_2 WHERE name = "Yuvraj Singh" | Name the total number of wickets being yuvraj singh | <s>[INST]Name the total number of wickets being yuvraj singh Context: CREATE TABLE table_15700367_2 (wickets VARCHAR, name VARCHAR)[/INST]SELECT COUNT(wickets) FROM table_15700367_2 WHERE name = "Yuvraj Singh"</s> |
CREATE TABLE table_name_96 (team VARCHAR, game VARCHAR) | SELECT team FROM table_name_96 WHERE game = 32 | What is Team, when Game is "32"? | <s>[INST]What is Team, when Game is "32"? Context: CREATE TABLE table_name_96 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_name_96 WHERE game = 32</s> |
CREATE TABLE table_name_28 (home VARCHAR, result VARCHAR, date VARCHAR) | SELECT home FROM table_name_28 WHERE result = "0:2" AND date = "21.10.07" | What is the home of the match with a 0:2 result on 21.10.07? | <s>[INST]What is the home of the match with a 0:2 result on 21.10.07? Context: CREATE TABLE table_name_28 (home VARCHAR, result VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_28 WHERE result = "0:2" AND date = "21.10.07"</s> |
CREATE TABLE table_19487922_2 (championships INTEGER) | SELECT MIN(championships) FROM table_19487922_2 | What in the minimum number of championships won by a nation? | <s>[INST]What in the minimum number of championships won by a nation? Context: CREATE TABLE table_19487922_2 (championships INTEGER)[/INST]SELECT MIN(championships) FROM table_19487922_2</s> |
CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_43 WHERE record = "11-8" | When was 11-8 the record? | <s>[INST]When was 11-8 the record? Context: CREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_43 WHERE record = "11-8"</s> |
CREATE TABLE table_name_93 (ravg VARCHAR, ratt VARCHAR) | SELECT ravg FROM table_name_93 WHERE ratt = "3" | What is the RAvg when the ratt is 3? | <s>[INST]What is the RAvg when the ratt is 3? Context: CREATE TABLE table_name_93 (ravg VARCHAR, ratt VARCHAR)[/INST]SELECT ravg FROM table_name_93 WHERE ratt = "3"</s> |
CREATE TABLE table_name_2 (driver VARCHAR, constructor VARCHAR, location VARCHAR) | SELECT driver FROM table_name_2 WHERE constructor = "bugatti" AND location = "anfa" | What is the name of the driver of the vehicle constructed by Bugatti in Anfa? | <s>[INST]What is the name of the driver of the vehicle constructed by Bugatti in Anfa? Context: CREATE TABLE table_name_2 (driver VARCHAR, constructor VARCHAR, location VARCHAR)[/INST]SELECT driver FROM table_name_2 WHERE constructor = "bugatti" AND location = "anfa"</s> |
CREATE TABLE table_2226817_9 (title VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_2226817_9 WHERE no_in_series = 165 | What is the name of episode 165? | <s>[INST]What is the name of episode 165? Context: CREATE TABLE table_2226817_9 (title VARCHAR, no_in_series VARCHAR)[/INST]SELECT title FROM table_2226817_9 WHERE no_in_series = 165</s> |
CREATE TABLE table_25331766_3 (final_score VARCHAR, attendance VARCHAR) | SELECT final_score FROM table_25331766_3 WHERE attendance = 7523 | What was the final score of the game with 7523 in attendance? | <s>[INST]What was the final score of the game with 7523 in attendance? Context: CREATE TABLE table_25331766_3 (final_score VARCHAR, attendance VARCHAR)[/INST]SELECT final_score FROM table_25331766_3 WHERE attendance = 7523</s> |
CREATE TABLE table_24330803_1 (position VARCHAR, points VARCHAR) | SELECT COUNT(position) FROM table_24330803_1 WHERE points = "30" | How many positions were given when 30 points were won? | <s>[INST]How many positions were given when 30 points were won? Context: CREATE TABLE table_24330803_1 (position VARCHAR, points VARCHAR)[/INST]SELECT COUNT(position) FROM table_24330803_1 WHERE points = "30"</s> |
CREATE TABLE table_17118006_2 (local_investment__us$_ VARCHAR, bid_pronar_investment__us$_ VARCHAR) | SELECT local_investment__us$_ FROM table_17118006_2 WHERE bid_pronar_investment__us$_ = "912,185" | What was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment? | <s>[INST]What was the local investment (in $) in the projects of the department with $912,185 BID/PRONAR investment? Context: CREATE TABLE table_17118006_2 (local_investment__us$_ VARCHAR, bid_pronar_investment__us$_ VARCHAR)[/INST]SELECT local_investment__us$_ FROM table_17118006_2 WHERE bid_pronar_investment__us$_ = ... |
CREATE TABLE table_name_30 (method VARCHAR, race VARCHAR, date_of_execution VARCHAR) | SELECT method FROM table_name_30 WHERE race = "native american" AND date_of_execution = "july 1836" | How was the native american executed in July 1836? | <s>[INST]How was the native american executed in July 1836? Context: CREATE TABLE table_name_30 (method VARCHAR, race VARCHAR, date_of_execution VARCHAR)[/INST]SELECT method FROM table_name_30 WHERE race = "native american" AND date_of_execution = "july 1836"</s> |
CREATE TABLE table_1342013_10 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1342013_10 WHERE incumbent = "J. L. Pilcher" | How many candidates ran in the race where the incumbent is J. L. Pilcher? | <s>[INST]How many candidates ran in the race where the incumbent is J. L. Pilcher? Context: CREATE TABLE table_1342013_10 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1342013_10 WHERE incumbent = "J. L. Pilcher"</s> |
CREATE TABLE table_name_84 (total_points INTEGER, artist VARCHAR, place VARCHAR) | SELECT MIN(total_points) FROM table_name_84 WHERE artist = "karine trécy" AND place < 12 | What is the lowest total points Karine Trécy has with a less than 12 place? | <s>[INST]What is the lowest total points Karine Trécy has with a less than 12 place? Context: CREATE TABLE table_name_84 (total_points INTEGER, artist VARCHAR, place VARCHAR)[/INST]SELECT MIN(total_points) FROM table_name_84 WHERE artist = "karine trécy" AND place < 12</s> |
CREATE TABLE table_name_95 (Real VARCHAR, defining_characteristics VARCHAR) | SELECT Real AS name FROM table_name_95 WHERE defining_characteristics = "shortest band member" | Who is the person with the defining characteristic of the shortest band member? | <s>[INST]Who is the person with the defining characteristic of the shortest band member? Context: CREATE TABLE table_name_95 (Real VARCHAR, defining_characteristics VARCHAR)[/INST]SELECT Real AS name FROM table_name_95 WHERE defining_characteristics = "shortest band member"</s> |
CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, time VARCHAR) | SELECT location FROM table_name_44 WHERE res = "win" AND time = "4:16" | Where was the match that resulted in a win in 4:16 held? | <s>[INST]Where was the match that resulted in a win in 4:16 held? Context: CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, time VARCHAR)[/INST]SELECT location FROM table_name_44 WHERE res = "win" AND time = "4:16"</s> |
CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR, silver VARCHAR) | SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "soviet union" AND silver > 2 | The Soviet Union has won more than 2 Silver, but how many Bronzes? | <s>[INST]The Soviet Union has won more than 2 Silver, but how many Bronzes? Context: CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR, silver VARCHAR)[/INST]SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "soviet union" AND silver > 2</s> |
CREATE TABLE table_name_16 (score VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT score FROM table_name_16 WHERE opponent = "@ blue jays" AND date = "june 7" | What Score has an Opponent of @ Blue Jays with a Date of June 7? | <s>[INST]What Score has an Opponent of @ Blue Jays with a Date of June 7? Context: CREATE TABLE table_name_16 (score VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_16 WHERE opponent = "@ blue jays" AND date = "june 7"</s> |
CREATE TABLE table_name_75 (rank VARCHAR, class VARCHAR, points VARCHAR, chassis VARCHAR) | SELECT rank FROM table_name_75 WHERE points > 123 AND chassis = "audi r8" AND class = "lmp900" | What is the rank with more than 123 points, an audi r8 chassis, and a lmp900 class? | <s>[INST]What is the rank with more than 123 points, an audi r8 chassis, and a lmp900 class? Context: CREATE TABLE table_name_75 (rank VARCHAR, class VARCHAR, points VARCHAR, chassis VARCHAR)[/INST]SELECT rank FROM table_name_75 WHERE points > 123 AND chassis = "audi r8" AND class = "lmp900"</s> |
CREATE TABLE table_name_46 (rank VARCHAR, athletes VARCHAR) | SELECT rank FROM table_name_46 WHERE athletes = "manuel cortina martínez" | What is the rank of Manuel Cortina Martínez? | <s>[INST]What is the rank of Manuel Cortina Martínez? Context: CREATE TABLE table_name_46 (rank VARCHAR, athletes VARCHAR)[/INST]SELECT rank FROM table_name_46 WHERE athletes = "manuel cortina martínez"</s> |
CREATE TABLE table_name_82 (year INTEGER, tyres VARCHAR, chassis VARCHAR) | SELECT AVG(year) FROM table_name_82 WHERE tyres = "g" AND chassis = "minardi m187" | How many years were g Tyres and Minardi m187 used? | <s>[INST]How many years were g Tyres and Minardi m187 used? Context: CREATE TABLE table_name_82 (year INTEGER, tyres VARCHAR, chassis VARCHAR)[/INST]SELECT AVG(year) FROM table_name_82 WHERE tyres = "g" AND chassis = "minardi m187"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.