sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT Head Coach FROM table WHERE Location = mudgeeraba | CREATE TABLE INST, Here is a database schema( table schema); | Who is the head coach of the team located in Mudgeeraba?.It is not neccessary to use all the tables. |
SELECT "Language(s)" FROM table_24738 WHERE "Film title used in nomination" = 'Late Bloomers' | CREATE TABLE INST, Here is a database schema( table schema); | What was the language for the movie 'Late Bloomers'?It is not neccessary to use all the tables. |
SELECT MAX Crude death rate (per 1000) FROM table WHERE Natural change (per 1000) < -1 AND Crude birth rate (per 1000) < 10.5 AND Deaths = 102 400 | CREATE TABLE INST, Here is a database schema( table schema); | Natural change (per 1000) smaller than -1, and a Crude birth rate (per 1000) smaller than 10.5, and a Deaths of 102 400 has what highest crude death rate per 1000?.It is not neccessary to use all the tables. |
SELECT COUNT(points) FROM table_12807904_5 WHERE points_against = "389" | CREATE TABLE INST, Here is a database schema( table schema); | What amount of points where points were 389?It is not neccessary to use all the tables. |
SELECT Type FROM table WHERE Category = mouse AND Attribute = ondblclick | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the type for category of mouse and attribute of ondblclick.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Week > 6 AND Attendance = bye | CREATE TABLE INST, Here is a database schema( table schema); | What date after Week 6 was a Bye?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_58 WHERE date = "august 17" | CREATE TABLE INST, Here is a database schema( table schema); | Which score has a Date of august 17?It is not neccessary to use all the tables. |
SELECT Result FROM table WHERE Original title = qala | CREATE TABLE INST, Here is a database schema( table schema); | What is Result, when Original Title is "Qala"?.It is not neccessary to use all the tables. |
SELECT title FROM table_name_29 WHERE box_office = "$1,659,542" | CREATE TABLE INST, Here is a database schema( table schema); | What movie earned $1659542 at the box office?It is not neccessary to use all the tables. |
SELECT races FROM table_name_36 WHERE poles = "test driver" AND team_name = "lucky strike honda racing f1 team" | CREATE TABLE INST, Here is a database schema( table schema); | Which race has a pole of test driver and a team name of Lucky Strike Honda Racing f1 team?It is not neccessary to use all the tables. |
SELECT Event FROM table WHERE Name = rastislav turecek | CREATE TABLE INST, Here is a database schema( table schema); | What event did Rastislav Turecek participate in?.It is not neccessary to use all the tables. |
SELECT SUM(attendance) FROM table_name_16 WHERE score = "8–7" | CREATE TABLE INST, Here is a database schema( table schema); | What was the attendance when the score was 8 7?It is not neccessary to use all the tables. |
SELECT "FA Cup Apps" FROM table_62698 WHERE "League Cup Goals" = '0' AND "Total Apps" = '43' | CREATE TABLE INST, Here is a database schema( table schema); | What is the fa cup apps with 0 league cup goals, and a total of 43 apps?It is not neccessary to use all the tables. |
SELECT Winning driver FROM table WHERE Circuit = saint-raphaël | CREATE TABLE INST, Here is a database schema( table schema); | What kind of the Winning driver has a Circuit of saint-raphaël?.It is not neccessary to use all the tables. |
SELECT "event" FROM table_204_760 WHERE "event" IN ('10,000 m', '5000 m') GROUP BY "event" ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | which event is listed more between the 10,000 m and the 5000m ?It is not neccessary to use all the tables. |
SELECT revising convention(s) FROM table WHERE Field = trimmers and stokers | CREATE TABLE INST, Here is a database schema( table schema); | What was the revising convention of the field 'trimmers and stokers'?.It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Date = 03/18/08 | CREATE TABLE INST, Here is a database schema( table schema); | What team was the opponent on 03/18/08?.It is not neccessary to use all the tables. |
SELECT Loss FROM table WHERE Record = 11-6 | CREATE TABLE INST, Here is a database schema( table schema); | Which team has the record of 11-6?.It is not neccessary to use all the tables. |
SELECT Platform FROM table WHERE Software = GeWorkbench | CREATE TABLE INST, Here is a database schema( table schema); | What is the platform of Geworkbench?.It is not neccessary to use all the tables. |
SELECT report FROM table_name_82 WHERE date = "6 may" | CREATE TABLE INST, Here is a database schema( table schema); | Name the report for 6 mayIt is not neccessary to use all the tables. |
SELECT Position FROM table WHERE Pick # = 125 | CREATE TABLE INST, Here is a database schema( table schema); | What position(s) did the player(s) with a pick number of 125 play?.It is not neccessary to use all the tables. |
SELECT Round FROM table WHERE Surface = hard AND Opponent = jelena simic | CREATE TABLE INST, Here is a database schema( table schema); | What's Round has a Surface of hard and Opponent of Jelena Simic?.It is not neccessary to use all the tables. |
SELECT "Report" FROM table_53311 WHERE "Winning driver" = 'louis wagner' | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the report with winner of louis wagnerIt is not neccessary to use all the tables. |
SELECT COUNT From FROM table WHERE Thirds = 2 AND Until = 2002 | CREATE TABLE INST, Here is a database schema( table schema); | How many in the From category had thirds of exactly 2 and an Until stat of 2002?.It is not neccessary to use all the tables. |
SELECT Label FROM table WHERE Format = compact disc AND Region = united kingdom | CREATE TABLE INST, Here is a database schema( table schema); | What label is formatted as compact disc and has United Kingdom as its region?.It is not neccessary to use all the tables. |
SELECT Set 2 FROM table WHERE Score = 3-0 AND Date = may 11 AND Set 1 = 25-20 | CREATE TABLE INST, Here is a database schema( table schema); | What is Set 2, when Score is 3-0, when Date is May 11, and when Set 1 is 25-20?.It is not neccessary to use all the tables. |
SELECT SUM Shirt No FROM table WHERE Birth Date = 8 november 1980 AND Weight < 93 | CREATE TABLE INST, Here is a database schema( table schema); | Birth Date of 8 November 1980, and a Weight smaller than 93 has what sum of a shirt number?.It is not neccessary to use all the tables. |
SELECT Years FROM table WHERE Jersey Number(s) = 21 AND Position = sg | CREATE TABLE INST, Here is a database schema( table schema); | What is Years, when Jersey Number(s) is 21, and when Position is SG?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Game = game 1 | CREATE TABLE INST, Here is a database schema( table schema); | On what date was Game 1?.It is not neccessary to use all the tables. |
SELECT The Icelandic of the glossary FROM table WHERE Word number = 218 | CREATE TABLE INST, Here is a database schema( table schema); | Name the incelandic of the glossary for 218.It is not neccessary to use all the tables. |
SELECT MIN(year_completed) FROM table_name_31 WHERE dam_type = "concrete gravity" AND impounded_body_of_water = "deep creek reservoir" | CREATE TABLE INST, Here is a database schema( table schema); | Which Year completed has a Dam type of concrete gravity and an Impounded body of water of deep creek reservoir?It is not neccessary to use all the tables. |
SELECT H / A FROM table WHERE Opponents = oldham athletic AND Round = semi-final | CREATE TABLE INST, Here is a database schema( table schema); | What is the H/A in the semi-final round where oldham athletic were the opponents?.It is not neccessary to use all the tables. |
SELECT Home ground(s) FROM table WHERE Name = melville cricket club | CREATE TABLE INST, Here is a database schema( table schema); | What's the Home ground(s) listed for the Name Melville Cricket Club?.It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Week = 14 | CREATE TABLE INST, Here is a database schema( table schema); | Which Opponent had a week of 14?.It is not neccessary to use all the tables. |
SELECT Skip FROM table WHERE Third = martina baumann | CREATE TABLE INST, Here is a database schema( table schema); | What skip has martina baumann as the third?.It is not neccessary to use all the tables. |
SELECT rider_status FROM table_name_77 WHERE team_country = "netherlands" AND year = 1971 | CREATE TABLE INST, Here is a database schema( table schema); | What is the rider status for the 1971 netherlands team?It is not neccessary to use all the tables. |
SELECT Winner FROM table WHERE Location = clemson, sc AND Date = november 17, 2012 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Winner, when the Location is Clemson, SC, and when the Date is November 17, 2012?.It is not neccessary to use all the tables. |
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY SUM(DEPARTMENT_ID) | CREATE TABLE INST, Here is a database schema( table schema); | For all employees who have the letters D or S in their first name, show me about the distribution of job_id and the sum of department_id , and group by attribute job_id in a bar chart, and sort by the total number in asc.It is not neccessary to use all the tables. |
SELECT joined FROM table_11658094_3 WHERE location = "Mars Hill, North Carolina" | CREATE TABLE INST, Here is a database schema( table schema); | What year did the school from mars hill north carolina join?It is not neccessary to use all the tables. |
SELECT Tag Team FROM table WHERE Time = 03:34 | CREATE TABLE INST, Here is a database schema( table schema); | Name the Tag Team with a Time of 03:34?.It is not neccessary to use all the tables. |
SELECT visitor FROM table_name_15 WHERE series = "2 – 1" | CREATE TABLE INST, Here is a database schema( table schema); | Which Visitor has a Series of 2 – 1?It is not neccessary to use all the tables. |
SELECT COUNT Races FROM table WHERE Poles > 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of Races with a Pole that is larger than 0?.It is not neccessary to use all the tables. |
SELECT AVG Round FROM table WHERE Pick # < 236 AND Position = offensive guard | CREATE TABLE INST, Here is a database schema( table schema); | what is the round when the pick # is less than 236 and the position is offensive guard?.It is not neccessary to use all the tables. |
SELECT MIN After FROM table WHERE Player = Adam Scott | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest after when the player is adam scott?.It is not neccessary to use all the tables. |
SELECT To par FROM table WHERE Place = 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the To par of the Place 1 Player?.It is not neccessary to use all the tables. |
SELECT Final Score FROM table WHERE Week = 3 | CREATE TABLE INST, Here is a database schema( table schema); | What was the final score in week 3 ?.It is not neccessary to use all the tables. |
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(MANAGER_ID) | CREATE TABLE INST, Here is a database schema( table schema); | For those employees who was hired before 2002-06-21, a bar chart shows the distribution of hire_date and the sum of manager_id bin hire_date by time, list Y-axis in asc order.It is not neccessary to use all the tables. |
SELECT Points FROM table WHERE Skipper = james allen | CREATE TABLE INST, Here is a database schema( table schema); | What points has james allen as the skipper?.It is not neccessary to use all the tables. |
SELECT Time/Retired FROM table WHERE Laps > 63 AND Grid = 20 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the time/retired for Laps larger than 63 and has a grid of 20.It is not neccessary to use all the tables. |
SELECT MAX Pick FROM table WHERE School/Club Team = arkansas | CREATE TABLE INST, Here is a database schema( table schema); | What was the highest pick for a player from a school or club team of Arkansas?.It is not neccessary to use all the tables. |
SELECT "Laps" FROM table_78318 WHERE "Grid" = '21' | CREATE TABLE INST, Here is a database schema( table schema); | How many laps were there in grid 21?It is not neccessary to use all the tables. |
SELECT Years FROM table WHERE Name = dannevirke south school | CREATE TABLE INST, Here is a database schema( table schema); | Name the years for dannevirke south school.It is not neccessary to use all the tables. |
SELECT Android FROM table WHERE Windows = 1.15% | CREATE TABLE INST, Here is a database schema( table schema); | What is the percentage of Android use when Windows is 1.15%?.It is not neccessary to use all the tables. |
SELECT COUNT Rank FROM table WHERE Earnings ( $ ) > 1,627,890 | CREATE TABLE INST, Here is a database schema( table schema); | What is the rank for the player with over $1,627,890?.It is not neccessary to use all the tables. |
SELECT Director FROM table WHERE English title = The Witman Boys | CREATE TABLE INST, Here is a database schema( table schema); | Who is the director for the witman boys?.It is not neccessary to use all the tables. |
SELECT Summer Team FROM table WHERE College = St. John's AND Player = James Lomangino | CREATE TABLE INST, Here is a database schema( table schema); | What suumer team was James Lomangino from St. John's on?.It is not neccessary to use all the tables. |
SELECT Club FROM table WHERE 2007–08 season = 12th in serie c2/c | CREATE TABLE INST, Here is a database schema( table schema); | Who was the club when during the 2007-08 season had 12th in serie c2/c?.It is not neccessary to use all the tables. |
SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7" | CREATE TABLE INST, Here is a database schema( table schema); | Which suzuki gsx-r1000 k7 has the highest time of retirement?It is not neccessary to use all the tables. |
SELECT Nationality FROM table WHERE Player = mattias modig | CREATE TABLE INST, Here is a database schema( table schema); | What is the nationality of Mattias Modig?.It is not neccessary to use all the tables. |
SELECT MIN MDR No. FROM table WHERE Name of Road = Rait Charhi Dharamshala | CREATE TABLE INST, Here is a database schema( table schema); | What is the MDR number of Rait Charhi Dharamshala?.It is not neccessary to use all the tables. |
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Reinforcement Learning' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid | CREATE TABLE INST, Here is a database schema( table schema); | What papers talk about Reinforcement Learning ?It is not neccessary to use all the tables. |
SELECT location FROM table_1211545_2 WHERE name = "Carousel Toll Plaza" | CREATE TABLE INST, Here is a database schema( table schema); | What is the location of the Carousel toll plaza?It is not neccessary to use all the tables. |
SELECT "Celebrity" FROM table_33856 WHERE "Finished" = '7th' | CREATE TABLE INST, Here is a database schema( table schema); | Who was the celebrity who finished in 7th place?It is not neccessary to use all the tables. |
SELECT Time FROM table WHERE Notes = sa/b AND Country = great britain | CREATE TABLE INST, Here is a database schema( table schema); | What is the Time of the Great Britain players with Notes of SA/B?.It is not neccessary to use all the tables. |
SELECT SUM Pleasure FROM table WHERE Drug = lsd AND Psychological dependence > 1.1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of Pleasure, when Drug is "LSD", and when Psychological Dependence is greater than 1.1?.It is not neccessary to use all the tables. |
SELECT Party FROM table WHERE Results = re-elected AND District = louisiana 5 | CREATE TABLE INST, Here is a database schema( table schema); | What is Party, when Results is "Re-Elected", and when District is "Louisiana 5"?.It is not neccessary to use all the tables. |
SELECT 3 AS rd FROM table_1310499_1 WHERE input_splines = 26 AND tag_id = "1386-000-017" | CREATE TABLE INST, Here is a database schema( table schema); | What is the 3rd ratio for tag number 1386-000-017 and input splines of 26?It is not neccessary to use all the tables. |
SELECT city FROM table_name_25 WHERE airport = "jaffna airport" | CREATE TABLE INST, Here is a database schema( table schema); | What city is Jaffna Airport in?It is not neccessary to use all the tables. |
SELECT MAX(season) FROM table_name_3 WHERE wins = 1 AND position = "8th" | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest season wth a Win of 1 and a Position that is 8th?It is not neccessary to use all the tables. |
SELECT venue FROM table_name_32 WHERE opponents = "queens park rangers" | CREATE TABLE INST, Here is a database schema( table schema); | What venue held that game against the Queens Park Rangers?It is not neccessary to use all the tables. |
SELECT SUM(played) FROM table_name_34 WHERE points = 15 | CREATE TABLE INST, Here is a database schema( table schema); | How many games were played where exactly 15 points were scored?It is not neccessary to use all the tables. |
SELECT incumbent FROM table_1341897_45 WHERE first_elected = 1936 | CREATE TABLE INST, Here is a database schema( table schema); | Which incumbent was first elected in 1936?It is not neccessary to use all the tables. |
SELECT Result FROM table WHERE Attendance = 1,634 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Result when the Attendance is 1,634?.It is not neccessary to use all the tables. |
SELECT Place FROM table WHERE Aggregate = 35 | CREATE TABLE INST, Here is a database schema( table schema); | What was the place for the celebrity whose aggregate was 35? .It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE Rank = 1 | CREATE TABLE INST, Here is a database schema( table schema); | Which player has rank 1?.It is not neccessary to use all the tables. |
SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-65311')) ORDER BY treatment.treatmenttime DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | what did patient 004-65311 receive for his or her last procedure?It is not neccessary to use all the tables. |
SELECT laps FROM table_name_51 WHERE time_retired = "+23.080" | CREATE TABLE INST, Here is a database schema( table schema); | How many laps have a time/retired of +23.080?It is not neccessary to use all the tables. |
SELECT Away FROM table WHERE Competition = uefa champions league | CREATE TABLE INST, Here is a database schema( table schema); | What is the away team of the UEFA champions league?.It is not neccessary to use all the tables. |
SELECT "Date" FROM table_24204 WHERE "Record" = '6-0' | CREATE TABLE INST, Here is a database schema( table schema); | How many opponents were there when the record was 6-0?It is not neccessary to use all the tables. |
SELECT home_team FROM table_name_80 WHERE away_team = "blackpool" | CREATE TABLE INST, Here is a database schema( table schema); | What home team has blackpool as the away team?It is not neccessary to use all the tables. |
SELECT Date of birth FROM table WHERE Years at club = 1951 | CREATE TABLE INST, Here is a database schema( table schema); | What is the birthday of the player who has Years at Club of 1951?.It is not neccessary to use all the tables. |
SELECT webcast FROM table_name_54 WHERE website = "ktrh.com" | CREATE TABLE INST, Here is a database schema( table schema); | The KTRH.com website includes which type of webcast?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Date = October 17 | CREATE TABLE INST, Here is a database schema( table schema); | What was the record on October 17?.It is not neccessary to use all the tables. |
SELECT MIN("Wins") FROM table_37141 WHERE "Events" > '30' | CREATE TABLE INST, Here is a database schema( table schema); | Which Wins is the lowest one that has Events larger than 30?It is not neccessary to use all the tables. |
SELECT venue FROM table_name_98 WHERE competition = "friendly" AND result = "2–3" | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the venue when the competition was friendly with a Result of 2–3?It is not neccessary to use all the tables. |
SELECT 2005 FROM table WHERE 2006 = 126,511 | CREATE TABLE INST, Here is a database schema( table schema); | Which 2005 has a 2006 of 126,511?.It is not neccessary to use all the tables. |
SELECT character FROM table_name_68 WHERE category = "favourite naya sadasya" | CREATE TABLE INST, Here is a database schema( table schema); | Which Character has a Category of favourite naya sadasya?It is not neccessary to use all the tables. |
SELECT score FROM table_name_3 WHERE home_team = "wigan athletic" | CREATE TABLE INST, Here is a database schema( table schema); | What is the score of the wigan athletic home team?It is not neccessary to use all the tables. |
SELECT "Song Choice" FROM table_29652 WHERE "Theme" = 'Samba' | CREATE TABLE INST, Here is a database schema( table schema); | What was Barreto's song choice when the theme was samba?It is not neccessary to use all the tables. |
SELECT opponent FROM table_27537870_5 WHERE record = "10-13-3" | CREATE TABLE INST, Here is a database schema( table schema); | Name the opponent for record 10-13-3It is not neccessary to use all the tables. |
SELECT AVG(long) FROM table_name_72 WHERE gain = 1581 AND loss < 308 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average long that has 1581 as a gain, with a loss less than 308?It is not neccessary to use all the tables. |
SELECT Round FROM table WHERE Method = tko (cut) | CREATE TABLE INST, Here is a database schema( table schema); | What round did the match go to when tko (cut) was the method?.It is not neccessary to use all the tables. |
SELECT Competition FROM table WHERE Venue = away AND Opponent = bracknell bees | CREATE TABLE INST, Here is a database schema( table schema); | When the venue is away and the opponents are the bracknell bees, what is the competition?.It is not neccessary to use all the tables. |
SELECT production_code FROM table_24649082_1 WHERE written_by = "J. H. Wyman & Jeff Pinkner" | CREATE TABLE INST, Here is a database schema( table schema); | What is the production code for the episode written by J. H. Wyman & Jeff Pinkner?It is not neccessary to use all the tables. |
SELECT location FROM table_name_58 WHERE power__kw_ = "10kw" AND branding = "mom's radio 95.9 naga" | CREATE TABLE INST, Here is a database schema( table schema); | What's the location of Mom's Radio 95.9 Naga having a power of 10kw?It is not neccessary to use all the tables. |
SELECT COUNT Attendance FROM table WHERE Date = november 3, 1968 AND Week < 8 | CREATE TABLE INST, Here is a database schema( table schema); | What was the attendance on November 3, 1968, that was a week smaller than 8?.It is not neccessary to use all the tables. |
SELECT COUNT(steals) FROM table_24906653_5 WHERE blocks = 1 | CREATE TABLE INST, Here is a database schema( table schema); | List the number of takeaways with 1 rejection.It is not neccessary to use all the tables. |
SELECT record FROM table_name_79 WHERE opponent = "pittsburgh pirates" AND date = "may 5" | CREATE TABLE INST, Here is a database schema( table schema); | Which Record has an Opponent of pittsburgh pirates and a Date of may 5?It is not neccessary to use all the tables. |
SELECT COUNT(failures) FROM table_name_76 WHERE country = "russia" AND family = "r14 r-14" AND partial_failures < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of failure for the country of Russia and a Family of r14 r-14 and a Partial failures smaller than 0?It is not neccessary to use all the tables. |
SELECT date FROM table_name_15 WHERE away_team = "burton albion" | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE DATE WITH AN AWAY TEAM OF BURTON ALBION?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.