sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT COUNT(rebounds) FROM table_name_89 WHERE name = "ann wauters"
CREATE TABLE INST, Here is a database schema( table schema);
How many rebounds does Ann Wauters have?It is not neccessary to use all the tables.
SELECT SUM(week) FROM table_name_78 WHERE opponent = "dallas cowboys"
CREATE TABLE INST, Here is a database schema( table schema);
What week did the dallas cowboys play?It is not neccessary to use all the tables.
SELECT MAX(margin) FROM table_22754491_1 WHERE winner = "K. Balathandayutham"
CREATE TABLE INST, Here is a database schema( table schema);
What is the margin when k. balathandayutham is the winner?It is not neccessary to use all the tables.
SELECT original_nfl_team FROM table_name_25 WHERE player = "rashied davis category:articles with hcards"
CREATE TABLE INST, Here is a database schema( table schema);
Who's the original team for Rashied Davis Category:articles with hcards?It is not neccessary to use all the tables.
SELECT MIN Points FROM table WHERE Lost = 2 AND Position < 1
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest amount of points had a lost number of 2 when the position was less than 1?.It is not neccessary to use all the tables.
SELECT bname FROM bank WHERE state = 'New York'
CREATE TABLE INST, Here is a database schema( table schema);
Find the branch names of banks in the New York state.It is not neccessary to use all the tables.
SELECT Area sq mi (km 2 ) (Rank) FROM table WHERE County Seat = Vincennes
CREATE TABLE INST, Here is a database schema( table schema);
When Vincennes is the county seat what is the area sq mi (km 2 ) (rank) ?.It is not neccessary to use all the tables.
SELECT annual_change__percentage_of_gdp__2012_ FROM table_1598533_8 WHERE gdp__percentage_of_eu__2012_ = "20.5%"
CREATE TABLE INST, Here is a database schema( table schema);
What is the annual change of GDP with a 20.5% GDP of EU in 2012?It is not neccessary to use all the tables.
SELECT name FROM table_name_39 WHERE transfer_fee = "dkk 6m"
CREATE TABLE INST, Here is a database schema( table schema);
Who had a transfer fee of dkk 6m?It is not neccessary to use all the tables.
SELECT Title FROM table WHERE Remark = #21 us [riaa certified gold january 3, 1990]
CREATE TABLE INST, Here is a database schema( table schema);
What title had a remark of #21 us [riaa certified gold january 3, 1990]?.It is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE Written by = Adrienne Carter AND Title = "Mom at the Bar/Train Buddy"
CREATE TABLE INST, Here is a database schema( table schema);
What is the original air date of the episode titled "Mom at the Bar/Train Buddy" that was written b Adrienne Carter? .It is not neccessary to use all the tables.
SELECT competition FROM table_name_51 WHERE venue = "stade fernand fournier, arles"
CREATE TABLE INST, Here is a database schema( table schema);
Which competition took place at Stade Fernand Fournier Arles?It is not neccessary to use all the tables.
SELECT battle_of_the_planets FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = "Solaris"
CREATE TABLE INST, Here is a database schema( table schema);
Which battle of the planets where ova (harmony gold dub) is solaris?It is not neccessary to use all the tables.
SELECT group_7 FROM table_19523142_5 WHERE group_11 = "Persikos Sorong City"
CREATE TABLE INST, Here is a database schema( table schema);
When persikos sorong city played in group 11 who played in group 7?It is not neccessary to use all the tables.
SELECT COUNT(*) FROM bank
CREATE TABLE INST, Here is a database schema( table schema);
How many bank branches are there?It is not neccessary to use all the tables.
SELECT Class FROM table WHERE Player = Ren Alde
CREATE TABLE INST, Here is a database schema( table schema);
What class was ren alde?.It is not neccessary to use all the tables.
SELECT STRUCT(high) FROM table_1942366_9 WHERE STRUCT(low) = "250.5"
CREATE TABLE INST, Here is a database schema( table schema);
What's the C_{high} when the C_{low} value is 250.5?It is not neccessary to use all the tables.
SELECT name FROM table_name_61 WHERE prize = "$2,434,061"
CREATE TABLE INST, Here is a database schema( table schema);
Which event had a prize of $2434061?It is not neccessary to use all the tables.
SELECT Location FROM table WHERE League/Division = second division AND Position in 2012-13 = 4th, third division (promoted)
CREATE TABLE INST, Here is a database schema( table schema);
What Location is in the second division and has 4th, third division (promoted) as its Position in 2012-13?.It is not neccessary to use all the tables.
SELECT High assists FROM table WHERE High rebounds = boozer (13)
CREATE TABLE INST, Here is a database schema( table schema);
For boozer (13) what is the high assists and high rebounds?.It is not neccessary to use all the tables.
SELECT Type FROM table WHERE List entry number > 1356436 AND Name = albion congregational church
CREATE TABLE INST, Here is a database schema( table schema);
Which type has a list entry number more than 1356436, named Albion Congregational Church?.It is not neccessary to use all the tables.
SELECT COUNT(*) FROM purchase AS T1 JOIN member AS T2 ON T1.member_id = T2.member_id WHERE T2.level = 6
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of purchases for members with level 6?It is not neccessary to use all the tables.
SELECT Percent Yes FROM table WHERE Voted Yes = 2410119
CREATE TABLE INST, Here is a database schema( table schema);
what's the percent yes where voted yes is 2410119.It is not neccessary to use all the tables.
SELECT AVG Total FROM table WHERE Bronze = 5 AND Silver < 4
CREATE TABLE INST, Here is a database schema( table schema);
What's the average total if the Bronze is 5 and the Silver is less than 4?.It is not neccessary to use all the tables.
SELECT COUNT(assists) FROM table_name_94 WHERE name = "pablo prigioni" AND games > 21
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Assists when Name is "Pablo Prigioni" and when Games is greater than 21?It is not neccessary to use all the tables.
SELECT lost FROM table_name_58 WHERE points = "36" AND points_against = "489"
CREATE TABLE INST, Here is a database schema( table schema);
when points were 36 and points against 489 what is the lost?It is not neccessary to use all the tables.
SELECT network FROM table_name_14 WHERE city_of_license = "pachuca, hidalgo"
CREATE TABLE INST, Here is a database schema( table schema);
What's the network in Pachuca Hidalgo?It is not neccessary to use all the tables.
SELECT COUNT(ends_won) FROM table_name_92 WHERE province = "saskatchewan" AND stolen_ends < 6
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Ends Won when Province is "Saskatchewan" and when Stolen Ends is less than 6?It is not neccessary to use all the tables.
SELECT deaths FROM table_name_64 WHERE storm_name = "darby"
CREATE TABLE INST, Here is a database schema( table schema);
How many deaths occurred during Darby?It is not neccessary to use all the tables.
SELECT Original Japanese FROM table WHERE English ( Manga UK ) = Sean Barrett
CREATE TABLE INST, Here is a database schema( table schema);
Who was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version?.It is not neccessary to use all the tables.
SELECT venue FROM table_name_73 WHERE result = "12th"
CREATE TABLE INST, Here is a database schema( table schema);
What was the venue where the result was 12th?It is not neccessary to use all the tables.
SELECT 3rd Place FROM table WHERE Year = 2007
CREATE TABLE INST, Here is a database schema( table schema);
What school took 3rd place in 2007?.It is not neccessary to use all the tables.
SELECT Ensemble name FROM table WHERE Area = oxfordshire
CREATE TABLE INST, Here is a database schema( table schema);
What is Oxfordshire Area's Ensemble Name?.It is not neccessary to use all the tables.
SELECT date FROM table_name_53 WHERE record = "2–1"
CREATE TABLE INST, Here is a database schema( table schema);
On what date was the record 2–1?It is not neccessary to use all the tables.
SELECT MAX Silver FROM table WHERE Bronze = 9 AND Total < 27
CREATE TABLE INST, Here is a database schema( table schema);
What's the highest number of silver for 9 bronze and less than 27 total?.It is not neccessary to use all the tables.
SELECT young_rider_classification FROM table_28538368_2 WHERE winner = "Alessandro Petacchi"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the young rider classification when Alessandro Petacchi won?It is not neccessary to use all the tables.
SELECT COUNT(round) FROM table_name_68 WHERE position = "tight end" AND overall > 21
CREATE TABLE INST, Here is a database schema( table schema);
What round was the draft pick of tight end with an Overall larger than 21?It is not neccessary to use all the tables.
SELECT COUNT Off Reb FROM table WHERE 3FGA > 124
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of offensive rebounds for players with more than 124 3-point attempts?.It is not neccessary to use all the tables.
SELECT Yield FROM table WHERE Purpose = weapons development AND Location = nts area u2r
CREATE TABLE INST, Here is a database schema( table schema);
What is the yield in NTS Area U2R when the purpose is weapons development?.It is not neccessary to use all the tables.
SELECT MAX(losses) FROM table_name_87 WHERE games < 25 AND season = "2010"
CREATE TABLE INST, Here is a database schema( table schema);
What is the greatest number of losses a team that played fewer than 25 games in 2010 had?It is not neccessary to use all the tables.
SELECT COUNT Candidates FROM table WHERE Party = Democratic AND District = New York5
CREATE TABLE INST, Here is a database schema( table schema);
how many candidates with party being democratic and dbeingtrict being new york5.It is not neccessary to use all the tables.
SELECT MAX Appearances¹ FROM table WHERE Name = Bernard Allou
CREATE TABLE INST, Here is a database schema( table schema);
Name the most appearances for bernard allou.It is not neccessary to use all the tables.
SELECT runner_s__up FROM table_name_86 WHERE margin_of_victory = "2 strokes" AND tournament = "mazda senior tournament players championship"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the runner-up for the mazda senior tournament players championship tournament when the margin of victory was 2 strokes?It is not neccessary to use all the tables.
SELECT COUNT(appearances) FROM table_name_95 WHERE goals = 5 AND rank < 7
CREATE TABLE INST, Here is a database schema( table schema);
How many appearances were made by people that had 5 goals and less than 7 rank?It is not neccessary to use all the tables.
SELECT First elected FROM table WHERE District = Pennsylvania 2
CREATE TABLE INST, Here is a database schema( table schema);
When was Chaka Fattah first elected in the Pennsylvania 2 district? .It is not neccessary to use all the tables.
SELECT MIN Start FROM table WHERE Year > 2008
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest start in a year after 2008?.It is not neccessary to use all the tables.
SELECT MIN(game) FROM table_23286112_8 WHERE date = "January 29"
CREATE TABLE INST, Here is a database schema( table schema);
Name the least game for january 29It is not neccessary to use all the tables.
SELECT First Star FROM table WHERE Record = 17-11-5
CREATE TABLE INST, Here is a database schema( table schema);
Who was the first star of the game with record of 17-11-5?.It is not neccessary to use all the tables.
SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of Ashmolean with 14s Harrison, and image less than 542?It is not neccessary to use all the tables.
SELECT MAX To par FROM table WHERE Total < 153
CREATE TABLE INST, Here is a database schema( table schema);
What is the highest to par that is less than 153.It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Away team = carlton
CREATE TABLE INST, Here is a database schema( table schema);
How many points did Carlton score?.It is not neccessary to use all the tables.
SELECT MIN Events FROM table WHERE Cuts made = 17 AND Top-25 < 8
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest events that have 17 as the cuts made, with a top-25 less than 8?.It is not neccessary to use all the tables.
SELECT Male Population 2001 FROM table WHERE Growth Rate 1991-01 = 36.16
CREATE TABLE INST, Here is a database schema( table schema);
What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16?.It is not neccessary to use all the tables.
SELECT cat__number FROM table_name_85 WHERE release_date = "november 2007"
CREATE TABLE INST, Here is a database schema( table schema);
What is the category number that was released in November 2007?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Ship Type = brig AND Location = sw approaches
CREATE TABLE INST, Here is a database schema( table schema);
What date was a brig type ship located in SW Approaches?.It is not neccessary to use all the tables.
SELECT AVG Points FROM table WHERE Club = london wasps AND Drop > 1
CREATE TABLE INST, Here is a database schema( table schema);
Which Points have a Club of london wasps, and a Drop larger than 1?.It is not neccessary to use all the tables.
SELECT Park FROM table WHERE Name = Boardwalk Bullet
CREATE TABLE INST, Here is a database schema( table schema);
What park is Boardwalk Bullet located in?.It is not neccessary to use all the tables.
SELECT "Country" FROM table_58807 WHERE "Score" > '69' AND "Player" = 'brian henninger'
CREATE TABLE INST, Here is a database schema( table schema);
Which country is Brian Henninger from, who had a score larger than 69?It is not neccessary to use all the tables.
SELECT Modern title of house FROM table WHERE House = 1st
CREATE TABLE INST, Here is a database schema( table schema);
What is the modern house title of the 1st house?.It is not neccessary to use all the tables.
SELECT Report FROM table WHERE Date = november 15, 2000
CREATE TABLE INST, Here is a database schema( table schema);
What is the Report on November 15, 2000?.It is not neccessary to use all the tables.
SELECT Year FROM table WHERE Qual = 120.006
CREATE TABLE INST, Here is a database schema( table schema);
The Qual of 120.006 took place in what year?.It is not neccessary to use all the tables.
SELECT COUNT Chroma Format FROM table WHERE Name = High profile
CREATE TABLE INST, Here is a database schema( table schema);
how many chroma format with name being high profile.It is not neccessary to use all the tables.
SELECT COUNT(points) FROM table_name_38 WHERE match > 18
CREATE TABLE INST, Here is a database schema( table schema);
What is the total number of Points from a Match that is larger than 18?It is not neccessary to use all the tables.
SELECT player FROM table_name_24 WHERE to_par = "+1" AND score = 73 - 71 - 71 = 217
CREATE TABLE INST, Here is a database schema( table schema);
What Player has a To par of +1 and a Score of 73-71-71=217?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Date = february 18, 2003
CREATE TABLE INST, Here is a database schema( table schema);
What was the result on February 18, 2003?.It is not neccessary to use all the tables.
SELECT Locale FROM table WHERE L = 2
CREATE TABLE INST, Here is a database schema( table schema);
Where is the Locale when L is 2..It is not neccessary to use all the tables.
SELECT position FROM table_16575609_1 WHERE cfl_team = "Winnipeg Blue Bombers"
CREATE TABLE INST, Here is a database schema( table schema);
What position did the winnipeg blue bombers draft?It is not neccessary to use all the tables.
SELECT region FROM table_name_13 WHERE label = "chrysalis" AND catalog = "chr 1047"
CREATE TABLE INST, Here is a database schema( table schema);
What region has the Chrysalis label and a Catalog of chr 1047?It is not neccessary to use all the tables.
SELECT total FROM table_name_40 WHERE player = "mark o'meara"
CREATE TABLE INST, Here is a database schema( table schema);
What was Mark O'Meara's total?It is not neccessary to use all the tables.
SELECT Directed by FROM table WHERE Series No. = 11
CREATE TABLE INST, Here is a database schema( table schema);
Who directed episode 11 in the series?.It is not neccessary to use all the tables.
SELECT End of Reign FROM table WHERE Birth Name = dimitar stojkovski
CREATE TABLE INST, Here is a database schema( table schema);
What is the end of reign for Dimitar Stojkovski?.It is not neccessary to use all the tables.
SELECT Chassis FROM table WHERE Driver = B. Bira
CREATE TABLE INST, Here is a database schema( table schema);
Name the chassis for b. bira.It is not neccessary to use all the tables.
SELECT SUM("Place") FROM table_40447 WHERE "Song" = 'never change'
CREATE TABLE INST, Here is a database schema( table schema);
What is the place of the song 'Never Change'?It is not neccessary to use all the tables.
SELECT date FROM table_name_12 WHERE venue = "arden street oval"
CREATE TABLE INST, Here is a database schema( table schema);
What date did the game at Arden Street Oval take place?It is not neccessary to use all the tables.
SELECT Name FROM musical WHERE Nominee = "Bob Fosse"
CREATE TABLE INST, Here is a database schema( table schema);
What are the names of musicals with nominee "Bob Fosse"?It is not neccessary to use all the tables.
SELECT MAX("Year") FROM table_25414
CREATE TABLE INST, Here is a database schema( table schema);
What is the latest year that data is available for?It is not neccessary to use all the tables.
SELECT "IATA" FROM table_40883 WHERE "ICAO" = 'hlls'
CREATE TABLE INST, Here is a database schema( table schema);
What is the IATA code for the airport with an ICAO code of HLLS?It is not neccessary to use all the tables.
SELECT 1st Position FROM table WHERE 10th Position = gozo
CREATE TABLE INST, Here is a database schema( table schema);
Where there is a tenth position of gozo, what is the first position?.It is not neccessary to use all the tables.
SELECT Qual 1 FROM table WHERE Qual 2 = 59.822
CREATE TABLE INST, Here is a database schema( table schema);
Which Qual 1 has a Qual 2 of 59.822?.It is not neccessary to use all the tables.
SELECT avg(T2.salary) FROM salary as T2 JOIN hall_of_fame as T1 ON T1.player_id = T2.player_id WHERE T1.inducted = "Y"
CREATE TABLE INST, Here is a database schema( hall of fame);
What is the average pay for players inducted into the hall of fame?. It is not neccessary to use all the tables.
SELECT record FROM table_name_59 WHERE game_site = "memorial stadium" AND date = "september 19, 1965"
CREATE TABLE INST, Here is a database schema( table schema);
What was the record at Memorial Stadium on September 19 1965?It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'entral infus nutrit sub') AND STRFTIME('%y', procedures_icd.charttime) <= '2103') AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'insert infusion pump') AND STRFTIME('%y', procedures_icd.charttime) <= '2103') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND t1.hadm_id = t2.hadm_id
CREATE TABLE INST, Here is a database schema( table schema);
how many patients received insert infusion pump after entral infus nutrit sub until 2103 in the same hospital visit?It is not neccessary to use all the tables.
SELECT Title FROM table WHERE U.S. viewers (millions) = 14.39
CREATE TABLE INST, Here is a database schema( table schema);
What was the title when there were 14.39 million viewers?.It is not neccessary to use all the tables.
SELECT Written by FROM table WHERE Production code = 102
CREATE TABLE INST, Here is a database schema( table schema);
He wrote production number 102? .It is not neccessary to use all the tables.
SELECT MAX(draws) FROM table_16034882_3 WHERE club = "Sveikata Kybartai"
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest number of draws for sveikata kybartaiIt is not neccessary to use all the tables.
SELECT COUNT(laps) FROM table_name_90 WHERE rank = "8"
CREATE TABLE INST, Here is a database schema( table schema);
Name the total number of laps with rank of 8It is not neccessary to use all the tables.
SELECT driver FROM table_name_26 WHERE car_model = "commodore vs"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the Driver that has Car Model Commodore VS?It is not neccessary to use all the tables.
SELECT P max ( bar ) FROM table WHERE P1 diameter (mm) = 9.70
CREATE TABLE INST, Here is a database schema( table schema);
What is the p max (bar) of the pistol with a P1 diameter of 9.70 mm?.It is not neccessary to use all the tables.
SELECT High rebounds FROM table WHERE Date = December 22
CREATE TABLE INST, Here is a database schema( table schema);
Who was responsible and what was the number for the high rebounds on December 22?.It is not neccessary to use all the tables.
SELECT Money ( $ ) FROM table WHERE Player = greg norman
CREATE TABLE INST, Here is a database schema( table schema);
What is Money ( $ ), when Player is Greg Norman?.It is not neccessary to use all the tables.
SELECT partner FROM table_name_80 WHERE score = "6–3, 6–2"
CREATE TABLE INST, Here is a database schema( table schema);
Name the partner with score of 6–3 6–2It is not neccessary to use all the tables.
SELECT Rider FROM table WHERE Speed = 104.630mph
CREATE TABLE INST, Here is a database schema( table schema);
Which rider had a speed of 104.630mph?.It is not neccessary to use all the tables.
SELECT MAX Attendance FROM table WHERE Date = december 16, 1962
CREATE TABLE INST, Here is a database schema( table schema);
What is the largest attendance that has December 16, 1962 as the date?.It is not neccessary to use all the tables.
SELECT COUNT(goals_conceded) FROM table_name_47 WHERE draws < 5 AND loses > 4 AND wins > 9
CREATE TABLE INST, Here is a database schema( table schema);
What was the total number of Goals conceded when there were more than 4 losses less than 5 draws and more than 9 wins?It is not neccessary to use all the tables.
SELECT MAX(background) FROM table_1855342_5 WHERE ability_to_compromise = 13
CREATE TABLE INST, Here is a database schema( table schema);
When the ability to compromise is 13 what is background?It is not neccessary to use all the tables.
SELECT score FROM table_name_21 WHERE opponents = "valencia" AND year = "2011–12"
CREATE TABLE INST, Here is a database schema( table schema);
Which Score has Opponents of valencia and a Year of 2011–12?It is not neccessary to use all the tables.
SELECT MIN(round) FROM table_1137704_2 WHERE grand_prix = "German grand_prix"
CREATE TABLE INST, Here is a database schema( table schema);
whatthe minimum round where grand prix is german grand prixIt is not neccessary to use all the tables.
SELECT Constructor FROM table WHERE Driver = clay regazzoni
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the constructor for clay regazzoni.It is not neccessary to use all the tables.
SELECT owner FROM table_name_86 WHERE time = "2:02.20" AND year = "1957"
CREATE TABLE INST, Here is a database schema( table schema);
Which owner has the time of 2:02.20 and the year of 1957?It is not neccessary to use all the tables.
SELECT Tournament FROM table WHERE Round = semifinal AND Surface = hard AND Opponent = pam casale
CREATE TABLE INST, Here is a database schema( table schema);
Name the tournament for semifinal hard surface for opponent of pam casale.It is not neccessary to use all the tables.