sql stringlengths 9 2.37k | table stringclasses 9
values | query stringlengths 51 503 |
|---|---|---|
SELECT package_option FROM table_15887683_5 WHERE content = "cinema" AND n° = "333" | CREATE TABLE INST, Here is a database schema( table schema); | What package offers cinema content and is n. 333?It is not neccessary to use all the tables. |
SELECT COUNT PF FROM table WHERE Stolen Ends = 3 | CREATE TABLE INST, Here is a database schema( table schema); | What are the number of points for associated with exactly 3 stolen ends?.It is not neccessary to use all the tables. |
SELECT COUNT Regional Seats FROM table WHERE Party = snp AND Total Seats > 46 | CREATE TABLE INST, Here is a database schema( table schema); | How many regional seats were there with the SNP party and where the number of total seats was bigger than 46?.It is not neccessary to use all the tables. |
SELECT COUNT 2007 FROM table WHERE million CZK = operating revenues | CREATE TABLE INST, Here is a database schema( table schema); | What 2007 number when the million CZK shows operating revenues?.It is not neccessary to use all the tables. |
SELECT MIN Year FROM table WHERE Tournament = european indoor championships AND Result = 3rd | CREATE TABLE INST, Here is a database schema( table schema); | Name the least year for european indoor championships result of 3rd.It is not neccessary to use all the tables. |
SELECT COUNT Sales FROM table WHERE Rank < 6 AND Certification = 2x platinum AND Peak position = 2 | CREATE TABLE INST, Here is a database schema( table schema); | how many times is the rank less than 6, certification 2x platinum and the peak position 2?.It is not neccessary to use all the tables. |
SELECT Loss FROM table WHERE Record = 46-59 | CREATE TABLE INST, Here is a database schema( table schema); | What was the loss when the record was 46-59?.It is not neccessary to use all the tables. |
SELECT 2007 FROM table WHERE 2012 = 2r AND 2002 = 1r | CREATE TABLE INST, Here is a database schema( table schema); | What is the 2007 value with a 2r in 2012 and 1r in 2002?.It is not neccessary to use all the tables. |
SELECT AVG Crowd FROM table WHERE Venue = western oval | CREATE TABLE INST, Here is a database schema( table schema); | What was the average crowd at Western Oval?.It is not neccessary to use all the tables. |
SELECT SUM(pick) FROM table_name_88 WHERE round > 1 AND school_club_team = "alcorn state" AND position = "defensive back" | CREATE TABLE INST, Here is a database schema( table schema); | Which Pick has a Round larger than 1 a School/Club Team of alcorn state and a Position of defensive back?It is not neccessary to use all the tables. |
SELECT Class FROM table WHERE Type = 1′c n2t | CREATE TABLE INST, Here is a database schema( table schema); | Which Class has a Type of 1′c n2t?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Competition = super league xii AND Date = 15/04/07 | CREATE TABLE INST, Here is a database schema( table schema); | On 15/04/07 in the competition Super League XII, what was the score?.It is not neccessary to use all the tables. |
SELECT Club FROM table WHERE League Cup goals = 0 AND League goals = 11 AND Scorer = joe laidlaw | CREATE TABLE INST, Here is a database schema( table schema); | Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw?.It is not neccessary to use all the tables. |
SELECT team_name FROM table_name_97 WHERE losses = 6 AND games > 18 | CREATE TABLE INST, Here is a database schema( table schema); | Who is the team that has played more than 18 games and has 6 losses?It is not neccessary to use all the tables. |
SELECT Swimmer FROM table WHERE Year < 2011 AND Time = 53.06 | CREATE TABLE INST, Here is a database schema( table schema); | What is Swimmer, when Year is less than 2011, and when Time is "53.06"?.It is not neccessary to use all the tables. |
SELECT seasons FROM table_19487922_1 WHERE country = "Monaco" | CREATE TABLE INST, Here is a database schema( table schema); | How many seasons for Monaco?It is not neccessary to use all the tables. |
SELECT "Date" FROM table_10097 WHERE "Crowd" > '18,704' AND "Away team" = 'essendon' | CREATE TABLE INST, Here is a database schema( table schema); | When the Away team of essendon played and the Crowd was larger than 18,704 people, which Date did this take place on?It is not neccessary to use all the tables. |
SELECT "Accreditation level" FROM table_47481 WHERE "Date" = 'approved (awarded 05.12.12)' | CREATE TABLE INST, Here is a database schema( table schema); | What is the accreditation level for the approved (awarded 05.12.12) date?It is not neccessary to use all the tables. |
SELECT Partial thromboplastin time FROM table WHERE Platelet count = Decreased | CREATE TABLE INST, Here is a database schema( table schema); | What is the status of partial thromboplastin times for conditions where the platelet count is decreased? .It is not neccessary to use all the tables. |
SELECT production_code FROM table_26845668_1 WHERE us_viewers__millions_ = "4.32" | CREATE TABLE INST, Here is a database schema( table schema); | What is the production code for the movie with 4.32 million U.S. viewers?It is not neccessary to use all the tables. |
SELECT COUNT("Week") FROM table_24604 WHERE "Location" = 'Ivor Wynne Stadium' | CREATE TABLE INST, Here is a database schema( table schema); | What was the total number of weeks where the game played Ivor Wynne Stadium?It is not neccessary to use all the tables. |
SELECT series FROM table_name_86 WHERE date = "may 18" | CREATE TABLE INST, Here is a database schema( table schema); | Which Series are on may 18?It is not neccessary to use all the tables. |
SELECT length FROM table_name_23 WHERE date = "august 15" | CREATE TABLE INST, Here is a database schema( table schema); | What is the length of the race on August 15?It is not neccessary to use all the tables. |
SELECT headquarters FROM table_1610301_1 WHERE population__2011_ = 3811738 | CREATE TABLE INST, Here is a database schema( table schema); | Where is the headquarters of the place whose population in 2011 was 3811738?It is not neccessary to use all the tables. |
SELECT "Region" FROM table_21003 WHERE "Name of City" = 'Iquitos' | CREATE TABLE INST, Here is a database schema( table schema); | What is the region where Iquitos is located?It is not neccessary to use all the tables. |
SELECT COUNT Rank FROM table WHERE Total < 2 AND Silver > 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total rank with more than 0 silver and less than 2 medals total?.It is not neccessary to use all the tables. |
SELECT result FROM table_1341577_43 WHERE candidates = "Bart Gordon (D) 76.5% Wallace Embry (R) 23.5%" | CREATE TABLE INST, Here is a database schema( table schema); | What was the results for the candidates listed as bart gordon (d) 76.5% wallace embry (r) 23.5%?It is not neccessary to use all the tables. |
SELECT ihsaa_football_class FROM table_name_14 WHERE ihsaa_class = "aa" AND enrollment = 475 | CREATE TABLE INST, Here is a database schema( table schema); | Which IHSAA Football Class has an IHSAA Class of aa and an Enrollment of 475?It is not neccessary to use all the tables. |
SELECT displacement & configuration FROM table WHERE max. speed = km/h (mph) AND car model = panamera 4s | CREATE TABLE INST, Here is a database schema( table schema); | What is the displacement and configuration with a max speed of km/h (mph) and the car model Panamera 4s?.It is not neccessary to use all the tables. |
SELECT date FROM table_name_29 WHERE loss = "reed (0–2)" | CREATE TABLE INST, Here is a database schema( table schema); | What was the date of the game that had a loss of Reed (0–2)?It is not neccessary to use all the tables. |
SELECT MAX # FROM table WHERE Written by = Dan Vebber | CREATE TABLE INST, Here is a database schema( table schema); | What is the last number in season of the episodes written by Dan Vebber?.It is not neccessary to use all the tables. |
SELECT SUM Rank FROM table WHERE Area (km 2 ) = 1050.14 | CREATE TABLE INST, Here is a database schema( table schema); | What's the total of Rank that has an Area (KM 2) of 1050.14?.It is not neccessary to use all the tables. |
SELECT COUNT(crowd) FROM table_name_86 WHERE venue = "moorabbin oval" | CREATE TABLE INST, Here is a database schema( table schema); | What was the crowd size at the moorabbin oval venue?It is not neccessary to use all the tables. |
SELECT Rank FROM table WHERE Gold < 16 AND Bronze > 2 AND Silver > 2 AND Total = 14 | CREATE TABLE INST, Here is a database schema( table schema); | What rank has less than 16 gold, more than 2 bronze and silver, and a total of 14?.It is not neccessary to use all the tables. |
SELECT Set 1 FROM table WHERE Set 4 = na AND Score = 3-0 AND Set 2 = 29-27 | CREATE TABLE INST, Here is a database schema( table schema); | What is Set 1, when Set 4 is NA, when Score is 3-0, and when Set 2 is 29-27?.It is not neccessary to use all the tables. |
SELECT Assembled FROM table WHERE 1st member = william boteler | CREATE TABLE INST, Here is a database schema( table schema); | What Assembled has a 1st member of william boteler?.It is not neccessary to use all the tables. |
SELECT COUNT Longitude FROM table WHERE Latitude = 48.930222 AND GEO ID < 3806755660 | CREATE TABLE INST, Here is a database schema( table schema); | What is the longitude with a latitude of 48.930222 with a Geo ID smaller than 3806755660?.It is not neccessary to use all the tables. |
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', inputevents_cv.charttime)) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14467) AND icustays.outtime IS NULL)... | CREATE TABLE INST, Here is a database schema( table schema); | how many hours has it been since patient 14467 last received an intake of d5w on the current intensive care unit visit?It is not neccessary to use all the tables. |
SELECT Abbr FROM table WHERE Common English = zug | CREATE TABLE INST, Here is a database schema( table schema); | What is the abbr for zug?.It is not neccessary to use all the tables. |
SELECT Race FROM table WHERE Most laps led = Simon Pagenaud | CREATE TABLE INST, Here is a database schema( table schema); | What race did Simon Pagenaud have the most laps in?.It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Player = billy andrade | CREATE TABLE INST, Here is a database schema( table schema); | What is the score for Billy Andrade?.It is not neccessary to use all the tables. |
SELECT record FROM table_name_80 WHERE week > 16 | CREATE TABLE INST, Here is a database schema( table schema); | What's the record after week 16?It is not neccessary to use all the tables. |
SELECT MIN Teams FROM table WHERE Winner = Wynnum Manly Seagulls | CREATE TABLE INST, Here is a database schema( table schema); | What was the number of teams in the competition that wynnum manly seagulls won?.It is not neccessary to use all the tables. |
SELECT COUNT(week) FROM table_name_81 WHERE opponent = "at chicago bears" AND attendance > 49 OFFSET 070 | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of Week when Opponent is At Chicago Bears and when Attendance is greater than 49070?It is not neccessary to use all the tables. |
SELECT MAX("Gold") FROM table_42232 WHERE "Nation" = 'uzbekistan (uzb)' | CREATE TABLE INST, Here is a database schema( table schema); | How much gold received by nation of uzbekistan (uzb)?It is not neccessary to use all the tables. |
SELECT "Date" FROM table_64153 WHERE "Format" = 'cd' AND "Label" = 'columbia/legacy' AND "Country" = 'uk' | CREATE TABLE INST, Here is a database schema( table schema); | What date had a CD format, under Columbia/Legacy from the UK?It is not neccessary to use all the tables. |
SELECT founded FROM table_11464746_1 WHERE house_name = "Gongola" | CREATE TABLE INST, Here is a database schema( table schema); | What year was the house named gongola made?It is not neccessary to use all the tables. |
SELECT COUNT Full professors FROM table WHERE Head = hartmut kliemt AND Lecturers > 0 | CREATE TABLE INST, Here is a database schema( table schema); | How many full professors work under Hartmut Kliemt with more than 0 lecturers?.It is not neccessary to use all the tables. |
SELECT MAX(_number) FROM table_26914076_4 WHERE us_viewers__millions_ = "0.49" | CREATE TABLE INST, Here is a database schema( table schema); | What number episode in the season was watched by 0.49 million U.S. viewers?It is not neccessary to use all the tables. |
SELECT Venue FROM table WHERE Rank = 3 | CREATE TABLE INST, Here is a database schema( table schema); | Which venue is rank 3?.It is not neccessary to use all the tables. |
SELECT "District" FROM table_18197 WHERE "Incumbent" = 'Bill Hefner' | CREATE TABLE INST, Here is a database schema( table schema); | To what district does Bill Hefner belong?It is not neccessary to use all the tables. |
SELECT l2_cache FROM table_name_10 WHERE idle_power = "100mw" AND model_number = "nano u3400" | CREATE TABLE INST, Here is a database schema( table schema); | What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?It is not neccessary to use all the tables. |
SELECT official_name FROM table_300283_1 WHERE name_in_spanish = "Vitoria" | CREATE TABLE INST, Here is a database schema( table schema); | What is the official name of the municipality whose name in Spanish is Vitoria?It is not neccessary to use all the tables. |
SELECT "2012" FROM table_37724 WHERE "2011" = '7.7%' AND "2008" = '7.9%' | CREATE TABLE INST, Here is a database schema( table schema); | What's listed for the 2012 that has a 2011 of 7.7% with a 2008 of 7.9%?It is not neccessary to use all the tables. |
SELECT SUM("Games") FROM table_52203 WHERE "Rank" < '4' AND "Rebounds" < '275' AND "Team" = 'bruesa gbc' | CREATE TABLE INST, Here is a database schema( table schema); | Which game did Bruesa GBC play in with fewer than 275 rebounds that is ranked less than 4?It is not neccessary to use all the tables. |
SELECT Player FROM table WHERE Score = 71-69-71=211 | CREATE TABLE INST, Here is a database schema( table schema); | What player scored 71-69-71=211?.It is not neccessary to use all the tables. |
SELECT Runner-up FROM table WHERE Season = Season 13 | CREATE TABLE INST, Here is a database schema( table schema); | what's runner-up with season being season 13.It is not neccessary to use all the tables. |
SELECT Tournament FROM table WHERE Opponent = piero luisi | CREATE TABLE INST, Here is a database schema( table schema); | Which Tournament has a Opponent of piero luisi?.It is not neccessary to use all the tables. |
SELECT launch_date_time__utc_ FROM table_name_57 WHERE payload = "gsat-4" | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the launch date/time for payload of gsat-4It is not neccessary to use all the tables. |
SELECT MAX Points FROM table WHERE Mark = 8.54 AND React > 0.23800000000000002 | CREATE TABLE INST, Here is a database schema( table schema); | When the mark is 8.54, the reaction time was over 0.23800000000000002 seconds, what's the highest amount of points recorded?.It is not neccessary to use all the tables. |
SELECT Max FS FROM table WHERE Status = Status AND Method = Method | CREATE TABLE INST, Here is a database schema( table schema); | what is the max fs where the status is status and the method is method?.It is not neccessary to use all the tables. |
SELECT player FROM table_name_68 WHERE overall = "126" | CREATE TABLE INST, Here is a database schema( table schema); | Which Player has an Overall of 126?It is not neccessary to use all the tables. |
SELECT Aspect FROM table WHERE Programming = saigon network television | CREATE TABLE INST, Here is a database schema( table schema); | What Aspect has a Programming of Saigon Network Television?.It is not neccessary to use all the tables. |
SELECT Party FROM table WHERE First elected = 1982 | CREATE TABLE INST, Here is a database schema( table schema); | Which party is associated with the person who was first elected in 1982?.It is not neccessary to use all the tables. |
SELECT round_of_32 FROM table_name_62 WHERE conference = "southland" | CREATE TABLE INST, Here is a database schema( table schema); | Tell me the round of 32 for conference of southlandIt is not neccessary to use all the tables. |
SELECT SUM(drawn) FROM table_name_94 WHERE goals = "274-357" | CREATE TABLE INST, Here is a database schema( table schema); | What is the sum of draws with 274-357 goals?It is not neccessary to use all the tables. |
SELECT Game FROM table WHERE Team = waterford AND Début > 1995 | CREATE TABLE INST, Here is a database schema( table schema); | What is the name of the game whose team is Waterford and debuted later than 1995?.It is not neccessary to use all the tables. |
SELECT COUNT Fastest Lap FROM table WHERE Location = Silverstone | CREATE TABLE INST, Here is a database schema( table schema); | How many drivers had the fastest lap at Silverstone?.It is not neccessary to use all the tables. |
SELECT total_seats FROM table_name_34 WHERE party = "christian democratic union (cdu)" | CREATE TABLE INST, Here is a database schema( table schema); | What is the total number of seats of the Christian Democratic Union (CDU) party?It is not neccessary to use all the tables. |
SELECT AVG(week) FROM table_name_8 WHERE date = "october 8, 1950" | CREATE TABLE INST, Here is a database schema( table schema); | What average week has october 8 1950 as the date?It is not neccessary to use all the tables. |
SELECT SUM Laps FROM table WHERE Time/Retired = engine AND Grid = 1 | CREATE TABLE INST, Here is a database schema( table schema); | How many laps did the grid 1 engine have?.It is not neccessary to use all the tables. |
SELECT MAX(crowd) FROM table_16387700_1 WHERE date = "Saturday 16 February" | CREATE TABLE INST, Here is a database schema( table schema); | Name the most crowd for saturday 16 februaryIt is not neccessary to use all the tables. |
SELECT gene FROM table_name_28 WHERE subject_number = "21" | CREATE TABLE INST, Here is a database schema( table schema); | Which gene has the subject number 21?It is not neccessary to use all the tables. |
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'opn lft hemicolectmy ... | CREATE TABLE INST, Here is a database schema( table schema); | how many patients have received a opn lft hemicolectmy nec procedure two times until 1 year ago?It is not neccessary to use all the tables. |
SELECT Attack FROM table WHERE Source = nciom | CREATE TABLE INST, Here is a database schema( table schema); | What Attack has a Source of NCIOM?.It is not neccessary to use all the tables. |
SELECT Year FROM table WHERE Class = 250 | CREATE TABLE INST, Here is a database schema( table schema); | Which year has a railway class of 250?.It is not neccessary to use all the tables. |
SELECT MIN("Lane") FROM table_80216 WHERE "Name" = 'kasey giteau' AND "Rank" < '18' | CREATE TABLE INST, Here is a database schema( table schema); | Name the least lane for kasey giteau and rank less than 18It is not neccessary to use all the tables. |
SELECT AVG Losses FROM table WHERE Draws = 0 AND Byes < 0 | CREATE TABLE INST, Here is a database schema( table schema); | What is the average number of losses for teams with 0 draws and 0 byes?.It is not neccessary to use all the tables. |
SELECT place FROM table_name_66 WHERE score = 73 - 71 = 144 AND player = "scott simpson" | CREATE TABLE INST, Here is a database schema( table schema); | What is Place, when Score is '73-71=144', and when Player is 'Scott Simpson'?It is not neccessary to use all the tables. |
SELECT # / County FROM table WHERE Location = ossian | CREATE TABLE INST, Here is a database schema( table schema); | Which #/ County has a Location of ossian?.It is not neccessary to use all the tables. |
SELECT SUM Gold FROM table WHERE Bronze < 2 AND Silver = 0 AND Rank > 3 | CREATE TABLE INST, Here is a database schema( table schema); | How much Gold has a Bronze smaller than 2, and a Silver of 0, and a Rank larger than 3?.It is not neccessary to use all the tables. |
SELECT MAX(founded) FROM table_name_7 WHERE nickname = "bruins" | CREATE TABLE INST, Here is a database schema( table schema); | What is the most recent year founded that has a nickname of bruins?It is not neccessary to use all the tables. |
SELECT years_in_orlando FROM table_name_64 WHERE nationality = "united states" AND school_club_team = "concord hs" | CREATE TABLE INST, Here is a database schema( table schema); | What years in Orlando have the United States as the nationality with concord hs as the school/club team?It is not neccessary to use all the tables. |
SELECT venue FROM table_name_46 WHERE date = "23,24,26,27,28,29 feb, 1 mar 1912" | CREATE TABLE INST, Here is a database schema( table schema); | What is Venue when Date is 232426272829 Feb 1 Mar 1912?It is not neccessary to use all the tables. |
SELECT Score FROM table WHERE Record = 35-31 | CREATE TABLE INST, Here is a database schema( table schema); | The record of 35-31 has what score?.It is not neccessary to use all the tables. |
SELECT country FROM table_name_84 WHERE to_par = "e" | CREATE TABLE INST, Here is a database schema( table schema); | What country has a To par of e?It is not neccessary to use all the tables. |
SELECT away_team FROM table_name_77 WHERE date = "4 june 1927" AND venue = "corio oval" | CREATE TABLE INST, Here is a database schema( table schema); | Which team was at Corio Oval on 4 June 1927?It is not neccessary to use all the tables. |
SELECT game FROM table_name_30 WHERE result = "99-112" | CREATE TABLE INST, Here is a database schema( table schema); | WHAT GAME HAD A SCORE OF 99-112?It is not neccessary to use all the tables. |
SELECT year FROM table_name_51 WHERE bbc_two_rank = "13th" | CREATE TABLE INST, Here is a database schema( table schema); | In what year was BBC 2 13th in rank?It is not neccessary to use all the tables. |
SELECT To par FROM table WHERE Player = mike weir | CREATE TABLE INST, Here is a database schema( table schema); | What is Mike Weir's To par?.It is not neccessary to use all the tables. |
SELECT Outcome FROM table WHERE Tournament = milan , italy | CREATE TABLE INST, Here is a database schema( table schema); | Which Outcome that has a Tournament of milan , italy?.It is not neccessary to use all the tables. |
SELECT COUNT(grid) FROM table_name_64 WHERE laps > 102 AND time_retired = "+ 6.18" | CREATE TABLE INST, Here is a database schema( table schema); | How many grids have 102 laps and a Time/Retired of + 6.18?It is not neccessary to use all the tables. |
SELECT Runs FROM table WHERE Rank = 4 | CREATE TABLE INST, Here is a database schema( table schema); | How many runs were ranked 4?.It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE High rebounds = McWilliams-Franklin (8) | CREATE TABLE INST, Here is a database schema( table schema); | When mcwilliams-franklin (8) has the highest rebounds what is the date?.It is not neccessary to use all the tables. |
SELECT College/junior/club team FROM table WHERE Player = Keith McCambridge | CREATE TABLE INST, Here is a database schema( table schema); | What team is Keith Mccambridge on?.It is not neccessary to use all the tables. |
SELECT Time FROM table WHERE Home team = Kentucky | CREATE TABLE INST, Here is a database schema( table schema); | List all times with Kentucky as the home team..It is not neccessary to use all the tables. |
SELECT Date FROM table WHERE Record = 11-8 | CREATE TABLE INST, Here is a database schema( table schema); | When was 11-8 the record?.It is not neccessary to use all the tables. |
SELECT MAX Place FROM table WHERE Goals Scored = 28 AND Draw < 6 | CREATE TABLE INST, Here is a database schema( table schema); | What is the highest place that has a draw entry smaller than 6 and goal score of 28?.It is not neccessary to use all the tables. |
SELECT 1 AS st_leg FROM table_name_34 WHERE team_1 = "galatasaray" | CREATE TABLE INST, Here is a database schema( table schema); | Which first leg had Galatasaray as Team 1?It is not neccessary to use all the tables. |
SELECT COUNT Population August 15, 2012 FROM table WHERE Sector = Gatunda | CREATE TABLE INST, Here is a database schema( table schema); | For the sector of Gatunda how many entires are show for the August 15, 2012 population?.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.