sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT number FROM table_name_82 WHERE name = "rashad mccants" | CREATE TABLE INST, Here is a database schema( table schema); | What number was Rashad McCants?It is not neccessary to use all the tables. |
SELECT "Change over same quarter the previous year" FROM table_1636 WHERE "% trains arriving within 5 mins of scheduled time (over three months)" = '89.6%' | CREATE TABLE INST, Here is a database schema( table schema); | What's the change over same quarter the previous year in the period when the 89.6% of the trains arrive within 5 minutes of scheduled time (over three months)?It is not neccessary to use all the tables. |
SELECT PostId AS "post_link", Text, Score FROM Comments WHERE UserId = '##UserId##' ORDER BY Score DESC | CREATE TABLE INST, Here is a database schema( table schema); | My comments by score with post link.It is not neccessary to use all the tables. |
SELECT party FROM table_name_33 WHERE district = "tennessee 8" | CREATE TABLE INST, Here is a database schema( table schema); | What is Party when District is "Tennessee 8"?It is not neccessary to use all the tables. |
SELECT event FROM table_name_56 WHERE venue = "erfurt, germany" | CREATE TABLE INST, Here is a database schema( table schema); | What event took place in Erfurt Germany?It is not neccessary to use all the tables. |
SELECT Rank FROM table WHERE Bronze = 1 AND Nation = lithuania | CREATE TABLE INST, Here is a database schema( table schema); | Which Rank has a Bronze of 1, and a Nation of lithuania?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Country = united states AND To par = +2 AND Player = phil hancock | CREATE TABLE INST, Here is a database schema( table schema); | what is the score when the country is united states, the to par is +2 and the player is phil hancock?.It is not neccessary to use all the tables. |
SELECT December FROM table WHERE February = anne-marie fox | CREATE TABLE INST, Here is a database schema( table schema); | Who is the December playmate with a February playmate Anne-Marie Fox?.It is not neccessary to use all the tables. |
SELECT winner FROM table_name_14 WHERE race = "food world 250" | CREATE TABLE INST, Here is a database schema( table schema); | Who won the Food World 250?It is not neccessary to use all the tables. |
SELECT loss FROM table_name_94 WHERE date = "may 31" | CREATE TABLE INST, Here is a database schema( table schema); | Who lost on May 31?It is not neccessary to use all the tables. |
SELECT Sat 29 Aug FROM table WHERE Rank = 3 | CREATE TABLE INST, Here is a database schema( table schema); | When 3 is the rank what is the time for Saturday August 29th?.It is not neccessary to use all the tables. |
SELECT Quarterback FROM table WHERE Career Wins > 81 AND Teams = seattle AND Team Wins < 70 | CREATE TABLE INST, Here is a database schema( table schema); | Which Seattle quarterback has more than 81 career wins and less than 70 team wins?.It is not neccessary to use all the tables. |
SELECT model FROM table_name_97 WHERE engine_type = "b5244 s2" | CREATE TABLE INST, Here is a database schema( table schema); | What is the model with a engine type with b5244 s2?It is not neccessary to use all the tables. |
SELECT Source FROM table WHERE Moving from = swindon town | CREATE TABLE INST, Here is a database schema( table schema); | What is the source of a move from Swindon Town?.It is not neccessary to use all the tables. |
SELECT Named after FROM table WHERE Longitude < 270.7 AND Latitude > -47.1 AND Diameter (km) < 7.2 AND Name = ayashe | CREATE TABLE INST, Here is a database schema( table schema); | What is the namesake of Ayashe at a longitude less than 270.7, latitude more than -47.1, and a diameter less than 7.2?.It is not neccessary to use all the tables. |
SELECT opponents_in_the_final FROM table_name_51 WHERE date = "june 10, 1996" | CREATE TABLE INST, Here is a database schema( table schema); | Which Opponents in the final have a Date of june 10 1996?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 location FROM table_11622255_1 WHERE tournament = "Raley's Senior Gold Rush" | CREATE TABLE INST, Here is a database schema( table schema); | what's the location where tournament is raley's senior gold rushIt is not neccessary to use all the tables. |
SELECT fastest_lap FROM table_1137695_3 WHERE grand_prix = "Brazilian grand_prix" | CREATE TABLE INST, Here is a database schema( table schema); | Who had the fastest lap at the brazilian grand prix?It is not neccessary to use all the tables. |
SELECT Round FROM table WHERE Clubs involved = 4 | CREATE TABLE INST, Here is a database schema( table schema); | Which round has 4 clubs involved?.It is not neccessary to use all the tables. |
SELECT Proto-Italo-Western 1 FROM table WHERE English = door | CREATE TABLE INST, Here is a database schema( table schema); | What is every entry for Proto-Italo-Western 1 when door is English?.It is not neccessary to use all the tables. |
SELECT score FROM table_name_74 WHERE date = "june 17" | CREATE TABLE INST, Here is a database schema( table schema); | What was the final score of the game on June 17?It is not neccessary to use all the tables. |
SELECT romaji_title FROM table_name_94 WHERE japanese_title = "菊次郎とさき 3" | CREATE TABLE INST, Here is a database schema( table schema); | Which romaji title has Japanese title of 菊次郎とさき 3?It is not neccessary to use all the tables. |
SELECT Code name FROM table WHERE FSB / HT (MHz) = 100 (fsb) | CREATE TABLE INST, Here is a database schema( table schema); | What is the code name when the FSB / HT (MHz) is 100 (fsb)?.It is not neccessary to use all the tables. |
SELECT Crowd FROM table WHERE Home team = north melbourne | CREATE TABLE INST, Here is a database schema( table schema); | How many people were in the crowd when North Melbourne was the home team?.It is not neccessary to use all the tables. |
SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes' | CREATE TABLE INST, Here is a database schema( table schema); | Find the states where have some college students in tryout and their decisions are yes.It is not neccessary to use all the tables. |
SELECT team FROM table_name_44 WHERE round_winner = "john bowe" AND circuit = "winton motor raceway" | CREATE TABLE INST, Here is a database schema( table schema); | On what team did John Bowe round winner at Winton Motor Raceway belong to?It is not neccessary to use all the tables. |
SELECT MIN(rr3_pts) FROM table_21489362_2 WHERE rr4_pts = "20" | CREATE TABLE INST, Here is a database schema( table schema); | When 20 is the rr4 points what is the lowest rr3 points?It is not neccessary to use all the tables. |
SELECT year FROM table_name_82 WHERE match = 63 | CREATE TABLE INST, Here is a database schema( table schema); | Which Year has a Match of 63?It is not neccessary to use all the tables. |
SELECT AVG Area (km²) FROM table WHERE Name = glenella AND Population (2011) < 522 | CREATE TABLE INST, Here is a database schema( table schema); | What was the area in Glenella with a population of 522 in 2011?.It is not neccessary to use all the tables. |
SELECT Height FROM table WHERE Pos. = gk AND Club = vk primorac kotor | CREATE TABLE INST, Here is a database schema( table schema); | What is the height of the player from club vk primorac kotor who plays gk?.It is not neccessary to use all the tables. |
SELECT lead FROM table_name_5 WHERE event = "2008 wcc" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the lead for the 2008 WCC?It is not neccessary to use all the tables. |
SELECT season FROM table_name_29 WHERE country = "belgium" AND goals = "1" | CREATE TABLE INST, Here is a database schema( table schema); | What season had Belgium and 1 goal?It is not neccessary to use all the tables. |
SELECT SUM(wins) FROM table_name_80 WHERE against < 1148 | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of wins against the smaller score 1148?It is not neccessary to use all the tables. |
SELECT SUM Date FROM table WHERE Label = columbia AND Tracks = "do it again" | CREATE TABLE INST, Here is a database schema( table schema); | On what Date did Columbia release the Track "Do it again"?.It is not neccessary to use all the tables. |
SELECT SUM(grid) FROM table_name_78 WHERE laps < 2 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total grid with laps less than 2?It is not neccessary to use all the tables. |
SELECT COUNT Elverum FROM table WHERE Song = Et sted i Scandinavia | CREATE TABLE INST, Here is a database schema( table schema); | How many elverum are tehre for et sted i scandinavia?.It is not neccessary to use all the tables. |
SELECT AVG(draw) FROM table_name_29 WHERE time = "22:29" | CREATE TABLE INST, Here is a database schema( table schema); | What is the average draw number of an entrant with a time of 22:29?It is not neccessary to use all the tables. |
SELECT award FROM table_name_94 WHERE result = "won" AND category = "choice tv villain" AND year > 2008 | CREATE TABLE INST, Here is a database schema( table schema); | Name the award won for category of choice tv villain in years after 2008It is not neccessary to use all the tables. |
SELECT COUNT(league_goals) FROM table_name_14 WHERE name = "simon charlton" | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of league goals for Simon Charlton?It is not neccessary to use all the tables. |
SELECT Gold FROM table WHERE Place = phoenix | CREATE TABLE INST, Here is a database schema( table schema); | Who won gold when the world championships were held in Phoenix?.It is not neccessary to use all the tables. |
SELECT MAX Series # FROM table WHERE U.S. viewers (millions) = 0.645 | CREATE TABLE INST, Here is a database schema( table schema); | Which series # had 0.645 U.S. viewers(millions)?.It is not neccessary to use all the tables. |
SELECT time FROM table_name_15 WHERE event = "bellator 89" | CREATE TABLE INST, Here is a database schema( table schema); | what is the time when the event is bellator 89?It is not neccessary to use all the tables. |
SELECT Heat FROM table WHERE Lane = 3 AND Time = 3:45.57 | CREATE TABLE INST, Here is a database schema( table schema); | What is the heat with a time of 3:45.57 in lane 3?.It is not neccessary to use all the tables. |
SELECT COUNT(gold) FROM table_name_17 WHERE rank = "3" AND total > 7 | CREATE TABLE INST, Here is a database schema( table schema); | How many golds have 3 as the rank with a total greater than 7?It is not neccessary to use all the tables. |
SELECT producer FROM table_name_99 WHERE location = "poolavadi" | CREATE TABLE INST, Here is a database schema( table schema); | What company is the producer at the poolavadi locationIt is not neccessary to use all the tables. |
SELECT date FROM table_name_24 WHERE away_team = "bournemouth" | CREATE TABLE INST, Here is a database schema( table schema); | On what date was the away team Bournemouth?It is not neccessary to use all the tables. |
SELECT COUNT Fall 08 FROM table WHERE Fall 06 = 57 AND Fall 05 < 74 | CREATE TABLE INST, Here is a database schema( table schema); | What number is Fall 08 from the state with 57 in Fall 06 and 74 or less in Fall 05?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Tie no = 30 | CREATE TABLE INST, Here is a database schema( table schema); | What is Score, when Tie No is "30"?.It is not neccessary to use all the tables. |
SELECT COUNT HDTV FROM table WHERE Television service = La Sorgente Sat 1 | CREATE TABLE INST, Here is a database schema( table schema); | How many values of HDTV correspond to television service of la sorgente sat 1?.It is not neccessary to use all the tables. |
SELECT SUM(T2.hours) FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name = 'Michael Rogers' OR T3.name = 'Carol Smith' | CREATE TABLE INST, Here is a database schema( table schema); | Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to.It is not neccessary to use all the tables. |
SELECT MAX Points FROM table WHERE Status = Champion, won in the final against Amélie Mauresmo | CREATE TABLE INST, Here is a database schema( table schema); | Name the most points for champion, won in the final against amélie mauresmo.It is not neccessary to use all the tables. |
SELECT title FROM table_26493520_3 WHERE total_viewers_on_fx = "483,000" | CREATE TABLE INST, Here is a database schema( table schema); | Name the title for total viewers on fx+ being 483000It is not neccessary to use all the tables. |
SELECT score FROM table_name_49 WHERE save = "||25,354||63–43" | CREATE TABLE INST, Here is a database schema( table schema); | What was the score when a save of ||25354||63–43 occurred?It is not neccessary to use all the tables. |
SELECT * FROM Posts WHERE Posts.PostTypeId = 2 AND Posts.Score <= -3 AND DeletionDate IS NULL LIMIT 1000 | CREATE TABLE INST, Here is a database schema( table schema); | Dump top 1000 answers with score <= -3.It is not neccessary to use all the tables. |
SELECT AVG Capacity FROM table WHERE Home team(s) = vélez sársfield | CREATE TABLE INST, Here is a database schema( table schema); | What was the average capacity for vélez sársfield?.It is not neccessary to use all the tables. |
SELECT Runner-up FROM table WHERE Tournament = são paulo | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the runner up in the Tournament of são paulo?.It is not neccessary to use all the tables. |
SELECT place FROM table_name_38 WHERE score = 70 - 68 - 70 = 208 | CREATE TABLE INST, Here is a database schema( table schema); | What place is the player with score of 70-68-70=208 from?It is not neccessary to use all the tables. |
SELECT price FROM table_29778616_1 WHERE manufacturer = "LETech" | CREATE TABLE INST, Here is a database schema( table schema); | What is the price for the manufacturer LETech?It is not neccessary to use all the tables. |
SELECT Series FROM table WHERE Home = minnesota AND Date = april 17 | CREATE TABLE INST, Here is a database schema( table schema); | What was the series score on april 17 with minnesota at home?.It is not neccessary to use all the tables. |
SELECT Original Team FROM table WHERE Result = 08 Fired in week 10 (2008-03-06) | CREATE TABLE INST, Here is a database schema( table schema); | What is the original team of the celebrity who had the result 08 fired in week 10 (2008-03-06).It is not neccessary to use all the tables. |
SELECT singles_w_l FROM table_10295819_1 WHERE player = "Laurynas Grigelis" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Singles W-L for the players named Laurynas Grigelis?It is not neccessary to use all the tables. |
SELECT Grid FROM table WHERE Laps = 67 | CREATE TABLE INST, Here is a database schema( table schema); | What grid is associated with 67 laps?.It is not neccessary to use all the tables. |
SELECT player FROM table_name_99 WHERE position = "linebacker" | CREATE TABLE INST, Here is a database schema( table schema); | Who plays linebacker?It is not neccessary to use all the tables. |
SELECT MAX Stage FROM table WHERE Teams Classification = Team Sky | CREATE TABLE INST, Here is a database schema( table schema); | How many stages did Team Sky lead the teams classification?.It is not neccessary to use all the tables. |
SELECT Loss FROM table WHERE Attendance > 42,607 AND Date = july 20 | CREATE TABLE INST, Here is a database schema( table schema); | Who lost on July 20 with 42,607 attending?.It is not neccessary to use all the tables. |
SELECT College FROM table WHERE Position = tackle AND Pick < 87 | CREATE TABLE INST, Here is a database schema( table schema); | What college has a pick smaller than 87 for the position of tackle?.It is not neccessary to use all the tables. |
SELECT System FROM table WHERE Current version = 3.0.0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the System with the Current version 3.0.0?.It is not neccessary to use all the tables. |
SELECT Driver FROM table WHERE Winnings = $98,860 | CREATE TABLE INST, Here is a database schema( table schema); | Who has won $98,860?.It is not neccessary to use all the tables. |
SELECT COUNT(county) FROM table_15929156_3 WHERE obama_votes = 49558 | CREATE TABLE INST, Here is a database schema( table schema); | Name the number of counties for obama votes for 49558It is not neccessary to use all the tables. |
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.admission_location = "EMERGENCY ROOM ADMIT" | CREATE TABLE INST, Here is a database schema( table schema); | calculate the minimum age of divorced patients who had emergency room hospital admit.It is not neccessary to use all the tables. |
SELECT Tournament FROM table WHERE Margin of victory = 6 strokes | CREATE TABLE INST, Here is a database schema( table schema); | Which tournament had a margin of victory of 6 strokes?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Home team = collingwood | CREATE TABLE INST, Here is a database schema( table schema); | What is the date of the game where Collingwood was the home team?.It is not neccessary to use all the tables. |
SELECT City of license FROM table WHERE Call sign = k293bg | CREATE TABLE INST, Here is a database schema( table schema); | What city of license has a value of k293bg for its call sign?.It is not neccessary to use all the tables. |
SELECT COUNT(urban_population__2010_) FROM table_16489766_2 WHERE pinyin = "Chángchūn" | CREATE TABLE INST, Here is a database schema( table schema); | What is the total urban population of the city with the pinyin translation chángchūn?It is not neccessary to use all the tables. |
SELECT starts FROM table_1708014_1 WHERE winnings = "$1,301,370" | CREATE TABLE INST, Here is a database schema( table schema); | Which start won $1301370?It is not neccessary to use all the tables. |
SELECT MAX W FROM table WHERE Ends Lost = 49 | CREATE TABLE INST, Here is a database schema( table schema); | Name the most w when ends lost is 49.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Race Name = x gran premio di napoli | CREATE TABLE INST, Here is a database schema( table schema); | Which date was the x gran premio di napoli?.It is not neccessary to use all the tables. |
SELECT home FROM table_name_21 WHERE visitor = "chicago" | CREATE TABLE INST, Here is a database schema( table schema); | Who was the home team in the game having a visitor of Chicago?It is not neccessary to use all the tables. |
SELECT Website FROM table WHERE Founded = 1872 | CREATE TABLE INST, Here is a database schema( table schema); | What are the websites of schools that were founded in 1872?.It is not neccessary to use all the tables. |
SELECT Year FROM table WHERE Rank = 31 | CREATE TABLE INST, Here is a database schema( table schema); | What year did the rank of 31 happen in?.It is not neccessary to use all the tables. |
SELECT COUNT Position FROM table WHERE Played > 12 | CREATE TABLE INST, Here is a database schema( table schema); | How many positions have a played greater than 12?.It is not neccessary to use all the tables. |
SELECT dutch FROM table_name_3 WHERE latin = "navigo" | CREATE TABLE INST, Here is a database schema( table schema); | What is the Dutch translation of the Latin word navigo?It is not neccessary to use all the tables. |
SELECT "Goals" FROM table_14624 WHERE "Years Active" = '2006' | CREATE TABLE INST, Here is a database schema( table schema); | How many goals did a player active since 2006 have?It is not neccessary to use all the tables. |
SELECT site FROM table_28298589_4 WHERE home_team = "Pittsburgh" | CREATE TABLE INST, Here is a database schema( table schema); | In what facility was Pittsburgh's home game played?It is not neccessary to use all the tables. |
SELECT AVG Year Joined FROM table WHERE Size > 93 AND Previous Conference = none (new school) AND Mascot = rebels | CREATE TABLE INST, Here is a database schema( table schema); | Which Year Joined has a Size larger than 93, and a Previous Conference of none (new school), and a Mascot of rebels?.It is not neccessary to use all the tables. |
SELECT Headquarters FROM table WHERE Primary industry = conglomerate | CREATE TABLE INST, Here is a database schema( table schema); | Where is the headquarter of the conglomerate industry?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Home team score = 8.13 (61) | CREATE TABLE INST, Here is a database schema( table schema); | What day does the home team score 8.13 (61)?.It is not neccessary to use all the tables. |
SELECT School FROM table WHERE City = belleville | CREATE TABLE INST, Here is a database schema( table schema); | What school has belleville as the city?.It is not neccessary to use all the tables. |
SELECT venue FROM table_name_67 WHERE result = "draw" | CREATE TABLE INST, Here is a database schema( table schema); | In which venue was the result a draw?It is not neccessary to use all the tables. |
SELECT to_par FROM table_name_35 WHERE score = 69 - 69 = 138 | CREATE TABLE INST, Here is a database schema( table schema); | What was the to par when the score was 69-69=138?It is not neccessary to use all the tables. |
SELECT SUM(attendance) FROM table_name_6 WHERE visitor = "cleveland" AND leading_scorer = "larry hughes(33)" | CREATE TABLE INST, Here is a database schema( table schema); | How many people attended the game when Larry Hughes(33) was the leading scorer and cleveland was visiting?It is not neccessary to use all the tables. |
SELECT Away captain FROM table WHERE Date = 11,12,13 aug 1902 | CREATE TABLE INST, Here is a database schema( table schema); | Who is the Away captain that played on 11,12,13 Aug 1902?.It is not neccessary to use all the tables. |
SELECT analog_channel FROM table_name_31 WHERE digital_channel = "4.1" | CREATE TABLE INST, Here is a database schema( table schema); | Which analog channel has a digital channel of 4.1?It is not neccessary to use all the tables. |
SELECT lap_by_lap FROM table_name_74 WHERE year > 1973 AND pit_reporters = "bill flemming" | CREATE TABLE INST, Here is a database schema( table schema); | Which lap-by-lap has a year after 1973 with pit reporter Bill Flemming?It is not neccessary to use all the tables. |
SELECT MAX Sr. No. FROM table WHERE Name of Road = Banikhet Dalhouse Khajiar | CREATE TABLE INST, Here is a database schema( table schema); | What is the Sr. number of Banikhet Dalhouse Khajiar?.It is not neccessary to use all the tables. |
SELECT year_s__retired FROM table_name_5 WHERE quantity_made = "25" | CREATE TABLE INST, Here is a database schema( table schema); | What is the year retired of the locomotive which had the quantity made of 25?It is not neccessary to use all the tables. |
SELECT COUNT(points_) FROM table_name_56 WHERE sets_ > 51 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of Points- when the Sets- is larger than 51?It is not neccessary to use all the tables. |
SELECT MAX("No.") FROM table_22311 | CREATE TABLE INST, Here is a database schema( table schema); | What is the maximum number of episodes in the series listed?It is not neccessary to use all the tables. |
SELECT socialist_labor_ticket FROM table_name_65 WHERE liberal_ticket = "w. averell harriman" | CREATE TABLE INST, Here is a database schema( table schema); | Who was on the Socialist Labor ticket in the race against W. Averell Harriman?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.