sql
stringlengths 9
2.37k
| table
stringclasses 9
values | query
stringlengths 51
503
|
|---|---|---|
SELECT 3rd Place FROM table WHERE Score = 1-0
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What's in third place that's going 1-0?.It is not neccessary to use all the tables.
|
SELECT Result FROM table WHERE Round = r3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the result of round R3?.It is not neccessary to use all the tables.
|
SELECT grid FROM table_name_10 WHERE driver = "cristiano da matta"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What Grid has Driver Cristiano da Matta?It is not neccessary to use all the tables.
|
SELECT position FROM table_1708014_2 WHERE starts = 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what is the posisiotn where the start is 3?It is not neccessary to use all the tables.
|
SELECT County FROM table WHERE School = whiteland community
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What county is Whiteland Community School in?.It is not neccessary to use all the tables.
|
SELECT "Lost" FROM table_68689 WHERE "Club" = 'ynysybwl rfc'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lost of Ynysybwl RFC?It is not neccessary to use all the tables.
|
SELECT MIN(total) FROM table_name_18 WHERE rank < 3 AND county = "cork"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Total has a Rank smaller than 3 and a County of cork?It is not neccessary to use all the tables.
|
SELECT COUNT Nickname FROM table WHERE Institution = Andrew College
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of nicknames for andrew college.It is not neccessary to use all the tables.
|
SELECT Winning team FROM table WHERE Winning driver = Bobby Rahal
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which teams won when Bobby Rahal was their winning driver?.It is not neccessary to use all the tables.
|
SELECT MAX Capacity FROM table WHERE Highest > 6,192
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the greatest capacity when the largest number in attendance is 6,192?.It is not neccessary to use all the tables.
|
SELECT Format FROM table WHERE City of License = st. george AND Frequency = 0 107.3 fm
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which format is in St. George with a frequency of 0 107.3 fm?.It is not neccessary to use all the tables.
|
SELECT COUNT(french_voice_actor) FROM table_14960574_6 WHERE spanish_voice_actor = "Javier Romano"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the french actor with javier romanoIt is not neccessary to use all the tables.
|
SELECT player FROM table_25820584_7 WHERE year_s_ = "1969"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What player(s) appeared in 1969?It is not neccessary to use all the tables.
|
SELECT AVG Bronze FROM table WHERE Total = 47
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the bronze medal count of the team that finished with 47 total medals?.It is not neccessary to use all the tables.
|
SELECT Score FROM table WHERE Location Attendance = United Center 22,097
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the score of united center 22,097?.It is not neccessary to use all the tables.
|
SELECT Name FROM table WHERE Listed = 02/21/1990 AND CERCLIS ID = scd980844005
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What name was listed 02/21/1990, and a CERCLIS ID of scd980844005?.It is not neccessary to use all the tables.
|
SELECT Winner FROM table WHERE Fourth = selby riddle
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the Winner when Selby Riddle came in Fourth?.It is not neccessary to use all the tables.
|
SELECT COUNT(bush_percentage) FROM table_13608101_1 WHERE total_number = 191269
|
CREATE TABLE INST, Here is a database schema( table schema);
|
how many bush% with total# being 191269It is not neccessary to use all the tables.
|
SELECT english_word FROM table_28136_15 WHERE ukrainian = "Дякую (diakuju)"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How do you say the ukrainian word дякую (diakuju) in English?It is not neccessary to use all the tables.
|
SELECT SUM(round) FROM table_name_70 WHERE record = "19-25-5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of Round when Record is "19-25-5"?It is not neccessary to use all the tables.
|
SELECT MIN Wins FROM table WHERE Points > 46 AND Rank = 10th
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest wins with points larger than 46, and a rank of 10th?.It is not neccessary to use all the tables.
|
SELECT Club FROM table WHERE Home result = 1–0 AND Away result = 0–1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Home result of 1–0, and a Away result of 0–1 involves what club?.It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Attendance = 25,022
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the date of the game attended by 25,022?.It is not neccessary to use all the tables.
|
SELECT MIN(three_pointers) FROM table_22824199_1 WHERE free_throws = 50
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Of the players with 50 free throws what is the lowest number of three pointers?It is not neccessary to use all the tables.
|
SELECT "player" FROM table_204_126 WHERE "player" <> 'ben crenshaw' AND "score" = (SELECT "score" FROM table_204_126 WHERE "player" = 'ben crenshaw')
|
CREATE TABLE INST, Here is a database schema( table schema);
|
who had the same score as ben crenshaw ?It is not neccessary to use all the tables.
|
SELECT winner FROM table_name_92 WHERE finalist = "lina krasnoroutskaya"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the winner against finalist Lina Krasnoroutskaya?It is not neccessary to use all the tables.
|
SELECT MIN(total) FROM table_name_77 WHERE year_s__won = "1982"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Total of the Player with a Year(s) won of 1982?It is not neccessary to use all the tables.
|
SELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = "Arkansas"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
who won the senate seat in arkansasIt is not neccessary to use all the tables.
|
SELECT Chassis FROM table WHERE Tyres = d AND Year = 1970
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the chassis for 1970 and tyres of d.It is not neccessary to use all the tables.
|
SELECT Company Name FROM table WHERE Accreditation status = approved (valid until 03.07.13)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Company Name, when the Accreditation Status is Approved (Valid Until 03.07.13)?.It is not neccessary to use all the tables.
|
SELECT COUNT Ends FROM table WHERE Source = Cardiff City AND P = DF
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the number of ends for cardiff city and df.It is not neccessary to use all the tables.
|
SELECT Fate FROM table WHERE Commissioned = 11 April 1944
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the fate for 11 april 1944?.It is not neccessary to use all the tables.
|
SELECT record FROM table_27755784_6 WHERE date = "November 10"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record after the game on November 10?It is not neccessary to use all the tables.
|
SELECT Loss FROM table WHERE Record = 26-9
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What loss has 26-9 as a loss?.It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_68 WHERE edition = "1985 world group i"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who is the opponent for the 1985 World Group i edition?It is not neccessary to use all the tables.
|
SELECT Home team score FROM table WHERE Home team = collingwood
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the home team score when the home team is Collingwood?.It is not neccessary to use all the tables.
|
SELECT "Title" FROM table_52754 WHERE "Time" = '3:22'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What title runs for 3:22?It is not neccessary to use all the tables.
|
SELECT race_caller FROM table_22583466_5 WHERE year = 1978
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who called the race in 1978?It is not neccessary to use all the tables.
|
SELECT team FROM table_name_14 WHERE sponsor = "w.h. bolin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What team is sponsored by w.h. bolin?It is not neccessary to use all the tables.
|
SELECT Regular Season Champion(s) FROM table WHERE Year = 1943–44
|
CREATE TABLE INST, Here is a database schema( table schema);
|
WHich Regular Season Champions has a Year of 1943–44?.It is not neccessary to use all the tables.
|
SELECT winner FROM table_name_4 WHERE fis_nordic_world_ski_championships = "1972"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who won the FIS Nordic World Ski Championships in 1972?It is not neccessary to use all the tables.
|
SELECT round FROM table_name_66 WHERE position = "sf/sg" AND year > 1965 AND player = "sly williams"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What round is sf/sg player sly williams from a year after 1965 from?It is not neccessary to use all the tables.
|
SELECT COUNT(wins) FROM table_name_77 WHERE top_5 < 2 AND events = 19
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was Miller Barber wins with Top-5 less than 2 and 19 Events?It is not neccessary to use all the tables.
|
SELECT home_team AS score FROM table_name_27 WHERE venue = "victoria park"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the home team's score at Victoria Park?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_88 WHERE week > 14 AND game_site = "lincoln financial field" AND time__et_ = "8:30"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who did they play at lincoln financial field at 8:30 (ET) after week 14?It is not neccessary to use all the tables.
|
SELECT "Surface" FROM table_59449 WHERE "Partner" = 'ruxandra dragomir'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What surface did Ruxandra Dragomir play on?It is not neccessary to use all the tables.
|
SELECT rounds FROM table_name_98 WHERE entrant = "david brown corporation" AND driver = "roy salvadori"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What rounds did Roy Salvadori drive for David Brown Corporation?It is not neccessary to use all the tables.
|
SELECT MIN Total FROM table WHERE Nation = west germany AND Rank = 20 AND Figures < 74.85
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the lowest total score among skaters from West Germany with a rank of 20 and a figure skating score less than 74.85?.It is not neccessary to use all the tables.
|
SELECT Margin of victory FROM table WHERE Tournament = german masters
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the margin of victory for Olazabal in the German Masters?.It is not neccessary to use all the tables.
|
SELECT SUM Date FROM table WHERE Tournament = paris indoor , france
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the date of Tournament of paris indoor , france?.It is not neccessary to use all the tables.
|
SELECT Producer FROM table WHERE Director = erik matti
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Director Erik Matti's Producer?.It is not neccessary to use all the tables.
|
SELECT COUNT(college) FROM table_16575609_5 WHERE pick__number = 36
|
CREATE TABLE INST, Here is a database schema( table schema);
|
How many colleges did the player drafted at 36 attend?It is not neccessary to use all the tables.
|
SELECT MIN Lost FROM table WHERE Difference = 9 AND Drawn < 3
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the fewest lost with a difference of 9 and a less than 3 drawn?.It is not neccessary to use all the tables.
|
SELECT MAX(_number) FROM table_25118909_3 WHERE former_school = "Notre Dame Prep"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the most number for notre dame prepIt is not neccessary to use all the tables.
|
SELECT SZDSZ FROM table WHERE Jobbik = 5% AND Fidesz = 68%
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?.It is not neccessary to use all the tables.
|
SELECT attendance FROM table_name_34 WHERE opponent = "oakland raiders"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the attendance of the Oakland Raiders game?It is not neccessary to use all the tables.
|
SELECT school_club_team FROM table_name_93 WHERE player = "michael stewart"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is Michael Stewart's school or club team?It is not neccessary to use all the tables.
|
SELECT portfolio_attachment FROM table_name_47 WHERE age_at_appointment = 48 AND chinese_name = "梁鳳儀"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀?It is not neccessary to use all the tables.
|
SELECT COUNT(1961) FROM table_name_15 WHERE number_1971 = 3325 AND 1991 > 3177
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the 1961 total of the Macedonian population with a 1971 number of 3325 and a 1991 value greater than 3177?It is not neccessary to use all the tables.
|
SELECT Time ( ET ) FROM table WHERE Location = three rivers stadium AND Opponent = detroit lions
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What time did the game featuring the Detroit Lions at Three Rivers Stadium occur?.It is not neccessary to use all the tables.
|
SELECT MAX Crowd FROM table WHERE Venue = junction oval
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the highest attendance at Junction Oval?.It is not neccessary to use all the tables.
|
SELECT result FROM table_1341586_19 WHERE district = "Louisiana 2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
what's the result with district being louisiana 2It is not neccessary to use all the tables.
|
SELECT railway_number_s_ FROM table_name_3 WHERE class = "aw"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the railway number of the aw class?It is not neccessary to use all the tables.
|
SELECT Rank FROM table WHERE Year opened = 1959 AND State = pennsylvania
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the rank for the year opened in 1959 in Pennsylvania?.It is not neccessary to use all the tables.
|
SELECT COUNT(grid) FROM table_name_17 WHERE laps > 27
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the total grid number with laps that are larger than 27?It is not neccessary to use all the tables.
|
SELECT Status FROM table WHERE Notes = primitive confuciusornithid .
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Status of primitive confuciusornithid .?.It is not neccessary to use all the tables.
|
SELECT Writer(s) FROM table WHERE Arties disguises = Swedish sailor
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the writers for swedish sailor.It is not neccessary to use all the tables.
|
SELECT score FROM table_name_72 WHERE game = 37
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the score of game 37?It is not neccessary to use all the tables.
|
SELECT date FROM table_name_76 WHERE bills_first_downs < 28 AND opponent = "oakland raiders"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which date did the oakland raiders play as the opponent when the Bills first downs were under 28?It is not neccessary to use all the tables.
|
SELECT Venue FROM table WHERE State = indiana AND Host = purdue university
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What venue is located in Indiana and hosted at Purdue University?.It is not neccessary to use all the tables.
|
SELECT Home team score FROM table WHERE Home team = richmond
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was Richmond's score as the home team?.It is not neccessary to use all the tables.
|
SELECT kk___5 FROM table_name_38 WHERE kk___3 = "310"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is KK -5 if KK - 3 is 310?It is not neccessary to use all the tables.
|
SELECT opponents_in_the_final FROM table_name_37 WHERE partnering = "bruno soares" AND surface = "clay" AND date = "august 1, 2010"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who did Bruno Soares and a partner face in the finals on a clay surface on August 1 2010?It is not neccessary to use all the tables.
|
SELECT group FROM table_name_49 WHERE population = "0" AND island = "muckle green holm"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What group on the island of Muckle Green Holm has a population of 0?It is not neccessary to use all the tables.
|
SELECT COUNT(episode_number) FROM table_1590967_6 WHERE coat_of_cash_wearing_celebrity = "Matt Di Angelo"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Name the total number of episodes for coat of cash wearing celebrity is matt di angeloIt is not neccessary to use all the tables.
|
SELECT away_team FROM table_name_66 WHERE home_team = "st kilda"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which away team played against the home team of St Kilda?It is not neccessary to use all the tables.
|
SELECT SUM("Game") FROM table_48877 WHERE "Points" < '30'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the sum of the game numbers for games with less than 30 points?It is not neccessary to use all the tables.
|
SELECT capacity FROM table_name_37 WHERE class = "4c3h"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which capacity has the class 4c3h?It is not neccessary to use all the tables.
|
SELECT Operating System FROM table WHERE WebKit version = 525.29.1
|
CREATE TABLE INST, Here is a database schema( table schema);
|
List all OS's with a webkit version of 525.29.1..It is not neccessary to use all the tables.
|
SELECT Director FROM table WHERE Title = tequila
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who directed Tequila?.It is not neccessary to use all the tables.
|
SELECT MAX Overall FROM table WHERE Position = k AND Pick < 28
|
CREATE TABLE INST, Here is a database schema( table schema);
|
If the pick is under 28 and the position is k, what's the highest Overall pick?.It is not neccessary to use all the tables.
|
SELECT MIN(vehicles__per_1000__d) FROM table_name_14 WHERE agri_culture_b > 12.6
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Agri culture b larger than 12.6 what is the lowest vehicles per 1000?It is not neccessary to use all the tables.
|
SELECT opponent FROM table_name_55 WHERE record = "4-2"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which opponent has a record of 4-2?It is not neccessary to use all the tables.
|
SELECT exited FROM table_name_18 WHERE celebrity = "lucy benjamin"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
When did lucy benjamin exit?It is not neccessary to use all the tables.
|
SELECT AVG(round) FROM table_name_12 WHERE nhl_team = "edmonton oilers" AND player = "vyacheslav trukhno"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Round has a NHL team of edmonton oilers and a Player of vyacheslav trukhno?It is not neccessary to use all the tables.
|
SELECT year FROM table_name_36 WHERE championship = "peter jackson classic"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which year was the peter jackson classic?It is not neccessary to use all the tables.
|
SELECT high_points FROM table_17323092_8 WHERE game = 69
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who earned high points in game 69?It is not neccessary to use all the tables.
|
SELECT Date FROM table WHERE Score = postponed (rain) rescheduled for august 7
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What date has postponed (rain) rescheduled for august 7 as the score?.It is not neccessary to use all the tables.
|
SELECT week FROM table_24814477_2 WHERE opponent = "Amsterdam Admirals"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What week did the Galaxy play the Amsterdam Admirals?It is not neccessary to use all the tables.
|
SELECT record FROM table_name_11 WHERE location = "boston garden" AND date = "wed. dec. 5"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was their record on Wed. Dec. 5 when they played in Boston Garden?It is not neccessary to use all the tables.
|
SELECT Team FROM table WHERE Laps = 5
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Team with a Lap that is 5?.It is not neccessary to use all the tables.
|
SELECT MAX(series__number) FROM table_26808178_3 WHERE us_viewers__millions_ = "0.645"
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which series # had 0.645 U.S. viewers(millions)?It is not neccessary to use all the tables.
|
SELECT Record FROM table WHERE Attendance = 10,389
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What was the record at the game attended by 10,389?.It is not neccessary to use all the tables.
|
SELECT Home team score FROM table WHERE Away team score = 5.9 (39)
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Who was the home team when the away team scored 5.9 (39)?.It is not neccessary to use all the tables.
|
SELECT MAX(stu_gpa), AVG(stu_gpa), MIN(stu_gpa), dept_code FROM student GROUP BY dept_code
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Find the max average and minimum gpa of all students in each department.It is not neccessary to use all the tables.
|
SELECT college FROM table_name_20 WHERE round__number = 290
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the College with a Round # that is 290?It is not neccessary to use all the tables.
|
SELECT Project Name FROM table WHERE Country = kazakhstan AND Peak = 150
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What is the Project Name with a Country that is kazakhstan and a Peak that is 150?.It is not neccessary to use all the tables.
|
SELECT Place FROM table WHERE Country = united states AND Player = raymond floyd
|
CREATE TABLE INST, Here is a database schema( table schema);
|
What did United States place when the player was Raymond Floyd?.It is not neccessary to use all the tables.
|
SELECT "Position" FROM table_47833 WHERE "Round" > '7' AND "Name" = 'wayne asberry'
|
CREATE TABLE INST, Here is a database schema( table schema);
|
Which Position has a Round larger than 7, and a Name of wayne asberry?It is not neccessary to use all the tables.
|
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'deep learning' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid
|
CREATE TABLE INST, Here is a database schema( table schema);
|
papers about deep learningIt 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.