text_output
stringlengths 114
770
|
|---|
<s>[INST] <<SYS>>
CREATE TABLE table_name_83 (grid VARCHAR, driver VARCHAR)
<</SYS>>
SELECT grid FROM table_name_83 WHERE driver = "kimi räikkönen"[/INST] What is Driver Kimi Räikkönen's number on the grid?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (year VARCHAR, runs VARCHAR)
<</SYS>>
SELECT year FROM table_name_68 WHERE runs = "144"[/INST] What was the year with runs of 144?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_80 (latin VARCHAR, greek VARCHAR)
<</SYS>>
SELECT latin FROM table_name_80 WHERE greek = "μ"[/INST] What is the Latin term for the Greek symbol μ?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1998037_9 (television_commentator VARCHAR, year_s_ VARCHAR)
<</SYS>>
SELECT television_commentator FROM table_1998037_9 WHERE year_s_ = 2006[/INST] Who is the television commentator for the year 2006?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_57 (result VARCHAR, date VARCHAR)
<</SYS>>
SELECT result FROM table_name_57 WHERE date = "2000-05-23"[/INST] What is Result, when Date is "2000-05-23"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (chinese__traditional_ VARCHAR, label VARCHAR, english_title VARCHAR)
<</SYS>>
SELECT chinese__traditional_ FROM table_name_54 WHERE label = "rock records" AND english_title = "grown up overnight"[/INST] What traditional Chinese name would the Rock Records release Grown up Overnight be given?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (date VARCHAR, opposition VARCHAR, game VARCHAR)
<</SYS>>
SELECT date FROM table_name_38 WHERE opposition = "limerick" AND game = "all-ireland final"[/INST] On what date did Limerick play in the All-Ireland Final game?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_99 (transmission VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)
<</SYS>>
SELECT transmission FROM table_name_99 WHERE engine = "2.0l" AND acceleration_0_100km_h__0_62mph_ = "10.5 s"[/INST] What is the transmission when the engine is 2.0l, and acceleration 0–100km/h (0–62mph) is 10.5 s?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (played INTEGER, conceded INTEGER)
<</SYS>>
SELECT AVG(played) FROM table_name_62 WHERE conceded < 7[/INST] Mean of played with smaller than 7 conceded?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_76 (away_team VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT away_team FROM table_name_76 WHERE home_team = "ashington"[/INST] Who is the away team against the home team Ashington?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_86 WHERE attendance = "26,880"[/INST] What Opponent has an Attendance that is 26,880?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (competition VARCHAR, year VARCHAR, notes VARCHAR)
<</SYS>>
SELECT competition FROM table_name_8 WHERE year > 2009 AND notes = "team"[/INST] What competition took place in a year later than 2009 with team notes?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_5 (silver INTEGER, total INTEGER)
<</SYS>>
SELECT AVG(silver) FROM table_name_5 WHERE total < 1[/INST] Name the average silver with total less than 1</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2182573_2 (poles INTEGER, year VARCHAR)
<</SYS>>
SELECT MIN(poles) FROM table_2182573_2 WHERE year = 1996[/INST] How many poles were there in 1996?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1671401_3 (top_5 VARCHAR, winnings VARCHAR)
<</SYS>>
SELECT top_5 FROM table_1671401_3 WHERE winnings = "$52,595"[/INST] name the top 5 where the winnings is $52,595</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (result VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT result FROM table_name_20 WHERE attendance = "27,321"[/INST] What was the result when there were 27,321 in attendance?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_71 (Prime VARCHAR, minister VARCHAR)
<</SYS>>
SELECT Prime AS minister FROM table_name_71 WHERE minister = "antoine wehenkel"[/INST] Who is the Prime Minister of Antoine Wehenkel?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (hometown VARCHAR, player VARCHAR)
<</SYS>>
SELECT hometown FROM table_name_98 WHERE player = "terry mills"[/INST] Where is Terry Mills from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (matches VARCHAR, year VARCHAR)
<</SYS>>
SELECT matches FROM table_name_72 WHERE year = "2003"[/INST] What is Matches, when Year is "2003"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_38 (winner VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT winner FROM table_name_38 WHERE circuit = "amaroo park"[/INST] Who was the winner on the Amaroo Park circuit?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)
<</SYS>>
SELECT away_team AS score FROM table_name_85 WHERE venue = "kardinia park"[/INST] What did the away team score at Kardinia Park?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1272844_2 (vote VARCHAR, finish VARCHAR)
<</SYS>>
SELECT COUNT(vote) FROM table_1272844_2 WHERE finish = "6th voted Out Day 12"[/INST] How many votes were taken when the outcome was "6th voted out day 12"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_62 (player VARCHAR, score VARCHAR, to_par VARCHAR)
<</SYS>>
SELECT player FROM table_name_62 WHERE score < 72 AND to_par = "+1"[/INST] Who is the player with a score less than 72 and a to par of +1?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_28898974_3 (reason VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT reason FROM table_28898974_3 WHERE incumbent = "James Seaton"[/INST] When james seaton is the incumbent what is the reason?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_12564633_1 (series__number INTEGER, season__number VARCHAR)
<</SYS>>
SELECT MIN(series__number) FROM table_12564633_1 WHERE season__number = 18[/INST] What is the series number for Season #18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_50 (country VARCHAR, score VARCHAR)
<</SYS>>
SELECT country FROM table_name_50 WHERE score = 70 - 73 = 143[/INST] What is Country, when Score is 70-73=143?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (player VARCHAR, tries VARCHAR)
<</SYS>>
SELECT player FROM table_name_61 WHERE tries = 23[/INST] What Player has 23 Tries?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (place VARCHAR, points VARCHAR)
<</SYS>>
SELECT COUNT(place) FROM table_name_69 WHERE points = 18[/INST] how many times was the points 18?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_10 (eviction_result VARCHAR, net_vote VARCHAR)
<</SYS>>
SELECT eviction_result FROM table_name_10 WHERE net_vote = "31.86%"[/INST] Which Eviction result has a Net vote of 31.86%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27755603_10 (high_points VARCHAR, team VARCHAR)
<</SYS>>
SELECT high_points FROM table_27755603_10 WHERE team = "Washington"[/INST] What was the high points when the team was Washington?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (written_by VARCHAR, production_code VARCHAR)
<</SYS>>
SELECT written_by FROM table_name_33 WHERE production_code = "ad1d09"[/INST] tell me the writer of production code ad1d09.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_33 (composition VARCHAR, weight VARCHAR)
<</SYS>>
SELECT composition FROM table_name_33 WHERE weight = "3 g"[/INST] What is the coin that weighs 3 g made of?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE people (name VARCHAR, height INTEGER)
<</SYS>>
SELECT name FROM people WHERE height < (SELECT AVG(height) FROM people)[/INST] find the name of people whose height is lower than the average.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_32 (round VARCHAR, opposition VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT round FROM table_name_32 WHERE opposition = "adelaide united" AND attendance = "18,345"[/INST] What round was adelaide united the opposition with an attendance of 18,345?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_60 (szdsz VARCHAR, jobbik VARCHAR, fidesz VARCHAR)
<</SYS>>
SELECT szdsz FROM table_name_60 WHERE jobbik = "5%" AND fidesz = "68%"[/INST] What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24431264_16 (seed INTEGER, player VARCHAR)
<</SYS>>
SELECT MAX(seed) FROM table_24431264_16 WHERE player = "David Ferrer"[/INST] What was david ferrer seeded?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT date FROM table_name_61 WHERE attendance = "79,431"[/INST] Where attendance is 79,431 what is date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_36 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
<</SYS>>
SELECT fastest_lap FROM table_name_36 WHERE pole_position = "phil hill" AND winning_driver = "wolfgang von trips"[/INST] What was the fastest lap in a race where Phil Hill had the Pole position and was won by Wolfgang von Trips?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (against INTEGER, ballarat_fl VARCHAR, losses VARCHAR)
<</SYS>>
SELECT MIN(against) FROM table_name_74 WHERE ballarat_fl = "lake wendouree" AND losses > 7[/INST] What is the lowest number of Against that Lake Wendouree had when they had more than 7 Losses?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR)
<</SYS>>
SELECT director FROM table_25800134_12 WHERE airdate = "February 19, 1968"[/INST] Who directed the episode that aired on February 19, 1968?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1206114_2 (implementation VARCHAR, netflow_version VARCHAR)
<</SYS>>
SELECT implementation FROM table_1206114_2 WHERE netflow_version = "v5, v8, v9, IPFIX"[/INST] What is the implementation when the netflow version is v5, v8, v9, ipfix?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_1 (lost VARCHAR, played INTEGER)
<</SYS>>
SELECT COUNT(lost) FROM table_name_1 WHERE played < 8[/INST] How many lost stats have a played number of less than 8?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)
<</SYS>>
SELECT score FROM table_name_11 WHERE date = "1/22"[/INST] What score has 1/22 as the date?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (result VARCHAR, losses VARCHAR)
<</SYS>>
SELECT result FROM table_name_41 WHERE losses = "did not qualify"[/INST] What is Result, when Losses is "Did Not Qualify"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2581397_4 (distance VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR)
<</SYS>>
SELECT distance FROM table_2581397_4 WHERE weight__kg_ = "56" AND winner_2nd = "2nd - Fritz"[/INST] What was the distance in the race where the weight in kg was 56 and the winner/2nd was 2nd - Fritz?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR)
<</SYS>>
SELECT MAX(founded) FROM table_2076522_2 WHERE enrollment__fall_2010_ = 898[/INST] What year was the school founded with an 898 enrollment?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_66 (capacity INTEGER, team VARCHAR)
<</SYS>>
SELECT MAX(capacity) FROM table_name_66 WHERE team = "torpedo"[/INST] Can you tell me the highest Capacity that has the Team of torpedo?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27723526_12 (high_points VARCHAR, date VARCHAR)
<</SYS>>
SELECT high_points FROM table_27723526_12 WHERE date = "March 30"[/INST] Name the high points for march 30</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_18 (final VARCHAR, run_3 VARCHAR)
<</SYS>>
SELECT final FROM table_name_18 WHERE run_3 = "1:19.49"[/INST] Which final has a run of 1:19.49?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (year INTEGER, result VARCHAR)
<</SYS>>
SELECT MAX(year) FROM table_name_98 WHERE result = "9th"[/INST] Tell me the highest year for result of 9th</s>
|
<s>[INST] <<SYS>>
CREATE TABLE elimination (Name VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR)
<</SYS>>
SELECT Name FROM wrestler WHERE NOT Wrestler_ID IN (SELECT Wrestler_ID FROM elimination)[/INST] List the names of wrestlers that have not been eliminated.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_12 (genre VARCHAR, original_title VARCHAR)
<</SYS>>
SELECT genre FROM table_name_12 WHERE original_title = "malina (ger.-aus.-fr.)"[/INST] What is the Genre for Malina (ger.-aus.-fr.), an Original Title?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_15581223_8 (fum_rec INTEGER)
<</SYS>>
SELECT MIN(fum_rec) AS TD FROM table_15581223_8[/INST] Name the least fum rec td</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)
<</SYS>>
SELECT opponent FROM table_name_86 WHERE score = "7–5, 7–6 (8–6)"[/INST] who is the opponent when the score is 7–5, 7–6 (8–6)?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR)
<</SYS>>
SELECT MAX(crowd) FROM table_name_41 WHERE away_team = "essendon"[/INST] What was the size of the largest crowd that Essendon played in front of as the away team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_25675509_1 (longitude VARCHAR, date__yyyy_mm_dd_ VARCHAR)
<</SYS>>
SELECT longitude FROM table_25675509_1 WHERE date__yyyy_mm_dd_ = "2010-01-09"[/INST] What was the longitude for the shock that occured on 2010-01-09?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_63 (package_option VARCHAR, television_service VARCHAR)
<</SYS>>
SELECT package_option FROM table_name_63 WHERE television_service = "sky inside"[/INST] What is Package/Option, when Television Service is Sky Inside?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_77 (release_date VARCHAR, frequency VARCHAR)
<</SYS>>
SELECT release_date FROM table_name_77 WHERE frequency = "2.8 ghz"[/INST] What's the release date of the processor with 2.8 ghz of frequency?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (name VARCHAR, ofsted_number VARCHAR, type VARCHAR, dcsf_number VARCHAR)
<</SYS>>
SELECT name FROM table_name_74 WHERE type = "primary" AND dcsf_number > 2337 AND ofsted_number < 135339[/INST] What is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_27713030_8 (score VARCHAR, team VARCHAR)
<</SYS>>
SELECT score FROM table_27713030_8 WHERE team = "Detroit"[/INST] What was the team's score against detroit?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (date VARCHAR, circuit VARCHAR, winning_constructor VARCHAR)
<</SYS>>
SELECT date FROM table_name_17 WHERE circuit = "madonie" AND winning_constructor = "bugatti"[/INST] In the circuit of Madonie, what was the date that had the winning constructor Bugatti?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_24 (label VARCHAR, format VARCHAR, catalog VARCHAR)
<</SYS>>
SELECT label FROM table_name_24 WHERE format = "stereo lp" AND catalog = "scyl-934,623"[/INST] What label uses the stereo LP for catalog scyl-934,623?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_98 (f_laps VARCHAR, final_placing VARCHAR, podiums VARCHAR, season VARCHAR)
<</SYS>>
SELECT f_laps FROM table_name_98 WHERE podiums = "1" AND season = 2000 AND final_placing = "nc"[/INST] Which F/Laps has Podiums of 1, and a Season of 2000, and a Final Placing of nc?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE member (name VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, member_id VARCHAR, register_year VARCHAR); CREATE TABLE branch (name VARCHAR, branch_id VARCHAR)
<</SYS>>
SELECT T3.name, T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id ORDER BY T1.register_year[/INST] Show all member names and registered branch names sorted by register year.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_70 (score VARCHAR, result VARCHAR)
<</SYS>>
SELECT score FROM table_name_70 WHERE result = "1-0"[/INST] What's the Score listed that has a Result of 1-0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_282413_3 (ethnic_group VARCHAR)
<</SYS>>
SELECT COUNT(2001 AS __percentage) FROM table_282413_3 WHERE ethnic_group = "Other: Total"[/INST] How many times is the ethnic group other: total?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_47 (party VARCHAR, elected VARCHAR, incumbent VARCHAR)
<</SYS>>
SELECT party FROM table_name_47 WHERE elected = 2003 AND incumbent = "mark obenshain"[/INST] Which party was elected in 2003 with incumbent Mark Obenshain?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_89 (week VARCHAR, date VARCHAR)
<</SYS>>
SELECT COUNT(week) FROM table_name_89 WHERE date = "september 2, 1979"[/INST] The game on September 2, 1979 was during which week of the season?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
<</SYS>>
SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30[/INST] College of san diego state, and a Pick # smaller than 30 has what lowest overall?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (game INTEGER, points VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT AVG(game) FROM table_name_22 WHERE points = 19 AND opponent = "new jersey devils"[/INST] What's the average game against the New Jersey Devils with 19 points?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2170969_2 (network VARCHAR, viewers_in_millions VARCHAR)
<</SYS>>
SELECT network FROM table_2170969_2 WHERE viewers_in_millions = "2.74"[/INST] What network garnered 2.74 million viewers for Supernatural?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_42 (released VARCHAR, memory_type VARCHAR)
<</SYS>>
SELECT released FROM table_name_42 WHERE memory_type = "ddr2-667"[/INST] Whas is the released date of the memory type ddr2-667?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (fa_cup INTEGER, name VARCHAR, total VARCHAR)
<</SYS>>
SELECT AVG(fa_cup) FROM table_name_72 WHERE name = "whelan" AND total > 7[/INST] What is the average number of goals scored in the FA Cup by Whelan where he had more than 7 total goals?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_72 (score VARCHAR, player VARCHAR)
<</SYS>>
SELECT score FROM table_name_72 WHERE player = "jim colbert"[/INST] What was Jim Colbert's score?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE campuses (id VARCHAR, campus VARCHAR); CREATE TABLE csu_fees (campusfee VARCHAR, campus VARCHAR, year VARCHAR)
<</SYS>>
SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Francisco State University" AND t1.year = 2000[/INST] What is the campus fee of "San Francisco State University" in year 2000?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR)
<</SYS>>
SELECT venue FROM table_name_4 WHERE home_team = "geelong"[/INST] Where did Geelong play as the home team?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR)
<</SYS>>
SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx"[/INST] What frequency does model L34xx use?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR)
<</SYS>>
SELECT type FROM table_262527_1 WHERE joined = "1902 5"[/INST] what type was joined in 1902 5?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_22905641_2 (date VARCHAR, circuit VARCHAR)
<</SYS>>
SELECT date FROM table_22905641_2 WHERE circuit = "Symmons Plains Raceway"[/INST] What date was the race at the Symmons Plains Raceway?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_17 (round VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR)
<</SYS>>
SELECT round FROM table_name_17 WHERE venue = "a" AND result = "1-2" AND date = "7 december 2004"[/INST] What is the round of the match at venue A with a result of 1-2 on 7 December 2004?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_67 (trainer VARCHAR, winner VARCHAR)
<</SYS>>
SELECT trainer FROM table_name_67 WHERE winner = "crowd pleaser"[/INST] Who was the trainer when Crowd Pleaser won?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_91 (ceased_to_be_duke_of_girona VARCHAR, heir_of VARCHAR)
<</SYS>>
SELECT ceased_to_be_duke_of_girona FROM table_name_91 WHERE heir_of = "peter iv"[/INST] WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_26961951_4 (us_viewers__million_ VARCHAR, written_by VARCHAR)
<</SYS>>
SELECT us_viewers__million_ FROM table_26961951_4 WHERE written_by = "Alison McDonald"[/INST] How many viewers in millions did the Alison McDonald episode get?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_49 (copa_conmebol_1996 VARCHAR, recopa_sudamericana_1996 VARCHAR)
<</SYS>>
SELECT copa_conmebol_1996 FROM table_name_49 WHERE recopa_sudamericana_1996 = "champions"[/INST] What is the copa conmebol 1996 result of the team with a recopa sudamericana 1996 result of champions?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE manufacturers (name VARCHAR, revenue INTEGER, headquarter VARCHAR)
<</SYS>>
SELECT name FROM manufacturers WHERE revenue < (SELECT MIN(revenue) FROM manufacturers WHERE headquarter = 'Austin')[/INST] Find the name of companies whose revenue is smaller than the revenue of all companies based in Austin.</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (deputy VARCHAR, year VARCHAR)
<</SYS>>
SELECT deputy FROM table_name_41 WHERE year = "1992–93"[/INST] What is the name of the deputy in 1992–93?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_96 (attendance INTEGER, leading_scorer VARCHAR, home VARCHAR)
<</SYS>>
SELECT MIN(attendance) FROM table_name_96 WHERE leading_scorer = "tim duncan (24)" AND home = "spurs"[/INST] How many people attended the game where the leading scorer was Tim Duncan (24), and the home team was the Spurs?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_8 (total INTEGER, position VARCHAR, a_score VARCHAR)
<</SYS>>
SELECT MAX(total) FROM table_name_8 WHERE position = "8th" AND a_score > 6.6[/INST] what is the total scored for the 8th position and a score more than 6.6</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_74 (number_of_episodes VARCHAR, notes VARCHAR)
<</SYS>>
SELECT number_of_episodes FROM table_name_74 WHERE notes = "moved to run a farm with boyfriend jake."[/INST] What is Number Of Episodes, when Notes is "Moved to run a farm with boyfriend Jake."?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_20 (class VARCHAR, dates VARCHAR)
<</SYS>>
SELECT class FROM table_name_20 WHERE dates = "22 april - 3 may 2009"[/INST] What is Class, when Dates is "22 April - 3 May 2009"?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_43 (points INTEGER, team VARCHAR, chassis VARCHAR)
<</SYS>>
SELECT MAX(points) FROM table_name_43 WHERE team = "marlboro brm" AND chassis = "brm p180"[/INST] What are the highest points for the team of marlboro brm with brm p180 as the chassis?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_54 (longitude VARCHAR, diameter__km_ VARCHAR)
<</SYS>>
SELECT longitude FROM table_name_54 WHERE diameter__km_ = "31km"[/INST] What shows for the Longitude when there is a Diameter (km) of 31km?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_2679061_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
<</SYS>>
SELECT college_junior_club_team FROM table_2679061_7 WHERE nhl_team = "Buffalo Sabres"[/INST] Where are the Buffalo Sabres from?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_68 (draws INTEGER, south_west_dfl VARCHAR, byes VARCHAR)
<</SYS>>
SELECT MIN(draws) FROM table_name_68 WHERE south_west_dfl = "tyrendarra" AND byes > 0[/INST] What is the lowest value for Draws, when South West DFL is "Tyrendarra", and when Byes is greater than 0?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_84 (round INTEGER, overall INTEGER)
<</SYS>>
SELECT MAX(round) FROM table_name_84 WHERE overall < 6[/INST] Which Round has an Overall smaller than 6?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_1740431_3 (gregorian_months VARCHAR, season_in_tamil VARCHAR)
<</SYS>>
SELECT gregorian_months FROM table_1740431_3 WHERE season_in_tamil = "இளவேனில்"[/INST] What is every Gregorian month when the season in Tamil is இளவேனில்?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_14 (tournament VARCHAR)
<</SYS>>
SELECT 1994 FROM table_name_14 WHERE tournament = "miami"[/INST] What is the 1994 finish for the Miami tournament?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_41 (week INTEGER, date VARCHAR, attendance VARCHAR)
<</SYS>>
SELECT AVG(week) FROM table_name_41 WHERE date = "november 29, 1970" AND attendance < 31 OFFSET 427[/INST] Who was the opponent on the date of November 29, 1970 and the attendance was less than 31,427?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_69 (time VARCHAR, round VARCHAR, opponent VARCHAR)
<</SYS>>
SELECT time FROM table_name_69 WHERE round = "2" AND opponent = "taylor mccorriston"[/INST] What was the time of round 2 against Taylor Mccorriston?</s>
|
<s>[INST] <<SYS>>
CREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR)
<</SYS>>
SELECT points_for FROM table_name_22 WHERE drawn = "1" AND try_bonus = "16"[/INST] What points have 1 for drawn, and 16 as a try bonus?</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.