context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_91 (original_name VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT original_name FROM table_name_91 WHERE film_title_used_in_nomination = "olympics 40" | What is the original name of the film that used the title Olympics 40 in nomination? | <s>[INST]What is the original name of the film that used the title Olympics 40 in nomination? Context: CREATE TABLE table_name_91 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT original_name FROM table_name_91 WHERE film_title_used_in_nomination = "olympics 40"</s> |
CREATE TABLE table_2226817_7 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_2226817_7 WHERE production_code = "6.18" | If the production code is 6.18, what was the episode title? | <s>[INST]If the production code is 6.18, what was the episode title? Context: CREATE TABLE table_2226817_7 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_2226817_7 WHERE production_code = "6.18"</s> |
CREATE TABLE table_name_27 (entries INTEGER, driver VARCHAR, points VARCHAR) | SELECT AVG(entries) FROM table_name_27 WHERE driver = "mark webber" AND points > 1014.5 | What is the average number of entries driver Mark Webber, who has more than 1014.5 points, has? | <s>[INST]What is the average number of entries driver Mark Webber, who has more than 1014.5 points, has? Context: CREATE TABLE table_name_27 (entries INTEGER, driver VARCHAR, points VARCHAR)[/INST]SELECT AVG(entries) FROM table_name_27 WHERE driver = "mark webber" AND points > 1014.5</s> |
CREATE TABLE table_name_47 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_47 WHERE attendance = "bye" | When did the Chiefs have their first bye? | <s>[INST]When did the Chiefs have their first bye? Context: CREATE TABLE table_name_47 (week INTEGER, attendance VARCHAR)[/INST]SELECT MIN(week) FROM table_name_47 WHERE attendance = "bye"</s> |
CREATE TABLE table_name_5 (frequency VARCHAR, model_number VARCHAR) | SELECT frequency FROM table_name_5 WHERE model_number = "c3 1.4a" | Which Frequency has a Model Number of c3 1.4a? | <s>[INST]Which Frequency has a Model Number of c3 1.4a? Context: CREATE TABLE table_name_5 (frequency VARCHAR, model_number VARCHAR)[/INST]SELECT frequency FROM table_name_5 WHERE model_number = "c3 1.4a"</s> |
CREATE TABLE table_name_62 (round_of_32 VARCHAR, conference VARCHAR) | SELECT round_of_32 FROM table_name_62 WHERE conference = "southland" | Tell me the round of 32 for conference of southland | <s>[INST]Tell me the round of 32 for conference of southland Context: CREATE TABLE table_name_62 (round_of_32 VARCHAR, conference VARCHAR)[/INST]SELECT round_of_32 FROM table_name_62 WHERE conference = "southland"</s> |
CREATE TABLE table_29436059_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_29436059_1 WHERE production_code = 319 | What is the original air date of the episode with production code is 319? | <s>[INST]What is the original air date of the episode with production code is 319? Context: CREATE TABLE table_29436059_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_29436059_1 WHERE production_code = 319</s> |
CREATE TABLE table_name_44 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR) | SELECT nationality FROM table_name_44 WHERE college_junior_club_team__league_ = "northwood school (n.y.)" | What nationality is Northwood School (N.Y.)? | <s>[INST]What nationality is Northwood School (N.Y.)? Context: CREATE TABLE table_name_44 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)[/INST]SELECT nationality FROM table_name_44 WHERE college_junior_club_team__league_ = "northwood school (n.y.)"</s> |
CREATE TABLE table_name_89 (voltage_input_ VARCHAR, v_a VARCHAR, model VARCHAR) | SELECT voltage_input_[v_a] FROM table_name_89 WHERE model = "whr-g54s" | What is the voltage iinput [V/A] of the whr-g54s model? | <s>[INST]What is the voltage iinput [V/A] of the whr-g54s model? Context: CREATE TABLE table_name_89 (voltage_input_ VARCHAR, v_a VARCHAR, model VARCHAR)[/INST]SELECT voltage_input_[v_a] FROM table_name_89 WHERE model = "whr-g54s"</s> |
CREATE TABLE table_name_43 (region INTEGER, area__km_2__ VARCHAR, population VARCHAR) | SELECT AVG(region) FROM table_name_43 WHERE area__km_2__ = 451.79 AND population < 496 OFFSET 257 | What is the average region that has an Area (km 2 ) of 451.79, and a Population under 496,257? | <s>[INST]What is the average region that has an Area (km 2 ) of 451.79, and a Population under 496,257? Context: CREATE TABLE table_name_43 (region INTEGER, area__km_2__ VARCHAR, population VARCHAR)[/INST]SELECT AVG(region) FROM table_name_43 WHERE area__km_2__ = 451.79 AND population < 496 OFFSET 257</s> |
CREATE TABLE table_name_92 (date VARCHAR, tournament VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_92 WHERE tournament = "san diego" AND opponent = "ann grossman" | What is the date when the tournament is san diego and the opponent is ann grossman? | <s>[INST]What is the date when the tournament is san diego and the opponent is ann grossman? Context: CREATE TABLE table_name_92 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE tournament = "san diego" AND opponent = "ann grossman"</s> |
CREATE TABLE table_name_38 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_38 WHERE away_team = "perth wildcats" | What was the score for the Perth Wildcats as away team? | <s>[INST]What was the score for the Perth Wildcats as away team? Context: CREATE TABLE table_name_38 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE away_team = "perth wildcats"</s> |
CREATE TABLE table_21100348_10 (rank INTEGER, player VARCHAR) | SELECT MIN(rank) FROM table_21100348_10 WHERE player = "Michael Bevan" | What was the smallest numbered rank for Michael Bevan? | <s>[INST]What was the smallest numbered rank for Michael Bevan? Context: CREATE TABLE table_21100348_10 (rank INTEGER, player VARCHAR)[/INST]SELECT MIN(rank) FROM table_21100348_10 WHERE player = "Michael Bevan"</s> |
CREATE TABLE table_name_72 (event VARCHAR, date VARCHAR) | SELECT event FROM table_name_72 WHERE date = "august 20-august 27" | What is Event, when Date is August 20-August 27? | <s>[INST]What is Event, when Date is August 20-August 27? Context: CREATE TABLE table_name_72 (event VARCHAR, date VARCHAR)[/INST]SELECT event FROM table_name_72 WHERE date = "august 20-august 27"</s> |
CREATE TABLE table_name_15 (seasons_in_csl VARCHAR, top_division_titles__overall_ VARCHAR, home_stadium VARCHAR) | SELECT seasons_in_csl FROM table_name_15 WHERE top_division_titles__overall_ = 0 AND home_stadium = "guiyang olympic sports center" | What were the years for Seasons in CSL when they played in the Guiyang Olympic Sports Center and had Top Division Titles (Overall) of 0? | <s>[INST]What were the years for Seasons in CSL when they played in the Guiyang Olympic Sports Center and had Top Division Titles (Overall) of 0? Context: CREATE TABLE table_name_15 (seasons_in_csl VARCHAR, top_division_titles__overall_ VARCHAR, home_stadium VARCHAR)[/INST]SELECT seasons_in_csl FROM table_name_15 WHERE... |
CREATE TABLE table_name_18 (three_mora_word VARCHAR, one_mora VARCHAR, accented_mora VARCHAR) | SELECT three_mora_word FROM table_name_18 WHERE NOT accented_mora = "low tone" AND one_mora = "2" | What is the three-mora word with a low tone accented mora and a one mora of 2? | <s>[INST]What is the three-mora word with a low tone accented mora and a one mora of 2? Context: CREATE TABLE table_name_18 (three_mora_word VARCHAR, one_mora VARCHAR, accented_mora VARCHAR)[/INST]SELECT three_mora_word FROM table_name_18 WHERE NOT accented_mora = "low tone" AND one_mora = "2"</s> |
CREATE TABLE table_name_37 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_37 WHERE attendance = "90,138" | Which week's game had an attendance of 90,138? | <s>[INST]Which week's game had an attendance of 90,138? Context: CREATE TABLE table_name_37 (week VARCHAR, attendance VARCHAR)[/INST]SELECT week FROM table_name_37 WHERE attendance = "90,138"</s> |
CREATE TABLE table_name_98 (f_laps VARCHAR, final_placing VARCHAR, podiums VARCHAR, season VARCHAR) | SELECT f_laps FROM table_name_98 WHERE podiums = "1" AND season = 2000 AND final_placing = "nc" | Which F/Laps has Podiums of 1, and a Season of 2000, and a Final Placing of nc? | <s>[INST]Which F/Laps has Podiums of 1, and a Season of 2000, and a Final Placing of nc? Context: CREATE TABLE table_name_98 (f_laps VARCHAR, final_placing VARCHAR, podiums VARCHAR, season VARCHAR)[/INST]SELECT f_laps FROM table_name_98 WHERE podiums = "1" AND season = 2000 AND final_placing = "nc"</s> |
CREATE TABLE table_name_5 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_5 WHERE loss = "geisel (0-1)" | What was the date of the game that had a loss of Geisel (0-1)? | <s>[INST]What was the date of the game that had a loss of Geisel (0-1)? Context: CREATE TABLE table_name_5 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_5 WHERE loss = "geisel (0-1)"</s> |
CREATE TABLE table_name_58 (lost VARCHAR, drawn VARCHAR, points_against VARCHAR) | SELECT lost FROM table_name_58 WHERE drawn = "2" AND points_against = "572" | What is the lost number for the team with 2 drawn games, and 572 points against? | <s>[INST]What is the lost number for the team with 2 drawn games, and 572 points against? Context: CREATE TABLE table_name_58 (lost VARCHAR, drawn VARCHAR, points_against VARCHAR)[/INST]SELECT lost FROM table_name_58 WHERE drawn = "2" AND points_against = "572"</s> |
CREATE TABLE table_1920271_3 (partner VARCHAR, outcome VARCHAR, championship VARCHAR) | SELECT partner FROM table_1920271_3 WHERE outcome = "Runner-up" AND championship = "US Open" | Who was her partner at the US Open and they were runner-up? | <s>[INST]Who was her partner at the US Open and they were runner-up? Context: CREATE TABLE table_1920271_3 (partner VARCHAR, outcome VARCHAR, championship VARCHAR)[/INST]SELECT partner FROM table_1920271_3 WHERE outcome = "Runner-up" AND championship = "US Open"</s> |
CREATE TABLE table_22645714_5 (regular_season_winner VARCHAR, tournament_winner VARCHAR) | SELECT regular_season_winner FROM table_22645714_5 WHERE tournament_winner = "Arkansas-Pine Bluff" | Who had the best regular season in the contest won by Arkansas-Pine Bluff? | <s>[INST]Who had the best regular season in the contest won by Arkansas-Pine Bluff? Context: CREATE TABLE table_22645714_5 (regular_season_winner VARCHAR, tournament_winner VARCHAR)[/INST]SELECT regular_season_winner FROM table_22645714_5 WHERE tournament_winner = "Arkansas-Pine Bluff"</s> |
CREATE TABLE table_name_83 (try_bonus VARCHAR, drawn VARCHAR, points_for VARCHAR) | SELECT try_bonus FROM table_name_83 WHERE drawn = "0" AND points_for = "427" | What try bonus drew 0 and scored 427 points for? | <s>[INST]What try bonus drew 0 and scored 427 points for? Context: CREATE TABLE table_name_83 (try_bonus VARCHAR, drawn VARCHAR, points_for VARCHAR)[/INST]SELECT try_bonus FROM table_name_83 WHERE drawn = "0" AND points_for = "427"</s> |
CREATE TABLE table_28211988_1 (host VARCHAR, mens_singles VARCHAR) | SELECT host FROM table_28211988_1 WHERE mens_singles = "Ma Wenge" | Who are all hosts when men's singles is Ma Wenge? | <s>[INST]Who are all hosts when men's singles is Ma Wenge? Context: CREATE TABLE table_28211988_1 (host VARCHAR, mens_singles VARCHAR)[/INST]SELECT host FROM table_28211988_1 WHERE mens_singles = "Ma Wenge"</s> |
CREATE TABLE table_name_38 (total_foreign_born__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR) | SELECT MIN(total_foreign_born__millions_) FROM table_name_38 WHERE born_in_a_non_eu_state__millions_ = 6.415 | What was the lowest number of Total Foreign-born (millions) people, when the number of people Born in a non EU state (millions) was 6.415? | <s>[INST]What was the lowest number of Total Foreign-born (millions) people, when the number of people Born in a non EU state (millions) was 6.415? Context: CREATE TABLE table_name_38 (total_foreign_born__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR)[/INST]SELECT MIN(total_foreign_born__millions_) FROM ... |
CREATE TABLE table_name_37 (college VARCHAR, name VARCHAR, round VARCHAR, pick__number VARCHAR) | SELECT college FROM table_name_37 WHERE round < 7 AND pick__number < 27 AND name = "anthony maddox" | Which College has a Round smaller than 7, and a Pick # smaller than 27, and a Name of anthony maddox? | <s>[INST]Which College has a Round smaller than 7, and a Pick # smaller than 27, and a Name of anthony maddox? Context: CREATE TABLE table_name_37 (college VARCHAR, name VARCHAR, round VARCHAR, pick__number VARCHAR)[/INST]SELECT college FROM table_name_37 WHERE round < 7 AND pick__number < 27 AND name = "anthony maddox... |
CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_west_südwest VARCHAR) | SELECT season FROM table_14242137_11 WHERE regionalliga_west_südwest = "Arminia Bielefeld" | what's the season with regionalliga west/südwest being arminia bielefeld | <s>[INST]what's the season with regionalliga west/südwest being arminia bielefeld Context: CREATE TABLE table_14242137_11 (season VARCHAR, regionalliga_west_südwest VARCHAR)[/INST]SELECT season FROM table_14242137_11 WHERE regionalliga_west_südwest = "Arminia Bielefeld"</s> |
CREATE TABLE table_name_83 (finish VARCHAR, country VARCHAR) | SELECT finish FROM table_name_83 WHERE country = "fiji" | For the player from Fiji, what was his finish? | <s>[INST]For the player from Fiji, what was his finish? Context: CREATE TABLE table_name_83 (finish VARCHAR, country VARCHAR)[/INST]SELECT finish FROM table_name_83 WHERE country = "fiji"</s> |
CREATE TABLE table_name_71 (game INTEGER, november VARCHAR, record VARCHAR) | SELECT SUM(game) FROM table_name_71 WHERE november < 27 AND record = "2-0-0" | When the record is listed as 2-0-0, and the November date is less than 27, what is the sum of the game? | <s>[INST]When the record is listed as 2-0-0, and the November date is less than 27, what is the sum of the game? Context: CREATE TABLE table_name_71 (game INTEGER, november VARCHAR, record VARCHAR)[/INST]SELECT SUM(game) FROM table_name_71 WHERE november < 27 AND record = "2-0-0"</s> |
CREATE TABLE table_name_52 (game INTEGER, opponent VARCHAR) | SELECT SUM(game) FROM table_name_52 WHERE opponent = "@ phoenix suns" | Opponent of @ phoenix suns had what sum of game? | <s>[INST]Opponent of @ phoenix suns had what sum of game? Context: CREATE TABLE table_name_52 (game INTEGER, opponent VARCHAR)[/INST]SELECT SUM(game) FROM table_name_52 WHERE opponent = "@ phoenix suns"</s> |
CREATE TABLE school (LOCATION VARCHAR, Enrollment VARCHAR) | SELECT LOCATION FROM school ORDER BY Enrollment | List the locations of schools in ascending order of enrollment. | <s>[INST]List the locations of schools in ascending order of enrollment. Context: CREATE TABLE school (LOCATION VARCHAR, Enrollment VARCHAR)[/INST]SELECT LOCATION FROM school ORDER BY Enrollment</s> |
CREATE TABLE BOOKINGS (Status_Code VARCHAR) | SELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC LIMIT 1 | What is the most frequent status of bookings? | <s>[INST]What is the most frequent status of bookings? Context: CREATE TABLE BOOKINGS (Status_Code VARCHAR)[/INST]SELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_4 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_4 WHERE time_retired = "+16.874 secs" AND grid < 5 | What are the average Laps for the time/retired of +16.874 secs, and a grid less than 5? | <s>[INST]What are the average Laps for the time/retired of +16.874 secs, and a grid less than 5? Context: CREATE TABLE table_name_4 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_4 WHERE time_retired = "+16.874 secs" AND grid < 5</s> |
CREATE TABLE table_27902171_4 (high_points VARCHAR, record VARCHAR) | SELECT high_points FROM table_27902171_4 WHERE record = "8-5" | Who had the high point total when they were 8-5? | <s>[INST]Who had the high point total when they were 8-5? Context: CREATE TABLE table_27902171_4 (high_points VARCHAR, record VARCHAR)[/INST]SELECT high_points FROM table_27902171_4 WHERE record = "8-5"</s> |
CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_26 WHERE opponent = "zaza tkeshelashvili" | What is the location of the fight against Zaza Tkeshelashvili? | <s>[INST]What is the location of the fight against Zaza Tkeshelashvili? Context: CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_26 WHERE opponent = "zaza tkeshelashvili"</s> |
CREATE TABLE table_name_38 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_38 WHERE score = "2–0" | What Competition had a Score of 2–0? | <s>[INST]What Competition had a Score of 2–0? Context: CREATE TABLE table_name_38 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_38 WHERE score = "2–0"</s> |
CREATE TABLE table_19061741_1 (season VARCHAR, name VARCHAR) | SELECT season FROM table_19061741_1 WHERE name = "Luz McClinton" | When luz mcclinton is the name what is the season? | <s>[INST]When luz mcclinton is the name what is the season? Context: CREATE TABLE table_19061741_1 (season VARCHAR, name VARCHAR)[/INST]SELECT season FROM table_19061741_1 WHERE name = "Luz McClinton"</s> |
CREATE TABLE table_name_79 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_79 WHERE score = 71 - 71 - 70 - 73 = 285 | In the game that has a score of 71-71-70-73=285 what is the to par? | <s>[INST]In the game that has a score of 71-71-70-73=285 what is the to par? Context: CREATE TABLE table_name_79 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_79 WHERE score = 71 - 71 - 70 - 73 = 285</s> |
CREATE TABLE table_1341453_44 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1341453_44 WHERE incumbent = "Bob Clement" | What year was Bob Clement first elected? | <s>[INST]What year was Bob Clement first elected? Context: CREATE TABLE table_1341453_44 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1341453_44 WHERE incumbent = "Bob Clement"</s> |
CREATE TABLE table_name_64 (population INTEGER, area__km_2__ VARCHAR, type VARCHAR, name VARCHAR) | SELECT MIN(population) FROM table_name_64 WHERE type = "m" AND name = "saint-blaise-sur-richelieu" AND area__km_2__ < 68.42 | Saint-Blaise-Sur-Richelieu is smaller than 68.42 km^2, what is the population of this type M municipality? | <s>[INST]Saint-Blaise-Sur-Richelieu is smaller than 68.42 km^2, what is the population of this type M municipality? Context: CREATE TABLE table_name_64 (population INTEGER, area__km_2__ VARCHAR, type VARCHAR, name VARCHAR)[/INST]SELECT MIN(population) FROM table_name_64 WHERE type = "m" AND name = "saint-blaise-sur-ric... |
CREATE TABLE table_1342149_24 (result VARCHAR, district VARCHAR) | SELECT result FROM table_1342149_24 WHERE district = "Mississippi 2" | Name the result for mississippi 2 | <s>[INST]Name the result for mississippi 2 Context: CREATE TABLE table_1342149_24 (result VARCHAR, district VARCHAR)[/INST]SELECT result FROM table_1342149_24 WHERE district = "Mississippi 2"</s> |
CREATE TABLE table_name_73 (owner VARCHAR, name VARCHAR) | SELECT owner FROM table_name_73 WHERE name = "mrt 1 hd" | Which owner had MRT 1 HD? | <s>[INST]Which owner had MRT 1 HD? Context: CREATE TABLE table_name_73 (owner VARCHAR, name VARCHAR)[/INST]SELECT owner FROM table_name_73 WHERE name = "mrt 1 hd"</s> |
CREATE TABLE table_name_61 (player VARCHAR, school VARCHAR) | SELECT player FROM table_name_61 WHERE school = "st. benedict's prep" | What is the player that went to st. benedict's prep? | <s>[INST]What is the player that went to st. benedict's prep? Context: CREATE TABLE table_name_61 (player VARCHAR, school VARCHAR)[/INST]SELECT player FROM table_name_61 WHERE school = "st. benedict's prep"</s> |
CREATE TABLE table_name_3 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_3 WHERE date = "jun 17, 1973" | What was the name of the tournament played on Jun 17, 1973? | <s>[INST]What was the name of the tournament played on Jun 17, 1973? Context: CREATE TABLE table_name_3 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_3 WHERE date = "jun 17, 1973"</s> |
CREATE TABLE table_17641206_6 (episode VARCHAR, written_by VARCHAR) | SELECT COUNT(episode) FROM table_17641206_6 WHERE written_by = "David Cantor" | Name the total number of episodes written by david cantor | <s>[INST]Name the total number of episodes written by david cantor Context: CREATE TABLE table_17641206_6 (episode VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(episode) FROM table_17641206_6 WHERE written_by = "David Cantor"</s> |
CREATE TABLE table_11603267_1 (tournament VARCHAR, location VARCHAR) | SELECT tournament FROM table_11603267_1 WHERE location = "Arizona" | Name the tournament for arizona | <s>[INST]Name the tournament for arizona Context: CREATE TABLE table_11603267_1 (tournament VARCHAR, location VARCHAR)[/INST]SELECT tournament FROM table_11603267_1 WHERE location = "Arizona"</s> |
CREATE TABLE table_name_26 (losses INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR) | SELECT SUM(losses) FROM table_name_26 WHERE goal_difference < -2 AND club = "cd sabadell" AND played > 38 | How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played? | <s>[INST]How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played? Context: CREATE TABLE table_name_26 (losses INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)[/INST]SELECT SUM(losses) FROM table_name_26 WHERE goal_difference < -2 AND club = "cd sabad... |
CREATE TABLE table_name_11 (format VARCHAR, owner VARCHAR, frequency VARCHAR) | SELECT format FROM table_name_11 WHERE owner = "cherry creek radio" AND frequency = "0 92.1 fm" | What is the format for Cherry Creek Radio with frequency of 0 92.1 fm? | <s>[INST]What is the format for Cherry Creek Radio with frequency of 0 92.1 fm? Context: CREATE TABLE table_name_11 (format VARCHAR, owner VARCHAR, frequency VARCHAR)[/INST]SELECT format FROM table_name_11 WHERE owner = "cherry creek radio" AND frequency = "0 92.1 fm"</s> |
CREATE TABLE table_name_2 (bronze VARCHAR, rank INTEGER) | SELECT bronze FROM table_name_2 WHERE rank > 5 | What is the bronze value associated with ranks over 5? | <s>[INST]What is the bronze value associated with ranks over 5? Context: CREATE TABLE table_name_2 (bronze VARCHAR, rank INTEGER)[/INST]SELECT bronze FROM table_name_2 WHERE rank > 5</s> |
CREATE TABLE table_name_68 (away_team VARCHAR, attendance VARCHAR) | SELECT away_team FROM table_name_68 WHERE attendance = "3,395" | What Away team had an Attendance of 3,395? | <s>[INST]What Away team had an Attendance of 3,395? Context: CREATE TABLE table_name_68 (away_team VARCHAR, attendance VARCHAR)[/INST]SELECT away_team FROM table_name_68 WHERE attendance = "3,395"</s> |
CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR) | SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY COUNT(*) DESC LIMIT 1 | Which airline has most number of flights? | <s>[INST]Which airline has most number of flights? Context: CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR)[/INST]SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_66 (laps INTEGER, driver VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_66 WHERE driver = "damon hill" AND grid < 1 | What is the average Lap of damon hill, with a Grid smaller than 1? | <s>[INST]What is the average Lap of damon hill, with a Grid smaller than 1? Context: CREATE TABLE table_name_66 (laps INTEGER, driver VARCHAR, grid VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_66 WHERE driver = "damon hill" AND grid < 1</s> |
CREATE TABLE table_name_68 (points_against VARCHAR, losing_bonus VARCHAR, tries_for VARCHAR) | SELECT points_against FROM table_name_68 WHERE losing_bonus = "3" AND tries_for = "84" | How many points against did the club with a losing bonus of 3 and 84 tries have? | <s>[INST]How many points against did the club with a losing bonus of 3 and 84 tries have? Context: CREATE TABLE table_name_68 (points_against VARCHAR, losing_bonus VARCHAR, tries_for VARCHAR)[/INST]SELECT points_against FROM table_name_68 WHERE losing_bonus = "3" AND tries_for = "84"</s> |
CREATE TABLE table_14966667_19 (class VARCHAR, name VARCHAR) | SELECT COUNT(class) FROM table_14966667_19 WHERE name = "Braxton Kelley" | what class is Braxton Kelley in? | <s>[INST]what class is Braxton Kelley in? Context: CREATE TABLE table_14966667_19 (class VARCHAR, name VARCHAR)[/INST]SELECT COUNT(class) FROM table_14966667_19 WHERE name = "Braxton Kelley"</s> |
CREATE TABLE table_name_8 (born_died VARCHAR, entered_office VARCHAR) | SELECT born_died FROM table_name_8 WHERE entered_office = "13 september 1229" | What is the born-died that has office of 13 September 1229 as the entered? | <s>[INST]What is the born-died that has office of 13 September 1229 as the entered? Context: CREATE TABLE table_name_8 (born_died VARCHAR, entered_office VARCHAR)[/INST]SELECT born_died FROM table_name_8 WHERE entered_office = "13 september 1229"</s> |
CREATE TABLE table_name_48 (competition VARCHAR, away_result VARCHAR, season VARCHAR) | SELECT competition FROM table_name_48 WHERE away_result = "0–3" AND season = "1969-70" | Away result of 0–3, and a Season of 1969-70 is what competition? | <s>[INST]Away result of 0–3, and a Season of 1969-70 is what competition? Context: CREATE TABLE table_name_48 (competition VARCHAR, away_result VARCHAR, season VARCHAR)[/INST]SELECT competition FROM table_name_48 WHERE away_result = "0–3" AND season = "1969-70"</s> |
CREATE TABLE table_name_83 (division VARCHAR, apps VARCHAR, country VARCHAR) | SELECT COUNT(division) FROM table_name_83 WHERE apps > 5 AND country = "greece" | Name the total number of division for apps more than 5 for greece | <s>[INST]Name the total number of division for apps more than 5 for greece Context: CREATE TABLE table_name_83 (division VARCHAR, apps VARCHAR, country VARCHAR)[/INST]SELECT COUNT(division) FROM table_name_83 WHERE apps > 5 AND country = "greece"</s> |
CREATE TABLE table_name_86 (seats INTEGER, election VARCHAR) | SELECT MIN(seats) FROM table_name_86 WHERE election = 1992 | What is the lowest number of seats of the 1992 election? | <s>[INST]What is the lowest number of seats of the 1992 election? Context: CREATE TABLE table_name_86 (seats INTEGER, election VARCHAR)[/INST]SELECT MIN(seats) FROM table_name_86 WHERE election = 1992</s> |
CREATE TABLE table_1341718_44 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1341718_44 WHERE incumbent = "Ray Roberts" | What was the result when Ray Roberts was elected? | <s>[INST]What was the result when Ray Roberts was elected? Context: CREATE TABLE table_1341718_44 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1341718_44 WHERE incumbent = "Ray Roberts"</s> |
CREATE TABLE table_name_58 (cores VARCHAR, l3_cache VARCHAR, frequency VARCHAR) | SELECT cores FROM table_name_58 WHERE l3_cache = "8 mb" AND frequency = "2.5 ghz" | What is the cores when the L3 cache is 8 mb, and the frequency is 2.5 ghz? | <s>[INST]What is the cores when the L3 cache is 8 mb, and the frequency is 2.5 ghz? Context: CREATE TABLE table_name_58 (cores VARCHAR, l3_cache VARCHAR, frequency VARCHAR)[/INST]SELECT cores FROM table_name_58 WHERE l3_cache = "8 mb" AND frequency = "2.5 ghz"</s> |
CREATE TABLE Student (city_code VARCHAR) | SELECT DISTINCT city_code FROM Student | Show all cities where students live. | <s>[INST]Show all cities where students live. Context: CREATE TABLE Student (city_code VARCHAR)[/INST]SELECT DISTINCT city_code FROM Student</s> |
CREATE TABLE table_name_59 (leading_lady VARCHAR, director VARCHAR, title VARCHAR) | SELECT leading_lady FROM table_name_59 WHERE director = "joseph kane" AND title = "the lonely trail" | Who is the leading lady in The Lonely Trail for Joseph Kane? | <s>[INST]Who is the leading lady in The Lonely Trail for Joseph Kane? Context: CREATE TABLE table_name_59 (leading_lady VARCHAR, director VARCHAR, title VARCHAR)[/INST]SELECT leading_lady FROM table_name_59 WHERE director = "joseph kane" AND title = "the lonely trail"</s> |
CREATE TABLE table_name_54 (silver INTEGER, gold VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_54 WHERE gold > 4 AND total < 24 | What is the silver number when gold is more than 4, and the total is less than 24? | <s>[INST]What is the silver number when gold is more than 4, and the total is less than 24? Context: CREATE TABLE table_name_54 (silver INTEGER, gold VARCHAR, total VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_54 WHERE gold > 4 AND total < 24</s> |
CREATE TABLE table_name_72 (torque VARCHAR, engine VARCHAR) | SELECT torque FROM table_name_72 WHERE engine = "6.3l v12" | What is the torque of the 6.3l v12 engine? | <s>[INST]What is the torque of the 6.3l v12 engine? Context: CREATE TABLE table_name_72 (torque VARCHAR, engine VARCHAR)[/INST]SELECT torque FROM table_name_72 WHERE engine = "6.3l v12"</s> |
CREATE TABLE table_25572118_1 (winning_team VARCHAR, series VARCHAR) | SELECT winning_team FROM table_25572118_1 WHERE series = "FR2.0 9" | When fr2.0 9 is the series who is the winning team? | <s>[INST]When fr2.0 9 is the series who is the winning team? Context: CREATE TABLE table_25572118_1 (winning_team VARCHAR, series VARCHAR)[/INST]SELECT winning_team FROM table_25572118_1 WHERE series = "FR2.0 9"</s> |
CREATE TABLE table_name_95 (fleet_number_s_ VARCHAR, class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR) | SELECT fleet_number_s_ FROM table_name_95 WHERE quantity_preserved = "0" AND quantity_made = "1" AND class = "z" | What is Fleet Number(s), when Quantity Preserved is "0", when Quantity Made is 1, and when Class is "Z"? | <s>[INST]What is Fleet Number(s), when Quantity Preserved is "0", when Quantity Made is 1, and when Class is "Z"? Context: CREATE TABLE table_name_95 (fleet_number_s_ VARCHAR, class VARCHAR, quantity_preserved VARCHAR, quantity_made VARCHAR)[/INST]SELECT fleet_number_s_ FROM table_name_95 WHERE quantity_preserved = "0"... |
CREATE TABLE table_name_27 (year VARCHAR, wimbledon VARCHAR) | SELECT COUNT(year) FROM table_name_27 WHERE wimbledon = "andy murray" | What is the total number of years Andy Murray was at Wimbledon? | <s>[INST]What is the total number of years Andy Murray was at Wimbledon? Context: CREATE TABLE table_name_27 (year VARCHAR, wimbledon VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_27 WHERE wimbledon = "andy murray"</s> |
CREATE TABLE table_name_46 (tournaments INTEGER, highest_rank VARCHAR) | SELECT MIN(tournaments) FROM table_name_46 WHERE highest_rank = "maegashira 13" | What is the lowest Tournaments with Highest Rank of Maegashira 13? | <s>[INST]What is the lowest Tournaments with Highest Rank of Maegashira 13? Context: CREATE TABLE table_name_46 (tournaments INTEGER, highest_rank VARCHAR)[/INST]SELECT MIN(tournaments) FROM table_name_46 WHERE highest_rank = "maegashira 13"</s> |
CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_34 WHERE date = "october 11" | Name the record for october 11 | <s>[INST]Name the record for october 11 Context: CREATE TABLE table_name_34 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_34 WHERE date = "october 11"</s> |
CREATE TABLE table_16941304_4 (driver___passenger VARCHAR, points VARCHAR) | SELECT driver___passenger FROM table_16941304_4 WHERE points = 394 | Name the driver passenger for 394 points | <s>[INST]Name the driver passenger for 394 points Context: CREATE TABLE table_16941304_4 (driver___passenger VARCHAR, points VARCHAR)[/INST]SELECT driver___passenger FROM table_16941304_4 WHERE points = 394</s> |
CREATE TABLE table_name_61 (country VARCHAR, abbreviation VARCHAR) | SELECT country FROM table_name_61 WHERE abbreviation = "kia" | Which country has an abbreviation of kia? | <s>[INST]Which country has an abbreviation of kia? Context: CREATE TABLE table_name_61 (country VARCHAR, abbreviation VARCHAR)[/INST]SELECT country FROM table_name_61 WHERE abbreviation = "kia"</s> |
CREATE TABLE table_name_32 (english VARCHAR, what VARCHAR) | SELECT english FROM table_name_32 WHERE what = "ango" | What is the language, when "what" is "ango"? | <s>[INST]What is the language, when "what" is "ango"? Context: CREATE TABLE table_name_32 (english VARCHAR, what VARCHAR)[/INST]SELECT english FROM table_name_32 WHERE what = "ango"</s> |
CREATE TABLE table_name_21 (report VARCHAR, driver VARCHAR, location VARCHAR, year VARCHAR) | SELECT report FROM table_name_21 WHERE location = "tripoli" AND year > 1928 AND driver = "baconin borzacchini" | What is a report for a race with Baconin Borzacchini in Tripoli in a year after 1928? | <s>[INST]What is a report for a race with Baconin Borzacchini in Tripoli in a year after 1928? Context: CREATE TABLE table_name_21 (report VARCHAR, driver VARCHAR, location VARCHAR, year VARCHAR)[/INST]SELECT report FROM table_name_21 WHERE location = "tripoli" AND year > 1928 AND driver = "baconin borzacchini"</s> |
CREATE TABLE table_11964154_11 (high_assists VARCHAR, location_attendance VARCHAR) | SELECT high_assists FROM table_11964154_11 WHERE location_attendance = "Toyota Center 18,370" | Who had the high assists when the location attendance was Toyota Center 18,370? | <s>[INST]Who had the high assists when the location attendance was Toyota Center 18,370? Context: CREATE TABLE table_11964154_11 (high_assists VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_assists FROM table_11964154_11 WHERE location_attendance = "Toyota Center 18,370"</s> |
CREATE TABLE table_name_17 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_17 WHERE loss = "báez (5-5)" | Which Opponent has a Loss of báez (5-5)? | <s>[INST]Which Opponent has a Loss of báez (5-5)? Context: CREATE TABLE table_name_17 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_17 WHERE loss = "báez (5-5)"</s> |
CREATE TABLE table_name_16 (day_1 VARCHAR, day_3 VARCHAR) | SELECT day_1 FROM table_name_16 WHERE day_3 = "math" | What is the day 1 when the day 3 is math? | <s>[INST]What is the day 1 when the day 3 is math? Context: CREATE TABLE table_name_16 (day_1 VARCHAR, day_3 VARCHAR)[/INST]SELECT day_1 FROM table_name_16 WHERE day_3 = "math"</s> |
CREATE TABLE table_name_31 (part_3 VARCHAR, part_2 VARCHAR) | SELECT part_3 FROM table_name_31 WHERE part_2 = "*hegait" | What is the part 3 with *hegait in part 2? | <s>[INST]What is the part 3 with *hegait in part 2? Context: CREATE TABLE table_name_31 (part_3 VARCHAR, part_2 VARCHAR)[/INST]SELECT part_3 FROM table_name_31 WHERE part_2 = "*hegait"</s> |
CREATE TABLE table_name_86 (opponent VARCHAR, result VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_86 WHERE week < 15 AND attendance = "64,900" AND result = "l 38-31" | What is the Opponent at the game with an Attendance of 64,900 in Week prior to 15 with a Result of L 38-31? | <s>[INST]What is the Opponent at the game with an Attendance of 64,900 in Week prior to 15 with a Result of L 38-31? Context: CREATE TABLE table_name_86 (opponent VARCHAR, result VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_86 WHERE week < 15 AND attendance = "64,900" AND result = "l... |
CREATE TABLE table_name_91 (games VARCHAR, ast_avg VARCHAR, total_assists VARCHAR) | SELECT COUNT(games) FROM table_name_91 WHERE ast_avg > 2.7 AND total_assists > 598 | How many games for the player that has an over 2.7 assist average and over 598 total assists? | <s>[INST]How many games for the player that has an over 2.7 assist average and over 598 total assists? Context: CREATE TABLE table_name_91 (games VARCHAR, ast_avg VARCHAR, total_assists VARCHAR)[/INST]SELECT COUNT(games) FROM table_name_91 WHERE ast_avg > 2.7 AND total_assists > 598</s> |
CREATE TABLE table_name_55 (city VARCHAR, home_arena VARCHAR) | SELECT city FROM table_name_55 WHERE home_arena = "barclays center" | Which city includes Barclays Center? | <s>[INST]Which city includes Barclays Center? Context: CREATE TABLE table_name_55 (city VARCHAR, home_arena VARCHAR)[/INST]SELECT city FROM table_name_55 WHERE home_arena = "barclays center"</s> |
CREATE TABLE table_name_96 (ief_2011 VARCHAR, fsi_2012 VARCHAR) | SELECT ief_2011 FROM table_name_96 WHERE fsi_2012 = "99.2" | What is the IEF 2011 of the country with an FSI 2012 of 99.2? | <s>[INST]What is the IEF 2011 of the country with an FSI 2012 of 99.2? Context: CREATE TABLE table_name_96 (ief_2011 VARCHAR, fsi_2012 VARCHAR)[/INST]SELECT ief_2011 FROM table_name_96 WHERE fsi_2012 = "99.2"</s> |
CREATE TABLE table_18143210_2 (club VARCHAR, top_division_titles VARCHAR) | SELECT club FROM table_18143210_2 WHERE top_division_titles = 10 | What was the club that won 10 top division titles? | <s>[INST]What was the club that won 10 top division titles? Context: CREATE TABLE table_18143210_2 (club VARCHAR, top_division_titles VARCHAR)[/INST]SELECT club FROM table_18143210_2 WHERE top_division_titles = 10</s> |
CREATE TABLE table_2840500_3 (pick VARCHAR, college_junior_club_team VARCHAR) | SELECT COUNT(pick) FROM table_2840500_3 WHERE college_junior_club_team = "HC Dukla Trenčín (Slovakia)" | what is the number of the chosen club where the hc dukla trenčín (slovakia) is from | <s>[INST]what is the number of the chosen club where the hc dukla trenčín (slovakia) is from Context: CREATE TABLE table_2840500_3 (pick VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT COUNT(pick) FROM table_2840500_3 WHERE college_junior_club_team = "HC Dukla Trenčín (Slovakia)"</s> |
CREATE TABLE table_name_95 (loans_received VARCHAR, _2q VARCHAR, total_receipts VARCHAR) | SELECT loans_received, _2q FROM table_name_95 WHERE total_receipts = "$25,328,694" | Name the loans received for 2Q having total receipts of $25,328,694 | <s>[INST]Name the loans received for 2Q having total receipts of $25,328,694 Context: CREATE TABLE table_name_95 (loans_received VARCHAR, _2q VARCHAR, total_receipts VARCHAR)[/INST]SELECT loans_received, _2q FROM table_name_95 WHERE total_receipts = "$25,328,694"</s> |
CREATE TABLE table_name_68 (player VARCHAR, position VARCHAR, nationality VARCHAR) | SELECT player FROM table_name_68 WHERE position = "c" AND nationality = "denmark" | Who is the player from Denmark who plays position c? | <s>[INST]Who is the player from Denmark who plays position c? Context: CREATE TABLE table_name_68 (player VARCHAR, position VARCHAR, nationality VARCHAR)[/INST]SELECT player FROM table_name_68 WHERE position = "c" AND nationality = "denmark"</s> |
CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR) | SELECT SUM(laps) FROM table_name_76 WHERE driver = "satrio hermanto" | How many Laps have a Driver of satrio hermanto? | <s>[INST]How many Laps have a Driver of satrio hermanto? Context: CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_76 WHERE driver = "satrio hermanto"</s> |
CREATE TABLE table_name_7 (name VARCHAR, date_of_birth VARCHAR) | SELECT name FROM table_name_7 WHERE date_of_birth = "1982-01-29" | Who is born on 1982-01-29? | <s>[INST]Who is born on 1982-01-29? Context: CREATE TABLE table_name_7 (name VARCHAR, date_of_birth VARCHAR)[/INST]SELECT name FROM table_name_7 WHERE date_of_birth = "1982-01-29"</s> |
CREATE TABLE table_22941863_19 (team_classification VARCHAR, stage VARCHAR) | SELECT team_classification FROM table_22941863_19 WHERE stage = 9 | If the stage is 9, what is the team classification name? | <s>[INST]If the stage is 9, what is the team classification name? Context: CREATE TABLE table_22941863_19 (team_classification VARCHAR, stage VARCHAR)[/INST]SELECT team_classification FROM table_22941863_19 WHERE stage = 9</s> |
CREATE TABLE Has_allergy (Allergy VARCHAR) | SELECT Allergy FROM Has_allergy GROUP BY Allergy ORDER BY COUNT(*) DESC LIMIT 1 | Which allergy has most number of students affected? | <s>[INST]Which allergy has most number of students affected? Context: CREATE TABLE Has_allergy (Allergy VARCHAR)[/INST]SELECT Allergy FROM Has_allergy GROUP BY Allergy ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_57 (type_of_game VARCHAR, date VARCHAR) | SELECT type_of_game FROM table_name_57 WHERE date = "december 22" | What type of game was held on December 22? | <s>[INST]What type of game was held on December 22? Context: CREATE TABLE table_name_57 (type_of_game VARCHAR, date VARCHAR)[/INST]SELECT type_of_game FROM table_name_57 WHERE date = "december 22"</s> |
CREATE TABLE table_30120605_1 (area__acres__ VARCHAR, townland VARCHAR) | SELECT area__acres__ FROM table_30120605_1 WHERE townland = "Gortnaskehy" | What is the area in acres of gortnaskehy? | <s>[INST]What is the area in acres of gortnaskehy? Context: CREATE TABLE table_30120605_1 (area__acres__ VARCHAR, townland VARCHAR)[/INST]SELECT area__acres__ FROM table_30120605_1 WHERE townland = "Gortnaskehy"</s> |
CREATE TABLE table_14460937_2 (pos VARCHAR, member_association VARCHAR) | SELECT COUNT(pos) FROM table_14460937_2 WHERE member_association = "China PR" | how many pos with member association being china pr | <s>[INST] how many pos with member association being china pr Context: CREATE TABLE table_14460937_2 (pos VARCHAR, member_association VARCHAR)[/INST]SELECT COUNT(pos) FROM table_14460937_2 WHERE member_association = "China PR"</s> |
CREATE TABLE table_name_74 (eliminated VARCHAR, entered VARCHAR, time VARCHAR) | SELECT eliminated FROM table_name_74 WHERE entered > 3 AND time = "35:55" | Who was eliminated that entered after number 3 and lasted 35:55? | <s>[INST]Who was eliminated that entered after number 3 and lasted 35:55? Context: CREATE TABLE table_name_74 (eliminated VARCHAR, entered VARCHAR, time VARCHAR)[/INST]SELECT eliminated FROM table_name_74 WHERE entered > 3 AND time = "35:55"</s> |
CREATE TABLE table_name_21 (player VARCHAR, balls VARCHAR) | SELECT player FROM table_name_21 WHERE balls = 50 | Which player had 50 balls? | <s>[INST]Which player had 50 balls? Context: CREATE TABLE table_name_21 (player VARCHAR, balls VARCHAR)[/INST]SELECT player FROM table_name_21 WHERE balls = 50</s> |
CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR) | SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-21xxT" | What i/o buses are associated with the brand name Core i3-21xxt? | <s>[INST]What i/o buses are associated with the brand name Core i3-21xxt? Context: CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR)[/INST]SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-21xxT"</s> |
CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR) | SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Movies' INTERSECT SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T2 ON T1.id = T2.track_id JOIN playlists AS T3 ON T2.playlist_id = T3.id WHERE T3.name = 'Music' | Find the name of tracks which are in both Movies and music playlists. | <s>[INST]Find the name of tracks which are in both Movies and music playlists. Context: CREATE TABLE playlists (id VARCHAR, name VARCHAR); CREATE TABLE playlist_tracks (track_id VARCHAR, playlist_id VARCHAR); CREATE TABLE tracks (name VARCHAR, id VARCHAR)[/INST]SELECT T1.name FROM tracks AS T1 JOIN playlist_tracks AS T... |
CREATE TABLE table_name_90 (downhill VARCHAR, overall VARCHAR) | SELECT downhill FROM table_name_90 WHERE overall = "7" | Which downhill has 7 overalls? | <s>[INST]Which downhill has 7 overalls? Context: CREATE TABLE table_name_90 (downhill VARCHAR, overall VARCHAR)[/INST]SELECT downhill FROM table_name_90 WHERE overall = "7"</s> |
CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR) | SELECT winner FROM table_name_30 WHERE score = "1 – 0" AND season = "2011–12" | Which Winner has a Score of 1 – 0, and a Season of 2011–12? | <s>[INST]Which Winner has a Score of 1 – 0, and a Season of 2011–12? Context: CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR)[/INST]SELECT winner FROM table_name_30 WHERE score = "1 – 0" AND season = "2011–12"</s> |
CREATE TABLE table_name_37 (nationality VARCHAR, lane VARCHAR, rank VARCHAR) | SELECT nationality FROM table_name_37 WHERE lane > 4 AND rank > 5 | What is the Nationality of the Swimmer in Lane 4 or larger with a Rank of 5 or more? | <s>[INST]What is the Nationality of the Swimmer in Lane 4 or larger with a Rank of 5 or more? Context: CREATE TABLE table_name_37 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)[/INST]SELECT nationality FROM table_name_37 WHERE lane > 4 AND rank > 5</s> |
CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR) | SELECT mccain_percentage FROM table_20799905_1 WHERE county = "HAMILTON" | What percentage did McCain get in Hamilton county? | <s>[INST]What percentage did McCain get in Hamilton county? Context: CREATE TABLE table_20799905_1 (mccain_percentage VARCHAR, county VARCHAR)[/INST]SELECT mccain_percentage FROM table_20799905_1 WHERE county = "HAMILTON"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.