sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT Domestic FROM table WHERE Cargo (tonnes) = 25 866 | CREATE TABLE INST, Here is a database schema( table schema); | What is the domestic figure when cargo tonnes equal 25 866?.It is not neccessary to use all the tables. |
SELECT podiums FROM table_name_62 WHERE wins = "2" AND season = 2008 | CREATE TABLE INST, Here is a database schema( table schema); | What is the value for Podiums when the value for Wins is 2 and when the Season is 2008?It is not neccessary to use all the tables. |
SELECT COUNT No. in series FROM table WHERE No. in season = 11 | CREATE TABLE INST, Here is a database schema( table schema); | Name the number of number in the season for 11.It is not neccessary to use all the tables. |
SELECT date FROM table_name_95 WHERE away_team = "everton" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Date of the Everton Away game?It is not neccessary to use all the tables. |
SELECT To par FROM table WHERE Place = t2 AND Player = mark james | CREATE TABLE INST, Here is a database schema( table schema); | Which To par has a Place of t2, and a Player of mark james?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_49 WHERE competition = "friendly" | CREATE TABLE INST, Here is a database schema( table schema); | On what Date did the friendly Competition take place?It is not neccessary to use all the tables. |
SELECT Outcome FROM table WHERE Opponent = yvonne vermaak | CREATE TABLE INST, Here is a database schema( table schema); | What outcome has yvonne vermaak as the opponent?.It is not neccessary to use all the tables. |
SELECT MAX Attendance FROM table | CREATE TABLE INST, Here is a database schema( table schema); | What was the largest attendance?.It is not neccessary to use all the tables. |
SELECT "Flying hours" FROM table_52 WHERE "Aircraft kilometers" > '64379058.0' | CREATE TABLE INST, Here is a database schema( table schema); | How many hours were flown in each of the years where more than 64379058.0 kilometers were flown?It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_19 WHERE date = "april 28" | CREATE TABLE INST, Here is a database schema( table schema); | Which Opponent is on april 28?It is not neccessary to use all the tables. |
SELECT film_title FROM table_26385848_1 WHERE year__ceremony_ = "1995 (68th)" | CREATE TABLE INST, Here is a database schema( table schema); | In the year (ceremony) 1995 (68th) what is the film title?It is not neccessary to use all the tables. |
SELECT 1998 FROM table WHERE 1997 = 3r AND 1992 = a | CREATE TABLE INST, Here is a database schema( table schema); | What is 1998, when 1997 is "3R", and when 1992 is "A"?.It is not neccessary to use all the tables. |
SELECT Mountain Pass FROM table WHERE Rank = 21 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Mountain Pass with a 21 Rank?.It is not neccessary to use all the tables. |
SELECT AVG Round FROM table WHERE Player = stan adams | CREATE TABLE INST, Here is a database schema( table schema); | What round of the draft was Stan Adams selected?.It is not neccessary to use all the tables. |
SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name GROUP BY T2.artist_name ORDER BY COUNT(*) LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | Find the country of origin for the artist who made the least number of songs?It is not neccessary to use all the tables. |
SELECT candidates FROM table_1342292_4 WHERE incumbent = "William J. Driver" | CREATE TABLE INST, Here is a database schema( table schema); | What candidates ran in the election when the incumbent was william j. driver?It is not neccessary to use all the tables. |
SELECT SUM(regular_season) FROM table_name_41 WHERE playoffs = 35 AND total > 302 | CREATE TABLE INST, Here is a database schema( table schema); | A total larger than 302 and playoffs of 35 also list the total of regular seasons as what?It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Player = thomas bjørn | CREATE TABLE INST, Here is a database schema( table schema); | What country is player thomas bjørn from?.It is not neccessary to use all the tables. |
SELECT Issue_Date FROM volume ORDER BY Weeks_on_Top LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the issue date of the volume with the minimum weeks on top?It is not neccessary to use all the tables. |
SELECT COUNT(name) FROM table_25401874_1 WHERE points = 50 | CREATE TABLE INST, Here is a database schema( table schema); | How many names are listed for the player with 50 points?It is not neccessary to use all the tables. |
SELECT Winner FROM table WHERE Circuit = adelaide international raceway | CREATE TABLE INST, Here is a database schema( table schema); | Who was the winner of the Adelaide International Raceway circuit?.It is not neccessary to use all the tables. |
SELECT Home team score FROM table WHERE Venue = junction oval | CREATE TABLE INST, Here is a database schema( table schema); | What's the home team for the junction oval venue?.It is not neccessary to use all the tables. |
SELECT result FROM table_name_81 WHERE year = 2010 AND tournament = "world amateur championship" | CREATE TABLE INST, Here is a database schema( table schema); | for the tournament of world amateur championship what was the result in 2010?It is not neccessary to use all the tables. |
SELECT result FROM table_name_89 WHERE score = "4-1" AND competition = "world cup qualifying" | CREATE TABLE INST, Here is a database schema( table schema); | Which Result has a Score of 4-1 and a Competition of world cup qualifying?It is not neccessary to use all the tables. |
SELECT date FROM table_name_65 WHERE venue = "princes park" | CREATE TABLE INST, Here is a database schema( table schema); | When was the game at Princes Park?It is not neccessary to use all the tables. |
SELECT Terry McAuliffe FROM table WHERE Dates Administered = june 6–7 | CREATE TABLE INST, Here is a database schema( table schema); | Which Terry McAuliffe is it that has a Dates Administered on June 6–7?.It is not neccessary to use all the tables. |
SELECT MAX(year) FROM table_name_89 WHERE accolade = "singles of 1999" AND rank = "22" | CREATE TABLE INST, Here is a database schema( table schema); | Name the highest year with rank of 22 and accolade of singles of 1999It is not neccessary to use all the tables. |
SELECT COUNT Pick FROM table WHERE College = hawaii AND Overall < 122 | CREATE TABLE INST, Here is a database schema( table schema); | How many Picks have a College of hawaii, and an Overall smaller than 122?.It is not neccessary to use all the tables. |
SELECT Event FROM table WHERE Method = submission (brabo choke) | CREATE TABLE INST, Here is a database schema( table schema); | What is the event name when the method is submission (brabo choke)?.It is not neccessary to use all the tables. |
SELECT "2008" FROM table_76783 WHERE "2011" > '30,800,000' AND "Country" = 'united states' | CREATE TABLE INST, Here is a database schema( table schema); | In the United States the 2011 attendance at this amusement park corporation was larger than 30,800,000 but lists what as its 2008 attendance?It is not neccessary to use all the tables. |
SELECT * FROM table_test_13 WHERE serum_creatinine > 2 | CREATE TABLE INST, Here is a database schema( table schema); | serum creatinine > 2 mg / dlIt is not neccessary to use all the tables. |
SELECT Package/Option FROM table WHERE Television service = FOX Sports HD | CREATE TABLE INST, Here is a database schema( table schema); | What package offers Fox Sports HD?.It is not neccessary to use all the tables. |
SELECT Winner FROM table WHERE Runner-up = john higgins | CREATE TABLE INST, Here is a database schema( table schema); | Who was the winner in the match that had John Higgins as runner-up?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_17 WHERE game > 47 AND location_attendance = "rose garden 20,250" | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE SCORE OF THE GAME LARGER THAN 47, AT THE ROSE GARDEN 20,250 IN ATTENDANCE?It is not neccessary to use all the tables. |
SELECT format FROM table_name_81 WHERE catalog = "561 445-1" | CREATE TABLE INST, Here is a database schema( table schema); | Which Format has a Catalog of 561 445-1?It is not neccessary to use all the tables. |
SELECT duration FROM table_name_47 WHERE actor = "mike walling" | CREATE TABLE INST, Here is a database schema( table schema); | What is the duration for mike walling as the actor?It is not neccessary to use all the tables. |
SELECT AVG(year) FROM table_name_16 WHERE genre = "third-person shooter" | CREATE TABLE INST, Here is a database schema( table schema); | What year had Third-Person Shooter?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Competition = 2014 world cup qualification AND Location = kampala AND Opponent = angola | CREATE TABLE INST, Here is a database schema( table schema); | When was the 2014 World Cup Qualification in Kampala that had Angola as an opponent.It is not neccessary to use all the tables. |
SELECT Ground FROM table WHERE Score = 3-2 AND Time = 15:00 cet | CREATE TABLE INST, Here is a database schema( table schema); | Where was the game played that had a score of 3-2 and a time of 15:00 cet?.It is not neccessary to use all the tables. |
SELECT Release date FROM table WHERE Title = the blow out | CREATE TABLE INST, Here is a database schema( table schema); | What is the release date of The Blow Out?.It is not neccessary to use all the tables. |
SELECT MAX Byes FROM table WHERE Benalla DFL = longwood AND Against < 1944 | CREATE TABLE INST, Here is a database schema( table schema); | What's the most number of byes for Longwood having less than 1944 against?.It is not neccessary to use all the tables. |
SELECT manufacturer FROM table_10007452_3 WHERE order_year = "1998" | CREATE TABLE INST, Here is a database schema( table schema); | who is the manufacturer for the order year 1998?It is not neccessary to use all the tables. |
SELECT player FROM table_name_43 WHERE team = "denver broncos" | CREATE TABLE INST, Here is a database schema( table schema); | What player is from the Denver Broncos?It is not neccessary to use all the tables. |
SELECT MAX(tournament) FROM table_name_90 WHERE total = 3 AND team = "iowa state" | CREATE TABLE INST, Here is a database schema( table schema); | How many tournament titles for iowa state with 3 total titles?It is not neccessary to use all the tables. |
SELECT 2010/ 11 FROM table WHERE 2011/ 12 = ranking tournaments | CREATE TABLE INST, Here is a database schema( table schema); | What is the 2010/ 11 when the 2011/ 12 is ranking tournaments?.It is not neccessary to use all the tables. |
SELECT MAX Top-5 FROM table WHERE Wins = 0 AND Events > 6 | CREATE TABLE INST, Here is a database schema( table schema); | Which Top-5 is the highest one that has Wins of 0, and Events larger than 6?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Record = 32–19–7 | CREATE TABLE INST, Here is a database schema( table schema); | What was the score of the game when the record was 32–19–7?.It is not neccessary to use all the tables. |
SELECT region FROM table_name_24 WHERE _percentage_growth = "−3.6" | CREATE TABLE INST, Here is a database schema( table schema); | Which Region that has a growth of 3.6%?It is not neccessary to use all the tables. |
SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = "1–1–0" AND effic > 394 | CREATE TABLE INST, Here is a database schema( table schema); | Avg/G that has a Att-Cmp-Int of 1–1–0 and an Effic larger than 394 is what total?It is not neccessary to use all the tables. |
SELECT SUM(game) FROM table_name_58 WHERE record = "2-1-1" AND october < 21 | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of Game when Record is "2-1-1" and when October is less than 21?It is not neccessary to use all the tables. |
SELECT no_in_season FROM table_2818164_5 WHERE original_air_date = "February 11, 1988" | CREATE TABLE INST, Here is a database schema( table schema); | What episoe number in the season originally aired on February 11 1988?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Result = 4-1 | CREATE TABLE INST, Here is a database schema( table schema); | Which item resulted in a score of 4-1?.It is not neccessary to use all the tables. |
SELECT couple FROM table_name_27 WHERE style = "contemporary" | CREATE TABLE INST, Here is a database schema( table schema); | Which couple participated in the Contemporary style of dance?It is not neccessary to use all the tables. |
SELECT open_year FROM branch GROUP BY open_year HAVING COUNT(*) >= 2 | CREATE TABLE INST, Here is a database schema( table schema); | List all open years when at least two shops are opened.It is not neccessary to use all the tables. |
SELECT COUNT Crowd FROM table WHERE Venue = mcg | CREATE TABLE INST, Here is a database schema( table schema); | What was the attendance when the VFL played MCG?.It is not neccessary to use all the tables. |
SELECT home_town FROM table_name_32 WHERE graduated > 2010 AND college_prior = "michigan" | CREATE TABLE INST, Here is a database schema( table schema); | Where was the player from who graduated from Michigan after 2010?It is not neccessary to use all the tables. |
SELECT street_address FROM table_name_94 WHERE floors = "40" | CREATE TABLE INST, Here is a database schema( table schema); | What is the street address of the building with 40 floors?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Date = november 15, 2011 | CREATE TABLE INST, Here is a database schema( table schema); | What is the score of the match on November 15, 2011?.It is not neccessary to use all the tables. |
SELECT Qual FROM table WHERE Rank = 18 AND Year = 1964 | CREATE TABLE INST, Here is a database schema( table schema); | What is the qual for rank 18 in 1964?.It is not neccessary to use all the tables. |
SELECT MIN Rank FROM table WHERE Games = 37 AND Points > 613 | CREATE TABLE INST, Here is a database schema( table schema); | Which rank is the lowest with 37 games and more than 613 points?.It is not neccessary to use all the tables. |
SELECT fin_pos FROM table_name_21 WHERE grid = "6" | CREATE TABLE INST, Here is a database schema( table schema); | What was the finishing position for the car that started in grid 6?It is not neccessary to use all the tables. |
SELECT MIN Win # FROM table WHERE Year = 2011-12 AND Points < 97 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest Win #, when Year is "2011-12", and when Points is less than 97?.It is not neccessary to use all the tables. |
SELECT 2nd leg FROM table WHERE Team 2 = barcelona | CREATE TABLE INST, Here is a database schema( table schema); | What is the 2nd leg for Barcelona Team 2?.It is not neccessary to use all the tables. |
SELECT Category FROM table WHERE Nominated = maite perroni AND Year < 2009 | CREATE TABLE INST, Here is a database schema( table schema); | Which category was Maite Perroni nominated for earlier than 2009?.It is not neccessary to use all the tables. |
SELECT right_ascension___j2000__ FROM table_name_55 WHERE ngc_number > 2068 AND constellation = "dorado" AND declination___j2000__ = "°12′43″" | CREATE TABLE INST, Here is a database schema( table schema); | What is the right ascension (J2000) with a Declination (J2000) of °12′43″ is a constellation of dorado and has an NGC number larger than 2068?It is not neccessary to use all the tables. |
SELECT Surface FROM table WHERE Date = october 5, 1987 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Surface of the match played on October 5, 1987?.It is not neccessary to use all the tables. |
SELECT Name FROM table WHERE Score > 22 AND Song = 林俊杰 - 木乃伊 | CREATE TABLE INST, Here is a database schema( table schema); | Wjat score is greater than 22 with this song: 林俊杰 - 木乃伊?.It is not neccessary to use all the tables. |
SELECT original_air_date FROM table_24910742_1 WHERE no_in_season = 18 | CREATE TABLE INST, Here is a database schema( table schema); | What was the airdate of episode number 18?It is not neccessary to use all the tables. |
SELECT COUNT(goals_for) FROM table_name_99 WHERE losses > 16 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of Goals For, when Losses is greater than 16?It is not neccessary to use all the tables. |
SELECT Home FROM table WHERE Date = january 4 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the home team on January 4?.It is not neccessary to use all the tables. |
SELECT COUNT(swimsuit) FROM table_name_39 WHERE evening_gown = 8.329 AND average < 8.497 | CREATE TABLE INST, Here is a database schema( table schema); | Name the total number of swimsuits when evening gown is 8.329 and average is less than 8.497It is not neccessary to use all the tables. |
SELECT Teams FROM table WHERE Home = 5-0 | CREATE TABLE INST, Here is a database schema( table schema); | What teams has a home of 5-0?.It is not neccessary to use all the tables. |
SELECT team FROM table_name_71 WHERE previous_team = "san diego rockets" AND pos = "f" | CREATE TABLE INST, Here is a database schema( table schema); | Which Team has a Previous team of san diego rockets and a Position of f?It is not neccessary to use all the tables. |
SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 482 | CREATE TABLE INST, Here is a database schema( table schema); | Does 482 contain a lab ?It is not neccessary to use all the tables. |
SELECT COUNT Crowd FROM table WHERE Away team = carlton | CREATE TABLE INST, Here is a database schema( table schema); | How large was the crowd when Carlton was the away team?.It is not neccessary to use all the tables. |
SELECT COUNT(incoming_manager) FROM table_26593762_3 WHERE team = "Burnley" | CREATE TABLE INST, Here is a database schema( table schema); | How many incoming managers did Burnley have?It is not neccessary to use all the tables. |
SELECT Event FROM table WHERE Opponent = carlos alexandre pereira | CREATE TABLE INST, Here is a database schema( table schema); | Which event had Carlos Alexandre Pereira as opponent?.It is not neccessary to use all the tables. |
SELECT time_retired FROM table_name_96 WHERE grid < 22 AND laps < 33 AND driver = "john surtees" | CREATE TABLE INST, Here is a database schema( table schema); | I want the time/retired with grid less than 22 and Laps less than 33 for john surteesIt is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Points for = 177 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent with a points for of 177?.It is not neccessary to use all the tables. |
SELECT COUNT(*) FROM VOTING_RECORD | CREATE TABLE INST, Here is a database schema( table schema); | Find the number of voting records in total.It is not neccessary to use all the tables. |
SELECT COUNT Inhabitants FROM table WHERE Party = democratic party AND Mayor = stefano cimatti AND Election < 2009 | CREATE TABLE INST, Here is a database schema( table schema); | How many Inhabitants were in the democratic party for an election before 2009 for Mayor of stefano cimatti?.It is not neccessary to use all the tables. |
SELECT MAX Task No. FROM table WHERE Head of Household = cathy | CREATE TABLE INST, Here is a database schema( table schema); | What is the latest task number for which Cathy is head of household?.It is not neccessary to use all the tables. |
SELECT headquarters, industry FROM company | CREATE TABLE INST, Here is a database schema( table schema); | What are the headquarters and industries of all companies?It is not neccessary to use all the tables. |
SELECT target_city__market FROM table_134729_3 WHERE city_of_license = "Wessington Springs" | CREATE TABLE INST, Here is a database schema( table schema); | What market is Wessington Springs inIt is not neccessary to use all the tables. |
SELECT opposing_team FROM table_name_97 WHERE against = 3 AND date = "11 february 1950" | CREATE TABLE INST, Here is a database schema( table schema); | Which Opposing Team has an Against of 3, and a Date of 11 february 1950?It is not neccessary to use all the tables. |
SELECT MIN(silver) FROM table_name_69 WHERE nation = "mexico" AND gold < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the least silver that has mexico as a nation and a gold less than 0?It is not neccessary to use all the tables. |
SELECT Year (Ceremony) FROM table WHERE Original title = La leggenda del santo bevitore | CREATE TABLE INST, Here is a database schema( table schema); | What year was a movie with the original title La Leggenda del Santo Bevitore submitted?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Player = lloyd mangrum | CREATE TABLE INST, Here is a database schema( table schema); | What was Lloyd Mangrum's Score?.It is not neccessary to use all the tables. |
SELECT age__as_of_1_february_2014_ FROM table_name_3 WHERE rank < 9 AND death_date = "24 january 2007" | CREATE TABLE INST, Here is a database schema( table schema); | Which Age (as of 1 February 2014) has a Rank smaller than 9 and a Death date of 24 january 2007?It is not neccessary to use all the tables. |
SELECT Lyrics FROM table WHERE Catalog number = 560 6111 | CREATE TABLE INST, Here is a database schema( table schema); | What language is the Lyrics of the release with Catalog number 560 6111?.It is not neccessary to use all the tables. |
SELECT away_team FROM table_name_12 WHERE venue = "mcg" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the away team at MCG?It is not neccessary to use all the tables. |
SELECT rider FROM table_18666752_3 WHERE horse = "Galan De Sauvagere" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the rider where the horse is galan de sauvagere?It is not neccessary to use all the tables. |
SELECT COUNT(title) FROM table_2701851_3 WHERE production_code = "201a" | CREATE TABLE INST, Here is a database schema( table schema); | how many times is the production code is 201a?It is not neccessary to use all the tables. |
SELECT "Type" FROM table_40668 WHERE "List entry number" = '1356677' | CREATE TABLE INST, Here is a database schema( table schema); | Which type has list entry number of 1356677?It is not neccessary to use all the tables. |
SELECT train_name FROM table_29301050_1 WHERE arrival_lonavla = "17:45" | CREATE TABLE INST, Here is a database schema( table schema); | which train name arrives in lonavla at 17:45It is not neccessary to use all the tables. |
SELECT COUNT(pick__number) FROM table_name_66 WHERE position = "guard" AND round < 6 | CREATE TABLE INST, Here is a database schema( table schema); | What are the total number of picks for a guard with fewer than 6 rounds?It is not neccessary to use all the tables. |
SELECT Affiliation, SUM(Enrollment) FROM university GROUP BY Affiliation ORDER BY SUM(Enrollment) | CREATE TABLE INST, Here is a database schema( table schema); | Draw a bar chart of affiliation versus sum enrollment, and I want to display y axis from low to high order please.It is not neccessary to use all the tables. |
SELECT hh_principal FROM table_name_55 WHERE hs_principal = "jim haught" AND maplemere_principal = "charlie taylor" AND wr_principal = "rich auerbach" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the h.h. principal with Jim Haught as h.s. principal Charlie Taylor as maplemere principal and Rich Auerbach as w.r. principal?It is not neccessary to use all the tables. |
SELECT AVG(runs_allowed) FROM table_name_50 WHERE rank = 2 AND losses > 2 | CREATE TABLE INST, Here is a database schema( table schema); | How many runs allowed did the team ranked 2 with more than 2 losses have?It is not neccessary to use all the tables. |
SELECT MAX(win_percentage) FROM table_name_18 WHERE losses = 23 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest win percentage when there were 23 losses?It is not neccessary to use all the tables. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.