text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (record VARCHAR, location_attendance VARCHAR)
<</SYS>>
SELECT record FROM table_name_22 WHERE location_attendance = "palace of auburn hills 8,108"[/INST] Which Record has a Location/Attendance of palace of auburn hills 8,108?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR)
<</SYS>>
SELECT driver FROM table_name_85 WHERE time = "+13.315"[/INST] What is name of the drive with a Time of +13.315?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_88 (points INTEGER, grid VARCHAR)
<</SYS>>
SELECT MIN(points) FROM table_name_88 WHERE grid = "2"[/INST] What is the point low with 2 grids?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_7 (range VARCHAR, name VARCHAR, rank VARCHAR)
<</SYS>>
SELECT range FROM table_name_7 WHERE name = "mount fukushima" AND rank = 38[/INST] Which range includes Mount Fukushima, and is ranked 38?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (score VARCHAR, home VARCHAR)
<</SYS>>
SELECT score FROM table_name_71 WHERE home = "vancouver"[/INST] What was the score of the Red Wings game when Vancouver was the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_34 (socket VARCHAR, release_date VARCHAR, order_part_number VARCHAR)
<</SYS>>
SELECT socket FROM table_name_34 WHERE release_date = "september 10, 2009" AND order_part_number = "amm300dbo22gq"[/INST] What is the socket with an order part number of amm300dbo22gq and a September 10, 2009 release date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_28 (result VARCHAR, category VARCHAR)
<</SYS>>
SELECT result FROM table_name_28 WHERE category = "best sound design"[/INST] what is the result when the category is best sound design?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)
<</SYS>>
SELECT tickets_sold___available FROM table_name_51 WHERE gross_revenue__2011_ = "$333,100"[/INST] How many tickets were sold / available for the venue that had a gross revenue of $333,100 in 2011?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341472_49 (party VARCHAR, district VARCHAR)
<</SYS>>
SELECT COUNT(party) FROM table_1341472_49 WHERE district = "Washington 7"[/INST] how many party with district being washington 7</s>
|
<s>[INST] <<SYS>>
CREATE TABLE accounts (name VARCHAR)
<</SYS>>
SELECT name FROM accounts ORDER BY name[/INST] List all customers’ names in the alphabetical order.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_10556257_1 (cup_goals INTEGER, season VARCHAR)
<</SYS>>
SELECT MAX(cup_goals) FROM table_10556257_1 WHERE season = "1911-12"[/INST] What is the most cup goals for seasson 1911-12?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (against INTEGER, status VARCHAR, date VARCHAR)
<</SYS>>
SELECT MIN(against) FROM table_name_42 WHERE status = "first test" AND date = "26/05/2007"[/INST] What is the lowest Against, when Status is "First Test", and when Date is "26/05/2007"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11200856_1 (hand VARCHAR)
<</SYS>>
SELECT COUNT(4 AS _credits) FROM table_11200856_1 WHERE hand = "Two pair"[/INST] How many 4 credits is the hand two pair?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (college VARCHAR, overall VARCHAR, round VARCHAR)
<</SYS>>
SELECT college FROM table_name_41 WHERE overall > 15 AND round = 7[/INST] What is the college when the over is larger than 15 in round 7?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_18733814_2 (general_classification VARCHAR, winner VARCHAR)
<</SYS>>
SELECT general_classification FROM table_18733814_2 WHERE winner = "Danilo Di Luca"[/INST] When danilo di luca is the winner who is the general classification? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT date FROM table_name_14 WHERE home_team = "gold coast blaze"[/INST] What date did home team Gold Coast Blaze play?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_48 (score_in_the_final VARCHAR, partnering VARCHAR)
<</SYS>>
SELECT score_in_the_final FROM table_name_48 WHERE partnering = "tessa price"[/INST] What was the final score for the match with a partnering of Tessa Price?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR)
<</SYS>>
SELECT lost FROM table_17941032_1 WHERE tries_for = "55"[/INST] When 55 is the tries for what is the lost?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27723526_13 (game INTEGER, date VARCHAR)
<</SYS>>
SELECT MAX(game) FROM table_27723526_13 WHERE date = "April 3"[/INST] What is the game number played on April 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT date FROM table_name_62 WHERE opponent = "arsenal"[/INST] When was the opponent Arsenal?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (total INTEGER, league_cup VARCHAR, fa_cup VARCHAR)
<</SYS>>
SELECT SUM(total) FROM table_name_45 WHERE league_cup < 1 AND fa_cup < 1[/INST] What is the total when the league cup is less than 1, and the fa cup is less than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (score VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT score FROM table_name_85 WHERE attendance = "arsenal win 4-2 on penalties"[/INST] What is the Score of the game with arsenal win 4-2 on penalties in the attendance field?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (arabic_country_name VARCHAR, english_capital_name VARCHAR)
<</SYS>>
SELECT arabic_country_name FROM table_name_68 WHERE english_capital_name = "moroni"[/INST] What is the name of the country in Arabic that has Moroni as the name of its capital in English?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (city VARCHAR, erp__analog__digital_ VARCHAR)
<</SYS>>
SELECT city FROM table_name_41 WHERE erp__analog__digital_ = "600kw 500kw"[/INST] Which City has 600kw 500kw ERP (Analog/ Digital)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (loss VARCHAR, date VARCHAR)
<</SYS>>
SELECT loss FROM table_name_91 WHERE date = "august 19"[/INST] What was the loss for August 19?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (score VARCHAR, opponents_in_the_final VARCHAR)
<</SYS>>
SELECT score FROM table_name_5 WHERE opponents_in_the_final = "james cerretani todd perry"[/INST] What is the score for the match where the opponent in the final was james cerretani todd perry?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_171666_1 (comparable_country VARCHAR, national_share___percentage_ VARCHAR)
<</SYS>>
SELECT comparable_country FROM table_171666_1 WHERE national_share___percentage_ = "1.08"[/INST] What comparable country has a national share of 1.08?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT COUNT(result) FROM table_14951643_1 WHERE opponent = "Cleveland Browns"[/INST] how many result with opponent being cleveland browns</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17309500_1 (assists VARCHAR, blocks VARCHAR)
<</SYS>>
SELECT COUNT(assists) FROM table_17309500_1 WHERE blocks = "77"[/INST] Name the total number of assists for 77 blocks</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (label VARCHAR, media VARCHAR, release_date VARCHAR)
<</SYS>>
SELECT label FROM table_name_25 WHERE media = "cd" AND release_date = 2004[/INST] What is the label for a CD released in 2004?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE perpetrator (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR)
<</SYS>>
SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Weight DESC LIMIT 1[/INST] What is the name of the perpetrator with the biggest weight.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER, artist VARCHAR)
<</SYS>>
SELECT MAX(weeks_in_top_10) FROM table_27813010_2 WHERE artist = "Peter Kay"[/INST] How many weeks in the top 10 was spent by a song performed by Peter Kay?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28059992_2 (college VARCHAR, position VARCHAR)
<</SYS>>
SELECT college FROM table_28059992_2 WHERE position = "DL"[/INST] Name the college for dl</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR)
<</SYS>>
SELECT signed FROM table_name_13 WHERE school = "university of michigan"[/INST] Was the University of Michigan Signed?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (year VARCHAR, match VARCHAR)
<</SYS>>
SELECT year FROM table_name_82 WHERE match = 63[/INST] Which Year has a Match of 63?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_39 (mascot VARCHAR, _number___county VARCHAR)
<</SYS>>
SELECT mascot FROM table_name_39 WHERE _number___county = "66 pulaski 2"[/INST] what's the mascot for 66 pulaski 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11585313_1 (number_of_goals VARCHAR, date_of_debut VARCHAR)
<</SYS>>
SELECT COUNT(number_of_goals) FROM table_11585313_1 WHERE date_of_debut = "14-04-1907"[/INST] What is the total number of goals on the debut date of 14-04-1907?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (winning_car VARCHAR, circuit VARCHAR, winning_driver VARCHAR)
<</SYS>>
SELECT winning_car FROM table_name_35 WHERE circuit = "oulton park" AND winning_driver = "tony trimmer"[/INST] What car did Tony Trimmer drive at the Oulton Park Circuit?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (nat VARCHAR, principal_victims VARCHAR)
<</SYS>>
SELECT nat FROM table_name_49 WHERE principal_victims = "civilians"[/INST] What is the nationality of the ship when the principle victims are civilians?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_6 (round INTEGER, name VARCHAR)
<</SYS>>
SELECT MAX(round) FROM table_name_6 WHERE name = "donnie caraway"[/INST] What is the highest round number for donnie caraway?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Documents (project_id VARCHAR)
<</SYS>>
SELECT project_id, COUNT(*) FROM Documents GROUP BY project_id[/INST] Show project ids and the number of documents in each project.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (südbayern VARCHAR, year VARCHAR)
<</SYS>>
SELECT südbayern FROM table_name_27 WHERE year = 1928[/INST] What's the Südbayern in 1928?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR, years_in_toronto VARCHAR)
<</SYS>>
SELECT player FROM table_name_8 WHERE nationality = "united states" AND years_in_toronto = "2003-06"[/INST] Who is the player from United States who play in year 2003-06 in Toronto?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22654073_7 (high_assists VARCHAR, date VARCHAR)
<</SYS>>
SELECT high_assists FROM table_22654073_7 WHERE date = "December 13"[/INST] Name the high assists for december 13</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_56 (date VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT date FROM table_name_56 WHERE attendance = "45,943"[/INST] What date was the game when 45,943 attended?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27969432_3 (no_in_series INTEGER)
<</SYS>>
SELECT MIN(no_in_series) FROM table_27969432_3[/INST] What is the lowest numbered episode in the series?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (water_depth VARCHAR, location VARCHAR, name VARCHAR)
<</SYS>>
SELECT water_depth FROM table_name_59 WHERE location = "nigeria" AND name = "sedco 702"[/INST] What is the water depth of Sedco 702, located in Nigeria?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_5 WHERE date = "april 28"[/INST] What score has april 28 as the date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (nationality VARCHAR, school VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_1 WHERE school = "florida tech"[/INST] Which nationality does Florida Tech have?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (bronze VARCHAR, total INTEGER)
<</SYS>>
SELECT COUNT(bronze) FROM table_name_24 WHERE total < 1[/INST] What is the total number of bronzes that is less than 1 in total?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (rd__number INTEGER, player VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT AVG(rd__number) FROM table_name_2 WHERE player = "dane jackson" AND pick__number > 44[/INST] What's the average Rd number for dane jackson with a pick number over 44?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (pick VARCHAR, position VARCHAR)
<</SYS>>
SELECT COUNT(pick) FROM table_name_61 WHERE position = "defensive back"[/INST] How many Picks have a Position of defensive back?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25818630_1 (affiliation VARCHAR, candidate VARCHAR)
<</SYS>>
SELECT affiliation FROM table_25818630_1 WHERE candidate = "Daren Ireland"[/INST] What is every affiliation for candidate Daren Ireland?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23214055_2 (district VARCHAR, others VARCHAR)
<</SYS>>
SELECT district FROM table_23214055_2 WHERE others = "18.3"[/INST] Name the district for others being 18.3</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22948559_1 (production_code VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT production_code FROM table_22948559_1 WHERE written_by = "Paul Lieberstein"[/INST] Name the production code by paul lieberstein</s>
|
<s>[INST] <<SYS>>
CREATE TABLE station (station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR); CREATE TABLE train_station (train_id VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR)
<</SYS>>
SELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id = T2.train_id WHERE NOT T1.station_id IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id = T4.station_id WHERE t4.location = "London")[/INST] Find the names of the trains that do not pass any station located in London.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (weight INTEGER, height VARCHAR)
<</SYS>>
SELECT AVG(weight) FROM table_name_69 WHERE height = "6-9"[/INST] Can you tell me the average Weight that has Height of 6-9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (team VARCHAR, make VARCHAR)
<</SYS>>
SELECT team FROM table_name_27 WHERE make = "dodge"[/INST] What team drove a Dodge vehicle?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28211988_1 (womens_singles VARCHAR, season VARCHAR)
<</SYS>>
SELECT COUNT(womens_singles) FROM table_28211988_1 WHERE season = "2000/01"[/INST] How many people are women's singles in the season of 2000/01?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR)
<</SYS>>
SELECT dimensions FROM table_298883_5 WHERE reverse = "Western sea barrage and locks at Taedong Gang"[/INST] What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (attempts VARCHAR, team VARCHAR, yards VARCHAR)
<</SYS>>
SELECT attempts FROM table_name_42 WHERE team = "iowa" AND yards = "2,249"[/INST] What was the number of attempts for Vanderberg on Iowa when the recorded yards were 2,249?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (score VARCHAR, opponent_team VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT score FROM table_name_83 WHERE opponent_team = "belgium" AND opponent = "kirsten flipkens"[/INST] What is Score, when Opponent Team is Belgium, and when Opponent is Kirsten Flipkens?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR)
<</SYS>>
SELECT T2.account_name, T1.account_id, COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id[/INST] Show the account name, id and the number of transactions for each account.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (points VARCHAR, record VARCHAR, january VARCHAR)
<</SYS>>
SELECT COUNT(points) FROM table_name_21 WHERE record = "25–10–11" AND january > 28[/INST] How many Points have a Record of 25–10–11, and a January larger than 28?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (rank VARCHAR, time VARCHAR)
<</SYS>>
SELECT COUNT(rank) FROM table_name_21 WHERE time = "3:43.491"[/INST] What is the Rank of the Athletes with a Time of 3:43.491?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (points VARCHAR, year VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT points FROM table_name_3 WHERE year < 1979 AND chassis = "ferrari 312b2"[/INST] How many points were there before 1979 with a ferrari 312b2 chassis?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, longitude VARCHAR)
<</SYS>>
SELECT diameter__km_ FROM table_16799784_7 WHERE longitude = "170.1E"[/INST] what is the diameter (km) of longitude 170.1e</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_87 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)
<</SYS>>
SELECT home__2nd_leg_ FROM table_name_87 WHERE aggregate = "3-4"[/INST] What is the home of aggregate's 3-4?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_82 (surface VARCHAR, date VARCHAR)
<</SYS>>
SELECT surface FROM table_name_82 WHERE date = "november 6, 1982"[/INST] What surface was the match on November 6, 1982 played on?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23916462_3 (week INTEGER)
<</SYS>>
SELECT MIN(week) FROM table_23916462_3[/INST] What is the least value for week?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (league VARCHAR, fa_cup VARCHAR, total VARCHAR)
<</SYS>>
SELECT league FROM table_name_76 WHERE fa_cup > 0 AND total > 21[/INST] Which league has an FA cup greater than 0, with a total greater than 21?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, height VARCHAR)
<</SYS>>
SELECT catalog_entry_name FROM catalog_contents ORDER BY height DESC LIMIT 1[/INST] What is the product with the highest height? Give me the catalog entry name.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)
<</SYS>>
SELECT percentage__2006_ FROM table_2328113_1 WHERE mother_tongue = "Polish"[/INST] What was the percentage in 2006 whose natives is Polish?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (bronze INTEGER, silver VARCHAR, rank VARCHAR)
<</SYS>>
SELECT MAX(bronze) FROM table_name_46 WHERE silver > 1 AND rank > 1[/INST] WHAT COUNTRY HAS THE HIGHEST BRONZE COUNT, MORE THAN 1 SILVER METAL, AND LESS THAN 1ST PLACE?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (time VARCHAR, reaction_time VARCHAR, lane VARCHAR)
<</SYS>>
SELECT COUNT(time) FROM table_name_62 WHERE reaction_time > 0.17500000000000002 AND lane = 3[/INST] How many Times have a Reaction Time larger than 0.17500000000000002, and a Lane of 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (name VARCHAR, time VARCHAR)
<</SYS>>
SELECT name FROM table_name_14 WHERE time = "01:17:01"[/INST] What Name has a Time of 01:17:01?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR)
<</SYS>>
SELECT played FROM table_name_2 WHERE position = "11th" AND points = "8"[/INST] What's the value for played when points is 8 and position is 11th?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)
<</SYS>>
SELECT COUNT(wins) FROM table_name_61 WHERE ballarat_fl = "east point" AND against > 1000[/INST] How many total wins does Ballarat FL of East point have when the against is greater than 1000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (perpetrator VARCHAR, location VARCHAR)
<</SYS>>
SELECT perpetrator FROM table_name_85 WHERE location = "baghdad"[/INST] Who went on a rampage in Baghdad?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_44 (winner_nominee_s_ VARCHAR, result VARCHAR, film VARCHAR)
<</SYS>>
SELECT winner_nominee_s_ FROM table_name_44 WHERE result = "nominated" AND film = "rugrats go wild"[/INST] Who is nominated for the film Rugrats Go Wild?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (Lieutenant VARCHAR, left_office VARCHAR)
<</SYS>>
SELECT Lieutenant AS governor FROM table_name_90 WHERE left_office = "october 16, 2000"[/INST] Who was lieutenant governor to the governor that left office on October 16, 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (source VARCHAR, date VARCHAR)
<</SYS>>
SELECT source FROM table_name_27 WHERE date = "6 september"[/INST] What is the source on 6 September?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)
<</SYS>>
SELECT COUNT(attendance) FROM table_name_2 WHERE opponent = "middlesbrough" AND result = "3-1"[/INST] What is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)
<</SYS>>
SELECT SUM(second) FROM table_name_1 WHERE total < 70 AND premier < 20 AND first > 18[/INST] What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2385460_1 (stops VARCHAR, stations VARCHAR)
<</SYS>>
SELECT stops FROM table_2385460_1 WHERE stations = 36[/INST] Name the stops for stations 36</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_15 (country VARCHAR, mountain VARCHAR, height__m_ VARCHAR, range VARCHAR)
<</SYS>>
SELECT country FROM table_name_15 WHERE height__m_ > 4100 AND range = "arsi mountains" AND mountain = "bada"[/INST] Which Country has a Height (m) larger than 4100, and a Range of arsi mountains, and a Mountain of bada?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (round_4 VARCHAR, round_1 VARCHAR, round_2 VARCHAR)
<</SYS>>
SELECT round_4 FROM table_name_45 WHERE round_1 > 19 AND round_2 = "27"[/INST] Round 4 for larger than 19 Round 1 and a 27 Round 2?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_17311797_10 (score VARCHAR, game VARCHAR)
<</SYS>>
SELECT score FROM table_17311797_10 WHERE game = 81[/INST] What was the score in game 81?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1140073_2 (race VARCHAR, location VARCHAR)
<</SYS>>
SELECT race FROM table_1140073_2 WHERE location = "Kyalami"[/INST] Which race is located in kyalami?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25642873_2 (safeties INTEGER)
<</SYS>>
SELECT MIN(safeties) FROM table_25642873_2[/INST] What is the smallest number of safeties? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11274401_3 (timeslot VARCHAR, air_date VARCHAR)
<</SYS>>
SELECT timeslot FROM table_11274401_3 WHERE air_date = "May 12, 2009"[/INST] What was the timeslot for the episode that aired on May 12, 2009?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_19 (country VARCHAR, supermarkets VARCHAR)
<</SYS>>
SELECT country FROM table_name_19 WHERE supermarkets = "50"[/INST] What country has 50 supermarkets?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23851574_2 (name VARCHAR, nationality_sponsors VARCHAR)
<</SYS>>
SELECT name FROM table_23851574_2 WHERE nationality_sponsors = "Belgium"[/INST] Which telescopes were sponsored by or originated in Belgium?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12338595_1 (swimsuit VARCHAR, state VARCHAR)
<</SYS>>
SELECT COUNT(swimsuit) FROM table_12338595_1 WHERE state = "Virginia"[/INST] What swimsuit score did the state of Virginia contestant achieve?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1602620_1 (type VARCHAR, elected VARCHAR)
<</SYS>>
SELECT type FROM table_1602620_1 WHERE elected = 1980[/INST] What type had an election day in 1980</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21761882_4 (date VARCHAR, week VARCHAR)
<</SYS>>
SELECT date FROM table_21761882_4 WHERE week = 3[/INST] What was the date of the game in week 3?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_11 WHERE date = "december 12, 1998"[/INST] What's the score on December 12, 1998?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_21 (peak_position VARCHAR, date VARCHAR)
<</SYS>>
SELECT peak_position FROM table_name_21 WHERE date = "10 june 1998"[/INST] Which Peak Position has a Date of 10 june 1998?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_29 (start INTEGER, pens VARCHAR, conv VARCHAR, tries VARCHAR)
<</SYS>>
SELECT MAX(start) FROM table_name_29 WHERE conv = 14 AND tries = 10 AND pens > 22[/INST] What is the largest start for a player with 14 conv, 10 tries and more than 22 pens?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (method VARCHAR, time VARCHAR)
<</SYS>>
SELECT method FROM table_name_5 WHERE time = "0:51"[/INST] what is the method when the time is 0:51?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.