sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT vinculum FROM table_name_72 WHERE parentheses = "0.(81)" | CREATE TABLE INST, Here is a database schema( table schema); | How much is vinculum when the parentheses are 0.(81)?It is not neccessary to use all the tables. |
SELECT gauge FROM table_name_39 WHERE status = "operational" AND owner = "aurizon" AND locomotive = "g534" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Gauge of Locomotive G534 Owned by Aurizon which has a Status of Operational?It is not neccessary to use all the tables. |
SELECT AVG(crowd) FROM table_name_35 WHERE away_team = "north melbourne" | CREATE TABLE INST, Here is a database schema( table schema); | With a North Melbourne away team what is the average crowd?It is not neccessary to use all the tables. |
SELECT nationality FROM table_name_2 WHERE pick < 104 AND player = "corey fienhage" | CREATE TABLE INST, Here is a database schema( table schema); | What is the nationality of player corey fienhage who has a pick less than 104?It is not neccessary to use all the tables. |
SELECT 2012 Employees (Total) FROM table WHERE Rank (2012) = 7 | CREATE TABLE INST, Here is a database schema( table schema); | What is the 2012 Employees (Total) when the rank (2012) is 7?.It is not neccessary to use all the tables. |
SELECT COUNT(fa_cup_goals) FROM table_name_47 WHERE flt_goals > 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of FA Cup Goals when FLT Goals is greater than 0?It is not neccessary to use all the tables. |
SELECT Home team score FROM table WHERE Away team score = 9.12 (66) | CREATE TABLE INST, Here is a database schema( table schema); | What was the home team's score when the away team scored 9.12 (66)?.It is not neccessary to use all the tables. |
SELECT population FROM table_name_75 WHERE status = "rural community" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Population of the Rural CommunityIt is not neccessary to use all the tables. |
SELECT Read by FROM table WHERE Un-/Abridged = unabridged AND Author = john d. fitzgerald | CREATE TABLE INST, Here is a database schema( table schema); | Who read the unabridged novel written by John D. Fitzgerald?.It is not neccessary to use all the tables. |
SELECT MIN Goals FROM table WHERE Seasons = 1996 – 2001 AND Order > 939 | CREATE TABLE INST, Here is a database schema( table schema); | What is the low goal for orders more than 939 during Seasons of 1996 – 2001?.It is not neccessary to use all the tables. |
SELECT Stereo FROM table WHERE Call = wpeo | CREATE TABLE INST, Here is a database schema( table schema); | Is WPEO in stereo?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Location = Taylor Field | CREATE TABLE INST, Here is a database schema( table schema); | When was the game on Taylor Field played?.It is not neccessary to use all the tables. |
SELECT High points FROM table WHERE Date = December 10 | CREATE TABLE INST, Here is a database schema( table schema); | What are December 10's high points?.It is not neccessary to use all the tables. |
SELECT MAX(no_in_series) FROM table_21164557_1 WHERE directed_by = "John Behring" | CREATE TABLE INST, Here is a database schema( table schema); | What episode number in the series was directed by John Behring?It is not neccessary to use all the tables. |
SELECT record FROM table_11406866_2 WHERE attendance = "61,350" | CREATE TABLE INST, Here is a database schema( table schema); | what's the record where attendance is 61350It is not neccessary to use all the tables. |
SELECT location FROM table_name_59 WHERE college_name = "kanyakumari government medical college" | CREATE TABLE INST, Here is a database schema( table schema); | What is the location of the kanyakumari government medical college?It is not neccessary to use all the tables. |
SELECT DISTINCT advisory_requirement FROM course WHERE name LIKE '%Parasitology%' | CREATE TABLE INST, Here is a database schema( table schema); | What are the advisory prerequisites for Parasitology ?It is not neccessary to use all the tables. |
SELECT falcons_points FROM table_16710829_2 WHERE record = "3-2" | CREATE TABLE INST, Here is a database schema( table schema); | Name the falcons points for record of 3-2It is not neccessary to use all the tables. |
SELECT place_of_birth FROM table_name_31 WHERE elector = "soffredo" | CREATE TABLE INST, Here is a database schema( table schema); | What is listed as the Place of birth for the Elector of Soffredo?It is not neccessary to use all the tables. |
SELECT MAX Attendance FROM table WHERE Away = real juventud | CREATE TABLE INST, Here is a database schema( table schema); | What was the highest attendance against Real Juventud?.It is not neccessary to use all the tables. |
SELECT finish FROM table_name_61 WHERE date = "june 1, 2008" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Finish on June 1 2008?It is not neccessary to use all the tables. |
SELECT record FROM table_name_69 WHERE game < 78 AND score = "114–109 (ot)" | CREATE TABLE INST, Here is a database schema( table schema); | What was the record for less than 78 games and a score of 114–109 (ot)?It is not neccessary to use all the tables. |
SELECT Lost FROM table WHERE Drawn = 1 AND Tries against = 34 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of losses for the team with 1 draw and 34 tries against?.It is not neccessary to use all the tables. |
SELECT team FROM table_name_68 WHERE school = "milford" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Team for the Milford School?It is not neccessary to use all the tables. |
SELECT Three Darts Challenge FROM table WHERE Air Date = 10 May 2010 | CREATE TABLE INST, Here is a database schema( table schema); | Who was in the three darts challenge that aired on 10 may 2010?.It is not neccessary to use all the tables. |
SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012" | CREATE TABLE INST, Here is a database schema( table schema); | Name the tournament for march 25, 2012It is not neccessary to use all the tables. |
SELECT Mountains classification Klasyfikacja górska FROM table WHERE Winner = Alessandro Ballan | CREATE TABLE INST, Here is a database schema( table schema); | Who was the mountain classification winner in the stage won by Alessandro Ballan?.It is not neccessary to use all the tables. |
SELECT Team 1 FROM table WHERE 2nd leg = 1-3 AND Team 2 = asec mimosas | CREATE TABLE INST, Here is a database schema( table schema); | Who is team 1 when 2nd leg score is 1-3 and Asec Mimosas is Team 2?.It is not neccessary to use all the tables. |
SELECT result FROM table_name_49 WHERE competition = "friendly" AND date = "23 january 2010" | CREATE TABLE INST, Here is a database schema( table schema); | What is the result of the friendly competition on 23 January 2010?It is not neccessary to use all the tables. |
SELECT 2012 FROM table_name_28 WHERE 2011 = "1r" AND 2007 = "1r" | CREATE TABLE INST, Here is a database schema( table schema); | What is the 2012 value when the 2011 and 2007 values are 1R?It is not neccessary to use all the tables. |
SELECT COUNT New council FROM table WHERE Previous council = 54 AND Staying councillors > 36 | CREATE TABLE INST, Here is a database schema( table schema); | What is the full number of New Council when the previous council was 54 and the staying councilor number is bigger than 36?.It is not neccessary to use all the tables. |
SELECT MAX Villages FROM table WHERE Hanzi = 南流乡 AND Population > 24,802 | CREATE TABLE INST, Here is a database schema( table schema); | Which town has the most villages with the hanzi 南流乡 and a population larger than 24,802?.It is not neccessary to use all the tables. |
SELECT COUNT(angle_from_center_) AS ° FROM table_name_97 WHERE taper / ft < 0.6000000000000001 | CREATE TABLE INST, Here is a database schema( table schema); | Which Angle from center/° has a Taper/ft smaller than 0.6000000000000001?It is not neccessary to use all the tables. |
SELECT Capacity FROM table WHERE Acceleration 0–100km/h = 11.1 s | CREATE TABLE INST, Here is a database schema( table schema); | what is the capacity when the acceleration 1-100km/h is 11.1 s?.It is not neccessary to use all the tables. |
SELECT COUNT(season) FROM table_name_53 WHERE loses > 1 AND competition = "fiba europe cup" AND wins < 4 | CREATE TABLE INST, Here is a database schema( table schema); | How many seasons have Losses larger than 1 and a Competition of fiba europe cup and Wins smaller than 4?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Home = minnesota | CREATE TABLE INST, Here is a database schema( table schema); | Which Date has a Home of minnesota?.It is not neccessary to use all the tables. |
SELECT "nationality" FROM table_202_117 WHERE "fate" = 'sunk' GROUP BY "nationality" ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | who was sunk the most ?It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Type = loan | CREATE TABLE INST, Here is a database schema( table schema); | What country has a loan as the type?.It is not neccessary to use all the tables. |
SELECT Status FROM table WHERE District = doncaster AND Former local authority = doncaster rural district AND Population = 203 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Status for the District of doncaster, and a Former local authority of doncaster rural district, with a Population of 203?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_85 WHERE location = "mohegan sun arena" AND date = "june 25" | CREATE TABLE INST, Here is a database schema( table schema); | What is the score of the game on June 25 at the mohegan sun arena?It is not neccessary to use all the tables. |
SELECT Opponent in the final FROM table WHERE Surface = hard AND Score = walkover | CREATE TABLE INST, Here is a database schema( table schema); | For the tournament played on a hard surface and ending with a score of Walkover, who was the Finals opponent?.It is not neccessary to use all the tables. |
SELECT lane FROM table_name_23 WHERE heat < 3 AND nationality = "barbados" | CREATE TABLE INST, Here is a database schema( table schema); | What lane did the barbados swimmer compete in before heat 3?It is not neccessary to use all the tables. |
SELECT COUNT(fin_pos) FROM table_17330069_1 WHERE points = "15" | CREATE TABLE INST, Here is a database schema( table schema); | If the points is 15 what is the fin. pos?It is not neccessary to use all the tables. |
SELECT season FROM table_name_6 WHERE rating = "+98" | CREATE TABLE INST, Here is a database schema( table schema); | Which season was one of the players rated +98?It is not neccessary to use all the tables. |
SELECT diagnoses.short_title, diagnoses.long_title FROM diagnoses WHERE diagnoses.icd9_code = "42823" | CREATE TABLE INST, Here is a database schema( table schema); | what is diagnoses short title and diagnoses long title of diagnoses icd9 code 42823?It is not neccessary to use all the tables. |
SELECT viewers__millions_ FROM table_22822468_2 WHERE rating = "2.1" | CREATE TABLE INST, Here is a database schema( table schema); | Name the viewers for 2.1 ratingIt is not neccessary to use all the tables. |
SELECT Label FROM table WHERE Country = united kingdom AND Catalogue # = hvnlp26cd | CREATE TABLE INST, Here is a database schema( table schema); | What is the Label of Catalogue # HVNLP26CD from United Kingdom?.It is not neccessary to use all the tables. |
SELECT outcome FROM table_name_81 WHERE partner = "yoo sang-hee" AND venue = "malaysia open" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Outcome in the Malaysia Open with Partner Yoo Sang-Hee?It is not neccessary to use all the tables. |
SELECT MIN(pernambuco) FROM table_name_55 WHERE northeast_total = "119978" | CREATE TABLE INST, Here is a database schema( table schema); | What was the lowest number in Pernambuco where the Northeast had a total of 119978?It is not neccessary to use all the tables. |
SELECT Rank Each wrestlers total number of days as champion are ranked highest to lowest; wrestlers with the same number mean that they are tied for that certain rank. FROM table WHERE Wrestler = Bryan Danielson | CREATE TABLE INST, Here is a database schema( table schema); | What rank was Bryan Danielson in this chart?.It is not neccessary to use all the tables. |
SELECT MIN React FROM table WHERE Lane = 5 | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the lowest React that has the Lane of 5?.It is not neccessary to use all the tables. |
SELECT attendance FROM table_name_23 WHERE date = "24 december 1898" | CREATE TABLE INST, Here is a database schema( table schema); | What is the attendance on 24 December 1898?It is not neccessary to use all the tables. |
SELECT english_title FROM table_11173827_1 WHERE premiere < 30.0 AND finale > 36.0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the english title where the premiere is less than 30.0 and the finale is bigger than 36.0?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Competition = 2012 africa cup of nations | CREATE TABLE INST, Here is a database schema( table schema); | What was the score of the game played in the 2012 Africa Cup of Nations?.It is not neccessary to use all the tables. |
SELECT Home team score FROM table WHERE Away team = richmond | CREATE TABLE INST, Here is a database schema( table schema); | What was the home team's score when they played Richmond?.It is not neccessary to use all the tables. |
SELECT player FROM table_name_24 WHERE previous_team = "new york knicks" | CREATE TABLE INST, Here is a database schema( table schema); | Which player was previously on the New York Knicks?It is not neccessary to use all the tables. |
SELECT Competition FROM table WHERE Venue = hampden park, glasgow | CREATE TABLE INST, Here is a database schema( table schema); | What competition has a venue in Hampden Park, Glasgow?.It is not neccessary to use all the tables. |
SELECT MIN Population Estimate (2013) FROM table WHERE Percentage = 23.7 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest 2013 population estimate of the province with a 23.7 percentage?.It is not neccessary to use all the tables. |
SELECT hometown FROM table_name_79 WHERE games_started = "4" | CREATE TABLE INST, Here is a database schema( table schema); | Games started of 4 is in what hometown?It is not neccessary to use all the tables. |
SELECT Second Year FROM table WHERE Fourth Year = Physics | CREATE TABLE INST, Here is a database schema( table schema); | What is the second year course in the program where physics is taken in the fourth year?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_76 WHERE home_team = "north melbourne" | CREATE TABLE INST, Here is a database schema( table schema); | What wa the date of the North Melbourne home game?It is not neccessary to use all the tables. |
SELECT district FROM table_1342149_38 WHERE incumbent = "Paul B. Dague" | CREATE TABLE INST, Here is a database schema( table schema); | Which district had Paul B. Dague as the incumbent?It is not neccessary to use all the tables. |
SELECT SUM("Average relative annual growth (%)") FROM table_56047 WHERE "Country (or dependent territory)" = 'lebanon' AND "July 1, 2013 projection" > '4,127,000' | CREATE TABLE INST, Here is a database schema( table schema); | What is the average relative annual growth of Lebanon, which has a July 1, 2013 projection larger than 4,127,000?It is not neccessary to use all the tables. |
SELECT determin FROM resultsdata15 GROUP BY determin ORDER BY count(*) DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( sampledata15); | What is the most effective determinative method in terms of pesticide residues detection?. It is not neccessary to use all the tables. |
SELECT COUNT(record) FROM table_10646790_2 WHERE stadium = "War Memorial stadium" | CREATE TABLE INST, Here is a database schema( table schema); | How many records are there at the War Memorial Stadium?It is not neccessary to use all the tables. |
SELECT Laps FROM table WHERE Rank = 14 AND Start = 16 | CREATE TABLE INST, Here is a database schema( table schema); | Name the laps for rank of 14 and start of 16.It is not neccessary to use all the tables. |
SELECT Location FROM table WHERE Stadium = gortakeegan | CREATE TABLE INST, Here is a database schema( table schema); | Where is the Stadium of Gortakeegan located?.It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE 1970 (mil) = 2.16 | CREATE TABLE INST, Here is a database schema( table schema); | Name the country for 2.16 .It is not neccessary to use all the tables. |
SELECT team_captain FROM table_name_42 WHERE stadium = "regenboogstadion" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the team captain of Regenboogstadion?It is not neccessary to use all the tables. |
SELECT MIN(poles) FROM table_16710541_2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest number of poles?It is not neccessary to use all the tables. |
SELECT COUNT(wickets) FROM table_name_22 WHERE rank > 5 | CREATE TABLE INST, Here is a database schema( table schema); | What are the total number of Wickets that ranger higher than 5?It is not neccessary to use all the tables. |
SELECT 2011 FROM table_name_99 WHERE 2010 = "1r" AND 2009 = "1r" | CREATE TABLE INST, Here is a database schema( table schema); | Which 2011 has a 2010 of 1r and a 2009 of 1r?It is not neccessary to use all the tables. |
SELECT AVG(gold) FROM table_name_99 WHERE silver < 13 AND total > 18 AND bronze < 8 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of gold medals won among participants that won less than 13 silver less than 8 bronze and more than 18 medals overall?It is not neccessary to use all the tables. |
SELECT GSWR Class FROM table WHERE Year = 1893 | CREATE TABLE INST, Here is a database schema( table schema); | Which GSWR Class is from 1893?.It is not neccessary to use all the tables. |
SELECT MAX(week) FROM table_name_80 WHERE venue = "metropolitan stadium" AND attendance > 47 OFFSET 644 | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the highest week for metropolitan stadium for attendance more than 47644It is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE City = brussels, belgium | CREATE TABLE INST, Here is a database schema( table schema); | What is the venue in the city of Brussels, Belgium?.It is not neccessary to use all the tables. |
SELECT Winning driver FROM table WHERE Constructor = brm | CREATE TABLE INST, Here is a database schema( table schema); | Who is the winning driver that has a construction of brm?.It is not neccessary to use all the tables. |
SELECT SUM(pick__number) FROM table_name_69 WHERE cfl_team = "edmonton" | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the sum of the Pick # that has the CFL Team of edmonton?It is not neccessary to use all the tables. |
SELECT COUNT(T2.Language), T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name HAVING COUNT(*) > 2 | CREATE TABLE INST, Here is a database schema( table schema); | Return the country name and the numbers of languages spoken for each country that speaks at least 3 languages.It is not neccessary to use all the tables. |
SELECT building, COUNT(building) FROM department WHERE budget > (SELECT AVG(budget) FROM department) GROUP BY building ORDER BY building DESC | CREATE TABLE INST, Here is a database schema( table schema); | How many departments whose budget is more than the average budget in each building? Show me a bar chart, could you show by the bar in descending?It is not neccessary to use all the tables. |
SELECT country FROM table_name_12 WHERE debt_as__percentage_of_value < 86 AND _percentage_change_on_year = "21" | CREATE TABLE INST, Here is a database schema( table schema); | Name the country where % change on year is 21 and value is less than 86It is not neccessary to use all the tables. |
SELECT type FROM table_name_29 WHERE value = "0.0" | CREATE TABLE INST, Here is a database schema( table schema); | What's the type of 0.0 value?It is not neccessary to use all the tables. |
SELECT COUNT(no_in_season) FROM table_29152820_1 WHERE no_in_series = 122 | CREATE TABLE INST, Here is a database schema( table schema); | How many episodes are 122 in the series?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Game # = 81 | CREATE TABLE INST, Here is a database schema( table schema); | What was the score in game 81?.It is not neccessary to use all the tables. |
SELECT director FROM table_25800134_12 WHERE airdate = "September 25, 1967" | CREATE TABLE INST, Here is a database schema( table schema); | Who directed the episode that aired on September 25 1967?It is not neccessary to use all the tables. |
SELECT COUNT(oricon) FROM table_name_13 WHERE romaji_title = "rakuen -memorial tracks- (maxi-single)" | CREATE TABLE INST, Here is a database schema( table schema); | How many oricon's have a romaji title of rakuen -memorial tracks- (maxi-single)?It is not neccessary to use all the tables. |
SELECT Final Place FROM table WHERE Last match = July 25, 2009 | CREATE TABLE INST, Here is a database schema( table schema); | Name the final place for july 25, 2009.It is not neccessary to use all the tables. |
SELECT COUNT(school) FROM table_11677691_11 WHERE player = "Derrick Green" | CREATE TABLE INST, Here is a database schema( table schema); | How many schools did Derrick Green attend?It is not neccessary to use all the tables. |
SELECT MIN Took Office FROM table WHERE District = 22 | CREATE TABLE INST, Here is a database schema( table schema); | What is the earliest date of taking office for district 22?.It is not neccessary to use all the tables. |
SELECT "Womens singles" FROM table_444 WHERE "Mens doubles" = 'Steen Fladberg Jens Peter Nierhoff' | CREATE TABLE INST, Here is a database schema( table schema); | What was the women's singles were men's doubles were steen fladberg jens peter nierhoff?It is not neccessary to use all the tables. |
SELECT Format FROM table WHERE Country = japan | CREATE TABLE INST, Here is a database schema( table schema); | What format does Japan use?.It is not neccessary to use all the tables. |
SELECT Frequency FROM table WHERE Power (kW) = 10kw AND Callsign = dxez | CREATE TABLE INST, Here is a database schema( table schema); | What is the frequency for the 10kw station with DXEZ as its callsign?.It is not neccessary to use all the tables. |
SELECT tournament FROM table_11622840_1 WHERE location = "Rhode Island" | CREATE TABLE INST, Here is a database schema( table schema); | Name all the tournaments that took place in Rhode Island.It is not neccessary to use all the tables. |
SELECT Nationality FROM table WHERE School/Country = baylor | CREATE TABLE INST, Here is a database schema( table schema); | What was the nationality of every player that attended Baylor?.It is not neccessary to use all the tables. |
SELECT MIN Decile FROM table WHERE Area = otumoetai | CREATE TABLE INST, Here is a database schema( table schema); | What is the smallest decile with an Area of otumoetai?.It is not neccessary to use all the tables. |
SELECT in_production FROM table_name_39 WHERE toxic_materials = "yes" AND technology = "sodium-sulfur batteries" | CREATE TABLE INST, Here is a database schema( table schema); | What's the production if the technology is sodium-sulfur batteries and yes to toxic materials?It is not neccessary to use all the tables. |
SELECT Position FROM table WHERE Main contestant = vishal singh AND Scores by each individual judge = 1 + 7 + 5 = 13 | CREATE TABLE INST, Here is a database schema( table schema); | What position is there when the main contestant is Vishal Singh and the scores are 1 + 7 + 5 = 13?.It is not neccessary to use all the tables. |
SELECT Bowl Game FROM table WHERE City = Tempe, Arizona | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the bowl game that was played in Tempe, Arizona?.It is not neccessary to use all the tables. |
SELECT Apple FROM table WHERE Sonnet = 4 MB | CREATE TABLE INST, Here is a database schema( table schema); | When 4 mb is the sonnet what is the apple?.It is not neccessary to use all the tables. |
SELECT AVG(lane) FROM table_name_83 WHERE time > 20.5 AND nationality = "trinidad and tobago" | CREATE TABLE INST, Here is a database schema( table schema); | Which Lane has a Time larger than 20.5 and a Nationality of trinidad and tobago?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.