context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_67 (score VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT score FROM table_name_67 WHERE to_par = "+1" AND country = "sweden" | Which Score has a To par of +1 in sweden? | <s>[INST]Which Score has a To par of +1 in sweden? Context: CREATE TABLE table_name_67 (score VARCHAR, to_par VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_67 WHERE to_par = "+1" AND country = "sweden"</s> |
CREATE TABLE table_name_67 (won__pg_ VARCHAR, goals_conceded__gc_ VARCHAR, goals_scored__gf_ VARCHAR) | SELECT COUNT(won__pg_) FROM table_name_67 WHERE goals_conceded__gc_ = 64 AND goals_scored__gf_ > 33 | What is the total number of pg won of the team with 64 goals conceded and more than 33 goals scored? | <s>[INST]What is the total number of pg won of the team with 64 goals conceded and more than 33 goals scored? Context: CREATE TABLE table_name_67 (won__pg_ VARCHAR, goals_conceded__gc_ VARCHAR, goals_scored__gf_ VARCHAR)[/INST]SELECT COUNT(won__pg_) FROM table_name_67 WHERE goals_conceded__gc_ = 64 AND goals_scored__gf_ > 33</s> |
CREATE TABLE table_name_42 (player VARCHAR, pens VARCHAR, start VARCHAR) | SELECT player FROM table_name_42 WHERE pens = "0" AND start = "12" | Which Player has 0 Pens and 12 Starts? | <s>[INST]Which Player has 0 Pens and 12 Starts? Context: CREATE TABLE table_name_42 (player VARCHAR, pens VARCHAR, start VARCHAR)[/INST]SELECT player FROM table_name_42 WHERE pens = "0" AND start = "12"</s> |
CREATE TABLE table_name_48 (tournament VARCHAR) | SELECT tournament FROM table_name_48 WHERE 2001 = "1r" | What is Tournament, when 2001 is "1R"? | <s>[INST]What is Tournament, when 2001 is "1R"? Context: CREATE TABLE table_name_48 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_48 WHERE 2001 = "1r"</s> |
CREATE TABLE visitor (name VARCHAR, Level_of_membership INTEGER, age VARCHAR) | SELECT name, Level_of_membership FROM visitor WHERE Level_of_membership > 4 ORDER BY age DESC | Find the name and membership level of the visitors whose membership level is higher than 4, and sort by their age from old to young. | <s>[INST]Find the name and membership level of the visitors whose membership level is higher than 4, and sort by their age from old to young. Context: CREATE TABLE visitor (name VARCHAR, Level_of_membership INTEGER, age VARCHAR)[/INST]SELECT name, Level_of_membership FROM visitor WHERE Level_of_membership > 4 ORDER BY age DESC</s> |
CREATE TABLE table_20350118_1 (obama_number VARCHAR, obama_percentage VARCHAR) | SELECT COUNT(obama_number) FROM table_20350118_1 WHERE obama_percentage = "27.8%" | How many different results were there for the number of votes fro Obama in the county where he got 27.8% of the votes? | <s>[INST]How many different results were there for the number of votes fro Obama in the county where he got 27.8% of the votes? Context: CREATE TABLE table_20350118_1 (obama_number VARCHAR, obama_percentage VARCHAR)[/INST]SELECT COUNT(obama_number) FROM table_20350118_1 WHERE obama_percentage = "27.8%"</s> |
CREATE TABLE table_name_64 (attendance VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_64 WHERE record = "26-35" | What was the attendance at the ballpark during the game where the Blue Jays had a record of 26-35 during the 1996 season? | <s>[INST]What was the attendance at the ballpark during the game where the Blue Jays had a record of 26-35 during the 1996 season? Context: CREATE TABLE table_name_64 (attendance VARCHAR, record VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_64 WHERE record = "26-35"</s> |
CREATE TABLE table_name_31 (rank VARCHAR, laps VARCHAR, year VARCHAR) | SELECT rank FROM table_name_31 WHERE laps < 130 AND year = "1951" | Name the rank for laps less than 130 and year of 1951 | <s>[INST]Name the rank for laps less than 130 and year of 1951 Context: CREATE TABLE table_name_31 (rank VARCHAR, laps VARCHAR, year VARCHAR)[/INST]SELECT rank FROM table_name_31 WHERE laps < 130 AND year = "1951"</s> |
CREATE TABLE table_23916462_3 (week INTEGER) | SELECT MIN(week) FROM table_23916462_3 | What is the least value for week? | <s>[INST]What is the least value for week? Context: CREATE TABLE table_23916462_3 (week INTEGER)[/INST]SELECT MIN(week) FROM table_23916462_3</s> |
CREATE TABLE table_name_1 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_name_1 WHERE margin_of_victory = "1 stroke" AND winning_score = "69-75-71-70" | What tournament had a victory of a 1 stroke margin and the final winning score 69-75-71-70? | <s>[INST]What tournament had a victory of a 1 stroke margin and the final winning score 69-75-71-70? Context: CREATE TABLE table_name_1 (tournament VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_name_1 WHERE margin_of_victory = "1 stroke" AND winning_score = "69-75-71-70"</s> |
CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR, IsOfficial VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR) | SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" AND T2.IsOfficial = "T" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "French" AND T2.IsOfficial = "T" | What are the names of nations where both English and French are official languages? | <s>[INST]What are the names of nations where both English and French are official languages? Context: CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR, IsOfficial VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR)[/INST]SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" AND T2.IsOfficial = "T" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "French" AND T2.IsOfficial = "T"</s> |
CREATE TABLE table_name_3 (season INTEGER, wins VARCHAR, position VARCHAR) | SELECT MAX(season) FROM table_name_3 WHERE wins = 1 AND position = "8th" | What is the highest season wth a Win of 1 and a Position that is 8th? | <s>[INST]What is the highest season wth a Win of 1 and a Position that is 8th? Context: CREATE TABLE table_name_3 (season INTEGER, wins VARCHAR, position VARCHAR)[/INST]SELECT MAX(season) FROM table_name_3 WHERE wins = 1 AND position = "8th"</s> |
CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR) | SELECT T4.dept_name FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code GROUP BY T3.dept_code ORDER BY COUNT(*) DESC LIMIT 1 | What is the name of the department that has the largest number of students enrolled? | <s>[INST]What is the name of the department that has the largest number of students enrolled? Context: CREATE TABLE enroll (class_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE course (dept_code VARCHAR, crs_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)[/INST]SELECT T4.dept_name FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code GROUP BY T3.dept_code ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_44 (year INTEGER, award_description_s_ VARCHAR) | SELECT AVG(year) FROM table_name_44 WHERE award_description_s_ = "platinum" | What is the average year with an award of platinum? | <s>[INST]What is the average year with an award of platinum? Context: CREATE TABLE table_name_44 (year INTEGER, award_description_s_ VARCHAR)[/INST]SELECT AVG(year) FROM table_name_44 WHERE award_description_s_ = "platinum"</s> |
CREATE TABLE table_name_25 (coverage_area VARCHAR, city_of_license VARCHAR) | SELECT coverage_area FROM table_name_25 WHERE city_of_license = "hillsboro, west virginia" | Name the coverage area for licesne of hillsboro, west virginia | <s>[INST]Name the coverage area for licesne of hillsboro, west virginia Context: CREATE TABLE table_name_25 (coverage_area VARCHAR, city_of_license VARCHAR)[/INST]SELECT coverage_area FROM table_name_25 WHERE city_of_license = "hillsboro, west virginia"</s> |
CREATE TABLE table_name_31 (round INTEGER, school_club_team VARCHAR) | SELECT MIN(round) FROM table_name_31 WHERE school_club_team = "southern mississippi" | Where's the first round that southern mississippi shows up during the draft? | <s>[INST]Where's the first round that southern mississippi shows up during the draft? Context: CREATE TABLE table_name_31 (round INTEGER, school_club_team VARCHAR)[/INST]SELECT MIN(round) FROM table_name_31 WHERE school_club_team = "southern mississippi"</s> |
CREATE TABLE table_name_98 (nationality VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_98 WHERE time = "2:07.64" | What Nationality's time is 2:07.64? | <s>[INST]What Nationality's time is 2:07.64? Context: CREATE TABLE table_name_98 (nationality VARCHAR, time VARCHAR)[/INST]SELECT nationality FROM table_name_98 WHERE time = "2:07.64"</s> |
CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR) | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID = T3.Tourist_ID WHERE T3.Tourist_Details = "Vincent" | Which tourist attractions does the visitor with detail 'Vincent' visit? | <s>[INST]Which tourist attractions does the visitor with detail 'Vincent' visit? Context: CREATE TABLE VISITS (Tourist_Attraction_ID VARCHAR, Tourist_ID VARCHAR); CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE Tourist_Attractions (Name VARCHAR, Tourist_Attraction_ID VARCHAR)[/INST]SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID = T3.Tourist_ID WHERE T3.Tourist_Details = "Vincent"</s> |
CREATE TABLE table_name_29 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR) | SELECT winning_score FROM table_name_29 WHERE margin_of_victory = "5 strokes" AND date = "6 sep 2009" | What was the Winning score when the Margin of victory is 5 strokes and the Date was 6 Sep 2009? | <s>[INST]What was the Winning score when the Margin of victory is 5 strokes and the Date was 6 Sep 2009? Context: CREATE TABLE table_name_29 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT winning_score FROM table_name_29 WHERE margin_of_victory = "5 strokes" AND date = "6 sep 2009"</s> |
CREATE TABLE table_10722506_6 (record VARCHAR, round_of_32 VARCHAR, conference VARCHAR) | SELECT record FROM table_10722506_6 WHERE round_of_32 = 0 AND conference = "Metro Atlantic" | What is the record when round of 32 is 0 and metro atlantic conference? | <s>[INST]What is the record when round of 32 is 0 and metro atlantic conference? Context: CREATE TABLE table_10722506_6 (record VARCHAR, round_of_32 VARCHAR, conference VARCHAR)[/INST]SELECT record FROM table_10722506_6 WHERE round_of_32 = 0 AND conference = "Metro Atlantic"</s> |
CREATE TABLE table_name_61 (name VARCHAR, developer VARCHAR, personal_sites VARCHAR) | SELECT name FROM table_name_61 WHERE developer = "yes" AND personal_sites = "no" | What is the name of the entry that has a developer entry of Yes and a personal sites entry of No? | <s>[INST]What is the name of the entry that has a developer entry of Yes and a personal sites entry of No? Context: CREATE TABLE table_name_61 (name VARCHAR, developer VARCHAR, personal_sites VARCHAR)[/INST]SELECT name FROM table_name_61 WHERE developer = "yes" AND personal_sites = "no"</s> |
CREATE TABLE table_name_50 (draw VARCHAR, points VARCHAR) | SELECT COUNT(draw) FROM table_name_50 WHERE points = 98 | When the points are 98 what is the draw? | <s>[INST]When the points are 98 what is the draw? Context: CREATE TABLE table_name_50 (draw VARCHAR, points VARCHAR)[/INST]SELECT COUNT(draw) FROM table_name_50 WHERE points = 98</s> |
CREATE TABLE table_name_56 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) | SELECT name FROM table_name_56 WHERE district = "nagpur" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "59" | What is the name for Nagpur district, with a reserved for ( SC / ST /None) of none, and a Constituency number of 59? | <s>[INST]What is the name for Nagpur district, with a reserved for ( SC / ST /None) of none, and a Constituency number of 59? Context: CREATE TABLE table_name_56 (name VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR)[/INST]SELECT name FROM table_name_56 WHERE district = "nagpur" AND reserved_for___sc___st__none_ = "none" AND constituency_number = "59"</s> |
CREATE TABLE table_25839957_5 (core_clock___mhz__ VARCHAR, memory_bandwidth___gb_s__ VARCHAR) | SELECT core_clock___mhz__ FROM table_25839957_5 WHERE memory_bandwidth___gb_s__ = "21.3" | What core clocks ( mhz ) have a 21.3 memory bandwidth ( gb/s )? | <s>[INST]What core clocks ( mhz ) have a 21.3 memory bandwidth ( gb/s )? Context: CREATE TABLE table_25839957_5 (core_clock___mhz__ VARCHAR, memory_bandwidth___gb_s__ VARCHAR)[/INST]SELECT core_clock___mhz__ FROM table_25839957_5 WHERE memory_bandwidth___gb_s__ = "21.3"</s> |
CREATE TABLE table_14523485_9 (host VARCHAR, channel VARCHAR) | SELECT COUNT(host) FROM table_14523485_9 WHERE channel = "Seven Network" | How many hosts were on Seven Network? | <s>[INST]How many hosts were on Seven Network? Context: CREATE TABLE table_14523485_9 (host VARCHAR, channel VARCHAR)[/INST]SELECT COUNT(host) FROM table_14523485_9 WHERE channel = "Seven Network"</s> |
CREATE TABLE table_name_23 (venue VARCHAR, year INTEGER) | SELECT venue FROM table_name_23 WHERE year < 1991 | What is the name of the venue that was used before 1991? | <s>[INST]What is the name of the venue that was used before 1991? Context: CREATE TABLE table_name_23 (venue VARCHAR, year INTEGER)[/INST]SELECT venue FROM table_name_23 WHERE year < 1991</s> |
CREATE TABLE table_name_35 (incumbent VARCHAR, result VARCHAR) | SELECT incumbent FROM table_name_35 WHERE result = "retired democratic gain" | Which Incumbent has a Result of retired democratic gain? | <s>[INST]Which Incumbent has a Result of retired democratic gain? Context: CREATE TABLE table_name_35 (incumbent VARCHAR, result VARCHAR)[/INST]SELECT incumbent FROM table_name_35 WHERE result = "retired democratic gain"</s> |
CREATE TABLE table_11111116_8 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_11111116_8 WHERE us_viewers__million_ = "2.12" | Who wrote the episodes that were viewed by 2.12 million viewers? | <s>[INST]Who wrote the episodes that were viewed by 2.12 million viewers? Context: CREATE TABLE table_11111116_8 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_11111116_8 WHERE us_viewers__million_ = "2.12"</s> |
CREATE TABLE table_name_87 (games INTEGER, goal_ratio VARCHAR, goals VARCHAR) | SELECT MIN(games) FROM table_name_87 WHERE goal_ratio = 0 AND goals < 0 | What lowest games have a Goal Ratio of 0, and Goals smaller than 0? | <s>[INST]What lowest games have a Goal Ratio of 0, and Goals smaller than 0? Context: CREATE TABLE table_name_87 (games INTEGER, goal_ratio VARCHAR, goals VARCHAR)[/INST]SELECT MIN(games) FROM table_name_87 WHERE goal_ratio = 0 AND goals < 0</s> |
CREATE TABLE table_name_98 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR) | SELECT club_team FROM table_name_98 WHERE nationality = "united states" AND overall < 142 | What club team is the United States player with an overall pick smaller than 142 from? | <s>[INST]What club team is the United States player with an overall pick smaller than 142 from? Context: CREATE TABLE table_name_98 (club_team VARCHAR, nationality VARCHAR, overall VARCHAR)[/INST]SELECT club_team FROM table_name_98 WHERE nationality = "united states" AND overall < 142</s> |
CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR) | SELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.59 AND rank > 39 AND assets__bn$_ > 27.46 | Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39? | <s>[INST]Which company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39? Context: CREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR)[/INST]SELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.59 AND rank > 39 AND assets__bn$_ > 27.46</s> |
CREATE TABLE table_name_30 (nationality VARCHAR, years_for_jazz VARCHAR) | SELECT nationality FROM table_name_30 WHERE years_for_jazz = "1977-79" | What is the nationality of the Jazz player 1977-79? | <s>[INST]What is the nationality of the Jazz player 1977-79? Context: CREATE TABLE table_name_30 (nationality VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT nationality FROM table_name_30 WHERE years_for_jazz = "1977-79"</s> |
CREATE TABLE table_name_52 (rank INTEGER, wins VARCHAR, events VARCHAR) | SELECT SUM(rank) FROM table_name_52 WHERE wins = 5 AND events < 32 | What is the rank for the player with 5 wins and under 32 events? | <s>[INST]What is the rank for the player with 5 wins and under 32 events? Context: CREATE TABLE table_name_52 (rank INTEGER, wins VARCHAR, events VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_52 WHERE wins = 5 AND events < 32</s> |
CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_37 WHERE date = "october 31" | What is Record, when Date is October 31? | <s>[INST]What is Record, when Date is October 31? Context: CREATE TABLE table_name_37 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_37 WHERE date = "october 31"</s> |
CREATE TABLE table_name_91 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_91 WHERE date = "december 6" | What is the average game that has December 6 as the date? | <s>[INST]What is the average game that has December 6 as the date? Context: CREATE TABLE table_name_91 (game INTEGER, date VARCHAR)[/INST]SELECT AVG(game) FROM table_name_91 WHERE date = "december 6"</s> |
CREATE TABLE table_name_16 (cfl_team VARCHAR, player VARCHAR) | SELECT cfl_team FROM table_name_16 WHERE player = "jeff brown" | What CFL team does Jeff brown play for? | <s>[INST]What CFL team does Jeff brown play for? Context: CREATE TABLE table_name_16 (cfl_team VARCHAR, player VARCHAR)[/INST]SELECT cfl_team FROM table_name_16 WHERE player = "jeff brown"</s> |
CREATE TABLE table_17102076_7 (score VARCHAR, game VARCHAR) | SELECT score FROM table_17102076_7 WHERE game = 35 | What was the score of game 35? | <s>[INST]What was the score of game 35? Context: CREATE TABLE table_17102076_7 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_17102076_7 WHERE game = 35</s> |
CREATE TABLE table_name_98 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_name_98 WHERE player = "terry mills" | Where is Terry Mills from? | <s>[INST]Where is Terry Mills from? Context: CREATE TABLE table_name_98 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_name_98 WHERE player = "terry mills"</s> |
CREATE TABLE table_name_32 (round INTEGER, time VARCHAR, event VARCHAR) | SELECT AVG(round) FROM table_name_32 WHERE time = "5:00" AND event = "ufc 78" | At the UFC 78, what is the average round when the time is 5:00? | <s>[INST]At the UFC 78, what is the average round when the time is 5:00? Context: CREATE TABLE table_name_32 (round INTEGER, time VARCHAR, event VARCHAR)[/INST]SELECT AVG(round) FROM table_name_32 WHERE time = "5:00" AND event = "ufc 78"</s> |
CREATE TABLE table_name_31 (title VARCHAR, year VARCHAR, platform VARCHAR) | SELECT title FROM table_name_31 WHERE year < 2008 AND platform = "xbox 360" | Which title has a year prior to 2008 and xbox 360 as the platform? | <s>[INST]Which title has a year prior to 2008 and xbox 360 as the platform? Context: CREATE TABLE table_name_31 (title VARCHAR, year VARCHAR, platform VARCHAR)[/INST]SELECT title FROM table_name_31 WHERE year < 2008 AND platform = "xbox 360"</s> |
CREATE TABLE film (Studio VARCHAR, Director VARCHAR) | SELECT Studio FROM film WHERE Director = "Nicholas Meyer" INTERSECT SELECT Studio FROM film WHERE Director = "Walter Hill" | Show the studios that have produced films with director "Nicholas Meyer" and "Walter Hill". | <s>[INST]Show the studios that have produced films with director "Nicholas Meyer" and "Walter Hill". Context: CREATE TABLE film (Studio VARCHAR, Director VARCHAR)[/INST]SELECT Studio FROM film WHERE Director = "Nicholas Meyer" INTERSECT SELECT Studio FROM film WHERE Director = "Walter Hill"</s> |
CREATE TABLE table_name_86 (overall VARCHAR, school_club_team VARCHAR, round VARCHAR) | SELECT COUNT(overall) FROM table_name_86 WHERE school_club_team = "arizona" AND round > 11 | How many times was Arizona the team and the round was bigger than 11? | <s>[INST]How many times was Arizona the team and the round was bigger than 11? Context: CREATE TABLE table_name_86 (overall VARCHAR, school_club_team VARCHAR, round VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_86 WHERE school_club_team = "arizona" AND round > 11</s> |
CREATE TABLE table_name_75 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_75 WHERE country = "united states" AND place = "t4" AND score = 71 - 68 = 139 | What is To Par, when Country is "United States", when Place is "T4", and when Score is "71-68=139"? | <s>[INST]What is To Par, when Country is "United States", when Place is "T4", and when Score is "71-68=139"? Context: CREATE TABLE table_name_75 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_75 WHERE country = "united states" AND place = "t4" AND score = 71 - 68 = 139</s> |
CREATE TABLE table_12032893_1 (year VARCHAR, weight VARCHAR) | SELECT year FROM table_12032893_1 WHERE weight = 170 | In which year was the Weight 170? | <s>[INST]In which year was the Weight 170? Context: CREATE TABLE table_12032893_1 (year VARCHAR, weight VARCHAR)[/INST]SELECT year FROM table_12032893_1 WHERE weight = 170</s> |
CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_25 WHERE record = "60-56" | On what date was the Blue Jays record 60-56? | <s>[INST]On what date was the Blue Jays record 60-56? Context: CREATE TABLE table_name_25 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE record = "60-56"</s> |
CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR) | SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium" | What was the final score of the game at Texas Stadium? | <s>[INST]What was the final score of the game at Texas Stadium? Context: CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR)[/INST]SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium"</s> |
CREATE TABLE table_name_2 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_2 WHERE away_team = "carlton" | Where did the away team Carlton play? | <s>[INST]Where did the away team Carlton play? Context: CREATE TABLE table_name_2 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_2 WHERE away_team = "carlton"</s> |
CREATE TABLE table_name_68 (attendance INTEGER, loss VARCHAR) | SELECT MAX(attendance) FROM table_name_68 WHERE loss = "k. gross (1-1)" | How many attended the game that was a Loss of k. gross (1-1)? | <s>[INST]How many attended the game that was a Loss of k. gross (1-1)? Context: CREATE TABLE table_name_68 (attendance INTEGER, loss VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_68 WHERE loss = "k. gross (1-1)"</s> |
CREATE TABLE table_name_43 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_43 WHERE venue = "punt road oval" | What is the away team that plays at Punt Road Oval? | <s>[INST]What is the away team that plays at Punt Road Oval? Context: CREATE TABLE table_name_43 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_43 WHERE venue = "punt road oval"</s> |
CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_60 WHERE home = "etobicoke kangaroos" | What is the Score with a Hoe that is etobicoke kangaroos? | <s>[INST]What is the Score with a Hoe that is etobicoke kangaroos? Context: CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR)[/INST]SELECT score FROM table_name_60 WHERE home = "etobicoke kangaroos"</s> |
CREATE TABLE table_name_91 (worst_dancer_s_ VARCHAR, dance VARCHAR) | SELECT worst_dancer_s_ FROM table_name_91 WHERE dance = "jive" | What's the worst dance of jive dancer(s)? | <s>[INST]What's the worst dance of jive dancer(s)? Context: CREATE TABLE table_name_91 (worst_dancer_s_ VARCHAR, dance VARCHAR)[/INST]SELECT worst_dancer_s_ FROM table_name_91 WHERE dance = "jive"</s> |
CREATE TABLE table_name_68 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_68 WHERE loss = "ruthven (1-4)" | What was the Score when the Loss was ruthven (1-4)? | <s>[INST]What was the Score when the Loss was ruthven (1-4)? Context: CREATE TABLE table_name_68 (score VARCHAR, loss VARCHAR)[/INST]SELECT score FROM table_name_68 WHERE loss = "ruthven (1-4)"</s> |
CREATE TABLE table_name_19 (nfl_team VARCHAR, position VARCHAR) | SELECT nfl_team FROM table_name_19 WHERE position = "wide receiver" | Which NFL team picked a player for the Wide Receiver position? | <s>[INST]Which NFL team picked a player for the Wide Receiver position? Context: CREATE TABLE table_name_19 (nfl_team VARCHAR, position VARCHAR)[/INST]SELECT nfl_team FROM table_name_19 WHERE position = "wide receiver"</s> |
CREATE TABLE table_2076557_2 (founded VARCHAR, location_s_ VARCHAR) | SELECT COUNT(founded) FROM table_2076557_2 WHERE location_s_ = "Yankton" | Name the total number of founded for yankton | <s>[INST]Name the total number of founded for yankton Context: CREATE TABLE table_2076557_2 (founded VARCHAR, location_s_ VARCHAR)[/INST]SELECT COUNT(founded) FROM table_2076557_2 WHERE location_s_ = "Yankton"</s> |
CREATE TABLE table_19542477_9 (song_s__—_weeks VARCHAR, artist_s_ VARCHAR) | SELECT song_s__—_weeks FROM table_19542477_9 WHERE artist_s_ = "One Direction" | What is the title of every song, and how many weeks was each song at #1 for One Direction? | <s>[INST]What is the title of every song, and how many weeks was each song at #1 for One Direction? Context: CREATE TABLE table_19542477_9 (song_s__—_weeks VARCHAR, artist_s_ VARCHAR)[/INST]SELECT song_s__—_weeks FROM table_19542477_9 WHERE artist_s_ = "One Direction"</s> |
CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR) | SELECT date FROM table_name_60 WHERE countries_surveyed < 122 AND _percentage_rank = "47" | Date for less than 122 countries and a 47% rank? | <s>[INST]Date for less than 122 countries and a 47% rank? Context: CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE countries_surveyed < 122 AND _percentage_rank = "47"</s> |
CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, cpu_type VARCHAR) | SELECT no_of_processors FROM table_27765443_2 WHERE cpu_type = "NEC SX-4 vector processor" | Name the number of processors for nec sx-4 vector processor | <s>[INST]Name the number of processors for nec sx-4 vector processor Context: CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, cpu_type VARCHAR)[/INST]SELECT no_of_processors FROM table_27765443_2 WHERE cpu_type = "NEC SX-4 vector processor"</s> |
CREATE TABLE table_name_98 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_98 WHERE home = "mavericks" | What is the date of the game when the Mavericks were the home team? | <s>[INST]What is the date of the game when the Mavericks were the home team? Context: CREATE TABLE table_name_98 (date VARCHAR, home VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE home = "mavericks"</s> |
CREATE TABLE table_name_63 (date VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_63 WHERE tournament = "bmw open" | Which Date has a Tournament of bmw open? | <s>[INST]Which Date has a Tournament of bmw open? Context: CREATE TABLE table_name_63 (date VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_63 WHERE tournament = "bmw open"</s> |
CREATE TABLE table_name_90 (Leading VARCHAR, score VARCHAR) | SELECT Leading AS scorer FROM table_name_90 WHERE score = "96-87" | Who was the Leading Scorer in the Game with a Score of 96-87? | <s>[INST]Who was the Leading Scorer in the Game with a Score of 96-87? Context: CREATE TABLE table_name_90 (Leading VARCHAR, score VARCHAR)[/INST]SELECT Leading AS scorer FROM table_name_90 WHERE score = "96-87"</s> |
CREATE TABLE table_19304764_2 (permitted_seats VARCHAR, discipline VARCHAR) | SELECT COUNT(permitted_seats) FROM table_19304764_2 WHERE discipline = "General Surgery" | Name the total number of seats for general surgery | <s>[INST]Name the total number of seats for general surgery Context: CREATE TABLE table_19304764_2 (permitted_seats VARCHAR, discipline VARCHAR)[/INST]SELECT COUNT(permitted_seats) FROM table_19304764_2 WHERE discipline = "General Surgery"</s> |
CREATE TABLE table_name_62 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_62 WHERE opponent = "natalia rizhonkova" | What is Score, when Opponent is Natalia Rizhonkova? | <s>[INST]What is Score, when Opponent is Natalia Rizhonkova? Context: CREATE TABLE table_name_62 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_62 WHERE opponent = "natalia rizhonkova"</s> |
CREATE TABLE table_name_39 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_39 WHERE margin_of_victory = "1 stroke" AND date = "oct 7, 1990" | Which Tournament has a Margin of victory of 1 stroke, and a Date of oct 7, 1990? | <s>[INST]Which Tournament has a Margin of victory of 1 stroke, and a Date of oct 7, 1990? Context: CREATE TABLE table_name_39 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_39 WHERE margin_of_victory = "1 stroke" AND date = "oct 7, 1990"</s> |
CREATE TABLE table_15887683_1 (hdtv VARCHAR, television_service VARCHAR) | SELECT hdtv FROM table_15887683_1 WHERE television_service = "Italia 1" | What high definition television options are available for Italia 1? | <s>[INST]What high definition television options are available for Italia 1? Context: CREATE TABLE table_15887683_1 (hdtv VARCHAR, television_service VARCHAR)[/INST]SELECT hdtv FROM table_15887683_1 WHERE television_service = "Italia 1"</s> |
CREATE TABLE table_1615980_4 (tournament VARCHAR, winning_score VARCHAR) | SELECT tournament FROM table_1615980_4 WHERE winning_score = 68 - 67 - 65 - 66 = 266 | In what tournament was the winning score 68-67-65-66=266? | <s>[INST]In what tournament was the winning score 68-67-65-66=266? Context: CREATE TABLE table_1615980_4 (tournament VARCHAR, winning_score VARCHAR)[/INST]SELECT tournament FROM table_1615980_4 WHERE winning_score = 68 - 67 - 65 - 66 = 266</s> |
CREATE TABLE table_name_75 (stadium VARCHAR, final_score VARCHAR) | SELECT stadium FROM table_name_75 WHERE final_score = "9-14" | What stadium hosted the game that had a final score of 9-14? | <s>[INST]What stadium hosted the game that had a final score of 9-14? Context: CREATE TABLE table_name_75 (stadium VARCHAR, final_score VARCHAR)[/INST]SELECT stadium FROM table_name_75 WHERE final_score = "9-14"</s> |
CREATE TABLE table_26007767_1 (arabs INTEGER, metropolitan_ring VARCHAR) | SELECT MIN(arabs) FROM table_26007767_1 WHERE metropolitan_ring = "Inner Ring 3" | What is the least arabs when the metropolitan ring is inner ring 3? | <s>[INST]What is the least arabs when the metropolitan ring is inner ring 3? Context: CREATE TABLE table_26007767_1 (arabs INTEGER, metropolitan_ring VARCHAR)[/INST]SELECT MIN(arabs) FROM table_26007767_1 WHERE metropolitan_ring = "Inner Ring 3"</s> |
CREATE TABLE table_21021796_1 (valves INTEGER) | SELECT MIN(valves) FROM table_21021796_1 | What is the greatest number of valves? | <s>[INST]What is the greatest number of valves? Context: CREATE TABLE table_21021796_1 (valves INTEGER)[/INST]SELECT MIN(valves) FROM table_21021796_1</s> |
CREATE TABLE table_12286195_1 (background VARCHAR, result VARCHAR) | SELECT background FROM table_12286195_1 WHERE result = "13 The celebrity Apprentice (2008-03-27)" | What is the background of the celebrity who had the result 13 the celebrity apprentice (2008-03-27)? | <s>[INST]What is the background of the celebrity who had the result 13 the celebrity apprentice (2008-03-27)? Context: CREATE TABLE table_12286195_1 (background VARCHAR, result VARCHAR)[/INST]SELECT background FROM table_12286195_1 WHERE result = "13 The celebrity Apprentice (2008-03-27)"</s> |
CREATE TABLE table_name_18 (horse VARCHAR, result VARCHAR) | SELECT horse FROM table_name_18 WHERE result = "65.863" | What horse has a 65.863 result? | <s>[INST]What horse has a 65.863 result? Context: CREATE TABLE table_name_18 (horse VARCHAR, result VARCHAR)[/INST]SELECT horse FROM table_name_18 WHERE result = "65.863"</s> |
CREATE TABLE table_name_85 (t_papadopoulos VARCHAR, i_kasoulidis VARCHAR) | SELECT t_papadopoulos FROM table_name_85 WHERE i_kasoulidis = "27.1%" | What was the percentage for T. Papadopoulos when I. Kasoulidis was 27.1%? | <s>[INST]What was the percentage for T. Papadopoulos when I. Kasoulidis was 27.1%? Context: CREATE TABLE table_name_85 (t_papadopoulos VARCHAR, i_kasoulidis VARCHAR)[/INST]SELECT t_papadopoulos FROM table_name_85 WHERE i_kasoulidis = "27.1%"</s> |
CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, wed_24_aug VARCHAR) | SELECT thurs_25_aug FROM table_30058355_2 WHERE wed_24_aug = "19' 59.73 113.216mph" | What is the thurs 25 aug when wed 24 aug is 19' 59.73 113.216mph? | <s>[INST]What is the thurs 25 aug when wed 24 aug is 19' 59.73 113.216mph? Context: CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, wed_24_aug VARCHAR)[/INST]SELECT thurs_25_aug FROM table_30058355_2 WHERE wed_24_aug = "19' 59.73 113.216mph"</s> |
CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_11 WHERE venue = "moorabbin oval" | What is moorabbin oval's away team? | <s>[INST]What is moorabbin oval's away team? Context: CREATE TABLE table_name_11 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_11 WHERE venue = "moorabbin oval"</s> |
CREATE TABLE table_name_38 (giro_di_lombardia VARCHAR, paris_roubaix VARCHAR) | SELECT giro_di_lombardia FROM table_name_38 WHERE paris_roubaix = "servais knaven ( ned )" | Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )? | <s>[INST]Which Giro di Lombardia has a Paris–Roubaix of servais knaven ( ned )? Context: CREATE TABLE table_name_38 (giro_di_lombardia VARCHAR, paris_roubaix VARCHAR)[/INST]SELECT giro_di_lombardia FROM table_name_38 WHERE paris_roubaix = "servais knaven ( ned )"</s> |
CREATE TABLE table_25200461_9 (city VARCHAR, democratic VARCHAR) | SELECT city FROM table_25200461_9 WHERE democratic = "42.5%" | If Democratic is 42.5%, what is the city? | <s>[INST]If Democratic is 42.5%, what is the city? Context: CREATE TABLE table_25200461_9 (city VARCHAR, democratic VARCHAR)[/INST]SELECT city FROM table_25200461_9 WHERE democratic = "42.5%"</s> |
CREATE TABLE table_22383603_1 (start__reg_season_ VARCHAR, top_record VARCHAR) | SELECT start__reg_season_ FROM table_22383603_1 WHERE top_record = "Lindenwood (20–0–0)" | When did the season start that ended with the top record of Lindenwood (20–0–0)? | <s>[INST]When did the season start that ended with the top record of Lindenwood (20–0–0)? Context: CREATE TABLE table_22383603_1 (start__reg_season_ VARCHAR, top_record VARCHAR)[/INST]SELECT start__reg_season_ FROM table_22383603_1 WHERE top_record = "Lindenwood (20–0–0)"</s> |
CREATE TABLE table_name_55 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_55 WHERE tie_no = "29" | On what day was Tie #29 played? | <s>[INST]On what day was Tie #29 played? Context: CREATE TABLE table_name_55 (date VARCHAR, tie_no VARCHAR)[/INST]SELECT date FROM table_name_55 WHERE tie_no = "29"</s> |
CREATE TABLE table_name_10 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT nation FROM table_name_10 WHERE gold = 0 AND rank > 14 AND total = 1 AND silver < 1 | Which nation has 0 gold, a rank greater than 14, a total of 1, and silver less than 1? | <s>[INST]Which nation has 0 gold, a rank greater than 14, a total of 1, and silver less than 1? Context: CREATE TABLE table_name_10 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT nation FROM table_name_10 WHERE gold = 0 AND rank > 14 AND total = 1 AND silver < 1</s> |
CREATE TABLE table_name_86 (against INTEGER, drawn VARCHAR, lost VARCHAR) | SELECT MAX(against) FROM table_name_86 WHERE drawn < 1 AND lost < 5 | How many Against has a Drawn smaller than 1, and a Lost smaller than 5? | <s>[INST]How many Against has a Drawn smaller than 1, and a Lost smaller than 5? Context: CREATE TABLE table_name_86 (against INTEGER, drawn VARCHAR, lost VARCHAR)[/INST]SELECT MAX(against) FROM table_name_86 WHERE drawn < 1 AND lost < 5</s> |
CREATE TABLE table_name_32 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team AS score FROM table_name_32 WHERE home_team = "collingwood" | What was Collingwood's away team score? | <s>[INST]What was Collingwood's away team score? Context: CREATE TABLE table_name_32 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_32 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_29799700_2 (series_premiere VARCHAR, tv_network_s_ VARCHAR) | SELECT series_premiere FROM table_29799700_2 WHERE tv_network_s_ = "TV3" | What was the date of the series premiere whose TV network was TV3? | <s>[INST]What was the date of the series premiere whose TV network was TV3? Context: CREATE TABLE table_29799700_2 (series_premiere VARCHAR, tv_network_s_ VARCHAR)[/INST]SELECT series_premiere FROM table_29799700_2 WHERE tv_network_s_ = "TV3"</s> |
CREATE TABLE publication (Publisher VARCHAR, Price INTEGER) | SELECT Publisher FROM publication WHERE Price > 10000000 INTERSECT SELECT Publisher FROM publication WHERE Price < 5000000 | Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000. | <s>[INST]Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000. Context: CREATE TABLE publication (Publisher VARCHAR, Price INTEGER)[/INST]SELECT Publisher FROM publication WHERE Price > 10000000 INTERSECT SELECT Publisher FROM publication WHERE Price < 5000000</s> |
CREATE TABLE table_name_41 (draws VARCHAR, wins VARCHAR, against VARCHAR) | SELECT COUNT(draws) FROM table_name_41 WHERE wins = 1 AND against < 1728 | What is the total number of draws when there is 1 Win, and less than 1728 against matches? | <s>[INST]What is the total number of draws when there is 1 Win, and less than 1728 against matches? Context: CREATE TABLE table_name_41 (draws VARCHAR, wins VARCHAR, against VARCHAR)[/INST]SELECT COUNT(draws) FROM table_name_41 WHERE wins = 1 AND against < 1728</s> |
CREATE TABLE airport (id VARCHAR, airport_id VARCHAR, pilot VARCHAR); CREATE TABLE flight (id VARCHAR, airport_id VARCHAR, pilot VARCHAR) | SELECT COUNT(*) FROM airport WHERE NOT id IN (SELECT airport_id FROM flight WHERE pilot = 'Thompson') | How many airports haven't the pilot 'Thompson' driven an aircraft? | <s>[INST]How many airports haven't the pilot 'Thompson' driven an aircraft? Context: CREATE TABLE airport (id VARCHAR, airport_id VARCHAR, pilot VARCHAR); CREATE TABLE flight (id VARCHAR, airport_id VARCHAR, pilot VARCHAR)[/INST]SELECT COUNT(*) FROM airport WHERE NOT id IN (SELECT airport_id FROM flight WHERE pilot = 'Thompson')</s> |
CREATE TABLE table_name_23 (winning_score VARCHAR, date VARCHAR) | SELECT winning_score FROM table_name_23 WHERE date = "may 3, 1998" | What was the winning score on May 3, 1998? | <s>[INST]What was the winning score on May 3, 1998? Context: CREATE TABLE table_name_23 (winning_score VARCHAR, date VARCHAR)[/INST]SELECT winning_score FROM table_name_23 WHERE date = "may 3, 1998"</s> |
CREATE TABLE table_name_22 (undecided VARCHAR, roy_barnes VARCHAR) | SELECT undecided FROM table_name_22 WHERE roy_barnes = "47%" | What was the undecided with Roy Barnes at 47%? | <s>[INST]What was the undecided with Roy Barnes at 47%? Context: CREATE TABLE table_name_22 (undecided VARCHAR, roy_barnes VARCHAR)[/INST]SELECT undecided FROM table_name_22 WHERE roy_barnes = "47%"</s> |
CREATE TABLE table_name_41 (length VARCHAR, stage VARCHAR) | SELECT length FROM table_name_41 WHERE stage = "ss6" | Name the length for stage of ss6 | <s>[INST]Name the length for stage of ss6 Context: CREATE TABLE table_name_41 (length VARCHAR, stage VARCHAR)[/INST]SELECT length FROM table_name_41 WHERE stage = "ss6"</s> |
CREATE TABLE table_27011761_2 (train_no VARCHAR, departure VARCHAR) | SELECT COUNT(train_no) FROM table_27011761_2 WHERE departure = "17:30" | How many trains depart at 17:30? | <s>[INST]How many trains depart at 17:30? Context: CREATE TABLE table_27011761_2 (train_no VARCHAR, departure VARCHAR)[/INST]SELECT COUNT(train_no) FROM table_27011761_2 WHERE departure = "17:30"</s> |
CREATE TABLE table_name_66 (hanyu_pinyin VARCHAR, name VARCHAR) | SELECT hanyu_pinyin FROM table_name_66 WHERE name = "jinning township" | What Hanyu Pinyin is in the Jinning Township? | <s>[INST]What Hanyu Pinyin is in the Jinning Township? Context: CREATE TABLE table_name_66 (hanyu_pinyin VARCHAR, name VARCHAR)[/INST]SELECT hanyu_pinyin FROM table_name_66 WHERE name = "jinning township"</s> |
CREATE TABLE table_name_54 (rider VARCHAR, round_1_points VARCHAR) | SELECT rider FROM table_name_54 WHERE round_1_points = "18.185" | Tell me the rider with 18.185 points round 1 | <s>[INST]Tell me the rider with 18.185 points round 1 Context: CREATE TABLE table_name_54 (rider VARCHAR, round_1_points VARCHAR)[/INST]SELECT rider FROM table_name_54 WHERE round_1_points = "18.185"</s> |
CREATE TABLE table_name_55 (dance VARCHAR, year VARCHAR) | SELECT dance FROM table_name_55 WHERE year = 2004 | In 2004, what is the Dance? | <s>[INST]In 2004, what is the Dance? Context: CREATE TABLE table_name_55 (dance VARCHAR, year VARCHAR)[/INST]SELECT dance FROM table_name_55 WHERE year = 2004</s> |
CREATE TABLE table_name_39 (name VARCHAR, decile VARCHAR, area VARCHAR) | SELECT name FROM table_name_39 WHERE decile = "7" AND area = "upper hutt" | What school with a decile of 7 is in upper hutt? | <s>[INST]What school with a decile of 7 is in upper hutt? Context: CREATE TABLE table_name_39 (name VARCHAR, decile VARCHAR, area VARCHAR)[/INST]SELECT name FROM table_name_39 WHERE decile = "7" AND area = "upper hutt"</s> |
CREATE TABLE table_name_94 (player VARCHAR, country VARCHAR, score VARCHAR) | SELECT player FROM table_name_94 WHERE country = "united states" AND score = 75 - 70 - 68 = 211 | Who is the player from the United States with a 75-70-68=211 score? | <s>[INST]Who is the player from the United States with a 75-70-68=211 score? Context: CREATE TABLE table_name_94 (player VARCHAR, country VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_94 WHERE country = "united states" AND score = 75 - 70 - 68 = 211</s> |
CREATE TABLE table_name_3 (wins INTEGER, cuts_made VARCHAR, events VARCHAR) | SELECT SUM(wins) FROM table_name_3 WHERE cuts_made = 76 AND events > 115 | What is the total of wins when the cuts made is 76 and the events greater than 115? | <s>[INST]What is the total of wins when the cuts made is 76 and the events greater than 115? Context: CREATE TABLE table_name_3 (wins INTEGER, cuts_made VARCHAR, events VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_3 WHERE cuts_made = 76 AND events > 115</s> |
CREATE TABLE table_name_61 (gold INTEGER, nation VARCHAR, silver VARCHAR) | SELECT MAX(gold) FROM table_name_61 WHERE nation = "switzerland" AND silver < 0 | Switzerland has how many gold and less than 0 silver? | <s>[INST]Switzerland has how many gold and less than 0 silver? Context: CREATE TABLE table_name_61 (gold INTEGER, nation VARCHAR, silver VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_61 WHERE nation = "switzerland" AND silver < 0</s> |
CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_10 WHERE player = "horton smith" | Which place has horton smith as the player? | <s>[INST]Which place has horton smith as the player? Context: CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_10 WHERE player = "horton smith"</s> |
CREATE TABLE table_name_50 (h___a VARCHAR, scorers VARCHAR) | SELECT h___a FROM table_name_50 WHERE scorers = "hughes" | What was the H/A when the scorer was Hughes? | <s>[INST]What was the H/A when the scorer was Hughes? Context: CREATE TABLE table_name_50 (h___a VARCHAR, scorers VARCHAR)[/INST]SELECT h___a FROM table_name_50 WHERE scorers = "hughes"</s> |
CREATE TABLE table_11964047_8 (leading_scorer VARCHAR, date VARCHAR) | SELECT COUNT(leading_scorer) FROM table_11964047_8 WHERE date = "February 21" | What is the number of leading scorer of february 21? | <s>[INST]What is the number of leading scorer of february 21? Context: CREATE TABLE table_11964047_8 (leading_scorer VARCHAR, date VARCHAR)[/INST]SELECT COUNT(leading_scorer) FROM table_11964047_8 WHERE date = "February 21"</s> |
CREATE TABLE table_name_54 (number_1971 VARCHAR) | SELECT 1981 FROM table_name_54 WHERE number_1971 > 192 AND 1991 = 1748 | What is the 1981 value of the Macedonian population with a 1971 number greater than 192 and a 1991 of 1748? | <s>[INST]What is the 1981 value of the Macedonian population with a 1971 number greater than 192 and a 1991 of 1748? Context: CREATE TABLE table_name_54 (number_1971 VARCHAR)[/INST]SELECT 1981 FROM table_name_54 WHERE number_1971 > 192 AND 1991 = 1748</s> |
CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR) | SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Toyota Center 15,095" | Who has high points when toyota center 15,095 is location attendance? | <s>[INST]Who has high points when toyota center 15,095 is location attendance? Context: CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Toyota Center 15,095"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.