sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT name FROM table_name_19 WHERE overall < 224 AND round < 6 AND pick = 15 AND college = "nebraska"
CREATE TABLE INST, Here is a database schema( table schema);
Which player was drafted overall from the college of Nebraska in a round under 6 pick of 15 and overall under 224?It is not neccessary to use all the tables.
SELECT Position FROM table WHERE Province / Club = example AND Date of Birth (Age) = example AND Player = michael elumeze
CREATE TABLE INST, Here is a database schema( table schema);
What is Position, when Province / Club is Example, when Date of Birth (Age) is Example, and when Player is Michael Elumeze?.It is not neccessary to use all the tables.
SELECT HDTV FROM table 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 Game FROM table WHERE Location = chicago stadium
CREATE TABLE INST, Here is a database schema( table schema);
Which game number was played at Chicago Stadium?.It is not neccessary to use all the tables.
SELECT "Nickname" FROM table_1456 WHERE "Established" = '2002'
CREATE TABLE INST, Here is a database schema( table schema);
What was the nickname Established in 2002?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Nationality = united states AND Position = forward AND School/Club Team = notre dame
CREATE TABLE INST, Here is a database schema( table schema);
Which Player has a Nationality of united states, a Position of forward, and a School/Club Team of notre dame?.It is not neccessary to use all the tables.
SELECT interview FROM table_12338595_1 WHERE evening_gown = "8.977"
CREATE TABLE INST, Here is a database schema( table schema);
Which interview score corresponds with the evening gown score of 8.977?It is not neccessary to use all the tables.
SELECT Serials issued FROM table WHERE Issued = 1966
CREATE TABLE INST, Here is a database schema( table schema);
What is the issued serial given in 1966?.It is not neccessary to use all the tables.
SELECT MAX Legs Lost FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What is the most legs lost of all?.It is not neccessary to use all the tables.
SELECT Winning score FROM table WHERE Runner(s)-up = damien mcgrane
CREATE TABLE INST, Here is a database schema( table schema);
What was the winning score when Damien McGrane was runner-up?.It is not neccessary to use all the tables.
SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03012"
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote the episode with ip03012 as the production code?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Location = sopot (pol)
CREATE TABLE INST, Here is a database schema( table schema);
What was the result of Sopot (pol)?.It is not neccessary to use all the tables.
SELECT AVG Black FROM table WHERE White < 6,02 AND Total > 100,00
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Black, when White is less than 6,02, and when Total is greater than 100,00?.It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Outcome = winner AND Surface = hard (i)
CREATE TABLE INST, Here is a database schema( table schema);
Which Tournament has an Outcome of winner, and a Surface of hard (i)?.It is not neccessary to use all the tables.
SELECT COUNT Result FROM table WHERE District = South Carolina 5
CREATE TABLE INST, Here is a database schema( table schema);
what is the total number of results where the district is south carolina 5?.It is not neccessary to use all the tables.
SELECT Start FROM table WHERE Finish = 21st
CREATE TABLE INST, Here is a database schema( table schema);
Name the start for finish being 21st.It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Law School Attended = columbia law school AND Appointed = 2004
CREATE TABLE INST, Here is a database schema( table schema);
Who attended Columbia law school and was appointed in 2004?.It is not neccessary to use all the tables.
SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit"
CREATE TABLE INST, Here is a database schema( table schema);
How many districts does gary condit represent?It is not neccessary to use all the tables.
SELECT top speed FROM table WHERE max. power = PS (kW; bhp)@5250-6250
CREATE TABLE INST, Here is a database schema( table schema);
What is top speed of a petrol engine at ps (kw; bhp)@5250-6250?.It is not neccessary to use all the tables.
SELECT MIN Place FROM table WHERE Long = 4 AND TD's < 2
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest place a player with 4 long and less than 2 TDs has?.It is not neccessary to use all the tables.
SELECT score FROM table_name_32 WHERE date = "16 august 2006"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the game played on 16 August 2006?It is not neccessary to use all the tables.
SELECT Last Year FROM table WHERE Venue = Manuka Oval
CREATE TABLE INST, Here is a database schema( table schema);
What was the attendance last year at Manuka Oval?.It is not neccessary to use all the tables.
SELECT T2.customer_name, T3.city, T1.date_from, T1.date_to FROM customer_address_history AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id JOIN addresses AS T3 ON T1.address_id = T3.address_id
CREATE TABLE INST, Here is a database schema( table schema);
Show the customer name, customer address city, date from, and date to for each customer address history.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Date = july 25
CREATE TABLE INST, Here is a database schema( table schema);
What score was on July 25?.It is not neccessary to use all the tables.
SELECT Frequency FROM table WHERE Model Number = c7 1.0
CREATE TABLE INST, Here is a database schema( table schema);
What is the Frequency for Model Number c7 1.0?.It is not neccessary to use all the tables.
SELECT Game FROM table WHERE Score = 82-79
CREATE TABLE INST, Here is a database schema( table schema);
What game was the final score 82-79?.It is not neccessary to use all the tables.
SELECT competition FROM table_name_58 WHERE result = "2-1"
CREATE TABLE INST, Here is a database schema( table schema);
what is the competition when the result is 2-1?It is not neccessary to use all the tables.
SELECT "Change over same quarter the previous year" FROM table_1636 WHERE "% trains arriving within 5 mins of scheduled time (over three months)" = '89.6%'
CREATE TABLE INST, Here is a database schema( table schema);
What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)?It is not neccessary to use all the tables.
SELECT SUM Version FROM table WHERE Name = coptic small letter sampi AND Year > 2005
CREATE TABLE INST, Here is a database schema( table schema);
Give the sum of the version with the coptic small letter sampi, and a year after 2005..It is not neccessary to use all the tables.
SELECT SUM Tie no FROM table 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 Event FROM table WHERE Compulsory Dance (CD) = 28.12
CREATE TABLE INST, Here is a database schema( table schema);
In what event was the compulsory dance score 28.12? .It is not neccessary to use all the tables.
SELECT MAX(rank) FROM table_name_63 WHERE director = "henry hathaway"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Rank when Director is "Henry Hathaway"?It is not neccessary to use all the tables.
SELECT elevator FROM table_name_21 WHERE elector = "giacomo colonna"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the Elevator of Giacomo Colonna?It is not neccessary to use all the tables.
SELECT jockey FROM table_name_55 WHERE odds = "5/1"
CREATE TABLE INST, Here is a database schema( table schema);
Who has 5/1 odds?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Opponent = vancouver canucks
CREATE TABLE INST, Here is a database schema( table schema);
What was the score when the Rangers were playing against the Vancouver Canucks?.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Date = august 16
CREATE TABLE INST, Here is a database schema( table schema);
August 16 had what record?.It is not neccessary to use all the tables.
SELECT Race number FROM table WHERE Elapsed time d:hh:mm:ss = 1:23:19:31
CREATE TABLE INST, Here is a database schema( table schema);
What is the race number with time 1:23:19:31?.It is not neccessary to use all the tables.
SELECT Equipment FROM table WHERE Points < 6 AND Position = 53
CREATE TABLE INST, Here is a database schema( table schema);
What is Equipment, when Points is less than 6, and when Position is 53?.It is not neccessary to use all the tables.
SELECT SUM Game FROM table WHERE Score = 87-92
CREATE TABLE INST, Here is a database schema( table schema);
What is the Game # that scored 87-92?.It is not neccessary to use all the tables.
SELECT partner FROM table_1920271_3 WHERE surface = "Clay"
CREATE TABLE INST, Here is a database schema( table schema);
Who did she play with on clay?It is not neccessary to use all the tables.
SELECT MAX(by_election) FROM table_28898948_3 WHERE electorate = "Waikaia"
CREATE TABLE INST, Here is a database schema( table schema);
When waikaia is the electorate what is the highest by-election?It is not neccessary to use all the tables.
SELECT "Tournament" FROM table_36033 WHERE "Score" = '3–6 6–4 4–6'
CREATE TABLE INST, Here is a database schema( table schema);
Which Tournament has a Score of 3 6 6 4 4 6?It is not neccessary to use all the tables.
SELECT road_team FROM table_name_66 WHERE game = "game 4"
CREATE TABLE INST, Here is a database schema( table schema);
Name Road Team of Game of game 4?It is not neccessary to use all the tables.
SELECT circuit FROM table_name_43 WHERE winning_driver = "peter whitehead"
CREATE TABLE INST, Here is a database schema( table schema);
Which circuit did Peter Whitehead win?It is not neccessary to use all the tables.
SELECT country FROM table_name_93 WHERE player = "fred haas"
CREATE TABLE INST, Here is a database schema( table schema);
Where is Fred Haas from?It is not neccessary to use all the tables.
SELECT format FROM table_name_98 WHERE label = "candlelight records"
CREATE TABLE INST, Here is a database schema( table schema);
What is Candlelight Records format?It is not neccessary to use all the tables.
SELECT AVG Against FROM table WHERE Status = five nations AND Date = 16/03/1996
CREATE TABLE INST, Here is a database schema( table schema);
What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"?.It is not neccessary to use all the tables.
SELECT opponent FROM table_name_74 WHERE attendance = "68,264"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the opponent for attendance of 68264It is not neccessary to use all the tables.
SELECT rookie FROM table_23265433_2 WHERE offensive = "Ryan Powell"
CREATE TABLE INST, Here is a database schema( table schema);
Name the rookie for ryan powellIt is not neccessary to use all the tables.
SELECT Score FROM table WHERE Date = july 20
CREATE TABLE INST, Here is a database schema( table schema);
Which Score has a Date of july 20?.It is not neccessary to use all the tables.
SELECT AVG(place) FROM table_name_81 WHERE team = "once municipal" AND lost > 3
CREATE TABLE INST, Here is a database schema( table schema);
What's the place that Once Municipal has a lost greater than 3?It is not neccessary to use all the tables.
SELECT SUM Density (per km²) FROM table WHERE Area (km²) = 372,889 AND Population (2011) > 1,145,861
CREATE TABLE INST, Here is a database schema( table schema);
what is the Density (per km²) when the Area (km²) is 372,889 and the population (2011) is 1,145,861?.It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Crowd > 20,200 AND Home team = footscray
CREATE TABLE INST, Here is a database schema( table schema);
Who was the away team at the game where Footscray was the home team and the crowd was larger than 20,200?.It is not neccessary to use all the tables.
SELECT player FROM table_name_66 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 Champion FROM table WHERE Year > 2007 AND Finalist = asvel
CREATE TABLE INST, Here is a database schema( table schema);
What is Champion, when Year is greater than 2007, and when Finalist is "Asvel"?.It is not neccessary to use all the tables.
SELECT AVG(attendance) FROM table_name_45 WHERE opponent = "new orleans saints" AND week > 12
CREATE TABLE INST, Here is a database schema( table schema);
Can you tell me the average Attendance that has the Opponent of new orleans saints and the Week larger than 12?It is not neccessary to use all the tables.
SELECT "Driver" FROM table_48566 WHERE "Entrant" = 'rovero campello'
CREATE TABLE INST, Here is a database schema( table schema);
Who was the driver for Rovero Campello?It is not neccessary to use all the tables.
SELECT november FROM table_name_71 WHERE october = "jill de vries"
CREATE TABLE INST, Here is a database schema( table schema);
Who is in November where October is jill de vries?It is not neccessary to use all the tables.
SELECT Team 2 FROM table WHERE Team 1 = taipower AND Result = 0-1
CREATE TABLE INST, Here is a database schema( table schema);
What team is 2 when 1 is Taipower and the result is 0-1?.It is not neccessary to use all the tables.
SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.diagnosis = "NEWBORN"
CREATE TABLE INST, Here is a database schema( table schema);
what is maximum age of patients whose admission location is emergency room admit and primary disease is newborn?It is not neccessary to use all the tables.
SELECT state_ & _federal FROM table_11608735_3 WHERE property_taxes = "17,199,210"
CREATE TABLE INST, Here is a database schema( table schema);
Name the state and federal when property taxes is 17199210It is not neccessary to use all the tables.
SELECT Termination of Mission FROM table WHERE Presentation of Credentials = july 4, 1898
CREATE TABLE INST, Here is a database schema( table schema);
What is the termination of mission date of the representative with a presentation of credentials date on July 4, 1898?.It is not neccessary to use all the tables.
SELECT MAX Laps FROM table WHERE Grid = 1
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest laps when the grid is 1?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Location/Attendance = delta center/19,911 AND Date = dec 6
CREATE TABLE INST, Here is a database schema( table schema);
Which Opponent has a Location/Attendance of delta center/19,911 on dec 6?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Away team = carlton
CREATE TABLE INST, Here is a database schema( table schema);
If the Away team was carlton, what Date did they play?.It is not neccessary to use all the tables.
SELECT npl_net FROM table_name_30 WHERE bank = "citibank"
CREATE TABLE INST, Here is a database schema( table schema);
Which NPL net's bank was citibank?It is not neccessary to use all the tables.
SELECT AVG("Wins") FROM table_39031 WHERE "Top 10" < '5' AND "Winnings" = '$39,190' AND "Starts" < '2'
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of wins of the year with less than 5 top 10s, a winning of $39,190 and less than 2 starts?It is not neccessary to use all the tables.
SELECT MIN("FA Trophy") FROM table_77797 WHERE "Club" = 'forest green rovers' AND "Play-offs" > '0'
CREATE TABLE INST, Here is a database schema( table schema);
Which of the lowest FA Trophys involved the Forest Green Rovers club when the play-offs number was bigger than 0?It is not neccessary to use all the tables.
SELECT playoffs FROM table_name_52 WHERE open_cup = "did not qualify" AND regular_season = "3rd, south atlantic"
CREATE TABLE INST, Here is a database schema( table schema);
What shows for Playoffs when the Open Cup shows as did not qualify and a Regular Season was 3rd south atlantic?It is not neccessary to use all the tables.
SELECT title FROM table_name_57 WHERE japan = "august 23, 2012"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the title for japan august 23 2012It is not neccessary to use all the tables.
SELECT power FROM table_name_58 WHERE year < 1999
CREATE TABLE INST, Here is a database schema( table schema);
How powerful is the model before 1999?It is not neccessary to use all the tables.
SELECT Brand name FROM table WHERE Model (list) = E4xxx
CREATE TABLE INST, Here is a database schema( table schema);
What is the brand name associated with the model named e4xxx?.It is not neccessary to use all the tables.
SELECT MAX(season) FROM table_name_94 WHERE runners_up = "al ahly"
CREATE TABLE INST, Here is a database schema( table schema);
What is the latest season where Al Ahly is the runners-up?It is not neccessary to use all the tables.
SELECT MIN(block) FROM table_name_5 WHERE height < 202 AND date_of_birth = "19.06.1980" AND weight > 76
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest block that has a height less than 202 19.06.1980 as the date of birth and a weight greater than 76?It is not neccessary to use all the tables.
SELECT SUM(laps) FROM table_name_31 WHERE grid > 18 AND time_retired = "electrical"
CREATE TABLE INST, Here is a database schema( table schema);
How many laps for a grid of over 18 and retired due to electrical failure?It is not neccessary to use all the tables.
SELECT Area FROM table WHERE Hangul/Chosongul = 경기도
CREATE TABLE INST, Here is a database schema( table schema);
What is the area for the province having Hangul of 경기도?.It is not neccessary to use all the tables.
SELECT Bonus points FROM table WHERE Drawn = 2 AND Points against = 599
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of bonus points when there are 2 drawn and the points against is 599?.It is not neccessary to use all the tables.
SELECT Height FROM table WHERE Club = sainte-foy AND Name = valérie dionne
CREATE TABLE INST, Here is a database schema( table schema);
What is the height of valérie dionne at Club Sainte-Foy?.It is not neccessary to use all the tables.
SELECT constructor FROM table_name_24 WHERE driver = "clay regazzoni"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the constructor for clay regazzoniIt is not neccessary to use all the tables.
SELECT Percentage of land area FROM table WHERE Percentage protected = 7.96
CREATE TABLE INST, Here is a database schema( table schema);
What is the percentage of land area in the ecozone that the percentage protected is 7.96?.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Score = W 105–92 (OT)
CREATE TABLE INST, Here is a database schema( table schema);
what's the record where score is w 105–92 (ot).It is not neccessary to use all the tables.
SELECT COUNT("No. by season") FROM table_26435 WHERE "Title" = 'Cops & Robbers'
CREATE TABLE INST, Here is a database schema( table schema);
How many episodes are titled 'Cops & Robbers'?It is not neccessary to use all the tables.
SELECT written_by FROM table_12419515_4 WHERE total_viewers__in_millions_ = "1.211"
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote the title that received 1.211 million total viewers?It is not neccessary to use all the tables.
SELECT Social Sec Leeds FROM table WHERE President = tom dawson
CREATE TABLE INST, Here is a database schema( table schema);
Name the Social Sec Leeds has a President of tom dawson?.It is not neccessary to use all the tables.
SELECT AVG(RAM_MiB) FROM chip_model WHERE NOT model_name IN (SELECT chip_model FROM phone)
CREATE TABLE INST, Here is a database schema( table schema);
Find the average ram mib size of the chip models that are never used by any phone.It is not neccessary to use all the tables.
SELECT Total FROM table WHERE Number of dances = 11 AND Competition finish > 2.0
CREATE TABLE INST, Here is a database schema( table schema);
What is the Number of dances is 11 and competition finish is larger than 2.0 total.It is not neccessary to use all the tables.
SELECT Genre FROM table WHERE Type = 3d AND Release date = 2008-2011
CREATE TABLE INST, Here is a database schema( table schema);
What type of 3D game was released between 2008-2011?.It is not neccessary to use all the tables.
SELECT "Result" FROM table_76495 WHERE "Date" = '20 july 2008'
CREATE TABLE INST, Here is a database schema( table schema);
What is the result on 20 July 2008?It is not neccessary to use all the tables.
SELECT arena FROM table_name_8 WHERE capacity = "1,100"
CREATE TABLE INST, Here is a database schema( table schema);
Which arena has a capactiy of 1100?It is not neccessary to use all the tables.
SELECT AVG(laps) FROM table_name_74 WHERE grid = 9
CREATE TABLE INST, Here is a database schema( table schema);
I want the average Laps for grid of 9It is not neccessary to use all the tables.
SELECT average FROM table_1354805_6 WHERE number_of_dances = 1
CREATE TABLE INST, Here is a database schema( table schema);
tell the competitions where the mean is 1It is not neccessary to use all the tables.
SELECT Winner or 2nd FROM table WHERE Weight > 7.3 AND Result = –
CREATE TABLE INST, Here is a database schema( table schema);
What is the the name of the winner or 2nd with a weight more than 7.3, and the result was –?.It is not neccessary to use all the tables.
SELECT MIN $50 – 1/2 oz. FROM table WHERE Year = 1997 AND $25 – 1/4 oz. > 27,100
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100?.It is not neccessary to use all the tables.
SELECT gender FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "24mm"
CREATE TABLE INST, Here is a database schema( table schema);
What is the gender of the junior high school is 24mm?It is not neccessary to use all the tables.
SELECT Pole Position FROM table WHERE Fastest Lap = ben spies AND Location = barber motorsports park
CREATE TABLE INST, Here is a database schema( table schema);
What is Pole Position, when Fastest Lap is Ben Spies, and when Location is Barber Motorsports Park?.It is not neccessary to use all the tables.
SELECT top_division_debut FROM table_name_67 WHERE tournaments = 12 AND name = "yamamotoyama"
CREATE TABLE INST, Here is a database schema( table schema);
What is Top Division Debut, when Tournaments is '12', and when Name is 'Yamamotoyama'?It is not neccessary to use all the tables.
SELECT rectifier FROM table_name_69 WHERE det_pre_amp = "x" AND _number_tubes = "4"
CREATE TABLE INST, Here is a database schema( table schema);
Name the rectifier for Det/Pre-amp of x and # tubes of 4It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Place = t7 AND Score = 72-67=139 AND Player = raymond floyd
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE TO PAR WITH A T7 PLACE, SCORE OF 72-67=139, AND PLAYER RAYMOND FLOYD?.It is not neccessary to use all the tables.
SELECT Couple FROM table WHERE Total = 38
CREATE TABLE INST, Here is a database schema( table schema);
What is the couple that received a total score of 38?.It is not neccessary to use all the tables.
SELECT margin_of_victory FROM table_name_45 WHERE tournament = "masters gc ladies"
CREATE TABLE INST, Here is a database schema( table schema);
What is the margin of victory that has masters gc ladies as the tournament?It is not neccessary to use all the tables.