sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT Written by FROM table WHERE Directed by = Mark Worthington | CREATE TABLE INST, Here is a database schema( table schema); | Who is the written by when mark worthington is the director?.It is not neccessary to use all the tables. |
SELECT prize FROM table_name_90 WHERE winner = "aaron gustavson" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Prize when the Winner is Aaron Gustavson?It is not neccessary to use all the tables. |
SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Thompson" | CREATE TABLE INST, Here is a database schema( table schema); | What season episode is written by neil thompson?It is not neccessary to use all the tables. |
SELECT gtc_winner FROM table_13079788_3 WHERE pole_position = "No. 21 Team Modena" | CREATE TABLE INST, Here is a database schema( table schema); | what are all the gtc winners for pole position no. 21 team modenaIt is not neccessary to use all the tables. |
SELECT MIN(rank) FROM table_name_28 WHERE population > 231 AND name = "qaanaaq" | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest rank of Qaanaaq which has a population greater than 231?It is not neccessary to use all the tables. |
SELECT COUNT Club FROM table WHERE Third Place = Drnovice | CREATE TABLE INST, Here is a database schema( table schema); | how many times was third place held by drnovice?.It is not neccessary to use all the tables. |
SELECT team FROM table_2268216_1 WHERE race_time = "2:53:57" | CREATE TABLE INST, Here is a database schema( table schema); | What team had a race time of 2:53:57?It is not neccessary to use all the tables. |
SELECT Opponent FROM table WHERE Loss = bird (1-4) | CREATE TABLE INST, Here is a database schema( table schema); | Who were they playing when Bird (1-4) had a loss?.It is not neccessary to use all the tables. |
SELECT Position FROM table WHERE School = glades day school | CREATE TABLE INST, Here is a database schema( table schema); | What is the position of the player from Glades Day School?.It is not neccessary to use all the tables. |
SELECT MIN Goals FROM table WHERE Player = sid o'neill AND Games > 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest goals listed for player Sid O'neill, with Games larger than 1?.It is not neccessary to use all the tables. |
SELECT guest_first_name, guest_last_name FROM Guests | CREATE TABLE INST, Here is a database schema( table schema); | Return the first names and last names of all guestsIt is not neccessary to use all the tables. |
SELECT 2010 FROM table_name_39 WHERE rank = "8" | CREATE TABLE INST, Here is a database schema( table schema); | what is the production in 2010 with rank of 8?It is not neccessary to use all the tables. |
SELECT MAX("Gold") FROM table_7056 WHERE "Total" < '3' AND "Rank" = '5' AND "Silver" > '1' | CREATE TABLE INST, Here is a database schema( table schema); | What is the largest gold number when the total is less than 3, the rank is 5, and the silver is more than 1?It is not neccessary to use all the tables. |
SELECT MIN Crowd FROM table WHERE Venue = arden street oval | CREATE TABLE INST, Here is a database schema( table schema); | Which game at Arden Street Oval had the lowest attendance?.It is not neccessary to use all the tables. |
SELECT Party FROM table WHERE Incumbent = Edwin Reinecke | CREATE TABLE INST, Here is a database schema( table schema); | What party does incumbent edwin reinecke represent?.It is not neccessary to use all the tables. |
SELECT Closure date FROM table WHERE Region = north east england | CREATE TABLE INST, Here is a database schema( table schema); | What date was the ensemble in North East England closed?.It is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE Away team = north melbourne | CREATE TABLE INST, Here is a database schema( table schema); | What venue featured north melbourne as the away side?.It is not neccessary to use all the tables. |
SELECT "Venue" FROM table_78510 WHERE "Away team" = 'essendon' | CREATE TABLE INST, Here is a database schema( table schema); | In what venue was the hosted away team Essendon?It is not neccessary to use all the tables. |
SELECT Guardian Mātṛkā FROM table WHERE Consort = Svāhā | CREATE TABLE INST, Here is a database schema( table schema); | What is the guardian mātṛkā for the guardian whose consort is Svāhā?.It is not neccessary to use all the tables. |
SELECT Potassium FROM table WHERE Lithium = h a l o g e n s AND Sodium = bromine | CREATE TABLE INST, Here is a database schema( table schema); | what is the properties of potassium when lithium is h a l o g e n s and sodium is bromine?.It is not neccessary to use all the tables. |
SELECT MAX Flags FROM table WHERE Wins = 473 AND Losses < 633 | CREATE TABLE INST, Here is a database schema( table schema); | What's the most flags that had 473 wins and less than 633 losses?.It is not neccessary to use all the tables. |
SELECT song_choice FROM table_name_38 WHERE result = "advanced" AND week = "top 20" | CREATE TABLE INST, Here is a database schema( table schema); | Which song garnered an advanced result during top 20 week ?It is not neccessary to use all the tables. |
SELECT "ZX Spectrum" FROM table_36826 WHERE "Year" > '1984' AND "Genre" = 'arcade/strategy' | CREATE TABLE INST, Here is a database schema( table schema); | Which ZX Spectrum has a Year larger than 1984, and a Genre of arcade/strategy?It is not neccessary to use all the tables. |
SELECT SUM Total Assists FROM table WHERE Ast. Avg. > 6 AND Games < 55 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of assists for players with under 55 games and over 6 assists per game average?.It is not neccessary to use all the tables. |
SELECT Marriage FROM table WHERE Death = 6 dec 1240 | CREATE TABLE INST, Here is a database schema( table schema); | When did the person who died on 6 Dec 1240 get married?.It is not neccessary to use all the tables. |
SELECT "Frequency" FROM table_77056 WHERE "City of license" = 'fairview' | CREATE TABLE INST, Here is a database schema( table schema); | what is the Frequency that has a fairview City of licenseIt is not neccessary to use all the tables. |
SELECT "Country" FROM table_47941 WHERE "Tournament" = 'paris masters' | CREATE TABLE INST, Here is a database schema( table schema); | What country was the Paris Masters tournament played in?It is not neccessary to use all the tables. |
SELECT where_built FROM table_name_79 WHERE year_built < 1858 | CREATE TABLE INST, Here is a database schema( table schema); | Where was something built earlier than 1858?It is not neccessary to use all the tables. |
SELECT SUM(settlement_amount), AVG(settlement_amount) FROM settlements | CREATE TABLE INST, Here is a database schema( table schema); | Return the sum and average of all settlement amounts.It is not neccessary to use all the tables. |
SELECT MAX(year) FROM table_name_98 WHERE nominee = "best revival of a musical" | CREATE TABLE INST, Here is a database schema( table schema); | When was the last time a nominee for Best Revival of a Musical was selected?It is not neccessary to use all the tables. |
SELECT Republican FROM table WHERE D–R spread = -14.1% | CREATE TABLE INST, Here is a database schema( table schema); | What is the percentage of republican voters in which the d-r spread is -14.1%?.It is not neccessary to use all the tables. |
SELECT DISTINCT COUNT(paper.paperid), paper.year FROM author, paper, writes WHERE author.authorname = 'jamie callan' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid GROUP BY paper.year | CREATE TABLE INST, Here is a database schema( table schema); | how many papers jamie callan published each year ?It is not neccessary to use all the tables. |
SELECT Rank FROM table WHERE Wins = 0 AND Class = 350cc | CREATE TABLE INST, Here is a database schema( table schema); | What is the rank associated with 0 wins and a 350cc class?.It is not neccessary to use all the tables. |
SELECT opponent_in_the_final FROM table_22834834_2 WHERE championship = "Frankfurt" AND year < 1993.0 | CREATE TABLE INST, Here is a database schema( table schema); | Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0?It is not neccessary to use all the tables. |
SELECT To par FROM table WHERE Player = scott hoch | CREATE TABLE INST, Here is a database schema( table schema); | What is Scott Hoch's to par?.It is not neccessary to use all the tables. |
SELECT COUNT Wins FROM table WHERE Draws > 0 AND Points = 11 | CREATE TABLE INST, Here is a database schema( table schema); | Can you tell me the total number of Wins that has the Draws larger than 0, and the Points of 11?.It is not neccessary to use all the tables. |
SELECT charter_range FROM table_name_85 WHERE school = "montana state university" | CREATE TABLE INST, Here is a database schema( table schema); | What are the active dates for the Montana State University chapter?It is not neccessary to use all the tables. |
SELECT tournament FROM table_name_62 WHERE semi_finalists = "martina hingis joannette kruger" | CREATE TABLE INST, Here is a database schema( table schema); | Which Tournament has a Semi finalists of martina hingis joannette kruger?It is not neccessary to use all the tables. |
SELECT Rank FROM table WHERE Nationality = poland AND Time = 1:50.12 | CREATE TABLE INST, Here is a database schema( table schema); | What rank did Poland receive with a time of 1:50.12?.It is not neccessary to use all the tables. |
SELECT cName, MIN(enr) FROM College GROUP BY state ORDER BY MIN(enr) | CREATE TABLE INST, Here is a database schema( table schema); | Compare the smallest enrollment of schools in each state using a bar chart, list total number in asc order.It is not neccessary to use all the tables. |
SELECT external_weapon FROM table_name_17 WHERE shield_animal = "falcon" | CREATE TABLE INST, Here is a database schema( table schema); | What is the external weapon with the falcon shield animal?It is not neccessary to use all the tables. |
SELECT position FROM table_11803648_20 WHERE overall = "126" | CREATE TABLE INST, Here is a database schema( table schema); | What position is associated with an overall value of 126?It is not neccessary to use all the tables. |
SELECT Title FROM table WHERE Directed by = Mark Tinker | CREATE TABLE INST, Here is a database schema( table schema); | What is the title of the episode directed by Mark Tinker?.It is not neccessary to use all the tables. |
SELECT COUNT(total) FROM table_name_16 WHERE silver > 2 | CREATE TABLE INST, Here is a database schema( table schema); | How many totals had a silver larger than 2?It is not neccessary to use all the tables. |
SELECT MIN(week) FROM table_name_43 WHERE opponent = "at san francisco 49ers" | CREATE TABLE INST, Here is a database schema( table schema); | Opponent of at san francisco 49ers had what lowest week?It is not neccessary to use all the tables. |
SELECT COUNT 2007 Result FROM table WHERE District = 19th | CREATE TABLE INST, Here is a database schema( table schema); | How many election results are there from the 19th district?.It is not neccessary to use all the tables. |
SELECT report FROM table_10725629_2 WHERE pole_position = "Michael Andretti" AND winning_team = "Galles-Kraco Racing" | CREATE TABLE INST, Here is a database schema( table schema); | In which reports does Michael Andretti have the pole position and Galles-Kraco Racing is the winning team?It is not neccessary to use all the tables. |
SELECT Position FROM table WHERE Player = wayne ellington | CREATE TABLE INST, Here is a database schema( table schema); | What position does Wayne Ellington play?.It is not neccessary to use all the tables. |
SELECT COUNT Total FROM table WHERE Finish = t45 | CREATE TABLE INST, Here is a database schema( table schema); | Name the total number of total with finish of t45.It is not neccessary to use all the tables. |
SELECT leading_scorer FROM table_name_44 WHERE date = "20 february 2008" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the leading scorer of the game on 20 February 2008?It is not neccessary to use all the tables. |
SELECT COUNT Original air date FROM table WHERE Production Code = 206 | CREATE TABLE INST, Here is a database schema( table schema); | How many air dates are there for production code 206?.It is not neccessary to use all the tables. |
SELECT COUNT(pick) FROM table_name_60 WHERE college = "pittsburgh" | CREATE TABLE INST, Here is a database schema( table schema); | Which pick came from Pittsburgh?It is not neccessary to use all the tables. |
SELECT Score1 FROM table WHERE Opponent = hapoel tel aviv | CREATE TABLE INST, Here is a database schema( table schema); | What was the score against hapoel tel aviv?.It is not neccessary to use all the tables. |
SELECT Director(s) FROM table WHERE Film = mi-temps | CREATE TABLE INST, Here is a database schema( table schema); | Which director made Mi-temps?.It is not neccessary to use all the tables. |
SELECT netflow_version FROM table_1206114_2 WHERE vendor_and_type = "PC and Servers" | CREATE TABLE INST, Here is a database schema( table schema); | What is the netflow version when vendor and type is pc and servers?It is not neccessary to use all the tables. |
SELECT Writer FROM table WHERE Episode = 3 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the writer for episode 3?.It is not neccessary to use all the tables. |
SELECT AVG(decile) FROM table_name_84 WHERE name = "te puru school" | CREATE TABLE INST, Here is a database schema( table schema); | What is the average decile for te puru school?It is not neccessary to use all the tables. |
SELECT class FROM table_name_6 WHERE chassis = "dallara f308" AND rounds = "all" AND driver = "sam abay" | CREATE TABLE INST, Here is a database schema( table schema); | what is the class when the chassis is dallara f308 rounds is all and the driver is sam abay?It is not neccessary to use all the tables. |
SELECT AVG(gold) FROM table_name_63 WHERE nation = "china (chn)" AND bronze > 1 | CREATE TABLE INST, Here is a database schema( table schema); | What average gold has China (chn) as the nation with a bronze greater than 1?It is not neccessary to use all the tables. |
SELECT Pole position FROM table WHERE Most laps led = Esteban Guerrieri AND Fastest lap = Josef Newgarden AND Rd. = 8A | CREATE TABLE INST, Here is a database schema( table schema); | Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?.It is not neccessary to use all the tables. |
SELECT SUM(wins) FROM table_name_17 WHERE win__percentage < 0.8270000000000001 AND name = "rick mirer" AND ties < 1 | CREATE TABLE INST, Here is a database schema( table schema); | Which Wins have a Win % smaller than 0.8270000000000001 and a Name of rick mirer and Ties smaller than 1?It is not neccessary to use all the tables. |
SELECT date FROM table_name_54 WHERE week = "1" | CREATE TABLE INST, Here is a database schema( table schema); | When does week 1 start?It is not neccessary to use all the tables. |
SELECT Name FROM table WHERE Route of administration = oral or iv AND Investigation = thyroid imaging thyroid metastases imaging | CREATE TABLE INST, Here is a database schema( table schema); | What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging?.It is not neccessary to use all the tables. |
SELECT 2nd run FROM table WHERE Rank < 6 AND Total = 3 | CREATE TABLE INST, Here is a database schema( table schema); | What 2nd run has a less than 6 rank, and 3 as the total?.It is not neccessary to use all the tables. |
SELECT To par FROM table WHERE Player = phil mickelson | CREATE TABLE INST, Here is a database schema( table schema); | Phil Mickelson has what To par?.It is not neccessary to use all the tables. |
SELECT MAX(goals_for) FROM table_name_28 WHERE lost = 12 AND played > 34 | CREATE TABLE INST, Here is a database schema( table schema); | Which Goals For has a Lost of 12, and a Played larger than 34?It is not neccessary to use all the tables. |
SELECT plural FROM table WHERE singular = nyaqot | CREATE TABLE INST, Here is a database schema( table schema); | What is the plural if the singular is nyaqot?.It is not neccessary to use all the tables. |
SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 289 | CREATE TABLE INST, Here is a database schema( table schema); | How many weeks have an Attendance of 62289?It is not neccessary to use all the tables. |
SELECT DF FROM table WHERE Adam Hinshelwood = Junior Mendes | CREATE TABLE INST, Here is a database schema( table schema); | What is the df when Adam Hinshelwood is Junior Mendes?.It is not neccessary to use all the tables. |
SELECT MIN Attendance FROM table WHERE Week = 15 | CREATE TABLE INST, Here is a database schema( table schema); | What's the lowest attendance recorded for week 15?.It is not neccessary to use all the tables. |
SELECT result FROM table_name_95 WHERE score = "4–0" AND venue = "mbpj stadium" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Result of the Competition at MBPJ Stadium with a Score of 4–0?It is not neccessary to use all the tables. |
SELECT SUM(1979) FROM table_name_51 WHERE reservation = "standing rock indian reservation" AND 1989 < 54.9 | CREATE TABLE INST, Here is a database schema( table schema); | What is the 1979 number for Standing Rock Indian Reservation when the 1989 is less than 54.9?It is not neccessary to use all the tables. |
SELECT Attendance FROM table WHERE Date = november 18, 1951 | CREATE TABLE INST, Here is a database schema( table schema); | Which Attendance has a Date of november 18, 1951?.It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE Place = t7 AND Country = england | CREATE TABLE INST, Here is a database schema( table schema); | WHAT IS THE PLAYER WITH T7 PLACE, FOR ENGLAND?.It is not neccessary to use all the tables. |
SELECT "Region" FROM table_52355 WHERE "Catalogue" = '9362482872' | CREATE TABLE INST, Here is a database schema( table schema); | Which region had a catalogue number of 9362482872?It is not neccessary to use all the tables. |
SELECT Sports 2.0 Winning Team FROM table WHERE Sports +2.0 Winning Team = Hap Sharp AND Circuit = Castle Rock | CREATE TABLE INST, Here is a database schema( table schema); | Name the sports 2.0 winning team for hap sharp and castle rock.It is not neccessary to use all the tables. |
SELECT genre FROM table_name_98 WHERE release_year_of_first_charted_record = 1988 | CREATE TABLE INST, Here is a database schema( table schema); | Name the genre for release-year of first charted record of 1988It is not neccessary to use all the tables. |
SELECT COUNT Position FROM table WHERE Losses = 1 AND Conceded > 9 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of positions having 1 loss and more than 9 conceded?.It is not neccessary to use all the tables. |
SELECT MAX Revenue €Million FROM table WHERE Employees (World) = 95,175 AND Rank < 8 | CREATE TABLE INST, Here is a database schema( table schema); | Name the highest revenue for employees of 95,175 and rank less than 8.It is not neccessary to use all the tables. |
SELECT MAX Brown votes FROM table WHERE Coakley % = 84.1% | CREATE TABLE INST, Here is a database schema( table schema); | How many votes for brown in the place that had 84.1% for coakley?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_98 WHERE country = "england" | CREATE TABLE INST, Here is a database schema( table schema); | What is the player from England's score?It is not neccessary to use all the tables. |
SELECT Result FROM table WHERE Attendance > 53,043 AND Week > 2 AND Date = november 18, 1979 | CREATE TABLE INST, Here is a database schema( table schema); | What result in a week over 2 occurred with an attendance greater than 53,043 on November 18, 1979?.It is not neccessary to use all the tables. |
SELECT class FROM table_name_26 WHERE quantity_made = 5 | CREATE TABLE INST, Here is a database schema( table schema); | Which locomotive class had 5 items made?It is not neccessary to use all the tables. |
SELECT rank FROM table_name_51 WHERE floors = "01.0 87" | CREATE TABLE INST, Here is a database schema( table schema); | What ranking is the structure with 01.0 87 floors?It is not neccessary to use all the tables. |
SELECT COUNT(group) FROM table_2581397_3 WHERE weight__kg_ = "57.5" | CREATE TABLE INST, Here is a database schema( table schema); | How man teams had a total weight of 57.5?It is not neccessary to use all the tables. |
SELECT SUM(university_of_dublin) FROM table_name_71 WHERE nominated_by_the_taoiseach = 2 AND industrial_and_commercial_panel > 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total for the University of Dublin when 2 are nominated by Taoiseach and the industrial and commercial panel is greater than 0?It is not neccessary to use all the tables. |
SELECT col__m_ FROM table_name_84 WHERE rank > 4 AND summit = "kawaikini" | CREATE TABLE INST, Here is a database schema( table schema); | What's the col (m) ranked more than 4 with a summit of Kawaikini?It is not neccessary to use all the tables. |
SELECT MIN(apps) FROM table_name_22 WHERE level > 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest Apps with more than 1 level?It is not neccessary to use all the tables. |
SELECT Municipality FROM table WHERE Area (km²) = 214.44 | CREATE TABLE INST, Here is a database schema( table schema); | What is the municipality that has an area of exactly 214.44 sq. km?.It is not neccessary to use all the tables. |
SELECT Years in Toronto FROM table WHERE Player = hakeem olajuwon | CREATE TABLE INST, Here is a database schema( table schema); | What year(s) did Hakeem Olajuwon play Center for Toronto?.It is not neccessary to use all the tables. |
SELECT Club FROM table WHERE Second = rosa pompanin | CREATE TABLE INST, Here is a database schema( table schema); | Rosa Pompanin was second for which club?.It is not neccessary to use all the tables. |
SELECT 2002 FROM table WHERE 2008 = career statistics | CREATE TABLE INST, Here is a database schema( table schema); | What 2002 tournament has 2008 career statistics?.It is not neccessary to use all the tables. |
SELECT MAX("BR No.") FROM table_48880 WHERE "SECR No." = '765' | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest BR number with a SECR number of 765?It is not neccessary to use all the tables. |
SELECT score FROM table_name_97 WHERE surface = "clay" AND opponent = "pablo martin-adalia" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Score of the tournament played on Clay Surface against Pablo Martin-Adalia?It is not neccessary to use all the tables. |
SELECT name FROM table_name_15 WHERE bodyweight = 73.6 | CREATE TABLE INST, Here is a database schema( table schema); | Which person has a bodyweight of 73.6?It is not neccessary to use all the tables. |
SELECT MIN Points FROM table WHERE Year > 1974 AND Entrant = walter wolf racing | CREATE TABLE INST, Here is a database schema( table schema); | What's the least amount of points that Walter Wolf Racing had after 1974?.It is not neccessary to use all the tables. |
SELECT Series # FROM table WHERE Written by = Evan Gore | CREATE TABLE INST, Here is a database schema( table schema); | Which episode/s were written by Evan Gore?.It is not neccessary to use all the tables. |
SELECT International tourist arrivals (2011) FROM table WHERE Country = Senegal | CREATE TABLE INST, Here is a database schema( table schema); | How many international tourist arrivals were in Senegal in 2011?.It is not neccessary to use all the tables. |
SELECT Latitude FROM table WHERE Year built = 1901 | CREATE TABLE INST, Here is a database schema( table schema); | What is the Latitude of the monument built in 1901?.It is not neccessary to use all the tables. |
SELECT visitor FROM table_name_93 WHERE date = "april 17" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the visitor for the April 17 game?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.