sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT name FROM table_name_17 WHERE county = "blount" AND location = "nectar"
CREATE TABLE INST, Here is a database schema( table schema);
Which bridge is located in Nectar in Blount County?It is not neccessary to use all the tables.
SELECT Mens singles FROM table WHERE Mixed doubles = Jeliazko Valkov Dobrinka Peneva
CREATE TABLE INST, Here is a database schema( table schema);
Name the mens singles for jeliazko valkov dobrinka peneva.It is not neccessary to use all the tables.
SELECT "Place" FROM table_43746 WHERE "Player" = 'mark o''meara'
CREATE TABLE INST, Here is a database schema( table schema);
What is the place of Mark O'Meara?It is not neccessary to use all the tables.
SELECT COUNT Date FROM table WHERE Race = Victoria Derby
CREATE TABLE INST, Here is a database schema( table schema);
What many times was the victoria derby raced?.It is not neccessary to use all the tables.
SELECT dissolved FROM table_name_95 WHERE elected = "1553"
CREATE TABLE INST, Here is a database schema( table schema);
Who was dissolved that was elected in 1553?It is not neccessary to use all the tables.
SELECT internet_explorer FROM table_name_53 WHERE firefox = "20.01%"
CREATE TABLE INST, Here is a database schema( table schema);
What percentage of users were using Internet Explorer according to the source that reported 20.01% used Firefox?It is not neccessary to use all the tables.
SELECT Number of teams FROM table WHERE Top goalscorer(s) = not awarded AND Year = 2007 details
CREATE TABLE INST, Here is a database schema( table schema);
How many teams were at the 2007 details tournament where there a top goalscorer was not awarded?.It is not neccessary to use all the tables.
SELECT Manner of departure FROM table WHERE Team = anderlecht
CREATE TABLE INST, Here is a database schema( table schema);
What was the manner of departure for the team Anderlecht?.It is not neccessary to use all the tables.
SELECT vote_id, phone_number, state FROM votes
CREATE TABLE INST, Here is a database schema( table schema);
List the vote ids phone numbers and states of all votes.It is not neccessary to use all the tables.
SELECT pm__g_kwh_ FROM table_2780146_6 WHERE co__g_kwh_ = "12.3"
CREATE TABLE INST, Here is a database schema( table schema);
What's the PM for the standard with 12.3 g/kWh CO?It is not neccessary to use all the tables.
SELECT Brazil scorers FROM table WHERE Score = 6-0
CREATE TABLE INST, Here is a database schema( table schema);
Who is the Brazil scorer who scored 6-0?.It is not neccessary to use all the tables.
SELECT COUNT Compulsory FROM table WHERE Voluntary = 38.7 AND Total > 69.2
CREATE TABLE INST, Here is a database schema( table schema);
What's the total compulsory when the total is more than 69.2 and the voluntary is 38.7?.It is not neccessary to use all the tables.
SELECT college_junior_club_team FROM table_2679061_1 WHERE player = "Alfie Turcotte"
CREATE TABLE INST, Here is a database schema( table schema);
what is the college/junior/club team for the player alfie turcotte?It is not neccessary to use all the tables.
SELECT High points FROM table WHERE Date = March 25
CREATE TABLE INST, Here is a database schema( table schema);
What were the high points on March 25?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Surface = Clay AND Category = 250 series
CREATE TABLE INST, Here is a database schema( table schema);
In the 250 series on clay what were the scores?.It is not neccessary to use all the tables.
SELECT Years in Orlando FROM table WHERE Player = Jeryl Sasser
CREATE TABLE INST, Here is a database schema( table schema);
List all years in Orlando where Jeryl Sasser was a player..It is not neccessary to use all the tables.
SELECT "Second" FROM table_35946 WHERE "Skip" = 'martynas norkus'
CREATE TABLE INST, Here is a database schema( table schema);
Who was second when Martynas Norkus was the skip?It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Year < 2001
CREATE TABLE INST, Here is a database schema( table schema);
What tournament has a year prior to 2001?.It is not neccessary to use all the tables.
SELECT Main Artillery FROM table WHERE tons ( L.ton ) = 1,051
CREATE TABLE INST, Here is a database schema( table schema);
What is the primary artillery for the 1,051 ships?.It is not neccessary to use all the tables.
SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id ORDER BY AVG(high_temperature) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
Find the id and local authority of the station with has the highest average high temperature.It is not neccessary to use all the tables.
SELECT Surface FROM table WHERE Opponent = michael berrer
CREATE TABLE INST, Here is a database schema( table schema);
On what surface was the opponent Michael Berrer?.It is not neccessary to use all the tables.
SELECT AVG(year) FROM table_name_55 WHERE mixed_doubles = "mika heinonen susanna dahlberg"
CREATE TABLE INST, Here is a database schema( table schema);
When did mika heinonen susanna dahlberg win mixed doubles?It is not neccessary to use all the tables.
SELECT COUNT Series # FROM table WHERE U.S. viewers (million) = 3.35
CREATE TABLE INST, Here is a database schema( table schema);
Which episode number drew in 3.35 million viewers in the United States?.It is not neccessary to use all the tables.
SELECT 1 AS st_leg FROM table_name_14 WHERE team_1 = "lesotho"
CREATE TABLE INST, Here is a database schema( table schema);
What was the 1st leg score for the match with Lesotho as team 1?It is not neccessary to use all the tables.
SELECT result FROM table_name_11 WHERE date = "august 27, 1980"
CREATE TABLE INST, Here is a database schema( table schema);
What is the result when the date is August 27 1980?It is not neccessary to use all the tables.
SELECT medal FROM table_name_68 WHERE event = "men's light welterweight" AND games = "1996 atlanta"
CREATE TABLE INST, Here is a database schema( table schema);
What medal was won in the men's light welterweight event at the 1996 Atlanta games?It is not neccessary to use all the tables.
SELECT party FROM table_2668420_17 WHERE result = "Re-elected" AND district = "Virginia 12"
CREATE TABLE INST, Here is a database schema( table schema);
What party was re-elected to Virginia 12?It is not neccessary to use all the tables.
SELECT race_name FROM table_name_45 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 result FROM table_name_5 WHERE opponent = "fenerbahçe"
CREATE TABLE INST, Here is a database schema( table schema);
What was the result when the opponent was fenerbahçe?It is not neccessary to use all the tables.
SELECT MAX(year_of_issue) FROM table_name_52 WHERE thickness = "1.42mm"
CREATE TABLE INST, Here is a database schema( table schema);
Which Year of Issue has a Thickness of 1.42mm?It is not neccessary to use all the tables.
SELECT incumbent FROM table_1342218_13 WHERE district = "Illinois 17"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the incumbent in the Illinois 17 district?It is not neccessary to use all the tables.
SELECT COUNT(round) FROM table_21256068_3 WHERE score = "44-22"
CREATE TABLE INST, Here is a database schema( table schema);
how many rounds had the score 44-22It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Result = w20-0
CREATE TABLE INST, Here is a database schema( table schema);
Who was the opponent against which the result was w20-0?.It is not neccessary to use all the tables.
SELECT AVG(2008) FROM table_name_56 WHERE city = "durban"
CREATE TABLE INST, Here is a database schema( table schema);
Which 2008 has a City of durban?It is not neccessary to use all the tables.
SELECT Poles FROM table WHERE Wins = 0 AND Points = 0
CREATE TABLE INST, Here is a database schema( table schema);
what is the poles when the wins is 0 and points is 0?.It is not neccessary to use all the tables.
SELECT Institution FROM table WHERE Women = Lady Saints
CREATE TABLE INST, Here is a database schema( table schema);
What institution is represented by the lady saints?.It is not neccessary to use all the tables.
SELECT _percentage_2001 FROM table_1939405_2 WHERE _percentage_2011 = "0.8%" AND province = "Manitoba"
CREATE TABLE INST, Here is a database schema( table schema);
What's the percentage in 2001 in Manitoba where the percentage in 2011 is 0.8%?It is not neccessary to use all the tables.
SELECT motive FROM table_name_25 WHERE year < 2007
CREATE TABLE INST, Here is a database schema( table schema);
What is the motive before 2007?It is not neccessary to use all the tables.
SELECT home_team AS score FROM table_name_40 WHERE venue = "princes park"
CREATE TABLE INST, Here is a database schema( table schema);
What is the home team score when the venue is Princes Park?It is not neccessary to use all the tables.
SELECT Circuit FROM table WHERE Race Title = japanese grand prix
CREATE TABLE INST, Here is a database schema( table schema);
Which circuit has a Race Title of japanese grand prix?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Score = 1-12
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the Mariners game that had a score of 1-12?.It is not neccessary to use all the tables.
SELECT Location Attendance FROM table WHERE Record = 27-22
CREATE TABLE INST, Here is a database schema( table schema);
What is the location attendance of the game with a 27-22 record?.It is not neccessary to use all the tables.
SELECT MIN(no_in_series) FROM table_23117208_3 WHERE viewers__millions_ = "5.28"
CREATE TABLE INST, Here is a database schema( table schema);
when the number of spectator are 5.28 millions which is the smallest number of the episode in series?It is not neccessary to use all the tables.
SELECT COUNT July 1, 2013 projection FROM table WHERE Rank = 27
CREATE TABLE INST, Here is a database schema( table schema);
How many July 1, 2013 projections have a Rank of 27?.It is not neccessary to use all the tables.
SELECT Southbridge FROM table WHERE Model = amd-640 chipset
CREATE TABLE INST, Here is a database schema( table schema);
What shows for Southbridge when the Model number is amd-640 chipset?.It is not neccessary to use all the tables.
SELECT result FROM table_29644931_1 WHERE category = "Opening Night Film"
CREATE TABLE INST, Here is a database schema( table schema);
What was the result when competing in the Opening NIght Film category?It is not neccessary to use all the tables.
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnoses_icd.charttime)) FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'chronic obst asthma nos') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM adm...
CREATE TABLE INST, Here is a database schema( table schema);
how many hours have elapsed since patient 12927 had chronic obst asthma nos diagnosed for the last time in this hospital encounter?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Opponent = gisela dulko
CREATE TABLE INST, Here is a database schema( table schema);
What is the Date, when the Opponent is Gisela Dulko?.It is not neccessary to use all the tables.
SELECT Bore FROM table WHERE Name = 9 adr
CREATE TABLE INST, Here is a database schema( table schema);
Which Bore has a Name of 9 adr?.It is not neccessary to use all the tables.
SELECT Freq currently FROM table WHERE Frequency = 104.7
CREATE TABLE INST, Here is a database schema( table schema);
What is the current freq for Frequency of 104.7?.It is not neccessary to use all the tables.
SELECT November 3 FROM table WHERE June 10-11 = June 10, 1964
CREATE TABLE INST, Here is a database schema( table schema);
what is november 3 when june 10-11 is june 10, 1964?.It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Player = oliver dobbins
CREATE TABLE INST, Here is a database schema( table schema);
What team does Oliver Dobbins play for?.It is not neccessary to use all the tables.
SELECT MAX Season # FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What was the highest season number?.It is not neccessary to use all the tables.
SELECT player FROM table_name_68 WHERE place = "t8" AND score = 75 - 71 = 146
CREATE TABLE INST, Here is a database schema( table schema);
Who is the player in t8 place with a 75-71=146 score?It is not neccessary to use all the tables.
SELECT MIN Subject FROM table WHERE Plural = tãder (their)
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest Subject, when Plural is tãder (their)?.It is not neccessary to use all the tables.
SELECT "score" FROM table_204_194 WHERE "opponent" = 'dominika cibulkova'
CREATE TABLE INST, Here is a database schema( table schema);
number of games in the match against dominika cibulkova ?It is not neccessary to use all the tables.
SELECT country FROM table_name_80 WHERE lane > 6 AND mark = "6.63"
CREATE TABLE INST, Here is a database schema( table schema);
Which country has a lane greater than 6 and a mark of 6.63?It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Run 3 = 1:24.00
CREATE TABLE INST, Here is a database schema( table schema);
What is Team, when Run 3 is 1:24.00?.It is not neccessary to use all the tables.
SELECT Title FROM table WHERE Total viewers on FX = 483,000
CREATE TABLE INST, Here is a database schema( table schema);
Name the title for total viewers on fx+ being 483,000.It is not neccessary to use all the tables.
SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'BOSTON' AND ground_service.city_code = city.city_code
CREATE TABLE INST, Here is a database schema( table schema);
show me BOSTON ground transportationIt is not neccessary to use all the tables.
SELECT first_year FROM table_12148147_2 WHERE third_year = "Geometry"
CREATE TABLE INST, Here is a database schema( table schema);
What is the first year course in the program where geometry is taken in the third year?It is not neccessary to use all the tables.
SELECT Pts Rank FROM table WHERE Club = chicago fire
CREATE TABLE INST, Here is a database schema( table schema);
What is the points ranking of Chicago Fire?.It is not neccessary to use all the tables.
SELECT MIN(rank) FROM table_name_34 WHERE loss > 3 AND sets_lost < 25
CREATE TABLE INST, Here is a database schema( table schema);
What is the least rank with more than 3 losses and less than 25 sets lost?It is not neccessary to use all the tables.
SELECT Lead FROM table WHERE Date(s) conducted = 5 may 2011
CREATE TABLE INST, Here is a database schema( table schema);
On 5 May 2011, what was the lead percentage?.It is not neccessary to use all the tables.
SELECT AVG Attendance FROM table WHERE Opponent = braves AND Record = 56-53
CREATE TABLE INST, Here is a database schema( table schema);
What was the attendance when the Braves were the opponent and the record was 56-53?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Competition = euro 2004 q.
CREATE TABLE INST, Here is a database schema( table schema);
What venue has euro 2004 q. as the competition?.It is not neccessary to use all the tables.
SELECT SUM Year FROM table WHERE Title = metroid prime hunters 5
CREATE TABLE INST, Here is a database schema( table schema);
What year was Metroid Prime Hunters 5 released?.It is not neccessary to use all the tables.
SELECT "Kentucky Oaks" FROM table_2988 WHERE "Belmont Stakes" = '64,949'
CREATE TABLE INST, Here is a database schema( table schema);
What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?It is not neccessary to use all the tables.
SELECT Callback audition date FROM table WHERE Episode air date = February 9, 2011
CREATE TABLE INST, Here is a database schema( table schema);
When were the callback auditions for the audition city in the episode aired on February 9, 2011?.It is not neccessary to use all the tables.
SELECT Match Report FROM table WHERE Venue = stark's park AND Competition = second division AND Date = 23 august 2008
CREATE TABLE INST, Here is a database schema( table schema);
What is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition?.It is not neccessary to use all the tables.
SELECT high_points FROM table_23274514_4 WHERE team = "Phoenix"
CREATE TABLE INST, Here is a database schema( table schema);
Who tied in the highest point scorer when playing against Phoenix?It is not neccessary to use all the tables.
SELECT "Term in office" FROM table_75843 WHERE "Order" = '9'
CREATE TABLE INST, Here is a database schema( table schema);
What is the Term in office with an Order that is 9?It is not neccessary to use all the tables.
SELECT "2011" FROM table_14618 WHERE "2009" = 'a' AND "2013" = '4r'
CREATE TABLE INST, Here is a database schema( table schema);
What is the value for 2011 when `a` is the value for 2009, and 4r is the value for 2013?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Date = december 18, 1988
CREATE TABLE INST, Here is a database schema( table schema);
What is Opponent, when Date is December 18, 1988?.It is not neccessary to use all the tables.
SELECT AVG(long) FROM table_name_28 WHERE gain < 0
CREATE TABLE INST, Here is a database schema( table schema);
What is the long figure when gain is less than 0?It is not neccessary to use all the tables.
SELECT T1.Shop_Details FROM SHOPS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Shop_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk"
CREATE TABLE INST, Here is a database schema( table schema);
What are the details of the shops that can be accessed by walk?It is not neccessary to use all the tables.
SELECT Written by FROM table WHERE Title = "Man Talk"
CREATE TABLE INST, Here is a database schema( table schema);
Who wrote the episode titled "man talk"?.It is not neccessary to use all the tables.
SELECT MAX(round) FROM table_name_28 WHERE opponent = "junior pitbull"
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest Round when the Opponent is Junior Pitbull?It is not neccessary to use all the tables.
SELECT Tries against FROM table WHERE Lost = 12 AND Club = pontycymmer rfc
CREATE TABLE INST, Here is a database schema( table schema);
What is the Tries against when lost shows 12 for pontycymmer rfc?.It is not neccessary to use all the tables.
SELECT # of seats to be won FROM table WHERE % of popular vote = 6.88%
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of seats to be won being % of popular vote at 6.88%.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Series = 2–3
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for series 2–3?.It is not neccessary to use all the tables.
SELECT _number_of_divisions FROM table_2849652_1 WHERE sport = "Bowling"
CREATE TABLE INST, Here is a database schema( table schema);
How many divisions in bowling ?It is not neccessary to use all the tables.
SELECT MIN(demographic.age) FROM demographic WHERE demographic.insurance = "Government" AND demographic.days_stay = "2"
CREATE TABLE INST, Here is a database schema( table schema);
what is minimum age of patients whose insurance is government and days of hospital stay is 2?It is not neccessary to use all the tables.
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course_offering.friday = 'N' AND course.course_id = course_offering.course_id AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'FA' ...
CREATE TABLE INST, Here is a database schema( table schema);
Are there upper elective classes next semester that do not meet on Friday ?It is not neccessary to use all the tables.
SELECT name FROM table_name_69 WHERE round > 4 AND position = "ot"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the ot position player with a round greater than 4?It is not neccessary to use all the tables.
SELECT SUM Took office FROM table WHERE Deputy Prime Minister = mariano rajoy brey
CREATE TABLE INST, Here is a database schema( table schema);
What year did deputy prime minister Mariano Rajoy Brey take office?.It is not neccessary to use all the tables.
SELECT T1.Date_of_ceremony FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume = T2.Volume_ID WHERE T2.Weeks_on_Top > 2
CREATE TABLE INST, Here is a database schema( table schema);
Please show the date of ceremony of the volumes that last more than 2 weeks on top.It is not neccessary to use all the tables.
SELECT driver FROM table_name_10 WHERE grid = 24
CREATE TABLE INST, Here is a database schema( table schema);
Which driver's grid was 24?It is not neccessary to use all the tables.
SELECT Original Manchester Performer FROM table WHERE Original West End Performer = Lisa Davina Phillip
CREATE TABLE INST, Here is a database schema( table schema);
Who was the Manchester performer of Lisa Davina Phillip's character?.It is not neccessary to use all the tables.
SELECT * FROM Assessment_Notes ORDER BY date_of_notes
CREATE TABLE INST, Here is a database schema( table schema);
List all information about the assessment notes sorted by date in ascending order.It is not neccessary to use all the tables.
SELECT MAX(week) FROM table_24278858_2 WHERE opponent = "Amsterdam Admirals"
CREATE TABLE INST, Here is a database schema( table schema);
What week did they play the amsterdam admirals?It is not neccessary to use all the tables.
SELECT score FROM table_name_2 WHERE date = "november 21"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score on november 21?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Date = april 6
CREATE TABLE INST, Here is a database schema( table schema);
What is the Score on April 6?.It is not neccessary to use all the tables.
SELECT Circuit FROM table WHERE Feature Winner = ireland AND Country = great britain
CREATE TABLE INST, Here is a database schema( table schema);
Which circuit was in Great Britain with Ireland as the winner?.It is not neccessary to use all the tables.
SELECT T1.theme, T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.ticket_price > (SELECT AVG(ticket_price) FROM exhibition)
CREATE TABLE INST, Here is a database schema( table schema);
What is the theme and artist name for the exhibition with a ticket price higher than the average?It is not neccessary to use all the tables.
SELECT MIN(series__number) FROM table_24639086_3 WHERE season__number = "2.08"
CREATE TABLE INST, Here is a database schema( table schema);
What is the series minimum if the season number is 2.08?It is not neccessary to use all the tables.
SELECT outgoing_manager FROM table_27374004_4 WHERE manner_of_departure = "Sacked" AND position_in_table = "15th"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the outgoing manager of the team in 15th position that was sacked?It is not neccessary to use all the tables.
SELECT Winner FROM table WHERE Trofeo Fast Team = asics-c.g.a. AND Mountains classification = mariano piccoli
CREATE TABLE INST, Here is a database schema( table schema);
Who was the winner from team Asics-c.g.a. and has a mountains classification of Mariano Piccoli?.It is not neccessary to use all the tables.
SELECT Modern German (standard wording) FROM table WHERE Writing system 2 (German-based) = wie mir die vergewwe wu uns schuldich sinn.
CREATE TABLE INST, Here is a database schema( table schema);
What is the modern german standard wording for the german based writing system 2 phrase "wie mir die vergewwe wu uns schuldich sinn."?.It is not neccessary to use all the tables.
SELECT Country, COUNT(Country) FROM mountain WHERE Height > 5000 GROUP BY Country ORDER BY COUNT(Country)
CREATE TABLE INST, Here is a database schema( table schema);
A bar chart for what are the number of the countries of mountains with height bigger than 5000?, order by the Y-axis in asc.It is not neccessary to use all the tables.