sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT speed_rank FROM table_name_11 WHERE year = "1963" | CREATE TABLE INST, Here is a database schema( table schema); | What's the speed rank in 1963?It is not neccessary to use all the tables. |
SELECT City FROM table WHERE State = georgia | CREATE TABLE INST, Here is a database schema( table schema); | Which city is in Georgia?.It is not neccessary to use all the tables. |
SELECT competition FROM table_name_47 WHERE year < 2007 AND notes = "7434" | CREATE TABLE INST, Here is a database schema( table schema); | What competition was held earlier than 2007 and has 7434 in the notes field?It is not neccessary to use all the tables. |
SELECT clive_churchill_medal FROM table_name_27 WHERE losingteam = "sydney roosters" AND season = 2010 | CREATE TABLE INST, Here is a database schema( table schema); | Who wins the clive churchill medal when the losing team is the sydney roosters in 2010?It is not neccessary to use all the tables. |
SELECT Team FROM table WHERE Series = Formula Renault 2.0 NEC | CREATE TABLE INST, Here is a database schema( table schema); | What was the team where series is formula renault 2.0 nec?.It is not neccessary to use all the tables. |
SELECT MAX(no) FROM table_1949994_8 WHERE local_title = "Fort Boyard" | CREATE TABLE INST, Here is a database schema( table schema); | What series number had the local title of Fort Boyard?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Record = 17-27 | CREATE TABLE INST, Here is a database schema( table schema); | Name the score with record of 17-27.It is not neccessary to use all the tables. |
SELECT SUM Swimsuit FROM table WHERE Evening Gown > 9.257 AND Interview = 9.357 | CREATE TABLE INST, Here is a database schema( table schema); | What is the number for swimsuit when the evening gown number is larger than 9.257 and the interview number is 9.357?.It is not neccessary to use all the tables. |
SELECT COUNT(year_to_open) FROM table_name_51 WHERE name = "dandeung bridge" | CREATE TABLE INST, Here is a database schema( table schema); | What was the Year to Open for the Dandeung Bridge?It is not neccessary to use all the tables. |
SELECT MAX("ERP W") FROM table_38706 WHERE "Call sign" = 'w255bi' | CREATE TABLE INST, Here is a database schema( table schema); | Which ERP W is the highest one that has a Call sign of w255bi?It is not neccessary to use all the tables. |
SELECT date FROM table_name_81 WHERE format = "cd" | CREATE TABLE INST, Here is a database schema( table schema); | Name the date that is a cdIt is not neccessary to use all the tables. |
SELECT Manner of departure FROM table WHERE Date of appointment = 1 june 2007 | CREATE TABLE INST, Here is a database schema( table schema); | I want the manner of departure for 1 june 2007.It is not neccessary to use all the tables. |
SELECT 10 AS _rebounds FROM table_25696729_8 WHERE season = "1991–92" | CREATE TABLE INST, Here is a database schema( table schema); | List all rebounds equal to 10 for Dennis Rodman 's 1991–92 seasonIt is not neccessary to use all the tables. |
SELECT record FROM table_name_49 WHERE visitor = "boston bruins" AND date = "december 8" | CREATE TABLE INST, Here is a database schema( table schema); | What was the record on december 8 when the boston bruins visited?It is not neccessary to use all the tables. |
SELECT venue FROM table_17120964_6 WHERE man_of_the_match = "Alex Mettam/Mark Williams" | CREATE TABLE INST, Here is a database schema( table schema); | At what venue did Alex Mettam/Mark Williams be named Man of the Match?It is not neccessary to use all the tables. |
SELECT U.S. viewers (million) FROM table WHERE Production code = 5.09 | CREATE TABLE INST, Here is a database schema( table schema); | How many u.s. viewers (million) have the production code of 5.09?.It is not neccessary to use all the tables. |
SELECT T2.country FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = "Carole" AND T1.last_name = "Bernhard" | CREATE TABLE INST, Here is a database schema( table schema); | Which country does customer with first name as Carole and last name as Bernhard lived in?It is not neccessary to use all the tables. |
SELECT name FROM table_name_15 WHERE event = "men's time trial" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Name with an Event that is men's time trial?It is not neccessary to use all the tables. |
SELECT state_country FROM table_25595209_1 WHERE loa__metres_ = "19.50" | CREATE TABLE INST, Here is a database schema( table schema); | What the is the state that the boat is from with LOA of 19.50?It is not neccessary to use all the tables. |
SELECT high_rebounds FROM table_11964154_11 WHERE score = "L 84–102 (OT)" | CREATE TABLE INST, Here is a database schema( table schema); | Who had the high rebounds when the score was l 84–102 (ot)?It is not neccessary to use all the tables. |
SELECT COUNT(type) FROM table_22673956_1 WHERE track = "Phoenix International Raceway" | CREATE TABLE INST, Here is a database schema( table schema); | How many types of tracks are there on the Phoenix International raceway?It is not neccessary to use all the tables. |
SELECT director FROM table_name_41 WHERE country = "italy" | CREATE TABLE INST, Here is a database schema( table schema); | Which director is from Italy?It is not neccessary to use all the tables. |
SELECT Record FROM table WHERE High points = Dwyane Wade (27) AND Location Attendance = ARCO Arena | CREATE TABLE INST, Here is a database schema( table schema); | what's the record with high points being dwyane wade (27) and location attendance being arco arena.It is not neccessary to use all the tables. |
SELECT 3 AS rd_place FROM table_name_41 WHERE venue = "pardubice" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the 3rd place team at Pardubice?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Home team = lincoln city | CREATE TABLE INST, Here is a database schema( table schema); | What was the score of the game when the home team was Lincoln City?.It is not neccessary to use all the tables. |
SELECT year FROM table_225880_1 WHERE runner_s__up = "Willie Goggin" | CREATE TABLE INST, Here is a database schema( table schema); | Name the year for willie gogginIt is not neccessary to use all the tables. |
SELECT away_team AS score FROM table_name_23 WHERE home_team = "st kilda" | CREATE TABLE INST, Here is a database schema( table schema); | When st kilda was playing at home what was the away teams score?It is not neccessary to use all the tables. |
SELECT MIN Against FROM table WHERE Status = first test AND Date = 26/05/2007 | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest Against, when Status is "First Test", and when Date is "26/05/2007"?.It is not neccessary to use all the tables. |
SELECT MAX Opponents FROM table WHERE Date = Sept. 14 | CREATE TABLE INST, Here is a database schema( table schema); | How many points did the opponent score on Sept. 14?.It is not neccessary to use all the tables. |
SELECT Region 1 FROM table WHERE Region 4 = TBA AND Complete Series = The Complete Eighth Series | CREATE TABLE INST, Here is a database schema( table schema); | What is the region 1 where region 4 is tba is the complete eighth series?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_52 WHERE visitor = "ottawa senators" AND date = "december 11" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score for the December 11 game against the Ottawa Senators?It is not neccessary to use all the tables. |
SELECT MAX Female life expectancy FROM table WHERE Overall rank = 61 | CREATE TABLE INST, Here is a database schema( table schema); | Name the most female life expectancy for overall rank of 61.It is not neccessary to use all the tables. |
SELECT high_points FROM table_27723526_12 WHERE date = "March 30" | CREATE TABLE INST, Here is a database schema( table schema); | Name the high points for march 30It is not neccessary to use all the tables. |
SELECT 2 AS nd_leg FROM table_name_72 WHERE team_2 = "milano" | CREATE TABLE INST, Here is a database schema( table schema); | What is the 2nd leg for the team 2 Milano?It is not neccessary to use all the tables. |
SELECT time FROM table_name_72 WHERE rank = 14 | CREATE TABLE INST, Here is a database schema( table schema); | What is the time when the rank is 14?It is not neccessary to use all the tables. |
SELECT time FROM table_name_26 WHERE athlete = "law hiu fung" | CREATE TABLE INST, Here is a database schema( table schema); | What was Law Hiu Fung's time?It is not neccessary to use all the tables. |
SELECT date FROM table_24887326_7 WHERE away_team = "Birmingham City" | CREATE TABLE INST, Here is a database schema( table schema); | What is the date of the game played with Birmingham City as the away team?It is not neccessary to use all the tables. |
SELECT santo_domingo_, _dominican FROM table_name_79 WHERE world_record = "clean & jerk" | CREATE TABLE INST, Here is a database schema( table schema); | What is the figure for Santo Domingo Dominican for the world record in the clean & jerk?It is not neccessary to use all the tables. |
SELECT entrant FROM table_name_6 WHERE engine = "ferrari v8" AND points < 4 | CREATE TABLE INST, Here is a database schema( table schema); | what is the entrant for the ferrari v8 with points less than 4?It is not neccessary to use all the tables. |
SELECT Original Cast, 2009 FROM table WHERE Wales Cast, 2012 = Christopher Harris | CREATE TABLE INST, Here is a database schema( table schema); | In the original cast, who played the character portrayed by Christopher Harris in Wales?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_57 WHERE loss = "hideo nomo (3–5)" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score when the loss was hideo nomo (3–5)?It is not neccessary to use all the tables. |
SELECT last_title FROM table_2454589_1 WHERE first_season_in_current_spell = 2012 | CREATE TABLE INST, Here is a database schema( table schema); | Name the last title for 2012It is not neccessary to use all the tables. |
SELECT MAX Javelin FROM table WHERE 200 m = 5 | CREATE TABLE INST, Here is a database schema( table schema); | Name the max javelin for 200m for 5.It is not neccessary to use all the tables. |
SELECT margin_of_victory FROM table_name_41 WHERE date = "aug 11, 2002" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Margin of victory on aug 11 2002?It is not neccessary to use all the tables. |
SELECT County FROM table WHERE Year built > 1920 AND Latitude = 37°40′30"n | CREATE TABLE INST, Here is a database schema( table schema); | What County was built after 1920 with a Latitude of 37°40′30"n?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_19 WHERE opponent = "@ athletics" AND record = "76-57" | CREATE TABLE INST, Here is a database schema( table schema); | Which score has an Opponent of @ athletics and a Record of 76-57?It is not neccessary to use all the tables. |
SELECT COUNT Attendance FROM table WHERE Game < 3 AND Date = october 31 | CREATE TABLE INST, Here is a database schema( table schema); | Which Attendance has a Game smaller than 3, and a Date of october 31?.It is not neccessary to use all the tables. |
SELECT venue FROM table_name_19 WHERE notes = "2:04.22" | CREATE TABLE INST, Here is a database schema( table schema); | Which venue has 2:04.22 notes?It is not neccessary to use all the tables. |
SELECT model_number FROM table_name_57 WHERE frequency = "2000mhz" AND voltage = "0.75-1.2" | CREATE TABLE INST, Here is a database schema( table schema); | Which Model number has a Frequency of 2000mhz and a Voltage of 0.75-1.2?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Week < 8 AND Opponent = atlanta falcons | CREATE TABLE INST, Here is a database schema( table schema); | Which Date has a Week smaller than 8, and an Opponent of atlanta falcons?.It is not neccessary to use all the tables. |
SELECT COUNT(round) FROM table_name_94 WHERE overall = 63 | CREATE TABLE INST, Here is a database schema( table schema); | What round was the overall 63 drafted?It is not neccessary to use all the tables. |
SELECT COUNT(slovak) FROM table_26757_4 WHERE belarusian = "вуха (vúkha)" | CREATE TABLE INST, Here is a database schema( table schema); | When (v kha) is the belarusian how many slovaks are there?It is not neccessary to use all the tables. |
SELECT replaced_by FROM table_22640051_3 WHERE date_of_appointment = "8 July 2009" | CREATE TABLE INST, Here is a database schema( table schema); | Name the replaced by for 8 july 2009It is not neccessary to use all the tables. |
SELECT outcome FROM table_19047_2 WHERE opponent_in_the_final = "Jennifer Capriati" | CREATE TABLE INST, Here is a database schema( table schema); | What is the result in the final versos Jennifer Capriati?It is not neccessary to use all the tables. |
SELECT density__hab_km²_ FROM table_name_5 WHERE elevation_msl = "3,400 msl" | CREATE TABLE INST, Here is a database schema( table schema); | What is the density of the city with an elevation of 3400 msl?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Result = draw | CREATE TABLE INST, Here is a database schema( table schema); | On what date was the result a draw?.It is not neccessary to use all the tables. |
SELECT reader FROM table_20174050_23 WHERE format = "Download/CD" AND author = "Lidster, Joseph Joseph Lidster" | CREATE TABLE INST, Here is a database schema( table schema); | who is the reader on the download/cd format of the title written by author lidster joseph joseph lidster?It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Result = 3-1 | CREATE TABLE INST, Here is a database schema( table schema); | When was the result 3-1?.It is not neccessary to use all the tables. |
SELECT Host city FROM table WHERE Silver > 6 AND Total = 22 | CREATE TABLE INST, Here is a database schema( table schema); | Which Host City has more than 6 Silver and a Total of 22?.It is not neccessary to use all the tables. |
SELECT "Title" FROM table_45178 WHERE "Name" = 'mu' | CREATE TABLE INST, Here is a database schema( table schema); | What was Mu's title?It is not neccessary to use all the tables. |
SELECT attendance FROM table_name_79 WHERE opponent = "cincinnati bengals" | CREATE TABLE INST, Here is a database schema( table schema); | What was the attendance when the Cincinnati Bengals were the opponents?It is not neccessary to use all the tables. |
SELECT MIN(size) FROM table_name_93 WHERE mascot = "titans" | CREATE TABLE INST, Here is a database schema( table schema); | What is the lowest size of the school with titans as the mascot?It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.ethnicity = "ASIAN" | CREATE TABLE INST, Here is a database schema( table schema); | give me the number of patients whose admission type is elective and ethnicity is asian?It is not neccessary to use all the tables. |
SELECT Grid FROM table WHERE Constructor = toyota AND Time/Retired = +1:09.718 | CREATE TABLE INST, Here is a database schema( table schema); | What is the grid with a Toyota constructor and +1:09.718 as time/retired?.It is not neccessary to use all the tables. |
SELECT Purse( $ ) FROM table WHERE Score = 289 (9) | CREATE TABLE INST, Here is a database schema( table schema); | How much was the prize in the tournament where the winning score was 289 (9)?.It is not neccessary to use all the tables. |
SELECT COUNT("name") FROM table_204_600 WHERE "status" = 'unparished area' | CREATE TABLE INST, Here is a database schema( table schema); | how many areas are unparished areas ?It is not neccessary to use all the tables. |
SELECT AVG(total) FROM table_name_47 WHERE nation = "austria" AND bronze < 1 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total for Austria when there is less than 1 bronze?It is not neccessary to use all the tables. |
SELECT 1 AS st_party FROM table_name_28 WHERE election = "1847" | CREATE TABLE INST, Here is a database schema( table schema); | Which 1st Party has an election in 1847?It is not neccessary to use all the tables. |
SELECT election FROM table_name_40 WHERE second_member = "charles robert colvile" AND first_party = "conservative" AND first_member = "william mundy" | CREATE TABLE INST, Here is a database schema( table schema); | Which election has second member Charles Robert Colvile a conservative first party and first member William Mundy?It is not neccessary to use all the tables. |
SELECT high_rebounds FROM table_name_9 WHERE team = "@ toronto" | CREATE TABLE INST, Here is a database schema( table schema); | who had the high rebounds when the team was @ toronto?It is not neccessary to use all the tables. |
SELECT location_code, location_name FROM Ref_locations | CREATE TABLE INST, Here is a database schema( table schema); | List all location codes and location names.It is not neccessary to use all the tables. |
SELECT opponent FROM table_name_57 WHERE date = "july 21, 2008" | CREATE TABLE INST, Here is a database schema( table schema); | Which opponent was on July 21 2008?It is not neccessary to use all the tables. |
SELECT week FROM table_name_79 WHERE host_team = "baltimore ravens" | CREATE TABLE INST, Here is a database schema( table schema); | Which week did the Baltimore Ravens play at home ?It is not neccessary to use all the tables. |
SELECT to_par FROM table_name_77 WHERE place = "t6" AND score = 68 - 69 - 70 = 207 | CREATE TABLE INST, Here is a database schema( table schema); | What is the To par of the T6 Place Player with a Score of 68-69-70=207?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Result = loss AND Record = 1-1 | CREATE TABLE INST, Here is a database schema( table schema); | WHAT SCORE HAD A LOSS AND RECORD OF 1-1?.It is not neccessary to use all the tables. |
SELECT AVG(total_passengers), MAX(total_passengers) FROM station WHERE LOCATION = 'London' OR LOCATION = 'Glasgow' | CREATE TABLE INST, Here is a database schema( table schema); | What is the average and maximum number of total passengers for train stations in London or Glasgow?It is not neccessary to use all the tables. |
SELECT Airline FROM AIRLINES WHERE Abbreviation = "UAL" | CREATE TABLE INST, Here is a database schema( table schema); | Which airline has abbreviation 'UAL'?It is not neccessary to use all the tables. |
SELECT owner FROM table_name_87 WHERE lengths_behind = "5½" | CREATE TABLE INST, Here is a database schema( table schema); | Who the Owner that has a Lengths Behind of 5½?It is not neccessary to use all the tables. |
SELECT 1991 FROM table WHERE 1993 = grand slams | CREATE TABLE INST, Here is a database schema( table schema); | What is the 1991 finish for the 1993 Grand Slams?.It is not neccessary to use all the tables. |
SELECT school_club_team FROM table_15463188_17 WHERE name = "Mark Sanford" | CREATE TABLE INST, Here is a database schema( table schema); | Which school/club team has a player named Mark Sanford?It is not neccessary to use all the tables. |
SELECT MAX Game FROM table WHERE Date = April 12 | CREATE TABLE INST, Here is a database schema( table schema); | What number game of the season was played on April 12? .It is not neccessary to use all the tables. |
SELECT Home Team FROM table WHERE Visiting Team = san francisco 49ers AND Result = 42-14 | CREATE TABLE INST, Here is a database schema( table schema); | Who is the home team when the san francisco 49ers are visiting with a result of 42-14?.It is not neccessary to use all the tables. |
SELECT T1.first_name, T1.last_name, T2.size_code FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id | CREATE TABLE INST, Here is a database schema( table schema); | List each owner's first name last name and the size of his for her dog.It is not neccessary to use all the tables. |
SELECT death FROM table_name_45 WHERE birth = "8 december 1542" | CREATE TABLE INST, Here is a database schema( table schema); | when was the death when the birth was 8 december 1542?It is not neccessary to use all the tables. |
SELECT Event FROM table WHERE Time = 2:34 | CREATE TABLE INST, Here is a database schema( table schema); | Which event had a time of 2:34?.It is not neccessary to use all the tables. |
SELECT MIN Against FROM table WHERE Losses = 4 AND Draws = 0 AND Wins > 14 | CREATE TABLE INST, Here is a database schema( table schema); | Name the lowest against for when wins are greater than 14, draws is 0 and losses are 4.It is not neccessary to use all the tables. |
SELECT game_site FROM table_name_98 WHERE attendance = "11,309" | CREATE TABLE INST, Here is a database schema( table schema); | Where did the Jet's play with an attendance of 11309?It is not neccessary to use all the tables. |
SELECT MIN Sales (billion $) FROM table WHERE Headquarters = germany AND Profits (billion $) < 6.7 | CREATE TABLE INST, Here is a database schema( table schema); | What was Germany's lowest sales when the profit was smaller than 6.7 billion?.It is not neccessary to use all the tables. |
SELECT nationality FROM table_1013129_1 WHERE nhl_team = "New York Islanders" | CREATE TABLE INST, Here is a database schema( table schema); | The nhl team new york islanders is what nationality?It is not neccessary to use all the tables. |
SELECT date FROM table_name_2 WHERE opponent = "gabriela paz-franco" | CREATE TABLE INST, Here is a database schema( table schema); | What date was gabriela paz-franco the opponent?It is not neccessary to use all the tables. |
SELECT SUM Season FROM table WHERE Level = tier 4 AND Position = 11th | CREATE TABLE INST, Here is a database schema( table schema); | Which Season has a Level of tier 4, and a Position of 11th?.It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "LEFT AGAINST MEDICAL ADVI" AND procedures.short_title = "Cardiac rhythm conv NEC" | CREATE TABLE INST, Here is a database schema( table schema); | provide the number of patients whose discharge location is left against medical advi and procedure short title is cardiac rhythm conv nec?It is not neccessary to use all the tables. |
SELECT 2005 FROM table_name_37 WHERE 1999 = "0–0" | CREATE TABLE INST, Here is a database schema( table schema); | Which 2005 has a 1999 of 0–0?It is not neccessary to use all the tables. |
SELECT date FROM table_name_94 WHERE opponent = "lyoto machida" | CREATE TABLE INST, Here is a database schema( table schema); | when is the opponent lyoto machida?It is not neccessary to use all the tables. |
SELECT "year 1958" FROM table_202_276 ORDER BY "notes" DESC LIMIT 1 | CREATE TABLE INST, Here is a database schema( table schema); | what year was he most featured in shows ?It is not neccessary to use all the tables. |
SELECT MIN(pick) FROM table_2840500_1 WHERE player = "Ric Jackman" | CREATE TABLE INST, Here is a database schema( table schema); | What draft pick number was Ric Jackman?It is not neccessary to use all the tables. |
SELECT MAX Up:Down Ratio FROM table WHERE Upstream = 4 mbit/s | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest up:down ratio with 4 mbit/s upstream?.It is not neccessary to use all the tables. |
SELECT place FROM table_name_77 WHERE score > 66 AND player = "ben hogan" | CREATE TABLE INST, Here is a database schema( table schema); | Ben Hogan with a score larger than 66 had a place listed of what?It is not neccessary to use all the tables. |
SELECT MAX 1995 FROM table WHERE 1990 > 36 AND 1987 < 1987 AND 2007 > 107 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?.It is not neccessary to use all the tables. |
SELECT "Birth" FROM table_37214 WHERE "Became Duchess" = '17 april 1711 husband''s ascension' | CREATE TABLE INST, Here is a database schema( table schema); | Which Birth has a Became Duchess of 17 april 1711 husband's ascension?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.