answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT "Location Attendance" FROM table_25704 WHERE "Record" = '5-15'
Name the location attendance of 5-15
CREATE TABLE table_25704 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT date FROM table_25572118_1 WHERE winning_driver = "Fairuz Fauzy"
When fairuz fauzy is the winning driver what is the date?
CREATE TABLE table_25572118_1 (date VARCHAR, winning_driver VARCHAR)
SELECT team FROM table_name_34 WHERE engine = "honda" AND races = "all"
Who used the Honda Engine for all the races?
CREATE TABLE table_name_34 (team VARCHAR, engine VARCHAR, races VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.icd9_code = "540"
count the number of patients whose death status is 0 and procedure icd9 code is 540?
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 ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT date FROM table_25572118_1 WHERE series = "EMT 9"
When emt 9 is the series what is the date?
CREATE TABLE table_25572118_1 (date VARCHAR, series VARCHAR)
SELECT location FROM table_name_75 WHERE event = "200m backstroke"
What is the location of the 200m backstroke?
CREATE TABLE table_name_75 (location VARCHAR, event VARCHAR)
SELECT COUNT(team) FROM table_28884858_2 WHERE capacity_percentage = "99.3%"
How many teams had a 99.3% capacity rating?
CREATE TABLE table_28884858_2 ( team VARCHAR, capacity_percentage VARCHAR )
SELECT state_country FROM table_25594271_1 WHERE race_number = "36"
what are all the state/nation where the race number is 36
CREATE TABLE table_25594271_1 (state_country VARCHAR, race_number VARCHAR)
SELECT circuit FROM table_name_11 WHERE winning_driver = "guy edwards"
Which circuit did Guy Edwards win?
CREATE TABLE table_name_11 (circuit VARCHAR, winning_driver VARCHAR)
SELECT "Money ( \u00a3 )" FROM table_12680 WHERE "Country" = 'england' AND "Player" = 'malcolm mackenzie'
Can you tell me the Money ( ) that has the Country of england, and the Player of malcolm mackenzie?
CREATE TABLE table_12680 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real )
SELECT state_country FROM table_25594888_1 WHERE skipper = "Sean Langman"
What State/Country is Sean Langman the skipper?
CREATE TABLE table_25594888_1 (state_country VARCHAR, skipper VARCHAR)
SELECT circuit FROM table_name_21 WHERE winning_driver = "rupert keegan" AND round = 8
What circuit did Rupert Keegan win in round 8?
CREATE TABLE table_name_21 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)
SELECT AVG(prominence) FROM mountain WHERE country = 'Morocco'
What are the average prominence of the mountains in country 'Morocco'?
CREATE TABLE photos ( id number, camera_lens_id number, mountain_id number, color text, name text ) CREATE TABLE mountain ( id number, name text, height number, prominence number, range text, country text ) CREATE TABLE camera_lens ( id number, brand text, name text, focal_length_mm number, max_aperture number )
SELECT yacht AS type FROM table_25594888_1 WHERE skipper = "Bob Oatley"
What yacht type is involved where Bob Oatley is the skipper?
CREATE TABLE table_25594888_1 (yacht VARCHAR, skipper VARCHAR)
SELECT name FROM table_name_90 WHERE round > 10 AND circuit = "silverstone"
Who won Silverstone in a round after 10?
CREATE TABLE table_name_90 (name VARCHAR, round VARCHAR, circuit VARCHAR)
SELECT "Result" FROM table_12669 WHERE "Athlete" = 'inger miller'
Show the Result of inger miller?
CREATE TABLE table_12669 ( "Rank" real, "Result" text, "Wind" text, "Athlete" text, "Date" text, "Location" text )
SELECT COUNT(race_number) FROM table_25594888_1 WHERE yacht = "Loki"
How many races was Loki in?
CREATE TABLE table_25594888_1 (race_number VARCHAR, yacht VARCHAR)
SELECT rank FROM table_name_44 WHERE actor_actress = "aaron pedersen"
What rank did actor Aaron Pedersen's character have?
CREATE TABLE table_name_44 (rank VARCHAR, actor_actress VARCHAR)
SELECT "Record" FROM table_53129 WHERE "Date" = 'nascar nationwide series'
What date was the nascar nationwide series held?
CREATE TABLE table_53129 ( "Record" text, "Date" text, "Driver" text, "Time" text, "Speed/Avg. Speed" text )
SELECT loa__metres_ FROM table_25595107_1 WHERE skipper = "Jez Fanstone"
What were the LOA (metres) for the yacht where the skipper was Jez Fanstone?
CREATE TABLE table_25595107_1 (loa__metres_ VARCHAR, skipper VARCHAR)
SELECT tenure FROM table_name_75 WHERE actor_actress = "nadine garner"
What years were actress Nadine Garner on the show?
CREATE TABLE table_name_75 (tenure VARCHAR, actor_actress VARCHAR)
SELECT Year, COUNT(Year) FROM exhibition GROUP BY Year
Give a bar chart that bins year into weekday interval, group by year and count them.
CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int )
SELECT state_country FROM table_25595107_1 WHERE loa__metres_ = "15.79"
What state/country was the yacht from that had 15.79 LOA (metres)?
CREATE TABLE table_25595107_1 (state_country VARCHAR, loa__metres_ VARCHAR)
SELECT character FROM table_name_50 WHERE actor_actress = "damien richardson"
What character did actor Damien Richardson play?
CREATE TABLE table_name_50 (character VARCHAR, actor_actress VARCHAR)
SELECT COUNT(result) FROM table_name_99 WHERE horse = "waldemar 27" AND event = "freestyle test"
What is the result of Waldemar 27 s freestyle test?
CREATE TABLE table_name_99 ( result VARCHAR, horse VARCHAR, event VARCHAR )
SELECT sail_number FROM table_25595209_1 WHERE skipper = "Matt Allen"
What is Matt Allen's sail number?
CREATE TABLE table_25595209_1 (sail_number VARCHAR, skipper VARCHAR)
SELECT episodes FROM table_name_46 WHERE rank = "detective senior constable" AND actor_actress = "daniel macpherson"
What episode did actor Daniel Macpherson's character have the rank of Detective Senior Constable
CREATE TABLE table_name_46 (episodes VARCHAR, rank VARCHAR, actor_actress VARCHAR)
SELECT player FROM table_name_30 WHERE round = 5
What player was drafted in Round 5?
CREATE TABLE table_name_30 ( player VARCHAR, round VARCHAR )
SELECT loa__metres_ FROM table_25595209_1 WHERE yacht = "Brindabella"
What is the LOA of Brindabella?
CREATE TABLE table_25595209_1 (loa__metres_ VARCHAR, yacht VARCHAR)
SELECT sideline_reporter_s_ FROM table_name_22 WHERE network = "nbc" AND play_by_play = "al michaels" AND year > 2013
Who are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013?
CREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)
SELECT surface FROM table_name_57 WHERE round = "4th round" AND player = "maria sharapova"
Which Surface has a Round of 4th round, and a Player of maria sharapova?
CREATE TABLE table_name_57 ( surface VARCHAR, round VARCHAR, player VARCHAR )
SELECT state_country FROM table_25595209_1 WHERE loa__metres_ = "19.50"
What the is the state that the boat is from with LOA of 19.50?
CREATE TABLE table_25595209_1 (state_country VARCHAR, loa__metres_ VARCHAR)
SELECT MIN(year) FROM table_name_64 WHERE sideline_reporter_s_ = "michelle tafoya and suzy kolber"
What was the earliest year featuring Sideline reporter(s) of michelle tafoya and suzy kolber?
CREATE TABLE table_name_64 (year INTEGER, sideline_reporter_s_ VARCHAR)
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-66291')) AND NOT vitalperiodic.heartrate IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m-%d', vitalperiodic.observationtime) = '12-31' ORDER BY vitalperiodic.heartrate DESC, vitalperiodic.observationtime DESC LIMIT 1
when was the last time that patient 012-66291 had the heartrate maximum on 12/31/this year?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text )
SELECT COUNT(state_country) FROM table_25595209_1 WHERE skipper = "Grant Wharington"
How many states is Grant Wharington from?
CREATE TABLE table_25595209_1 (state_country VARCHAR, skipper VARCHAR)
SELECT network FROM table_name_19 WHERE year = 2014
What network is working in 2014?
CREATE TABLE table_name_19 (network VARCHAR, year VARCHAR)
SELECT date FROM table_23286112_6 WHERE game = 3
When was the game number 3 played?
CREATE TABLE table_23286112_6 ( date VARCHAR, game VARCHAR )
SELECT COUNT(current_status) FROM table_25597136_1 WHERE date_first_lit = "1853"
The date first lit is 1853 total number of current status.
CREATE TABLE table_25597136_1 (current_status VARCHAR, date_first_lit VARCHAR)
SELECT sideline_reporter_s_ FROM table_name_72 WHERE year = 2011
Who were the sideline reporter(s) in 2011?
CREATE TABLE table_name_72 (sideline_reporter_s_ VARCHAR, year VARCHAR)
SELECT Operating_system, COUNT(*) FROM Web_client_accelerator GROUP BY Operating_system
Draw a bar chart of operating system versus the total number
CREATE TABLE browser ( id int, name text, market_share real ) CREATE TABLE accelerator_compatible_browser ( accelerator_id int, browser_id int, compatible_since_year int ) CREATE TABLE Web_client_accelerator ( id int, name text, Operating_system text, Client text, Connection text )
SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE location = "Naidi Hills, Basco"
Location for focal plane in ft (m) is naidi hills, basco.
CREATE TABLE table_25597136_1 (focal_plane_in_ft__m_ VARCHAR, location VARCHAR)
SELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = "espn"
Who were the collor commentator(s) for ESPN before 2012?
CREATE TABLE table_name_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR)
SELECT "Format" FROM table_52353 WHERE "Region" = 'united states' AND "Date" = 'august 11, 2009'
Which format had a United States region and a date of August 11, 2009?
CREATE TABLE table_52353 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text )
SELECT date_first_lit FROM table_25597136_1 WHERE focal_plane_in_ft__m_ = "43ft (13.1m)"
Focal plane in ft (m) is 43ft (13.1m) is the first date lit.
CREATE TABLE table_25597136_1 (date_first_lit VARCHAR, focal_plane_in_ft__m_ VARCHAR)
SELECT higher_harmonics FROM table_name_19 WHERE noaa = "8"
What higher harmonics have an NOAA of 8?
CREATE TABLE table_name_19 (higher_harmonics VARCHAR, noaa VARCHAR)
SELECT SUM(games) FROM table_name_54 WHERE assist > 54
How many games had an assist number greater than 54?
CREATE TABLE table_name_54 ( games INTEGER, assist INTEGER )
SELECT province_city FROM table_25597136_1 WHERE lighthouse = "Corregidor Island (2)"
The province/city corregidor island (2) is where the lighthouse is located.
CREATE TABLE table_25597136_1 (province_city VARCHAR, lighthouse VARCHAR)
SELECT speed FROM table_name_95 WHERE noaa = "37"
What is the speed of the higher harmonics that have an NOAA of 37?
CREATE TABLE table_name_95 (speed VARCHAR, noaa VARCHAR)
SELECT result FROM table_name_83 WHERE record = "3–3"
Record of 3 3 has what result?
CREATE TABLE table_name_83 ( result VARCHAR, record VARCHAR )
SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE tower_height_in_ft__m_ = "46ft (14.0m)"
Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).
CREATE TABLE table_25597136_1 (focal_plane_in_ft__m_ VARCHAR, tower_height_in_ft__m_ VARCHAR)
SELECT noaa FROM table_name_49 WHERE darwin = "mn 4"
What is the NOAA of the higher harmonics that have a Darwin of mn 4?
CREATE TABLE table_name_49 (noaa VARCHAR, darwin VARCHAR)
SELECT COUNT(first_downs) FROM table_15847691_2 WHERE date = "October 23"
What was the total number of first down on October 23?
CREATE TABLE table_15847691_2 ( first_downs VARCHAR, date VARCHAR )
SELECT no_in_series FROM table_25604014_6 WHERE directed_by = "Win Phelps" AND no_in_season = 11
What are the number in series of the pieces directed by Win Phelps and which number in season is 11?
CREATE TABLE table_25604014_6 (no_in_series VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
SELECT noaa FROM table_name_27 WHERE darwin = "m sf"
What is the NOAA of the higher harmonics that have a Darwin of m sf?
CREATE TABLE table_name_27 (noaa VARCHAR, darwin VARCHAR)
SELECT MIN("No. in season") FROM table_18068 WHERE "No. in series" = '22'
What's the smallest episode number of an episode whose number in the series is 22?
CREATE TABLE table_18068 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text )
SELECT title FROM table_25604014_6 WHERE no_in_season = 2
What are the titles of the pieces that are number 2 in season?
CREATE TABLE table_25604014_6 (title VARCHAR, no_in_season VARCHAR)
SELECT higher_harmonics FROM table_name_36 WHERE speed = "0.0821373"
Which higher harmonics have a speed of 0.0821373?
CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR)
SELECT MAX("Interview") FROM table_11650 WHERE "Average" > '9.324' AND "State" = 'louisiana'
What is the highest interview for Louisiana with an average above 9.324?
CREATE TABLE table_11650 ( "State" text, "Interview" real, "Swimsuit" real, "Evening Gown" real, "Average" real )
SELECT production_code FROM table_25604014_4 WHERE directed_by = "Sam Weisman"
What is the production code for the episode directed by Sam weisman?
CREATE TABLE table_25604014_4 (production_code VARCHAR, directed_by VARCHAR)
SELECT home_team AS score FROM table_name_7 WHERE venue = "lake oval"
What is the Home team score for the Lake Oval Venue?
CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)
SELECT Body_Builder_ID, People_ID FROM body_builder
Plot a scatter chart, body builder id by people_id.
CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text ) CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real )
SELECT written_by FROM table_25604014_5 WHERE no_in_series = 81
Who wrote episode number 81 in the series?
CREATE TABLE table_25604014_5 (written_by VARCHAR, no_in_series VARCHAR)
SELECT 2004 AS _05 FROM table_name_83 WHERE commodity = "milk"
What is the 2005-05 production for milk?
CREATE TABLE table_name_83 (commodity VARCHAR)
SELECT ep_winning_team FROM table_29225103_2 WHERE fm_winning_team = "Brabham - Ford" AND hm_winning_team = "Osca"
Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?
CREATE TABLE table_29225103_2 ( ep_winning_team VARCHAR, fm_winning_team VARCHAR, hm_winning_team VARCHAR )
SELECT COUNT(no_in_season) FROM table_25604014_5 WHERE directed_by = "David Carson"
How many episodes directed by david carson?
CREATE TABLE table_25604014_5 (no_in_season VARCHAR, directed_by VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE venue = "victoria park"
Which home team score occurred at Victoria Park?
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND demographic.admityear < "2167"
how many patients whose admission location is transfer from hosp/extram and admission year is less than 2167?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid 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 text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT directed_by FROM table_25604014_5 WHERE production_code = "7D03"
Who direcred the episode with production code 7d03?
CREATE TABLE table_25604014_5 (directed_by VARCHAR, production_code VARCHAR)
SELECT home_team FROM table_name_67 WHERE venue = "glenferrie oval"
Which home team played at Glenferrie Oval?
CREATE TABLE table_name_67 (home_team VARCHAR, venue VARCHAR)
SELECT "Result" FROM table_18357 WHERE "District" = 'Maryland 7'
List all results where the voting district is Maryland 7.
CREATE TABLE table_18357 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT settlement FROM table_2562572_19 WHERE population__2011_ = 1114
In what settlement is the population 1114?
CREATE TABLE table_2562572_19 (settlement VARCHAR, population__2011_ VARCHAR)
SELECT date FROM table_name_61 WHERE venue = "windy hill"
On which date was the venue at Windy Hill?
CREATE TABLE table_name_61 (date VARCHAR, venue VARCHAR)
SELECT MAX("Total") FROM table_13212 WHERE "Gold" = '2'
Which Total has Gold of 2?
CREATE TABLE table_13212 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT type FROM table_2562572_19 WHERE settlement = "Lok"
What type is the settlement of Lok?
CREATE TABLE table_2562572_19 (type VARCHAR, settlement VARCHAR)
SELECT opponent FROM table_name_68 WHERE round = "3" AND method = "decision"
Who has a round of 3 with a method of decision?
CREATE TABLE table_name_68 (opponent VARCHAR, round VARCHAR, method VARCHAR)
SELECT power FROM table_21021796_1 WHERE torque = "N·m (lb·ft) @1600–2400 rpm" AND applications = "2000 W90x Sprinter"
If torque is n m (lb ft) @1600 2400 rpm and applications is 2000 w90x sprinter, what is the power?
CREATE TABLE table_21021796_1 ( power VARCHAR, torque VARCHAR, applications VARCHAR )
SELECT COUNT(population__2011_) FROM table_2562572_12 WHERE settlement = "Mladenovo"
How many populations are listed for mladenovo?
CREATE TABLE table_2562572_12 (population__2011_ VARCHAR, settlement VARCHAR)
SELECT time FROM table_name_63 WHERE stage = "ss6"
What was the finishing time of Stage SS6?
CREATE TABLE table_name_63 (time VARCHAR, stage VARCHAR)
SELECT result FROM table_name_45 WHERE competition = "league/cup" AND opponent = "swindon wildcats" AND man_of_the_match = "neil liddiard"
What is the result of the league/cup competition with the swindon wildcats as the opponent and neil liddiard as the man of the match?
CREATE TABLE table_name_45 ( result VARCHAR, man_of_the_match VARCHAR, competition VARCHAR, opponent VARCHAR )
SELECT dominant_religion__2002_ FROM table_2562572_12 WHERE population__2011_ = 4831
What is the dominate religion in the location with a population of 4831?
CREATE TABLE table_2562572_12 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)
SELECT time FROM table_name_16 WHERE distance = "18.25km" AND start_time = "11:31"
What was the finishing time of the stage that featured a distance of 18.25km and a start time of 11:31?
CREATE TABLE table_name_16 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
SELECT "Winning Constructor" FROM table_16662 WHERE "Fastest Lap" = 'Riccardo Patrese' AND "Location" = 'Interlagos'
who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos
CREATE TABLE table_16662 ( "Round" real, "Grand Prix" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Constructor" text, "Report" text )
SELECT type FROM table_2562113_1 WHERE institution = "San Diego Christian College"
What type of institution is San Diego Christian college?
CREATE TABLE table_2562113_1 (type VARCHAR, institution VARCHAR)
SELECT avg_speed FROM table_name_23 WHERE distance = "18.00km" AND winning_driver = "jean-claude andruet"
What was the average speed over 18.00km for winning driver Jean-Claude Andruet?
CREATE TABLE table_name_23 (avg_speed VARCHAR, distance VARCHAR, winning_driver VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.itemid = "50804"
what number of patients admitted in urgent care have lab test item id 50804?
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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear 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 ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT MAX(enrollment) FROM table_2562113_1 WHERE nickname = "Hawks"
What is the enrollment for the hawks?
CREATE TABLE table_2562113_1 (enrollment INTEGER, nickname VARCHAR)
SELECT time FROM table_name_78 WHERE distance = "24.00km" AND start_time = "21:27"
What was the finishing time of the Stage that featured a distance of 24.00km and a start time of 21:27?
CREATE TABLE table_name_78 (time VARCHAR, distance VARCHAR, start_time VARCHAR)
SELECT "Report" FROM table_16732 WHERE "Race" = 'Argentine Grand Prix'
what's the report with race argentine grand prix
CREATE TABLE table_16732 ( "Rnd" real, "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text )
SELECT MIN(enrollment) FROM table_2562113_1 WHERE joined = 1987
What is the enrollment for the institution that joined in 1987?
CREATE TABLE table_2562113_1 (enrollment INTEGER, joined VARCHAR)
SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)"
Which name is 51.89 (2.043) long?
CREATE TABLE table_name_57 (name VARCHAR, length VARCHAR)
SELECT h.PostId AS "post_link", h.CreationDate AS "edit_date" FROM PostHistory AS h, Posts AS p WHERE h.UserId = '##UserID##' AND h.PostHistoryTypeId IN (4, 5, 6) AND p.Id = h.PostId AND p.OwnerUserId != '##UserID##' ORDER BY 'edit_date' DESC
Posts edited by the user, excluding own posts.
CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ApprovalDate time, ApprovalModeratorId number, DeactivationDate time, DeactivationModeratorId number ) CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId number ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE Badges ( Id number, UserId number, Name text, Date time, Class number, TagBased boolean ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDisplayName text, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDisplayName text, LastEditDate time, LastActivityDate time, Title text, Tags text, AnswerCount number, CommentCount number, FavoriteCount number, ClosedDate time, CommunityOwnedDate time, ContentLicense text ) CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, CreationDate time, CloseReasonTypeId number, CloseAsOffTopicReasonTypeId number, DuplicateOfQuestionId number, BelongsOnBaseHostAddress text ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number )
SELECT location FROM table_2562113_1 WHERE nickname = "Lions"
What is the location of the institution nicknamed Lions?
CREATE TABLE table_2562113_1 (location VARCHAR, nickname VARCHAR)
SELECT bullet FROM table_name_25 WHERE shoulder = "10.92 (.430)"
Which bullet has a Shoulder of 10.92 (.430)?
CREATE TABLE table_name_25 (bullet VARCHAR, shoulder VARCHAR)
SELECT COUNT(*) FROM table_203_554 WHERE "bronze" = 'germany'
what is the number of total bronze medals that germany has won ?
CREATE TABLE table_203_554 ( id number, "year" number, "place" text, "gold" text, "silver" text, "bronze" text )
SELECT COUNT(population__2011_) FROM table_2562572_2 WHERE cyrillic_name = "Футог"
How many 2011 populations have a Cyrillic name of футог?
CREATE TABLE table_2562572_2 (population__2011_ VARCHAR, cyrillic_name VARCHAR)
SELECT shoulder FROM table_name_41 WHERE neck = "7.3 (.288)"
Which shoulder has a Neck of 7.3 (.288)?
CREATE TABLE table_name_41 (shoulder VARCHAR, neck VARCHAR)
SELECT "Date" FROM table_20975 WHERE "Game" = '9'
Name the date for game 9
CREATE TABLE table_20975 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Falcons points" real, "Opponents" real, "Record" text, "Attendance" real )
SELECT COUNT(population__2002_) FROM table_2562572_2 WHERE population__2011_ = 5399
What is the number of 2002 populations having a 2011 population of exactly 5399?
CREATE TABLE table_2562572_2 (population__2002_ VARCHAR, population__2011_ VARCHAR)
SELECT bullet FROM table_name_28 WHERE length = "33.78 (1.33)"
Which bullet has a Length of 33.78 (1.33)?
CREATE TABLE table_name_28 (bullet VARCHAR, length VARCHAR)
SELECT SUM("Attendance") FROM table_78304 WHERE "Week" < '10' AND "Result" = 'l 30-21'
What sum of Attendance has a Week smaller than 10, and a Result of l 30-21?
CREATE TABLE table_78304 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )