sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT record FROM table_name_96 WHERE attendance = "rose garden 20,126"
CREATE TABLE INST, Here is a database schema( table schema);
What is the record for the game that shows the Rose Garden 20126 as attendance?It is not neccessary to use all the tables.
SELECT COUNT(drawn) FROM table_name_57 WHERE percentage = "7.14%" AND lost > 12
CREATE TABLE INST, Here is a database schema( table schema);
How many matches were drawn associated with a percentage of 7.14% and more than 12 losses?It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Black Knights points = 27
CREATE TABLE INST, Here is a database schema( table schema);
Name the opponent for black knights points 27.It is not neccessary to use all the tables.
SELECT title FROM table_13336122_7 WHERE directed_by = "David Duchovny"
CREATE TABLE INST, Here is a database schema( table schema);
What episode was directed by David Duchovny?It is not neccessary to use all the tables.
SELECT Player FROM table WHERE Nationality = canada AND Year > 2009
CREATE TABLE INST, Here is a database schema( table schema);
After 2009, who was the player that has a nationality of Canada?.It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Visitor = mavericks
CREATE TABLE INST, Here is a database schema( table schema);
What was the score when the mavericks were visitors?.It is not neccessary to use all the tables.
SELECT Song FROM table WHERE Label = central station AND Album = various - wild nights 4
CREATE TABLE INST, Here is a database schema( table schema);
Which song had Central Station as a label and whose album was Various - Wild Nights 4?.It is not neccessary to use all the tables.
SELECT MIN Sites FROM table WHERE Headquarters = columbus, ga AND Rank < 4
CREATE TABLE INST, Here is a database schema( table schema);
what is the lowest number of sites when the headquarters are in columbus, ga and the rank is smaller than 4?.It is not neccessary to use all the tables.
SELECT Opponent FROM table WHERE Surface = hard AND Date = 28 august 1993
CREATE TABLE INST, Here is a database schema( table schema);
Which Opponent has a Surface of hard on 28 august 1993?.It is not neccessary to use all the tables.
SELECT District FROM table WHERE Party = Republican
CREATE TABLE INST, Here is a database schema( table schema);
Which district is republican?.It is not neccessary to use all the tables.
SELECT AVG Frequency MHz FROM table WHERE Call sign = w224bn
CREATE TABLE INST, Here is a database schema( table schema);
What is the Frequency MHz for the station with a call sign of w224bn?.It is not neccessary to use all the tables.
SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton"
CREATE TABLE INST, Here is a database schema( table schema);
which school shows #/county of 29 hamilton?It is not neccessary to use all the tables.
SELECT points_against FROM table_17941032_1 WHERE tries_for = "17"
CREATE TABLE INST, Here is a database schema( table schema);
When 17 is the tries for what is the points against?It is not neccessary to use all the tables.
SELECT Event FROM table WHERE Round = 1 AND Record = 5-1
CREATE TABLE INST, Here is a database schema( table schema);
Which event is in round 1 with a record at 5-1?.It is not neccessary to use all the tables.
SELECT region FROM table_2899987_2 WHERE owner = "Estado de Tabasco"
CREATE TABLE INST, Here is a database schema( table schema);
Which regions are owned by estado de tabasco?It is not neccessary to use all the tables.
SELECT a2."age" AS "Age", a2.Location AS "Location", COUNT(*) AS "count_posts" FROM "Posts " AS a1 LEFT OUTER JOIN Users AS a2 ON (a2.Id = a1."LastEditorUserId ") WHERE (a2.Location IN ('France', 'India')) GROUP BY a2."age", a2.Location ORDER BY 'Age' DESC, 'Location' DESC
CREATE TABLE INST, Here is a database schema( table schema);
Number of posts by user from France or India per age and location.It is not neccessary to use all the tables.
SELECT result FROM table_name_66 WHERE record = "0-1"
CREATE TABLE INST, Here is a database schema( table schema);
What was the result for the game with final record listed as 0-1?It is not neccessary to use all the tables.
SELECT name FROM table_name_17 WHERE country = "nga"
CREATE TABLE INST, Here is a database schema( table schema);
What is the name of the player from NGA?It is not neccessary to use all the tables.
SELECT "Estimated Value" FROM table_451 WHERE "Cover Date" = 'August 1962'
CREATE TABLE INST, Here is a database schema( table schema);
what's the estimated value where cover date is august 1962It is not neccessary to use all the tables.
SELECT SUM("Against") FROM table_69961 WHERE "Draw" = '1' AND "Played" < '8'
CREATE TABLE INST, Here is a database schema( table schema);
What is the total against with 1 draw and less than 8 played?It is not neccessary to use all the tables.
SELECT away_team AS score FROM table_name_80 WHERE home_team = "south melbourne"
CREATE TABLE INST, Here is a database schema( table schema);
What did the away team score when the home team was south melbourne?It is not neccessary to use all the tables.
SELECT Kitmaker FROM table WHERE Team Captain = robert enke
CREATE TABLE INST, Here is a database schema( table schema);
Who is the kitmaker for the team whose team captain is Robert Enke?.It is not neccessary to use all the tables.
SELECT score FROM table_name_25 WHERE att = 354
CREATE TABLE INST, Here is a database schema( table schema);
What was the score for the matchup having attendance of 354?It is not neccessary to use all the tables.
SELECT record FROM table_name_51 WHERE february < 8 AND opponent = "montreal canadiens"
CREATE TABLE INST, Here is a database schema( table schema);
Which Record has a February smaller than 8 and an Opponent of montreal canadiens?It is not neccessary to use all the tables.
SELECT Home team FROM table WHERE Venue = victoria park
CREATE TABLE INST, Here is a database schema( table schema);
What team plays their home games in Victoria Park?.It is not neccessary to use all the tables.
SELECT "Title" FROM table_73555 WHERE "U.S. viewers (in millions)" = '2.50'
CREATE TABLE INST, Here is a database schema( table schema);
What is the title when 2.50 is u.s. viewers (in millions)?It is not neccessary to use all the tables.
SELECT Year FROM table WHERE Hungarian top 40 album charts = 3
CREATE TABLE INST, Here is a database schema( table schema);
What year had the Hungarian top 40 album charts of 3?.It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Loss = holt (4-4)
CREATE TABLE INST, Here is a database schema( table schema);
What was the date of the game in which Holt (4-4) took the loss?.It is not neccessary to use all the tables.
SELECT AVG Crowd FROM table WHERE Venue = arden street oval
CREATE TABLE INST, Here is a database schema( table schema);
How many attended the game at Arden Street Oval?.It is not neccessary to use all the tables.
SELECT MIN Starts FROM table WHERE Team(s) = Hendrick Motorsports
CREATE TABLE INST, Here is a database schema( table schema);
How many starts did Hendrick motorsports have?.It is not neccessary to use all the tables.
SELECT MIN(pick__number) FROM table_name_15 WHERE league_from = "elitserien (sweden)"
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest pick from Elitserien (Sweden)?It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Year > 2001 AND Competition = summer olympics
CREATE TABLE INST, Here is a database schema( table schema);
What is the venue when the year is after 2001 for the summer olympics?.It is not neccessary to use all the tables.
SELECT MAX Two years FROM table WHERE Unknown > 1.0
CREATE TABLE INST, Here is a database schema( table schema);
If unknown is larger than 1.0, what is the maximum two year amount?.It is not neccessary to use all the tables.
SELECT place FROM table_name_65 WHERE player = "phil mickelson"
CREATE TABLE INST, Here is a database schema( table schema);
In what place is Phil Mickelson?It is not neccessary to use all the tables.
SELECT took_office FROM table_name_90 WHERE left_office = "2003"
CREATE TABLE INST, Here is a database schema( table schema);
The deputy that left office in 2003 took office in which year?It is not neccessary to use all the tables.
SELECT "Provider" FROM table_58973 WHERE "Free or pay" = 'pay' AND "Transmission" = 'analogue cable'
CREATE TABLE INST, Here is a database schema( table schema);
Which provider is pay with analogue cable?It is not neccessary to use all the tables.
SELECT TagName FROM Tags WHERE TagName LIKE 'arcgis%'
CREATE TABLE INST, Here is a database schema( table schema);
List of tags starting with 'arcgis'.It is not neccessary to use all the tables.
SELECT "Number of dances" FROM table_27653 WHERE "Average" = '20.6'
CREATE TABLE INST, Here is a database schema( table schema);
What is the number of dances for the team that averages 20.6?It is not neccessary to use all the tables.
SELECT SUM(attendance) FROM table_name_95 WHERE record = "34-44"
CREATE TABLE INST, Here is a database schema( table schema);
On the game that put the team at 34-44 what was the attendance?It is not neccessary to use all the tables.
SELECT club FROM table_name_34 WHERE fa_trophy > 2 AND fa_cup > 2
CREATE TABLE INST, Here is a database schema( table schema);
Which club had more than 2 FA trophies and more than 2 FA cups?It is not neccessary to use all the tables.
SELECT Capacity at Construction FROM table WHERE Location = Gold Coast, Queensland
CREATE TABLE INST, Here is a database schema( table schema);
What was the capacity at construction of the stadium in Gold Coast, Queensland? .It is not neccessary to use all the tables.
SELECT bonus_points FROM table_name_38 WHERE club = "stade français"
CREATE TABLE INST, Here is a database schema( table schema);
What number of bonus points did Stade Français?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Opponent = bye
CREATE TABLE INST, Here is a database schema( table schema);
When was the opponent Bye?.It is not neccessary to use all the tables.
SELECT MAX !Event FROM table WHERE Surface = semifinal AND Winner = hard (i)
CREATE TABLE INST, Here is a database schema( table schema);
Which Event has a Surface of semifinal, and a Winner of hard (i)?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Away team score = 12.15 (87)
CREATE TABLE INST, Here is a database schema( table schema);
Where was the game played where the away team scored 12.15 (87)?.It is not neccessary to use all the tables.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "AORTIC INSUFFICIENCY\RE-DO STERNOTOMY; AORTIC VALVE REPLACEMENT " AND demographic.admityear < "2182"
CREATE TABLE INST, Here is a database schema( table schema);
how many patients admitted before year 2182 had the primary disease aortic insufficiency\re-do sternotomy; aortic valve replacement?It is not neccessary to use all the tables.
SELECT Years as tallest FROM table WHERE Street address = 200 sw harrison
CREATE TABLE INST, Here is a database schema( table schema);
What were the years that the building at 200 sw harrison was considered to be the tallest building?.It is not neccessary to use all the tables.
SELECT f_laps FROM table_24587026_1 WHERE series = "GP2 series"
CREATE TABLE INST, Here is a database schema( table schema);
Name the f/laps for gp2 seriesIt is not neccessary to use all the tables.
SELECT Original air date FROM table WHERE No. in season = 13
CREATE TABLE INST, Here is a database schema( table schema);
Name the original air date for number in season being 13.It is not neccessary to use all the tables.
SELECT "Construction completed" FROM table_51656 WHERE "Name" = 'nelson tunnel/commodore waste rock'
CREATE TABLE INST, Here is a database schema( table schema);
What construction completed is named nelson tunnel/commodore waste rock?It is not neccessary to use all the tables.
SELECT School FROM table WHERE Location(s) = Richmond
CREATE TABLE INST, Here is a database schema( table schema);
What school is in Richmond?.It is not neccessary to use all the tables.
SELECT MAX(points) FROM table_15405904_1 WHERE position = 2
CREATE TABLE INST, Here is a database schema( table schema);
How many points are listed when the position is 2?It is not neccessary to use all the tables.
SELECT Institution FROM table WHERE Location = Circleville, Ohio
CREATE TABLE INST, Here is a database schema( table schema);
What is the institution that was located is circleville, ohio?.It is not neccessary to use all the tables.
SELECT Grand Prix FROM table WHERE Winning Constructor = Jordan - Mugen-Honda
CREATE TABLE INST, Here is a database schema( table schema);
Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda?.It is not neccessary to use all the tables.
SELECT winnings FROM table_1909647_2 WHERE wins = 2
CREATE TABLE INST, Here is a database schema( table schema);
What's the amount of winnings (in $) in the year with 2 wins?It is not neccessary to use all the tables.
SELECT Patient Portrayer FROM table WHERE Production code = 3T5004
CREATE TABLE INST, Here is a database schema( table schema);
Who is the patient portrayer of the episode with the production code 3T5004?.It is not neccessary to use all the tables.
SELECT Image FROM table WHERE Husband = william iv
CREATE TABLE INST, Here is a database schema( table schema);
Which image is of the woman married to william iv?.It is not neccessary to use all the tables.
SELECT 2nd leg FROM table WHERE Team 2 = milano
CREATE TABLE INST, Here is a database schema( table schema);
What is the 2nd leg for the team 2 Milano?.It is not neccessary to use all the tables.
SELECT To par FROM table WHERE Country = south korea
CREATE TABLE INST, Here is a database schema( table schema);
What is South Korea's to par value?.It is not neccessary to use all the tables.
SELECT Casualties FROM table WHERE Location = kabul area
CREATE TABLE INST, Here is a database schema( table schema);
Name the casualities for kabul area.It is not neccessary to use all the tables.
SELECT Year FROM table WHERE Co-Stars = Mala Sinha and Amitabh Bachchan
CREATE TABLE INST, Here is a database schema( table schema);
In which years are co-stars mala sinha and amitabh bachchan?.It is not neccessary to use all the tables.
SELECT deleted FROM table_name_53 WHERE cerclis_id = "il0210090049"
CREATE TABLE INST, Here is a database schema( table schema);
What was the value for deleted for CERCLIS ID of il0210090049?It is not neccessary to use all the tables.
SELECT "Season Total Att." FROM table_74619 WHERE "League Cup Average Att." = '32,415'
CREATE TABLE INST, Here is a database schema( table schema);
What was attendance of the whole season when the average attendance for League Cup was 32,415?It is not neccessary to use all the tables.
SELECT AVG(date) FROM table_name_29 WHERE record = "30-31-9" AND game > 70
CREATE TABLE INST, Here is a database schema( table schema);
What was the average date with a record of 30-31-9 in a game over 70?It is not neccessary to use all the tables.
SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters ORDER BY Headquarters DESC
CREATE TABLE INST, Here is a database schema( table schema);
For each headquarter, what are the headquarter and how many companies are centered there Visualize by bar chart, and order names in descending order.It is not neccessary to use all the tables.
SELECT method FROM table_name_15 WHERE round > 3
CREATE TABLE INST, Here is a database schema( table schema);
Which method was used in a round greater than 3?It is not neccessary to use all the tables.
SELECT COUNT(played) FROM table_19179465_1 WHERE club = "Featherstone Rovers"
CREATE TABLE INST, Here is a database schema( table schema);
Featherstone Rovers club played a total of how many games?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.admityear < "2184" AND diagnoses.long_title = "Thrombocytopenia, unspecified"
CREATE TABLE INST, Here is a database schema( table schema);
provide the nuber of patients whose admission year is before 2184 and diagnosis long title is thrombocytopenia, unspecified.It is not neccessary to use all the tables.
SELECT COUNT(area__km²_) FROM table_28367242_1 WHERE corporate_name = "Fort St. John, City of"
CREATE TABLE INST, Here is a database schema( table schema);
How many areas are there for the corporation named fort st. john city of?It is not neccessary to use all the tables.
SELECT elector FROM table_name_86 WHERE cardinalatial_title = "priest of s. marco"
CREATE TABLE INST, Here is a database schema( table schema);
What is listed for the Elector that also has the Cardinalatial title of Priest of S. Marco?It is not neccessary to use all the tables.
SELECT Broadcast date FROM table WHERE Run time = 24:30
CREATE TABLE INST, Here is a database schema( table schema);
What date was an episode with a run time of 24:30 broadcasted?.It is not neccessary to use all the tables.
SELECT MIN(minutes) FROM table_name_25 WHERE games_played = 13
CREATE TABLE INST, Here is a database schema( table schema);
What is the lowest minutes a goalkeeper with 13 games played has?It is not neccessary to use all the tables.
SELECT 1996 FROM table_name_92 WHERE tournament = "wimbledon"
CREATE TABLE INST, Here is a database schema( table schema);
What is the value for the Wimbledon tournament in 1996?It is not neccessary to use all the tables.
SELECT time FROM table_name_2 WHERE nfl_recap = "recap" AND result = "w 22–16"
CREATE TABLE INST, Here is a database schema( table schema);
What was the time of the game that had an NFL recap and a result of W 22–16?It is not neccessary to use all the tables.
SELECT score FROM table_name_35 WHERE opponent = "indians" AND date = "september 15"
CREATE TABLE INST, Here is a database schema( table schema);
What is the score from September 15 that has the Indians as the opponent?It is not neccessary to use all the tables.
SELECT property FROM table_186468_1 WHERE q_band = "8.3"
CREATE TABLE INST, Here is a database schema( table schema);
When 8.3 is the q-band what is the property?It is not neccessary to use all the tables.
SELECT Round 1 FROM table WHERE Round 4 = double AND From = 1977 AND Round 3 = double
CREATE TABLE INST, Here is a database schema( table schema);
What is Round 1 from 1977 where Round 3 is Double and Round 4 is Double?.It is not neccessary to use all the tables.
SELECT "Date" FROM table_5590 WHERE "Game" = '17'
CREATE TABLE INST, Here is a database schema( table schema);
what team scored 17It is not neccessary to use all the tables.
SELECT club_team FROM table_name_72 WHERE nationality = "canada" AND overall = 188
CREATE TABLE INST, Here is a database schema( table schema);
Name the club team for overall of 188 for canadaIt is not neccessary to use all the tables.
SELECT COUNT(production_code) FROM table_2409041_3 WHERE original_air_date = "November 16, 1990"
CREATE TABLE INST, Here is a database schema( table schema);
How many production codes have an original airdate of November 16 1990?It is not neccessary to use all the tables.
SELECT Owner FROM table WHERE Built = 2009-2011
CREATE TABLE INST, Here is a database schema( table schema);
Who is the owner that built in 2009-2011?.It is not neccessary to use all the tables.
SELECT Margin of defeat FROM table WHERE Points = 30
CREATE TABLE INST, Here is a database schema( table schema);
Which margin of defeats had points of 30?.It is not neccessary to use all the tables.
SELECT launch_date FROM table_name_93 WHERE deorbit_date = "29 september 2008"
CREATE TABLE INST, Here is a database schema( table schema);
When did the ATV that deorbited on 29 september 2008 launch?It is not neccessary to use all the tables.
SELECT team FROM table_name_17 WHERE points_against = 43
CREATE TABLE INST, Here is a database schema( table schema);
WHich Team that has Points against of 43?It is not neccessary to use all the tables.
SELECT Republican: Kenny Hulshof FROM table WHERE Democrat: Jay Nixon = 48%
CREATE TABLE INST, Here is a database schema( table schema);
What percentage was claimed that Republican: Kenny Hulshof got in the poll that also claimed Democrat: Jay Nixon got 48%?.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Date = may 29
CREATE TABLE INST, Here is a database schema( table schema);
what game was on may 29.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Attendance = 30,335
CREATE TABLE INST, Here is a database schema( table schema);
Attendance of 30,335 had what record?.It is not neccessary to use all the tables.
SELECT COUNT Height (cm) FROM table WHERE Birthdate = september 2, 1973
CREATE TABLE INST, Here is a database schema( table schema);
What is the total height of the player with a birthdate on September 2, 1973?.It is not neccessary to use all the tables.
SELECT COUNT Outgoing manager FROM table WHERE Team = Sunshine Stars
CREATE TABLE INST, Here is a database schema( table schema);
how many managers left sunshine stars?.It is not neccessary to use all the tables.
SELECT episode FROM table_name_19 WHERE year = 2009 AND show = "dexter"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Episode number of Ernest Dickerson in 2009 when the show was dexter?It is not neccessary to use all the tables.
SELECT COUNT Elevation (m) FROM table WHERE Prominence (m) > 2,876
CREATE TABLE INST, Here is a database schema( table schema);
How much Elevation (m) has a Prominence (m) larger than 2,876?.It is not neccessary to use all the tables.
SELECT obama_percentage FROM table_20799905_1 WHERE mccain_percentage = "52.8%"
CREATE TABLE INST, Here is a database schema( table schema);
What percentage did Obama get when McCain got 52.8%?It is not neccessary to use all the tables.
SELECT 2nd leg FROM table WHERE 1st leg = 5-0
CREATE TABLE INST, Here is a database schema( table schema);
What was the 2nd leg score for the tie that had a 5-0 first leg score?.It is not neccessary to use all the tables.
SELECT Type FROM table WHERE Title = duke AND From = 512 bc
CREATE TABLE INST, Here is a database schema( table schema);
What is the type for Duke when the from is 512 bc?.It is not neccessary to use all the tables.
SELECT MIN Watts FROM table WHERE Class = a AND Frequency = 91.5 fm AND City of license = elkhart, kansas
CREATE TABLE INST, Here is a database schema( table schema);
How many Watts has a Class of a, and a Frequency of 91.5 fm, and a City of license of elkhart, kansas?.It is not neccessary to use all the tables.
SELECT relation FROM table_name_71 WHERE type = "tv" AND name = "ohanami"
CREATE TABLE INST, Here is a database schema( table schema);
Which Relation has a Type of tv and a Name of ohanami?It is not neccessary to use all the tables.
SELECT MIN(crowd) FROM table_name_1 WHERE venue = "mcg"
CREATE TABLE INST, Here is a database schema( table schema);
What was the lowest crowd size at MCG?It is not neccessary to use all the tables.
SELECT score FROM table_name_33 WHERE place = "t3"
CREATE TABLE INST, Here is a database schema( table schema);
What is the Score of the T3 Place Player?It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Loss = plesac (1-5)
CREATE TABLE INST, Here is a database schema( table schema);
For the Loss of Plesac (1-5), what is the Record?.It is not neccessary to use all the tables.
SELECT COUNT Ends FROM table WHERE Name = filip šebo AND Goals > 2
CREATE TABLE INST, Here is a database schema( table schema);
I want the total number of ends for filip šebo and Goals more than 2.It is not neccessary to use all the tables.