sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT 2008 Final Performance Film FROM table WHERE 2011 Off-Broadway Revival = Annaleigh Ashford
CREATE TABLE INST, Here is a database schema( table schema);
Who had the 2008 final performance film when the 2011 off-broadway revival was annaleigh ashford?.It is not neccessary to use all the tables.
SELECT Episode title FROM table WHERE Original airdate = october 8, 1988
CREATE TABLE INST, Here is a database schema( table schema);
Name the episode that aired october 8, 1988.It is not neccessary to use all the tables.
SELECT AVG To par FROM table WHERE Score = 78-74-71-75=298
CREATE TABLE INST, Here is a database schema( table schema);
Which To par has a Score of 78-74-71-75=298?.It is not neccessary to use all the tables.
SELECT outcome FROM table_name_98 WHERE opponent = "michaëlla krajicek eleni daniilidou"
CREATE TABLE INST, Here is a database schema( table schema);
Name the outcome for opponent of michaëlla krajicek eleni daniilidouIt is not neccessary to use all the tables.
SELECT AVG(T2.Earnings) FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 200
CREATE TABLE INST, Here is a database schema( table schema);
What is the average earnings of poker players with height higher than 200?It is not neccessary to use all the tables.
SELECT club FROM table_name_41 WHERE bowling_style = "right arm medium pace" AND name = "r. h. c. human"
CREATE TABLE INST, Here is a database schema( table schema);
What club is R. H. C. Human who has a right arm medium pace bowling style a member of?It is not neccessary to use all the tables.
SELECT Class D Winner FROM table WHERE Round = 6
CREATE TABLE INST, Here is a database schema( table schema);
Who was the Class D winner in round 6?.It is not neccessary to use all the tables.
SELECT AVG(sinclair_coefficient) FROM table_name_61 WHERE sinclair_total = 477.2772023 AND weight_class__kg_ > 105
CREATE TABLE INST, Here is a database schema( table schema);
What is the average sinclair coefficient with a Sinclair Total of 477.2772023 and a Weight Class (kg) larger than 105?It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Home team score = 17.13 (115)
CREATE TABLE INST, Here is a database schema( table schema);
Which away team has a Home team score of 17.13 (115)?.It is not neccessary to use all the tables.
SELECT MAX(team_defense_rank) FROM table_1402270_1 WHERE nfl_team = "Green Bay Packers"
CREATE TABLE INST, Here is a database schema( table schema);
what the highest number for the opposite of offense for the green bay packersIt is not neccessary to use all the tables.
SELECT SUM Silver FROM table WHERE Nation = japan AND Total < 1
CREATE TABLE INST, Here is a database schema( table schema);
what is the silver when the nation is japan and the total is less than 1?.It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Player = bunky henry
CREATE TABLE INST, Here is a database schema( table schema);
What is the to par of player bunky henry?.It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Home team = horsham
CREATE TABLE INST, Here is a database schema( table schema);
What away team did Horsham play?.It is not neccessary to use all the tables.
SELECT power__kw_ FROM table_name_26 WHERE frequency = "101.5mhz"
CREATE TABLE INST, Here is a database schema( table schema);
What's the power when the frequency is 101.5mhz?It is not neccessary to use all the tables.
SELECT "Season" FROM table_40545 WHERE "Runner-Up" = 'flora' AND "3rd Position" = 'tvmk' AND "Top Goalscorer(s)" = 'narva trans'
CREATE TABLE INST, Here is a database schema( table schema);
Which season has flora as the runner-up, tvmk as the 3rd position, and narva trans as the top goalscorer (s)?It is not neccessary to use all the tables.
SELECT to_par FROM table_name_86 WHERE place = "t9" AND score = 72 - 67 = 139
CREATE TABLE INST, Here is a database schema( table schema);
What is the to par of the player with a t9 place and a score of 72-67=139?It is not neccessary to use all the tables.
SELECT Attendance FROM table WHERE Location = busch stadium (ii) AND Time = 3:54
CREATE TABLE INST, Here is a database schema( table schema);
How many attended the game at Busch Stadium (ii) when the time was 3:54?.It is not neccessary to use all the tables.
SELECT COUNT(number_of_australians_involved) FROM table_10121127_1 WHERE un_operation_title = "UN Commission on Korea"
CREATE TABLE INST, Here is a database schema( table schema);
How many Australians were in the UN commission on Korea?It is not neccessary to use all the tables.
SELECT region_served FROM table_name_43 WHERE haat__analog__digital__1 = "1176 m 1190 m"
CREATE TABLE INST, Here is a database schema( table schema);
Which Region served has of 1176 m 1190 m HAAT (Analog/ Digital) 1?It is not neccessary to use all the tables.
SELECT COUNT Womens Singles FROM table WHERE Womens Doubles = Li Xiaodan Wen Jia
CREATE TABLE INST, Here is a database schema( table schema);
How many womens singles entries are there when womens doubles is li xiaodan wen jia?.It is not neccessary to use all the tables.
SELECT type FROM table_name_34 WHERE ends = 2013 AND transfer_window = "summer" AND moving_from = "kalmar ff"
CREATE TABLE INST, Here is a database schema( table schema);
What is the type of the player who ended in 2013 had a summer transfer window and moved from kalmar ff?It is not neccessary to use all the tables.
SELECT enrollment FROM table_16381914_1 WHERE founded = 1846
CREATE TABLE INST, Here is a database schema( table schema);
What was the enrollment of the school founded in 1846?It is not neccessary to use all the tables.
SELECT COUNT(district) FROM table_1342338_5 WHERE incumbent = "David Delano Glover"
CREATE TABLE INST, Here is a database schema( table schema);
In how many districts was the incumbent David Delano Glover?It is not neccessary to use all the tables.
SELECT Res. FROM table WHERE Record = 47–5 (1)
CREATE TABLE INST, Here is a database schema( table schema);
Record of 47–5 (1) involved what res?.It is not neccessary to use all the tables.
SELECT Circuit FROM table WHERE Winning driver = marcel lehoux
CREATE TABLE INST, Here is a database schema( table schema);
Name the circuit for marcel lehoux.It is not neccessary to use all the tables.
SELECT CFL Team FROM table WHERE College = montreal AND Player = marc trepanier
CREATE TABLE INST, Here is a database schema( table schema);
Which CFL Team has a College of montreal, and a Player of marc trepanier?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Outcome = runner-up AND Score = 5–7, 3–6, 6–3, 2–6
CREATE TABLE INST, Here is a database schema( table schema);
What is the Date of the game with an Outcome of runner-up and Score of 5–7, 3–6, 6–3, 2–6?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND diagnoses.long_title = "Subarachnoid hemorrhage"
CREATE TABLE INST, Here is a database schema( table schema);
provide the number of patients whose admission type is elective and diagnoses long title is subarachnoid hemorrhage?It is not neccessary to use all the tables.
SELECT MAX Year FROM table WHERE Venue = doha, qatar
CREATE TABLE INST, Here is a database schema( table schema);
What's the latest year that Doha, Qatar hosted a tournament?.It is not neccessary to use all the tables.
SELECT Season FROM table WHERE Win% = .439 AND Team = 1996-97
CREATE TABLE INST, Here is a database schema( table schema);
What season had a .439 Win% in the 1996-97 Team?.It is not neccessary to use all the tables.
SELECT AVG Goals for FROM table WHERE Goals against > 59 AND Club = real avilés cf AND Goal Difference > -10
CREATE TABLE INST, Here is a database schema( table schema);
What is teh average amount of goals for club real avilés cf, which has more than 59 goals against and a -10 goal difference?.It is not neccessary to use all the tables.
SELECT COUNT Game FROM table WHERE Team = @ new york
CREATE TABLE INST, Here is a database schema( table schema);
What is the total of the game that the team was @ new york?.It is not neccessary to use all the tables.
SELECT COUNT Decile FROM table WHERE Authority = state AND Name = chertsey school
CREATE TABLE INST, Here is a database schema( table schema);
How many deciles have an Authority of state and a Name of chertsey school?.It is not neccessary to use all the tables.
SELECT outcome FROM table_22839669_1 WHERE score_in_the_final = "4–6, 3–6, 2–6"
CREATE TABLE INST, Here is a database schema( table schema);
What was the outcome of the match with score 4–6 3–6 2–6?It is not neccessary to use all the tables.
SELECT MIN Block FROM table 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 MAX FIPS code FROM table WHERE Coordinates = 41.827547, -74.118478 AND Land ( sq mi ) < 1.196
CREATE TABLE INST, Here is a database schema( table schema);
Name the highest FIPS code for coordinates of 41.827547, -74.118478 and land less than 1.196.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Record = 14-9
CREATE TABLE INST, Here is a database schema( table schema);
What is the score of the team with the 14-9 record?.It is not neccessary to use all the tables.
SELECT 2nd players choice FROM table WHERE 1st players choice = RB B
CREATE TABLE INST, Here is a database schema( table schema);
If the first player chooses RB B, what is the second player's choices?.It is not neccessary to use all the tables.
SELECT AVG(game) FROM table_name_3 WHERE february > 13 AND opponent = "toronto maple leafs" AND points > 47
CREATE TABLE INST, Here is a database schema( table schema);
What is the average game number that took place after February 13 against the Toronto Maple Leafs and more than 47 points were scored?It is not neccessary to use all the tables.
SELECT rider_2 FROM table_name_2 WHERE city = "rancagua" AND horse_1 = "papayero"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the second rider when papayero raced as Horse 1 in the city of rancagua?It is not neccessary to use all the tables.
SELECT MAX Seats FROM table WHERE Votes = 244,867
CREATE TABLE INST, Here is a database schema( table schema);
Which highest number of Seats has votes of 244,867?.It is not neccessary to use all the tables.
SELECT points FROM table_name_99 WHERE laps = "88" AND grid = "14"
CREATE TABLE INST, Here is a database schema( table schema);
How many points have 88 laps and a grid of 14?It is not neccessary to use all the tables.
SELECT Drawn FROM table WHERE Points against = 371
CREATE TABLE INST, Here is a database schema( table schema);
If points against was 371, what is the drawn?.It is not neccessary to use all the tables.
SELECT SUM Year FROM table WHERE Rank = 14.0 14
CREATE TABLE INST, Here is a database schema( table schema);
In what Year was the Rank 14.0 14?.It is not neccessary to use all the tables.
SELECT "Method" FROM table_36508 WHERE "Time" = '4:15'
CREATE TABLE INST, Here is a database schema( table schema);
What was the method of the bout lasting 4:15?It is not neccessary to use all the tables.
SELECT COUNT(school) FROM table_16225511_2 WHERE percent = "0.667"
CREATE TABLE INST, Here is a database schema( table schema);
How many schools had the win loss ratio of 0.667?It is not neccessary to use all the tables.
SELECT Colour FROM table WHERE Built = minirail 1954
CREATE TABLE INST, Here is a database schema( table schema);
What is the color of the locomotive built by Minirail 1954?.It is not neccessary to use all the tables.
SELECT Nature of incident FROM table WHERE Location = imam sahib area, kunduz province
CREATE TABLE INST, Here is a database schema( table schema);
What was the incident in imam sahib area, kunduz province?.It is not neccessary to use all the tables.
SELECT Location Attendance FROM table WHERE Date = may 22
CREATE TABLE INST, Here is a database schema( table schema);
What was the location and attendance on the May 22 game?.It is not neccessary to use all the tables.
SELECT COUNT(current_status) FROM table_1353096_2 WHERE station = "WJW-TV ++"
CREATE TABLE INST, Here is a database schema( table schema);
How many entries are listed under "current status" for the WJW-TV ++ Station?It is not neccessary to use all the tables.
SELECT COUNT(broadcast_date) FROM table_1429629_1 WHERE run_time = "24:43"
CREATE TABLE INST, Here is a database schema( table schema);
How many episodes had a broadcast date and run time of 24:43?It is not neccessary to use all the tables.
SELECT Away team score FROM table WHERE Venue = princes park
CREATE TABLE INST, Here is a database schema( table schema);
What is the away team score of the game that was played at princes park?.It is not neccessary to use all the tables.
SELECT seasons FROM table_24937583_1 WHERE wins = 7
CREATE TABLE INST, Here is a database schema( table schema);
When did they win 7 races?It is not neccessary to use all the tables.
SELECT position FROM table_name_22 WHERE round < 6 AND player = "bill campbell"
CREATE TABLE INST, Here is a database schema( table schema);
What is the position Bill Campbell played before round 6?It is not neccessary to use all the tables.
SELECT Game FROM table WHERE Rams points = 0
CREATE TABLE INST, Here is a database schema( table schema);
In what Game did Rams Points equal 0?.It is not neccessary to use all the tables.
SELECT High assists FROM table WHERE Series = 0-1
CREATE TABLE INST, Here is a database schema( table schema);
When 0-1 is the series who has the highest amount of assists?.It is not neccessary to use all the tables.
SELECT common_name FROM table_175442_1 WHERE scientific_name = "Furcifer pardalis"
CREATE TABLE INST, Here is a database schema( table schema);
Name the common name for furcifer pardalisIt is not neccessary to use all the tables.
SELECT Date FROM table WHERE Competition = friendly
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the Competition of Friendly held?.It is not neccessary to use all the tables.
SELECT major FROM student GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE INST, Here is a database schema( table schema);
Find the major that is studied by the largest number of students.It is not neccessary to use all the tables.
SELECT Results FROM table WHERE First elected = 1996 AND District = oregon 5
CREATE TABLE INST, Here is a database schema( table schema);
What was the result of the Oregon 5 District incumbent who was first elected in 1996?.It is not neccessary to use all the tables.
SELECT MAX(series__number) FROM table_19517621_3 WHERE written_by = "Kristen Dunphy and David Ogilvy"
CREATE TABLE INST, Here is a database schema( table schema);
What is the series number for the episode written by Kristen Dunphy and David Ogilvy?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Record = 14-27
CREATE TABLE INST, Here is a database schema( table schema);
What day was the record 14-27?.It is not neccessary to use all the tables.
SELECT COUNT(material) FROM table_30057479_1 WHERE output_power = "~0.1 pW per cycle (calculated)"
CREATE TABLE INST, Here is a database schema( table schema);
How many materials are there for output power of ~0.1 pw per cycle (calculated)?It is not neccessary to use all the tables.
SELECT Status FROM table WHERE Athlete = rené hoppe
CREATE TABLE INST, Here is a database schema( table schema);
What is the status of rené hoppe?.It is not neccessary to use all the tables.
SELECT MAX(series_no) FROM table_22580855_1 WHERE us_viewers__millions_ = "3.14"
CREATE TABLE INST, Here is a database schema( table schema);
which is the maximun serie episode number when the millions of North American spectators is 3.14?It is not neccessary to use all the tables.
SELECT score FROM table_name_84 WHERE date = "june 22"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score from the game played on June 22?It is not neccessary to use all the tables.
SELECT _number___county FROM table_name_90 WHERE year_joined < 1981 AND location = "chalmers"
CREATE TABLE INST, Here is a database schema( table schema);
which # / county is correct for year less than 1981 and chalmers as location?It is not neccessary to use all the tables.
SELECT Team(s) FROM table WHERE Winnings = $81,690
CREATE TABLE INST, Here is a database schema( table schema);
what is the team where winnings is $81,690?.It is not neccessary to use all the tables.
SELECT COUNT McCain% FROM table WHERE County = DAVIDSON
CREATE TABLE INST, Here is a database schema( table schema);
How many figures are given for McCain's % in Davidson county?.It is not neccessary to use all the tables.
SELECT winner FROM table_name_19 WHERE year = 2003
CREATE TABLE INST, Here is a database schema( table schema);
Who won in 2003?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Result = loss AND Date = 20 jan
CREATE TABLE INST, Here is a database schema( table schema);
At what location was there a loss on 20 jan?.It is not neccessary to use all the tables.
SELECT award FROM table_name_38 WHERE result = "nominated" AND year > 2011
CREATE TABLE INST, Here is a database schema( table schema);
Name the award for nominated result and year after 2011It is not neccessary to use all the tables.
SELECT MIN Digs FROM table WHERE Errors > 126 AND Total Attempts = 1253 AND Block Assists > 64
CREATE TABLE INST, Here is a database schema( table schema);
When there are more than 126 errors, more than 1253 total attempts, and more than 64 block assists, what is the smallest digs?.It is not neccessary to use all the tables.
SELECT COUNT(college_junior_club_team) FROM table_1473672_4 WHERE nhl_team = "Philadelphia Flyers"
CREATE TABLE INST, Here is a database schema( table schema);
Name the number of teams for college/junior club for philadelphia flyersIt is not neccessary to use all the tables.
SELECT division_east FROM table_17881033_1 WHERE division_north = "Milano"
CREATE TABLE INST, Here is a database schema( table schema);
what is the division east when division north was milanoIt is not neccessary to use all the tables.
SELECT Position FROM table WHERE Player = dan o'sullivan
CREATE TABLE INST, Here is a database schema( table schema);
What is position does Dan O'Sullivan play?.It is not neccessary to use all the tables.
SELECT Team FROM table WHERE Points < 167 AND Class = 250cc
CREATE TABLE INST, Here is a database schema( table schema);
Which team had fewer than 167 points in the 250cc class?.It is not neccessary to use all the tables.
SELECT royal_house FROM table_name_88 WHERE name = "huai"
CREATE TABLE INST, Here is a database schema( table schema);
Which royal house has the name huai?It is not neccessary to use all the tables.
SELECT Scored 1,500 Points FROM table WHERE Years Played = 2004–2008 AND Name = jolene anderson
CREATE TABLE INST, Here is a database schema( table schema);
WHich Scored 1,500 Points has a Years Played of 2004–2008 and a Name of jolene anderson?.It is not neccessary to use all the tables.
SELECT 2 AS nd_leg FROM table_name_61 WHERE team_2 = "defence force"
CREATE TABLE INST, Here is a database schema( table schema);
Name the 2nd leg for defence forceIt is not neccessary to use all the tables.
SELECT position FROM table_1473672_5 WHERE nhl_team = "Montreal Canadiens"
CREATE TABLE INST, Here is a database schema( table schema);
What was the position of the player picked by the Montreal Canadiens?It is not neccessary to use all the tables.
SELECT SUM Population (1 July 2005 est.) FROM table WHERE Area (km²) < 5,131 AND Population density (per km²) < 180 AND Subdivisions = parishes AND Capital = roseau
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of Population (1 July 2005 est.), when Area (km²) is less than 5,131, when Population density (per km²) is less than 180, when Subdivisions is Parishes, and when Capital is Roseau?.It is not neccessary to use all the tables.
SELECT accolade FROM table_name_44 WHERE publication = "under the radar"
CREATE TABLE INST, Here is a database schema( table schema);
Which Accolade had a publication of Under the Radar?It is not neccessary to use all the tables.
SELECT Time FROM table WHERE Round < 2 AND Opponent = valentijn overeem
CREATE TABLE INST, Here is a database schema( table schema);
What is Time, when Round is less than 2, and when Opponent is "Valentijn Overeem"?.It is not neccessary to use all the tables.
SELECT Nationality, AVG(Age) FROM journalist GROUP BY Nationality ORDER BY AVG(Age) DESC
CREATE TABLE INST, Here is a database schema( table schema);
Draw a bar chart of nationality versus the average of age, I want to order total number from high to low order.It is not neccessary to use all the tables.
SELECT Sport FROM table WHERE Medal = gold AND Games = 2000 sydney
CREATE TABLE INST, Here is a database schema( table schema);
Which sport resulted in a gold medal in the 2000 Sydney games?.It is not neccessary to use all the tables.
SELECT cmdexe___commandcom FROM table_14465871_1 WHERE unix_shell = "echo"
CREATE TABLE INST, Here is a database schema( table schema);
What are all values of CMD.EXE / COMMAND.COM for the unix shell echo?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE Nationality = united states AND Time = 2:25.62
CREATE TABLE INST, Here is a database schema( table schema);
In what Location in the United States the Time 2:25.62?.It is not neccessary to use all the tables.
SELECT "Nationality" FROM table_16614 WHERE "Player" = 'David Bairstow'
CREATE TABLE INST, Here is a database schema( table schema);
What is the nationality of David Bairstow?It is not neccessary to use all the tables.
SELECT birthplace FROM table_name_76 WHERE name = "bob mcvey"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Birthplace when the Name is Bob Mcvey?It is not neccessary to use all the tables.
SELECT points_jury FROM table_name_39 WHERE dance = "pop"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Points Jury for Dance pop?It is not neccessary to use all the tables.
SELECT DISTINCT program_course.category FROM course, program_course WHERE course.department = 'CHE' AND course.number = 528 AND program_course.course_id = course.course_id
CREATE TABLE INST, Here is a database schema( table schema);
Does CHE 528 only fulfill the general elective ?It is not neccessary to use all the tables.
SELECT SUM(win__percentage) FROM table_name_78 WHERE coach = "john gartin" AND crew = "varsity 8+" AND year = "2005"
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of win % when John Gartin is coach the crew is varsity 8+ and the year is 2005?It is not neccessary to use all the tables.
SELECT species_specific FROM table_name_53 WHERE link = "server/sourcecode"
CREATE TABLE INST, Here is a database schema( table schema);
Which Species Specific has a Link of server/sourcecode?It is not neccessary to use all the tables.
SELECT SUM Year FROM table WHERE Entrant = elf team tyrrell AND Points = 39 AND Chassis = tyrrell 007
CREATE TABLE INST, Here is a database schema( table schema);
What year did Elf Team Tyrrell have 39 points and a Tyrrell 007 Chassis?.It is not neccessary to use all the tables.
SELECT branding FROM table_name_15 WHERE call_sign = "cbxp-fm"
CREATE TABLE INST, Here is a database schema( table schema);
What is the branding for cbxp-fm?It is not neccessary to use all the tables.
SELECT COUNT(average_climb___percentage_) FROM table_16654785_2 WHERE length__m_ = 375
CREATE TABLE INST, Here is a database schema( table schema);
How many have a length of 375?It is not neccessary to use all the tables.
SELECT Club FROM table WHERE Goals = 0
CREATE TABLE INST, Here is a database schema( table schema);
What club had 0 goals?.It is not neccessary to use all the tables.
SELECT AVG(floors) FROM table_name_40 WHERE city = "mecca" AND rank < 12
CREATE TABLE INST, Here is a database schema( table schema);
What is the average number of floors for buildings in mecca ranked above 12?It is not neccessary to use all the tables.
SELECT AVG Score FROM table WHERE Player = nick faldo
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for Nick Faldo?.It is not neccessary to use all the tables.