answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT result FROM table_name_97 WHERE location = "boston"
What was the result for the match held in Boston?
CREATE TABLE table_name_97 ( result VARCHAR, location VARCHAR )
SELECT transfer_fee FROM table_name_24 WHERE status = "transfer" AND country = "fra"
Name the transfer fee for transfer status for fra
CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR)
SELECT cover_model FROM table_1566848_7 WHERE date = "7-86"
Who was the cover model in the 7-86 issue?
CREATE TABLE table_1566848_7 (cover_model VARCHAR, date VARCHAR)
SELECT MIN("Bronze") FROM table_74950 WHERE "Rank" = '3' AND "Silver" < '2'
Which Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2?
CREATE TABLE table_74950 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT status FROM table_name_8 WHERE name = "belletti"
Name the status for belletti
CREATE TABLE table_name_8 (status VARCHAR, name VARCHAR)
SELECT COUNT(date) FROM table_1566848_7 WHERE pictorials = "Female s disk jockey"
What is the date of the issue where the pictorials is of Female s disk jockey?
CREATE TABLE table_1566848_7 (date VARCHAR, pictorials VARCHAR)
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hyperlipidemia') AS t1 JOIN (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient O...
how many patients were diagnosed with hyperlipidemia within 2 months after being diagnosed with diabetes mellitus?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid ...
SELECT moving_to FROM table_name_22 WHERE country = "fra"
Name the moving to for fra
CREATE TABLE table_name_22 (moving_to VARCHAR, country VARCHAR)
SELECT cover_model FROM table_1566852_3 WHERE centerfold_model = "Shallan Meiers"
WHO WAS THE COVER MODEL OF PLAYBOY WHERE THE CENTERFOLD MODEL WAS SHALLAN MEIERS?
CREATE TABLE table_1566852_3 (cover_model VARCHAR, centerfold_model VARCHAR)
SELECT "destinations" FROM table_204_888 WHERE id = (SELECT id FROM table_204_888 WHERE "destinations" = 'virginia avenue to us 522 north') - 1
what is the exit beofre virginia avenue ?
CREATE TABLE table_204_888 ( id number, "location" text, "mile" number, "destinations" text, "notes" text )
SELECT transfer_window FROM table_name_12 WHERE moving_to = "realmadrid"
Name the transfer window of realmadrid
CREATE TABLE table_name_12 (transfer_window VARCHAR, moving_to VARCHAR)
SELECT interview_subject FROM table_1566852_3 WHERE centerfold_model = "Nicole Narain"
IN THE ISSUE WHERE NICOLE NARAIN WAS THE CENTERFOLD MODEL, WHO WAS THE INTERVIEW SUBJECT?
CREATE TABLE table_1566852_3 (interview_subject VARCHAR, centerfold_model VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GUILLAIN BARRE SYNDROME" AND demographic.age < "31"
count the number of patients whose primary disease is guillain barre syndrome and age is less than 31?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT country FROM table_name_24 WHERE moving_to = "chelsea"
Name the country moving to chelsea
CREATE TABLE table_name_24 (country VARCHAR, moving_to VARCHAR)
SELECT COUNT(date) FROM table_1566852_3 WHERE interview_subject = "Harrison Ford"
IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT?
CREATE TABLE table_1566852_3 (date VARCHAR, interview_subject VARCHAR)
SELECT pitcher FROM table_name_8 WHERE date = "september 6, 2006"
Tell me the pitcher on september 6, 2006
CREATE TABLE table_name_8 ( pitcher VARCHAR, date VARCHAR )
SELECT leading_scorer FROM table_name_44 WHERE date = "20 february 2008"
Who was the leading scorer of the game on 20 February 2008?
CREATE TABLE table_name_44 (leading_scorer VARCHAR, date VARCHAR)
SELECT 20 AS _questions FROM table_1566852_4 WHERE interview_subject = "Mike Piazza"
Who was featured in 20 questions when the subject of the interview was Mike Piazza?
CREATE TABLE table_1566852_4 (interview_subject VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.diagnosis = "UPPER GI BLEED"
how many patients whose gender is m and primary disease is upper gi bleed?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT visitor FROM table_name_99 WHERE leading_scorer = "rudy gay (23)"
What is the visitor team of the game with Rudy Gay (23) as the leading scorer?
CREATE TABLE table_name_99 (visitor VARCHAR, leading_scorer VARCHAR)
SELECT 20 AS _questions FROM table_1566852_4 WHERE date = "4-03"
Who was featured in 20 questions on 4-03?
CREATE TABLE table_1566852_4 (date VARCHAR)
SELECT Fate, COUNT(Fate) FROM mission GROUP BY Fate ORDER BY Fate DESC
What is the total number of each fate? Give me the result in a bar graph, display x-axis in descending order.
CREATE TABLE ship ( Ship_ID int, Name text, Type text, Nationality text, Tonnage int ) CREATE TABLE mission ( Mission_ID int, Ship_ID int, Code text, Launched_Year int, Location text, Speed_knots int, Fate text )
SELECT home FROM table_name_83 WHERE visitor = "grizzlies" AND leading_scorer = "rudy gay (21)"
What is the home team of the game where the Grizzlies were the visitor team and Rudy Gay (21) was the leading scorer?
CREATE TABLE table_name_83 (home VARCHAR, visitor VARCHAR, leading_scorer VARCHAR)
SELECT date FROM table_1566852_4 WHERE centerfold_model = "Luci Victoria"
On what deate was the centerfold featured Luci Victoria?
CREATE TABLE table_1566852_4 (date VARCHAR, centerfold_model VARCHAR)
SELECT "Away team" FROM table_70579 WHERE "Attendance" = '7,891'
Who was the away team when the attendance was 7,891?
CREATE TABLE table_70579 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT record FROM table_name_87 WHERE date = "5 february 2008"
What is the record of the game on 5 February 2008?
CREATE TABLE table_name_87 (record VARCHAR, date VARCHAR)
SELECT COUNT(centerfold_model) FROM table_1566852_4 WHERE cover_model = "Torrie Wilson"
How many centerfold models were there when the cover model was Torrie Wilson?
CREATE TABLE table_1566852_4 (centerfold_model VARCHAR, cover_model VARCHAR)
SELECT competition FROM table_name_41 WHERE venue = "away" AND result = "lost 2-4"
What Away Competition had a Result of lost 2-4?
CREATE TABLE table_name_41 ( competition VARCHAR, venue VARCHAR, result VARCHAR )
SELECT written_by FROM table_name_33 WHERE production_code = "ad1d09"
tell me the writer of production code ad1d09.
CREATE TABLE table_name_33 (written_by VARCHAR, production_code VARCHAR)
SELECT pictorials FROM table_1566850_9 WHERE date = "11-98"
What is the name of the pictorial in the 11-98 issue?
CREATE TABLE table_1566850_9 (pictorials VARCHAR, date VARCHAR)
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 = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ...
list the flights from DALLAS to SAN FRANCISCO on AA
CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE restriction ( restriction_code text, advance_purchase int, stopovers text, saturday_stay_required text, minimum_stay int, maximum_stay int, application text, no_discounts text ) CREATE TA...
SELECT directed_by FROM table_name_32 WHERE production_code = "ad1d02"
tell me the director of the production code ad1d02.
CREATE TABLE table_name_32 (directed_by VARCHAR, production_code VARCHAR)
SELECT COUNT(centerfold_model) FROM table_1566850_9 WHERE date = "9-98"
How many centerfolds were in the 9-98 issue?
CREATE TABLE table_1566850_9 (centerfold_model VARCHAR, date VARCHAR)
SELECT "D.O.B." FROM table_37655 WHERE "Surname" = 'cresswell'
Which DOB has a Surname of cresswell?
CREATE TABLE table_37655 ( "Surname" text, "First" text, "D.O.B." text, "Bats" text, "Throws" text, "Position" text )
SELECT team__league_ FROM table_name_85 WHERE reg_gp = 0 AND pick__number < 136 AND player = "regan darby"
Which team has a Reg GP of 0, a pick number under 136 with a player named Regan Darby?
CREATE TABLE table_name_85 (team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR)
SELECT interview_subject FROM table_1566850_9 WHERE date = "8-98"
Who was interviewed in the 8-98 issue?
CREATE TABLE table_1566850_9 (interview_subject VARCHAR, date VARCHAR)
SELECT title FROM table_name_31 WHERE genre = "drama" AND network = "kbs2" AND year = 2011
What's the title when the genre is drama with a network of KBS2 happening in 2011?
CREATE TABLE table_name_31 ( title VARCHAR, year VARCHAR, genre VARCHAR, network VARCHAR )
SELECT planet FROM table_name_50 WHERE orbital_period = "3.23 days"
What planet orbits in 3.23 days?
CREATE TABLE table_name_50 (planet VARCHAR, orbital_period VARCHAR)
SELECT 20 AS _questions FROM table_1566850_9 WHERE centerfold_model = "Marliece Andrada"
Who was asked 20 questions in the issue where the centerfold is Marliece Andrada?
CREATE TABLE table_1566850_9 (centerfold_model VARCHAR)
SELECT "Color commentator(s)" FROM table_4564 WHERE "Year" < '2012' AND "Network" = 'espn'
Who were the collor commentator(s) for ESPN before 2012?
CREATE TABLE table_4564 ( "Year" real, "Network" text, "Play-by-play" text, "Color commentator(s)" text, "Sideline reporter(s)" text )
SELECT planet AS Type FROM table_name_56 WHERE radial_velocity__m_s_ > 45.2
What type of planet has a radial velocity of 45.2 m/s?
CREATE TABLE table_name_56 (planet VARCHAR, radial_velocity__m_s_ INTEGER)
SELECT 20 AS _questions FROM table_1566850_9 WHERE cover_model = "Linda Brava"
Who was asked 20 questions in the issue where the cover model is Linda Brava?
CREATE TABLE table_1566850_9 (cover_model VARCHAR)
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 = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND flight.from_airport...
AA flights from SAN FRANCISCO please
CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE days ( days_code varchar, da...
SELECT planet AS Type FROM table_name_51 WHERE semimajor_axis___au__ = 0.07
What type of planet has a semimajor axis of 0.07 AU?
CREATE TABLE table_name_51 (planet VARCHAR, semimajor_axis___au__ VARCHAR)
SELECT COUNT(date) FROM table_1566852_6 WHERE centerfold_model = "Jillian Grace"
How many times was Jillian Grace the centerfold model?
CREATE TABLE table_1566852_6 (date VARCHAR, centerfold_model VARCHAR)
SELECT COUNT("Gold") FROM table_32699 WHERE "Bronze" = '3' AND "Rank" > '7' AND "Total" < '5'
How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals?
CREATE TABLE table_32699 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT city FROM table_name_83 WHERE stadium = "telstra dome"
What is the city where the Telstra Dome is?
CREATE TABLE table_name_83 (city VARCHAR, stadium VARCHAR)
SELECT interview_subject FROM table_1566852_6 WHERE cover_model = "Bai Ling"
What were the interview subjects on those occasions where Bai Ling was the cover model?
CREATE TABLE table_1566852_6 (interview_subject VARCHAR, cover_model VARCHAR)
SELECT award FROM table_name_92 WHERE result = "nominated" AND category = "outstanding choreography"
Which Award has a nominated, and outstanding choreography?
CREATE TABLE table_name_92 ( award VARCHAR, result VARCHAR, category VARCHAR )
SELECT d_41 FROM table_name_97 WHERE d_46 = "r 6"
Name the D 41 which has a D 46 of r 6
CREATE TABLE table_name_97 (d_41 VARCHAR, d_46 VARCHAR)
SELECT COUNT(interview_subject) FROM table_1566852_6 WHERE centerfold_model = "Tamara Witmer"
How many total interview subjects wererthere when the centerfold model was Tamara Witmer?
CREATE TABLE table_1566852_6 (interview_subject VARCHAR, centerfold_model VARCHAR)
SELECT "name" FROM table_204_866 WHERE id = (SELECT id FROM table_204_866 WHERE "name" = 'sam falson') - 1
which name is before sam falson
CREATE TABLE table_204_866 ( id number, "name" text, "lifetime" text, "nationality" text, "notable as" text, "notes" text )
SELECT d_41 FROM table_name_45 WHERE d_43 = "r 18"
Name the D 41 which has a D 43 of r 18
CREATE TABLE table_name_45 (d_41 VARCHAR, d_43 VARCHAR)
SELECT 20 AS _questions FROM table_1566852_6 WHERE centerfold_model = "Jillian Grace"
What's the subject of 20 questions in those issues where Jillian Grace is the centerfold model?
CREATE TABLE table_1566852_6 (centerfold_model VARCHAR)
SELECT UserId AS "user_link", SUM(c) AS s FROM (SELECT UserId, COUNT(*) AS c FROM PostHistory WHERE UserId > 0 GROUP BY UserId UNION ALL SELECT UserId, COUNT(*) AS c FROM Comments WHERE UserId > 0 GROUP BY UserId UNION ALL SELECT UserId, COUNT(*) AS c FROM Votes WHERE UserId > 0 GROUP BY UserId) AS Actions GROUP BY Use...
Most 20 active users (total actions - posting, commenting and voting). Users who spend A LOT of time posting, editing, commenting and voting.
CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTa...
SELECT r_52 FROM table_name_54 WHERE d_44 = "d 44"
Name the R 52 which has a D 44 of d 44
CREATE TABLE table_name_54 (r_52 VARCHAR, d_44 VARCHAR)
SELECT cover_model FROM table_1566852_6 WHERE date = "4-05"
Who were the cover model(s) on the 4-05 issue?
CREATE TABLE table_1566852_6 (cover_model VARCHAR, date VARCHAR)
SELECT "location" FROM table_204_823 WHERE "dates" = 1976 AND "dates" = 8
where was the first location used in august , 1976 ?
CREATE TABLE table_204_823 ( id number, "dates" text, "location" text, "attendance" text, "official guests" text, "notes" text )
SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→"
Name the D 46 which has a D 43 of majority→
CREATE TABLE table_name_34 (d_46 VARCHAR, d_43 VARCHAR)
SELECT date FROM table_1566852_5 WHERE interview_subject = "Oliver Stone"
Name the date for oliver stone
CREATE TABLE table_1566852_5 (date VARCHAR, interview_subject VARCHAR)
SELECT headquarters FROM table_name_23 WHERE employees__world_ = 100
Which HQ is associated with a number of employees of 100?
CREATE TABLE table_name_23 ( headquarters VARCHAR, employees__world_ VARCHAR )
SELECT d_42 FROM table_name_6 WHERE d_46 = "r 26"
Name the D 42 which has a D 46 of r 26
CREATE TABLE table_name_6 (d_42 VARCHAR, d_46 VARCHAR)
SELECT 20 AS _questions FROM table_1566852_5 WHERE interview_subject = "Derek Jeter"
Name the 20 questions for derek jeter
CREATE TABLE table_1566852_5 (interview_subject VARCHAR)
SELECT operating_system, COUNT(*) FROM web_client_accelerator GROUP BY operating_system
Find the number of web accelerators used for each Operating system.
CREATE TABLE web_client_accelerator ( id number, name text, operating_system text, client text, connection text ) CREATE TABLE browser ( id number, name text, market_share number ) CREATE TABLE accelerator_compatible_browser ( accelerator_id number, browser_id number, compa...
SELECT d_42 FROM table_name_29 WHERE d_44 = "d 44"
Name the D 42 which has a D 44 of d 44
CREATE TABLE table_name_29 (d_42 VARCHAR, d_44 VARCHAR)
SELECT 20 AS _questions FROM table_1566852_5 WHERE date = "8-04"
Name the 20 questions for 8-04
CREATE TABLE table_1566852_5 (date VARCHAR)
SELECT "Time/Retired" FROM table_38023 WHERE "Constructor" = 'bmw sauber' AND "Driver" = 'nick heidfeld'
What is the Time/Retired for the BMW Sauber, and Nick Heidfeld?
CREATE TABLE table_38023 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text )
SELECT SUM(wins) FROM table_name_24 WHERE club = "sd eibar" AND played < 38
How many wins did SD Eibar, which played less than 38 games, have?
CREATE TABLE table_name_24 (wins INTEGER, club VARCHAR, played VARCHAR)
SELECT open_cup FROM table_15672920_1 WHERE year = 2010
Name the open cup for 2010
CREATE TABLE table_15672920_1 (open_cup VARCHAR, year VARCHAR)
SELECT nfl_team FROM table_name_91 WHERE overall > 118 AND pick > 9 AND round > 5 AND position = "de"
Which NFL team chose a position of DE when the pick was larger than 9, after round 5, and the overal was larger than 118?
CREATE TABLE table_name_91 ( nfl_team VARCHAR, position VARCHAR, round VARCHAR, overall VARCHAR, pick VARCHAR )
SELECT MAX(draws) FROM table_name_56 WHERE wins < 20 AND points < 41 AND goals_for < 27
What is the highest number of draws a club with less than 20 wins, less than 41 points, and less than 27 goals have?
CREATE TABLE table_name_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR)
SELECT date FROM table_1566852_7 WHERE interview_subject = "Shepard Smith"
IN WHAT ISSUE OF PLAYBOY WAS SHEPARD SMITH INTERVIEWED?
CREATE TABLE table_1566852_7 (date VARCHAR, interview_subject VARCHAR)
SELECT "Away team" FROM table_51009 WHERE "Tie no" = '34'
Who was the away team when the Tie no was 34?
CREATE TABLE table_51009 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT MIN(goal_difference) FROM table_name_81 WHERE wins > 13 AND losses < 8 AND draws < 11
What is the lowest goal difference a club with more than 13 wins, less than 8 losses, and less than 11 draws has?
CREATE TABLE table_name_81 (goal_difference INTEGER, draws VARCHAR, wins VARCHAR, losses VARCHAR)
SELECT COUNT(cover_model) FROM table_1566852_7 WHERE centerfold_model = "Stephanie Larimore"
HOW MANY MODELS WERE ON THE COVER OF THE ISSUE WHERE THE CENTERFOLD WAS STEPHANIE LARIMORE?
CREATE TABLE table_1566852_7 (cover_model VARCHAR, centerfold_model VARCHAR)
SELECT "Digital channel" FROM table_75032 WHERE "Network" = 'nbc'
Network of nbc is what digital channel?
CREATE TABLE table_75032 ( "Call sign" text, "Analog channel" text, "Digital channel" text, "Virtual channel" text, "Network" text, "Station Ownership" text )
SELECT SUM(played) FROM table_name_50 WHERE points > 71 AND losses < 8
What is the number of played games a club with more than 71 points and less than 8 losses has?
CREATE TABLE table_name_50 (played INTEGER, points VARCHAR, losses VARCHAR)
SELECT interview_subject FROM table_1566852_7 WHERE cover_model = "Kara Monaco"
IN THE ISSUE WITH KARA MONACO ON THE COVER, WHO WAS THE INTERVIEW SUBJECT?
CREATE TABLE table_1566852_7 (interview_subject VARCHAR, cover_model VARCHAR)
SELECT T1.Price, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
For those records from the products and each product's manufacturer, show me about the correlation between price and code , and group by attribute founder in a scatter chart.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11
What is the lowest goal difference a club with 61 goals against and less than 11 draws has?
CREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR)
SELECT COUNT(20 AS _questions) FROM table_1566852_7 WHERE interview_subject = "Ludacris"
HOW MANY TIMES WAS LUDACRIS THE INTERVIEW SUBJECT FOR THE 20 QUESTIONS COLUMN?
CREATE TABLE table_1566852_7 (interview_subject VARCHAR)
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95909) AND prescriptions.route = 'pr' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-164 month') ORDER BY prescriptions.startdate LIMIT 1
when was the first time that since 164 months ago patient 95909 was prescribed a medication via pr?
CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, first_careunit text, last_careunit text, first_wardid number, last_wardid number, intime time, outtime time ) CREATE TABLE procedures_icd ( row_id number, subject_id number, ...
SELECT MIN(crowd) FROM table_name_25 WHERE venue = "princes park"
Which Crowd has a Venue of princes park?
CREATE TABLE table_name_25 (crowd INTEGER, venue VARCHAR)
SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Manama"
what is the arabic capital name wher the english capital name is manama?
CREATE TABLE table_15694696_1 (arabic_capital_name VARCHAR, english_capital_name VARCHAR)
SELECT "Score" FROM table_71584 WHERE "Player" = 'arnold palmer'
What was Arnold Palmer's score in the tournamnet?
CREATE TABLE table_71584 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money (US$)" real )
SELECT away_team FROM table_name_82 WHERE venue = "mcg"
Which Away team has a Venue of mcg?
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT arabic_capital_name FROM table_15694696_1 WHERE english_capital_name = "Beirut"
what is the arabic capital name where the english capital name is beirut?
CREATE TABLE table_15694696_1 (arabic_capital_name VARCHAR, english_capital_name VARCHAR)
SELECT COUNT(*) FROM Posts AS p WHERE p.CreationDate >= '2019-09-05'
Posts Since The Mess Started.
CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTaskStates ( Id number, ...
SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "essendon"
Which average Crowd has a Home team of essendon?
CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR)
SELECT rank__night_ FROM table_15681686_4 WHERE rating = "4.4"
what is the rank for the rating 4.4?
CREATE TABLE table_15681686_4 (rank__night_ VARCHAR, rating VARCHAR)
SELECT COUNT("Part 3") FROM table_21708 WHERE "Verb meaning" = 'to freeze'
How many different part 3 verbs are there that mean to freeze?
CREATE TABLE table_21708 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text )
SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook"
When was terry cook picked?
CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR)
SELECT rating / SHARE(18 - 49) FROM table_15681686_4 WHERE rank__week_ = "48"
what is the rating where the rank is 48?
CREATE TABLE table_15681686_4 (rating VARCHAR, rank__week_ VARCHAR)
SELECT official_name FROM table_300283_1 WHERE name_in_spanish = "Cripán"
What is the official name of the municipality whose name in Spanish is Crip n?
CREATE TABLE table_300283_1 ( official_name VARCHAR, name_in_spanish VARCHAR )
SELECT position FROM table_name_99 WHERE player = "todd hammel"
What position is todd hammel?
CREATE TABLE table_name_99 (position VARCHAR, player VARCHAR)
SELECT COUNT(rank__timeslot_) FROM table_15681686_4 WHERE rank__week_ = "58"
what is the total rank where the rank is 58?
CREATE TABLE table_15681686_4 (rank__timeslot_ VARCHAR, rank__week_ VARCHAR)
SELECT "July 1, 2011 density (/mi\u00b2)" FROM table_59595 WHERE "July 1, 2010 official estimate" = '800,482'
What is the July 1, 2011 density if the July 1, 2010 official estimate is 800,482?
CREATE TABLE table_59595 ( "Rank" text, "County" text, "State" text, "Land area (km\u00b2)" text, "Land area (mi\u00b2)" text, "April 1, 2010 census" text, "April 1, 2010 density (/km\u00b2)" text, "April 1, 2010 density (/mi\u00b2)" text, "July 1, 2010 official estimate" text, "...
SELECT away_team AS score FROM table_name_98 WHERE home_team = "essendon"
What is the score of the away team that played Essendon?
CREATE TABLE table_name_98 (away_team VARCHAR, home_team VARCHAR)
SELECT rank__week_ FROM table_15681686_4 WHERE viewers__millions_ = "6.45"
what rank has viewers at 6.45?
CREATE TABLE table_15681686_4 (rank__week_ VARCHAR, viewers__millions_ VARCHAR)
SELECT COUNT(DISTINCT cname) FROM tryout
How many different colleges were represented at tryouts?
CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE player ( pid number, pname text, ycard text, hs number )