sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT "Wins" FROM table_67069 WHERE "Series" = 'gp2 series' AND "Season" < '2009' | CREATE TABLE INST, Here is a database schema( table schema); | What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009?It is not neccessary to use all the tables. |
SELECT date FROM table_name_58 WHERE away_team = "south melbourne" | CREATE TABLE INST, Here is a database schema( table schema); | What is the date of the game where South Melbourne was the away team?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE To par = +4 AND Player = andy bean | CREATE TABLE INST, Here is a database schema( table schema); | With a To par of +4, what is Andy Bean's Score?.It is not neccessary to use all the tables. |
SELECT facility FROM table_25346763_1 WHERE year_opened = "1954" | CREATE TABLE INST, Here is a database schema( table schema); | What facility opening in 1954?It is not neccessary to use all the tables. |
SELECT school FROM table_name_75 WHERE conference_joined = "northeast corner" AND mascot = "blazers" | CREATE TABLE INST, Here is a database schema( table schema); | Which school has a mascot of the Blazers and in the Northeast Corner conference?It is not neccessary to use all the tables. |
SELECT AVG Rank FROM table WHERE City = mashhad AND 1976 < 667770 | CREATE TABLE INST, Here is a database schema( table schema); | What is teh average rank of the city of mashhad, which had less than 667770 in 1976?.It is not neccessary to use all the tables. |
SELECT MAX L2 Cache (MB) FROM table | CREATE TABLE INST, Here is a database schema( table schema); | What's the maximal L3 cache for any of the models given?.It is not neccessary to use all the tables. |
SELECT MAX(sd) FROM table_26218783_7 WHERE status = "Second round lost to Iveta Benešová" | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest sd when the status is second round lost to iveta benešová?It is not neccessary to use all the tables. |
SELECT Stadium FROM table WHERE Visiting team = denver broncos | CREATE TABLE INST, Here is a database schema( table schema); | What stadium did the Denver Broncos visit?.It is not neccessary to use all the tables. |
SELECT nationality FROM table_name_4 WHERE school_club_team = "ucla" | CREATE TABLE INST, Here is a database schema( table schema); | What is the nationality of the player from UCLA?It is not neccessary to use all the tables. |
SELECT result FROM table_name_43 WHERE week > 6 AND opponent = "buffalo bills" | CREATE TABLE INST, Here is a database schema( table schema); | What is the result when the week is greater than 6 and the Buffalo Bills are the opponent?It is not neccessary to use all the tables. |
SELECT Partner FROM table WHERE Score in the final = 6–4, 6–1 | CREATE TABLE INST, Here is a database schema( table schema); | what partner made the scores 6–4, 6–1?.It is not neccessary to use all the tables. |
SELECT studio FROM table_11222744_2 WHERE catalog_number = "81258" | CREATE TABLE INST, Here is a database schema( table schema); | where catalog number is 81258 what are all the studio ?It is not neccessary to use all the tables. |
SELECT replaced_by FROM table_name_64 WHERE team = "racing santander" | CREATE TABLE INST, Here is a database schema( table schema); | Name the replaced by for racing santanderIt is not neccessary to use all the tables. |
SELECT Runner-up FROM table WHERE Venue = pocking AND Year = 1980 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the runner-up in 1980 at the Pocking venue?.It is not neccessary to use all the tables. |
SELECT "Name origin" FROM table_72809 WHERE "Longitude" = '71.1E' | CREATE TABLE INST, Here is a database schema( table schema); | At a latitude of 71.1e, what is the feature's name origin?It is not neccessary to use all the tables. |
SELECT Mens doubles FROM table WHERE Womens doubles = Helen Reino Kai-Riin Saluste | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE NAME OF THE MENS DOUBLES PLAYER WHEN THE WOMENS DOUBLES PLAYER IS HELEN REINO KAI-RIIN SALUSTE?.It is not neccessary to use all the tables. |
SELECT COUNT No. in season FROM table WHERE Directed by = Jeremy Podeswa | CREATE TABLE INST, Here is a database schema( table schema); | How many episodes in the season were directed by Jeremy Podeswa?.It is not neccessary to use all the tables. |
SELECT Cost ( US$ ) FROM table WHERE Open source = no | CREATE TABLE INST, Here is a database schema( table schema); | What is the cost of an Open Source that is no?.It is not neccessary to use all the tables. |
SELECT Wednesday FROM table WHERE Day 3 = math | CREATE TABLE INST, Here is a database schema( table schema); | What is the Wednesday when day 3 is math?.It is not neccessary to use all the tables. |
SELECT COUNT(total_penalties) FROM table_18666752_3 WHERE rider = "Eric Vigeanel" | CREATE TABLE INST, Here is a database schema( table schema); | How many penalties are there when Eric Vigeanel is the rider?It is not neccessary to use all the tables. |
SELECT COUNT Snatch FROM table WHERE Total < 267.5 | CREATE TABLE INST, Here is a database schema( table schema); | How many snatches were there with a total of 267.5?.It is not neccessary to use all the tables. |
SELECT uk_chart FROM table_name_84 WHERE artist = "scott fitzgerald" | CREATE TABLE INST, Here is a database schema( table schema); | Where did Scott Fitzgerald rank on the UK charts?It is not neccessary to use all the tables. |
SELECT T1.problem_description FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop" | CREATE TABLE INST, Here is a database schema( table schema); | Give me a list of descriptions of the problems that are reported by the staff whose first name is Christop.It is not neccessary to use all the tables. |
SELECT SUM(decile) FROM table_name_93 WHERE gender = "coed" AND authority = "state" AND name = "mount maunganui school" | CREATE TABLE INST, Here is a database schema( table schema); | How many deciles have a Gender of coed an Authority of state and a Name of mount maunganui school?It is not neccessary to use all the tables. |
SELECT "Date" FROM table_70231 WHERE "Year" > '1978' AND "Location" = 'memorial stadium (baltimore)' | CREATE TABLE INST, Here is a database schema( table schema); | What is the Date, when the Year is after 1978, and when the Location is Memorial Stadium (Baltimore)?It is not neccessary to use all the tables. |
SELECT Performance FROM table WHERE Test Standard = bs en779 AND Particulate size approaching 100% retention = >2µm AND Class = f6 | CREATE TABLE INST, Here is a database schema( table schema); | Which Performance has a Test Standard of bs en779, and a Particulate size approaching 100% retention of >2µm, and a Class of f6?.It is not neccessary to use all the tables. |
SELECT Original air date FROM table WHERE U.S. viewers (million) = 9.82 | CREATE TABLE INST, Here is a database schema( table schema); | What date got 9.82 million viewers?.It is not neccessary to use all the tables. |
SELECT race AS Winner FROM table_name_11 WHERE pole_position = "didier pironi" AND race = "canadian grand prix" | CREATE TABLE INST, Here is a database schema( table schema); | What Canadian Grand Prix race winner had Didier Pironi in Pole Position?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Surface = clay AND Partnering = júlio silva | CREATE TABLE INST, Here is a database schema( table schema); | Surface of clay, and a Partnering of júlio silva had what score?.It is not neccessary to use all the tables. |
SELECT AVG Genes FROM table WHERE Reference = 2009 AND Strain = rku-1 | CREATE TABLE INST, Here is a database schema( table schema); | what is the average genes when the reference is 2009 and the strain is rku-1?.It is not neccessary to use all the tables. |
SELECT DISTINCT q.Id AS "post_link", q.ViewCount, a.Score FROM Posts AS q INNER JOIN Posts AS a ON q.AcceptedAnswerId = a.Id WHERE a.OwnerUserId = '##UserId:int##' ORDER BY q.ViewCount DESC | CREATE TABLE INST, Here is a database schema( table schema); | Question View Count On my answers.It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Engine Make/Capacity = čz 171cc | CREATE TABLE INST, Here is a database schema( table schema); | In what country was the car with the čz 171cc engine?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Outcome = winner AND Opponents = dinah pfizenmaier anna zaja | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the date for dinah pfizenmaier anna zaja and winner.It is not neccessary to use all the tables. |
SELECT MIN Top-10 FROM table WHERE Top-25 = 6 AND Tournament = u.s. open AND Cuts made > 9 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest Top-10 when the Top-25 is 6, and a Tournament of u.s. open, and a Cut made larger than 9?.It is not neccessary to use all the tables. |
SELECT role_code FROM Employees GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the role code with the largest number of employees?It is not neccessary to use all the tables. |
SELECT runner_up FROM table_name_85 WHERE tier = "tier ii" AND winner = "gigi fernández natalia zvereva 6–2, 6–1" | CREATE TABLE INST, Here is a database schema( table schema); | When Gigi Fernández Natalia Zvereva 6–2 6–1 won who was the Tier II Runner-up?It is not neccessary to use all the tables. |
SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers" | CREATE TABLE INST, Here is a database schema( table schema); | What is the average attendance when the Forest Green Rovers is the away team?It is not neccessary to use all the tables. |
SELECT Played FROM table WHERE Points for = 310 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number Played that has 310 Points for?.It is not neccessary to use all the tables. |
SELECT MAX Mass (kg) FROM table WHERE Landing zone = tycho crater | CREATE TABLE INST, Here is a database schema( table schema); | What is the largest mass for Tycho Crater?.It is not neccessary to use all the tables. |
SELECT Southern Lakota FROM table WHERE Yankton-Yanktonai = wakȟáŋyeža | CREATE TABLE INST, Here is a database schema( table schema); | Name the southern lakota for wakȟáŋyeža.It is not neccessary to use all the tables. |
SELECT Name FROM table WHERE Type = 2-8-0 AND Number = 20 | CREATE TABLE INST, Here is a database schema( table schema); | What was the name for the locomotive with a type of 2-8-0 and a number of 20?.It is not neccessary to use all the tables. |
SELECT directed_by FROM table_name_55 WHERE written_by = "robin schwartz & robert tarlow" | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the director of the episode written by robin schwartz & robert tarlow?It is not neccessary to use all the tables. |
SELECT film FROM table_name_67 WHERE director_s_ = "hannah gal" | CREATE TABLE INST, Here is a database schema( table schema); | What is the film where Hannah Gal was the director?It is not neccessary to use all the tables. |
SELECT nationality FROM table_name_32 WHERE name = "hms cheshire" | CREATE TABLE INST, Here is a database schema( table schema); | What is the nationality of the HMS Cheshire?It is not neccessary to use all the tables. |
SELECT team_1 FROM table_name_20 WHERE team_2 = "karabakh" | CREATE TABLE INST, Here is a database schema( table schema); | What is the team 1 in the match with a team 2 of Karabakh?It is not neccessary to use all the tables. |
SELECT Drop FROM table WHERE Date = 08/06/2011 | CREATE TABLE INST, Here is a database schema( table schema); | What is the drop number on 08/06/2011?.It is not neccessary to use all the tables. |
SELECT MIN(decile) FROM table_name_78 WHERE authority = "state" AND area = "eketahuna" AND roll > 44 | CREATE TABLE INST, Here is a database schema( table schema); | Name the least decile for state authority and area of eketahuna with roll more than 44It is not neccessary to use all the tables. |
SELECT MSRP FROM table WHERE Storage = 128-512 gb ssd | CREATE TABLE INST, Here is a database schema( table schema); | What is the MSRP for the laptop with storage of 128-512 GB SSD?.It is not neccessary to use all the tables. |
SELECT Brigade FROM table WHERE Name = al-hamra ('arab al-hamra) | CREATE TABLE INST, Here is a database schema( table schema); | What is the brigade when Al-Hamra ('arab al-hamra) shows for name?.It is not neccessary to use all the tables. |
SELECT MAX No. FROM table | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest episode number?.It is not neccessary to use all the tables. |
SELECT races FROM table_name_47 WHERE points = "8" | CREATE TABLE INST, Here is a database schema( table schema); | How many races did he do in the year he had 8 points?It is not neccessary to use all the tables. |
SELECT TV Station FROM table WHERE Romaji Title = maou | CREATE TABLE INST, Here is a database schema( table schema); | Which TV station had a Romaji Title Maou?.It is not neccessary to use all the tables. |
SELECT T3.title FROM performance AS T1 JOIN band AS T2 ON T1.bandmate = T2.id JOIN songs AS T3 ON T3.songid = T1.songid WHERE T2.lastname = "Heilo" | CREATE TABLE INST, Here is a database schema( table schema); | Find all the songs performed by artist with last name 'HeiloIt is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Money ( $ ) = playoff AND Score = 72-69-73-73=287 | CREATE TABLE INST, Here is a database schema( table schema); | What Country has a Player with Playoff Money with a Score of 72-69-73-73=287?.It is not neccessary to use all the tables. |
SELECT lead_tpt FROM table_name_68 WHERE bass = "kevin tomanka" AND alto_1 = "alan moffett" | CREATE TABLE INST, Here is a database schema( table schema); | Name the lead tpt for bass of kevin tomanka and alto 1 of alan moffettIt is not neccessary to use all the tables. |
SELECT Margin of victory FROM table WHERE Country = south africa | CREATE TABLE INST, Here is a database schema( table schema); | What is south africa's margin of victory?.It is not neccessary to use all the tables. |
SELECT SUM Population FROM table WHERE Type = vl AND Region > 3 | CREATE TABLE INST, Here is a database schema( table schema); | How many people have a vl type in a region greater than 3?.It is not neccessary to use all the tables. |
SELECT ebit__us_$m_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "120.6" | CREATE TABLE INST, Here is a database schema( table schema); | What is the dollar amount of ebit when the net profit is 120.6?It is not neccessary to use all the tables. |
SELECT record FROM table_24136814_3 WHERE date = "September 7" | CREATE TABLE INST, Here is a database schema( table schema); | What was the record for the Argonauts on September 7?It is not neccessary to use all the tables. |
SELECT Women’s Nickname FROM table WHERE Enrollment = 1500 AND Location = Mobile, Alabama | CREATE TABLE INST, Here is a database schema( table schema); | Name the women's nickname when the enrollment is 1500 in mobile, Alabama..It is not neccessary to use all the tables. |
SELECT november FROM table_name_66 WHERE july = "hope marie carlton" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the November playmate with the July playmate Hope Marie Carlton?It is not neccessary to use all the tables. |
SELECT Circuit FROM table WHERE Grand Prix = Hertz British Grand Prix | CREATE TABLE INST, Here is a database schema( table schema); | Name the circuit for hertz british grand prix.It is not neccessary to use all the tables. |
SELECT first_name, last_name, salary FROM employees WHERE commission_pct = "null" | CREATE TABLE INST, Here is a database schema( table schema); | What are the full name (first and last name) and salary for all employees who does not have any value for commission?It is not neccessary to use all the tables. |
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'INDIANAPOLIS' AND flight.from_airport = airport_service.airport_code | CREATE TABLE INST, Here is a database schema( table schema); | show me all flights from INDIANAPOLISIt is not neccessary to use all the tables. |
SELECT home_team AS score FROM table_name_20 WHERE crowd > 32 OFFSET 576 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the home team at the game with a crowd larger than 32576?It is not neccessary to use all the tables. |
SELECT player FROM table_name_83 WHERE total > 285 AND finish = "t30" | CREATE TABLE INST, Here is a database schema( table schema); | Total larger than 285 and a Finish of t30 belongs to what player?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Tie no = 4 | CREATE TABLE INST, Here is a database schema( table schema); | What is the score when the tie number is 4?.It is not neccessary to use all the tables. |
SELECT province FROM table_2251578_4 WHERE elevation__m_ = 4550 | CREATE TABLE INST, Here is a database schema( table schema); | Which province has an elevation of 4550?It is not neccessary to use all the tables. |
SELECT Pronunciation a FROM table WHERE Meaning a = king | CREATE TABLE INST, Here is a database schema( table schema); | Name the pronunciation for meaning of king.It is not neccessary to use all the tables. |
SELECT "Venue" FROM table_52079 WHERE "Away team" = 'collingwood' | CREATE TABLE INST, Here is a database schema( table schema); | Where was Collingwood's away game played?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Attendance = 74,285 | CREATE TABLE INST, Here is a database schema( table schema); | What day was the attendance 74,285?.It is not neccessary to use all the tables. |
SELECT Result FROM table WHERE Venue = bangkok | CREATE TABLE INST, Here is a database schema( table schema); | What is the result of the match in Bangkok?.It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE To par = +1 AND Score = 74-70-70=214 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Country of the Player with a To par of +1 and a Score of 74-70-70=214?.It is not neccessary to use all the tables. |
SELECT pos FROM table_name_18 WHERE date_to = "30 june 2009" AND name = "eddie johnson" | CREATE TABLE INST, Here is a database schema( table schema); | What is Pos. when Date To is "30 June 2009" and when Name is "Eddie Johnson"?It is not neccessary to use all the tables. |
SELECT date FROM table_name_84 WHERE score = "121-113" | CREATE TABLE INST, Here is a database schema( table schema); | On what date was the score 121-113?It is not neccessary to use all the tables. |
SELECT Driver FROM table WHERE Laps < 19 AND Time/Retired = ignition | CREATE TABLE INST, Here is a database schema( table schema); | Who drove during the race with less than 19 laps and a time listed as ignition?.It is not neccessary to use all the tables. |
SELECT MAX("FA Cup Goals") FROM table_65892 WHERE "League Cup Apps" > '0' AND "Name" = 'trevor cherry' | CREATE TABLE INST, Here is a database schema( table schema); | Which FA Cup Goals have League Cup Apps larger than 0, and a Name of trevor cherry?It is not neccessary to use all the tables. |
SELECT Name FROM table WHERE Position = DE AND College = Ohio State | CREATE TABLE INST, Here is a database schema( table schema); | What is the name when the position is de and college is ohio state?.It is not neccessary to use all the tables. |
SELECT Position FROM table WHERE Years for Rockets = 2004-05 | CREATE TABLE INST, Here is a database schema( table schema); | What is the position for the Rockets years of 2004-05?.It is not neccessary to use all the tables. |
SELECT COUNT Total FROM table WHERE Bronze = 2 | CREATE TABLE INST, Here is a database schema( table schema); | How many totals have 2 for the bronze?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Date = december 20 | CREATE TABLE INST, Here is a database schema( table schema); | What was the score for the game on December 20?.It is not neccessary to use all the tables. |
SELECT "Method" FROM table_4984 WHERE "Time" = '0:38' | CREATE TABLE INST, Here is a database schema( table schema); | How did he win with a time of 0:38?It is not neccessary to use all the tables. |
SELECT Event FROM table WHERE Method = technical decision (split) | CREATE TABLE INST, Here is a database schema( table schema); | In what event was the technical decision (split) method used?.It is not neccessary to use all the tables. |
SELECT state FROM table_name_2 WHERE title = "marquis" AND name = "jing" | CREATE TABLE INST, Here is a database schema( table schema); | In what state did Jing have the title of Marquis?It is not neccessary to use all the tables. |
SELECT Affiliation FROM table WHERE Founded < 1965 AND High School = issaquah | CREATE TABLE INST, Here is a database schema( table schema); | What is the affiliation of a high school in Issaquah that was founded in less than 1965?.It is not neccessary to use all the tables. |
SELECT l2_cache FROM table_name_91 WHERE model_number = "pentium dual-core t3400" | CREATE TABLE INST, Here is a database schema( table schema); | What is the L2 cache of the microprocessor with model number pentium dual-core t3400?It is not neccessary to use all the tables. |
SELECT COUNT Year FROM table WHERE Championship = peter jackson classic | CREATE TABLE INST, Here is a database schema( table schema); | How many years was there a peter jackson classic?.It is not neccessary to use all the tables. |
SELECT Week FROM table WHERE Attendance = 78,301 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the week that has an attendance of 78,301.It is not neccessary to use all the tables. |
SELECT Game site FROM table WHERE Attendance = 54,436 | CREATE TABLE INST, Here is a database schema( table schema); | Where was the game with the attendance of 54,436?.It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_34 WHERE attendance = "62,657" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent at the game attended by 62,657?It is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE Opposing Team = natal | CREATE TABLE INST, Here is a database schema( table schema); | Which venue had the opposing team Natal?.It is not neccessary to use all the tables. |
SELECT outcome FROM table_name_59 WHERE surface = "grass" | CREATE TABLE INST, Here is a database schema( table schema); | What was Olga Govortsova's outcome when she played on a grass surface?It is not neccessary to use all the tables. |
SELECT Kentucky FROM table WHERE Illinois = Rock Falls LL Rock Falls | CREATE TABLE INST, Here is a database schema( table schema); | What was the little league team from Kentucky when the little league team from Illinois was Rock Falls LL Rock Falls?.It is not neccessary to use all the tables. |
SELECT T1.variety FROM resultsdata15 as T2 JOIN sampledata15 as T1 ON T1.sample_pk = T2.sample_pk WHERE T2.commod = "AP" GROUP BY T1.variety ORDER BY sum(T2.concen) DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( sampledata15); | Which varieties of apple typically have higher pesticide levels?. It is not neccessary to use all the tables. |
SELECT Rating/share (18-49) FROM table WHERE Viewers (millions) = 5.90 | CREATE TABLE INST, Here is a database schema( table schema); | What was the rating/share for 18-49 for the episode that had 5.90 million viewers? .It is not neccessary to use all the tables. |
SELECT Rules FROM table WHERE Method = ko (punch) | CREATE TABLE INST, Here is a database schema( table schema); | WHich Rules has a Method of ko (punch)?.It is not neccessary to use all the tables. |
SELECT MAX Attendance FROM table WHERE Venue = home AND Result = w 3-1 | CREATE TABLE INST, Here is a database schema( table schema); | what was the attendance at the home venue with result w 3-1?.It is not neccessary to use all the tables. |
SELECT Winning yacht FROM table WHERE Entries = 14 | CREATE TABLE INST, Here is a database schema( table schema); | Name the wininng yacht for 14 entries.It is not neccessary to use all the tables. |
SELECT Composition FROM table WHERE Founded = 1976 | CREATE TABLE INST, Here is a database schema( table schema); | What composition was founded in 1976?.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.