sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT event FROM table_name_72 WHERE date = "august 20-august 27" | CREATE TABLE INST, Here is a database schema( table schema); | What is Event when Date is August 20-August 27?It is not neccessary to use all the tables. |
SELECT "Team" FROM table_18741 WHERE "Game" = '20' | CREATE TABLE INST, Here is a database schema( table schema); | Which team played in game 20?It is not neccessary to use all the tables. |
SELECT constituency_number FROM table_name_73 WHERE name = "total:" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Constituency Number of Total:?It is not neccessary to use all the tables. |
SELECT location FROM table_name_39 WHERE time = "5:00" AND record = "8-4" | CREATE TABLE INST, Here is a database schema( table schema); | Where was the fight that lasted 5:00 when Yundt's record was 8-4?It is not neccessary to use all the tables. |
SELECT MAX(holborn_division) FROM table_16677738_1 WHERE tower_division = 272966 | CREATE TABLE INST, Here is a database schema( table schema); | When 272966 is the tower division what is the highest holborn division?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Competition = 2015 afc asian cup qualification | CREATE TABLE INST, Here is a database schema( table schema); | Name the score for 2015 afc asian cup qualification.It is not neccessary to use all the tables. |
SELECT AVG Total FROM table WHERE Rank = 7 AND Gold > 0 | CREATE TABLE INST, Here is a database schema( table schema); | what is the total when the rank is 7 and gold is more than 0?.It is not neccessary to use all the tables. |
SELECT MIN ANSI code FROM table WHERE Longitude > -101.333926 AND GEO ID < 3806700900 AND Township = adler AND Land ( sqmi ) > 35.84 | CREATE TABLE INST, Here is a database schema( table schema); | What is the smallest ANSI code for adler township when Longitude is more than -101.333926, GEO ID is less than 3806700900, and Land ( sqmi ) is more than 35.84?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Score = 24-7 AND Record = 4-10 | CREATE TABLE INST, Here is a database schema( table schema); | Which Date has a Score of 24-7, and a Record of 4-10?.It is not neccessary to use all the tables. |
SELECT COUNT Laps FROM table WHERE Time/Retired = received outside assistance AND Grid < 19 | CREATE TABLE INST, Here is a database schema( table schema); | Where the grid is under 19, the time finished was logged as received outside assistance, what's the total number of laps?.It is not neccessary to use all the tables. |
SELECT MAX(founded) FROM table_27599216_6 WHERE football_stadium = "McMahon Stadium" | CREATE TABLE INST, Here is a database schema( table schema); | What year was mcmahon stadium founded?It is not neccessary to use all the tables. |
SELECT tie_no FROM table_name_34 WHERE away_team = "wigan athletic" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Tie number of when Wigan Athletic was the away team?It is not neccessary to use all the tables. |
SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton" | CREATE TABLE INST, Here is a database schema( table schema); | which school shows #/county of 29 hamilton?It is not neccessary to use all the tables. |
SELECT golden_tickets FROM table_22897967_1 WHERE audition_venue = "Invesco Field" | CREATE TABLE INST, Here is a database schema( table schema); | Name the golden ticket for invesco fieldIt is not neccessary to use all the tables. |
SELECT success FROM table_12078626_1 WHERE deadline_for_completion = "October 7, 2007" | CREATE TABLE INST, Here is a database schema( table schema); | what's the success where deadline for completion is october 7 2007It is not neccessary to use all the tables. |
SELECT Away team FROM table WHERE Home team = geelong | CREATE TABLE INST, Here is a database schema( table schema); | Who went to Geelong to play?.It is not neccessary to use all the tables. |
SELECT Passed? FROM table WHERE Challenge = country driving | CREATE TABLE INST, Here is a database schema( table schema); | What is the result for passing in the country driving challenge?.It is not neccessary to use all the tables. |
SELECT AVG(earnings__) AS $_ FROM table_name_88 WHERE money_list_rank = "6" AND year < 2004 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average amount of earnings for years under 2004 and money list rankings of 6?It is not neccessary to use all the tables. |
SELECT AVG(played__pj_) FROM table_name_18 WHERE place__posición_ = 2 AND lost__pp_ > 4 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number played for place 2 and more than 4 lost?It is not neccessary to use all the tables. |
SELECT Korean dialect FROM table WHERE RR Romaja = jeolla | CREATE TABLE INST, Here is a database schema( table schema); | What is the Korean dialect with a jeolla RR Romaja?.It is not neccessary to use all the tables. |
SELECT "To par" FROM table_48861 WHERE "Country" = 'united states' AND "Score" = '71-68-73=212' | CREATE TABLE INST, Here is a database schema( table schema); | What is To Par, when Country is United States, and when Score is 71-68-73=212?It is not neccessary to use all the tables. |
SELECT city FROM table_name_64 WHERE iata = "nkg" | CREATE TABLE INST, Here is a database schema( table schema); | Which city's IATA is nkg?It is not neccessary to use all the tables. |
SELECT location FROM table_name_57 WHERE year > 2002 AND gold = "kim hyun-soo" | CREATE TABLE INST, Here is a database schema( table schema); | What is the location of the Asian Games after 2002 when Kim Hyun-soo won the gold?It is not neccessary to use all the tables. |
SELECT winning_score FROM table_name_2 WHERE date = "may 29, 1977" | CREATE TABLE INST, Here is a database schema( table schema); | What was the Winning Score on May 29 1977?It is not neccessary to use all the tables. |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'CLEVELAND' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALL... | CREATE TABLE INST, Here is a database schema( table schema); | i need the flight numbers of flights leaving from CLEVELAND and arriving at DALLASIt is not neccessary to use all the tables. |
SELECT Loss FROM table WHERE Attendance > 35,621 AND Date = july 1 | CREATE TABLE INST, Here is a database schema( table schema); | What was the loss for the game on July 1 with an attendance more than 35,621?.It is not neccessary to use all the tables. |
SELECT High assists FROM table WHERE Game = 3 | CREATE TABLE INST, Here is a database schema( table schema); | Who had the highest assists in game 3?.It is not neccessary to use all the tables. |
SELECT MIN Crowd FROM table WHERE Home team score = 12.9 (81) | CREATE TABLE INST, Here is a database schema( table schema); | What was the smallest crowd during a game where the home team scored 12.9 (81)?.It is not neccessary to use all the tables. |
SELECT AVG Goals FROM table WHERE Venue = hong kong stadium, hong kong | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of goals that occurred in Hong Kong Stadium, Hong Kong?.It is not neccessary to use all the tables. |
SELECT MAX F/Laps FROM table | CREATE TABLE INST, Here is a database schema( table schema); | List the highest number of laps..It is not neccessary to use all the tables. |
SELECT MAX Area km 2 FROM table WHERE Status = village AND Official Name = drummond | CREATE TABLE INST, Here is a database schema( table schema); | What is the area of drummond village?.It is not neccessary to use all the tables. |
SELECT Length FROM table WHERE Song = "harvest" | CREATE TABLE INST, Here is a database schema( table schema); | How long is "Harvest"?.It is not neccessary to use all the tables. |
SELECT High points FROM table WHERE Game = 68 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the high point scorer in game number 68?.It is not neccessary to use all the tables. |
SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star" | CREATE TABLE INST, Here is a database schema( table schema); | What is the summary for the episode with a coach named Rebecca Star?It is not neccessary to use all the tables. |
SELECT "Consider" FROM table_75642 WHERE "Poll Source" = 'newsweek poll' AND "Oppose" = '32%' AND "Candidate" = 'rudy giuliani' | CREATE TABLE INST, Here is a database schema( table schema); | What percentage of people said they would consider Rudy Giuliani as a candidate according to the Newsweek poll that showed 32% opposed him?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE Visitor = toronto maple leafs AND Score = 3–10 | CREATE TABLE INST, Here is a database schema( table schema); | What was the record when the visitor was toronto maple leafs and the score was 3–10?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Opponent = chris evert-lloyd | CREATE TABLE INST, Here is a database schema( table schema); | Which Score had an Opponent of chris evert-lloyd?.It is not neccessary to use all the tables. |
SELECT "English" FROM table_12393 WHERE "German" = 'apfel' | CREATE TABLE INST, Here is a database schema( table schema); | What's the English word for apfel?It is not neccessary to use all the tables. |
SELECT Division Record FROM table WHERE Team = panthers | CREATE TABLE INST, Here is a database schema( table schema); | What is the Panthers' Division Record?.It is not neccessary to use all the tables. |
SELECT 1993 FROM table WHERE 1991 = grand slams | CREATE TABLE INST, Here is a database schema( table schema); | What shows for 1993 when 1991 is grand slams?.It is not neccessary to use all the tables. |
SELECT 2012 FROM table_name_94 WHERE 2010 = "q3" | CREATE TABLE INST, Here is a database schema( table schema); | Name the 2012 for when 2010 is q3It is not neccessary to use all the tables. |
SELECT quantity FROM table_name_65 WHERE model = "pg-2901" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Quantity of the engine Model PG-2901?It is not neccessary to use all the tables. |
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis AS FARE_BASIS_0, fare_basis AS FARE_BASIS_1, flight, flight_fare WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_... | CREATE TABLE INST, Here is a database schema( table schema); | show me all FIRST class fares from NEW YORK to MIAMI leaving on a TUESDAYIt is not neccessary to use all the tables. |
SELECT State (class) FROM table WHERE Reason for change = Resigned November 3, 1964 | CREATE TABLE INST, Here is a database schema( table schema); | Name the state class for resigned november 3, 1964.It is not neccessary to use all the tables. |
SELECT Episode Number FROM table WHERE Podcast Date = august 8, 2005 | CREATE TABLE INST, Here is a database schema( table schema); | What is the episode number of the episode that aired on August 8, 2005?.It is not neccessary to use all the tables. |
SELECT ezhavas FROM table_23214055_2 WHERE syrian_christians = "26.2" | CREATE TABLE INST, Here is a database schema( table schema); | Name the ezhavas and syrian christians being 26.2It is not neccessary to use all the tables. |
SELECT Time FROM table WHERE Rider = jules croft | CREATE TABLE INST, Here is a database schema( table schema); | What time has jules croft as the rider?.It is not neccessary to use all the tables. |
SELECT COUNT(against) FROM table_name_6 WHERE status = "five nations" AND venue = "twickenham, london" AND opposing_teams = "scotland" | CREATE TABLE INST, Here is a database schema( table schema); | What's the total against for opposing team scotland at twickenham london venue with a status of five nations?It is not neccessary to use all the tables. |
SELECT progressive_total FROM table_19072602_3 WHERE team_usa = "Tim Mack" | CREATE TABLE INST, Here is a database schema( table schema); | When tim mack is on team usa what is the progressive total?It is not neccessary to use all the tables. |
SELECT score FROM table_name_35 WHERE date = "october 9" | CREATE TABLE INST, Here is a database schema( table schema); | Name the score for october 9It is not neccessary to use all the tables. |
SELECT COUNT(overall) FROM table_name_30 WHERE player = "angelo craig" | CREATE TABLE INST, Here is a database schema( table schema); | What is the number for overall for angelo craig?It is not neccessary to use all the tables. |
SELECT time FROM table_name_32 WHERE composer_s_ = "kyriakos papadopoulos" | CREATE TABLE INST, Here is a database schema( table schema); | What is Time, when Composer(s) is 'Kyriakos Papadopoulos'?It is not neccessary to use all the tables. |
SELECT away_team AS score FROM table_name_80 WHERE ground = "waverley park" AND home_team = "collingwood" | CREATE TABLE INST, Here is a database schema( table schema); | What was the away team score when Waverley Park was the ground and the home team was collingwood?It is not neccessary to use all the tables. |
SELECT COUNT(grid) FROM table_name_86 WHERE driver = "anthony davidson" AND laps < 8 | CREATE TABLE INST, Here is a database schema( table schema); | What was the grid for anthony davidson when the laps were less than 8?It is not neccessary to use all the tables. |
SELECT COUNT Position FROM table WHERE Season = 2010 | CREATE TABLE INST, Here is a database schema( table schema); | How many positions are shown for the 2010 season?.It is not neccessary to use all the tables. |
SELECT Built FROM table WHERE S.R. Number < 2033 AND LB&SC Number < 18 AND Notes = i2 AND Withdrawal = cannot handle non-empty timestamp argument! 1935 | CREATE TABLE INST, Here is a database schema( table schema); | what is the built when s.r. number is less than 2033, lb&sc number is less than 18, notes is i2 and withdrawal is cannot handle non-empty timestamp argument! 1935?.It is not neccessary to use all the tables. |
SELECT Range FROM table WHERE Name = mount fukushima AND Rank = 38 | CREATE TABLE INST, Here is a database schema( table schema); | Which range includes Mount Fukushima, and is ranked 38?.It is not neccessary to use all the tables. |
SELECT Common Name FROM table WHERE Length (AA) = 1323 | CREATE TABLE INST, Here is a database schema( table schema); | What is the common name of the animal whose length (AA) is 1323?.It is not neccessary to use all the tables. |
SELECT MAX(first_elected) FROM table_1342270_42 | CREATE TABLE INST, Here is a database schema( table schema); | What is the latest year any of the incumbents were first elected?It is not neccessary to use all the tables. |
SELECT Home team FROM table WHERE Away team score = 11.14 (80) | CREATE TABLE INST, Here is a database schema( table schema); | Who is the home side when the away side score is 11.14 (80)?.It is not neccessary to use all the tables. |
SELECT Event FROM table WHERE Games = 2012 london | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the event for 2012 london games.It is not neccessary to use all the tables. |
SELECT COUNT Year FROM table WHERE Open Cup = 1st round | CREATE TABLE INST, Here is a database schema( table schema); | How many years did Real Colorado Foxes make it to the Open Cup 1st Round?.It is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE Home team = essendon | CREATE TABLE INST, Here is a database schema( table schema); | Where does Essendon play their home games?.It is not neccessary to use all the tables. |
SELECT COUNT Clean electric grid California (San Francisco) FROM table WHERE Vehicle = BMW ActiveE | CREATE TABLE INST, Here is a database schema( table schema); | When bmw activee is the vehicle type how many clean electric grid california (san francisco) measurements are there?.It is not neccessary to use all the tables. |
SELECT T1.Name, T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID | CREATE TABLE INST, Here is a database schema( table schema); | Show names of climbers and the names of mountains they climb.It is not neccessary to use all the tables. |
SELECT crowd FROM table_name_59 WHERE away_team = "footscray" | CREATE TABLE INST, Here is a database schema( table schema); | What was the crowd size for the away team footscray?It is not neccessary to use all the tables. |
SELECT COUNT(age) FROM table_23476629_2 WHERE hometown = "Andujar" | CREATE TABLE INST, Here is a database schema( table schema); | How many contestants of whatever age are there whose hometown of Andujar?It is not neccessary to use all the tables. |
SELECT COUNT(commentator) FROM table_184803_4 WHERE broadcaster = "ORF" | CREATE TABLE INST, Here is a database schema( table schema); | how many people commentated where broadcaster is orfIt is not neccessary to use all the tables. |
SELECT AVG Ties FROM table WHERE Team = montreal victorias AND Games Played > 8 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average ties when the team is montreal victorias and the games played is more than 8?.It is not neccessary to use all the tables. |
SELECT round_winner FROM table_19886463_1 WHERE circuit = "Wanneroo Park" | CREATE TABLE INST, Here is a database schema( table schema); | Who is the round winner of the wanneroo park circuit?It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_71 WHERE time = "2:01" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent when the fight had a time of 2:01?It is not neccessary to use all the tables. |
SELECT away_team AS score FROM table_name_43 WHERE home_team = "hawthorn" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score of the away team when hawthorn was the home team?It is not neccessary to use all the tables. |
SELECT surface FROM table_name_90 WHERE score = "6–4, 6–1" | CREATE TABLE INST, Here is a database schema( table schema); | What was the court surface when the score was 6–4 6–1?It is not neccessary to use all the tables. |
SELECT AVG Rank FROM table WHERE Time < 57.05 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average rank for 57.05 time?.It is not neccessary to use all the tables. |
SELECT "Driver" FROM table_53109 WHERE "Laps" > '9' AND "Grid" = '7' | CREATE TABLE INST, Here is a database schema( table schema); | What driver raced for more than 9 laps on grid 7?It is not neccessary to use all the tables. |
SELECT result FROM table_name_2 WHERE year > 1993 AND round = "first four" | CREATE TABLE INST, Here is a database schema( table schema); | What is the result after 1993 of the first four rounds?It is not neccessary to use all the tables. |
SELECT Publisher FROM table WHERE Release title = martial law: substitutes | CREATE TABLE INST, Here is a database schema( table schema); | Which publisher released Martial Law: Substitutes?.It is not neccessary to use all the tables. |
SELECT COUNT Games FROM table WHERE Losses > 6 AND Club = club sportif sfaxien AND Wins < 3 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of Games, when Losses is greater than 6, when Club is "Club Sportif Sfaxien", and when Wins is less than 3?.It is not neccessary to use all the tables. |
SELECT COUNT("Contestant") FROM table_27692 WHERE "Height (ft)" = '5''7' AND "Age" = '26' | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of contestants who are 5'7' and exactly 26 years of age?It is not neccessary to use all the tables. |
SELECT Epoch (UTC) FROM table WHERE Periselene (km) = 2,291.250 | CREATE TABLE INST, Here is a database schema( table schema); | What is every entry for epoch if periselene is 2,291.250?.It is not neccessary to use all the tables. |
SELECT prog_cons FROM table_name_63 WHERE polling_firm = "corporate research associates" AND liberal = "31%" AND dates = "february 2009" | CREATE TABLE INST, Here is a database schema( table schema); | According to the February 2009 poll by the Corporate Research Associates that reported 31% Liberal. what percentage aligned with the Prog. Cons. party?It is not neccessary to use all the tables. |
SELECT Country FROM table WHERE Score = 74-70=144 | CREATE TABLE INST, Here is a database schema( table schema); | What country has a score of 74-70=144.It is not neccessary to use all the tables. |
SELECT first_team_goals FROM table_name_73 WHERE player = "samir carruthers" | CREATE TABLE INST, Here is a database schema( table schema); | How many first-team goals does the team have whose player is Samir Carruthers?It is not neccessary to use all the tables. |
SELECT "Player" FROM table_1656 WHERE "College/Country/Team" = 'Mercer' | CREATE TABLE INST, Here is a database schema( table schema); | Name the player for mercerIt is not neccessary to use all the tables. |
SELECT SUM(total) FROM table_name_9 WHERE nation = "netherlands" | CREATE TABLE INST, Here is a database schema( table schema); | How many total medals for the netherlands?It is not neccessary to use all the tables. |
SELECT tackles FROM table_name_75 WHERE solo > 67 AND sacks < 2 AND int_yds > 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the value for Tackles when the value for Solo is greater than 67 when the value for Sacks is less than 2 and when the value for INT YDS is greater than 1?It is not neccessary to use all the tables. |
SELECT status FROM table_name_93 WHERE area_km_2 > 303.73 | CREATE TABLE INST, Here is a database schema( table schema); | What is Status when Area km 2 is greater than 303.73?It is not neccessary to use all the tables. |
SELECT away_team FROM table_name_93 WHERE tie_no = "2" | CREATE TABLE INST, Here is a database schema( table schema); | What was the name of the away team that had a tie of 2?It is not neccessary to use all the tables. |
SELECT COUNT Party FROM table WHERE Candidates = Thomas H. Hubbard (DR) 51.5% Simeon Ford (F) 48.4% | CREATE TABLE INST, Here is a database schema( table schema); | how many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%?.It is not neccessary to use all the tables. |
SELECT MAX Track # FROM table | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest track number?.It is not neccessary to use all the tables. |
SELECT COUNT(mon_23_aug) FROM table_26986076_1 WHERE fri_27_aug = "19' 38.87 115.219mph" | CREATE TABLE INST, Here is a database schema( table schema); | How many times was the time 19' 38.87 115.219mph on Fri Aug 27?It is not neccessary to use all the tables. |
SELECT To par FROM table WHERE Place = t6 AND Player = nick faldo | CREATE TABLE INST, Here is a database schema( table schema); | Which To par has a Place of t6, and a Player of nick faldo?.It is not neccessary to use all the tables. |
SELECT qual_1 FROM table_name_25 WHERE name = "alex tagliani" | CREATE TABLE INST, Here is a database schema( table schema); | what is the qual 1 for alex tagliani?It is not neccessary to use all the tables. |
SELECT COUNT(*), city_code FROM student GROUP BY city_code HAVING COUNT(*) > 1 | CREATE TABLE INST, Here is a database schema( table schema); | Find the number of students for the cities where have more than one student.It is not neccessary to use all the tables. |
SELECT "Bonus points" FROM table_65099 WHERE "Drawn" = '4' | CREATE TABLE INST, Here is a database schema( table schema); | What is the number of bonus points when there are 4 drawn?It is not neccessary to use all the tables. |
SELECT opponent FROM table_26108103_2 WHERE rushing_yards = 117 | CREATE TABLE INST, Here is a database schema( table schema); | Who was the opponent when there was 117 rushing yards?It is not neccessary to use all the tables. |
SELECT points_against FROM table_name_96 WHERE "drawn" = "drawn" | CREATE TABLE INST, Here is a database schema( table schema); | what is the points against when drawn is drawn?It is not neccessary to use all the tables. |
SELECT Publisher FROM table WHERE Title = drop dead | CREATE TABLE INST, Here is a database schema( table schema); | Which publisher has a title of drop dead?.It is not neccessary to use all the tables. |
SELECT place FROM table_name_57 WHERE player = "corey pavin" | CREATE TABLE INST, Here is a database schema( table schema); | What place was Corey Pavin in?It is not neccessary to use all the tables. |
SELECT Crowd FROM table WHERE Venue = lake oval | CREATE TABLE INST, Here is a database schema( table schema); | How many people were in the crowd at Lake Oval?.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.