text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (date VARCHAR, serial VARCHAR)
<</SYS>>
SELECT date FROM table_name_28 WHERE serial = "11c"[/INST] Which date has serial of 11c?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27713030_7 (game INTEGER)
<</SYS>>
SELECT MIN(game) FROM table_27713030_7[/INST] What game in the season does this list start?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)
<</SYS>>
SELECT MAX(population__2000_) FROM table_2004733_2 WHERE area__in_km_2__ = "1.2530"[/INST] How many people lived in the city which has 1.2530 kmΒ² in the year 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE budget (budgeted VARCHAR, YEAR VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM budget WHERE budgeted > 3000 AND YEAR <= 2001[/INST] How many budgets are above 3000 in year 2001 or before?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (average INTEGER, start_value VARCHAR, total VARCHAR)
<</SYS>>
SELECT AVG(average) FROM table_name_33 WHERE start_value = 9.9 AND total = 9.612[/INST] What is the average for the gymnast with a 9.9 start value and a total of 9.612?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)
<</SYS>>
SELECT republican_ticket FROM table_name_27 WHERE prohibition_ticket = "stephen mead wing"[/INST] What kind of Republican ticket has a Prohibition ticket of stephen mead wing?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR)
<</SYS>>
SELECT COUNT(area__km_2__) FROM table_1966992_1 WHERE census_2006_population = 151511[/INST] How many areas (km 2) have 151511 as the census 2006 population?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (score VARCHAR, winner VARCHAR)
<</SYS>>
SELECT score FROM table_name_14 WHERE winner = "ken still (3)"[/INST] What was the score of Ken Still (3) when he won first place?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17972193_1 (date VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT date FROM table_17972193_1 WHERE opponent = "at Los Angeles Rams"[/INST] When was the game played when the opponent was 'at Los Angeles Rams'?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (method VARCHAR, event VARCHAR)
<</SYS>>
SELECT method FROM table_name_98 WHERE event = "ufc 44"[/INST] The UFC 44 event has what method?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
<</SYS>>
SELECT rank FROM table_name_25 WHERE silver > 1 AND gold > 1 AND bronze > 4[/INST] Which rank has more than 1 silver, more than 1 gold, and more than 4 bronze?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR)
<</SYS>>
SELECT driver FROM table_name_32 WHERE points < 2 AND grid > 4 AND team = "american spirit team johansson"[/INST] Which driver has fewer than 2 points, larger grid that 4 and is on American Spirit Team Johansson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (rider VARCHAR, time VARCHAR)
<</SYS>>
SELECT rider FROM table_name_14 WHERE time = "+1:08.291"[/INST] What Rider had a Time of +1:08.291?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR)
<</SYS>>
SELECT group FROM table_name_82 WHERE distance = "1200 m"[/INST] What group has 1200 m as the distance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (team_1 VARCHAR)
<</SYS>>
SELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = "tuilla"[/INST] WHAT IS THE FIRST LEG OF TUILLA?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE pilot (Name VARCHAR)
<</SYS>>
SELECT Name FROM pilot ORDER BY Name[/INST] List all pilot names in ascending alphabetical order.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (third VARCHAR, teams VARCHAR, season VARCHAR)
<</SYS>>
SELECT third FROM table_name_25 WHERE teams = 13 AND season = 1996[/INST] What country came in third when there were 13 teams in 1996?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (points__pts_ INTEGER, place__posiciΓ³n_ INTEGER)
<</SYS>>
SELECT SUM(points__pts_) FROM table_name_37 WHERE place__posiciΓ³n_ > 8[/INST] What is the sum of all points for places above 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
<</SYS>>
SELECT driver FROM table_name_58 WHERE grid < 14 AND laps < 53 AND time_retired = "collision" AND constructor = "ferrari"[/INST] What is the name of the driver with a grid less than 14, laps smaller than 53 and a Time/Retired of collision, and a Constructor of ferrari?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR)
<</SYS>>
SELECT enrollment__2005_ FROM table_2076490_1 WHERE type = "Baccalaureate college" AND school = "Granite State College"[/INST] What was the enrollment (2005) for baccalaureate colleges , for Granite State College?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, score VARCHAR)
<</SYS>>
SELECT date FROM table_name_83 WHERE surface = "hard" AND score = "6β4, 2β6, 3β6"[/INST] What date was the match on a hard surface with a score of 6β4, 2β6, 3β6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR)
<</SYS>>
SELECT laps FROM table_name_87 WHERE points < 1 AND team = "dale coyne racing" AND grid > 13[/INST] Waht laps have points smaller than 1, and a team of dale coyne racing, and the grid larger than 13?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (louise VARCHAR, dainty_june VARCHAR)
<</SYS>>
SELECT louise FROM table_name_83 WHERE dainty_june = "tracy venner"[/INST] Who was Louise when Tracy Venner was Dainty June?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_298883_5 (date_of_issue VARCHAR, obverse VARCHAR)
<</SYS>>
SELECT COUNT(date_of_issue) FROM table_298883_5 WHERE obverse = "Kumsusan Memorial Palace"[/INST] How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR)
<</SYS>>
SELECT competition FROM table_name_83 WHERE date = "october 21, 2003"[/INST] What was the competition on October 21, 2003?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (outcome VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)
<</SYS>>
SELECT outcome FROM table_name_66 WHERE partner = "mark dickson" AND opponents_in_the_final = "hans gildemeister belus prajoux"[/INST] Which outcome has a partner named Mark Dickson, with the opponents of Hans Gildemeister Belus Prajoux?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)
<</SYS>>
SELECT tyre FROM table_name_87 WHERE entrant = "sa alfa romeo" AND driver = "luigi fagioli"[/INST] What is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2201724_1 (year VARCHAR, score_in_the_final VARCHAR)
<</SYS>>
SELECT COUNT(year) FROM table_2201724_1 WHERE score_in_the_final = "3β6, 4β6, 2β6"[/INST] List the total number of years that have a score of 3β6, 4β6, 2β6.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR)
<</SYS>>
SELECT region FROM table_name_15 WHERE format = "cd" AND label = "mca"[/INST] Which region has the format CD and label MCA?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (gymnast VARCHAR, floor VARCHAR)
<</SYS>>
SELECT gymnast FROM table_name_83 WHERE floor = "14.800"[/INST] Who is the gymnast with a floor score of 14.800?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (team VARCHAR, driver VARCHAR, car__number VARCHAR, make VARCHAR)
<</SYS>>
SELECT team FROM table_name_1 WHERE car__number < 99 AND make = "toyota" AND driver = "mike skinner"[/INST] Which team has a car # before 99, a Toyota, and is driven by Mike Skinner?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (date VARCHAR, home VARCHAR)
<</SYS>>
SELECT date FROM table_name_81 WHERE home = "atlanta"[/INST] What was the date of the game when Atlanta was the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (week_2 VARCHAR, week_1 VARCHAR)
<</SYS>>
SELECT week_2 FROM table_name_66 WHERE week_1 = "crystal beddows"[/INST] What Week 2 has a Week 1 of crystal beddows?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR)
<</SYS>>
SELECT player FROM table_name_23 WHERE cfl_team = "montreal alouettes (via hamilton via winnipeg)"[/INST] Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (date VARCHAR, edition VARCHAR, result VARCHAR)
<</SYS>>
SELECT date FROM table_name_69 WHERE edition = "1988 world group i" AND result = "7β6 (7β5) , 6β3"[/INST] What date was the 1988 world group i edition with a result of 7β6 (7β5) , 6β3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24463470_1 (setting VARCHAR, difficulty VARCHAR)
<</SYS>>
SELECT setting FROM table_24463470_1 WHERE difficulty = "Hard"[/INST] What is the setting for the hard difficulty?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16331144_1 (third_place VARCHAR, season VARCHAR)
<</SYS>>
SELECT third_place FROM table_16331144_1 WHERE season = "Four"[/INST] Who won third place in season four?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR)
<</SYS>>
SELECT MIN(byes) FROM table_name_56 WHERE against > 1018 AND wimmera_fl = "horsham diggers"[/INST] Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR)
<</SYS>>
SELECT airport FROM table_name_59 WHERE iata = "bkk"[/INST] Which airport has IATA of BKK?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR)
<</SYS>>
SELECT qual FROM table_name_70 WHERE rank = "29" AND year = "1957"[/INST] What is the qualification for rank of 29 in 1957?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)
<</SYS>>
SELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 = "14,1"[/INST] What is the highest birth/2013 when the death/2012 is 14,1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (method VARCHAR, record VARCHAR)
<</SYS>>
SELECT method FROM table_name_4 WHERE record = "11-1"[/INST] Which method has the record of 11-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_53 (record VARCHAR, march VARCHAR)
<</SYS>>
SELECT record FROM table_name_53 WHERE march = 12[/INST] which Record is on March of 12</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR)
<</SYS>>
SELECT city_of_license FROM table_name_61 WHERE frequency = "103.3 fm"[/INST] What city is 103.3 FM licensed in?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (russian VARCHAR, ratio VARCHAR)
<</SYS>>
SELECT russian FROM table_name_60 WHERE ratio = "40"[/INST] What Russian has a Ratio of 40?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (points VARCHAR, performer VARCHAR)
<</SYS>>
SELECT points FROM table_name_44 WHERE performer = "nigel connell"[/INST] How many points did Nigel Connell have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)
<</SYS>>
SELECT COUNT(draw) FROM table_name_9 WHERE televotes > 1761 AND song = "ils sont lΓ " AND place < 2[/INST] What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont LΓ ", and when Place is less than 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (time_retired VARCHAR, grid VARCHAR)
<</SYS>>
SELECT time_retired FROM table_name_49 WHERE grid = 18[/INST] What time/retired for grid 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (event VARCHAR, round VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT event FROM table_name_36 WHERE round = "1" AND opponent = "dan spychalski"[/INST] Which event lasted 1 round and included an opponent of Dan Spychalski?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (platform VARCHAR, current_version VARCHAR)
<</SYS>>
SELECT platform FROM table_name_55 WHERE current_version = "0.6.2"[/INST] What Platform has a Current Version 0.6.2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (score VARCHAR, loss VARCHAR)
<</SYS>>
SELECT score FROM table_name_98 WHERE loss = "embree (1-2)"[/INST] What was the score of the game that had a loss of Embree (1-2)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (qual VARCHAR, year VARCHAR)
<</SYS>>
SELECT qual FROM table_name_38 WHERE year = "1954"[/INST] What is the Qual listed on the Year of 1954?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14342592_7 (points INTEGER, position VARCHAR, extra_points VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_14342592_7 WHERE position = "Left tackle" AND extra_points = 5[/INST] How many maximum points were there when the left tackle was played and there were 5 extra points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_75 (score VARCHAR, country VARCHAR, player VARCHAR)
<</SYS>>
SELECT COUNT(score) FROM table_name_75 WHERE country = "united states" AND player = "lee trevino"[/INST] What is the total number of Score, when Country is "United States", and when Player is "Lee Trevino"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (date VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_85 WHERE home_team = "footscray"[/INST] What date did the home team of footscray play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE manufacturer (name VARCHAR, open_year VARCHAR, num_of_shops VARCHAR, Num_of_Factories VARCHAR)
<</SYS>>
SELECT name, open_year FROM manufacturer WHERE num_of_shops > 10 OR Num_of_Factories < 10[/INST] Give me the name and year of opening of the manufacturers that have either less than 10 factories or more than 10 shops.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)
<</SYS>>
SELECT player FROM table_name_73 WHERE pos = "f" AND previous_team = "new york knicks"[/INST] What F Player was previously with the New York Knicks?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR)
<</SYS>>
SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 57[/INST] What is the lowest Attendance, when Date is "February 4", and when Points is less than 57?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (money___$__ VARCHAR, place VARCHAR, player VARCHAR)
<</SYS>>
SELECT money___$__ FROM table_name_36 WHERE place = "t4" AND player = "ben crenshaw"[/INST] How much money does player ben crenshaw, who has a t4 place, have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (record VARCHAR, week VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT record FROM table_name_25 WHERE week > 7 AND opponent = "san diego chargers"[/INST] What is the Record in a week later than 7 against the San Diego Chargers?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)
<</SYS>>
SELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = "1996" AND flap < 9[/INST] How many podiums had a race higher than 14 in 1996 and a Flap lower than 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (opponent VARCHAR, opponents VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_5 WHERE opponents = 16[/INST] Who is the opponent with 16 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_captain FROM table_name_81 WHERE venue = "trent bridge"[/INST] Who was the away captain for matches played at Trent Bridge?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1439045_5 (die_size__mm_2___ VARCHAR, model VARCHAR)
<</SYS>>
SELECT die_size__mm_2___[1] FROM table_1439045_5 WHERE model = "SGX531"[/INST] What is the die size(mm 2) for model sgx531?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (record VARCHAR, score VARCHAR, home VARCHAR)
<</SYS>>
SELECT record FROM table_name_23 WHERE score = "2β4" AND home = "quebec nordiques"[/INST] Which Record has a Score of 2β4, and a Home of quebec nordiques?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (safari VARCHAR, firefox VARCHAR)
<</SYS>>
SELECT safari FROM table_name_10 WHERE firefox = "24.66%"[/INST] What was the percentage of safari when firefox was 24.66%</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)
<</SYS>>
SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back"[/INST] Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)
<</SYS>>
SELECT _percentage FROM table_1108394_47 WHERE queens = "87,676"[/INST] The man who received 87,676 votes in Queens won what percentage of the total for the election?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (tie_no VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT tie_no FROM table_name_99 WHERE away_team = "whyteleafe"[/INST] What is the Tie no for the game with the away team Whyteleafe?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)
<</SYS>>
SELECT seasons_by_team FROM table_274117_5 WHERE position = "OL" AND number = 11[/INST] What are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (date VARCHAR, round VARCHAR)
<</SYS>>
SELECT date FROM table_name_40 WHERE round = "r3"[/INST] What is the date where the round is R3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR)
<</SYS>>
SELECT vs_all FROM table_name_72 WHERE vs_terran = "159"[/INST] What is the score vs. all when the score vs. Terran is 159?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR)
<</SYS>>
SELECT barrel_twist FROM table_12834315_8 WHERE barrel_profile = "SFW"[/INST] What is the value of barrel twist when the barrel profile is SFW?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (crowd VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT COUNT(crowd) FROM table_name_96 WHERE home_team = "geelong"[/INST] How big was the crowd when Geelong was the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (velodrome VARCHAR, distance VARCHAR, pacing VARCHAR, year VARCHAR, country VARCHAR)
<</SYS>>
SELECT velodrome FROM table_name_6 WHERE year < 1950 AND country = "france" AND pacing = "tandem paced" AND distance = "951.750 km"[/INST] What velodrome took place earlier than 1950 with a winner from France in tandem paced over a distance of 951.750βkm?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (attendance INTEGER, game VARCHAR)
<</SYS>>
SELECT MIN(attendance) FROM table_name_47 WHERE game = 6[/INST] The game of 6 has what lowest attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (result VARCHAR, goals VARCHAR)
<</SYS>>
SELECT result FROM table_name_52 WHERE goals = "deacon 6/6"[/INST] I want the result for goals which has goals of deacon 6/6</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1013129_8 (nationality VARCHAR, pick VARCHAR)
<</SYS>>
SELECT COUNT(nationality) FROM table_1013129_8 WHERE pick = 193[/INST] How many nationalities are the pick 193?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_30 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)
<</SYS>>
SELECT ntfa_div_1 FROM table_name_30 WHERE draws < 1 AND wins = 15[/INST] What is the NTFA Div 1 team that has 15 wins and less than 1 draw?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (record VARCHAR, week VARCHAR)
<</SYS>>
SELECT record FROM table_name_60 WHERE week = "8"[/INST] What was the team record by Week 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)
<</SYS>>
SELECT date_of_vacancy FROM table_11190568_7 WHERE replaced_by = "Davy FitzGerald"[/INST] When is the date of vacancy of Davy Fitzgerald being a replacement?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (opponent VARCHAR, round VARCHAR, record VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_46 WHERE round > 1 AND record = "12-7"[/INST] Who was the opponent when he went more than 1 round with a record of 12-7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT date FROM table_name_37 WHERE opponent = "rafael nadal"[/INST] On what Date was Rafael Nadal the Opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (Id VARCHAR)
<</SYS>>
SELECT 2009 FROM table_name_32 WHERE 2011 = "25"[/INST] What shows for 2009 when 25 shows for 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_228973_3 (no_in_season VARCHAR, original_air_date VARCHAR)
<</SYS>>
SELECT COUNT(no_in_season) FROM table_228973_3 WHERE original_air_date = "January 3, 1997"[/INST] which is the number of the season episode whose premiere was in january 3, 1997?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)
<</SYS>>
SELECT MIN(capacity) FROM table_name_37 WHERE stadium = "hampden park" AND highest > 1 OFFSET 763[/INST] What's the capacity that has the highest greater than 1,763 and is at Hampden Park?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_245801_1 (flight_up VARCHAR, landing_date VARCHAR)
<</SYS>>
SELECT flight_up FROM table_245801_1 WHERE landing_date = "10 December 1982 19:02:36 UTC"[/INST] Name the flight up for 10 december 1982 19:02:36 utc</s>
|
<s>[INST] <<SYS>>
CREATE TABLE races (name VARCHAR, date VARCHAR)
<</SYS>>
SELECT name FROM races ORDER BY date DESC LIMIT 1[/INST] What is the name of the race held most recently?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28194879_1 (_number INTEGER, written_by VARCHAR)
<</SYS>>
SELECT MAX(_number) FROM table_28194879_1 WHERE written_by = "Dan Vebber"[/INST] What is the last number in season of the episodes written by Dan Vebber?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)
<</SYS>>
SELECT driver FROM table_name_87 WHERE grid < 12 AND time_retired = "+ 3 laps"[/INST] What driver has a grid under 12 with a Time/Retired of + 3 laps?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table (r INTEGER, player VARCHAR, Marcelo VARCHAR)
<</SYS>>
SELECT MIN(r) FROM table WHERE player = Marcelo[/INST] If the player is Marcelo, what is the minimum R?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, game VARCHAR)
<</SYS>>
SELECT result FROM table_name_26 WHERE home_team = "los angeles" AND game = "game 5"[/INST] What is the result of game 5 with Los Angeles as the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (finish VARCHAR, country VARCHAR, player VARCHAR)
<</SYS>>
SELECT finish FROM table_name_37 WHERE country = "united states" AND player = "julius boros"[/INST] What is Finish, when Country is "United States", and when Player is "Julius Boros"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR)
<</SYS>>
SELECT AVG(year) FROM table_name_49 WHERE quantity = 10 AND gwr_numbers = "409, 290, 315, 317β321, 324, 333"[/INST] What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317β321, 324, 333?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR)
<</SYS>>
SELECT qb_rating FROM table_18686317_1 WHERE comp__percentage = "62.0"[/INST] What is the Quarterback rating of the player who got a comp percentage of 62.0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27755784_8 (score VARCHAR, high_points VARCHAR)
<</SYS>>
SELECT score FROM table_27755784_8 WHERE high_points = "Monta Ellis (29)"[/INST] What is the score when the hight points is Monta Ellis (29)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (artist VARCHAR, issue_price VARCHAR)
<</SYS>>
SELECT artist FROM table_name_11 WHERE issue_price = "$8,159.95"[/INST] Which Artist has an Issue Price of $8,159.95?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_30018460_1 (manhunt_international INTEGER)
<</SYS>>
SELECT MIN(manhunt_international) FROM table_30018460_1[/INST] What is the minimum manhunt beauty contest?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (years VARCHAR, name VARCHAR)
<</SYS>>
SELECT years FROM table_name_48 WHERE name = "dannevirke south school"[/INST] Name the years for dannevirke south school</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (player VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_98 WHERE score = 68 - 67 = 135[/INST] Who had a score of 68-67=135?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.