question
stringlengths
16
239
answer
stringlengths
18
400
context
stringlengths
30
308
text
stringlengths
108
764
what city is the toamasina airport in?
SELECT city FROM table_name_42 WHERE airport = "toamasina airport"
CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR)
<s>[INST] what city is the toamasina airport in? context: CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR) [/INST] SELECT city FROM table_name_42 WHERE airport = "toamasina airport" </s>
What country did the project, Bonga SW; Aparo with a shell operator take place?
SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo"
CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR)
<s>[INST] What country did the project, Bonga SW; Aparo with a shell operator take place? context: CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR) [/INST] SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo" </s>
Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points?
SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = "2006–07" AND games < 70
CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR)
<s>[INST] Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points? context: CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR) [/INST] SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = "2006–07" AND games ...
When was the latest debut in Europe for Henrik Larsson, with less than 108 games?
SELECT MAX(debut_in_europe) FROM table_name_57 WHERE player = "henrik larsson" AND games < 108
CREATE TABLE table_name_57 (debut_in_europe INTEGER, player VARCHAR, games VARCHAR)
<s>[INST] When was the latest debut in Europe for Henrik Larsson, with less than 108 games? context: CREATE TABLE table_name_57 (debut_in_europe INTEGER, player VARCHAR, games VARCHAR) [/INST] SELECT MAX(debut_in_europe) FROM table_name_57 WHERE player = "henrik larsson" AND games < 108 </s>
Show details of all visitors.
SELECT Tourist_Details FROM VISITORS
CREATE TABLE VISITORS (Tourist_Details VARCHAR)
<s>[INST] Show details of all visitors. context: CREATE TABLE VISITORS (Tourist_Details VARCHAR) [/INST] SELECT Tourist_Details FROM VISITORS </s>
What were the number of sales before 1991?
SELECT sales FROM table_name_59 WHERE year < 1991
CREATE TABLE table_name_59 (sales VARCHAR, year INTEGER)
<s>[INST] What were the number of sales before 1991? context: CREATE TABLE table_name_59 (sales VARCHAR, year INTEGER) [/INST] SELECT sales FROM table_name_59 WHERE year < 1991 </s>
What was the record in a week less than 13 on November 9, 2003?
SELECT record FROM table_name_69 WHERE week < 13 AND date = "november 9, 2003"
CREATE TABLE table_name_69 (record VARCHAR, week VARCHAR, date VARCHAR)
<s>[INST] What was the record in a week less than 13 on November 9, 2003? context: CREATE TABLE table_name_69 (record VARCHAR, week VARCHAR, date VARCHAR) [/INST] SELECT record FROM table_name_69 WHERE week < 13 AND date = "november 9, 2003" </s>
On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?
SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show"
CREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR)
<s>[INST] On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show? context: CREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR) [/INST] SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show" </s>
What is the Length of retirement of the President with an Age at inauguration of 70years, 53days?
SELECT length_of_retirement FROM table_name_51 WHERE age_at_inauguration = "70years, 53days"
CREATE TABLE table_name_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR)
<s>[INST] What is the Length of retirement of the President with an Age at inauguration of 70years, 53days? context: CREATE TABLE table_name_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR) [/INST] SELECT length_of_retirement FROM table_name_51 WHERE age_at_inauguration = "70years, 53days" </s>
What is the highest episode# with the writer Paul West?
SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = "Paul West"
CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR)
<s>[INST] What is the highest episode# with the writer Paul West? context: CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR) [/INST] SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = "Paul West" </s>
What is the number of wins in the playoffs league?
SELECT wins FROM table_name_10 WHERE league = "playoffs"
CREATE TABLE table_name_10 (wins VARCHAR, league VARCHAR)
<s>[INST] What is the number of wins in the playoffs league? context: CREATE TABLE table_name_10 (wins VARCHAR, league VARCHAR) [/INST] SELECT wins FROM table_name_10 WHERE league = "playoffs" </s>
What was the gp/gs when the assists was 1?
SELECT gp_gs FROM table_name_4 WHERE assists = "1"
CREATE TABLE table_name_4 (gp_gs VARCHAR, assists VARCHAR)
<s>[INST] What was the gp/gs when the assists was 1? context: CREATE TABLE table_name_4 (gp_gs VARCHAR, assists VARCHAR) [/INST] SELECT gp_gs FROM table_name_4 WHERE assists = "1" </s>
What is the Tie no when Crystal Palace is the Away team?
SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace"
CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR)
<s>[INST] What is the Tie no when Crystal Palace is the Away team? context: CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR) [/INST] SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace" </s>
What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164?
SELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164
CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)
<s>[INST] What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164? context: CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR) [/INST] SELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164 </s>
Which airport is in Xinjiang province in the city Kuqa?
SELECT airport FROM table_name_45 WHERE province = "xinjiang" AND city = "kuqa"
CREATE TABLE table_name_45 (airport VARCHAR, province VARCHAR, city VARCHAR)
<s>[INST] Which airport is in Xinjiang province in the city Kuqa? context: CREATE TABLE table_name_45 (airport VARCHAR, province VARCHAR, city VARCHAR) [/INST] SELECT airport FROM table_name_45 WHERE province = "xinjiang" AND city = "kuqa" </s>
Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?
SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot"
CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)
<s>[INST] Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot? context: CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR) [/INST] SELECT record FROM table_name_53 WHERE december < 28 AND poin...
Which video has a 16:9 aspect?
SELECT video FROM table_name_77 WHERE aspect = "16:9"
CREATE TABLE table_name_77 (video VARCHAR, aspect VARCHAR)
<s>[INST] Which video has a 16:9 aspect? context: CREATE TABLE table_name_77 (video VARCHAR, aspect VARCHAR) [/INST] SELECT video FROM table_name_77 WHERE aspect = "16:9" </s>
What is the To par and holds the t8 place of the United States player Tiger Woods?
SELECT to_par FROM table_name_62 WHERE country = "united states" AND place = "t8" AND player = "tiger woods"
CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
<s>[INST] What is the To par and holds the t8 place of the United States player Tiger Woods? context: CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) [/INST] SELECT to_par FROM table_name_62 WHERE country = "united states" AND place = "t8" AND player = "tiger woods" </s>
What did Steve Stricker score?
SELECT score FROM table_name_54 WHERE player = "steve stricker"
CREATE TABLE table_name_54 (score VARCHAR, player VARCHAR)
<s>[INST] What did Steve Stricker score? context: CREATE TABLE table_name_54 (score VARCHAR, player VARCHAR) [/INST] SELECT score FROM table_name_54 WHERE player = "steve stricker" </s>
How many figures are given for the region's total in 1947?
SELECT COUNT(population__region_total_) FROM table_12555835_1 WHERE year = 1947
CREATE TABLE table_12555835_1 (population__region_total_ VARCHAR, year VARCHAR)
<s>[INST] How many figures are given for the region's total in 1947? context: CREATE TABLE table_12555835_1 (population__region_total_ VARCHAR, year VARCHAR) [/INST] SELECT COUNT(population__region_total_) FROM table_12555835_1 WHERE year = 1947 </s>
What's Bulgaria's lane with a time more than 21.55?
SELECT SUM(lane) FROM table_name_28 WHERE nationality = "bulgaria" AND time > 21.55
CREATE TABLE table_name_28 (lane INTEGER, nationality VARCHAR, time VARCHAR)
<s>[INST] What's Bulgaria's lane with a time more than 21.55? context: CREATE TABLE table_name_28 (lane INTEGER, nationality VARCHAR, time VARCHAR) [/INST] SELECT SUM(lane) FROM table_name_28 WHERE nationality = "bulgaria" AND time > 21.55 </s>
What is the Team Classification if the Winner is Cyril Dessel?
SELECT team_classification FROM table_name_30 WHERE winner = "cyril dessel"
CREATE TABLE table_name_30 (team_classification VARCHAR, winner VARCHAR)
<s>[INST] What is the Team Classification if the Winner is Cyril Dessel? context: CREATE TABLE table_name_30 (team_classification VARCHAR, winner VARCHAR) [/INST] SELECT team_classification FROM table_name_30 WHERE winner = "cyril dessel" </s>
What is the category Anuya Bhagvath was nominated for at vijay award?
SELECT ceremony FROM table_name_39 WHERE award = "vijay award" AND outcome = "nominated" AND name = "anuya bhagvath"
CREATE TABLE table_name_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR)
<s>[INST] What is the category Anuya Bhagvath was nominated for at vijay award? context: CREATE TABLE table_name_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR) [/INST] SELECT ceremony FROM table_name_39 WHERE award = "vijay award" AND outcome = "nominated" AND name = "anuya bhagvath" </s>
What is the position of the race with a point of test driver?
SELECT position FROM table_name_70 WHERE points = "test driver"
CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR)
<s>[INST] What is the position of the race with a point of test driver? context: CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR) [/INST] SELECT position FROM table_name_70 WHERE points = "test driver" </s>
Tell me the sum of laps with a time/retired of +13 laps with grid more than 18
SELECT SUM(laps) FROM table_name_21 WHERE time_retired = "+13 laps" AND grid > 18
CREATE TABLE table_name_21 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
<s>[INST] Tell me the sum of laps with a time/retired of +13 laps with grid more than 18 context: CREATE TABLE table_name_21 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) [/INST] SELECT SUM(laps) FROM table_name_21 WHERE time_retired = "+13 laps" AND grid > 18 </s>
Find the names of stadiums that some Australian swimmers have been to.
SELECT t4.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id JOIN event AS t3 ON t2.event_id = t3.id JOIN stadium AS t4 ON t4.id = t3.stadium_id WHERE t1.nationality = 'Australia'
CREATE TABLE swimmer (id VARCHAR, nationality VARCHAR); CREATE TABLE record (swimmer_id VARCHAR, event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (id VARCHAR, stadium_id VARCHAR)
<s>[INST] Find the names of stadiums that some Australian swimmers have been to. context: CREATE TABLE swimmer (id VARCHAR, nationality VARCHAR); CREATE TABLE record (swimmer_id VARCHAR, event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (id VARCHAR, stadium_id VARCHAR) [/INST] SELE...
What competition, federation, or league are the Tennessee Titans a member of?
SELECT competition_, _federation_, _or_league FROM table_name_7 WHERE team = "tennessee titans"
CREATE TABLE table_name_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR)
<s>[INST] What competition, federation, or league are the Tennessee Titans a member of? context: CREATE TABLE table_name_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR) [/INST] SELECT competition_, _federation_, _or_league FROM table_name_7 WHERE team = "tennessee titans" </s>
Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165?
SELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = "7001–7165"
CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR)
<s>[INST] Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165? context: CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR) [/INST] SELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = "7001–7165" </s>
How many 2011 1H values have a 2006 of 27.4 and 2007 over 27.7?
SELECT COUNT(2011 AS _1h) FROM table_name_9 WHERE 2006 = 27.4 AND 2007 > 27.7
CREATE TABLE table_name_9 (Id VARCHAR)
<s>[INST] How many 2011 1H values have a 2006 of 27.4 and 2007 over 27.7? context: CREATE TABLE table_name_9 (Id VARCHAR) [/INST] SELECT COUNT(2011 AS _1h) FROM table_name_9 WHERE 2006 = 27.4 AND 2007 > 27.7 </s>
Who is the player in t8 place with a 75-71=146 score?
SELECT player FROM table_name_68 WHERE place = "t8" AND score = 75 - 71 = 146
CREATE TABLE table_name_68 (player VARCHAR, place VARCHAR, score VARCHAR)
<s>[INST] Who is the player in t8 place with a 75-71=146 score? context: CREATE TABLE table_name_68 (player VARCHAR, place VARCHAR, score VARCHAR) [/INST] SELECT player FROM table_name_68 WHERE place = "t8" AND score = 75 - 71 = 146 </s>
What is the Netflix episode for series episode 15-01?
SELECT netflix FROM table_name_64 WHERE series_ep = "15-01"
CREATE TABLE table_name_64 (netflix VARCHAR, series_ep VARCHAR)
<s>[INST] What is the Netflix episode for series episode 15-01? context: CREATE TABLE table_name_64 (netflix VARCHAR, series_ep VARCHAR) [/INST] SELECT netflix FROM table_name_64 WHERE series_ep = "15-01" </s>
What is the sum of the round of the player who plays linebacker and has a pick # greater than 251?
SELECT SUM(round) FROM table_name_38 WHERE position = "linebacker" AND pick__number > 251
CREATE TABLE table_name_38 (round INTEGER, position VARCHAR, pick__number VARCHAR)
<s>[INST] What is the sum of the round of the player who plays linebacker and has a pick # greater than 251? context: CREATE TABLE table_name_38 (round INTEGER, position VARCHAR, pick__number VARCHAR) [/INST] SELECT SUM(round) FROM table_name_38 WHERE position = "linebacker" AND pick__number > 251 </s>
what is the total silver when total is 30 and bronze is more than 10?
SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 10
CREATE TABLE table_name_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR)
<s>[INST] what is the total silver when total is 30 and bronze is more than 10? context: CREATE TABLE table_name_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR) [/INST] SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 10 </s>
How many gold(s) for teams with a total of 14, and over 6 bronze medals?
SELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6
CREATE TABLE table_name_26 (gold INTEGER, total VARCHAR, bronze VARCHAR)
<s>[INST] How many gold(s) for teams with a total of 14, and over 6 bronze medals? context: CREATE TABLE table_name_26 (gold INTEGER, total VARCHAR, bronze VARCHAR) [/INST] SELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6 </s>
Wha argon has helium of 1.0000684?
SELECT argon FROM table_name_54 WHERE helium = "1.0000684"
CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR)
<s>[INST] Wha argon has helium of 1.0000684? context: CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR) [/INST] SELECT argon FROM table_name_54 WHERE helium = "1.0000684" </s>
What is the away team score for the home team listed as Footscray?
SELECT away_team AS score FROM table_name_16 WHERE home_team = "footscray"
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
<s>[INST] What is the away team score for the home team listed as Footscray? context: CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team AS score FROM table_name_16 WHERE home_team = "footscray" </s>
Name the stellar age for f3v
SELECT stellar_age__myr_ FROM table_2296507_1 WHERE stellar_classification = "F3V"
CREATE TABLE table_2296507_1 (stellar_age__myr_ VARCHAR, stellar_classification VARCHAR)
<s>[INST] Name the stellar age for f3v context: CREATE TABLE table_2296507_1 (stellar_age__myr_ VARCHAR, stellar_classification VARCHAR) [/INST] SELECT stellar_age__myr_ FROM table_2296507_1 WHERE stellar_classification = "F3V" </s>
What is the Score of the tournament played on Clay Surface against Pablo Martin-Adalia?
SELECT score FROM table_name_97 WHERE surface = "clay" AND opponent = "pablo martin-adalia"
CREATE TABLE table_name_97 (score VARCHAR, surface VARCHAR, opponent VARCHAR)
<s>[INST] What is the Score of the tournament played on Clay Surface against Pablo Martin-Adalia? context: CREATE TABLE table_name_97 (score VARCHAR, surface VARCHAR, opponent VARCHAR) [/INST] SELECT score FROM table_name_97 WHERE surface = "clay" AND opponent = "pablo martin-adalia" </s>
What is the 2010 of the Grand Slam Tournaments in 2011?
SELECT 2010 FROM table_name_66 WHERE 2011 = "grand slam tournaments"
CREATE TABLE table_name_66 (Id VARCHAR)
<s>[INST] What is the 2010 of the Grand Slam Tournaments in 2011? context: CREATE TABLE table_name_66 (Id VARCHAR) [/INST] SELECT 2010 FROM table_name_66 WHERE 2011 = "grand slam tournaments" </s>
What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?
SELECT mens_open FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions defeated Hunter Hornets"
CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR)
<s>[INST] What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets? context: CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR) [/INST] SELECT mens_open FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions defeated Hunter Hornets" </s>
What is the lowest Year, when Venue is Rio De Janeiro, Brazil?
SELECT MIN(year) FROM table_name_42 WHERE venue = "rio de janeiro, brazil"
CREATE TABLE table_name_42 (year INTEGER, venue VARCHAR)
<s>[INST] What is the lowest Year, when Venue is Rio De Janeiro, Brazil? context: CREATE TABLE table_name_42 (year INTEGER, venue VARCHAR) [/INST] SELECT MIN(year) FROM table_name_42 WHERE venue = "rio de janeiro, brazil" </s>
What is the original title for the Korean language film?
SELECT original_title FROM table_name_24 WHERE language = "korean"
CREATE TABLE table_name_24 (original_title VARCHAR, language VARCHAR)
<s>[INST] What is the original title for the Korean language film? context: CREATE TABLE table_name_24 (original_title VARCHAR, language VARCHAR) [/INST] SELECT original_title FROM table_name_24 WHERE language = "korean" </s>
Who coached the team in the season with a 6-1 conference record?
SELECT coach FROM table_20319085_2 WHERE conference_record = "6-1"
CREATE TABLE table_20319085_2 (coach VARCHAR, conference_record VARCHAR)
<s>[INST] Who coached the team in the season with a 6-1 conference record? context: CREATE TABLE table_20319085_2 (coach VARCHAR, conference_record VARCHAR) [/INST] SELECT coach FROM table_20319085_2 WHERE conference_record = "6-1" </s>
When were there less than 1 point with a cosworth v8 engine in jolly club switzerland?
SELECT year FROM table_name_73 WHERE points < 1 AND engine = "cosworth v8" AND entrant = "jolly club switzerland"
CREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR)
<s>[INST] When were there less than 1 point with a cosworth v8 engine in jolly club switzerland? context: CREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR) [/INST] SELECT year FROM table_name_73 WHERE points < 1 AND engine = "cosworth v8" AND entrant = "jolly club switzerland" ...
What was the crowd size when Essendon was the home team?
SELECT crowd FROM table_name_98 WHERE home_team = "essendon"
CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR)
<s>[INST] What was the crowd size when Essendon was the home team? context: CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR) [/INST] SELECT crowd FROM table_name_98 WHERE home_team = "essendon" </s>
In what year did the winner of the FIS championship in 1982 win the Winter Olympics?
SELECT winter_olympics FROM table_174491_1 WHERE fis_nordic_world_ski_championships = "1982"
CREATE TABLE table_174491_1 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)
<s>[INST] In what year did the winner of the FIS championship in 1982 win the Winter Olympics? context: CREATE TABLE table_174491_1 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR) [/INST] SELECT winter_olympics FROM table_174491_1 WHERE fis_nordic_world_ski_championships = "1982" </s>
What is total number of show times per dat for each cinema?
SELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinema_id GROUP BY T1.cinema_id
CREATE TABLE schedule (show_times_per_day INTEGER, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR)
<s>[INST] What is total number of show times per dat for each cinema? context: CREATE TABLE schedule (show_times_per_day INTEGER, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR) [/INST] SELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinem...
Name the data with a percent gain of 28.4%
SELECT data FROM table_name_41 WHERE percent_gain = "28.4%"
CREATE TABLE table_name_41 (data VARCHAR, percent_gain VARCHAR)
<s>[INST] Name the data with a percent gain of 28.4% context: CREATE TABLE table_name_41 (data VARCHAR, percent_gain VARCHAR) [/INST] SELECT data FROM table_name_41 WHERE percent_gain = "28.4%" </s>
Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July?
SELECT winning_driver FROM table_name_55 WHERE winning_team = "engstler motorsport engstler motorsport" AND date = "22 july"
CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR)
<s>[INST] Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July? context: CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR) [/INST] SELECT winning_driver FROM table_name_55 WHERE winning_team = "engstler motorsport e...
What is the circuit held on 15 april?
SELECT circuit FROM table_name_49 WHERE date = "15 april"
CREATE TABLE table_name_49 (circuit VARCHAR, date VARCHAR)
<s>[INST] What is the circuit held on 15 april? context: CREATE TABLE table_name_49 (circuit VARCHAR, date VARCHAR) [/INST] SELECT circuit FROM table_name_49 WHERE date = "15 april" </s>
In what stadium were the New England Patriots the visiting team?
SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patriots"
CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR)
<s>[INST] In what stadium were the New England Patriots the visiting team? context: CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR) [/INST] SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patriots" </s>
What is the score for 17 April 2013?
SELECT score FROM table_name_33 WHERE date = "17 april 2013"
CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
<s>[INST] What is the score for 17 April 2013? context: CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR) [/INST] SELECT score FROM table_name_33 WHERE date = "17 april 2013" </s>
Who was the participant or recipient for the Best Female Actor?
SELECT participants_recipients FROM table_26282750_1 WHERE category = "Best Female Actor"
CREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR)
<s>[INST] Who was the participant or recipient for the Best Female Actor? context: CREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR) [/INST] SELECT participants_recipients FROM table_26282750_1 WHERE category = "Best Female Actor" </s>
When the crowd was greater than 19,498 who was the away team?
SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498
CREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER)
<s>[INST] When the crowd was greater than 19,498 who was the away team? context: CREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER) [/INST] SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498 </s>
Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200.
SELECT * FROM employees WHERE NOT department_id IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200)
CREATE TABLE departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER)
<s>[INST] Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200. context: CREATE TABLE departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER) [/INST] SELECT * FRO...
What was the latest year with a position of 1st at Maputo, Mozambique?
SELECT MAX(year) FROM table_name_60 WHERE position = "1st" AND venue = "maputo, mozambique"
CREATE TABLE table_name_60 (year INTEGER, position VARCHAR, venue VARCHAR)
<s>[INST] What was the latest year with a position of 1st at Maputo, Mozambique? context: CREATE TABLE table_name_60 (year INTEGER, position VARCHAR, venue VARCHAR) [/INST] SELECT MAX(year) FROM table_name_60 WHERE position = "1st" AND venue = "maputo, mozambique" </s>
What is the stepping for the processor released June 5, 2007?
SELECT stepping FROM table_name_25 WHERE release_date = "june 5, 2007"
CREATE TABLE table_name_25 (stepping VARCHAR, release_date VARCHAR)
<s>[INST] What is the stepping for the processor released June 5, 2007? context: CREATE TABLE table_name_25 (stepping VARCHAR, release_date VARCHAR) [/INST] SELECT stepping FROM table_name_25 WHERE release_date = "june 5, 2007" </s>
Who directed the episode that had 3.55 million viewers?
SELECT directed_by FROM table_29897962_1 WHERE us_viewers__million_ = "3.55"
CREATE TABLE table_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
<s>[INST] Who directed the episode that had 3.55 million viewers? context: CREATE TABLE table_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] SELECT directed_by FROM table_29897962_1 WHERE us_viewers__million_ = "3.55" </s>
What is the name of the athlete with a time of 30:48?
SELECT athlete FROM table_name_9 WHERE time = "30:48"
CREATE TABLE table_name_9 (athlete VARCHAR, time VARCHAR)
<s>[INST] What is the name of the athlete with a time of 30:48? context: CREATE TABLE table_name_9 (athlete VARCHAR, time VARCHAR) [/INST] SELECT athlete FROM table_name_9 WHERE time = "30:48" </s>
When 5th is the regular season what is the highest season?
SELECT MAX(division) FROM table_1939235_1 WHERE regular_season = "5th"
CREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR)
<s>[INST] When 5th is the regular season what is the highest season? context: CREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR) [/INST] SELECT MAX(division) FROM table_1939235_1 WHERE regular_season = "5th" </s>
Which Opponent had a Score of 6-3, 6-2?
SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2"
CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR)
<s>[INST] Which Opponent had a Score of 6-3, 6-2? context: CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR) [/INST] SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2" </s>
Who played as the away team when they played at Brunswick Street Oval?
SELECT away_team FROM table_name_73 WHERE venue = "brunswick street oval"
CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR)
<s>[INST] Who played as the away team when they played at Brunswick Street Oval? context: CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR) [/INST] SELECT away_team FROM table_name_73 WHERE venue = "brunswick street oval" </s>
How many games were on December 5?
SELECT SUM(game) FROM table_name_80 WHERE date = "december 5"
CREATE TABLE table_name_80 (game INTEGER, date VARCHAR)
<s>[INST] How many games were on December 5? context: CREATE TABLE table_name_80 (game INTEGER, date VARCHAR) [/INST] SELECT SUM(game) FROM table_name_80 WHERE date = "december 5" </s>
Who directed the eula goodnight movie after 1949?
SELECT director FROM table_name_97 WHERE year > 1949 AND role = "eula goodnight"
CREATE TABLE table_name_97 (director VARCHAR, year VARCHAR, role VARCHAR)
<s>[INST] Who directed the eula goodnight movie after 1949? context: CREATE TABLE table_name_97 (director VARCHAR, year VARCHAR, role VARCHAR) [/INST] SELECT director FROM table_name_97 WHERE year > 1949 AND role = "eula goodnight" </s>
What name has the role of midfielder for 1999-2003?
SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-2003"
CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR)
<s>[INST] What name has the role of midfielder for 1999-2003? context: CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR) [/INST] SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-2003" </s>
What was the total attendance at rugby park?
SELECT total FROM table_26980923_2 WHERE stadium = "Rugby Park"
CREATE TABLE table_26980923_2 (total VARCHAR, stadium VARCHAR)
<s>[INST] What was the total attendance at rugby park? context: CREATE TABLE table_26980923_2 (total VARCHAR, stadium VARCHAR) [/INST] SELECT total FROM table_26980923_2 WHERE stadium = "Rugby Park" </s>
Name the number of playoffs for semifinals
SELECT COUNT(playoffs) FROM table_245694_4 WHERE concacaf = "Semifinals"
CREATE TABLE table_245694_4 (playoffs VARCHAR, concacaf VARCHAR)
<s>[INST] Name the number of playoffs for semifinals context: CREATE TABLE table_245694_4 (playoffs VARCHAR, concacaf VARCHAR) [/INST] SELECT COUNT(playoffs) FROM table_245694_4 WHERE concacaf = "Semifinals" </s>
What consoles was Shenmue released on?
SELECT console FROM table_12887260_1 WHERE franchise_or_game = "Shenmue"
CREATE TABLE table_12887260_1 (console VARCHAR, franchise_or_game VARCHAR)
<s>[INST] What consoles was Shenmue released on? context: CREATE TABLE table_12887260_1 (console VARCHAR, franchise_or_game VARCHAR) [/INST] SELECT console FROM table_12887260_1 WHERE franchise_or_game = "Shenmue" </s>
When the crowd was larger than 20,915 what did the Away team score?
SELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915
CREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER)
<s>[INST] When the crowd was larger than 20,915 what did the Away team score? context: CREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER) [/INST] SELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915 </s>
What's the volume:issue of Sheryl Crow with 3 weeks on top?
SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow"
CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
<s>[INST] What's the volume:issue of Sheryl Crow with 3 weeks on top? context: CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) [/INST] SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow" </s>
How many points did Newport RFC get?
SELECT points FROM table_name_58 WHERE club = "newport rfc"
CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR)
<s>[INST] How many points did Newport RFC get? context: CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR) [/INST] SELECT points FROM table_name_58 WHERE club = "newport rfc" </s>
What is Deutsche Telekom's accreditation type?
SELECT accreditation_type FROM table_name_88 WHERE network_brand_name = "deutsche telekom"
CREATE TABLE table_name_88 (accreditation_type VARCHAR, network_brand_name VARCHAR)
<s>[INST] What is Deutsche Telekom's accreditation type? context: CREATE TABLE table_name_88 (accreditation_type VARCHAR, network_brand_name VARCHAR) [/INST] SELECT accreditation_type FROM table_name_88 WHERE network_brand_name = "deutsche telekom" </s>
Name the tongyong for chinese of 湖內區
SELECT tongyong FROM table_17015_2 WHERE chinese = "湖內區"
CREATE TABLE table_17015_2 (tongyong VARCHAR, chinese VARCHAR)
<s>[INST] Name the tongyong for chinese of 湖內區 context: CREATE TABLE table_17015_2 (tongyong VARCHAR, chinese VARCHAR) [/INST] SELECT tongyong FROM table_17015_2 WHERE chinese = "湖內區" </s>
How many distinct birth places are there?
SELECT COUNT(DISTINCT Birth_Place) FROM people
CREATE TABLE people (Birth_Place VARCHAR)
<s>[INST] How many distinct birth places are there? context: CREATE TABLE people (Birth_Place VARCHAR) [/INST] SELECT COUNT(DISTINCT Birth_Place) FROM people </s>
What is the average week of a game on November 12, 1989?
SELECT AVG(week) FROM table_name_26 WHERE date = "november 12, 1989"
CREATE TABLE table_name_26 (week INTEGER, date VARCHAR)
<s>[INST] What is the average week of a game on November 12, 1989? context: CREATE TABLE table_name_26 (week INTEGER, date VARCHAR) [/INST] SELECT AVG(week) FROM table_name_26 WHERE date = "november 12, 1989" </s>
What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"?
SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 9"
CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR)
<s>[INST] What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"? context: CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR) [/INST] SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 9" </s>
What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme?
SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002
CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR)
<s>[INST] What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme? context: CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR) [/INST] SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002 </s>
Who was Melbourne's home team opponent?
SELECT home_team FROM table_name_90 WHERE away_team = "melbourne"
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
<s>[INST] Who was Melbourne's home team opponent? context: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) [/INST] SELECT home_team FROM table_name_90 WHERE away_team = "melbourne" </s>
In the Year Yugoslavia won 1 Silver, how many Gold medals did they win?
SELECT gold FROM table_name_14 WHERE silver = "1"
CREATE TABLE table_name_14 (gold VARCHAR, silver VARCHAR)
<s>[INST] In the Year Yugoslavia won 1 Silver, how many Gold medals did they win? context: CREATE TABLE table_name_14 (gold VARCHAR, silver VARCHAR) [/INST] SELECT gold FROM table_name_14 WHERE silver = "1" </s>
How many rounds have an Overall larger than 17, and a Position of quarterback?
SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = "quarterback"
CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR)
<s>[INST] How many rounds have an Overall larger than 17, and a Position of quarterback? context: CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR) [/INST] SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = "quarterback" </s>
What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America?
SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = "2011" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142
CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR)
<s>[INST] What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America? context: CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR) [/INST] SELECT world_ranking__...
What college had the 93 pick?
SELECT college FROM table_name_50 WHERE pick = 93
CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR)
<s>[INST] What college had the 93 pick? context: CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR) [/INST] SELECT college FROM table_name_50 WHERE pick = 93 </s>
What is every value when Mitchell is 676?
SELECT value FROM table_1818471_1 WHERE mitchell = 676
CREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR)
<s>[INST] What is every value when Mitchell is 676? context: CREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR) [/INST] SELECT value FROM table_1818471_1 WHERE mitchell = 676 </s>
Which ship has a Pennant number of h.69?
SELECT ship FROM table_name_43 WHERE pennant_number = "h.69"
CREATE TABLE table_name_43 (ship VARCHAR, pennant_number VARCHAR)
<s>[INST] Which ship has a Pennant number of h.69? context: CREATE TABLE table_name_43 (ship VARCHAR, pennant_number VARCHAR) [/INST] SELECT ship FROM table_name_43 WHERE pennant_number = "h.69" </s>
What was the home team's score when they played at Lake Oval?
SELECT home_team AS score FROM table_name_96 WHERE venue = "lake oval"
CREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR)
<s>[INST] What was the home team's score when they played at Lake Oval? context: CREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR) [/INST] SELECT home_team AS score FROM table_name_96 WHERE venue = "lake oval" </s>
What college has a pick smaller than 87 for the position of tackle?
SELECT college FROM table_name_73 WHERE position = "tackle" AND pick < 87
CREATE TABLE table_name_73 (college VARCHAR, position VARCHAR, pick VARCHAR)
<s>[INST] What college has a pick smaller than 87 for the position of tackle? context: CREATE TABLE table_name_73 (college VARCHAR, position VARCHAR, pick VARCHAR) [/INST] SELECT college FROM table_name_73 WHERE position = "tackle" AND pick < 87 </s>
Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?
SELECT pole_position FROM table_29690363_3 WHERE most_laps_led = "Esteban Guerrieri" AND fastest_lap = "Josef Newgarden" AND rd = "8A"
CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR)
<s>[INST] Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap? context: CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR) [/INST] SELECT pole_position FROM table_29690363_3 WHERE most_laps_led = "Esteb...
What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?
SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop" AND T2.staff_last_name = "Berge" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Ashley"...
CREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR)
<s>[INST] What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst? context: CREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR) [/IN...
When was Quantum Research's poll conducted?
SELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = "Quantum Research"
CREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR)
<s>[INST] When was Quantum Research's poll conducted? context: CREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR) [/INST] SELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = "Quantum Research" </s>
What is the height for shanghai x-1 financial building?
SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial building"
CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR)
<s>[INST] What is the height for shanghai x-1 financial building? context: CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR) [/INST] SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial building" </s>
Name the least series number
SELECT MIN(series_no) FROM table_2430014_9
CREATE TABLE table_2430014_9 (series_no INTEGER)
<s>[INST] Name the least series number context: CREATE TABLE table_2430014_9 (series_no INTEGER) [/INST] SELECT MIN(series_no) FROM table_2430014_9 </s>
What was the course called that had an Edition of 117th?
SELECT course FROM table_name_68 WHERE edition = "117th"
CREATE TABLE table_name_68 (course VARCHAR, edition VARCHAR)
<s>[INST] What was the course called that had an Edition of 117th? context: CREATE TABLE table_name_68 (course VARCHAR, edition VARCHAR) [/INST] SELECT course FROM table_name_68 WHERE edition = "117th" </s>
What was the tie no when Watford was the away team?
SELECT tie_no FROM table_name_62 WHERE away_team = "watford"
CREATE TABLE table_name_62 (tie_no VARCHAR, away_team VARCHAR)
<s>[INST] What was the tie no when Watford was the away team? context: CREATE TABLE table_name_62 (tie_no VARCHAR, away_team VARCHAR) [/INST] SELECT tie_no FROM table_name_62 WHERE away_team = "watford" </s>
List the number of shows that had 12.04 million viewers in the united states
SELECT COUNT(title) FROM table_22904780_1 WHERE us_viewers__million_ = "12.04"
CREATE TABLE table_22904780_1 (title VARCHAR, us_viewers__million_ VARCHAR)
<s>[INST] List the number of shows that had 12.04 million viewers in the united states context: CREATE TABLE table_22904780_1 (title VARCHAR, us_viewers__million_ VARCHAR) [/INST] SELECT COUNT(title) FROM table_22904780_1 WHERE us_viewers__million_ = "12.04" </s>
Show the student IDs and numbers of friends corresponding to each.
SELECT student_id, COUNT(*) FROM Friend GROUP BY student_id
CREATE TABLE Friend (student_id VARCHAR)
<s>[INST] Show the student IDs and numbers of friends corresponding to each. context: CREATE TABLE Friend (student_id VARCHAR) [/INST] SELECT student_id, COUNT(*) FROM Friend GROUP BY student_id </s>
What is Peter Gregg Hurley Haywood's results?
SELECT results FROM table_13657749_2 WHERE gto_winning_team = "Peter Gregg Hurley Haywood"
CREATE TABLE table_13657749_2 (results VARCHAR, gto_winning_team VARCHAR)
<s>[INST] What is Peter Gregg Hurley Haywood's results? context: CREATE TABLE table_13657749_2 (results VARCHAR, gto_winning_team VARCHAR) [/INST] SELECT results FROM table_13657749_2 WHERE gto_winning_team = "Peter Gregg Hurley Haywood" </s>
Name the result for 2000 afc asian cup qualification
SELECT result FROM table_name_14 WHERE competition = "2000 afc asian cup qualification"
CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR)
<s>[INST] Name the result for 2000 afc asian cup qualification context: CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR) [/INST] SELECT result FROM table_name_14 WHERE competition = "2000 afc asian cup qualification" </s>
WHICH Regular Season has a League of npsl, and a Year of 2008?
SELECT regular_season FROM table_name_64 WHERE league = "npsl" AND year = "2008"
CREATE TABLE table_name_64 (regular_season VARCHAR, league VARCHAR, year VARCHAR)
<s>[INST] WHICH Regular Season has a League of npsl, and a Year of 2008? context: CREATE TABLE table_name_64 (regular_season VARCHAR, league VARCHAR, year VARCHAR) [/INST] SELECT regular_season FROM table_name_64 WHERE league = "npsl" AND year = "2008" </s>
In which game did the opponents score 14 points?
SELECT game FROM table_name_41 WHERE opponents = "14"
CREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR)
<s>[INST] In which game did the opponents score 14 points? context: CREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR) [/INST] SELECT game FROM table_name_41 WHERE opponents = "14" </s>
Name the opponent with a record of 60-61
SELECT opponent FROM table_name_35 WHERE record = "60-61"
CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR)
<s>[INST] Name the opponent with a record of 60-61 context: CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR) [/INST] SELECT opponent FROM table_name_35 WHERE record = "60-61" </s>