sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT date FROM table_27715173_6 WHERE score = "W 116–93 (OT)"
CREATE TABLE INST, Here is a database schema( table schema);
What date was the game with a score of w 116–93 (ot)?It is not neccessary to use all the tables.
SELECT position FROM table_2850912_7 WHERE nhl_team = "Los Angeles Kings"
CREATE TABLE INST, Here is a database schema( table schema);
What is the postion when the nhl team is los angeles kings?It is not neccessary to use all the tables.
SELECT Incumbent FROM table WHERE District = Georgia's 8th
CREATE TABLE INST, Here is a database schema( table schema);
Who was the incumbent from georgia's 8th district?.It is not neccessary to use all the tables.
SELECT COUNT(year) FROM table_name_59 WHERE artist = "queen" AND weeks_at_number_one < 1
CREATE TABLE INST, Here is a database schema( table schema);
What's the sum of years when the Artist of the queen were less than 1?It is not neccessary to use all the tables.
SELECT ihsaa_class AS Football FROM table_name_7 WHERE mascot = "panthers"
CREATE TABLE INST, Here is a database schema( table schema);
What's the IHSAA Class Football if the panthers are the mascot?It is not neccessary to use all the tables.
SELECT english_translation FROM table_name_12 WHERE language = "french" AND artist = "rachel"
CREATE TABLE INST, Here is a database schema( table schema);
What is the English Translation for the French song by the Artist Rachel?It is not neccessary to use all the tables.
SELECT "Segment A" FROM table_19940 WHERE "Segment C" = 's Sailboard'
CREATE TABLE INST, Here is a database schema( table schema);
What is the Segment A for when Segment C is s Sailboard?It is not neccessary to use all the tables.
SELECT MIN Gold FROM table WHERE Rank = 10 AND Silver < 0
CREATE TABLE INST, Here is a database schema( table schema);
what is the least gold when the rank is 10 and silver is less than 0?.It is not neccessary to use all the tables.
SELECT Rookie FROM table WHERE Goalkeeper = rob scherr AND Week < 6
CREATE TABLE INST, Here is a database schema( table schema);
Who is the rookie goalkeeper Rob Scherr who played before week 6?.It is not neccessary to use all the tables.
SELECT Points FROM table WHERE Laps = 165
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of points associated with 165 laps?.It is not neccessary to use all the tables.
SELECT MIN(episode__number) FROM table_name_89 WHERE rating / SHARE(18 AS –49) = 0.9 / 4 AND viewers__millions_ > 3.79
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest numbered episode that had a rating/share of 0.9/4 and more than 3.79 million viewers?It is not neccessary to use all the tables.
SELECT title FROM table_2409041_9 WHERE written_by = "Gary M. Goodrich"
CREATE TABLE INST, Here is a database schema( table schema);
What was the name of the epiode written by Gary M. Goodrich?It is not neccessary to use all the tables.
SELECT 2007 FROM table_name_92 WHERE 2010 = "a"
CREATE TABLE INST, Here is a database schema( table schema);
Which 2007 has a 2010 of A?It is not neccessary to use all the tables.
SELECT MIN(rank) FROM table_2527063_3
CREATE TABLE INST, Here is a database schema( table schema);
Name the least rankIt is not neccessary to use all the tables.
SELECT Competition FROM table WHERE Ground = san siro AND Time = 18:30 gmt
CREATE TABLE INST, Here is a database schema( table schema);
What kind of competition was it at San Siro at 18:30 GMT?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_20 WHERE result = "–"
CREATE TABLE INST, Here is a database schema( table schema);
What Opponent has a Result of –?It is not neccessary to use all the tables.
SELECT location FROM table_name_64 WHERE name = "evans"
CREATE TABLE INST, Here is a database schema( table schema);
What was the locaction of the Evans test blast?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Outcome = loser AND Edition = 2011
CREATE TABLE INST, Here is a database schema( table schema);
What is Score, when Outcome is Loser, and when Edition is 2011?.It is not neccessary to use all the tables.
SELECT MIN Satu Mare FROM table WHERE Baia Mare > 523
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest Satu Mare value associated with Baia Mare over 523?.It is not neccessary to use all the tables.
SELECT MIN Total wins FROM table
CREATE TABLE INST, Here is a database schema( table schema);
what is the value for minimum total wins.It is not neccessary to use all the tables.
SELECT loss FROM table_name_96 WHERE record = "26-9"
CREATE TABLE INST, Here is a database schema( table schema);
What loss has 26-9 as a loss?It is not neccessary to use all the tables.
SELECT first_game FROM table_name_89 WHERE lost > 4
CREATE TABLE INST, Here is a database schema( table schema);
When was the first game associated with over 4 losses?It is not neccessary to use all the tables.
SELECT position FROM table_21220720_1 WHERE name = "van den Brink, Bas"
CREATE TABLE INST, Here is a database schema( table schema);
Name the position for van den brink basIt is not neccessary to use all the tables.
SELECT Mixed doubles FROM table WHERE Year > 2007 AND Men's singles = eduards loze
CREATE TABLE INST, Here is a database schema( table schema);
What is the mixed doubles in the year 2007 when the men's singles is eduards loze?.It is not neccessary to use all the tables.
SELECT record FROM table_name_77 WHERE date = "1/17/1980"
CREATE TABLE INST, Here is a database schema( table schema);
What is the record on 1/17/1980?It is not neccessary to use all the tables.
SELECT COUNT(fa_trophy) FROM table_name_17 WHERE fa_cup > 2 AND player = "neil grayson" AND league > 17
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of FA trophies of player Neil Grayson who has more than 2 FA cups and a league greater than 17?It is not neccessary to use all the tables.
SELECT Took office FROM table WHERE Governor = matthew e. welsh
CREATE TABLE INST, Here is a database schema( table schema);
Who took office under the government of Matthew E. Welsh?.It is not neccessary to use all the tables.
SELECT Week 1 Sept 7 FROM table WHERE Preseason = colorado state
CREATE TABLE INST, Here is a database schema( table schema);
What is the Week 1 result of Colorado State?.It is not neccessary to use all the tables.
SELECT Launch Date FROM table WHERE Odds of Winning = 1 in 4.23 AND Top Prize = $15,000
CREATE TABLE INST, Here is a database schema( table schema);
What is the launch date odds of winning 1 in 4.23 with a top prize of $15,000?.It is not neccessary to use all the tables.
SELECT player FROM table_name_2 WHERE place = "t10"
CREATE TABLE INST, Here is a database schema( table schema);
What Player has a Place of t10?It is not neccessary to use all the tables.
SELECT rank FROM table_name_26 WHERE total < 9 AND bronze < 2 AND nation = "france"
CREATE TABLE INST, Here is a database schema( table schema);
Which rank has a total less than 9 less than 2 bronze and from France?It is not neccessary to use all the tables.
SELECT score FROM table_name_30 WHERE home_team = "windsor & eton"
CREATE TABLE INST, Here is a database schema( table schema);
Which Score has a Home team of windsor & eton?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Result = 22-12
CREATE TABLE INST, Here is a database schema( table schema);
Where did they play that the score was 22-12?.It is not neccessary to use all the tables.
SELECT SUM(attendance) FROM table_name_16 WHERE score = "8–7"
CREATE TABLE INST, Here is a database schema( table schema);
What was the attendance when the score was 8–7?It is not neccessary to use all the tables.
SELECT Race Name FROM table WHERE Constructor = maserati AND Circuit = aintree AND Winning driver = stirling moss
CREATE TABLE INST, Here is a database schema( table schema);
What was the race that featured stirling moss winning with a maserati at aintree?.It is not neccessary to use all the tables.
SELECT AVG(lane) FROM table_name_93 WHERE time = "1:00.66"
CREATE TABLE INST, Here is a database schema( table schema);
What's the lane with a time of 1:00.66?It is not neccessary to use all the tables.
SELECT COUNT(state_and_district_of_columbia) FROM table_18958648_1 WHERE overweight__incl_obese__adults = "65.4%"
CREATE TABLE INST, Here is a database schema( table schema);
How many states or District of Columbia have 65.4% overweight or obese adults?It is not neccessary to use all the tables.
SELECT Division FROM table WHERE Finish = 5th AND Losses = 87
CREATE TABLE INST, Here is a database schema( table schema);
Which division of the Brewers had a 5th place ranking and a loss record of 87?.It is not neccessary to use all the tables.
SELECT school FROM table_name_71 WHERE round > 3 AND player = "jason odom"
CREATE TABLE INST, Here is a database schema( table schema);
Which school has more than 3 rounds with jason odom?It is not neccessary to use all the tables.
SELECT depth FROM table_25675509_1 WHERE latitude = "08.979° S"
CREATE TABLE INST, Here is a database schema( table schema);
If the latitude is 08.979° s what is the depth?It is not neccessary to use all the tables.
SELECT AVG Wins FROM table WHERE Against > 1244 AND Losses < 8
CREATE TABLE INST, Here is a database schema( table schema);
When against is more than 1244 with less than 8 losses, what is the average of wins?.It is not neccessary to use all the tables.
SELECT MAX Silver FROM table WHERE Bronze = 0 AND Total < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest number of silver that had 0 bronzes and total less than 1?.It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_name_77 WHERE away_team = "geelong"
CREATE TABLE INST, Here is a database schema( table schema);
What is the home side's score when geelong is the away team?It is not neccessary to use all the tables.
SELECT MAX(goal) FROM table_name_14 WHERE score = "3-0"
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest goal with a Score of 3-0?It is not neccessary to use all the tables.
SELECT * FROM table_train_249 WHERE age < 18
CREATE TABLE INST, Here is a database schema( table schema);
age < 18 yearsIt is not neccessary to use all the tables.
SELECT label FROM table_name_39 WHERE country_of_release = "eu"
CREATE TABLE INST, Here is a database schema( table schema);
When the country of release is EU what is the label name?It is not neccessary to use all the tables.
SELECT AVG Week FROM table WHERE Attendance < 18,517 AND Date = november 21, 1954
CREATE TABLE INST, Here is a database schema( table schema);
What is the average week that there was a game with less than 18,517 fans attending and occurred on November 21, 1954?.It is not neccessary to use all the tables.
SELECT term_in_office FROM table_name_27 WHERE party = "liberal" AND state = "sa" AND member = "ian mclachlan"
CREATE TABLE INST, Here is a database schema( table schema);
Name the term in office for liberal and state of sa for ian mclachlanIt is not neccessary to use all the tables.
SELECT MAX(win__percentage) FROM table_name_40 WHERE manager = "juan carlos chávez" AND lost < 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the highes win % that manager juan carlos chávez's team had when they lost less than 4 times?It is not neccessary to use all the tables.
SELECT religious_group FROM table_10710364_1 WHERE population__percentage_2001 = "0.72%"
CREATE TABLE INST, Here is a database schema( table schema);
What religious groups made up 0.72% of the Indian population in 2001?It is not neccessary to use all the tables.
SELECT SUM(1978 AS _veteran_membership) FROM table_name_66 WHERE NOT _late_1941 = "macedonia" AND late_1943 < 10 OFFSET 000
CREATE TABLE INST, Here is a database schema( table schema);
What is the 1978 Veteran membership with a late 1941 macedonia and a late 1943 less than 10000?It is not neccessary to use all the tables.
SELECT visitor FROM table_name_62 WHERE date = "march 24"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the visitor on March 24?It is not neccessary to use all the tables.
SELECT Home FROM table WHERE Date = june 9
CREATE TABLE INST, Here is a database schema( table schema);
Who was the home team on June 9?.It is not neccessary to use all the tables.
SELECT High assists FROM table WHERE Date = November 12
CREATE TABLE INST, Here is a database schema( table schema);
who had high assists on november 12?.It is not neccessary to use all the tables.
SELECT MIN("Wins") FROM table_37723 WHERE "Poles" = '3' AND "Season" = '2010'
CREATE TABLE INST, Here is a database schema( table schema);
What is the fewest number of wins when he has 3 poles in 2010?It is not neccessary to use all the tables.
SELECT purse___us$__ FROM table_name_32 WHERE race = "illinois derby"
CREATE TABLE INST, Here is a database schema( table schema);
What was the Illinois Derby purse?It is not neccessary to use all the tables.
SELECT Nationality FROM table WHERE Player = e.j. bradley
CREATE TABLE INST, Here is a database schema( table schema);
Which Nation does e.j. bradley play for?.It is not neccessary to use all the tables.
SELECT cloud_cover FROM weather WHERE zip_code = 94107 GROUP BY cloud_cover ORDER BY COUNT(*) DESC LIMIT 3
CREATE TABLE INST, Here is a database schema( table schema);
What is the 3 most common cloud cover rates in the region of zip code 94107?It is not neccessary to use all the tables.
SELECT 135lbs FROM table WHERE 125lbs = Doug Del Porto (Galena)
CREATE TABLE INST, Here is a database schema( table schema);
Who weighed 135 lbs that was on the same team as Doug Del Porto (Galena) at 125 lbs?.It is not neccessary to use all the tables.
SELECT MIN(2 AS nd__m_) FROM table_name_99 WHERE points > 251.6
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest 2nd (m) when the points were larger than 251.6?It is not neccessary to use all the tables.
SELECT country FROM table_name_72 WHERE score = 66 - 69 = 135
CREATE TABLE INST, Here is a database schema( table schema);
What Country Scored 66-69=135?It is not neccessary to use all the tables.
SELECT COUNT January (°C) FROM table WHERE July (°C) = 23/15
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of January (°C) temperatures when the July (°C) temperatures were 23/15?.It is not neccessary to use all the tables.
SELECT MAX Total USD FROM table WHERE Creator = Pebble Technology
CREATE TABLE INST, Here is a database schema( table schema);
What was the maximum total USD collected by Pebble Technology?.It is not neccessary to use all the tables.
SELECT MIN(year) FROM table_name_5 WHERE position < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the earliest year a song with a position less than 1 has?It is not neccessary to use all the tables.
SELECT game FROM table_name_94 WHERE high_rebounds = "jones (10)"
CREATE TABLE INST, Here is a database schema( table schema);
What game has jones (10) as the high rebounds?It is not neccessary to use all the tables.
SELECT SUM(tie_no) FROM table_name_82 WHERE away_team = "solihull moors"
CREATE TABLE INST, Here is a database schema( table schema);
what is the tie no when the away team is solihull moors?It is not neccessary to use all the tables.
SELECT MAX(enrollment) FROM table_20190834_1 WHERE team_name = "Sooners"
CREATE TABLE INST, Here is a database schema( table schema);
What is the maximum enrollment of the Sooners?It is not neccessary to use all the tables.
SELECT club FROM table_name_43 WHERE goals = 0 AND apps > 0 AND season = "2010"
CREATE TABLE INST, Here is a database schema( table schema);
In the 2010 season what club has 0 goals and more than 0 Apps?It is not neccessary to use all the tables.
SELECT home_town FROM table_name_81 WHERE year = "freshman" AND height = "6–6"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Home Town with a Year of freshman and a Height with 6–6?It is not neccessary to use all the tables.
SELECT date_of_birth__age_ FROM table_name_71 WHERE club_province = "wild knights" AND player = "tomokazu soma"
CREATE TABLE INST, Here is a database schema( table schema);
When was Tomokazu Soma born who plays for the wild knights?It is not neccessary to use all the tables.
SELECT "Prom. (m)" FROM table_11676 WHERE "Class" = 'hewitt' AND "Height (m)" = '715'
CREATE TABLE INST, Here is a database schema( table schema);
What is the prom with Hewitt class and a Height (m) of 715?It is not neccessary to use all the tables.
SELECT 1999 FROM table_name_47 WHERE tournament = "us open"
CREATE TABLE INST, Here is a database schema( table schema);
What was the 1999 Tournament at the US Open?It is not neccessary to use all the tables.
SELECT t2.document_structure_description FROM documents AS t1 JOIN document_structures AS t2 ON t1.document_structure_code = t2.document_structure_code GROUP BY t1.document_structure_code ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
Return the structure description of the document that has been accessed the fewest number of times.It is not neccessary to use all the tables.
SELECT us_hot_100 FROM table_name_81 WHERE album = "i like you"
CREATE TABLE INST, Here is a database schema( table schema);
Name the US Hot 100 for album of I like youIt is not neccessary to use all the tables.
SELECT MAX(effic) FROM table_name_56 WHERE avg_g < 305.6 AND gp_gs = "13-13"
CREATE TABLE INST, Here is a database schema( table schema);
Which Effic is the highest one that has an Avg/G smaller than 305.6 and a GP-GS of 13-13?It is not neccessary to use all the tables.
SELECT AVG Losses FROM table WHERE Club = cobden AND Against > 1487
CREATE TABLE INST, Here is a database schema( table schema);
Cobden has more than 1487 against and what average of losses?.It is not neccessary to use all the tables.
SELECT "After Tax Income:" FROM table_22930 WHERE "Percentage of Income Kept:" = '40.6%'
CREATE TABLE INST, Here is a database schema( table schema);
Name the after tax income for percentage of income kept being 40.6%It is not neccessary to use all the tables.
SELECT winning_span FROM table_1953516_1 WHERE name = "Bernard Gallacher"
CREATE TABLE INST, Here is a database schema( table schema);
What is the winning span for the name of bernard gallacher?It is not neccessary to use all the tables.
SELECT ground FROM table_name_79 WHERE crowd > 41 OFFSET 185
CREATE TABLE INST, Here is a database schema( table schema);
Which ground has a crowd over 41185?It is not neccessary to use all the tables.
SELECT round FROM table_name_84 WHERE time = "2:32"
CREATE TABLE INST, Here is a database schema( table schema);
Which round lasted 2:32?It is not neccessary to use all the tables.
SELECT AVG(goals__2008_) FROM table_name_47 WHERE games__2008_ = 21 AND debut_round < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of goals with 21 games for a debut round less than 1?It is not neccessary to use all the tables.
SELECT T1.Player, T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew"
CREATE TABLE INST, Here is a database schema( table schema);
Show the players and years played for players from team "Columbus Crew".It is not neccessary to use all the tables.
SELECT SUM(Population), GovernmentForm FROM country GROUP BY GovernmentForm HAVING AVG(LifeExpectancy) > 72
CREATE TABLE INST, Here is a database schema( table schema);
Find the government form name and total population for each government form whose average life expectancy is longer than 72.It is not neccessary to use all the tables.
SELECT High rebounds FROM table WHERE Date = April 4
CREATE TABLE INST, Here is a database schema( table schema);
What were the high rebounds on April 4?.It is not neccessary to use all the tables.
SELECT Instant messaging FROM table WHERE Telephony = yes with integrated sametime
CREATE TABLE INST, Here is a database schema( table schema);
What is Instant Messaging, when Telephony is "Yes with integrated Sametime"?.It is not neccessary to use all the tables.
SELECT "Rider" FROM table_74608 WHERE "Time" = '1:54.26.6'
CREATE TABLE INST, Here is a database schema( table schema);
Which rider had a time of 1:54.26.6?It is not neccessary to use all the tables.
SELECT Fastest Lap FROM table WHERE Rd. = 15
CREATE TABLE INST, Here is a database schema( table schema);
Who had the fastest lap in round 15?.It is not neccessary to use all the tables.
SELECT Time/Retired FROM table WHERE Grid < 22 AND Laps < 33 AND Driver = john surtees
CREATE TABLE INST, Here is a database schema( table schema);
I want the time/retired with grid less than 22 and Laps less than 33 for john surtees.It is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Home team score = 12.12 (84)
CREATE TABLE INST, Here is a database schema( table schema);
Which home team has home team score of 12.12 (84)?.It is not neccessary to use all the tables.
SELECT time FROM table_name_94 WHERE winner = "salford ii"
CREATE TABLE INST, Here is a database schema( table schema);
What was the time for the winning horse Salford ii?It is not neccessary to use all the tables.
SELECT district FROM table_name_67 WHERE result = "retired republican hold" AND incumbent = "rufus p. spalding"
CREATE TABLE INST, Here is a database schema( table schema);
Which district has a retired republican hold and an incumbent of rufus p. spalding?It is not neccessary to use all the tables.
SELECT res FROM table_name_4 WHERE round = 1 AND opponent = "jeremy beck"
CREATE TABLE INST, Here is a database schema( table schema);
What was the result when he went 1 round against jeremy beck?It is not neccessary to use all the tables.
SELECT SUM(total) FROM table_name_97 WHERE silver < 10 AND nation = "andorra" AND bronze > 5
CREATE TABLE INST, Here is a database schema( table schema);
What was Andorra's total with less than 10 silver and more than 5 bronze?It is not neccessary to use all the tables.
SELECT Pole Position FROM table WHERE Fastest Lap = gilles villeneuve AND Constructor = ferrari AND Race Winner = gilles villeneuve
CREATE TABLE INST, Here is a database schema( table schema);
Who held pole position at the race won by Gilles Villeneuve, with the fastest lap held by Gilles Villeneuve, driving a Ferrari?.It is not neccessary to use all the tables.
SELECT Artist FROM table WHERE Position = 32
CREATE TABLE INST, Here is a database schema( table schema);
who is the the artbeingt with position being 32.It is not neccessary to use all the tables.
SELECT province_of_1936 FROM table_221375_1 WHERE district = "Viana do Castelo"
CREATE TABLE INST, Here is a database schema( table schema);
Name province of 1936 viana do casteloIt is not neccessary to use all the tables.
SELECT written_by FROM table_24018430_3 WHERE directed_by = "Shannon Flynn"
CREATE TABLE INST, Here is a database schema( table schema);
what is writtenand directed by shannon flynn?It is not neccessary to use all the tables.
SELECT venue FROM table_name_63 WHERE notes = "2:38:44"
CREATE TABLE INST, Here is a database schema( table schema);
What venue featured a notes of 2:38:44?It is not neccessary to use all the tables.
SELECT result FROM table_name_21 WHERE attendance = "54,418"
CREATE TABLE INST, Here is a database schema( table schema);
What is the result when there was an attendance of 54418?It is not neccessary to use all the tables.
SELECT democratic_ticket FROM table_name_70 WHERE office = "attorney general"
CREATE TABLE INST, Here is a database schema( table schema);
Who was on the Democratic ticket for the Office of Attorney General?It is not neccessary to use all the tables.