answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT title FROM table_14724369_1 WHERE directed_by = "Neil Affleck"
Which title did Neil Affleck direct?
CREATE TABLE table_14724369_1 (title VARCHAR, directed_by VARCHAR)
SELECT "Commissioned\u2013 Decommissioned" FROM table_37189 WHERE "NVR page" = 'aor-7'
Name the commissioned-decommissioned for NVR page of aor-7
CREATE TABLE table_37189 ( "Ship" text, "Hull No." text, "Builder" text, "Home Port" text, "Commissioned\u2013 Decommissioned" text, "NVR page" text )
SELECT institution FROM table_name_44 WHERE location = "reading, pa"
Which institution is located in Reading, PA?
CREATE TABLE table_name_44 (institution VARCHAR, location VARCHAR)
SELECT MAX(no_in_series) FROM table_14724369_1 WHERE production_code = "1ACX03"
What is the first number in series that had the production code 1ACX03?
CREATE TABLE table_14724369_1 (no_in_series INTEGER, production_code VARCHAR)
SELECT autonomous_community FROM table_13566548_1 WHERE wind_power = 1042
What is the community with a wind power of 1042?
CREATE TABLE table_13566548_1 ( autonomous_community VARCHAR, wind_power VARCHAR )
SELECT nickname FROM table_name_71 WHERE established = 1958
What was the nick name for the school established in 1958?
CREATE TABLE table_name_71 (nickname VARCHAR, established VARCHAR)
SELECT title FROM table_14724369_1 WHERE production_code = "1ACX04"
Which title had the production code 1ACX04?
CREATE TABLE table_14724369_1 (title VARCHAR, production_code VARCHAR)
SELECT "Home team score" FROM table_51920 WHERE "Away team" = 'fitzroy'
What home score has an Away team of fitzroy?
CREATE TABLE table_51920 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Date" text )
SELECT MAX(laps) FROM table_name_65 WHERE team = "mi-jack conquest racing" AND driver = "justin wilson" AND grid < 5
When the grid is under 5 and justin wilson is driving for the team mi-jack conquest racing, what's the highest number of laps driven?
CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, team VARCHAR, driver VARCHAR)
SELECT original_air_date FROM table_14724369_1 WHERE directed_by = "Michael DiMartino"
When did the show directed by Michael Dimartino first air?
CREATE TABLE table_14724369_1 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT date FROM table_name_95 WHERE home = "boston bruins"
When were the boston bruins the home team?
CREATE TABLE table_name_95 ( date VARCHAR, home VARCHAR )
SELECT time_retired FROM table_name_8 WHERE team = "newman/haas racing" AND grid = 3
When the team is newman/haas racing and the grid size is 3, what's the time/retired?
CREATE TABLE table_name_8 (time_retired VARCHAR, team VARCHAR, grid VARCHAR)
SELECT no_in_series FROM table_14724369_1 WHERE directed_by = "Monte Young"
Which series numbers were directed by Monte Young?
CREATE TABLE table_14724369_1 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT COUNT(DISTINCT "title") FROM table_203_501 WHERE "premiere date" = 9
what are the number of titles that premiered in the month of september ?
CREATE TABLE table_203_501 ( id number, "title" text, "genre" text, "sub\u00addivisions" text, "libretto" text, "premiere date" text, "place, theatre" text )
SELECT tournament FROM table_name_80 WHERE ground = "a" AND round = "8"
What tournament took place on Ground A with 8 rounds?
CREATE TABLE table_name_80 (tournament VARCHAR, ground VARCHAR, round VARCHAR)
SELECT COUNT(directed_by) FROM table_14724369_1 WHERE written_by = "Chris Sheridan"
How many people directed the show written by Chris Sheridan?
CREATE TABLE table_14724369_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT "Loss" FROM table_36628 WHERE "Record" = '46-59'
What was the loss when the record was 46-59?
CREATE TABLE table_36628 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT series FROM table_name_20 WHERE title_rank = "various"
What series had the title rank of various?
CREATE TABLE table_name_20 (series VARCHAR, title_rank VARCHAR)
SELECT regular_season FROM table_14723382_1 WHERE year = 2011
What regular seasons occurred in 2011?
CREATE TABLE table_14723382_1 (regular_season VARCHAR, year VARCHAR)
SELECT TIME_TO_STR(CreationDate, '%W'), COUNT(1) FROM Posts WHERE PostTypeId = 1 GROUP BY TIME_TO_STR(CreationDate, '%W')
Questions per day of week.
CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, Owne...
SELECT title_rank FROM table_name_7 WHERE series = "1-8, 13" AND character = "arthur hastings"
What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?
CREATE TABLE table_name_7 (title_rank VARCHAR, series VARCHAR, character VARCHAR)
SELECT MAX(division) FROM table_14723382_1
What is the largest numbered?
CREATE TABLE table_14723382_1 (division INTEGER)
SELECT arrangement FROM table_28005100_1 WHERE title = "Bets3ab 3alia Nafsy"
What is the arrangement for bets3ab 3alia nafsy?
CREATE TABLE table_28005100_1 ( arrangement VARCHAR, title VARCHAR )
SELECT title_rank FROM table_name_24 WHERE series = "1-8, 13" AND character = "arthur hastings"
What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?
CREATE TABLE table_name_24 (title_rank VARCHAR, series VARCHAR, character VARCHAR)
SELECT COUNT(position) FROM table_1473672_2 WHERE player = "Rene Villemure"
How many positions does rene villemure play?
CREATE TABLE table_1473672_2 (position VARCHAR, player VARCHAR)
SELECT hometown FROM table_name_35 WHERE college = "ohio state"
What is the hometown of the player who attended Ohio State?
CREATE TABLE table_name_35 ( hometown VARCHAR, college VARCHAR )
SELECT title_rank FROM table_name_93 WHERE actor = "pauline moran"
What is the title rank of actor pauline moran?
CREATE TABLE table_name_93 (title_rank VARCHAR, actor VARCHAR)
SELECT MIN(pick__number) FROM table_1473672_2 WHERE college_junior_club_team = "Medicine Hat Tigers (WCHL)"
What is the pick# for the medicine hat tigers (wchl)?
CREATE TABLE table_1473672_2 (pick__number INTEGER, college_junior_club_team VARCHAR)
SELECT "Winner" FROM table_78253 WHERE "Circuit" = 'phillip island grand prix circuit'
Which driver won the Phillip Island Grand Prix Circuit?
CREATE TABLE table_78253 ( "Race Title" text, "Circuit" text, "City / State" text, "Date" text, "Winner" text, "Team" text )
SELECT character FROM table_name_4 WHERE title_rank = "various"
Which character had a title rank of various?
CREATE TABLE table_name_4 (character VARCHAR, title_rank VARCHAR)
SELECT nhl_team FROM table_1473672_2 WHERE player = "Stan Weir"
What nhl team does stan weir play for?
CREATE TABLE table_1473672_2 (nhl_team VARCHAR, player VARCHAR)
SELECT "Song" FROM table_63571 WHERE "Length" = '4:08'
Which song lasts 4:08?
CREATE TABLE table_63571 ( "Song" text, "Performer" text, "Original artist" text, "Length" text, "Recorded" text )
SELECT high_rebounds FROM table_name_73 WHERE game > 65 AND date = "march 28"
Who had the highest rebounds of the game with a game number higher than 65 on March 28?
CREATE TABLE table_name_73 (high_rebounds VARCHAR, game VARCHAR, date VARCHAR)
SELECT nhl_team FROM table_1473672_2 WHERE player = "Dwight Bialowas"
What nhl team does dwight bialowas play for?
CREATE TABLE table_1473672_2 (nhl_team VARCHAR, player VARCHAR)
SELECT AVG(against) FROM table_name_68 WHERE losses < 5 AND wimmera_fl = "warrack eagles" AND draws < 0
Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0?
CREATE TABLE table_name_68 ( against INTEGER, draws VARCHAR, losses VARCHAR, wimmera_fl VARCHAR )
SELECT date FROM table_name_57 WHERE game < 58 AND team = "boston"
WHAT DATE HAD A GAME SMALLER THAN 58, AND FROM BOSTON?
CREATE TABLE table_name_57 (date VARCHAR, game VARCHAR, team VARCHAR)
SELECT MIN(pick__number) FROM table_1473672_2
Lorne Henning has the lowest pick# of?
CREATE TABLE table_1473672_2 (pick__number INTEGER)
SELECT catalog FROM table_name_8 WHERE format = "digipak album" AND date = "june 29, 1999"
What Catalog released on June 29, 1999 has a Digipak Album Format?
CREATE TABLE table_name_8 ( catalog VARCHAR, format VARCHAR, date VARCHAR )
SELECT original_airdate FROM table_name_73 WHERE nightly_rank = "#6" AND viewers__millions_ = 1.246
Original airdate for #6 with 1.246 viewers?
CREATE TABLE table_name_73 (original_airdate VARCHAR, nightly_rank VARCHAR, viewers__millions_ VARCHAR)
SELECT nhl_team FROM table_1473672_2 WHERE college_junior_club_team = "Oshawa Generals (OMJHL)"
Jack Lynch played for the oshawa generals (omjhl) before playing for what nhl team?
CREATE TABLE table_1473672_2 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT lyricist FROM table_name_14 WHERE film = "mukti"
Who wrote the lyrics for Mukti?
CREATE TABLE table_name_14 ( lyricist VARCHAR, film VARCHAR )
SELECT nightly_rank FROM table_name_21 WHERE viewers__millions_ > 1.244
Rank for viewers larger than 1.244?
CREATE TABLE table_name_21 (nightly_rank VARCHAR, viewers__millions_ INTEGER)
SELECT college_junior_club_team FROM table_1473672_3 WHERE player = "Michel Boudreau"
Which colle/junior/club team did Michel Boudreau play for?
CREATE TABLE table_1473672_3 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT "Date of death" FROM table_65805 WHERE "Date of inauguration" = 'date of inauguration'
What was the date of death entry in the row that has a date of inauguration entry of date of inauguration?
CREATE TABLE table_65805 ( "President" text, "Date of birth" text, "Date of inauguration" text, "Age at inauguration" text, "End of term" text, "Length of retirement" text, "Date of death" text, "Lifespan" text )
SELECT SUM(week) FROM table_name_24 WHERE result = "w 20–6"
How many weeks had a Result of w 20–6?
CREATE TABLE table_name_24 (week INTEGER, result VARCHAR)
SELECT player FROM table_1473672_3 WHERE position = "Right Wing"
Which players played right wing?
CREATE TABLE table_1473672_3 (player VARCHAR, position VARCHAR)
SELECT attendance FROM table_name_37 WHERE away_team = "oadby town"
What is the attendance when oadby town is away?
CREATE TABLE table_name_37 ( attendance VARCHAR, away_team VARCHAR )
SELECT opponent FROM table_name_76 WHERE attendance = "bye"
Which Opponent has an Attendance of bye?
CREATE TABLE table_name_76 (opponent VARCHAR, attendance VARCHAR)
SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"
Which nationality is the player from the Philadelphia Flyers?
CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code
How many bookings does each booking status have? List the booking status code and the number of corresponding bookings. Show a pie chart.
CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking...
SELECT MAX(flaps) FROM table_name_2 WHERE podiums = 24 AND races > 143
WHAT IS THE FLAPS WITH PODIUMS OF 24 AND RACES BIGGER THAN 143?
CREATE TABLE table_name_2 (flaps INTEGER, podiums VARCHAR, races VARCHAR)
SELECT position FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"
Which position did the player hold that played for the Philadelphia Flyers in NHL?
CREATE TABLE table_1473672_3 (position VARCHAR, nhl_team VARCHAR)
SELECT "Party" FROM table_3474 WHERE "Senator" = 'Mark Wagoner'
What is the party affiliation for senator mark Wagoner?
CREATE TABLE table_3474 ( "District" real, "Senator" text, "Party" text, "Residence" text, "First elected" text, "Term Limited" real )
SELECT SUM(races) FROM table_name_93 WHERE flaps = 0 AND podiums > 0 AND season = "2008" AND pole < 1
WHAT ARE THE RACES WHEN FLAPS ARE ZERO, PODIUMS ARE LARGER THAN 0, SEASON IS 2008, AND POLE SMALLER THAN 1?
CREATE TABLE table_name_93 (races INTEGER, pole VARCHAR, season VARCHAR, flaps VARCHAR, podiums VARCHAR)
SELECT college_junior_club_team FROM table_1473672_3 WHERE nhl_team = "Buffalo Sabres"
Which college/junior/club team did the player play on that played for the Buffalo Sabres in NHL?
CREATE TABLE table_1473672_3 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT "Loco Nos." FROM table_56087 WHERE "Class" = 'e3'
What is the Loco Nos of the e3 class?
CREATE TABLE table_56087 ( "Class" text, "Wheels" text, "Date" text, "No. built" real, "Loco Nos." text, "Comments" text )
SELECT MIN(races) FROM table_name_93 WHERE pole < 2 AND season = "2007"
WHAT ARE THE RACES WITH A POLE SMALLER THAN 2 IN 2007?
CREATE TABLE table_name_93 (races INTEGER, pole VARCHAR, season VARCHAR)
SELECT COUNT(college_junior_club_team) FROM table_1473672_4 WHERE nhl_team = "Philadelphia Flyers"
Name the number of teams for college/junior club for philadelphia flyers
CREATE TABLE table_1473672_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT DISTINCT course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (course.number = 519 OR course.number = 537) AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 INNER JOIN course AS COURSEalias1 ON ...
Between EECS 519 and EECS 537 , which is easier ?
CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE semester ( semester_id int, semester varchar, year int )...
SELECT MAX(races) FROM table_name_27 WHERE season = "2010" AND flaps > 6
WHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6?
CREATE TABLE table_name_27 (races INTEGER, season VARCHAR, flaps VARCHAR)
SELECT position FROM table_1473672_4 WHERE player = "Ron Lalonde"
Name the position for ron lalonde
CREATE TABLE table_1473672_4 (position VARCHAR, player VARCHAR)
SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17398)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit ht'...
what was the last height of patient 17398 until 16 months ago.
CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate time, enddate time, drug text, dose_val_rx text, dose_unit_rx text, route text ) ...
SELECT t20_matches FROM table_name_18 WHERE total = "23"
What T20 Match has a total of 23?
CREATE TABLE table_name_18 (t20_matches VARCHAR, total VARCHAR)
SELECT college_junior_club_team FROM table_1473672_4 WHERE pick__number = 63
Name the college/junior club team for pick number 63
CREATE TABLE table_1473672_4 (college_junior_club_team VARCHAR, pick__number VARCHAR)
SELECT "Pitcher" FROM table_54622 WHERE "Date" = 'september 6, 2006'
Tell me the pitcher on september 6, 2006
CREATE TABLE table_54622 ( "Pitcher" text, "Date" text, "Team" text, "Result" text, "Site" text )
SELECT fc_matches FROM table_name_52 WHERE location = "darlington"
What FC Match was played in Darlington?
CREATE TABLE table_name_52 (fc_matches VARCHAR, location VARCHAR)
SELECT COUNT(position) FROM table_1473672_10 WHERE player = "Rene Lambert"
How many positions did 1972 NHL Draft pick Rene Lambert play?
CREATE TABLE table_1473672_10 (position VARCHAR, player VARCHAR)
SELECT SUM(pos) FROM table_name_67 WHERE matches > 5
Matches larger than 5 is the sum of what position?
CREATE TABLE table_name_67 ( pos INTEGER, matches INTEGER )
SELECT t20_matches FROM table_name_33 WHERE year = "1979"
What T20 match was played in 1979?
CREATE TABLE table_name_33 (t20_matches VARCHAR, year VARCHAR)
SELECT college_junior_club_team FROM table_1473672_9 WHERE nhl_team = "California Golden Seals"
what's the college/junior/club team with nhl team being california golden seals
CREATE TABLE table_1473672_9 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
SELECT All_Road, School_ID FROM basketball_match
Return a bar chart about the distribution of All_Road and School_ID .
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT fc_matches FROM table_name_18 WHERE total = "24"
Which FC match has a total of 24?
CREATE TABLE table_name_18 (fc_matches VARCHAR, total VARCHAR)
SELECT nhl_team FROM table_1473672_9 WHERE college_junior_club_team = "Brandon Wheat Kings (WCHL)"
what's the nhl team with college/junior/club team being brandon wheat kings (wchl)
CREATE TABLE table_1473672_9 (nhl_team VARCHAR, college_junior_club_team VARCHAR)
SELECT AVG(erp_w) FROM table_name_50 WHERE frequency_mhz = 88.7
Frequency MHz of 88.7 had what average erp w?
CREATE TABLE table_name_50 ( erp_w INTEGER, frequency_mhz VARCHAR )
SELECT location FROM table_name_45 WHERE fc_matches = "12"
Where was the FC match with a score of 12 played?
CREATE TABLE table_name_45 (location VARCHAR, fc_matches VARCHAR)
SELECT player FROM table_1473672_9 WHERE pick__number = 132
who is the the player with pick # being 132
CREATE TABLE table_1473672_9 (player VARCHAR, pick__number VARCHAR)
SELECT "Years" FROM table_51259 WHERE "Name" = 'mount roskill grammar school'
What year was the name mount roskill grammar school?
CREATE TABLE table_51259 ( "Name" text, "Years" text, "Gender" text, "Local board" text, "Suburb" text, "Authority" text, "Decile" text, "Roll" real )
SELECT COUNT(oricon) FROM table_name_13 WHERE romaji_title = "rakuen -memorial tracks- (maxi-single)"
How many oricon's have a romaji title of rakuen -memorial tracks- (maxi-single)?
CREATE TABLE table_name_13 (oricon VARCHAR, romaji_title VARCHAR)
SELECT COUNT(player) FROM table_1473672_9 WHERE nhl_team = "Vancouver Canucks"
how many player with nhl team being vancouver canucks
CREATE TABLE table_1473672_9 (player VARCHAR, nhl_team VARCHAR)
SELECT district FROM table_1341453_45 WHERE incumbent = "Nick Lampson"
What district is nick lampson from?
CREATE TABLE table_1341453_45 ( district VARCHAR, incumbent VARCHAR )
SELECT reference FROM table_name_39 WHERE japanese_title = "アイシテル"
What reference is used with the title アイシテル?
CREATE TABLE table_name_39 (reference VARCHAR, japanese_title VARCHAR)
SELECT position FROM table_1473672_9 WHERE player = "Ray Boutin"
what's the position with player being ray boutin
CREATE TABLE table_1473672_9 (position VARCHAR, player VARCHAR)
SELECT "Opinion Research Centre (OPC)" FROM table_20444 WHERE "National Opinion Polls (NOP)" = '1.3%'
On all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage?
CREATE TABLE table_20444 ( "Party" text, "Marplan" text, "Gallup" text, "National Opinion Polls (NOP)" text, "Opinion Research Centre (OPC)" text, "Harris" text )
SELECT reference FROM table_name_4 WHERE romaji_title = "da.i.su.ki"
What is the reference for the romani title da.i.su.ki?
CREATE TABLE table_name_4 (reference VARCHAR, romaji_title VARCHAR)
SELECT borough FROM table_14748457_1 WHERE station_users_2008_9 = "28702"
what is the name of the borough where station uses is 28702?
CREATE TABLE table_14748457_1 (borough VARCHAR, station_users_2008_9 VARCHAR)
SELECT MIN("Pos.") FROM table_35211 WHERE "Driver" = 'kyle busch'
What is the lowest position for driver Kyle Busch?
CREATE TABLE table_35211 ( "Pos." real, "Car #" real, "Driver" text, "Make" text, "Team" text )
SELECT japanese_title FROM table_name_88 WHERE romaji_title = "ashita wa ashita no kaze ga fuku"
What title to the japanese give the romani title ashita wa ashita no kaze ga fuku?
CREATE TABLE table_name_88 (japanese_title VARCHAR, romaji_title VARCHAR)
SELECT lines_served FROM table_14748457_1 WHERE station_users_2008_9 = "210076"
what are the lines served where station users is 210076?
CREATE TABLE table_14748457_1 (lines_served VARCHAR, station_users_2008_9 VARCHAR)
SELECT AVG(room_count) FROM apartments WHERE apt_type_code = "Studio"
Find the average room count of the apartments that have the 'Studio' type code.
CREATE TABLE apartment_facilities ( apt_id number, facility_code text ) CREATE TABLE apartment_bookings ( apt_booking_id number, apt_id number, guest_id number, booking_status_code text, booking_start_date time, booking_end_date time ) CREATE TABLE guests ( guest_id number, gen...
SELECT club FROM table_name_49 WHERE founded > 1998
Which club was founded after 1998?
CREATE TABLE table_name_49 (club VARCHAR, founded INTEGER)
SELECT station__and_code_ FROM table_14748457_1 WHERE station_users_2008_9 = "130368"
whatis hte station code where users are 130368?
CREATE TABLE table_14748457_1 (station__and_code_ VARCHAR, station_users_2008_9 VARCHAR)
SELECT "Result" FROM table_54859 WHERE "Attendance" = '68,436'
What is the result of the game with 68,436 attending?
CREATE TABLE table_54859 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Kickoff Time" text, "Attendance" text )
SELECT MIN(tries) FROM table_name_5 WHERE goals < 0
Which Tries has a Goal smaller than 0?
CREATE TABLE table_name_5 (tries INTEGER, goals INTEGER)
SELECT class_a FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND class_aAAA = Brownwood
Which is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA
CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR)
SELECT place FROM table_name_17 WHERE country = "united states" AND score = 67 - 71 = 138
Name the Place which has a Score of 67-71=138, united states?
CREATE TABLE table_name_17 ( place VARCHAR, country VARCHAR, score VARCHAR )
SELECT issue_price FROM table_name_44 WHERE theme = "trumpeter swan"
What was the issue price for the Trumpeter Swan set?
CREATE TABLE table_name_44 (issue_price VARCHAR, theme VARCHAR)
SELECT class_a FROM table_14747043_1 WHERE class_aA = Marion
Which is the class A when Marion was the class AA
CREATE TABLE table_14747043_1 (class_a VARCHAR, class_aA VARCHAR, Marion VARCHAR)
SELECT COUNT(*) 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 = 31854)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'br milk fs p...
how many times did patient 31854 in 12/2105 receive br milk fs po?
CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE prescriptions ( row_id number, subject_id number, hadm_id number, startdate...
SELECT artist FROM table_name_87 WHERE mintage = "40,000" AND issue_price = "45.95"
Who was the artist with a mintage of 40,000 and an issue price of $45.95?
CREATE TABLE table_name_87 (artist VARCHAR, mintage VARCHAR, issue_price VARCHAR)
SELECT class_aA FROM table_14747043_1 WHERE class_a = "Graford"
Which is the class AA when graford was the class A
CREATE TABLE table_14747043_1 (class_aA VARCHAR, class_a VARCHAR)