answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT MIN(attendance) FROM table_23308178_6 WHERE date = "December 23"
What was the lowest attendance for games played on december 23?
CREATE TABLE table_23308178_6 (attendance INTEGER, date VARCHAR)
SELECT "Team" FROM table_40501 WHERE "Score" = 'w 101–97 (2ot)'
What is the Team with a Score that is w 101 97 (2ot)?
CREATE TABLE table_40501 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "Location Attendance" text, "Record" text )
SELECT MIN(game) FROM table_23486853_6 WHERE opponent = "Buffalo Sabres"
What was the game number when the opposing team was the Buffalo Sabres?
CREATE TABLE table_23486853_6 (game INTEGER, opponent VARCHAR)
SELECT COUNT(date) FROM table_23308178_6 WHERE location = "Wachovia Center"
How many dates were played at the wachovia center?
CREATE TABLE table_23308178_6 (date VARCHAR, location VARCHAR)
SELECT "General classification" FROM table_52601 WHERE "Stage" = '7'
Which General classification has a Stage of 7?
CREATE TABLE table_52601 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Trofeo Fast Team" text )
SELECT directed_by FROM table_234886_3 WHERE no_in_series = 44
Who directed episode no. 44 in the series?
CREATE TABLE table_234886_3 (directed_by VARCHAR, no_in_series VARCHAR)
SELECT COUNT(game) FROM table_23308178_8 WHERE record = "39-12-6"
How many games did they have a record of 39-12-6?
CREATE TABLE table_23308178_8 (game VARCHAR, record VARCHAR)
SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 28600 AND STRFTIME('%y', admissions.admittime) = '2105'
in 2105, patient 28600 has made an admission?
CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id numbe...
SELECT COUNT(no_in_season) FROM table_234886_3 WHERE prod_code = "2-05"
What is the number in the season of the episode with a production code of 2-05?
CREATE TABLE table_234886_3 (no_in_season VARCHAR, prod_code VARCHAR)
SELECT MAX(points) FROM table_23308178_8
What is the largest number of points they had?
CREATE TABLE table_23308178_8 (points INTEGER)
SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-77687')) AND medication.routeadmin = 'imv' AND DATETIME(medicat...
since 37 months ago, what was the last drug patient 005-77687 was prescribed via the imv route?
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( i...
SELECT title FROM table_234886_3 WHERE prod_code = "2-19"
What is the title of the episode with the production code 2-19?
CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)
SELECT COUNT(record) FROM table_23308178_8 WHERE points = 88
How many games did they play with 88 points?
CREATE TABLE table_23308178_8 (record VARCHAR, points VARCHAR)
SELECT "Prize" FROM table_43940 WHERE "Name" = 'valdemar kwaysser'
What is Prize, when Name is 'Valdemar Kwaysser'?
CREATE TABLE table_43940 ( "Rank" text, "Event" text, "Place" text, "Name" text, "Prize" text )
SELECT COUNT(title) FROM table_234886_3 WHERE no_in_series = 29
What is the total number of titles for the episode numbered 29 in the series?
CREATE TABLE table_234886_3 (title VARCHAR, no_in_series VARCHAR)
SELECT opponent FROM table_23308178_8 WHERE date = "February 5"
How many games did they play on february 5?
CREATE TABLE table_23308178_8 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Hypothyroidism NOS" AND prescriptions.route = "PB"
what is the number of patients on pb route of drug administration who are diagnosed with hypothyroidism nos?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( ...
SELECT title FROM table_23492454_1 WHERE directed_by = "Jessica Yu"
What was the name of the episode directed by Jessica Yu?
CREATE TABLE table_23492454_1 (title VARCHAR, directed_by VARCHAR)
SELECT co_artists FROM table_23379776_5 WHERE name_of_role = "Ah-Zhong 阿忠"
Who is every co-artist with name of role as Ah-Zhong 阿忠?
CREATE TABLE table_23379776_5 (co_artists VARCHAR, name_of_role VARCHAR)
SELECT "9:30 PM" FROM table_10416 WHERE "8:00 PM" = 'l''auberge du chien noir'
9:30 PM when the 8:00 PM is l'auberge du chien noir?
CREATE TABLE table_10416 ( "7:00 PM" text, "8:00 PM" text, "8:30 PM" text, "9:00 PM" text, "9:30 PM" text, "10:00 PM" text )
SELECT directed_by FROM table_23492454_1 WHERE written_by = "Shonda Rhimes"
who directed the episode written by Shonda Rhimes?
CREATE TABLE table_23492454_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT nature_of_role FROM table_23379776_5 WHERE year = 2009
What is every nature of role with year as 2009?
CREATE TABLE table_23379776_5 (nature_of_role VARCHAR, year VARCHAR)
SELECT candidates FROM table_1341604_39 WHERE incumbent = "Gus Yatron"
What are the candidates in the district whose incumbent is Gus Yatron?
CREATE TABLE table_1341604_39 ( candidates VARCHAR, incumbent VARCHAR )
SELECT COUNT(no_in_series) FROM table_23492454_1 WHERE no_in_season = 18
How many episodes in the series are also episode 18 in the season?
CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR)
SELECT COUNT(location) FROM table_23379776_5 WHERE name_of_role = "Xiao Gui 小鬼"
How many locations for name of role as Xiao Gui 小鬼?
CREATE TABLE table_23379776_5 (location VARCHAR, name_of_role VARCHAR)
SELECT outcome FROM table_name_97 WHERE opponent_in_final = "alizé cornet janette husárová"
Name the outcome for aliz cornet janette hus rov being opponent in final
CREATE TABLE table_name_97 ( outcome VARCHAR, opponent_in_final VARCHAR )
SELECT opponent FROM table_23486853_8 WHERE date = "March 16"
Who is every opponent on the date of March 16?
CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR)
SELECT original_air_date FROM table_2343740_1 WHERE episode_number = 2
On what date did episode 2 air?
CREATE TABLE table_2343740_1 (original_air_date VARCHAR, episode_number VARCHAR)
SELECT MIN("Rank") FROM table_24955 WHERE "Gold" = '2'
Name the most rank for 2 gold
CREATE TABLE table_24955 ( "Rank" real, "Athlete" text, "Nation" text, "Olympics" text, "Gold" real, "Silver" real, "Bronze" real, "Total(min. 2 medals)" real )
SELECT score FROM table_23486853_8 WHERE opponent = "Atlanta Thrashers"
What is every score for the opponent of Atlanta Thrashers?
CREATE TABLE table_23486853_8 (score VARCHAR, opponent VARCHAR)
SELECT title FROM table_2343740_1 WHERE original_air_date = "February 9, 1979"
What was the title of the episode that aired February 9, 1979?
CREATE TABLE table_2343740_1 (title VARCHAR, original_air_date VARCHAR)
SELECT COUNT("name") FROM table_204_161 WHERE "place of\nmanufacture" = 'france'
number of models manufactured in france
CREATE TABLE table_204_161 ( id number, "name" text, "1968 cf\ndesignator" text, "place of\nmanufacture" text, "primary\nrole(s)" text, "service\nperiod" text, "#\nused" number )
SELECT location FROM table_23486853_8 WHERE date = "March 20"
What is every location for the date of March 20?
CREATE TABLE table_23486853_8 (location VARCHAR, date VARCHAR)
SELECT MAX(_number) FROM table_2345558_1 WHERE us_viewers__millions_ = "1.370"
What is the number of the episode seen by 1.370 million people in the US?
CREATE TABLE table_2345558_1 (_number INTEGER, us_viewers__millions_ VARCHAR)
SELECT yacht AS Club FROM table_name_84 WHERE syndicate = "america 3 foundation" AND yacht = "america 3"
Which Yacht Club is part of the America 3 Foundation syndicate on the America 3 yacht?
CREATE TABLE table_name_84 ( yacht VARCHAR, syndicate VARCHAR )
SELECT score FROM table_23486853_8 WHERE location = "Verizon Center" AND points = 68
What is every score at the location of Verizon Center and points of 68?
CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)
SELECT _number FROM table_2345558_1 WHERE director = "Whitney Ransick"
What's the number of the episode directed by Whitney Ransick?
CREATE TABLE table_2345558_1 (_number VARCHAR, director VARCHAR)
SELECT Date_of_Birth, Weight FROM people ORDER BY Date_of_Birth DESC
Show weight from each date of birth, list X in desc order.
CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight re...
SELECT date FROM table_23486853_8 WHERE record = "30–34–12"
What is every date with a record of 30–34–12?
CREATE TABLE table_23486853_8 (date VARCHAR, record VARCHAR)
SELECT director FROM table_2345558_1 WHERE writer_s_ = "Jason Yoshimura"
Who directed the episode written by Jason Yoshimura?
CREATE TABLE table_2345558_1 (director VARCHAR, writer_s_ VARCHAR)
SELECT yearid, COUNT(yearid) FROM hall_of_fame ORDER BY yearid
I want to see trend of the number of yearid by yearid, and display x-axis in ascending order.
CREATE TABLE salary ( year INTEGER, team_id TEXT, league_id TEXT, player_id TEXT, salary INTEGER ) CREATE TABLE fielding_outfield ( player_id TEXT, year INTEGER, stint INTEGER, glf NUMERIC, gcf NUMERIC, grf NUMERIC ) CREATE TABLE batting_postseason ( year INTEGER, r...
SELECT MAX(officers_o_s) FROM table_23508196_2 WHERE total_usaaf = 2373882
How many officers o/s were there on the day when the number of USAAF was 2373882?
CREATE TABLE table_23508196_2 (officers_o_s INTEGER, total_usaaf VARCHAR)
SELECT sat_29_aug FROM table_23465864_3 WHERE rider = "Roy Richardson 476cc Aermacchi"
When roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?
CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR)
SELECT "Home team" FROM table_74668 WHERE "Venue" = 'punt road oval'
What is the home team for punt road oval?
CREATE TABLE table_74668 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471
How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?
CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)
SELECT tues_25_aug FROM table_23465864_3 WHERE rank = 6
When 6 is the rank what is the time for Tuesday August 25th?
CREATE TABLE table_23465864_3 (tues_25_aug VARCHAR, rank VARCHAR)
SELECT district_residence FROM table_name_4 WHERE name = "choice b. randell"
Name of choice b. Randell is the name of which District Residence?
CREATE TABLE table_name_4 ( district_residence VARCHAR, name VARCHAR )
SELECT tot_officers FROM table_23508196_2 WHERE tot_enlisted = 329640
How many tot officers were there on the date when the number of tot enlisted was 329640?
CREATE TABLE table_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR)
SELECT sat_29_aug FROM table_23465864_3 WHERE rank = 3
When 3 is the rank what is the time for Saturday August 29th?
CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rank VARCHAR)
SELECT famous_release_date FROM artist ORDER BY age DESC LIMIT 1
What is the famous release date of the artist with the oldest age?
CREATE TABLE artist ( artist_id number, artist text, age number, famous_title text, famous_release_date text ) CREATE TABLE volume ( volume_id number, volume_issue text, issue_date text, weeks_on_top number, song text, artist_id number ) CREATE TABLE music_festival ( id...
SELECT MAX(tot_enlisted) FROM table_23508196_2 WHERE total_usaaf = 2329534
How many Tot enlisted were there on the day when the number of total USAAF was 2329534?
CREATE TABLE table_23508196_2 (tot_enlisted INTEGER, total_usaaf VARCHAR)
SELECT COUNT(fri_28_aug) FROM table_23465864_3 WHERE mon_24_aug = "22' 37.06 100.090mph"
When 22' 37.06 100.090mph is the time for Monday August 24th how many times are there for Friday August 28th?
CREATE TABLE table_23465864_3 (fri_28_aug VARCHAR, mon_24_aug VARCHAR)
SELECT "Rank" FROM table_41386 WHERE "Country" = 'canada'
Which rank has canada as the country?
CREATE TABLE table_41386 ( "Publication" text, "Country" text, "Accolade" text, "Year" real, "Rank" text )
SELECT COUNT(age) FROM table_23495048_2 WHERE represent = "Mitteldeutschland"
How many contestants where from mitteldeutschland?
CREATE TABLE table_23495048_2 (age VARCHAR, represent VARCHAR)
SELECT rider FROM table_23465864_5 WHERE mon_24_aug = "21' 12.02 106.781mph"
What is every rider on Monday August 24 at 21' 12.02 106.781mph?
CREATE TABLE table_23465864_5 (rider VARCHAR, mon_24_aug VARCHAR)
SELECT MAX("Ends Lost") FROM table_5427 WHERE "Locale" = 'ontario'
What's Ontario's highest Ends Lost?
CREATE TABLE table_5427 ( "Locale" text, "Skip" text, "Ends Won" real, "Ends Lost" real, "Blank Ends" real, "Stolen Ends" real, "Shot Pct." real )
SELECT height__mtr_ FROM table_23495048_2 WHERE contestant = "Ulrike Wolful"
How many meters tall is Ulrike Wolful?
CREATE TABLE table_23495048_2 (height__mtr_ VARCHAR, contestant VARCHAR)
SELECT tues_25_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 54.54 94.684mph"
What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?
CREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR)
SELECT Users.Id AS "user_link", Reputation, Views AS "profile_views" FROM Users WHERE NOT AccountId IS NULL AND Users.DisplayName LIKE 'Uni%' ORDER BY DisplayName DESC LIMIT 1000
Find the Unikitties!(For The Bridge). Made to annoy nobody!
CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, Deletio...
SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.76"
Which country had a contestant that was 1.76 meters tall?
CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)
SELECT rider FROM table_23465864_5 WHERE tues_25_aug = "20' 32.11 110.241mph"
What is every rider on Tuesday August 25 at 20' 32.11 110.241mph?
CREATE TABLE table_23465864_5 (rider VARCHAR, tues_25_aug VARCHAR)
SELECT runner_up FROM table_name_30 WHERE tournament = "majorca"
Tell me the runner-up for majorca
CREATE TABLE table_name_30 ( runner_up VARCHAR, tournament VARCHAR )
SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.70"
What country had a contestant that was 1.70 meters tall?
CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)
SELECT mon_24_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 22.25 96.864mph"
What is every value for Monday August 24 if Friday August 28 is 23' 22.25 96.864mph?
CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, fri_28_aug VARCHAR)
SELECT LOG10(Reputation) AS Rep, CAST(CAST(UpVotes AS FLOAT) / CAST(DownVotes AS FLOAT) AS FLOAT(10, 2)) AS Ratio FROM Users WHERE DownVotes >= 1 AND UpVotes + DownVotes > 1 AND Reputation > 10 AND Id > 0 ORDER BY 'ratio' DESC
Users rep versus downvote ratio.
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...
SELECT MAX(points) FROM table_23501776_18 WHERE seed = 2
If seed number is 2, what is the maximum amount of points?
CREATE TABLE table_23501776_18 (points INTEGER, seed VARCHAR)
SELECT mon_24_aug FROM table_23465864_5 WHERE rider = "Benny Smith 600cc Yamaha"
What is the value of Monday August 24 if the rider is Benny Smith 600cc Yamaha?
CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, rider VARCHAR)
SELECT pos FROM table_27514362_7 WHERE car_make = "Pontiac" AND driver = "Bobby Hamilton"
What is the finish position for cars by Pontiac driven by Bobby Hamilton?
CREATE TABLE table_27514362_7 ( pos VARCHAR, car_make VARCHAR, driver VARCHAR )
SELECT status FROM table_23501776_18 WHERE new_points = 1720
If new points is 1720, what is the status?
CREATE TABLE table_23501776_18 (status VARCHAR, new_points VARCHAR)
SELECT mon_24_aug FROM table_23465864_5 WHERE fri_28_aug = "26' 04.60 86.814mph"
What is the value for Monday August 24 if Friday August 28 is 26' 04.60 86.814mph?
CREATE TABLE table_23465864_5 (mon_24_aug VARCHAR, fri_28_aug VARCHAR)
SELECT "First contact with Hitler" FROM table_38012 WHERE "Age at death" = '31'
When did the woman who died at 31 first contact Hitlers?
CREATE TABLE table_38012 ( "Name" text, "Life" text, "Age at death" text, "First contact with Hitler" text, "Relationship" text )
SELECT winning_party_coalition FROM table_23512864_4 WHERE election_year = 1980
Who is the winning party/coalition name in election year 1980?
CREATE TABLE table_23512864_4 (winning_party_coalition VARCHAR, election_year VARCHAR)
SELECT directed_by FROM table_23483182_1 WHERE production_code = 414
Who directed 414?
CREATE TABLE table_23483182_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT "title" FROM table_204_997 WHERE id = (SELECT id FROM table_204_997 WHERE "title" = '"marion the superfluous feed character"') + 1
which episode aired after marion the superfluous feed character ?
CREATE TABLE table_204_997 ( id number, "#" text, "title" text, "celebrity guest(s)" text, "directed by" text, "written by" text, "original airdate" text )
SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "Munu Adhi (2) K. Rajaram"
If the speaker is Munu Adhi (2) K. Rajaram, what is the election year maximum?
CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)
SELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = "March 25, 2010"
What is the series number of the episode that aired March 25, 2010?
CREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR)
SELECT lost FROM table_name_67 WHERE points = "86"
What lost has 86 points?
CREATE TABLE table_name_67 ( lost VARCHAR, points VARCHAR )
SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "R. Muthiah"
If the speaker is R. Muthiah, what is the election year maximum?
CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)
SELECT written_by FROM table_23483182_1 WHERE original_air_date = "February 4, 2010"
Who wrote the episode that aired February 4, 2010?
CREATE TABLE table_23483182_1 (written_by VARCHAR, original_air_date VARCHAR)
SELECT MAX(silver) FROM table_name_75 WHERE rank = "19" AND gold < 2
What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals?
CREATE TABLE table_name_75 ( silver INTEGER, rank VARCHAR, gold VARCHAR )
SELECT speaker FROM table_23512864_4 WHERE chief_minister = "M.G. Ramachandran"
What is the name of the speaker if the chief minister is M.G. Ramachandran?
CREATE TABLE table_23512864_4 (speaker VARCHAR, chief_minister VARCHAR)
SELECT original_air_date FROM table_23483182_1 WHERE us_viewers__million_ = "5.72"
What was the air date where there were 5.72 million viewers?
CREATE TABLE table_23483182_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT All_Neutral, ACC_Percent FROM basketball_match
Show me about the distribution of All_Neutral and ACC_Percent in a bar chart.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT MAX(election_year) FROM table_23512864_4 WHERE assembly = "Sixth assembly"
If the assembly is the sixth assembly, what is the maximum election year?
CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR)
SELECT no_in_season FROM table_23483182_1 WHERE us_viewers__million_ = "6.01"
What number was there 6.01 million u.s. drivers?
CREATE TABLE table_23483182_1 (no_in_season VARCHAR, us_viewers__million_ VARCHAR)
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 3 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid...
what are the three year survival rates of patients who had been prescribed lisinopril 2.5 mg po tabs after having been diagnosed with valvular insufficiency - tricuspid valve?
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 TAB...
SELECT number_of_crews FROM table_23508196_5 WHERE type_of_unit = "Light bombardment group"
Name the number of crews for light bombardment group
CREATE TABLE table_23508196_5 (number_of_crews VARCHAR, type_of_unit VARCHAR)
SELECT date FROM table_23486853_3 WHERE opponent = "Florida Panthers"
What date did they play the Florida Panthers?
CREATE TABLE table_23486853_3 (date VARCHAR, opponent VARCHAR)
SELECT winner_nominee_s_ FROM table_name_27 WHERE year = 2001
Who were the winner and nominees in 2001?
CREATE TABLE table_name_27 ( winner_nominee_s_ VARCHAR, year VARCHAR )
SELECT type_of_aircraft FROM table_23508196_5 WHERE number_of_crews = "21"
What is the aircraft for 21 crews?
CREATE TABLE table_23508196_5 (type_of_aircraft VARCHAR, number_of_crews VARCHAR)
SELECT score FROM table_23486853_3 WHERE opponent = "Atlanta Thrashers"
What was the score for the Atlanta Thrashers?
CREATE TABLE table_23486853_3 (score VARCHAR, opponent VARCHAR)
SELECT COUNT("Attendance") FROM table_68750 WHERE "Score" = '4-2'
What is the total attendance at games with a score of 4-2?
CREATE TABLE table_68750 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT enlisted FROM table_23508196_5 WHERE type_of_unit = "Troop carrier group"
Nam ethe enlisted for troop carrier group
CREATE TABLE table_23508196_5 (enlisted VARCHAR, type_of_unit VARCHAR)
SELECT score FROM table_23486853_3 WHERE game = 4
What was the score for game 4?
CREATE TABLE table_23486853_3 (score VARCHAR, game VARCHAR)
SELECT "Comedians" FROM table_2774 WHERE "Location" = 'Birmingham Hippodrome'
Who were the comedians during the episode located in Birmingham Hippodrome?
CREATE TABLE table_2774 ( "Episode" text, "Location" text, "Headliner" text, "Comedians" text, "Airdate" text )
SELECT title FROM table_23513241_5 WHERE us_viewers__millions_ = "1.121"
What was the title when 1.121 million US people watched it?
CREATE TABLE table_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(title) FROM table_234886_2 WHERE original_air_date = "November 17, 1998"
How many titles have an original air date of November 17, 1998?
CREATE TABLE table_234886_2 (title VARCHAR, original_air_date VARCHAR)
SELECT "Record" FROM table_33636 WHERE "Stadium" = 'paul brown stadium'
What was the Browns record after they played the game at the Paul Brown stadium?
CREATE TABLE table_33636 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Stadium" text, "Record" text, "Attendance" text )
SELECT MIN(series_episode) FROM table_23513241_5 WHERE prod_code = 406
What is the lowest series episode with a production code of 406?
CREATE TABLE table_23513241_5 (series_episode INTEGER, prod_code VARCHAR)
SELECT COUNT(no_in_season) FROM table_23528223_2 WHERE us_viewers__millions_ = "13.54"
How many season numbers are there for the episode seen by 13.54 million people in the US?
CREATE TABLE table_23528223_2 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)