text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_27714985_1 (no_s__in_season INTEGER, production_code_s_ VARCHAR)
<</SYS>>
SELECT MIN(no_s__in_season) FROM table_27714985_1 WHERE production_code_s_ = 226407[/INST] What is the episode number of the episode whose production code is 226407?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (nationality VARCHAR, round VARCHAR)
<</SYS>>
SELECT nationality FROM table_name_11 WHERE round = 1[/INST] What was the nationality for the player in Round 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (overs INTEGER, runs VARCHAR)
<</SYS>>
SELECT MIN(overs) FROM table_name_61 WHERE runs = 18[/INST] What is the lowest Overs with a Run that is 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27615520_1 (form_factor VARCHAR, bandwidth__gb_s_ VARCHAR)
<</SYS>>
SELECT form_factor FROM table_27615520_1 WHERE bandwidth__gb_s_ = "10"[/INST] What is the shape distortion for the range frequency of 10?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (home VARCHAR, geust VARCHAR)
<</SYS>>
SELECT home FROM table_name_52 WHERE geust = "fc st. gallen (asl)"[/INST] What is the home of fc st. gallen (asl) geust?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR)
<</SYS>>
SELECT opponent FROM table_19789597_6 WHERE date = "July 7"[/INST] Who was the game on July 7 played against?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26214389_3 (total_non_qatar VARCHAR, grand_total VARCHAR)
<</SYS>>
SELECT total_non_qatar FROM table_26214389_3 WHERE grand_total = 5814[/INST] If the grand total is 5814, what is the total non qatar?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_27 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR)
<</SYS>>
SELECT COUNT(gold) FROM table_name_27 WHERE bronze > 1 AND nation = "total" AND silver < 18[/INST] How many golds have a bronze greater than 1, total as the nation, and a silver less than 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_64 (tv_station VARCHAR, romaji_title VARCHAR)
<</SYS>>
SELECT tv_station FROM table_name_64 WHERE romaji_title = "maou"[/INST] Which TV station had a Romaji Title Maou?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2781227_10 (college_junior_club_team VARCHAR, player VARCHAR)
<</SYS>>
SELECT college_junior_club_team FROM table_2781227_10 WHERE player = "Wes Swinson"[/INST] what educational institute does wes swinson attend</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (solo_blocks INTEGER, assists VARCHAR, season VARCHAR, errors VARCHAR, kills VARCHAR)
<</SYS>>
SELECT SUM(solo_blocks) FROM table_name_24 WHERE errors > 126 AND kills > 551 AND season = "2007" AND assists > 40[/INST] When there are more than 126 errors, more than 551 kills, and more than 40 assists for the 2007 season, what is the total of Solo Blocks?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (against INTEGER, central_murray VARCHAR, wins VARCHAR)
<</SYS>>
SELECT MAX(against) FROM table_name_90 WHERE central_murray = "tooleybuc manangatang" AND wins < 13[/INST] What is the number of against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE student_course_registrations (student_id VARCHAR)
<</SYS>>
SELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY COUNT(*) LIMIT 1[/INST] what is id of students who registered some courses but the least number of courses in these students?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_255812_1 (income_class__2007_ VARCHAR, mayor VARCHAR)
<</SYS>>
SELECT income_class__2007_ FROM table_255812_1 WHERE mayor = "Ma. Ester A. Hamor"[/INST] What are all the profits elegance (2007) in which mayor is ma. Ester a. Hamor</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT MIN(crowd) FROM table_name_42 WHERE away_team = "melbourne"[/INST] When the Away team is melbourne, what's the lowest Crowd attended?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (score VARCHAR, home VARCHAR)
<</SYS>>
SELECT score FROM table_name_60 WHERE home = "etobicoke kangaroos"[/INST] What is the Score with a Hoe that is etobicoke kangaroos?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (chapter INTEGER, chinese VARCHAR)
<</SYS>>
SELECT MAX(chapter) FROM table_name_24 WHERE chinese = "ιθ¨"[/INST] Name the highest chapter with chinese of ιθ¨</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (matches INTEGER, player VARCHAR, total VARCHAR)
<</SYS>>
SELECT MAX(matches) FROM table_name_31 WHERE player = "ian ryan" AND total < 29[/INST] With a Total of less than 29, what is Ian Ryan's most Matches?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_3 (loss VARCHAR, record VARCHAR)
<</SYS>>
SELECT loss FROM table_name_3 WHERE record = "36-20"[/INST] Who did the Blue Jays lose to when their record was 36-20?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (location_attendance VARCHAR, score VARCHAR)
<</SYS>>
SELECT location_attendance FROM table_name_89 WHERE score = "125-100"[/INST] What is the location and attendance of the game when the score is 125-100?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_13 (province VARCHAR, _community VARCHAR, hometown VARCHAR)
<</SYS>>
SELECT province, _community FROM table_name_13 WHERE hometown = "jamao afuera"[/INST] What is the province for Jamao Afuera?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11056278_3 (report VARCHAR, fastest_lap VARCHAR)
<</SYS>>
SELECT report FROM table_11056278_3 WHERE fastest_lap = "Paul Tracy"[/INST] What are all the reports where Paul Tracy had the fastest lap?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_9 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_9 WHERE date = "20/6/97"[/INST] What was the score on 20/6/97?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_21109892_1 (commodity VARCHAR, value__int_$1000_ VARCHAR)
<</SYS>>
SELECT commodity FROM table_21109892_1 WHERE value__int_$1000_ = 409566[/INST] when the value (int $1000) is 409566, what is the commodity?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (transfer_fee VARCHAR, name VARCHAR, transfer_window VARCHAR, country VARCHAR)
<</SYS>>
SELECT transfer_fee FROM table_name_83 WHERE transfer_window = "summer" AND country = "sco" AND name = "crainey"[/INST] What was the transfer fee for the summer transfer involving the SCO named Crainey?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_76 WHERE away_team = "st kilda"[/INST] Name the venue where St Kilda was the opposing away team</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25800134_2 (writer_s_ VARCHAR, season__number VARCHAR)
<</SYS>>
SELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24[/INST] Who are all the writers of episodes in season 24?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_16 (assets__us INTEGER, company VARCHAR, revenues__us$_billion_ VARCHAR)
<</SYS>>
SELECT MIN(assets__us) AS $_billion_ FROM table_name_16 WHERE company = "piraeus bank" AND revenues__us$_billion_ < 3.9[/INST] What are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_59 (chassis VARCHAR, year VARCHAR, points VARCHAR)
<</SYS>>
SELECT chassis FROM table_name_59 WHERE year < 1966 AND points > 0[/INST] Which chassis has more than 0 points and was before 1966?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR)
<</SYS>>
SELECT MIN(total) FROM table_name_81 WHERE year_s__won = "1992"[/INST] What is the lowest total that has 1992 as the year (s) won?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_26 (attendance VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT COUNT(attendance) FROM table_name_26 WHERE opponent = "hamilton academical"[/INST] When Hamilton Academical is the Opponent, what is the total Attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25352324_5 (points VARCHAR, rebounds VARCHAR, blocks VARCHAR)
<</SYS>>
SELECT points FROM table_25352324_5 WHERE rebounds = 6 AND blocks = 0[/INST] What is every value for points if rebounds is 6 and blocks is 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (home_team VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_47 WHERE home_team = "geelong"[/INST] Which Home team score has a Home team of geelong?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_92 (game INTEGER, opponent VARCHAR)
<</SYS>>
SELECT MIN(game) FROM table_name_92 WHERE opponent = "chicago black hawks"[/INST] What is the first game played against the Chicago Black Hawks?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (crowd VARCHAR, venue VARCHAR)
<</SYS>>
SELECT crowd FROM table_name_54 WHERE venue = "junction oval"[/INST] What is the listed crowd at junction oval?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (to_par VARCHAR, player VARCHAR)
<</SYS>>
SELECT to_par FROM table_name_4 WHERE player = "payne stewart"[/INST] Name the To par of payne stewart?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_79 (australian VARCHAR, examples VARCHAR)
<</SYS>>
SELECT australian FROM table_name_79 WHERE examples = "illyria, cf. cirrhosis"[/INST] What is the entry for the Australian sound that has an example of illyria, cf. cirrhosis?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (winner VARCHAR, race VARCHAR)
<</SYS>>
SELECT winner FROM table_name_14 WHERE race = "food world 250"[/INST] Who won the Food World 250?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE department (name VARCHAR, DepartmentID VARCHAR); CREATE TABLE affiliated_with (physician VARCHAR, department VARCHAR, PrimaryAffiliation VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)
<</SYS>>
SELECT T1.name, T3.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.department = T3.DepartmentID WHERE T2.PrimaryAffiliation = 1[/INST] Find the names of all physicians and their primary affiliated departments' names.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_29747178_2 (series__number VARCHAR, directed_by VARCHAR)
<</SYS>>
SELECT series__number FROM table_29747178_2 WHERE directed_by = "John Showalter"[/INST] What is the series # when the director is john showalter?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_198175_2 (finnish_name VARCHAR, english_name VARCHAR)
<</SYS>>
SELECT finnish_name FROM table_198175_2 WHERE english_name = "Province of Viborg and Nyslott"[/INST] What is every Finnish name for the English name of Province of Viborg and Nyslott?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (tournament VARCHAR, date VARCHAR)
<</SYS>>
SELECT tournament FROM table_name_80 WHERE date = "21 may 2006"[/INST] What tournament was held on 21 May 2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_16390576_3 (title VARCHAR, no_in_series VARCHAR)
<</SYS>>
SELECT title FROM table_16390576_3 WHERE no_in_series = 28[/INST] what is the title of episode 28</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (wins VARCHAR, year VARCHAR, matches VARCHAR)
<</SYS>>
SELECT COUNT(wins) FROM table_name_99 WHERE year = "2010" AND matches > 14[/INST] What is the total number of wins in 2010, when there were more than 14 matches?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_23281862_10 (date VARCHAR, score VARCHAR)
<</SYS>>
SELECT COUNT(date) FROM table_23281862_10 WHERE score = "L 106β116 (OT)"[/INST] Name the total number of date for score being l 106β116 (ot)</s>
|
<s>[INST] <<SYS>>
CREATE TABLE TRACK (Name VARCHAR)
<</SYS>>
SELECT Name FROM TRACK WHERE Name LIKE '%you%'[/INST] Find the names of all the tracks that contain the word "you".</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR)
<</SYS>>
SELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = "Taxidermia"[/INST] What year was taxidermia nominated? </s>
|
<s>[INST] <<SYS>>
CREATE TABLE dorm_amenity (Id VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM dorm_amenity[/INST] Find the number of distinct amenities.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (player VARCHAR, score VARCHAR)
<</SYS>>
SELECT player FROM table_name_42 WHERE score = 71 - 69 - 72 - 72 = 284[/INST] What is Player, when Score is "71-69-72-72=284"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (rank VARCHAR, nation VARCHAR)
<</SYS>>
SELECT rank FROM table_name_42 WHERE nation = "austria"[/INST] Which rank is Austria?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24949975_1 (away_team VARCHAR, result VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team FROM table_24949975_1 WHERE result = "2β1" AND home_team = "Bohemians"[/INST] What was the away team when the result was 2β1 and home team was the bohemians?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_52 (goals INTEGER, w_league VARCHAR)
<</SYS>>
SELECT MIN(goals) FROM table_name_52 WHERE w_league = "8 (2)"[/INST] What is the lowest number of goals with 8 (2) w-leagues?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (home_team VARCHAR)
<</SYS>>
SELECT home_team AS score FROM table_name_45 WHERE home_team = "geelong"[/INST] What was the score when geelong was the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2160215_1 (original_japanese VARCHAR, english___manga_uk__ VARCHAR)
<</SYS>>
SELECT original_japanese FROM table_2160215_1 WHERE english___manga_uk__ = "Sean Barrett"[/INST] Who was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (pick INTEGER, position VARCHAR)
<</SYS>>
SELECT SUM(pick) FROM table_name_99 WHERE position = "guard"[/INST] What is the sum of the pick of the guard position player?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1341663_14 (party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT party FROM table_1341663_14 WHERE incumbent = "Phil Crane"[/INST] What is Phil Crane, democrat or republican </s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15070195_1 (framed_size VARCHAR, nickname VARCHAR)
<</SYS>>
SELECT framed_size FROM table_15070195_1 WHERE nickname = "Robot Black"[/INST] for the robot black nickname, what framed size is used</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR)
<</SYS>>
SELECT MAX(pick) FROM table_name_49 WHERE overall < 217 AND name = "alfred morris" AND round < 6[/INST] what is the pick for alfred morris when the overall is less than 217, and the round is smaller than 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_51 (host VARCHAR, state VARCHAR)
<</SYS>>
SELECT host FROM table_name_51 WHERE state = "georgia"[/INST] What is the host in Georgia?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_97 (tie_no VARCHAR, away_team VARCHAR)
<</SYS>>
SELECT tie_no FROM table_name_97 WHERE away_team = "wrexham"[/INST] What was the tie no when Wrexham was the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_45 (overall INTEGER, name VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT MIN(overall) FROM table_name_45 WHERE name = "jack harmon" AND pick__number < 5[/INST] What is the Overall for Pick # less than 5 Jack Harmon?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_31 (super_g VARCHAR, victories VARCHAR, country VARCHAR)
<</SYS>>
SELECT super_g FROM table_name_31 WHERE victories = 26 AND country = "austria"[/INST] What Super G has Victories of 26, and a Country of austria?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_37 (round VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT round FROM table_name_37 WHERE opponent = "kim eun-ha"[/INST] Which Round has kim eun-ha as an Opponent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT MIN(crowd) FROM table_name_93 WHERE away_team = "collingwood"[/INST] What was the lowest amount of people to turn out at a game with the away team as collingwood?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (goals_against INTEGER, position VARCHAR, played VARCHAR)
<</SYS>>
SELECT SUM(goals_against) FROM table_name_22 WHERE position > 14 AND played < 30[/INST] What is the sum of goals against for positions higher than 14, with fewer than 30 played?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_261927_1 (enrollment VARCHAR, colors VARCHAR)
<</SYS>>
SELECT enrollment FROM table_261927_1 WHERE colors = "Green & Black"[/INST] What is the enrollment for the colors green & black?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_93 (winner VARCHAR, tournament VARCHAR)
<</SYS>>
SELECT winner FROM table_name_93 WHERE tournament = "london"[/INST] Name the winner for london tournament</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR)
<</SYS>>
SELECT college FROM table_name_54 WHERE pick = 136[/INST] Which college did the player picked number 136 go to?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_40 (country VARCHAR, of_1 VARCHAR)
<</SYS>>
SELECT country FROM table_name_40 WHERE of_1 = "locotenent"[/INST] What country has OF-1 Locotenent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_95 (manager_1 VARCHAR, team VARCHAR)
<</SYS>>
SELECT manager_1 FROM table_name_95 WHERE team = "leeds united"[/INST] Who is the manager 1 for Leeds United?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (silver INTEGER, nation VARCHAR, total VARCHAR)
<</SYS>>
SELECT AVG(silver) FROM table_name_23 WHERE nation = "belarus" AND total < 1[/INST] What average silver has belarus as the nation, with a total less than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_25 (pick INTEGER, college VARCHAR)
<</SYS>>
SELECT SUM(pick) FROM table_name_25 WHERE college = "texas el-paso"[/INST] Which pick came from Texas El-Paso?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_email VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)
<</SYS>>
SELECT T1.customer_name, T1.customer_phone, T1.customer_email FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id ORDER BY COUNT(*) DESC LIMIT 1[/INST] What are the name, phone number and email address of the customer who made the largest number of orders?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_14345690_1 (camp_mates INTEGER)
<</SYS>>
SELECT MIN(camp_mates) FROM table_14345690_1[/INST] What was the least amount of camp mates?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_11621799_1 (winner VARCHAR, score VARCHAR)
<</SYS>>
SELECT winner FROM table_11621799_1 WHERE score = "281 (-6)"[/INST] Who was the winner when the score was 281 (-6)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (score VARCHAR, time VARCHAR)
<</SYS>>
SELECT score FROM table_name_20 WHERE time = "1:36"[/INST] Name the score for 1:36 time</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_33 WHERE date = "october 17, 2007"[/INST] What was the score on october 17, 2007?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1174162_1 (date_first_settled_as_a_suburb VARCHAR, median_age__in_2006_ VARCHAR)
<</SYS>>
SELECT date_first_settled_as_a_suburb FROM table_1174162_1 WHERE median_age__in_2006_ = "40 years"[/INST] What is the date settled for 40 years?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE mountain (Range VARCHAR)
<</SYS>>
SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1[/INST] Show the range that has the most number of mountains.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_35 (deleted VARCHAR, listed VARCHAR, name VARCHAR)
<</SYS>>
SELECT deleted FROM table_name_35 WHERE listed = "09/21/1984" AND name = "stauffer chemical company (lemoyne plant)"[/INST] On what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_23 (Id VARCHAR)
<</SYS>>
SELECT 1996 FROM table_name_23 WHERE 1994 = "a" AND 2003 = "a" AND 2001 = "1r"[/INST] What is the 1996 when the 1994 is A, the 2003 is A, and the 2001 is 1R?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT COUNT(result) FROM table_1342233_3 WHERE incumbent = "Albert Rains"[/INST] what the the end number where albert rains was running</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT result FROM table_name_86 WHERE opponent = "clemson"[/INST] What is the result against Clemson?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_90 (capacity INTEGER, average VARCHAR, highest VARCHAR)
<</SYS>>
SELECT MAX(capacity) FROM table_name_90 WHERE average < 489 AND highest > 778[/INST] What is the high capacity that has an average under 489 and a highest over 778?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1342292_4 (party VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = "William B. Cravens"[/INST] How many parties does william b. cravens represent?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2241841_1 (manufacturer VARCHAR, date VARCHAR)
<</SYS>>
SELECT manufacturer FROM table_2241841_1 WHERE date = "May 21"[/INST] Who made the car that won the race on May 21?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_55 (runners VARCHAR, placing INTEGER)
<</SYS>>
SELECT COUNT(runners) FROM table_name_55 WHERE placing > 1[/INST] How many Runners have a Placing that isn't 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT MIN(silver) FROM table_name_76 WHERE rank < 4 AND bronze > 9[/INST] What is the least number of Silvers with a ranking of less than 4 where the bronze number was larger than 9?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_13258876_2 (week INTEGER, game_site VARCHAR)
<</SYS>>
SELECT MIN(week) FROM table_13258876_2 WHERE game_site = "Los Angeles Memorial Coliseum"[/INST] What week did the Seahawks play at los angeles memorial coliseum?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (nation VARCHAR, bronze VARCHAR)
<</SYS>>
SELECT nation FROM table_name_91 WHERE bronze = 3[/INST] Which nation had 3 bronze?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (date VARCHAR, region VARCHAR, label VARCHAR)
<</SYS>>
SELECT date FROM table_name_5 WHERE region = "europe" AND label = "wichita recordings"[/INST] Which date was associated with the release in Europe on the Wichita Recordings label?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (score VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT score FROM table_name_66 WHERE opponent = "fabrice martin"[/INST] What was the score against fabrice martin?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_65 (director VARCHAR, result VARCHAR, year__ceremony_ VARCHAR)
<</SYS>>
SELECT director FROM table_name_65 WHERE result = "nominee" AND year__ceremony_ = "1969 (42nd)"[/INST] What is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (part_number_s_ VARCHAR, turbo VARCHAR)
<</SYS>>
SELECT part_number_s_ FROM table_name_85 WHERE turbo = "low power"[/INST] what is the part number that has a turbo of low power?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE Student (Advisor VARCHAR)
<</SYS>>
SELECT Advisor, COUNT(*) FROM Student GROUP BY Advisor ORDER BY COUNT(Advisor) DESC LIMIT 1[/INST] Which Advisor has most of students? List advisor and the number of students.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (events INTEGER, tournament VARCHAR, top_25 VARCHAR)
<</SYS>>
SELECT SUM(events) FROM table_name_47 WHERE tournament = "u.s. open" AND top_25 < 1[/INST] What is the total of events when the tournament was U.S. Open and the Top-25 was less than 1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (team VARCHAR, qual_2 VARCHAR)
<</SYS>>
SELECT team FROM table_name_11 WHERE qual_2 = "1:01.093"[/INST] Which team had a qualifying 2 time of 1:01.093?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22261877_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT us_viewers__million_ FROM table_22261877_1 WHERE production_code = "6ACX16"[/INST] How many viewers in millions watched the episode with the production code 6acx16?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_2 (games INTEGER, lost VARCHAR, standing VARCHAR, goals_against VARCHAR)
<</SYS>>
SELECT MAX(games) FROM table_name_2 WHERE standing = "5th, lebel" AND goals_against > 220 AND lost > 52[/INST] Name the most games for standing of 5th, lebel and goals against larger than 220 with lost more than 52</s>
|
<s>[INST] <<SYS>>
CREATE TABLE student (sex VARCHAR, age VARCHAR)
<</SYS>>
SELECT COUNT(*) FROM student WHERE sex = 'F' AND age < 25[/INST] How many female students (sex is F) whose age is below 25?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.