sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Game site FROM table WHERE Kickoff = 7:00 p.m.
CREATE TABLE INST, Here is a database schema( table schema);
Where was the game played that started at 7:00 p.m.?.It is not neccessary to use all the tables.
SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)"
CREATE TABLE INST, Here is a database schema( table schema);
Which Score has a High assists of whalen (5)?It is not neccessary to use all the tables.
SELECT MAX(run_rate) FROM table_name_61 WHERE rank = 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the run rate for rank 4?It is not neccessary to use all the tables.
SELECT record FROM table_name_5 WHERE opponent = "@ orioles" AND loss = "leal (5-4)"
CREATE TABLE INST, Here is a database schema( table schema);
What was the record where the opponent was @ Orioles and the loss was to Leal (5-4)?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'adrenal exploration nos') AND STRFTIME('%y', procedures_icd.charttime) <= '2102'
CREATE TABLE INST, Here is a database schema( table schema);
how many times a adrenal exploration nos has been taken until 2102?It is not neccessary to use all the tables.
SELECT interval_name FROM table_18955077_1 WHERE size__cents_ = 560 AND just_ratio = "11:8"
CREATE TABLE INST, Here is a database schema( table schema);
If the just ratio is 11:8 and the cents size is 560 what is the interval name?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Record = 5-0-1
CREATE TABLE INST, Here is a database schema( table schema);
Which opponent has a record of 5-0-1?.It is not neccessary to use all the tables.
SELECT COUNT(pos) FROM table_name_49 WHERE driver = "todd bodine" AND car__number > 30
CREATE TABLE INST, Here is a database schema( table schema);
How many Pos have a Driver of todd bodine and a Car # larger than 30?It is not neccessary to use all the tables.
SELECT regionalliga_süd FROM table_name_13 WHERE season = "1995-96"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Regionalliga Sud for 1995-96?It is not neccessary to use all the tables.
SELECT Known for FROM table WHERE Entered = day 1 AND Celebrity = freddie starr
CREATE TABLE INST, Here is a database schema( table schema);
What was Freddie Starr, who entered on Day 1, known for?.It is not neccessary to use all the tables.
SELECT to_par FROM table_name_66 WHERE score = 70 - 69 = 139 AND player = "jerry pate"
CREATE TABLE INST, Here is a database schema( table schema);
What is the to par of player jerry pate who has a 70-69=139 score?It is not neccessary to use all the tables.
SELECT hdtv FROM table_name_12 WHERE television_service = "r-light"
CREATE TABLE INST, Here is a database schema( table schema);
What is the HDTV status of the r-light television service?It is not neccessary to use all the tables.
SELECT SUM(year) FROM table_name_3 WHERE engine = "cosworth v8" AND entrant = "john player lotus"
CREATE TABLE INST, Here is a database schema( table schema);
How many years did John Player Lotus used Cosworth v8?It is not neccessary to use all the tables.
SELECT T3.title, T3.credits FROM classroom AS T1 JOIN SECTION AS T2 ON T1.building = T2.building AND T1.room_number = T2.room_number JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T1.capacity = (SELECT MAX(capacity) FROM classroom)
CREATE TABLE INST, Here is a database schema( table schema);
What is the title and credits of the course that is taught in the largest classroom (with the highest capacity)?It is not neccessary to use all the tables.
SELECT Roll FROM table WHERE Authority = state AND Decile = 9
CREATE TABLE INST, Here is a database schema( table schema);
What is the roll for the school with state authority and a decile of 9?.It is not neccessary to use all the tables.
SELECT Games FROM table WHERE Years = 2010
CREATE TABLE INST, Here is a database schema( table schema);
When 2010 is the year what is the game?.It is not neccessary to use all the tables.
SELECT season FROM table_23014923_1 WHERE intermediate__south__winners = "Southmead Athletic"
CREATE TABLE INST, Here is a database schema( table schema);
What is the year of the season if the intermediate (South) winners is Southmead Athletic?It is not neccessary to use all the tables.
SELECT position FROM table_name_66 WHERE pick = 174
CREATE TABLE INST, Here is a database schema( table schema);
Which Position has a Pick of 174?It is not neccessary to use all the tables.
SELECT brand FROM table_name_68 WHERE frequency = 640
CREATE TABLE INST, Here is a database schema( table schema);
What is Brand when Frequency is "640"?It is not neccessary to use all the tables.
SELECT Place FROM table WHERE Score = 75-71-72-70=288
CREATE TABLE INST, Here is a database schema( table schema);
What is Place, when Score is "75-71-72-70=288"?.It is not neccessary to use all the tables.
SELECT team FROM table_22654073_6 WHERE record = "3-2"
CREATE TABLE INST, Here is a database schema( table schema);
Name the team for record 3-2It is not neccessary to use all the tables.
SELECT Reference FROM table WHERE Type and usage = Germanium small-signal RF transistor
CREATE TABLE INST, Here is a database schema( table schema);
What is every reference for type and usage of Germanium small-signal RF transistor?.It is not neccessary to use all the tables.
SELECT SUM(labour_party) FROM table_name_29 WHERE fianna_fáil = 3 AND total > 9 AND green_party > 2
CREATE TABLE INST, Here is a database schema( table schema);
How many are in the Labour Party of a Fianna Fail of 3 with a total higher than 9 and more than 2 in the Green Party?It is not neccessary to use all the tables.
SELECT outcome FROM table_name_11 WHERE event = "wd" AND year = "1983"
CREATE TABLE INST, Here is a database schema( table schema);
What was the Outcome in 1983 of the WD Event?It is not neccessary to use all the tables.
SELECT Гә гә [ɡʷ] FROM table WHERE Ҕ ҕ [ʁ/ɣ] = Ҿ ҿ [t͡ʂʼ]
CREATE TABLE INST, Here is a database schema( table schema);
What is гә гә [ɡʷ] when ҕ ҕ [ʁ/ɣ] is ҿ ҿ [t͡ʂʼ]?.It is not neccessary to use all the tables.
SELECT AVG(2006) FROM table_name_47 WHERE production_year = "wheat" AND 2005 > 7340
CREATE TABLE INST, Here is a database schema( table schema);
What is the average 2006 value for wheat with a 2005 value greater than 7340?It is not neccessary to use all the tables.
SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "3"
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of draws when the played 9 and lost 3?It is not neccessary to use all the tables.
SELECT tries_for FROM table_13564637_5 WHERE try_bonus = "8"
CREATE TABLE INST, Here is a database schema( table schema);
What were all the tries for when the try bonus was 8?It is not neccessary to use all the tables.
SELECT Label FROM table WHERE Format = cd maxi
CREATE TABLE INST, Here is a database schema( table schema);
What is the Label of the release in CD Maxi Format?.It is not neccessary to use all the tables.
SELECT date FROM table_name_38 WHERE winning_score = −14(68 - 68 - 67 - 71 = 274)
CREATE TABLE INST, Here is a database schema( table schema);
What is Date when Winning Score is −14 (68-68-67-71=274)?It is not neccessary to use all the tables.
SELECT MIN(al_wehdat_wins) FROM table_2985714_2 WHERE _number = 2
CREATE TABLE INST, Here is a database schema( table schema);
When the number is 2 what is the lowest amount of al-wedhat wins?It is not neccessary to use all the tables.
SELECT Incumbent FROM table WHERE District = Kentucky 8
CREATE TABLE INST, Here is a database schema( table schema);
Who was the incumbent in the Kentucky 8 district? .It is not neccessary to use all the tables.
SELECT Date of appointment FROM table WHERE Team = St. Johnstone
CREATE TABLE INST, Here is a database schema( table schema);
When was the date of appointment for St. Johnstone's manager? .It is not neccessary to use all the tables.
SELECT MAX(bronze) FROM table_name_71 WHERE gold > 1 AND silver < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Bronze medal count when the Gold medals are larger than 1 and the silver are smaller than 0?It is not neccessary to use all the tables.
SELECT venue FROM table_name_91 WHERE against > 21 AND opposing_team = "argentina"
CREATE TABLE INST, Here is a database schema( table schema);
Which venue has an against value larger than 21 and had Argentina as an opposing team.It is not neccessary to use all the tables.
SELECT Player FROM table WHERE PBA team = barangay ginebra kings
CREATE TABLE INST, Here is a database schema( table schema);
Who is the player with the PBA team of Barangay Ginebra Kings?.It is not neccessary to use all the tables.
SELECT cause_of_loss FROM table_18933037_3 WHERE bomb_capacity = "27 GP H-E bombs"
CREATE TABLE INST, Here is a database schema( table schema);
When 27 gp h-e bombs the capacity of the bomb what is the cause of loss?It is not neccessary to use all the tables.
SELECT AVG Laps FROM table WHERE Driver = toranosuke takagi
CREATE TABLE INST, Here is a database schema( table schema);
What are toranosuke takagi's average laps?.It is not neccessary to use all the tables.
SELECT MAX Game FROM table WHERE High points = Mickaël Gelabale (21)
CREATE TABLE INST, Here is a database schema( table schema);
what is the maximum game where high points is mickaël gelabale (21).It is not neccessary to use all the tables.
SELECT Region FROM table WHERE Catalog = vlmx 1087-3
CREATE TABLE INST, Here is a database schema( table schema);
What is the Region with a Catalog that is vlmx 1087-3?.It is not neccessary to use all the tables.
SELECT "Sales (X1000)" FROM table_4412 WHERE "No. of stores" = '282'
CREATE TABLE INST, Here is a database schema( table schema);
How much money did the country with 282 stores make in sales?It is not neccessary to use all the tables.
SELECT MIN Highest FROM table WHERE Lowest > 4,086 AND Capacity = 14,209 AND Average < 8,530
CREATE TABLE INST, Here is a database schema( table schema);
What's the lowest highest capacity that has a lowest capacity larger than 4,086 people, and a current capacity of 14,209, and an average capacity smaller than 8,530?.It is not neccessary to use all the tables.
SELECT district FROM table_name_61 WHERE incumbent = "joseph t. johnson"
CREATE TABLE INST, Here is a database schema( table schema);
Which district has joseph t. johnson as an incumbent?It is not neccessary to use all the tables.
SELECT "Returned On" FROM table_8845 WHERE "Year" = '2011'
CREATE TABLE INST, Here is a database schema( table schema);
Which Returned On has a Year of 2011?It is not neccessary to use all the tables.
SELECT allergytype, COUNT(*) FROM Allergy_type GROUP BY allergytype
CREATE TABLE INST, Here is a database schema( table schema);
Show all allergy types and the number of allergies in each type.It is not neccessary to use all the tables.
SELECT MIN(storeys) FROM table_13397394_1 WHERE address = "325 5th Ave N"
CREATE TABLE INST, Here is a database schema( table schema);
what is the minimum storeys on 325 5th ave nIt is not neccessary to use all the tables.
SELECT MAX(rank) FROM table_name_49 WHERE county = "offaly" AND player = "mark corrigan" AND total < 8
CREATE TABLE INST, Here is a database schema( table schema);
What's the highest Rank for the County of Offaly the Player of Mark Corrigan and the Total that is smaller than 8?It is not neccessary to use all the tables.
SELECT date FROM table_name_41 WHERE opponent = "wales"
CREATE TABLE INST, Here is a database schema( table schema);
When did they play against Wales?It is not neccessary to use all the tables.
SELECT Championship FROM table WHERE Margin = 2 strokes AND 54 holes = 1 shot lead AND Runner(s)-up = david duval
CREATE TABLE INST, Here is a database schema( table schema);
What is the championship when the margin was 2 strokes, there were 54 holes with a 1 shot lead, and the runner-up was David Duval?.It is not neccessary to use all the tables.
SELECT COUNT Position FROM table WHERE Played < 46
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Position, when Played is less than 46?.It is not neccessary to use all the tables.
SELECT SUM(scored) FROM table_name_75 WHERE losses < 0
CREATE TABLE INST, Here is a database schema( table schema);
How much Scored has Losses smaller than 0?It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Pick # = 39
CREATE TABLE INST, Here is a database schema( table schema);
Name the position for pick number 39.It is not neccessary to use all the tables.
SELECT Segment D FROM table WHERE Segment A = Tequila
CREATE TABLE INST, Here is a database schema( table schema);
Name the segment D of the episode where segment A is tequila.It is not neccessary to use all the tables.
SELECT COUNT("Fleet Series (Quantity)") FROM table_15845 WHERE "Fuel Propulsion" = 'CNG'
CREATE TABLE INST, Here is a database schema( table schema);
how many times is the fuel propulsion is cng?It is not neccessary to use all the tables.
SELECT AVG Metres FROM table WHERE Name = dzelzavas street 74
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of metres for the Dzelzavas Street 74?.It is not neccessary to use all the tables.
SELECT Driver FROM table WHERE Race 2 = 2
CREATE TABLE INST, Here is a database schema( table schema);
Name the driver for race 2 2 .It is not neccessary to use all the tables.
SELECT position FROM table_25146455_1 WHERE points = 31
CREATE TABLE INST, Here is a database schema( table schema);
What position did the driver earn 31 points?It is not neccessary to use all the tables.
SELECT building FROM Faculty WHERE rank = "Professor" GROUP BY building HAVING COUNT(*) >= 10
CREATE TABLE INST, Here is a database schema( table schema);
Show all the buildings that have at least 10 professors.It is not neccessary to use all the tables.
SELECT record FROM table_22815259_1 WHERE opponent = "Arizona"
CREATE TABLE INST, Here is a database schema( table schema);
Name the record for arizonaIt is not neccessary to use all the tables.
SELECT 1 AS st_ship_delivery_date FROM table_name_87 WHERE total_number_of_ways = "6 ways"
CREATE TABLE INST, Here is a database schema( table schema);
What is the 1st ship delivery date of 6 ways?It is not neccessary to use all the tables.
SELECT AVG(launches) FROM table_name_63 WHERE rocket = "ariane 5" AND partial_failures < 0
CREATE TABLE INST, Here is a database schema( table schema);
What were the average launches for Ariane 5 and 0 partial failures?It is not neccessary to use all the tables.
SELECT Manufacturer FROM table WHERE Type = 2-6-0
CREATE TABLE INST, Here is a database schema( table schema);
Which manucfaturer's type was 2-6-0?.It is not neccessary to use all the tables.
SELECT last_performance FROM table_name_16 WHERE status = "current cast" AND name = "noah parets"
CREATE TABLE INST, Here is a database schema( table schema);
What was the Last Performance when the status is current cast and a Name of noah parets?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Home team = south melbourne
CREATE TABLE INST, Here is a database schema( table schema);
What day is south melbourne at home?.It is not neccessary to use all the tables.
SELECT Brand (from) FROM table WHERE Pick # = 3
CREATE TABLE INST, Here is a database schema( table schema);
Pick # 3 works for which brand?.It is not neccessary to use all the tables.
SELECT SUM(ranking) FROM table_name_2 WHERE nationality = "england" AND goals > 53
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of ranking when the nationalits is England with more than 53 goals?It is not neccessary to use all the tables.
SELECT MIN Channel FROM table WHERE Channel name = TBS
CREATE TABLE INST, Here is a database schema( table schema);
What is the channel number for TBS?.It is not neccessary to use all the tables.
SELECT Weight FROM table WHERE Name = damir burić
CREATE TABLE INST, Here is a database schema( table schema);
What is the weight of Damir Burić?.It is not neccessary to use all the tables.
SELECT cfl_team FROM table_25085059_1 WHERE college = "North Dakota"
CREATE TABLE INST, Here is a database schema( table schema);
What CFL team got their draft pick from North Dakota?It is not neccessary to use all the tables.
SELECT opponent FROM table_name_98 WHERE attendance = "628"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent with an attendance of 628?It is not neccessary to use all the tables.
SELECT "team" FROM table_204_506 WHERE "seasons" = (SELECT MAX("seasons") FROM table_204_506)
CREATE TABLE INST, Here is a database schema( table schema);
which three teams have been playing for the most seasons ?It is not neccessary to use all the tables.
SELECT 2012 FROM table_name_82 WHERE 2005 = "314"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the 2012 when 2005 is 314It is not neccessary to use all the tables.
SELECT Country FROM table WHERE To par = e AND Player = chi-chi rodríguez
CREATE TABLE INST, Here is a database schema( table schema);
What is the country of player chi-chi rodríguez, who has an e to par?.It is not neccessary to use all the tables.
SELECT leading_scorer FROM table_11964047_9 WHERE date = "March 2"
CREATE TABLE INST, Here is a database schema( table schema);
what's the leading scorer on march 2It is not neccessary to use all the tables.
SELECT High points FROM table WHERE Game = 7
CREATE TABLE INST, Here is a database schema( table schema);
Who were the high point scorers in game 7?.It is not neccessary to use all the tables.
SELECT Affiliation FROM table WHERE Enrollment = 27209
CREATE TABLE INST, Here is a database schema( table schema);
Name the affiliation for 27209 enrollment.It is not neccessary to use all the tables.
SELECT COUNT("Party") FROM table_18517 WHERE "Candidates" = 'Howard Baker, Sr. (R) 68.9% Boyd W. Cox (D) 31.1%'
CREATE TABLE INST, Here is a database schema( table schema);
How many parties match the canididates listed as howard baker, sr. (r) 68.9% boyd w. cox (d) 31.1%?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE To par = +11
CREATE TABLE INST, Here is a database schema( table schema);
Which player had a To par of +11?.It is not neccessary to use all the tables.
SELECT 2nd leg FROM table WHERE Team #1 = Boca Juniors
CREATE TABLE INST, Here is a database schema( table schema);
Name the 2nd leg for boca juniors.It is not neccessary to use all the tables.
SELECT democratic_ticket FROM table_name_68 WHERE liberal_ticket = "edward r. dudley"
CREATE TABLE INST, Here is a database schema( table schema);
Who ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket?It is not neccessary to use all the tables.
SELECT place FROM table_name_45 WHERE money___£__ = "77,500" AND player = "sergio garcía"
CREATE TABLE INST, Here is a database schema( table schema);
What is the place of player sergio garcía who has £77500?It is not neccessary to use all the tables.
SELECT resident_country FROM table_name_79 WHERE local_location = "copenhagen"
CREATE TABLE INST, Here is a database schema( table schema);
What is Resident Country when Local Location is "Copenhagen"?It is not neccessary to use all the tables.
SELECT SUM(rank) FROM table_name_80 WHERE col__m_ < 33 AND summit = "haleakalā"
CREATE TABLE INST, Here is a database schema( table schema);
What's the rank when the col (m) is less than 33 and has a summit of Haleakalā?It is not neccessary to use all the tables.
SELECT player FROM table_name_79 WHERE country = "south africa"
CREATE TABLE INST, Here is a database schema( table schema);
Which player is from South Africa?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Home = st. louis
CREATE TABLE INST, Here is a database schema( table schema);
What did st. louis score at home?.It is not neccessary to use all the tables.
SELECT entrant FROM table_name_66 WHERE chassis = "bugatti t35b" AND driver = "heinrich-joachim von morgen"
CREATE TABLE INST, Here is a database schema( table schema);
Which Entrant had the Bugatti T35B Chassis and the Driver Heinrich-Joachim Von Morgen?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Team Nickname = Bearcats
CREATE TABLE INST, Here is a database schema( table schema);
Which city has the team nickname bearcats? .It is not neccessary to use all the tables.
SELECT season FROM table_name_84 WHERE position = "2nd"
CREATE TABLE INST, Here is a database schema( table schema);
Which season was 2nd position?It is not neccessary to use all the tables.
SELECT airport FROM table_name_82 WHERE country = "france" AND city = "montpellier"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Airport when France was the country and Montpellier was the city?It is not neccessary to use all the tables.
SELECT city FROM branch WHERE open_year = 2001 AND membership_amount > 100
CREATE TABLE INST, Here is a database schema( table schema);
Show all city with a branch opened in 2001 and a branch with more than 100 membership.It is not neccessary to use all the tables.
SELECT Method FROM table WHERE Time = 5:00 AND Round < 3 AND Res. = loss AND Event = road fc 12
CREATE TABLE INST, Here is a database schema( table schema);
What is the method of the match in the Road fc 12 at 5:00 with less than 3 rounds, and a loss result?.It is not neccessary to use all the tables.
SELECT Part number(s) FROM table WHERE Release date = january 2011 AND Frequency = 3.4 ghz AND Release price ( USD ) = $317
CREATE TABLE INST, Here is a database schema( table schema);
what is the part number when the release date is january 2011, the frequency is 3.4 ghz and the release price (usd) is $317?.It is not neccessary to use all the tables.
SELECT AVG(fa_cup_goals) FROM table_name_33 WHERE other_goals = 0 AND fl_cup_goals = 0 AND league_goals < 39
CREATE TABLE INST, Here is a database schema( table schema);
What is the average FA Cup Goal value for players that have 0 Other goals 0 FL Cup goals and fewer than 39 League goals?It is not neccessary to use all the tables.
SELECT MIN GEO ID FROM table WHERE Water (sqmi) = 0.457
CREATE TABLE INST, Here is a database schema( table schema);
What is the geo id when water is 0.457?.It is not neccessary to use all the tables.
SELECT MAX Rank FROM table WHERE Team = grupo capitol valladolid AND Games > 34
CREATE TABLE INST, Here is a database schema( table schema);
What is Grupo Capitol Valladolid's highest rank with more than 34 games?.It is not neccessary to use all the tables.
SELECT periselene__km_ FROM table_206217_2 WHERE period__h_ = "4.947432"
CREATE TABLE INST, Here is a database schema( table schema);
What is every value for periselene if period is 4.947432?It is not neccessary to use all the tables.
SELECT COUNT(wins) FROM table_name_4 WHERE avg_start < 25
CREATE TABLE INST, Here is a database schema( table schema);
How many wins for average start less than 25?It is not neccessary to use all the tables.
SELECT Academic AO FROM table WHERE President = harm van leeuwen
CREATE TABLE INST, Here is a database schema( table schema);
What Academic AO has a President of harm van leeuwen?.It is not neccessary to use all the tables.
SELECT COUNT Aggregate FROM table WHERE Home (2nd leg) = Instituto
CREATE TABLE INST, Here is a database schema( table schema);
If the second leg is Instituto, what is the total number of aggregate?.It is not neccessary to use all the tables.
SELECT constructor FROM table_name_84 WHERE driver = "alexander wurz"
CREATE TABLE INST, Here is a database schema( table schema);
What is the constructor of driver Alexander Wurz?It is not neccessary to use all the tables.