context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_59 (top_5 INTEGER, top_10 VARCHAR, events VARCHAR) | SELECT SUM(top_5) FROM table_name_59 WHERE top_10 = 3 AND events < 15 | In the tournament that had 3 Top-10's, and less than 15 events, how many Top-5's did the player have? | <s>[INST]In the tournament that had 3 Top-10's, and less than 15 events, how many Top-5's did the player have? Context: CREATE TABLE table_name_59 (top_5 INTEGER, top_10 VARCHAR, events VARCHAR)[/INST]SELECT SUM(top_5) FROM table_name_59 WHERE top_10 = 3 AND events < 15</s> |
CREATE TABLE table_name_25 (games INTEGER, rank VARCHAR, team VARCHAR, name VARCHAR) | SELECT MIN(games) FROM table_name_25 WHERE team = "partizan belgrade" AND name = "nikola peković" AND rank > 4 | What is the number of Games for Partizan Belgrade player Nikola Peković with a Rank of more than 4? | <s>[INST]What is the number of Games for Partizan Belgrade player Nikola Peković with a Rank of more than 4? Context: CREATE TABLE table_name_25 (games INTEGER, rank VARCHAR, team VARCHAR, name VARCHAR)[/INST]SELECT MIN(games) FROM table_name_25 WHERE team = "partizan belgrade" AND name = "nikola peković" AND rank > 4<... |
CREATE TABLE table_name_35 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_35 WHERE date = "november 3, 1974" | What is the attendance from November 3, 1974? | <s>[INST]What is the attendance from November 3, 1974? Context: CREATE TABLE table_name_35 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_35 WHERE date = "november 3, 1974"</s> |
CREATE TABLE LOTS (lot_details VARCHAR, investor_id VARCHAR) | SELECT lot_details, investor_id FROM LOTS | Return the lot details and investor ids. | <s>[INST]Return the lot details and investor ids. Context: CREATE TABLE LOTS (lot_details VARCHAR, investor_id VARCHAR)[/INST]SELECT lot_details, investor_id FROM LOTS</s> |
CREATE TABLE table_1463383_1 (social_democratic VARCHAR, socialist VARCHAR) | SELECT social_democratic FROM table_1463383_1 WHERE socialist = "46.1%" | If Socialist is at 46.1%, what are all percentages for social democratic? | <s>[INST]If Socialist is at 46.1%, what are all percentages for social democratic? Context: CREATE TABLE table_1463383_1 (social_democratic VARCHAR, socialist VARCHAR)[/INST]SELECT social_democratic FROM table_1463383_1 WHERE socialist = "46.1%"</s> |
CREATE TABLE table_26013618_1 (district___town VARCHAR, area__ha_ VARCHAR) | SELECT district___town FROM table_26013618_1 WHERE area__ha_ = "163,62" | What town has the reserve with an area of 163,62? | <s>[INST]What town has the reserve with an area of 163,62? Context: CREATE TABLE table_26013618_1 (district___town VARCHAR, area__ha_ VARCHAR)[/INST]SELECT district___town FROM table_26013618_1 WHERE area__ha_ = "163,62"</s> |
CREATE TABLE table_name_44 (high_rebounds VARCHAR, record VARCHAR) | SELECT high_rebounds FROM table_name_44 WHERE record = "18-14" | What is the high rebounds with a record that is 18-14? | <s>[INST]What is the high rebounds with a record that is 18-14? Context: CREATE TABLE table_name_44 (high_rebounds VARCHAR, record VARCHAR)[/INST]SELECT high_rebounds FROM table_name_44 WHERE record = "18-14"</s> |
CREATE TABLE table_20750731_1 (obama_number INTEGER, mccain_percentage VARCHAR) | SELECT MAX(obama_number) FROM table_20750731_1 WHERE mccain_percentage = "64.4%" | What is the Obama# when McCain% is 64.4%? | <s>[INST]What is the Obama# when McCain% is 64.4%? Context: CREATE TABLE table_20750731_1 (obama_number INTEGER, mccain_percentage VARCHAR)[/INST]SELECT MAX(obama_number) FROM table_20750731_1 WHERE mccain_percentage = "64.4%"</s> |
CREATE TABLE table_name_78 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_78 WHERE score = 71 - 69 = 140 | What was the place for the player whose final score was 71-69=140? | <s>[INST]What was the place for the player whose final score was 71-69=140? Context: CREATE TABLE table_name_78 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_78 WHERE score = 71 - 69 = 140</s> |
CREATE TABLE party (LOCATION VARCHAR, Number_of_hosts VARCHAR) | SELECT LOCATION FROM party ORDER BY Number_of_hosts DESC LIMIT 1 | What is the location of the party with the most hosts? | <s>[INST]What is the location of the party with the most hosts? Context: CREATE TABLE party (LOCATION VARCHAR, Number_of_hosts VARCHAR)[/INST]SELECT LOCATION FROM party ORDER BY Number_of_hosts DESC LIMIT 1</s> |
CREATE TABLE table_name_43 (player VARCHAR, team VARCHAR) | SELECT player FROM table_name_43 WHERE team = "denver broncos" | What player is from the Denver Broncos? | <s>[INST]What player is from the Denver Broncos? Context: CREATE TABLE table_name_43 (player VARCHAR, team VARCHAR)[/INST]SELECT player FROM table_name_43 WHERE team = "denver broncos"</s> |
CREATE TABLE table_229059_2 (winners_share__ INTEGER, champion VARCHAR) | SELECT MIN(winners_share__) AS $_ FROM table_229059_2 WHERE champion = "Se Ri Pak (2)" | What was the winner share (in $) in the year when Se Ri Pak (2) was the champion? | <s>[INST]What was the winner share (in $) in the year when Se Ri Pak (2) was the champion? Context: CREATE TABLE table_229059_2 (winners_share__ INTEGER, champion VARCHAR)[/INST]SELECT MIN(winners_share__) AS $_ FROM table_229059_2 WHERE champion = "Se Ri Pak (2)"</s> |
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR) | SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 3 | Show the names of high schoolers who have at least 3 friends. | <s>[INST]Show the names of high schoolers who have at least 3 friends. Context: CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Friend (student_id VARCHAR)[/INST]SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 3</s> |
CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_76 WHERE player = "dow finsterwald" | What is Score, when Player is "Dow Finsterwald"? | <s>[INST]What is Score, when Player is "Dow Finsterwald"? Context: CREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE player = "dow finsterwald"</s> |
CREATE TABLE table_16575609_1 (cfl_team VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_16575609_1 WHERE college = "Weber State" | Who picked a player from Weber State? | <s>[INST]Who picked a player from Weber State? Context: CREATE TABLE table_16575609_1 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT cfl_team FROM table_16575609_1 WHERE college = "Weber State"</s> |
CREATE TABLE table_15431122_2 (best_finish VARCHAR, scoring_rank VARCHAR) | SELECT best_finish FROM table_15431122_2 WHERE scoring_rank = "97" | What is the best finish where the scoring rank is 97? | <s>[INST]What is the best finish where the scoring rank is 97? Context: CREATE TABLE table_15431122_2 (best_finish VARCHAR, scoring_rank VARCHAR)[/INST]SELECT best_finish FROM table_15431122_2 WHERE scoring_rank = "97"</s> |
CREATE TABLE table_name_9 (total INTEGER, nation VARCHAR) | SELECT SUM(total) FROM table_name_9 WHERE nation = "netherlands" | How many total medals for the netherlands? | <s>[INST]How many total medals for the netherlands? Context: CREATE TABLE table_name_9 (total INTEGER, nation VARCHAR)[/INST]SELECT SUM(total) FROM table_name_9 WHERE nation = "netherlands"</s> |
CREATE TABLE table_name_85 (runner_up VARCHAR, tier VARCHAR, winner VARCHAR) | SELECT runner_up FROM table_name_85 WHERE tier = "tier ii" AND winner = "gigi fernández natalia zvereva 6–2, 6–1" | When Gigi Fernández Natalia Zvereva 6–2, 6–1 won, who was the Tier II Runner-up? | <s>[INST]When Gigi Fernández Natalia Zvereva 6–2, 6–1 won, who was the Tier II Runner-up? Context: CREATE TABLE table_name_85 (runner_up VARCHAR, tier VARCHAR, winner VARCHAR)[/INST]SELECT runner_up FROM table_name_85 WHERE tier = "tier ii" AND winner = "gigi fernández natalia zvereva 6–2, 6–1"</s> |
CREATE TABLE table_21994729_2 (written_by VARCHAR, prod_code VARCHAR) | SELECT written_by FROM table_21994729_2 WHERE prod_code = "1APX11" | Who wore the episode with the production code of 1apx11? | <s>[INST]Who wore the episode with the production code of 1apx11? Context: CREATE TABLE table_21994729_2 (written_by VARCHAR, prod_code VARCHAR)[/INST]SELECT written_by FROM table_21994729_2 WHERE prod_code = "1APX11"</s> |
CREATE TABLE table_2655016_10 (original_air_date VARCHAR, nick_prod__number VARCHAR) | SELECT original_air_date FROM table_2655016_10 WHERE nick_prod__number = 945 | When did the episode originally air with a nick production number of 945? | <s>[INST]When did the episode originally air with a nick production number of 945? Context: CREATE TABLE table_2655016_10 (original_air_date VARCHAR, nick_prod__number VARCHAR)[/INST]SELECT original_air_date FROM table_2655016_10 WHERE nick_prod__number = 945</s> |
CREATE TABLE table_name_21 (grid VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_21 WHERE driver = "jim clark" | In what grid did jim clark drive in? | <s>[INST]In what grid did jim clark drive in? Context: CREATE TABLE table_name_21 (grid VARCHAR, driver VARCHAR)[/INST]SELECT grid FROM table_name_21 WHERE driver = "jim clark"</s> |
CREATE TABLE list (classroom VARCHAR) | SELECT classroom, COUNT(*) FROM list GROUP BY classroom | Report the number of students in each classroom. | <s>[INST]Report the number of students in each classroom. Context: CREATE TABLE list (classroom VARCHAR)[/INST]SELECT classroom, COUNT(*) FROM list GROUP BY classroom</s> |
CREATE TABLE table_name_71 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_71 WHERE year = "1992" | What the score of the 1992 game? | <s>[INST]What the score of the 1992 game? Context: CREATE TABLE table_name_71 (score VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_name_71 WHERE year = "1992"</s> |
CREATE TABLE table_name_73 (series_sorted VARCHAR, released VARCHAR) | SELECT series_sorted FROM table_name_73 WHERE released = "may 2012" | what is the series sorted when the released is may 2012? | <s>[INST]what is the series sorted when the released is may 2012? Context: CREATE TABLE table_name_73 (series_sorted VARCHAR, released VARCHAR)[/INST]SELECT series_sorted FROM table_name_73 WHERE released = "may 2012"</s> |
CREATE TABLE table_name_93 (date VARCHAR, venue VARCHAR, result VARCHAR) | SELECT date FROM table_name_93 WHERE venue = "a" AND result = "3–0" | On what date was the venue A with a result of 3–0? | <s>[INST]On what date was the venue A with a result of 3–0? Context: CREATE TABLE table_name_93 (date VARCHAR, venue VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_93 WHERE venue = "a" AND result = "3–0"</s> |
CREATE TABLE table_name_29 (laps VARCHAR, driver VARCHAR, grid VARCHAR, points VARCHAR) | SELECT COUNT(laps) FROM table_name_29 WHERE grid > 8 AND points < 11 AND driver = "will power" | How many laps are associated with a grid greater than 8, under 11 points, and will power? | <s>[INST]How many laps are associated with a grid greater than 8, under 11 points, and will power? Context: CREATE TABLE table_name_29 (laps VARCHAR, driver VARCHAR, grid VARCHAR, points VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_29 WHERE grid > 8 AND points < 11 AND driver = "will power"</s> |
CREATE TABLE table_name_90 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_90 WHERE team_1 = "hamburg" | Name the 2nd leg for team 1 of hamburg | <s>[INST]Name the 2nd leg for team 1 of hamburg Context: CREATE TABLE table_name_90 (team_1 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_90 WHERE team_1 = "hamburg"</s> |
CREATE TABLE table_26263322_1 (hometown VARCHAR, result VARCHAR) | SELECT COUNT(hometown) FROM table_26263322_1 WHERE result = "Hired by Serepisos" | How many times was the result is hired by serepisos? | <s>[INST]How many times was the result is hired by serepisos? Context: CREATE TABLE table_26263322_1 (hometown VARCHAR, result VARCHAR)[/INST]SELECT COUNT(hometown) FROM table_26263322_1 WHERE result = "Hired by Serepisos"</s> |
CREATE TABLE table_25143284_1 (competition_description VARCHAR, score_final VARCHAR) | SELECT COUNT(competition_description) FROM table_25143284_1 WHERE score_final = "15.650" | How many competitions had a final score of 15.650? | <s>[INST]How many competitions had a final score of 15.650? Context: CREATE TABLE table_25143284_1 (competition_description VARCHAR, score_final VARCHAR)[/INST]SELECT COUNT(competition_description) FROM table_25143284_1 WHERE score_final = "15.650"</s> |
CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR) | SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164 | What is the total number of Poles, when Position is 6th, and when Points is less than 164? | <s>[INST]What is the total number of Poles, when Position is 6th, and when Points is less than 164? Context: CREATE TABLE table_name_27 (poles VARCHAR, position VARCHAR, points VARCHAR)[/INST]SELECT COUNT(poles) FROM table_name_27 WHERE position = "6th" AND points < 164</s> |
CREATE TABLE table_2897457_8 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_2897457_8 WHERE player = "Paul Krake" | What was the pick number when Paul Krake was selected? | <s>[INST]What was the pick number when Paul Krake was selected? Context: CREATE TABLE table_2897457_8 (pick__number INTEGER, player VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_2897457_8 WHERE player = "Paul Krake"</s> |
CREATE TABLE table_name_18 (season VARCHAR, rank VARCHAR) | SELECT season FROM table_name_18 WHERE rank = "2" | What season has 2 as a rank? | <s>[INST]What season has 2 as a rank? Context: CREATE TABLE table_name_18 (season VARCHAR, rank VARCHAR)[/INST]SELECT season FROM table_name_18 WHERE rank = "2"</s> |
CREATE TABLE table_11677691_8 (college VARCHAR, player VARCHAR) | SELECT college FROM table_11677691_8 WHERE player = "Robert Nkemdiche ‡" | Where did robert nkemdiche ‡ go to college | <s>[INST]Where did robert nkemdiche ‡ go to college Context: CREATE TABLE table_11677691_8 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_11677691_8 WHERE player = "Robert Nkemdiche ‡"</s> |
CREATE TABLE table_name_15 (year VARCHAR, playoffs VARCHAR) | SELECT COUNT(year) FROM table_name_15 WHERE playoffs = "conference semifinals" | What year did the team make conference semifinals? | <s>[INST]What year did the team make conference semifinals? Context: CREATE TABLE table_name_15 (year VARCHAR, playoffs VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_15 WHERE playoffs = "conference semifinals"</s> |
CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR) | SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)" | Who were the umpires when Paul Medhurst (C) won the Simpson Medal? | <s>[INST]Who were the umpires when Paul Medhurst (C) won the Simpson Medal? Context: CREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)[/INST]SELECT umpires FROM table_13514348_7 WHERE simpson_medal = "Paul Medhurst (C)"</s> |
CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, constancy VARCHAR) | SELECT permanence_of_the_body FROM table_11609814_1 WHERE constancy = "interestedness" | what's the permanence of the body where constancy is interestedness | <s>[INST] what's the permanence of the body where constancy is interestedness Context: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, constancy VARCHAR)[/INST]SELECT permanence_of_the_body FROM table_11609814_1 WHERE constancy = "interestedness"</s> |
CREATE TABLE table_name_26 (overall INTEGER, name VARCHAR, round VARCHAR) | SELECT MIN(overall) FROM table_name_26 WHERE name = "derrick harvey" AND round > 1 | What is the overall pick number that Derrick Harvey was when he was picked in a round after round 1? | <s>[INST]What is the overall pick number that Derrick Harvey was when he was picked in a round after round 1? Context: CREATE TABLE table_name_26 (overall INTEGER, name VARCHAR, round VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_26 WHERE name = "derrick harvey" AND round > 1</s> |
CREATE TABLE table_27698941_6 (game VARCHAR, high_rebounds VARCHAR) | SELECT COUNT(game) FROM table_27698941_6 WHERE high_rebounds = "Andre Iguodala (9)" | How many games are shown for the game where andre iguodala (9) had the high rebounds? | <s>[INST]How many games are shown for the game where andre iguodala (9) had the high rebounds? Context: CREATE TABLE table_27698941_6 (game VARCHAR, high_rebounds VARCHAR)[/INST]SELECT COUNT(game) FROM table_27698941_6 WHERE high_rebounds = "Andre Iguodala (9)"</s> |
CREATE TABLE table_name_52 (year INTEGER, tournament VARCHAR, points VARCHAR) | SELECT MIN(year) FROM table_name_52 WHERE tournament = "hypo-meeting" AND points = "8002" | What is the lowest year that has hypo-meeting as the tournament, with 8002 as the points? | <s>[INST]What is the lowest year that has hypo-meeting as the tournament, with 8002 as the points? Context: CREATE TABLE table_name_52 (year INTEGER, tournament VARCHAR, points VARCHAR)[/INST]SELECT MIN(year) FROM table_name_52 WHERE tournament = "hypo-meeting" AND points = "8002"</s> |
CREATE TABLE table_name_24 (race VARCHAR, track VARCHAR, date VARCHAR) | SELECT race FROM table_name_24 WHERE track = "pocono" AND date = "08-02-2008" | What race happened at pocono on 08-02-2008? | <s>[INST]What race happened at pocono on 08-02-2008? Context: CREATE TABLE table_name_24 (race VARCHAR, track VARCHAR, date VARCHAR)[/INST]SELECT race FROM table_name_24 WHERE track = "pocono" AND date = "08-02-2008"</s> |
CREATE TABLE table_name_82 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_82 WHERE date = "november 6, 1982" | What surface was the match on November 6, 1982 played on? | <s>[INST]What surface was the match on November 6, 1982 played on? Context: CREATE TABLE table_name_82 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_82 WHERE date = "november 6, 1982"</s> |
CREATE TABLE table_name_47 (points VARCHAR, score VARCHAR) | SELECT points FROM table_name_47 WHERE score = "2 - 2" | Score of 2 - 2 had what points? | <s>[INST]Score of 2 - 2 had what points? Context: CREATE TABLE table_name_47 (points VARCHAR, score VARCHAR)[/INST]SELECT points FROM table_name_47 WHERE score = "2 - 2"</s> |
CREATE TABLE table_name_45 (award VARCHAR, category VARCHAR, result VARCHAR, year VARCHAR, work VARCHAR) | SELECT award FROM table_name_45 WHERE year < 2004 AND work = "the clone" AND result = "won" AND category = "favourite actress" | Which Award has a Year smaller than 2004, and a Work of the clone, and a Result of won, and a Category of favourite actress? | <s>[INST]Which Award has a Year smaller than 2004, and a Work of the clone, and a Result of won, and a Category of favourite actress? Context: CREATE TABLE table_name_45 (award VARCHAR, category VARCHAR, result VARCHAR, year VARCHAR, work VARCHAR)[/INST]SELECT award FROM table_name_45 WHERE year < 2004 AND work = "the ... |
CREATE TABLE table_name_84 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT SUM(silver) FROM table_name_84 WHERE gold = 0 AND rank = "5" AND bronze > 0 | What is the number of silver medals of the team with 0 gold, ranked 5, and more than 0 bronze medals? | <s>[INST]What is the number of silver medals of the team with 0 gold, ranked 5, and more than 0 bronze medals? Context: CREATE TABLE table_name_84 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_84 WHERE gold = 0 AND rank = "5" AND bronze > 0</s> |
CREATE TABLE table_23286112_12 (series VARCHAR, date VARCHAR) | SELECT series FROM table_23286112_12 WHERE date = "April 18" | Which series were played on April 18? | <s>[INST]Which series were played on April 18? Context: CREATE TABLE table_23286112_12 (series VARCHAR, date VARCHAR)[/INST]SELECT series FROM table_23286112_12 WHERE date = "April 18"</s> |
CREATE TABLE table_27715173_8 (high_points VARCHAR, high_assists VARCHAR) | SELECT high_points FROM table_27715173_8 WHERE high_assists = "Tim Duncan (5)" | Who had the high points when high assists is tim duncan (5)? | <s>[INST]Who had the high points when high assists is tim duncan (5)? Context: CREATE TABLE table_27715173_8 (high_points VARCHAR, high_assists VARCHAR)[/INST]SELECT high_points FROM table_27715173_8 WHERE high_assists = "Tim Duncan (5)"</s> |
CREATE TABLE table_name_65 (to_par INTEGER, player VARCHAR) | SELECT SUM(to_par) FROM table_name_65 WHERE player = "bob rosburg" | What is the total of all to par with player Bob Rosburg? | <s>[INST]What is the total of all to par with player Bob Rosburg? Context: CREATE TABLE table_name_65 (to_par INTEGER, player VARCHAR)[/INST]SELECT SUM(to_par) FROM table_name_65 WHERE player = "bob rosburg"</s> |
CREATE TABLE table_name_57 (points INTEGER, played VARCHAR, average VARCHAR) | SELECT SUM(points) FROM table_name_57 WHERE played = 114 AND average = 0.982 | Total points with 114 played and average of 0.982? | <s>[INST]Total points with 114 played and average of 0.982? Context: CREATE TABLE table_name_57 (points INTEGER, played VARCHAR, average VARCHAR)[/INST]SELECT SUM(points) FROM table_name_57 WHERE played = 114 AND average = 0.982</s> |
CREATE TABLE table_name_99 (constructor VARCHAR, location VARCHAR, year VARCHAR) | SELECT constructor FROM table_name_99 WHERE location = "not held" AND year = "1933" | What company constructed the vehicle in the location not held in 1933? | <s>[INST]What company constructed the vehicle in the location not held in 1933? Context: CREATE TABLE table_name_99 (constructor VARCHAR, location VARCHAR, year VARCHAR)[/INST]SELECT constructor FROM table_name_99 WHERE location = "not held" AND year = "1933"</s> |
CREATE TABLE table_name_60 (senior_2nd_viii VARCHAR, senior_iv VARCHAR) | SELECT senior_2nd_viii FROM table_name_60 WHERE senior_iv = "stm" | Which 2nd senior VIII that also has a 4th senior stm? | <s>[INST]Which 2nd senior VIII that also has a 4th senior stm? Context: CREATE TABLE table_name_60 (senior_2nd_viii VARCHAR, senior_iv VARCHAR)[/INST]SELECT senior_2nd_viii FROM table_name_60 WHERE senior_iv = "stm"</s> |
CREATE TABLE table_19948664_2 (index__year_ VARCHAR, world_ranking__1_ VARCHAR) | SELECT COUNT(index__year_) FROM table_19948664_2 WHERE world_ranking__1_ = "21st" | How many years were recorded when world ranking was 21st? | <s>[INST]How many years were recorded when world ranking was 21st? Context: CREATE TABLE table_19948664_2 (index__year_ VARCHAR, world_ranking__1_ VARCHAR)[/INST]SELECT COUNT(index__year_) FROM table_19948664_2 WHERE world_ranking__1_ = "21st"</s> |
CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT record FROM table_name_75 WHERE opponent = "rangers" AND date = "august 29" | On August 29, What was the record playing against the Rangers? | <s>[INST]On August 29, What was the record playing against the Rangers? Context: CREATE TABLE table_name_75 (record VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_75 WHERE opponent = "rangers" AND date = "august 29"</s> |
CREATE TABLE table_name_82 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_82 WHERE home_team = "carlton" | Where does Carlton play? | <s>[INST]Where does Carlton play? Context: CREATE TABLE table_name_82 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_82 WHERE home_team = "carlton"</s> |
CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, seans_team VARCHAR) | SELECT first_broadcast FROM table_23292220_3 WHERE seans_team = "Peter Serafinowicz and Johnny Vegas" | What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas? | <s>[INST]What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas? Context: CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, seans_team VARCHAR)[/INST]SELECT first_broadcast FROM table_23292220_3 WHERE seans_team = "Peter Serafinowicz and Johnny Vega... |
CREATE TABLE table_name_86 (first VARCHAR, dob VARCHAR, bats VARCHAR, throws VARCHAR) | SELECT first FROM table_name_86 WHERE bats = "r" AND throws = "l" AND dob = "12 october 1977" | Which First has Bats of r, and Throws of l, and a DOB of 12 october 1977? | <s>[INST]Which First has Bats of r, and Throws of l, and a DOB of 12 october 1977? Context: CREATE TABLE table_name_86 (first VARCHAR, dob VARCHAR, bats VARCHAR, throws VARCHAR)[/INST]SELECT first FROM table_name_86 WHERE bats = "r" AND throws = "l" AND dob = "12 october 1977"</s> |
CREATE TABLE table_2771237_1 (overall_record VARCHAR, average_attendance VARCHAR) | SELECT overall_record FROM table_2771237_1 WHERE average_attendance = 16720 | What was the overall record in the season where average attendance was 16720? | <s>[INST]What was the overall record in the season where average attendance was 16720? Context: CREATE TABLE table_2771237_1 (overall_record VARCHAR, average_attendance VARCHAR)[/INST]SELECT overall_record FROM table_2771237_1 WHERE average_attendance = 16720</s> |
CREATE TABLE table_name_33 (country VARCHAR, place VARCHAR) | SELECT country FROM table_name_33 WHERE place = "t6" | What is the country of the player with a t6 place? | <s>[INST]What is the country of the player with a t6 place? Context: CREATE TABLE table_name_33 (country VARCHAR, place VARCHAR)[/INST]SELECT country FROM table_name_33 WHERE place = "t6"</s> |
CREATE TABLE table_name_91 (pick VARCHAR, player VARCHAR, round VARCHAR) | SELECT COUNT(pick) FROM table_name_91 WHERE player = "wayne fowler" AND round > 7 | What is the total number for the pick of the player Wayne Fowler and a round after 7? | <s>[INST]What is the total number for the pick of the player Wayne Fowler and a round after 7? Context: CREATE TABLE table_name_91 (pick VARCHAR, player VARCHAR, round VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_91 WHERE player = "wayne fowler" AND round > 7</s> |
CREATE TABLE table_name_2 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_2 WHERE catalog = "chem036cd" | What label has a catalog of chem036cd? | <s>[INST]What label has a catalog of chem036cd? Context: CREATE TABLE table_name_2 (label VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_2 WHERE catalog = "chem036cd"</s> |
CREATE TABLE table_name_53 (years_in_orlando VARCHAR, school_club_team VARCHAR) | SELECT years_in_orlando FROM table_name_53 WHERE school_club_team = "clemson" | What year did Orlando have a School/Club team in Clemson? | <s>[INST]What year did Orlando have a School/Club team in Clemson? Context: CREATE TABLE table_name_53 (years_in_orlando VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_in_orlando FROM table_name_53 WHERE school_club_team = "clemson"</s> |
CREATE TABLE table_name_2 (population__2007_ VARCHAR, population__2010_ INTEGER) | SELECT COUNT(population__2007_) FROM table_name_2 WHERE population__2010_ < 1282 | WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WAS SMALLER THAN 1282? | <s>[INST]WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WAS SMALLER THAN 1282? Context: CREATE TABLE table_name_2 (population__2007_ VARCHAR, population__2010_ INTEGER)[/INST]SELECT COUNT(population__2007_) FROM table_name_2 WHERE population__2010_ < 1282</s> |
CREATE TABLE table_name_24 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_24 WHERE country = "spain" | What was Spain's score? | <s>[INST]What was Spain's score? Context: CREATE TABLE table_name_24 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_24 WHERE country = "spain"</s> |
CREATE TABLE table_27515452_3 (contestant VARCHAR, sizes VARCHAR) | SELECT contestant FROM table_27515452_3 WHERE sizes = "33-23-36" | who are the participants that wear clothing in 33-23-36 | <s>[INST]who are the participants that wear clothing in 33-23-36 Context: CREATE TABLE table_27515452_3 (contestant VARCHAR, sizes VARCHAR)[/INST]SELECT contestant FROM table_27515452_3 WHERE sizes = "33-23-36"</s> |
CREATE TABLE table_name_87 (state VARCHAR, royal_house VARCHAR, name VARCHAR) | SELECT state FROM table_name_87 WHERE royal_house = "ji" AND name = "ding" | What state is Ding and has a royal house of Ji? | <s>[INST]What state is Ding and has a royal house of Ji? Context: CREATE TABLE table_name_87 (state VARCHAR, royal_house VARCHAR, name VARCHAR)[/INST]SELECT state FROM table_name_87 WHERE royal_house = "ji" AND name = "ding"</s> |
CREATE TABLE table_name_84 (to_par VARCHAR, finish VARCHAR) | SELECT to_par FROM table_name_84 WHERE finish = "t56" | What was the To par for the player who finished t56? | <s>[INST]What was the To par for the player who finished t56? Context: CREATE TABLE table_name_84 (to_par VARCHAR, finish VARCHAR)[/INST]SELECT to_par FROM table_name_84 WHERE finish = "t56"</s> |
CREATE TABLE table_name_96 (total INTEGER, lecturers VARCHAR, professors VARCHAR) | SELECT AVG(total) FROM table_name_96 WHERE lecturers = 6 AND professors < 48 | What is the total in the case where theere are 6 lecturers and fewer than 48 professors? | <s>[INST]What is the total in the case where theere are 6 lecturers and fewer than 48 professors? Context: CREATE TABLE table_name_96 (total INTEGER, lecturers VARCHAR, professors VARCHAR)[/INST]SELECT AVG(total) FROM table_name_96 WHERE lecturers = 6 AND professors < 48</s> |
CREATE TABLE table_name_15 (attendance INTEGER, opponent VARCHAR, date VARCHAR) | SELECT MIN(attendance) FROM table_name_15 WHERE opponent = "devil rays" AND date = "may 13" | How low is the Attendance that has an Opponent of devil rays and a Date of may 13? | <s>[INST]How low is the Attendance that has an Opponent of devil rays and a Date of may 13? Context: CREATE TABLE table_name_15 (attendance INTEGER, opponent VARCHAR, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_15 WHERE opponent = "devil rays" AND date = "may 13"</s> |
CREATE TABLE table_name_40 (centennial VARCHAR, del_pueblo VARCHAR) | SELECT centennial FROM table_name_40 WHERE del_pueblo = "1986" | Which Centennial has a del Pueblo of 1986? | <s>[INST]Which Centennial has a del Pueblo of 1986? Context: CREATE TABLE table_name_40 (centennial VARCHAR, del_pueblo VARCHAR)[/INST]SELECT centennial FROM table_name_40 WHERE del_pueblo = "1986"</s> |
CREATE TABLE table_19517621_4 (episode__number INTEGER, title VARCHAR) | SELECT MAX(episode__number) FROM table_19517621_4 WHERE title = "Jerusalem" | What is the latest episode number with the title of Jerusalem? | <s>[INST]What is the latest episode number with the title of Jerusalem? Context: CREATE TABLE table_19517621_4 (episode__number INTEGER, title VARCHAR)[/INST]SELECT MAX(episode__number) FROM table_19517621_4 WHERE title = "Jerusalem"</s> |
CREATE TABLE table_name_46 (winning_score VARCHAR, tournament VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_46 WHERE tournament = "standard register ping" AND runner_s__up = "kelly robbins" | What is the winning score of standard register ping tournament, which has Kelly Robbins as the runner-up? | <s>[INST]What is the winning score of standard register ping tournament, which has Kelly Robbins as the runner-up? Context: CREATE TABLE table_name_46 (winning_score VARCHAR, tournament VARCHAR, runner_s__up VARCHAR)[/INST]SELECT winning_score FROM table_name_46 WHERE tournament = "standard register ping" AND runner_s_... |
CREATE TABLE table_name_59 (year INTEGER, manager VARCHAR, finish VARCHAR) | SELECT MIN(year) FROM table_name_59 WHERE manager = "marty berghammer" AND finish = "1st" | Manager of marty berghammer, and a Finish of 1st involved what lowest year? | <s>[INST]Manager of marty berghammer, and a Finish of 1st involved what lowest year? Context: CREATE TABLE table_name_59 (year INTEGER, manager VARCHAR, finish VARCHAR)[/INST]SELECT MIN(year) FROM table_name_59 WHERE manager = "marty berghammer" AND finish = "1st"</s> |
CREATE TABLE table_name_5 (gold INTEGER, nation VARCHAR, rank VARCHAR) | SELECT AVG(gold) FROM table_name_5 WHERE nation = "italy" AND rank > 4 | How many gold medals on average were earned by Italy when they held the rank of 4? | <s>[INST]How many gold medals on average were earned by Italy when they held the rank of 4? Context: CREATE TABLE table_name_5 (gold INTEGER, nation VARCHAR, rank VARCHAR)[/INST]SELECT AVG(gold) FROM table_name_5 WHERE nation = "italy" AND rank > 4</s> |
CREATE TABLE table_14016079_1 (date VARCHAR, rd VARCHAR) | SELECT date FROM table_14016079_1 WHERE rd = 8 | What were the dates for Round 8? | <s>[INST]What were the dates for Round 8? Context: CREATE TABLE table_14016079_1 (date VARCHAR, rd VARCHAR)[/INST]SELECT date FROM table_14016079_1 WHERE rd = 8</s> |
CREATE TABLE table_20626467_1 (class VARCHAR, winner_2nd VARCHAR) | SELECT class FROM table_20626467_1 WHERE winner_2nd = "2nd - Portillo" | What class was the 2nd - portillo? | <s>[INST]What class was the 2nd - portillo? Context: CREATE TABLE table_20626467_1 (class VARCHAR, winner_2nd VARCHAR)[/INST]SELECT class FROM table_20626467_1 WHERE winner_2nd = "2nd - Portillo"</s> |
CREATE TABLE table_name_55 (identifier VARCHAR, city_of_license VARCHAR) | SELECT identifier FROM table_name_55 WHERE city_of_license = "hornepayne" | What is Identifier, when City of License is Hornepayne? | <s>[INST]What is Identifier, when City of License is Hornepayne? Context: CREATE TABLE table_name_55 (identifier VARCHAR, city_of_license VARCHAR)[/INST]SELECT identifier FROM table_name_55 WHERE city_of_license = "hornepayne"</s> |
CREATE TABLE table_179174_2 (spacecraft VARCHAR, launch_complex VARCHAR) | SELECT spacecraft FROM table_179174_2 WHERE launch_complex = "LC34" | What spacecraft was launched from the LC34 launch complex? | <s>[INST]What spacecraft was launched from the LC34 launch complex? Context: CREATE TABLE table_179174_2 (spacecraft VARCHAR, launch_complex VARCHAR)[/INST]SELECT spacecraft FROM table_179174_2 WHERE launch_complex = "LC34"</s> |
CREATE TABLE table_name_14 (grid INTEGER, laps VARCHAR, driver VARCHAR) | SELECT SUM(grid) FROM table_name_14 WHERE laps > 73 AND driver = "bruce mclaren" | What is the grid total for bruce mclaren with over 73 laps? | <s>[INST]What is the grid total for bruce mclaren with over 73 laps? Context: CREATE TABLE table_name_14 (grid INTEGER, laps VARCHAR, driver VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_14 WHERE laps > 73 AND driver = "bruce mclaren"</s> |
CREATE TABLE table_1825751_14 (delegate VARCHAR, pageant VARCHAR, year VARCHAR) | SELECT delegate FROM table_1825751_14 WHERE pageant = "Elite Model Look" AND year > 1993.0 | where pageant is elite model look and year is bigger than 1993.0, who is the delegate? | <s>[INST]where pageant is elite model look and year is bigger than 1993.0, who is the delegate? Context: CREATE TABLE table_1825751_14 (delegate VARCHAR, pageant VARCHAR, year VARCHAR)[/INST]SELECT delegate FROM table_1825751_14 WHERE pageant = "Elite Model Look" AND year > 1993.0</s> |
CREATE TABLE table_name_37 (Id VARCHAR) | SELECT SUM(1952) FROM table_name_37 WHERE 1954 > 4.2 | What is the 1952 rate when the 1954 is more than 4.2? | <s>[INST]What is the 1952 rate when the 1954 is more than 4.2? Context: CREATE TABLE table_name_37 (Id VARCHAR)[/INST]SELECT SUM(1952) FROM table_name_37 WHERE 1954 > 4.2</s> |
CREATE TABLE table_name_87 (author VARCHAR, first_issue VARCHAR) | SELECT author FROM table_name_87 WHERE first_issue = "september 2010" | What is the Author of the Title with a First Issue of September 2010? | <s>[INST]What is the Author of the Title with a First Issue of September 2010? Context: CREATE TABLE table_name_87 (author VARCHAR, first_issue VARCHAR)[/INST]SELECT author FROM table_name_87 WHERE first_issue = "september 2010"</s> |
CREATE TABLE table_name_55 (ties INTEGER, wins VARCHAR, season VARCHAR) | SELECT AVG(ties) FROM table_name_55 WHERE wins = 6 AND season > 2004 | What's the average amount of ties had when a team wins 6 and it's past the 2004 season? | <s>[INST]What's the average amount of ties had when a team wins 6 and it's past the 2004 season? Context: CREATE TABLE table_name_55 (ties INTEGER, wins VARCHAR, season VARCHAR)[/INST]SELECT AVG(ties) FROM table_name_55 WHERE wins = 6 AND season > 2004</s> |
CREATE TABLE table_2175858_1 (laps VARCHAR, year VARCHAR) | SELECT laps FROM table_2175858_1 WHERE year = 2009 | How many laps were driven in 2009? | <s>[INST]How many laps were driven in 2009? Context: CREATE TABLE table_2175858_1 (laps VARCHAR, year VARCHAR)[/INST]SELECT laps FROM table_2175858_1 WHERE year = 2009</s> |
CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, character VARCHAR) | SELECT brighton_cast FROM table_17085724_1 WHERE character = "Jerry Cruncher" | Name the brighton cast for jerry cruncher | <s>[INST]Name the brighton cast for jerry cruncher Context: CREATE TABLE table_17085724_1 (brighton_cast VARCHAR, character VARCHAR)[/INST]SELECT brighton_cast FROM table_17085724_1 WHERE character = "Jerry Cruncher"</s> |
CREATE TABLE table_name_62 (finale VARCHAR, premiere VARCHAR) | SELECT finale FROM table_name_62 WHERE premiere = "september 24, 2002" | When was the finale played when the show premiered on September 24, 2002? | <s>[INST]When was the finale played when the show premiered on September 24, 2002? Context: CREATE TABLE table_name_62 (finale VARCHAR, premiere VARCHAR)[/INST]SELECT finale FROM table_name_62 WHERE premiere = "september 24, 2002"</s> |
CREATE TABLE table_name_53 (laps INTEGER, time_retired VARCHAR) | SELECT SUM(laps) FROM table_name_53 WHERE time_retired = "gearbox" | How many laps were there when time/retired was gearbox? | <s>[INST]How many laps were there when time/retired was gearbox? Context: CREATE TABLE table_name_53 (laps INTEGER, time_retired VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_53 WHERE time_retired = "gearbox"</s> |
CREATE TABLE table_name_74 (net_capacity VARCHAR, gross_capacity VARCHAR, unit VARCHAR) | SELECT net_capacity FROM table_name_74 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4" | What was the net capacity with a gross capacity of 1,126 mw, and a Unit of tianwan-4? | <s>[INST]What was the net capacity with a gross capacity of 1,126 mw, and a Unit of tianwan-4? Context: CREATE TABLE table_name_74 (net_capacity VARCHAR, gross_capacity VARCHAR, unit VARCHAR)[/INST]SELECT net_capacity FROM table_name_74 WHERE gross_capacity = "1,126 mw" AND unit = "tianwan-4"</s> |
CREATE TABLE table_16570286_2 (matches VARCHAR, player VARCHAR) | SELECT COUNT(matches) FROM table_16570286_2 WHERE player = "Arthur Morris" | How many numbers were recorded under matches with Arthur Morris? | <s>[INST]How many numbers were recorded under matches with Arthur Morris? Context: CREATE TABLE table_16570286_2 (matches VARCHAR, player VARCHAR)[/INST]SELECT COUNT(matches) FROM table_16570286_2 WHERE player = "Arthur Morris"</s> |
CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR) | SELECT college FROM table_15353123_1 WHERE player = "Dean Kirkland" | Which college did Dean Kirkland go to | <s>[INST]Which college did Dean Kirkland go to Context: CREATE TABLE table_15353123_1 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_15353123_1 WHERE player = "Dean Kirkland"</s> |
CREATE TABLE region (Id VARCHAR) | SELECT COUNT(*) FROM region | How many regions do we have? | <s>[INST]How many regions do we have? Context: CREATE TABLE region (Id VARCHAR)[/INST]SELECT COUNT(*) FROM region</s> |
CREATE TABLE table_name_80 (year VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR) | SELECT year FROM table_name_80 WHERE film = "bullets over broadway" AND category = "best supporting actress" AND actor = "jennifer tilly" | What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category? | <s>[INST]What year was Jennifer Tilly's Film of Bullets Over Broadway up in the best supporting actress category? Context: CREATE TABLE table_name_80 (year VARCHAR, actor VARCHAR, film VARCHAR, category VARCHAR)[/INST]SELECT year FROM table_name_80 WHERE film = "bullets over broadway" AND category = "best supporting ac... |
CREATE TABLE table_name_23 (race_name VARCHAR, winning_driver VARCHAR, circuit VARCHAR) | SELECT race_name FROM table_name_23 WHERE winning_driver = "stirling moss" AND circuit = "oulton park" | What is the name of race that has a winning driver of Stirling moss and a Circuit of oulton park? | <s>[INST]What is the name of race that has a winning driver of Stirling moss and a Circuit of oulton park? Context: CREATE TABLE table_name_23 (race_name VARCHAR, winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT race_name FROM table_name_23 WHERE winning_driver = "stirling moss" AND circuit = "oulton park"</s> |
CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR) | SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "George E. Harris (R)" | When was successor George E. Harris (R) seated? | <s>[INST]When was successor George E. Harris (R) seated? Context: CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR)[/INST]SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "George E. Harris (R)"</s> |
CREATE TABLE table_name_49 (winning_score VARCHAR, date VARCHAR) | SELECT winning_score FROM table_name_49 WHERE date = "feb 12, 1978" | What's the winning score on Feb 12, 1978? | <s>[INST]What's the winning score on Feb 12, 1978? Context: CREATE TABLE table_name_49 (winning_score VARCHAR, date VARCHAR)[/INST]SELECT winning_score FROM table_name_49 WHERE date = "feb 12, 1978"</s> |
CREATE TABLE table_28540609_2 (cuts_made VARCHAR, player VARCHAR) | SELECT cuts_made FROM table_28540609_2 WHERE player = "Bernd Wiesberger" | How many cuts did Bernd Wiesberger make? | <s>[INST]How many cuts did Bernd Wiesberger make? Context: CREATE TABLE table_28540609_2 (cuts_made VARCHAR, player VARCHAR)[/INST]SELECT cuts_made FROM table_28540609_2 WHERE player = "Bernd Wiesberger"</s> |
CREATE TABLE table_name_78 (qual VARCHAR, rank VARCHAR) | SELECT qual FROM table_name_78 WHERE rank = "9" | Name the qual for rank of 9 | <s>[INST]Name the qual for rank of 9 Context: CREATE TABLE table_name_78 (qual VARCHAR, rank VARCHAR)[/INST]SELECT qual FROM table_name_78 WHERE rank = "9"</s> |
CREATE TABLE table_name_41 (company VARCHAR, revenues__us$_billion_ VARCHAR, rank VARCHAR, market_value__us$_billion_ VARCHAR, assets__us$_billion_ VARCHAR) | SELECT company FROM table_name_41 WHERE market_value__us$_billion_ > 1 AND assets__us$_billion_ < 10.7 AND rank < 10 AND revenues__us$_billion_ = 9.3 | Which company has a market value greater than 1, Assets (US$ billion) smaller than 10.7, a Rank smaller than 10, and revenue (US$ billion) of 9.3? | <s>[INST]Which company has a market value greater than 1, Assets (US$ billion) smaller than 10.7, a Rank smaller than 10, and revenue (US$ billion) of 9.3? Context: CREATE TABLE table_name_41 (company VARCHAR, revenues__us$_billion_ VARCHAR, rank VARCHAR, market_value__us$_billion_ VARCHAR, assets__us$_billion_ VARCHAR... |
CREATE TABLE table_name_66 (circuit VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_66 WHERE winning_driver = "michael andretti" | Which circuit did Michael Andretti win? | <s>[INST]Which circuit did Michael Andretti win? Context: CREATE TABLE table_name_66 (circuit VARCHAR, winning_driver VARCHAR)[/INST]SELECT circuit FROM table_name_66 WHERE winning_driver = "michael andretti"</s> |
CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR, open_year VARCHAR) | SELECT name, manufacturer_id FROM manufacturer ORDER BY open_year | List all manufacturer names and ids ordered by their opening year. | <s>[INST]List all manufacturer names and ids ordered by their opening year. Context: CREATE TABLE manufacturer (name VARCHAR, manufacturer_id VARCHAR, open_year VARCHAR)[/INST]SELECT name, manufacturer_id FROM manufacturer ORDER BY open_year</s> |
CREATE TABLE table_name_96 (assembled VARCHAR) | SELECT 2 AS nd_member FROM table_name_96 WHERE assembled = "30 march 1298" | What is 2nd Member, when Assembled is "30 March 1298"? | <s>[INST]What is 2nd Member, when Assembled is "30 March 1298"? Context: CREATE TABLE table_name_96 (assembled VARCHAR)[/INST]SELECT 2 AS nd_member FROM table_name_96 WHERE assembled = "30 march 1298"</s> |
CREATE TABLE table_name_62 (nickname VARCHAR, institution VARCHAR) | SELECT nickname FROM table_name_62 WHERE institution = "columbia university" | What is the nickname of Columbia University? | <s>[INST]What is the nickname of Columbia University? Context: CREATE TABLE table_name_62 (nickname VARCHAR, institution VARCHAR)[/INST]SELECT nickname FROM table_name_62 WHERE institution = "columbia university"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.