sql
stringlengths
9
2.37k
table
stringclasses
9 values
query
stringlengths
51
503
SELECT Name FROM people WHERE NOT People_ID IN (SELECT People_ID FROM entrepreneur)
CREATE TABLE INST, Here is a database schema( table schema);
List the names of people that are not entrepreneurs.It is not neccessary to use all the tables.
SELECT Party FROM table WHERE Incumbent = John G. Jackson
CREATE TABLE INST, Here is a database schema( table schema);
What party represents the district with john g. jackson?.It is not neccessary to use all the tables.
SELECT Away team FROM table WHERE Venue = arden street oval
CREATE TABLE INST, Here is a database schema( table schema);
Who was the Away team at Arden Street Oval?.It is not neccessary to use all the tables.
SELECT category FROM table_name_92 WHERE year = 2012 AND award = "drama league award"
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the category for 2012 and drama league awardIt is not neccessary to use all the tables.
SELECT Composer FROM table WHERE Title = el hanone
CREATE TABLE INST, Here is a database schema( table schema);
Who is the composer of El Hanone?.It is not neccessary to use all the tables.
SELECT Replaced by FROM table WHERE Team = milton keynes dons
CREATE TABLE INST, Here is a database schema( table schema);
who is the replacement when the team is milton keynes dons?.It is not neccessary to use all the tables.
SELECT MAX(year) FROM table_15001681_1 WHERE womens_doubles = "Astrid Eidenbenz Claudia Jehle"
CREATE TABLE INST, Here is a database schema( table schema);
What is the most current year where the women's doubles champions are astrid eidenbenz claudia jehleIt is not neccessary to use all the tables.
SELECT driver FROM table_16493961_1 WHERE date = "June 23" AND team = "Penske Racing"
CREATE TABLE INST, Here is a database schema( table schema);
Name the driver for june 23 and team of penske racingIt is not neccessary to use all the tables.
SELECT COUNT Game FROM table WHERE Score = l 91–95 (ot)
CREATE TABLE INST, Here is a database schema( table schema);
How many games had a score of l 91–95 (ot)?.It is not neccessary to use all the tables.
SELECT Visitor FROM table WHERE Record = 51–12–4
CREATE TABLE INST, Here is a database schema( table schema);
Who was the visiting team when the record was 51–12–4?.It is not neccessary to use all the tables.
SELECT Competition FROM table WHERE Date = october 1, 1994
CREATE TABLE INST, Here is a database schema( table schema);
What is the competition that took place on October 1, 1994?.It is not neccessary to use all the tables.
SELECT Place FROM table WHERE Score = 71-69-66=206
CREATE TABLE INST, Here is a database schema( table schema);
What is the place of the player with a 71-69-66=206 score?.It is not neccessary to use all the tables.
SELECT player FROM table_name_46 WHERE average = "24.21"
CREATE TABLE INST, Here is a database schema( table schema);
What playee has 24.21 as the average?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Winning driver = rudolf caracciola AND Name = avusrennen
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the date for rudolf caracciola for avusrennen.It is not neccessary to use all the tables.
SELECT class FROM table_name_31 WHERE vehicle = "nissan" AND year = 2007
CREATE TABLE INST, Here is a database schema( table schema);
Which class had a vehicle of Nissan in 2007?It is not neccessary to use all the tables.
SELECT Original Beechwood Bunny Tale / Source material FROM table WHERE English title = "The Monster of Blueberry Lake"
CREATE TABLE INST, Here is a database schema( table schema);
Who was responsible for original beechwood bunny tale / source material for the episode title "The Monster of Blueberry Lake"?.It is not neccessary to use all the tables.
SELECT MIN(season_no) FROM table_11630008_4 WHERE written_by = "Joseph Hampton & Dani Renee"
CREATE TABLE INST, Here is a database schema( table schema);
What is the first season written by joseph hampton & dani renee?It is not neccessary to use all the tables.
SELECT series FROM table_name_35 WHERE director = "norm mccabe" AND title = "tokio jokio"
CREATE TABLE INST, Here is a database schema( table schema);
From what series was Tokio Jokio, directed by Norm McCabe?It is not neccessary to use all the tables.
SELECT director FROM table_name_92 WHERE language = "italian"
CREATE TABLE INST, Here is a database schema( table schema);
Who is the director of the film in Italian?It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Year > 2007 AND Runners-up = seoul samsung thunders AND Champions = jeonju kcc egis
CREATE TABLE INST, Here is a database schema( table schema);
What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007?.It is not neccessary to use all the tables.
SELECT date FROM table_name_38 WHERE score = "1-5"
CREATE TABLE INST, Here is a database schema( table schema);
Name the date for score of 1-5It is not neccessary to use all the tables.
SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Newell's Old Boys"
CREATE TABLE INST, Here is a database schema( table schema);
If second leg is Newell's Old Boys what name is first leg?It is not neccessary to use all the tables.
SELECT COUNT("Status") FROM table_21863 WHERE "Official Name" = 'Moncton'
CREATE TABLE INST, Here is a database schema( table schema);
How many status are there for Moncton?It is not neccessary to use all the tables.
SELECT MAX Wickets FROM table WHERE Best Bowling = 2/32 AND Matches < 5
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest wickets when the best bowling is 2/32 and matches is less than 5?.It is not neccessary to use all the tables.
SELECT Other Mozilla FROM table WHERE Chrome = 9.00%
CREATE TABLE INST, Here is a database schema( table schema);
What percentage of users were using other Mozilla browsers during the period in which 9.00% were using Chrome?.It is not neccessary to use all the tables.
SELECT MAX Longitude FROM table WHERE County = mountrail AND Water (sqmi) < 0.075
CREATE TABLE INST, Here is a database schema( table schema);
what is the highest longitude for county mountrail and the water (sqmi) is less than 0.075?.It is not neccessary to use all the tables.
SELECT COUNT(batting_partners) FROM table_1670921_2 WHERE season = "2006"
CREATE TABLE INST, Here is a database schema( table schema);
How many total batting partners were most successful in the 2006 season?It is not neccessary to use all the tables.
SELECT conference_titles FROM table_name_23 WHERE win__percentage = ".667"
CREATE TABLE INST, Here is a database schema( table schema);
What is Conference Titles when Win % is .667?It is not neccessary to use all the tables.
SELECT Assists FROM table WHERE Player = steve walker
CREATE TABLE INST, Here is a database schema( table schema);
How many assists did Steve Walker have?.It is not neccessary to use all the tables.
SELECT COUNT(wins) FROM table_name_22 WHERE events < 2
CREATE TABLE INST, Here is a database schema( table schema);
How many wins did he have when he played under 2 events?It is not neccessary to use all the tables.
SELECT County FROM table WHERE Number of households > 6,807 AND Median family income = $49,865
CREATE TABLE INST, Here is a database schema( table schema);
Which county had 6,807 households and a median family income of $49,865?.It is not neccessary to use all the tables.
SELECT attendance FROM table_28211103_1 WHERE st_kilda_score = "13.10.88"
CREATE TABLE INST, Here is a database schema( table schema);
What is the attendance when the st kilda score is 13.10.88?It is not neccessary to use all the tables.
SELECT COUNT(money_list_rank) FROM table_29499399_2 WHERE best_finish = "T10"
CREATE TABLE INST, Here is a database schema( table schema);
How many ranks on the money list had a best finish of t10?It is not neccessary to use all the tables.
SELECT p.ViewCount, CASE p.PostTypeId WHEN 1 THEN 'Q' WHEN 2 THEN 'A' END AS QA, p.Id AS "post_link" FROM Posts AS p WHERE p.Score > 100 ORDER BY p.ViewCount DESC
CREATE TABLE INST, Here is a database schema( table schema);
viewcounts for posts with a hihg score.It is not neccessary to use all the tables.
SELECT Compression Ratio FROM table WHERE VIN Code = c
CREATE TABLE INST, Here is a database schema( table schema);
What's the compression ratio when the vin code is c?.It is not neccessary to use all the tables.
SELECT Home team score FROM table WHERE Away team score = 14.12 (96)
CREATE TABLE INST, Here is a database schema( table schema);
What was the score of the home team when the away team scored 14.12 (96)?.It is not neccessary to use all the tables.
SELECT italian FROM table_name_83 WHERE english = "we had heard"
CREATE TABLE INST, Here is a database schema( table schema);
What's the Italian Pluperfect when the English is We Had Heard?It is not neccessary to use all the tables.
SELECT Fastest Lap FROM table WHERE Winning driver = al unser
CREATE TABLE INST, Here is a database schema( table schema);
Who had the fastest lap when Al Unser won?.It is not neccessary to use all the tables.
SELECT season FROM table_name_33 WHERE away = "2-0"
CREATE TABLE INST, Here is a database schema( table schema);
What season has an away 2-0?It is not neccessary to use all the tables.
SELECT AVG Overall FROM table WHERE Pick = 22 AND College = rice AND Round > 10
CREATE TABLE INST, Here is a database schema( table schema);
WHAT IS THE OVERALL AVERAGE WITH A 22 PICK, FROM RICE COLLEGE, AND ROUND BIGGER THAN 10?.It is not neccessary to use all the tables.
SELECT number FROM table_name_37 WHERE bb_ + hbp = 39 AND year = "1985"
CREATE TABLE INST, Here is a database schema( table schema);
The year of 1985 which has a BB +HBP of 39 has what Number listed?It is not neccessary to use all the tables.
SELECT MIN Width FROM table WHERE Frame size = 5k AND Height < 2700
CREATE TABLE INST, Here is a database schema( table schema);
What is the smallest width for a frame size of 5k and a height shorter than 2700?.It is not neccessary to use all the tables.
SELECT frequency FROM table_10333757_1 WHERE calls = "WEGP"
CREATE TABLE INST, Here is a database schema( table schema);
Which Frequency is used for WEGP calls?It is not neccessary to use all the tables.
SELECT top_speed FROM table_name_4 WHERE model = "slk200k" AND power = "122kw (163hp)"
CREATE TABLE INST, Here is a database schema( table schema);
What is the top speed of the SLK200K that produces 122kw (163hp)?It is not neccessary to use all the tables.
SELECT record FROM table_name_38 WHERE date = "november 13, 1932"
CREATE TABLE INST, Here is a database schema( table schema);
What was the record at the game on November 13 1932?It is not neccessary to use all the tables.
SELECT Ride Manufacturer and Type FROM table WHERE Minimum Height = 54" AND Year Opened > 1991
CREATE TABLE INST, Here is a database schema( table schema);
What is the ride manufacturer and type with a minimum height of 54", after the year 1991?.It is not neccessary to use all the tables.
SELECT game_site FROM table_name_97 WHERE opponent = "san diego chargers"
CREATE TABLE INST, Here is a database schema( table schema);
What's the Game SIte with an Opponent of San Diego Chargers?It is not neccessary to use all the tables.
SELECT designer FROM table_name_42 WHERE restaurant_name = "the citizen"
CREATE TABLE INST, Here is a database schema( table schema);
What designer has a restaurant named The Citizen?It is not neccessary to use all the tables.
SELECT country FROM table_name_62 WHERE score = 70 - 73 - 70 = 213
CREATE TABLE INST, Here is a database schema( table schema);
What country has a 70-73-70=213 score?It is not neccessary to use all the tables.
SELECT MIN(rank) FROM table_name_62 WHERE title = "the big doll house"
CREATE TABLE INST, Here is a database schema( table schema);
What is the rank of The Big Doll House?It is not neccessary to use all the tables.
SELECT MIN Races FROM table
CREATE TABLE INST, Here is a database schema( table schema);
What is the fewest number of races Pedro Nunes completed in any series?.It is not neccessary to use all the tables.
SELECT score FROM table_name_54 WHERE home_team = "shrewsbury town"
CREATE TABLE INST, Here is a database schema( table schema);
When the home team was Shrewsbury town what was the score?It is not neccessary to use all the tables.
SELECT innings FROM table_28846752_5 WHERE average = "19.60"
CREATE TABLE INST, Here is a database schema( table schema);
how many innings have an average of 19.60?It is not neccessary to use all the tables.
SELECT MIN(catches) FROM table_26041144_16 WHERE player = "Hashan Tillakaratne"
CREATE TABLE INST, Here is a database schema( table schema);
If the player is Hashan Tillakaratne what is the catches minimum?It is not neccessary to use all the tables.
SELECT home_team FROM table_name_64 WHERE date = "april 21"
CREATE TABLE INST, Here is a database schema( table schema);
Which home team is on April 21?It is not neccessary to use all the tables.
SELECT Score FROM table WHERE Record = 5–4–3
CREATE TABLE INST, Here is a database schema( table schema);
What is the Score of the game with a Record of 5–4–3?.It is not neccessary to use all the tables.
SELECT having__things_ FROM table_name_99 WHERE interacting__settings_ = "privacy, intimate spaces of togetherness"
CREATE TABLE INST, Here is a database schema( table schema);
Name the having things for privacy intimate spaces of togethernessIt is not neccessary to use all the tables.
SELECT Understanding FROM table WHERE Reason = νοῦς Nous
CREATE TABLE INST, Here is a database schema( table schema);
What is the understanding of the one that has νοῦς nous reasoning?.It is not neccessary to use all the tables.
SELECT MIN(heat) FROM table_name_9 WHERE lane = 4 AND nationality = "canada"
CREATE TABLE INST, Here is a database schema( table schema);
Who was the 4 lane person from Canada?It is not neccessary to use all the tables.
SELECT Percent of total FROM table WHERE $40,000 to $50,000 = n/a
CREATE TABLE INST, Here is a database schema( table schema);
What's the total percent of the $40-50K ones that have n/a?.It is not neccessary to use all the tables.
SELECT AVG Wins FROM table WHERE Goal Difference > 12 AND Club = granada cf AND Played > 30
CREATE TABLE INST, Here is a database schema( table schema);
Which Wins have a Goal Difference larger than 12, and a Club of granada cf, and Played larger than 30?.It is not neccessary to use all the tables.
SELECT Area km 2 FROM table WHERE Census Ranking = 1,016 of 5,008
CREATE TABLE INST, Here is a database schema( table schema);
What is the Area KM 2 of the place that has a Census ranking of 1,016 of 5,008?.It is not neccessary to use all the tables.
SELECT Record FROM table WHERE Week = 11
CREATE TABLE INST, Here is a database schema( table schema);
What was their record in week 11?.It is not neccessary to use all the tables.
SELECT Venue FROM table WHERE Player = les ames
CREATE TABLE INST, Here is a database schema( table schema);
For player Les Ames, what was the venue?.It is not neccessary to use all the tables.
SELECT Name FROM table WHERE State = yan
CREATE TABLE INST, Here is a database schema( table schema);
Which name has a state of Yan?.It is not neccessary to use all the tables.
SELECT SUM(year) FROM table_name_37 WHERE local_host_s_ = "sai"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of year with the local host Sai?It is not neccessary to use all the tables.
SELECT round FROM table_name_44 WHERE venue = "n" AND result = "5-1"
CREATE TABLE INST, Here is a database schema( table schema);
What round was the game with a result of 5-1 at N venue?It is not neccessary to use all the tables.
SELECT Eliminated by FROM table WHERE Time = 12:38
CREATE TABLE INST, Here is a database schema( table schema);
What is the number eliminated for the person with a time of 12:38?.It is not neccessary to use all the tables.
SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID
CREATE TABLE INST, Here is a database schema( table schema);
What are the names of entrepreneurs?It is not neccessary to use all the tables.
SELECT Administrative county FROM table WHERE Area 1961 (Statute acres) = 422372
CREATE TABLE INST, Here is a database schema( table schema);
Name the administrative county being area of 422372.It is not neccessary to use all the tables.
SELECT college_junior_club_team__league_ FROM table_name_84 WHERE position = "d" AND round < 11 AND player = "dennis vial"
CREATE TABLE INST, Here is a database schema( table schema);
What league has a D position a round smaller than 11 and is with Dennis Vial?It is not neccessary to use all the tables.
SELECT score FROM table_name_68 WHERE venue = "hampden park, glasgow"
CREATE TABLE INST, Here is a database schema( table schema);
What was the score in Hampden Park Glasgow?It is not neccessary to use all the tables.
SELECT self_employed FROM table_name_15 WHERE investment_income = "2%" AND other_income_sources = "3%" AND employment___salaries_ & _wages_ = "71%"
CREATE TABLE INST, Here is a database schema( table schema);
Investment income of 2% and an other income sources of 3% and an employment (salaries & wages) of 71% involves which self employed?It is not neccessary to use all the tables.
SELECT Driver FROM table WHERE Tyre = g AND Rounds = 2-12 AND Chassis = m7a
CREATE TABLE INST, Here is a database schema( table schema);
Which driver has a G tyre, rounds of 2-12 and a M7A chassis?.It is not neccessary to use all the tables.
SELECT type FROM table_2803662_3 WHERE town = "Stuttgart"
CREATE TABLE INST, Here is a database schema( table schema);
When stuttgart is the town what is the type?It is not neccessary to use all the tables.
SELECT COUNT Game site FROM table WHERE Team record = 1–7
CREATE TABLE INST, Here is a database schema( table schema);
How many game sites are there where the team record is 1–7?.It is not neccessary to use all the tables.
SELECT SUM Goals FROM table WHERE Date = 2007-06-16
CREATE TABLE INST, Here is a database schema( table schema);
What is the sum of the goals on 2007-06-16?.It is not neccessary to use all the tables.
SELECT SUM Losses FROM table WHERE Wins < 2 AND Rank = 10 AND Appearances > 3
CREATE TABLE INST, Here is a database schema( table schema);
Tell me the sum of losses for wins less than 2 and rank of 10 with appearances larger than 3.It is not neccessary to use all the tables.
SELECT Result FROM table WHERE Attendance > 3,303 AND Venue = firhill AND Date = 20 september 2008
CREATE TABLE INST, Here is a database schema( table schema);
What was the result of the event on 20 September 2008, held at the Firhill venue, at which more than 3,303 were in attendance?.It is not neccessary to use all the tables.
SELECT Stadium FROM table WHERE Team = vfb stuttgart ii
CREATE TABLE INST, Here is a database schema( table schema);
What is VFB Stuttgart II Team's Stadiuim?.It is not neccessary to use all the tables.
SELECT year_s__won FROM table_name_65 WHERE finish = "t31" AND player = "nick price"
CREATE TABLE INST, Here is a database schema( table schema);
What is Year(s) Won when Finish is "T31" and when Player is "Nick Price"?It is not neccessary to use all the tables.
SELECT AVG(rank) FROM table_name_78 WHERE total = 16
CREATE TABLE INST, Here is a database schema( table schema);
Which average rank has a total of 16?It is not neccessary to use all the tables.
SELECT * FROM table_train_229 WHERE hba1c >= 7 AND hemoglobin_a1c_hba1c <= 9
CREATE TABLE INST, Here is a database schema( table schema);
hba1c between 7 and 9 %It is not neccessary to use all the tables.
SELECT points_against FROM table_name_32 WHERE losing_bonus = "0" AND club = "banwen rfc"
CREATE TABLE INST, Here is a database schema( table schema);
what is the points against when the losing bonus is 0 and the club is banwen rfc?It is not neccessary to use all the tables.
SELECT singers FROM table_10848177_1 WHERE lyricist = "Alangudi Somu"
CREATE TABLE INST, Here is a database schema( table schema);
For which singers was Alangudi Somu the lyricist?It is not neccessary to use all the tables.
SELECT Date FROM table WHERE Circuit = bahrain international circuit
CREATE TABLE INST, Here is a database schema( table schema);
What's the date of Bahrain International Circuit?.It is not neccessary to use all the tables.
SELECT SUM Freq FROM table WHERE Owner = wpw AND Day Power ( W ) > 250
CREATE TABLE INST, Here is a database schema( table schema);
What is the WPW freq with a day power of 250?.It is not neccessary to use all the tables.
SELECT production_time FROM table_name_59 WHERE number_built > 2.737 AND model = "280s"
CREATE TABLE INST, Here is a database schema( table schema);
What's the production time with more than 2.737 built and a 280s model?It is not neccessary to use all the tables.
SELECT Spoofed Title FROM table WHERE Date = february 1998
CREATE TABLE INST, Here is a database schema( table schema);
Which Spoofed title is from February 1998?.It is not neccessary to use all the tables.
SELECT COUNT Series # FROM table WHERE Production code = 120
CREATE TABLE INST, Here is a database schema( table schema);
How many episodes had a production code 120?.It is not neccessary to use all the tables.
SELECT year FROM table_name_22 WHERE catalogue_number = "mash02"
CREATE TABLE INST, Here is a database schema( table schema);
What is the year of the disc with a catalogue number mash02?It is not neccessary to use all the tables.
SELECT COUNT Number (map) FROM table WHERE Area in km² > 13.5 AND Population Canada 2011 Census = 134,038
CREATE TABLE INST, Here is a database schema( table schema);
How much #s have an Area in km² larger than 13.5, and a Population Canada 2011 Census of 134,038?.It is not neccessary to use all the tables.
SELECT county FROM table_19681738_1 WHERE starky__percentage = "17.41%"
CREATE TABLE INST, Here is a database schema( table schema);
which country did stary get 17.41%It is not neccessary to use all the tables.
SELECT COUNT Score in the final FROM table WHERE Year = 1963
CREATE TABLE INST, Here is a database schema( table schema);
How many different final scores were there in 1963?.It is not neccessary to use all the tables.
SELECT COUNT(sales) FROM table_name_88 WHERE artist = "kelly clarkson"
CREATE TABLE INST, Here is a database schema( table schema);
What is the sales when the artist is kelly clarkson?It is not neccessary to use all the tables.
SELECT agg FROM table_name_48 WHERE team_1 = "tirana"
CREATE TABLE INST, Here is a database schema( table schema);
What is Agg. when Team 1 is "Tirana"?It is not neccessary to use all the tables.
SELECT Home (2nd leg) FROM table WHERE 1st Leg = 2-1
CREATE TABLE INST, Here is a database schema( table schema);
What was the home team for the 2nd leg for the match having a 1st leg score of 2-1?.It is not neccessary to use all the tables.
SELECT Name FROM table WHERE Time = 01:17:01
CREATE TABLE INST, Here is a database schema( table schema);
What Name has a Time of 01:17:01?.It is not neccessary to use all the tables.
SELECT COUNT(cultural_and_educational_panel) FROM table_name_9 WHERE labour_panel > 5 AND industrial_and_commercial_panel > 9
CREATE TABLE INST, Here is a database schema( table schema);
Which Cultural and Educational Panel has a Labour Panel larger than 5 and an Industrial and Commercial Panel larger than 9?It is not neccessary to use all the tables.
SELECT County FROM table WHERE Year Left = 1998
CREATE TABLE INST, Here is a database schema( table schema);
what is the county when the year left is 1998?.It is not neccessary to use all the tables.