sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT position FROM table_name_14 WHERE overall < 64 AND round = 1
CREATE TABLE INST, Here is a database schema( table schema);
Which position has an Overall smaller than 64, and a Round of 1?It is not neccessary to use all the tables.
SELECT RR1 Pts. FROM table WHERE Team name = Spanish Challenge
CREATE TABLE INST, Here is a database schema( table schema);
When spanish challenge is the team name what are the rr1 points?.It is not neccessary to use all the tables.
SELECT attendance FROM table_name_77 WHERE week < 17 AND record = "bye"
CREATE TABLE INST, Here is a database schema( table schema);
What was the Attendance before Week 17 with a Record of Bye?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM employees WHERE country = "Canada"
CREATE TABLE INST, Here is a database schema( table schema);
How many employees are living in Canada?It is not neccessary to use all the tables.
SELECT loss FROM table_name_85 WHERE date = "may 29"
CREATE TABLE INST, Here is a database schema( table schema);
On May 29 which team had the loss?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Venue = melbourne , australia AND Extra = 200 m
CREATE TABLE INST, Here is a database schema( table schema);
Venue of melbourne , australia, and a Extra of 200 m has what results?.It is not neccessary to use all the tables.
SELECT MAX Production code FROM table WHERE Original air date = January 8, 1993
CREATE TABLE INST, Here is a database schema( table schema);
What is the production code for the episode that originally aired on January 8, 1993?.It is not neccessary to use all the tables.
SELECT Lineup FROM table WHERE Match = 2
CREATE TABLE INST, Here is a database schema( table schema);
What was her place in the lineup on match 2?.It is not neccessary to use all the tables.
SELECT Name/Designation FROM table WHERE Status = under development
CREATE TABLE INST, Here is a database schema( table schema);
What is the name/designation for the under development status?.It is not neccessary to use all the tables.
SELECT guest FROM table_25691838_12 WHERE original_airdate = "December 07"
CREATE TABLE INST, Here is a database schema( table schema);
Who were the guests for the episode with an original airdate of december 07?It is not neccessary to use all the tables.
SELECT score FROM table_name_36 WHERE record = "22–46"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the game when the record was 22–46?It is not neccessary to use all the tables.
SELECT results FROM table_name_12 WHERE district = "iowa 2"
CREATE TABLE INST, Here is a database schema( table schema);
What were the results for the incumbent from Iowa 2 district?It is not neccessary to use all the tables.
SELECT owner FROM table_name_73 WHERE name = "mrt 1 hd"
CREATE TABLE INST, Here is a database schema( table schema);
Which owner had MRT 1 HD?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Competition = friendly AND Date = 8 october 2009
CREATE TABLE INST, Here is a database schema( table schema);
what is the result when the competition is friendly on 8 october 2009?.It is not neccessary to use all the tables.
SELECT Winning score FROM table WHERE Championship = Masters Tournament
CREATE TABLE INST, Here is a database schema( table schema);
What was the winning score of the Masters Tournament?.It is not neccessary to use all the tables.
SELECT MIN(decile) FROM table_name_71 WHERE authority = "state" AND name = "midhirst school"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest decile with a state authority and Midhirst school?It is not neccessary to use all the tables.
SELECT MAX("Game") FROM table_20359
CREATE TABLE INST, Here is a database schema( table schema);
How many games were played in the season?It is not neccessary to use all the tables.
SELECT AVG(election) FROM table_name_31 WHERE party = "liga veneta" AND province = "vicenza"
CREATE TABLE INST, Here is a database schema( table schema);
What is the average election for vicenza province with the liga veneta party?It is not neccessary to use all the tables.
SELECT tickets_sold___available FROM table_name_51 WHERE gross_revenue__2011_ = "$333,100"
CREATE TABLE INST, Here is a database schema( table schema);
How many tickets were sold / available for the venue that had a gross revenue of $333100 in 2011?It is not neccessary to use all the tables.
SELECT COUNT Matches FROM table WHERE S/Rate < 133.72 AND Team = yorkshire carnegie
CREATE TABLE INST, Here is a database schema( table schema);
How many Matches have an S/Rate smaller than 133.72, and a Team of yorkshire carnegie?.It is not neccessary to use all the tables.
SELECT Country FROM table WHERE Name = dyer
CREATE TABLE INST, Here is a database schema( table schema);
Which country is Dyer from?.It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Place = t5 AND Score = 69-74=143
CREATE TABLE INST, Here is a database schema( table schema);
who is the player when the place is t5 and the score is 69-74=143?.It is not neccessary to use all the tables.
SELECT COUNT Player FROM table WHERE No = 12
CREATE TABLE INST, Here is a database schema( table schema);
how many player with no being 12.It is not neccessary to use all the tables.
SELECT COUNT(attendance) FROM table_15647838_3 WHERE bowl_game = "1986 Peach Bowl"
CREATE TABLE INST, Here is a database schema( table schema);
How many values for attendance correspond to the 1986 Peach Bowl?It is not neccessary to use all the tables.
SELECT Date/Year FROM table WHERE Attendance = 45010
CREATE TABLE INST, Here is a database schema( table schema);
On what date/s has attendance been 45010?.It is not neccessary to use all the tables.
SELECT time FROM table_name_61 WHERE method = "tko"
CREATE TABLE INST, Here is a database schema( table schema);
What was the time when the method was TKO?It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Qual 1 = 1:22.085
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the racer that had a first qualification time of 1:22.085?.It is not neccessary to use all the tables.
SELECT COUNT Stories FROM table WHERE Rank = 16
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of stories that had a 16 rank.It is not neccessary to use all the tables.
SELECT Class FROM table WHERE Quantity made = 5
CREATE TABLE INST, Here is a database schema( table schema);
What Class has a Quantity made of 5?.It is not neccessary to use all the tables.
SELECT SUM(goals_against) FROM table_name_37 WHERE games = 64 AND lost < 12 AND points > 107
CREATE TABLE INST, Here is a database schema( table schema);
How many goals against have 64 for games a loss less than 12 with points greater than 107?It is not neccessary to use all the tables.
SELECT COUNT Top-25 FROM table WHERE Top-10 > 2 AND Cuts made < 29
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of top-25 with a top-10 bigger than 2 and less than 29 cuts?.It is not neccessary to use all the tables.
SELECT llws FROM table_name_70 WHERE city = "parsippany"
CREATE TABLE INST, Here is a database schema( table schema);
Which Little League World Series took place in Parsippany?It is not neccessary to use all the tables.
SELECT MIN Bronze FROM table WHERE Silver < 2 AND Total > 1 AND Nation = uzbekistan
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest number of bronze medals with less than 2 silver medals and more than 1 medal in total for Uzbekistan?.It is not neccessary to use all the tables.
SELECT Week FROM table WHERE Date = september 27, 1953
CREATE TABLE INST, Here is a database schema( table schema);
Which week's date was September 27, 1953?.It is not neccessary to use all the tables.
SELECT MAX Wins FROM table WHERE Earnings ( $ ) < 4,976,980 AND Rank > 4
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest number of wins of the player with less than $4,976,980 in earnings and a rank lower than 4?.It is not neccessary to use all the tables.
SELECT COUNT(name) FROM table_24055352_1 WHERE hometown = "Los Angeles"
CREATE TABLE INST, Here is a database schema( table schema);
How many players came from Los Angeles?It is not neccessary to use all the tables.
SELECT County FROM table WHERE Population 2011 = 17908
CREATE TABLE INST, Here is a database schema( table schema);
In what counties is the 2011 population 17908?.It is not neccessary to use all the tables.
SELECT score FROM table_name_95 WHERE date = "march 14"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the March 14 game?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Date = 21st
CREATE TABLE INST, Here is a database schema( table schema);
What was the Result of the game dated 21st?.It is not neccessary to use all the tables.
SELECT Genre FROM table WHERE Developer(s) = naughty dog
CREATE TABLE INST, Here is a database schema( table schema);
What game was developed by Naughty Dog?.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Score = 30-44
CREATE TABLE INST, Here is a database schema( table schema);
Which result has a Score of 30-44?.It is not neccessary to use all the tables.
SELECT COUNT Year FROM table WHERE Outcome = Runner-up AND Championship = US Open
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of years where runner-up and championship is us open.It is not neccessary to use all the tables.
SELECT works_number FROM table_name_80 WHERE name = "victor"
CREATE TABLE INST, Here is a database schema( table schema);
What is the work number for Victor?It is not neccessary to use all the tables.
SELECT T1.FirstName, T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) >= 10
CREATE TABLE INST, Here is a database schema( table schema);
Please show the employee first names and ids of employees who serve at least 10 customers.It is not neccessary to use all the tables.
SELECT Formula FROM table WHERE Driver = john moore-brabazon
CREATE TABLE INST, Here is a database schema( table schema);
Which formula had a driver of John Moore-Brabazon?.It is not neccessary to use all the tables.
SELECT away_team FROM table_name_28 WHERE venue = "western oval"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the away team at western oval?It is not neccessary to use all the tables.
SELECT outcome FROM table_2516282_3 WHERE opponents = "Yan Zi Jie Zheng"
CREATE TABLE INST, Here is a database schema( table schema);
When the opponent was Yan Zi Jie Zheng what was the outcome?It is not neccessary to use all the tables.
SELECT 2nd leg FROM table WHERE Team 2 = belasica
CREATE TABLE INST, Here is a database schema( table schema);
What is the score for the 2nd leg when Belasica is team 2?.It is not neccessary to use all the tables.
SELECT Exited FROM table WHERE Celebrity = Vic Reeves
CREATE TABLE INST, Here is a database schema( table schema);
What is the exited day where the celebrity is vic reeves?.It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Rank (week) = 5
CREATE TABLE INST, Here is a database schema( table schema);
List the original air date for week 5..It is not neccessary to use all the tables.
SELECT title FROM table_28116528_1 WHERE production_code = "3X6306"
CREATE TABLE INST, Here is a database schema( table schema);
What episode title had a production code of 3x6306?It is not neccessary to use all the tables.
SELECT MAX Pick # FROM table WHERE Name = william middleton AND Round > 5
CREATE TABLE INST, Here is a database schema( table schema);
Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_22 WHERE score = "6–5 (10)"
CREATE TABLE INST, Here is a database schema( table schema);
Who did the Rockies play at the game that had a score of 6–5 (10)?It is not neccessary to use all the tables.
SELECT Santee-Sisseton FROM table WHERE Yankton-Yanktonai = wičháša
CREATE TABLE INST, Here is a database schema( table schema);
Name the santee sisseton for wičháša.It is not neccessary to use all the tables.
SELECT No. FROM table WHERE Title = "Naomi Gaines"
CREATE TABLE INST, Here is a database schema( table schema);
What numbered episode is titled "naomi gaines"?.It is not neccessary to use all the tables.
SELECT COUNT Point FROM table WHERE Goal Loss = 16 AND Goal Diff < 26 AND Game > 14
CREATE TABLE INST, Here is a database schema( table schema);
How many points were there in the game with a goal loss of 16 and a goal diff less than 26 after game 14?.It is not neccessary to use all the tables.
SELECT Registered voters FROM table WHERE D–R spread = +10.4%
CREATE TABLE INST, Here is a database schema( table schema);
What is the percentage of registered voters in which the d-r spread is +10.4%?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Year < 1991 AND Time > 10.29 AND Competition = mediterranean games AND Event = 4x100 m relay
CREATE TABLE INST, Here is a database schema( table schema);
What Venue has a Year smaller than 1991, Time larger than 10.29, Competition of mediterranean games, and Event of 4x100 m relay?.It is not neccessary to use all the tables.
SELECT Written by FROM table WHERE U.S. viewers (million) = 0.97
CREATE TABLE INST, Here is a database schema( table schema);
Who were all the writers whose episodes had 0.97 million viewers?.It is not neccessary to use all the tables.
SELECT MIN(steals) FROM table_23346303_5 WHERE player = "Jasmine Wynne"
CREATE TABLE INST, Here is a database schema( table schema);
If the player is Jasmine Wynne, what is the minimum number of steals?It is not neccessary to use all the tables.
SELECT Competition FROM table WHERE Position = 1st AND Year = 2009
CREATE TABLE INST, Here is a database schema( table schema);
Which competition held the 1st position in 2009?.It is not neccessary to use all the tables.
SELECT Founded FROM table WHERE Location = athelstone
CREATE TABLE INST, Here is a database schema( table schema);
When was the team that plays at Athelstone founded?.It is not neccessary to use all the tables.
SELECT AVG Floors FROM table WHERE Built = 2004 AND Roof ( m ) = 106
CREATE TABLE INST, Here is a database schema( table schema);
What's the average number of floors that were built in 2004, and have a roof (m) of 106?.It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Schedule = limited AND Year < 2007 AND Driver = jason white
CREATE TABLE INST, Here is a database schema( table schema);
what is the team when the schedule is limited, year is earlier than 2007 and the driver is jason white?.It is not neccessary to use all the tables.
SELECT "Constructor" FROM table_32043 WHERE "Laps" = '54'
CREATE TABLE INST, Here is a database schema( table schema);
What is the make of the car that drove 54 laps?It is not neccessary to use all the tables.
SELECT SUM(pick) FROM table_name_24 WHERE team = "tri-cities blackhawks" AND college = "drake"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum total of picks for drake players from the tri-cities blackhawks?It is not neccessary to use all the tables.
SELECT MAX Week FROM table WHERE Opponent = buffalo bills
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Week with the Opponent Buffalo Bills?.It is not neccessary to use all the tables.
SELECT term_end FROM table_name_89 WHERE term_start = "28 november 1912"
CREATE TABLE INST, Here is a database schema( table schema);
When did the term end for the person who started their term on 28 November 1912?It is not neccessary to use all the tables.
SELECT written_by FROM table_21550897_1 WHERE production_code = 519
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote the episode with the production code 519?It is not neccessary to use all the tables.
SELECT MIN 2009 FROM table WHERE 2005 = 11.8 AND 2006 < 12.6
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2009 when there's 11.8 in 2005 and less than 12.6 in 2006?.It is not neccessary to use all the tables.
SELECT COUNT(breadth) FROM table_28132970_5 WHERE propulsion = "Jet"
CREATE TABLE INST, Here is a database schema( table schema);
How many breadth entries are there when propulsion is jet?It is not neccessary to use all the tables.
SELECT Song FROM table WHERE Weeks at number one > 2 AND Issue date(s) = 17 april - 8 may
CREATE TABLE INST, Here is a database schema( table schema);
Which Song has a Weeks at number one larger than 2, and an Issue date(s) of 17 april - 8 may?.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Date = 23 january 2010 AND Time (seconds) < 42.679
CREATE TABLE INST, Here is a database schema( table schema);
What is the Record for 23 january 2010, with a time smaller than 42.679 seconds?.It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_name_75 WHERE away_team = "collingwood"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for the away team at Collingwood?It is not neccessary to use all the tables.
SELECT opponent FROM table_name_38 WHERE round = "3" AND time = "n/a" AND rules = "n/a"
CREATE TABLE INST, Here is a database schema( table schema);
Which Opponent has a Round of 3 a Time of n/a and a Rules of n/a?It is not neccessary to use all the tables.
SELECT Playoffs FROM table WHERE Year = 2011
CREATE TABLE INST, Here is a database schema( table schema);
which playoffs took place during 2011?.It is not neccessary to use all the tables.
SELECT AVG Opened FROM table WHERE Manufacturer = vekoma
CREATE TABLE INST, Here is a database schema( table schema);
Which average Opened has a Manufacturer of vekoma?.It is not neccessary to use all the tables.
SELECT goals_scored FROM table_18018214_3 WHERE club = "FM (LOSC) Vilnius"
CREATE TABLE INST, Here is a database schema( table schema);
How many goals were scored by club team fm (losc) vilniusIt is not neccessary to use all the tables.
SELECT Date FROM table WHERE Against < 6 AND Venue = durban
CREATE TABLE INST, Here is a database schema( table schema);
What is date when against is smaller than 6 and location was durban?.It is not neccessary to use all the tables.
SELECT AVG Bronze FROM table WHERE Rank = 4 AND Silver < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the average bronze with a rank of 4 and less than 1 silver?.It is not neccessary to use all the tables.
SELECT date FROM table_name_37 WHERE score = "1-2" AND venue = "athens olympic stadium"
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the score 1-2 at Athens Olympic Stadium?It is not neccessary to use all the tables.
SELECT name FROM table_name_44 WHERE best = "1:15.673"
CREATE TABLE INST, Here is a database schema( table schema);
What is Name when Best is 1:15.673?It is not neccessary to use all the tables.
SELECT rowers FROM table_name_96 WHERE time = "5:54.57"
CREATE TABLE INST, Here is a database schema( table schema);
Who are the rowers with the time of 5:54.57?It is not neccessary to use all the tables.
SELECT title FROM table_name_58 WHERE songwriter_s_ = "nigel stock" AND time = "4:12"
CREATE TABLE INST, Here is a database schema( table schema);
Which song was written by Nigel Stock and is 4:12 long?It is not neccessary to use all the tables.
SELECT AVG Against FROM table WHERE Wins = 11 AND Draws < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of against with 11 wins and less than 0 draws?.It is not neccessary to use all the tables.
SELECT SUM(total_produced) FROM table_name_13 WHERE wheel_arrangement = "b-b" AND prr_class = "bs6" AND builder’s_model = "ds-4-4-660"
CREATE TABLE INST, Here is a database schema( table schema);
How many total units were built of Model ds-4-4-660 with a b-b wheel arrangement and a PRR Class of bs6?It is not neccessary to use all the tables.
SELECT played FROM table_name_81 WHERE tries_against = "63"
CREATE TABLE INST, Here is a database schema( table schema);
What is Played when Tries Against is "63"?It is not neccessary to use all the tables.
SELECT COUNT lost to eventual winner FROM table WHERE lost to eventual runner-up = ASC Jeanne d'Arc
CREATE TABLE INST, Here is a database schema( table schema);
How many players lost to eventual winner in the season when ASC Jeanne d'Arc lost to eventual runner up?.It is not neccessary to use all the tables.
SELECT Music FROM table WHERE Team = anna guzik & rafał kamiński AND Points jury = 24 (7,5,6,6)
CREATE TABLE INST, Here is a database schema( table schema);
What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)?.It is not neccessary to use all the tables.
SELECT Type FROM table WHERE Programming = general AND Owner = tv kanal 5
CREATE TABLE INST, Here is a database schema( table schema);
What is the type for a general programming and the owner tv kanal 5?.It is not neccessary to use all the tables.
SELECT 2003 FROM table WHERE 1996 = a AND Tournament = hamburg masters
CREATE TABLE INST, Here is a database schema( table schema);
In the Hamburg Masters Tournament, during which Jiří Novák was absent(A) in 1996, how did he do in 2003?.It is not neccessary to use all the tables.
SELECT él___ella___usted FROM table_1977630_2 WHERE vos__ * _ = "muelas / molás"
CREATE TABLE INST, Here is a database schema( table schema);
What us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / molás?It is not neccessary to use all the tables.
SELECT Placings FROM table WHERE Total < 96.07 AND Nation = united states
CREATE TABLE INST, Here is a database schema( table schema);
What is the placing value for a total less than 96.07 in the United States?.It is not neccessary to use all the tables.
SELECT SUM Points FROM table WHERE Lyricist = ray agius
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of points for ray agius.It is not neccessary to use all the tables.
SELECT SUM(Block) AS assists FROM table_name_12 WHERE assists > 32 AND total_blocks > 88
CREATE TABLE INST, Here is a database schema( table schema);
When assists is more than 32 and total blocks is more than 88 what is the total of block assists?It is not neccessary to use all the tables.
SELECT diameter__km_ FROM table_name_62 WHERE name = "t'ien hu colles"
CREATE TABLE INST, Here is a database schema( table schema);
What is the diameter in km of t'ien hu colles?It is not neccessary to use all the tables.
SELECT replaced_by FROM table_17039232_3 WHERE outgoing_manager = "Kent Nielsen"
CREATE TABLE INST, Here is a database schema( table schema);
Name the replaced by when outgoing manager is kent nielsenIt is not neccessary to use all the tables.
SELECT Airport FROM table WHERE City = sabha
CREATE TABLE INST, Here is a database schema( table schema);
What airport is in Sabha?.It is not neccessary to use all the tables.
SELECT finish FROM table_name_54 WHERE year_s__won = "2000"
CREATE TABLE INST, Here is a database schema( table schema);
What was the finish of the winner of the 2000 Masters?It is not neccessary to use all the tables.
SELECT Event FROM table WHERE Year < 1964 AND Athlete = lászló tábori gunnar nielsen
CREATE TABLE INST, Here is a database schema( table schema);
What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?.It is not neccessary to use all the tables.