context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_2169966_2 (winnings VARCHAR, top_10 VARCHAR) | SELECT winnings FROM table_2169966_2 WHERE top_10 = 14 | What were his winnings when he had 14 top 10s? | <s>[INST]What were his winnings when he had 14 top 10s? Context: CREATE TABLE table_2169966_2 (winnings VARCHAR, top_10 VARCHAR)[/INST]SELECT winnings FROM table_2169966_2 WHERE top_10 = 14</s> |
CREATE TABLE table_name_19 (rank INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT AVG(rank) FROM table_name_19 WHERE bronze = 2 AND total = 2 AND gold < 0 | What is the average Rank when there are 2 bronze, the total is 2 and gold is less than 0? | <s>[INST]What is the average Rank when there are 2 bronze, the total is 2 and gold is less than 0? Context: CREATE TABLE table_name_19 (rank INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_19 WHERE bronze = 2 AND total = 2 AND gold < 0</s> |
CREATE TABLE table_11233358_2 (ties INTEGER) | SELECT MAX(ties) FROM table_11233358_2 | What is the highest number of ties? | <s>[INST]What is the highest number of ties? Context: CREATE TABLE table_11233358_2 (ties INTEGER)[/INST]SELECT MAX(ties) FROM table_11233358_2</s> |
CREATE TABLE table_name_4 (win__percentage VARCHAR, losses VARCHAR) | SELECT win__percentage FROM table_name_4 WHERE losses = "48" | What percentage of wins has 48 losses? | <s>[INST]What percentage of wins has 48 losses? Context: CREATE TABLE table_name_4 (win__percentage VARCHAR, losses VARCHAR)[/INST]SELECT win__percentage FROM table_name_4 WHERE losses = "48"</s> |
CREATE TABLE table_name_61 (attendance VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_61 WHERE record = "34-51" | Name the attendance with record of 34-51 | <s>[INST]Name the attendance with record of 34-51 Context: CREATE TABLE table_name_61 (attendance VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_61 WHERE record = "34-51"</s> |
CREATE TABLE photos (id VARCHAR, camera_lens_id VARCHAR); CREATE TABLE camera_lens (id VARCHAR, camera_lens_id VARCHAR) | SELECT COUNT(*) FROM camera_lens WHERE NOT id IN (SELECT camera_lens_id FROM photos) | How many camera lenses are not used in taking any photos? | <s>[INST]How many camera lenses are not used in taking any photos? Context: CREATE TABLE photos (id VARCHAR, camera_lens_id VARCHAR); CREATE TABLE camera_lens (id VARCHAR, camera_lens_id VARCHAR)[/INST]SELECT COUNT(*) FROM camera_lens WHERE NOT id IN (SELECT camera_lens_id FROM photos)</s> |
CREATE TABLE table_28204447_3 (tries_for VARCHAR, l INTEGER) | SELECT tries_for FROM table_28204447_3 WHERE l < 2.0 | Name the tries for when L is less than 2.0 | <s>[INST]Name the tries for when L is less than 2.0 Context: CREATE TABLE table_28204447_3 (tries_for VARCHAR, l INTEGER)[/INST]SELECT tries_for FROM table_28204447_3 WHERE l < 2.0</s> |
CREATE TABLE table_name_43 (year INTEGER, award VARCHAR) | SELECT SUM(year) FROM table_name_43 WHERE award = "ozone awards" | How many years had ozone awards? | <s>[INST]How many years had ozone awards? Context: CREATE TABLE table_name_43 (year INTEGER, award VARCHAR)[/INST]SELECT SUM(year) FROM table_name_43 WHERE award = "ozone awards"</s> |
CREATE TABLE table_name_91 (gold INTEGER, total VARCHAR, rank VARCHAR) | SELECT MAX(gold) FROM table_name_91 WHERE total = 2 AND rank < 2 | What is the largest gold with a Total of 2, and a Rank smaller than 2? | <s>[INST]What is the largest gold with a Total of 2, and a Rank smaller than 2? Context: CREATE TABLE table_name_91 (gold INTEGER, total VARCHAR, rank VARCHAR)[/INST]SELECT MAX(gold) FROM table_name_91 WHERE total = 2 AND rank < 2</s> |
CREATE TABLE table_27994983_8 (viewers INTEGER, draw VARCHAR) | SELECT MAX(viewers) FROM table_27994983_8 WHERE draw = 3 | How many viewers are the when the draw is 3? | <s>[INST]How many viewers are the when the draw is 3? Context: CREATE TABLE table_27994983_8 (viewers INTEGER, draw VARCHAR)[/INST]SELECT MAX(viewers) FROM table_27994983_8 WHERE draw = 3</s> |
CREATE TABLE table_name_93 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_93 WHERE home_team = "carlton" | When the Home team of carlton played, what was their score? | <s>[INST]When the Home team of carlton played, what was their score? Context: CREATE TABLE table_name_93 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_93 WHERE home_team = "carlton"</s> |
CREATE TABLE table_name_27 (_ VARCHAR, alignment_alignment VARCHAR, link VARCHAR) | SELECT alignment_alignment AS :_predicts_an_alignment_, _ FROM table_name_27 WHERE link = "linuxbinary" | What is the alignment that predicts an alignment of the linuxbinary link? | <s>[INST]What is the alignment that predicts an alignment of the linuxbinary link? Context: CREATE TABLE table_name_27 (_ VARCHAR, alignment_alignment VARCHAR, link VARCHAR)[/INST]SELECT alignment_alignment AS :_predicts_an_alignment_, _ FROM table_name_27 WHERE link = "linuxbinary"</s> |
CREATE TABLE table_name_55 (date_of_delivery VARCHAR, baby_gender VARCHAR, congresswoman VARCHAR) | SELECT date_of_delivery FROM table_name_55 WHERE baby_gender = "boy" AND congresswoman = "kirsten gillibrand" | What was the delivery date of Congresswoman Kirsten Gillibrand's baby boy? | <s>[INST]What was the delivery date of Congresswoman Kirsten Gillibrand's baby boy? Context: CREATE TABLE table_name_55 (date_of_delivery VARCHAR, baby_gender VARCHAR, congresswoman VARCHAR)[/INST]SELECT date_of_delivery FROM table_name_55 WHERE baby_gender = "boy" AND congresswoman = "kirsten gillibrand"</s> |
CREATE TABLE table_name_85 (player VARCHAR, nationality VARCHAR, pick VARCHAR) | SELECT player FROM table_name_85 WHERE nationality = "canada" AND pick = "43" | Tell me the player for nationality of canada for pick of 43 | <s>[INST]Tell me the player for nationality of canada for pick of 43 Context: CREATE TABLE table_name_85 (player VARCHAR, nationality VARCHAR, pick VARCHAR)[/INST]SELECT player FROM table_name_85 WHERE nationality = "canada" AND pick = "43"</s> |
CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, church_name VARCHAR) | SELECT split_off___continuation_of FROM table_name_40 WHERE church_name = "pure church of christ" | What was the Pure Church of Christ's Split off/ Continuation? | <s>[INST]What was the Pure Church of Christ's Split off/ Continuation? Context: CREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, church_name VARCHAR)[/INST]SELECT split_off___continuation_of FROM table_name_40 WHERE church_name = "pure church of christ"</s> |
CREATE TABLE table_27487310_5 (name VARCHAR, network VARCHAR) | SELECT name FROM table_27487310_5 WHERE network = "SBS 6" | What is the version aired on SBS 6 called? | <s>[INST]What is the version aired on SBS 6 called? Context: CREATE TABLE table_27487310_5 (name VARCHAR, network VARCHAR)[/INST]SELECT name FROM table_27487310_5 WHERE network = "SBS 6"</s> |
CREATE TABLE table_name_81 (time VARCHAR, record VARCHAR, date VARCHAR) | SELECT time FROM table_name_81 WHERE record = "start" AND date = "12 december 2009" | What is the time of 12 December 2009 with record start? | <s>[INST]What is the time of 12 December 2009 with record start? Context: CREATE TABLE table_name_81 (time VARCHAR, record VARCHAR, date VARCHAR)[/INST]SELECT time FROM table_name_81 WHERE record = "start" AND date = "12 december 2009"</s> |
CREATE TABLE table_10748727_1 (wins INTEGER, series VARCHAR) | SELECT MAX(wins) FROM table_10748727_1 WHERE series = "Japanese Formula Three" | what is the greatest number of wins by japanese formula three? | <s>[INST]what is the greatest number of wins by japanese formula three? Context: CREATE TABLE table_10748727_1 (wins INTEGER, series VARCHAR)[/INST]SELECT MAX(wins) FROM table_10748727_1 WHERE series = "Japanese Formula Three"</s> |
CREATE TABLE table_name_90 (chemical_class VARCHAR, example VARCHAR) | SELECT chemical_class FROM table_name_90 WHERE example = "chloroethane (ethyl chloride)" | Which chemical class uses the example Chloroethane (ethyl chloride)? | <s>[INST]Which chemical class uses the example Chloroethane (ethyl chloride)? Context: CREATE TABLE table_name_90 (chemical_class VARCHAR, example VARCHAR)[/INST]SELECT chemical_class FROM table_name_90 WHERE example = "chloroethane (ethyl chloride)"</s> |
CREATE TABLE chip_model (Model_name VARCHAR, RAM_MiB VARCHAR) | SELECT Model_name, RAM_MiB FROM chip_model ORDER BY RAM_MiB LIMIT 1 | Which model has the least amount of RAM? List the model name and the amount of RAM. | <s>[INST]Which model has the least amount of RAM? List the model name and the amount of RAM. Context: CREATE TABLE chip_model (Model_name VARCHAR, RAM_MiB VARCHAR)[/INST]SELECT Model_name, RAM_MiB FROM chip_model ORDER BY RAM_MiB LIMIT 1</s> |
CREATE TABLE table_name_18 (points INTEGER, october VARCHAR, game VARCHAR) | SELECT MIN(points) FROM table_name_18 WHERE october < 10 AND game < 2 | What is the lowest number of points of the game before game 2 before October 10? | <s>[INST]What is the lowest number of points of the game before game 2 before October 10? Context: CREATE TABLE table_name_18 (points INTEGER, october VARCHAR, game VARCHAR)[/INST]SELECT MIN(points) FROM table_name_18 WHERE october < 10 AND game < 2</s> |
CREATE TABLE table_10015132_11 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR) | SELECT player FROM table_10015132_11 WHERE position = "Guard" AND years_in_toronto = "1996-97" | What player played guard for toronto in 1996-97? | <s>[INST]What player played guard for toronto in 1996-97? Context: CREATE TABLE table_10015132_11 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR)[/INST]SELECT player FROM table_10015132_11 WHERE position = "Guard" AND years_in_toronto = "1996-97"</s> |
CREATE TABLE table_21055055_2 (au_air_date VARCHAR, viewers__m_ VARCHAR) | SELECT au_air_date FROM table_21055055_2 WHERE viewers__m_ = "2.267" | When did the episode seen by is 2.267 million people get aired? | <s>[INST]When did the episode seen by is 2.267 million people get aired? Context: CREATE TABLE table_21055055_2 (au_air_date VARCHAR, viewers__m_ VARCHAR)[/INST]SELECT au_air_date FROM table_21055055_2 WHERE viewers__m_ = "2.267"</s> |
CREATE TABLE table_2472711_32 (up_down VARCHAR, venue VARCHAR) | SELECT up_down FROM table_2472711_32 WHERE venue = "Subiaco Oval" | What is the up/down associated with the Subiaco Oval? | <s>[INST]What is the up/down associated with the Subiaco Oval? Context: CREATE TABLE table_2472711_32 (up_down VARCHAR, venue VARCHAR)[/INST]SELECT up_down FROM table_2472711_32 WHERE venue = "Subiaco Oval"</s> |
CREATE TABLE table_name_55 (year INTEGER, mixed_doubles VARCHAR) | SELECT AVG(year) FROM table_name_55 WHERE mixed_doubles = "mika heinonen susanna dahlberg" | When did mika heinonen susanna dahlberg win mixed doubles? | <s>[INST]When did mika heinonen susanna dahlberg win mixed doubles? Context: CREATE TABLE table_name_55 (year INTEGER, mixed_doubles VARCHAR)[/INST]SELECT AVG(year) FROM table_name_55 WHERE mixed_doubles = "mika heinonen susanna dahlberg"</s> |
CREATE TABLE table_name_84 (results¹ VARCHAR, opponent VARCHAR) | SELECT results¹ FROM table_name_84 WHERE opponent = "egypt" | What were the results against the game against Egypt? | <s>[INST]What were the results against the game against Egypt? Context: CREATE TABLE table_name_84 (results¹ VARCHAR, opponent VARCHAR)[/INST]SELECT results¹ FROM table_name_84 WHERE opponent = "egypt"</s> |
CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_11075747_3 WHERE written_by = "Tommy Thompson" | Who directed the second episode of "The Homecoming" which was written by Tommy Thompson? | <s>[INST]Who directed the second episode of "The Homecoming" which was written by Tommy Thompson? Context: CREATE TABLE table_11075747_3 (directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT directed_by FROM table_11075747_3 WHERE written_by = "Tommy Thompson"</s> |
CREATE TABLE table_name_67 (draws INTEGER, against VARCHAR, losses VARCHAR) | SELECT SUM(draws) FROM table_name_67 WHERE against = 1731 AND losses < 10 | What is the sum of draws for teams with against of 1731 and under 10 losses? | <s>[INST]What is the sum of draws for teams with against of 1731 and under 10 losses? Context: CREATE TABLE table_name_67 (draws INTEGER, against VARCHAR, losses VARCHAR)[/INST]SELECT SUM(draws) FROM table_name_67 WHERE against = 1731 AND losses < 10</s> |
CREATE TABLE table_23453931_5 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_23453931_5 WHERE opponent = "Buffalo Sabres" | Name the location of buffalo sabres | <s>[INST]Name the location of buffalo sabres Context: CREATE TABLE table_23453931_5 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_23453931_5 WHERE opponent = "Buffalo Sabres"</s> |
CREATE TABLE table_name_53 (week INTEGER, game_site VARCHAR) | SELECT AVG(week) FROM table_name_53 WHERE game_site = "memorial stadium" | what week number was at memorial stadium? | <s>[INST]what week number was at memorial stadium? Context: CREATE TABLE table_name_53 (week INTEGER, game_site VARCHAR)[/INST]SELECT AVG(week) FROM table_name_53 WHERE game_site = "memorial stadium"</s> |
CREATE TABLE table_10706961_2 (fastest_lap VARCHAR, name VARCHAR) | SELECT fastest_lap FROM table_10706961_2 WHERE name = "Escort Radar Warning 200" | What was the fastest lap time in the Escort Radar Warning 200? | <s>[INST]What was the fastest lap time in the Escort Radar Warning 200? Context: CREATE TABLE table_10706961_2 (fastest_lap VARCHAR, name VARCHAR)[/INST]SELECT fastest_lap FROM table_10706961_2 WHERE name = "Escort Radar Warning 200"</s> |
CREATE TABLE table_name_20 (class VARCHAR, stages_won VARCHAR, position VARCHAR) | SELECT class FROM table_name_20 WHERE stages_won = "2" AND position = "dnf" | What is the class that that won 2 stages and has a position of DNF? | <s>[INST]What is the class that that won 2 stages and has a position of DNF? Context: CREATE TABLE table_name_20 (class VARCHAR, stages_won VARCHAR, position VARCHAR)[/INST]SELECT class FROM table_name_20 WHERE stages_won = "2" AND position = "dnf"</s> |
CREATE TABLE table_21321804_3 (player VARCHAR, position VARCHAR) | SELECT COUNT(player) FROM table_21321804_3 WHERE position = "DT" | How many players are at the DT position? | <s>[INST]How many players are at the DT position? Context: CREATE TABLE table_21321804_3 (player VARCHAR, position VARCHAR)[/INST]SELECT COUNT(player) FROM table_21321804_3 WHERE position = "DT"</s> |
CREATE TABLE Employees (role_code VARCHAR) | SELECT role_code FROM Employees GROUP BY role_code ORDER BY COUNT(*) LIMIT 1 | Show the role code with the least employees. | <s>[INST]Show the role code with the least employees. Context: CREATE TABLE Employees (role_code VARCHAR)[/INST]SELECT role_code FROM Employees GROUP BY role_code ORDER BY COUNT(*) LIMIT 1</s> |
CREATE TABLE table_27713721_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(production_code) FROM table_27713721_1 WHERE us_viewers__millions_ = "25.3" | How many episodes had an audience of exactly 25.3 million viewers in the U.S.A.? | <s>[INST]How many episodes had an audience of exactly 25.3 million viewers in the U.S.A.? Context: CREATE TABLE table_27713721_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(production_code) FROM table_27713721_1 WHERE us_viewers__millions_ = "25.3"</s> |
CREATE TABLE table_21564794_3 (began_in_st_louis INTEGER, league VARCHAR) | SELECT MIN(began_in_st_louis) FROM table_21564794_3 WHERE league = "Negro American league" | What year did Negro American League join? | <s>[INST]What year did Negro American League join? Context: CREATE TABLE table_21564794_3 (began_in_st_louis INTEGER, league VARCHAR)[/INST]SELECT MIN(began_in_st_louis) FROM table_21564794_3 WHERE league = "Negro American league"</s> |
CREATE TABLE table_17344582_11 (score VARCHAR, high_assists VARCHAR) | SELECT score FROM table_17344582_11 WHERE high_assists = "B. Shaw (5)" | List the all the scores where the high assis is b. shaw (5) | <s>[INST]List the all the scores where the high assis is b. shaw (5) Context: CREATE TABLE table_17344582_11 (score VARCHAR, high_assists VARCHAR)[/INST]SELECT score FROM table_17344582_11 WHERE high_assists = "B. Shaw (5)"</s> |
CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR) | SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Qatar 1988" | What were the years active where Asian Cup played as a captain is Qatar 1988? | <s>[INST]What were the years active where Asian Cup played as a captain is Qatar 1988? Context: CREATE TABLE table_272865_20 (years_active VARCHAR, asian_cup_played_as_a_captain VARCHAR)[/INST]SELECT years_active FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Qatar 1988"</s> |
CREATE TABLE table_name_81 (silver INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MAX(silver) FROM table_name_81 WHERE nation = "germany" AND bronze > 0 | How many silver medals for germany with a bronze count more than 0? | <s>[INST]How many silver medals for germany with a bronze count more than 0? Context: CREATE TABLE table_name_81 (silver INTEGER, nation VARCHAR, bronze VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_81 WHERE nation = "germany" AND bronze > 0</s> |
CREATE TABLE table_name_22 (rank INTEGER, time VARCHAR) | SELECT MIN(rank) FROM table_name_22 WHERE time = "1:47.70" | Who placed highest with a time of 1:47.70? | <s>[INST]Who placed highest with a time of 1:47.70? Context: CREATE TABLE table_name_22 (rank INTEGER, time VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_22 WHERE time = "1:47.70"</s> |
CREATE TABLE table_name_64 (year VARCHAR, country VARCHAR, dates VARCHAR) | SELECT year FROM table_name_64 WHERE country = "united states" AND dates = "aug 3–5" | What Year was the United States the country for aug 3–5? | <s>[INST]What Year was the United States the country for aug 3–5? Context: CREATE TABLE table_name_64 (year VARCHAR, country VARCHAR, dates VARCHAR)[/INST]SELECT year FROM table_name_64 WHERE country = "united states" AND dates = "aug 3–5"</s> |
CREATE TABLE table_15873547_1 (mascot VARCHAR, colors VARCHAR) | SELECT mascot FROM table_15873547_1 WHERE colors = "Green and Navy" | What is the mascot with the colors green and navy? | <s>[INST]What is the mascot with the colors green and navy? Context: CREATE TABLE table_15873547_1 (mascot VARCHAR, colors VARCHAR)[/INST]SELECT mascot FROM table_15873547_1 WHERE colors = "Green and Navy"</s> |
CREATE TABLE table_name_97 (score VARCHAR, report VARCHAR, date VARCHAR) | SELECT score FROM table_name_97 WHERE report = "fifa" AND date = "october 13, 2007" | What is the score of the FIFA report on October 13, 2007? | <s>[INST]What is the score of the FIFA report on October 13, 2007? Context: CREATE TABLE table_name_97 (score VARCHAR, report VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_97 WHERE report = "fifa" AND date = "october 13, 2007"</s> |
CREATE TABLE table_1974443_1 (enrollment VARCHAR, institution VARCHAR) | SELECT enrollment FROM table_1974443_1 WHERE institution = "Lakeland College" | What is the enrollment for Lakeland College? | <s>[INST]What is the enrollment for Lakeland College? Context: CREATE TABLE table_1974443_1 (enrollment VARCHAR, institution VARCHAR)[/INST]SELECT enrollment FROM table_1974443_1 WHERE institution = "Lakeland College"</s> |
CREATE TABLE city (Status VARCHAR) | SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1 | List the most common type of Status across cities. | <s>[INST]List the most common type of Status across cities. Context: CREATE TABLE city (Status VARCHAR)[/INST]SELECT Status FROM city GROUP BY Status ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_38 (points INTEGER, year VARCHAR) | SELECT SUM(points) FROM table_name_38 WHERE year = 1992 | Name the sum of points for 1992 | <s>[INST]Name the sum of points for 1992 Context: CREATE TABLE table_name_38 (points INTEGER, year VARCHAR)[/INST]SELECT SUM(points) FROM table_name_38 WHERE year = 1992</s> |
CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR) | SELECT COUNT(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Demon Kitty Rag" | Find the number of vocal types used in song "Demon Kitty Rag"? | <s>[INST]Find the number of vocal types used in song "Demon Kitty Rag"? Context: CREATE TABLE vocals (songid VARCHAR); CREATE TABLE songs (songid VARCHAR)[/INST]SELECT COUNT(*) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE title = "Demon Kitty Rag"</s> |
CREATE TABLE table_name_65 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, model VARCHAR) | SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_65 WHERE model = "2.3 t5" | What is the engine configuration & notes 0-100km/h with a model with 2.3 t5? | <s>[INST]What is the engine configuration & notes 0-100km/h with a model with 2.3 t5? Context: CREATE TABLE table_name_65 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, model VARCHAR)[/INST]SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_65 WHERE model = "2.3 t5"</s> |
CREATE TABLE table_name_20 (syracuse VARCHAR, utica VARCHAR, rochester VARCHAR) | SELECT syracuse FROM table_name_20 WHERE utica = "union springs shale and limestone" AND rochester = "union springs shale and limestone" | What is Syracuse, when Utica is Union Springs Shale And Limestone, and when Rochester is Union Springs Shale And Limestone? | <s>[INST]What is Syracuse, when Utica is Union Springs Shale And Limestone, and when Rochester is Union Springs Shale And Limestone? Context: CREATE TABLE table_name_20 (syracuse VARCHAR, utica VARCHAR, rochester VARCHAR)[/INST]SELECT syracuse FROM table_name_20 WHERE utica = "union springs shale and limestone" AND rochester = "union springs shale and limestone"</s> |
CREATE TABLE table_name_56 (city VARCHAR) | SELECT AVG(2008) FROM table_name_56 WHERE city = "durban" | Which 2008 has a City of durban? | <s>[INST]Which 2008 has a City of durban? Context: CREATE TABLE table_name_56 (city VARCHAR)[/INST]SELECT AVG(2008) FROM table_name_56 WHERE city = "durban"</s> |
CREATE TABLE table_name_87 (lead VARCHAR, season VARCHAR) | SELECT lead FROM table_name_87 WHERE season = "1999–00" | What is the Lead for the 1999–00 season? | <s>[INST]What is the Lead for the 1999–00 season? Context: CREATE TABLE table_name_87 (lead VARCHAR, season VARCHAR)[/INST]SELECT lead FROM table_name_87 WHERE season = "1999–00"</s> |
CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR) | SELECT COUNT(new_pageant) FROM table_14308895_2 WHERE country_territory = "Aruba" | How many new pageants does Aruba have? | <s>[INST]How many new pageants does Aruba have? Context: CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR)[/INST]SELECT COUNT(new_pageant) FROM table_14308895_2 WHERE country_territory = "Aruba"</s> |
CREATE TABLE table_21602734_1 (league VARCHAR, year VARCHAR) | SELECT league FROM table_21602734_1 WHERE year = 2008 | What league was involved in 2008? | <s>[INST]What league was involved in 2008? Context: CREATE TABLE table_21602734_1 (league VARCHAR, year VARCHAR)[/INST]SELECT league FROM table_21602734_1 WHERE year = 2008</s> |
CREATE TABLE table_name_60 (treaty_of_cession VARCHAR, colony VARCHAR) | SELECT treaty_of_cession FROM table_name_60 WHERE colony = "karikal" | When was the Treaty of Cession for Karikal Colony? | <s>[INST]When was the Treaty of Cession for Karikal Colony? Context: CREATE TABLE table_name_60 (treaty_of_cession VARCHAR, colony VARCHAR)[/INST]SELECT treaty_of_cession FROM table_name_60 WHERE colony = "karikal"</s> |
CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_49 WHERE competition = "uefa cup" AND opponent = "palermo" | What is the result of the UEFA Cup, against Palermo? | <s>[INST]What is the result of the UEFA Cup, against Palermo? Context: CREATE TABLE table_name_49 (result VARCHAR, competition VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_49 WHERE competition = "uefa cup" AND opponent = "palermo"</s> |
CREATE TABLE table_26914854_3 (team VARCHAR, date_of_appointment VARCHAR) | SELECT team FROM table_26914854_3 WHERE date_of_appointment = "11 June 2010" | what is the date of appointment 11 june 2010? | <s>[INST]what is the date of appointment 11 june 2010? Context: CREATE TABLE table_26914854_3 (team VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT team FROM table_26914854_3 WHERE date_of_appointment = "11 June 2010"</s> |
CREATE TABLE table_name_46 (competition VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_46 WHERE venue = "rome, italy" | What was the name of the Competition in Rome, Italy? | <s>[INST]What was the name of the Competition in Rome, Italy? Context: CREATE TABLE table_name_46 (competition VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_46 WHERE venue = "rome, italy"</s> |
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR, aggregate VARCHAR) | SELECT home__2nd_leg_ FROM table_17968229_1 WHERE aggregate = "0-2" | With an aggregate of 0-2, what is listed for home? | <s>[INST]With an aggregate of 0-2, what is listed for home? Context: CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)[/INST]SELECT home__2nd_leg_ FROM table_17968229_1 WHERE aggregate = "0-2"</s> |
CREATE TABLE table_name_94 (no_10 VARCHAR, no_8 VARCHAR, no_9 VARCHAR) | SELECT no_10 FROM table_name_94 WHERE no_8 = "jackson" AND no_9 = "jayden" | Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden? | <s>[INST]Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden? Context: CREATE TABLE table_name_94 (no_10 VARCHAR, no_8 VARCHAR, no_9 VARCHAR)[/INST]SELECT no_10 FROM table_name_94 WHERE no_8 = "jackson" AND no_9 = "jayden"</s> |
CREATE TABLE table_name_74 (final_score VARCHAR, stadium VARCHAR) | SELECT final_score FROM table_name_74 WHERE stadium = "astrodome" | What was the final score of the game at the astrodome? | <s>[INST]What was the final score of the game at the astrodome? Context: CREATE TABLE table_name_74 (final_score VARCHAR, stadium VARCHAR)[/INST]SELECT final_score FROM table_name_74 WHERE stadium = "astrodome"</s> |
CREATE TABLE table_20726262_4 (writtenby VARCHAR, production_code VARCHAR) | SELECT writtenby FROM table_20726262_4 WHERE production_code = "3WAB03" | what is the written by and production code is 3wab03? | <s>[INST]what is the written by and production code is 3wab03? Context: CREATE TABLE table_20726262_4 (writtenby VARCHAR, production_code VARCHAR)[/INST]SELECT writtenby FROM table_20726262_4 WHERE production_code = "3WAB03"</s> |
CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Project_Staff (staff_id VARCHAR, role_code VARCHAR, project_id VARCHAR); CREATE TABLE Staff_Roles (role_description VARCHAR, role_code VARCHAR) | SELECT T1.role_description, T2.staff_id FROM Staff_Roles AS T1 JOIN Project_Staff AS T2 ON T1.role_code = T2.role_code JOIN Project_outcomes AS T3 ON T2.project_id = T3.project_id GROUP BY T2.staff_id ORDER BY COUNT(*) DESC LIMIT 1 | Show the role description and the id of the project staff involved in most number of project outcomes? | <s>[INST]Show the role description and the id of the project staff involved in most number of project outcomes? Context: CREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Project_Staff (staff_id VARCHAR, role_code VARCHAR, project_id VARCHAR); CREATE TABLE Staff_Roles (role_description VARCHAR, role_code VARCHAR)[/INST]SELECT T1.role_description, T2.staff_id FROM Staff_Roles AS T1 JOIN Project_Staff AS T2 ON T1.role_code = T2.role_code JOIN Project_outcomes AS T3 ON T2.project_id = T3.project_id GROUP BY T2.staff_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_69 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR) | SELECT COUNT(pl_gp) FROM table_name_69 WHERE pick__number = 49 AND reg_gp < 0 | What is the total PI GP of the player with a pick number 49 and a reg gp less than 0? | <s>[INST]What is the total PI GP of the player with a pick number 49 and a reg gp less than 0? Context: CREATE TABLE table_name_69 (pl_gp VARCHAR, pick__number VARCHAR, reg_gp VARCHAR)[/INST]SELECT COUNT(pl_gp) FROM table_name_69 WHERE pick__number = 49 AND reg_gp < 0</s> |
CREATE TABLE table_name_13 (goal INTEGER, date VARCHAR) | SELECT SUM(goal) FROM table_name_13 WHERE date = "november 22, 1994" | How many goals were scored on November 22, 1994? | <s>[INST]How many goals were scored on November 22, 1994? Context: CREATE TABLE table_name_13 (goal INTEGER, date VARCHAR)[/INST]SELECT SUM(goal) FROM table_name_13 WHERE date = "november 22, 1994"</s> |
CREATE TABLE table_1341586_39 (party VARCHAR, district VARCHAR) | SELECT party FROM table_1341586_39 WHERE district = "Pennsylvania 21" | what's party with district being pennsylvania 21 | <s>[INST]what's party with district being pennsylvania 21 Context: CREATE TABLE table_1341586_39 (party VARCHAR, district VARCHAR)[/INST]SELECT party FROM table_1341586_39 WHERE district = "Pennsylvania 21"</s> |
CREATE TABLE table_name_68 (borough_or_census_area VARCHAR, median_household_income VARCHAR) | SELECT borough_or_census_area FROM table_name_68 WHERE median_household_income = "$59,596" | Which borough or census area has a $59,596 median household income? | <s>[INST]Which borough or census area has a $59,596 median household income? Context: CREATE TABLE table_name_68 (borough_or_census_area VARCHAR, median_household_income VARCHAR)[/INST]SELECT borough_or_census_area FROM table_name_68 WHERE median_household_income = "$59,596"</s> |
CREATE TABLE table_name_35 (nfl_club VARCHAR, pick INTEGER) | SELECT nfl_club FROM table_name_35 WHERE pick > 196 | What team did the player represent that was picked after 196? | <s>[INST]What team did the player represent that was picked after 196? Context: CREATE TABLE table_name_35 (nfl_club VARCHAR, pick INTEGER)[/INST]SELECT nfl_club FROM table_name_35 WHERE pick > 196</s> |
CREATE TABLE table_2293402_2 (nickname VARCHAR, founded VARCHAR) | SELECT nickname FROM table_2293402_2 WHERE founded = 1798 | Name the nickname that was founded 1798 | <s>[INST]Name the nickname that was founded 1798 Context: CREATE TABLE table_2293402_2 (nickname VARCHAR, founded VARCHAR)[/INST]SELECT nickname FROM table_2293402_2 WHERE founded = 1798</s> |
CREATE TABLE table_name_42 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_42 WHERE date = "august 11, 1996" | Which competition was on August 11, 1996? | <s>[INST]Which competition was on August 11, 1996? Context: CREATE TABLE table_name_42 (competition VARCHAR, date VARCHAR)[/INST]SELECT competition FROM table_name_42 WHERE date = "august 11, 1996"</s> |
CREATE TABLE table_name_62 (dialcode VARCHAR, location VARCHAR) | SELECT dialcode FROM table_name_62 WHERE location = "whitechapel" | What is the Dialcode of whitechapel? | <s>[INST]What is the Dialcode of whitechapel? Context: CREATE TABLE table_name_62 (dialcode VARCHAR, location VARCHAR)[/INST]SELECT dialcode FROM table_name_62 WHERE location = "whitechapel"</s> |
CREATE TABLE table_name_18 (begin VARCHAR, state_territory VARCHAR, icao VARCHAR) | SELECT begin FROM table_name_18 WHERE state_territory = "victoria" AND icao = "ymml" | What begin has victoria as the state/territory and a ICA0 of ymml? | <s>[INST]What begin has victoria as the state/territory and a ICA0 of ymml? Context: CREATE TABLE table_name_18 (begin VARCHAR, state_territory VARCHAR, icao VARCHAR)[/INST]SELECT begin FROM table_name_18 WHERE state_territory = "victoria" AND icao = "ymml"</s> |
CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_40 WHERE record = "1-2" | Which Score has a Record of 1-2? | <s>[INST]Which Score has a Record of 1-2? Context: CREATE TABLE table_name_40 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_40 WHERE record = "1-2"</s> |
CREATE TABLE table_name_43 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR) | SELECT language FROM table_name_43 WHERE service = "optimum tv" AND origin_of_programming = "united states" AND genre = "cricket" | Which language is used by the optimum TV service that shows cricket and is based in the United States? | <s>[INST]Which language is used by the optimum TV service that shows cricket and is based in the United States? Context: CREATE TABLE table_name_43 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR)[/INST]SELECT language FROM table_name_43 WHERE service = "optimum tv" AND origin_of_programming = "united states" AND genre = "cricket"</s> |
CREATE TABLE table_name_48 (athlete VARCHAR, result VARCHAR) | SELECT athlete FROM table_name_48 WHERE result = "4.30" | What was the athlete with a final result of 4.30? | <s>[INST]What was the athlete with a final result of 4.30? Context: CREATE TABLE table_name_48 (athlete VARCHAR, result VARCHAR)[/INST]SELECT athlete FROM table_name_48 WHERE result = "4.30"</s> |
CREATE TABLE table_21795650_1 (position VARCHAR, races VARCHAR) | SELECT position FROM table_21795650_1 WHERE races = 16 | What was the highest position for the person who performed in 16 races? | <s>[INST]What was the highest position for the person who performed in 16 races? Context: CREATE TABLE table_21795650_1 (position VARCHAR, races VARCHAR)[/INST]SELECT position FROM table_21795650_1 WHERE races = 16</s> |
CREATE TABLE table_1341453_34 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341453_34 WHERE incumbent = "John McHugh" | What party is John McHugh a member of? | <s>[INST]What party is John McHugh a member of? Context: CREATE TABLE table_1341453_34 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341453_34 WHERE incumbent = "John McHugh"</s> |
CREATE TABLE table_name_79 (reign_began VARCHAR, country VARCHAR, reign_ended VARCHAR) | SELECT reign_began FROM table_name_79 WHERE country = "vietnam" AND reign_ended = "october 1005" | Whose reign began in Vietnam and ended in October 1005? | <s>[INST]Whose reign began in Vietnam and ended in October 1005? Context: CREATE TABLE table_name_79 (reign_began VARCHAR, country VARCHAR, reign_ended VARCHAR)[/INST]SELECT reign_began FROM table_name_79 WHERE country = "vietnam" AND reign_ended = "october 1005"</s> |
CREATE TABLE table_name_37 (year INTEGER, isbn VARCHAR) | SELECT AVG(year) FROM table_name_37 WHERE isbn = "isbn 4-06-182042-7" | What Year has an ISBN OF ISBN 4-06-182042-7? | <s>[INST]What Year has an ISBN OF ISBN 4-06-182042-7? Context: CREATE TABLE table_name_37 (year INTEGER, isbn VARCHAR)[/INST]SELECT AVG(year) FROM table_name_37 WHERE isbn = "isbn 4-06-182042-7"</s> |
CREATE TABLE table_name_80 (date VARCHAR, score VARCHAR, home VARCHAR, venue VARCHAR) | SELECT date FROM table_name_80 WHERE home = "romania" AND venue = "bucharest" AND score = "13-19" | What date were Romania at Home at the Bucharest Venue with a Score of 13-19? | <s>[INST]What date were Romania at Home at the Bucharest Venue with a Score of 13-19? Context: CREATE TABLE table_name_80 (date VARCHAR, score VARCHAR, home VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_80 WHERE home = "romania" AND venue = "bucharest" AND score = "13-19"</s> |
CREATE TABLE table_name_58 (floors VARCHAR, year VARCHAR, name VARCHAR) | SELECT COUNT(floors) FROM table_name_58 WHERE year < 2008 AND name = "guinness tower" | What is the number of floors that have years under 2008 and were named Guinness Tower? | <s>[INST]What is the number of floors that have years under 2008 and were named Guinness Tower? Context: CREATE TABLE table_name_58 (floors VARCHAR, year VARCHAR, name VARCHAR)[/INST]SELECT COUNT(floors) FROM table_name_58 WHERE year < 2008 AND name = "guinness tower"</s> |
CREATE TABLE table_name_47 (pick INTEGER, round VARCHAR, overall VARCHAR) | SELECT SUM(pick) FROM table_name_47 WHERE round < 6 AND overall > 153 | How many picks had a round smaller than 6 and an overall bigger than 153? | <s>[INST]How many picks had a round smaller than 6 and an overall bigger than 153? Context: CREATE TABLE table_name_47 (pick INTEGER, round VARCHAR, overall VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_47 WHERE round < 6 AND overall > 153</s> |
CREATE TABLE book_club (book_title VARCHAR, author_or_editor VARCHAR, YEAR INTEGER) | SELECT book_title, author_or_editor FROM book_club WHERE YEAR > 1989 | show the titles, and authors or editors for all books made after the year 1989. | <s>[INST]show the titles, and authors or editors for all books made after the year 1989. Context: CREATE TABLE book_club (book_title VARCHAR, author_or_editor VARCHAR, YEAR INTEGER)[/INST]SELECT book_title, author_or_editor FROM book_club WHERE YEAR > 1989</s> |
CREATE TABLE artwork (Name VARCHAR) | SELECT Name FROM artwork ORDER BY Name | List the name of artworks in ascending alphabetical order. | <s>[INST]List the name of artworks in ascending alphabetical order. Context: CREATE TABLE artwork (Name VARCHAR)[/INST]SELECT Name FROM artwork ORDER BY Name</s> |
CREATE TABLE table_name_47 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_47 WHERE home_team = "collingwood" | What venue features collingwood as the home side? | <s>[INST]What venue features collingwood as the home side? Context: CREATE TABLE table_name_47 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_47 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_24143253_2 (current_marital_status VARCHAR, name VARCHAR) | SELECT current_marital_status FROM table_24143253_2 WHERE name = "Stella Farentino" | What is Stella Farentino's current relationship status? | <s>[INST]What is Stella Farentino's current relationship status? Context: CREATE TABLE table_24143253_2 (current_marital_status VARCHAR, name VARCHAR)[/INST]SELECT current_marital_status FROM table_24143253_2 WHERE name = "Stella Farentino"</s> |
CREATE TABLE table_name_69 (others_number INTEGER, kerry_percentage VARCHAR) | SELECT MAX(others_number) FROM table_name_69 WHERE kerry_percentage = "52.1%" | What percentage of other candidates did the county which voted 52.1% for Kerry vote for? | <s>[INST]What percentage of other candidates did the county which voted 52.1% for Kerry vote for? Context: CREATE TABLE table_name_69 (others_number INTEGER, kerry_percentage VARCHAR)[/INST]SELECT MAX(others_number) FROM table_name_69 WHERE kerry_percentage = "52.1%"</s> |
CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "st kilda" | What was the attendance when St Kilda played as the home team? | <s>[INST]What was the attendance when St Kilda played as the home team? Context: CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_name_35 (date VARCHAR, home_captain VARCHAR, venue VARCHAR) | SELECT date FROM table_name_35 WHERE home_captain = "courtney walsh" AND venue = "queen's park oval" | On which dates played Home Captain Courtney Walsh at the Queen's Park Oval? | <s>[INST]On which dates played Home Captain Courtney Walsh at the Queen's Park Oval? Context: CREATE TABLE table_name_35 (date VARCHAR, home_captain VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_35 WHERE home_captain = "courtney walsh" AND venue = "queen's park oval"</s> |
CREATE TABLE table_name_90 (marriage VARCHAR, death VARCHAR) | SELECT marriage FROM table_name_90 WHERE death = "17 december 1471" | When was the marriage of the person who died on 17 December 1471? | <s>[INST]When was the marriage of the person who died on 17 December 1471? Context: CREATE TABLE table_name_90 (marriage VARCHAR, death VARCHAR)[/INST]SELECT marriage FROM table_name_90 WHERE death = "17 december 1471"</s> |
CREATE TABLE table_name_81 (venue VARCHAR, year INTEGER) | SELECT venue FROM table_name_81 WHERE year < 2003 | Tell me the venue for year less than 2003 | <s>[INST]Tell me the venue for year less than 2003 Context: CREATE TABLE table_name_81 (venue VARCHAR, year INTEGER)[/INST]SELECT venue FROM table_name_81 WHERE year < 2003</s> |
CREATE TABLE table_name_49 (class VARCHAR, frequency_mhz INTEGER) | SELECT class FROM table_name_49 WHERE frequency_mhz < 90.5 | What class is assigned to frequencies lower than 90.5? | <s>[INST]What class is assigned to frequencies lower than 90.5? Context: CREATE TABLE table_name_49 (class VARCHAR, frequency_mhz INTEGER)[/INST]SELECT class FROM table_name_49 WHERE frequency_mhz < 90.5</s> |
CREATE TABLE table_21501511_1 (order__number VARCHAR, week__number VARCHAR) | SELECT order__number FROM table_21501511_1 WHERE week__number = "Top 11" | What order did Lambert perform in the top 11? | <s>[INST]What order did Lambert perform in the top 11? Context: CREATE TABLE table_21501511_1 (order__number VARCHAR, week__number VARCHAR)[/INST]SELECT order__number FROM table_21501511_1 WHERE week__number = "Top 11"</s> |
CREATE TABLE table_name_32 (pick INTEGER, name VARCHAR, overall VARCHAR) | SELECT SUM(pick) FROM table_name_32 WHERE name = "cecil martin" AND overall < 268 | The player Cecil Martin with an overall less than 268 has what total pick? | <s>[INST]The player Cecil Martin with an overall less than 268 has what total pick? Context: CREATE TABLE table_name_32 (pick INTEGER, name VARCHAR, overall VARCHAR)[/INST]SELECT SUM(pick) FROM table_name_32 WHERE name = "cecil martin" AND overall < 268</s> |
CREATE TABLE table_name_24 (years_in_the_acc VARCHAR, founded VARCHAR, location VARCHAR) | SELECT years_in_the_acc FROM table_name_24 WHERE founded < 1885 AND location = "college park, maryland" | What are the years in the ACC of an institution that was founded before 1885 and is located in College Park, Maryland? | <s>[INST]What are the years in the ACC of an institution that was founded before 1885 and is located in College Park, Maryland? Context: CREATE TABLE table_name_24 (years_in_the_acc VARCHAR, founded VARCHAR, location VARCHAR)[/INST]SELECT years_in_the_acc FROM table_name_24 WHERE founded < 1885 AND location = "college park, maryland"</s> |
CREATE TABLE table_name_44 (tonnage__grt_ INTEGER, nationality VARCHAR, name VARCHAR) | SELECT MIN(tonnage__grt_) FROM table_name_44 WHERE nationality = "united kingdom" AND name = "king gruffydd" | Which Tonnage (GRT) has a Nationality of united kingdom, and a Name of king gruffydd? | <s>[INST]Which Tonnage (GRT) has a Nationality of united kingdom, and a Name of king gruffydd? Context: CREATE TABLE table_name_44 (tonnage__grt_ INTEGER, nationality VARCHAR, name VARCHAR)[/INST]SELECT MIN(tonnage__grt_) FROM table_name_44 WHERE nationality = "united kingdom" AND name = "king gruffydd"</s> |
CREATE TABLE table_name_2 (frequency_mhz INTEGER, call_sign VARCHAR) | SELECT AVG(frequency_mhz) FROM table_name_2 WHERE call_sign = "w224bn" | What is the Frequency MHz for the station with a call sign of w224bn? | <s>[INST]What is the Frequency MHz for the station with a call sign of w224bn? Context: CREATE TABLE table_name_2 (frequency_mhz INTEGER, call_sign VARCHAR)[/INST]SELECT AVG(frequency_mhz) FROM table_name_2 WHERE call_sign = "w224bn"</s> |
CREATE TABLE table_name_19 (object_type VARCHAR, ngc_number VARCHAR) | SELECT object_type FROM table_name_19 WHERE ngc_number = 2787 | Which Object type has a NGC number of 2787? | <s>[INST]Which Object type has a NGC number of 2787? Context: CREATE TABLE table_name_19 (object_type VARCHAR, ngc_number VARCHAR)[/INST]SELECT object_type FROM table_name_19 WHERE ngc_number = 2787</s> |
CREATE TABLE table_name_28 (draw__pe_ INTEGER, team__equipo_ VARCHAR, won__pg_ VARCHAR) | SELECT SUM(draw__pe_) FROM table_name_28 WHERE team__equipo_ = "plaza amador" AND won__pg_ < 6 | What is the sum of the pe draw of team plaza amador, who has less than 6 pg won? | <s>[INST]What is the sum of the pe draw of team plaza amador, who has less than 6 pg won? Context: CREATE TABLE table_name_28 (draw__pe_ INTEGER, team__equipo_ VARCHAR, won__pg_ VARCHAR)[/INST]SELECT SUM(draw__pe_) FROM table_name_28 WHERE team__equipo_ = "plaza amador" AND won__pg_ < 6</s> |
CREATE TABLE table_name_96 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_96 WHERE away_team = "richmond" | What is Richmond's away team score versus Geelong? | <s>[INST]What is Richmond's away team score versus Geelong? Context: CREATE TABLE table_name_96 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_96 WHERE away_team = "richmond"</s> |
CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25" | What is the total attendance on April 25? | <s>[INST]What is the total attendance on April 25? Context: CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.