answer
stringlengths
6
3.91k
question
stringlengths
7
766
context
stringlengths
27
7.14k
SELECT name FROM table_name_49 WHERE goals = 6
Which name had 6 goals?
CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR)
SELECT MIN(episode) FROM table_15187735_18 WHERE segment_d = "Fibre Cement Siding"
Name the least episode for fibre cement siding
CREATE TABLE table_15187735_18 (episode INTEGER, segment_d VARCHAR)
SELECT COUNT(DISTINCT artist_id) FROM volume
How many distinct artists do the volumes associate to?
CREATE TABLE music_festival ( id number, music_festival text, date_of_ceremony text, category text, volume number, result text ) CREATE TABLE artist ( artist_id number, artist text, age number, famous_title text, famous_release_date text ) CREATE TABLE volume ( volume_i...
SELECT MAX(goals) FROM table_name_50 WHERE transfer_fee = "£0.8m"
What is the largest goal number when the transfer fee was £0.8m?
CREATE TABLE table_name_50 (goals INTEGER, transfer_fee VARCHAR)
SELECT segment_b FROM table_15187735_18 WHERE episode = 226
Name the segment b for 226 episode
CREATE TABLE table_15187735_18 (segment_b VARCHAR, episode VARCHAR)
SELECT "place" FROM table_203_554 WHERE id = 1
what is the first place listed in this chart ?
CREATE TABLE table_203_554 ( id number, "year" number, "place" text, "gold" text, "silver" text, "bronze" text )
SELECT location FROM table_name_61 WHERE leagues = "a1 women's - handball"
What is the location of a1 women's - handball?
CREATE TABLE table_name_61 (location VARCHAR, leagues VARCHAR)
SELECT COUNT(segment_d) FROM table_15187735_18 WHERE segment_b = "Solar Water Heaters"
Name the number of sement d for solar water heaters
CREATE TABLE table_15187735_18 (segment_d VARCHAR, segment_b VARCHAR)
SELECT loss FROM table_name_10 WHERE date = "august 21"
who lost on august 21?
CREATE TABLE table_name_10 ( loss VARCHAR, date VARCHAR )
SELECT COUNT(capacity) FROM table_name_8 WHERE venue = "nop aquatic centre" AND established > 1929
What is the capacity at the nop aquatic centre, established after 1929?
CREATE TABLE table_name_8 (capacity VARCHAR, venue VARCHAR, established VARCHAR)
SELECT segment_d FROM table_15187735_18 WHERE segment_a = "s Cufflink"
Name the segment d for s cufflink
CREATE TABLE table_15187735_18 (segment_d VARCHAR, segment_a VARCHAR)
SELECT "Date" FROM table_72868 WHERE "Team" = 'Memphis'
On what date did the Rockets play Memphis?
CREATE TABLE table_72868 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT COUNT(capacity) FROM table_name_93 WHERE leagues = "b national - basketball"
What is the capacity for b national - basketball?
CREATE TABLE table_name_93 (capacity VARCHAR, leagues VARCHAR)
SELECT segment_b FROM table_15187735_19 WHERE episode = 242
What is the segment B of episode 242?
CREATE TABLE table_15187735_19 (segment_b VARCHAR, episode 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 = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SEATTL...
flights from ATLANTA to SEATTLE
CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE dual_carrier ( main_airline varchar, low_flight_number int, high_flight_number int, dual_airline varchar, service_name text ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_lo...
SELECT week FROM table_name_47 WHERE opponent = "minnesota vikings"
What game week did the Buccaneers play against the Minnesota Vikings?
CREATE TABLE table_name_47 (week VARCHAR, opponent VARCHAR)
SELECT segment_c FROM table_15187735_19 WHERE segment_b = "Film Digitization"
What is the segment C of the episode where segment B is Film Digitization?
CREATE TABLE table_15187735_19 (segment_c VARCHAR, segment_b VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2172" AND diagnoses.long_title = "Other persistent mental disorders due to conditions classified elsewhere"
what is the number of patients whose admission year is less than 2172 and diagnoses long title is other persistent mental disorders due to conditions classified elsewhere?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT week FROM table_name_67 WHERE record = "0-5"
What game week did the buccaneers have a record of 0-5?
CREATE TABLE table_name_67 (week VARCHAR, record VARCHAR)
SELECT segment_a FROM table_15187735_19 WHERE episode = 237
What is the segment A on episode 237?
CREATE TABLE table_15187735_19 (segment_a VARCHAR, episode VARCHAR)
SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE STRFTIME('%y', diagnosis.diagnosistime) <= '2104' GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 4
what was the top four most common diagnoses until 2104.
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, ...
SELECT record FROM table_name_9 WHERE date = "december 4, 1983"
What is the record of the buccaneers on December 4, 1983?
CREATE TABLE table_name_9 (record VARCHAR, date VARCHAR)
SELECT MAX(episode) FROM table_15187735_4 WHERE segment_d = "Blown Glass"
What is the last episode which has segment d as blown glass?
CREATE TABLE table_15187735_4 (episode INTEGER, segment_d VARCHAR)
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'inject ca c...
how many patients have undergone oth cardiac mon output this year after inject ca chemother nec procedure within 2 months?
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 ) CREATE TABLE icustays ( row_id number, subject_id number, hadm_id number, icustay_id number, ...
SELECT AVG(attendance) FROM table_name_5 WHERE visitor = "ottawa"
What was the attendance at the game against Ottawa?
CREATE TABLE table_name_5 (attendance INTEGER, visitor VARCHAR)
SELECT MIN(episode) FROM table_15187735_4 WHERE netflix = "S02E20"
What is the first episode with a netflix episode code of s02e20?
CREATE TABLE table_15187735_4 (episode INTEGER, netflix VARCHAR)
SELECT "Mid-2010 to mid-2011 change (%)" FROM table_59596 WHERE "July 1, 2011 density (/mi\u00b2)" = '508'
What is the mid-2010 to mid-2011 change where the July 1, 2011 density is 508?
CREATE TABLE table_59596 ( "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 MAX(attendance) FROM table_name_83 WHERE home = "detroit"
What was the highest attendance at a Detroit home game?
CREATE TABLE table_name_83 (attendance INTEGER, home VARCHAR)
SELECT netflix FROM table_15187735_4 WHERE episode = 46
What is the netflix code for episode 46?
CREATE TABLE table_15187735_4 (netflix VARCHAR, episode VARCHAR)
SELECT "Artist" FROM table_64789 WHERE "Points" = '13'
Which artist has 13 points?
CREATE TABLE table_64789 ( "Draw" real, "Song" text, "Artist" text, "Points" real, "Place" text )
SELECT AVG(attendance) FROM table_name_46 WHERE home = "florida" AND visitor = "montreal"
What was the attendance of the Florida vs. Montreal game?
CREATE TABLE table_name_46 (attendance INTEGER, home VARCHAR, visitor VARCHAR)
SELECT netflix FROM table_15187735_4 WHERE series_ep = "4-11"
What is the netflix code where the series and episode are 4-11?
CREATE TABLE table_15187735_4 (netflix VARCHAR, series_ep VARCHAR)
SELECT group FROM table_2581397_2 WHERE venue = "Moonee Valley"
What group was sunline in when he was at moonee valley?
CREATE TABLE table_2581397_2 ( group VARCHAR, venue VARCHAR )
SELECT condition FROM table_name_75 WHERE prothrombin_time = "unaffected" AND bleeding_time = "prolonged" AND partial_thromboplastin_time = "unaffected" AND platelet_count = "decreased or unaffected"
I want to know the condition with Prothrombin time of unaffected and bleeding time of prolonged with partial thromboplastin time of unaffected with platelet count of decreased or unaffected
CREATE TABLE table_name_75 (condition VARCHAR, platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)
SELECT segment_b FROM table_15187735_21 WHERE segment_c = "Artificial Flowers"
What is listed in segment b when segment c is artificial flowers?
CREATE TABLE table_15187735_21 (segment_b VARCHAR, segment_c VARCHAR)
SELECT "Unit" FROM table_70002 WHERE "Construction started" = '01.07.1967'
Which Unit's Construction started on 01.07.1967?
CREATE TABLE table_70002 ( "Unit" text, "Reactortype" text, "Net capacity" text, "Gross capacity" text, "Construction started" text, "Electricity Grid" text, "Commercial Operation" text, "Shutdown" text )
SELECT condition FROM table_name_41 WHERE bleeding_time = "prolonged" AND platelet_count = "decreased or unaffected"
I want the condition that has a prolonged bleeding time and a platelet count of decreased or unaffected
CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR)
SELECT segment_c FROM table_15187735_21 WHERE segment_d = "Motorcycle Brake Locks"
What are the titles of segment c when segment d is motorcycle brake locks?
CREATE TABLE table_15187735_21 (segment_c VARCHAR, segment_d 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 prothrombin_time FROM table_name_49 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected" AND condition = "factor xii deficiency"
I want the prothrombin time with a partial thromboplastin time of prolonged and unaffected bleeding time and factor xii deficiency for condition of factor
CREATE TABLE table_name_49 (prothrombin_time VARCHAR, condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)
SELECT segment_c FROM table_15187735_21 WHERE series_ep = "21-08"
What are the titles of segment c for series episode is 21-08?
CREATE TABLE table_15187735_21 (segment_c VARCHAR, series_ep VARCHAR)
SELECT record FROM table_27537518_9 WHERE opponent = "Carolina Hurricanes"
What was the record for the game where the opponent was the Carolina Hurricanes?
CREATE TABLE table_27537518_9 ( record VARCHAR, opponent VARCHAR )
SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND bleeding_time = "unaffected"
I want the condition that has a partial thromboplastin time of prolonged and unaffected bleeding time
CREATE TABLE table_name_41 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)
SELECT segment_b FROM table_15187735_21 WHERE segment_c = "Standby Generators (Part 1)"
What are the titles of segment b when segment c is standby generators (part 1)?
CREATE TABLE table_15187735_21 (segment_b VARCHAR, segment_c VARCHAR)
SELECT city FROM table_name_27 WHERE average = 6.85
Which City has an Average of 6.85?
CREATE TABLE table_name_27 ( city VARCHAR, average VARCHAR )
SELECT icao FROM table_name_86 WHERE airport = "antalya airport"
What is the ICAO for Antalya Airport?
CREATE TABLE table_name_86 (icao VARCHAR, airport VARCHAR)
SELECT segment_a FROM table_15187735_21 WHERE series_ep = "21-12"
What are the titles of segment a for series episode 21-12?
CREATE TABLE table_15187735_21 (segment_a VARCHAR, series_ep VARCHAR)
SELECT year FROM table_name_3 WHERE attempts = "282"
When has Attempts of 282 ?
CREATE TABLE table_name_3 ( year VARCHAR, attempts VARCHAR )
SELECT iata FROM table_name_39 WHERE airport = "leonardo da vinci-fiumicino airport"
What is the IATA of Leonardo da Vinci-Fiumicino Airport?
CREATE TABLE table_name_39 (iata VARCHAR, airport VARCHAR)
SELECT COUNT(episode) FROM table_15187735_3 WHERE segment_c = "Phyllo Dough"
Name the number of episode for phyllo dough
CREATE TABLE table_15187735_3 (episode VARCHAR, segment_c VARCHAR)
SELECT call_sign FROM table_name_20 WHERE erp_w = 4
Name the call sign for ERP W of 4
CREATE TABLE table_name_20 ( call_sign VARCHAR, erp_w VARCHAR )
SELECT country FROM table_name_68 WHERE iata = "blq"
What country is the IATA BLQ located in?
CREATE TABLE table_name_68 (country VARCHAR, iata VARCHAR)
SELECT segment_d FROM table_15187735_3 WHERE segment_a = "Combination Locks"
Name the segment d for combination locks
CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_a VARCHAR)
SELECT kickoff_ AS "a_" FROM table_name_12 WHERE game_site = "hubert h. humphrey metrodome"
What is the kickoff time for the Hubert H. Humphrey Metrodome?
CREATE TABLE table_name_12 ( kickoff_ VARCHAR, a_ VARCHAR, game_site VARCHAR )
SELECT iata FROM table_name_8 WHERE airport = "madrid-barajas airport"
What is the IATA of Madrid-Barajas Airport?
CREATE TABLE table_name_8 (iata VARCHAR, airport VARCHAR)
SELECT series_ep FROM table_15187735_3 WHERE netflix = "S02E08"
Name the series ep for s02e08
CREATE TABLE table_15187735_3 (series_ep VARCHAR, netflix VARCHAR)
SELECT DISTINCT writes.paperid FROM author, paper, writes WHERE author.authorname = 'Bill Howe' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid ORDER BY paper.year DESC
What are the latest papers by Bill Howe ?
CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE journal ( jou...
SELECT city FROM table_name_84 WHERE icao = "lirf"
Which city has the ICAO of LIRF?
CREATE TABLE table_name_84 (city VARCHAR, icao VARCHAR)
SELECT segment_c FROM table_15187735_3 WHERE segment_b = "Couscous"
Name the segment c for couscous
CREATE TABLE table_15187735_3 (segment_c VARCHAR, segment_b VARCHAR)
SELECT MIN(area__km_2__) FROM table_17416221_1 WHERE largest_city = "Bloemfontein"
what is minimum area where the largest city is bloemfontein?
CREATE TABLE table_17416221_1 ( area__km_2__ INTEGER, largest_city VARCHAR )
SELECT city FROM table_name_27 WHERE airport = "naples airport"
Which city is Naples Airport located in?
CREATE TABLE table_name_27 (city VARCHAR, airport VARCHAR)
SELECT segment_c FROM table_15187735_3 WHERE segment_b = "Pottery"
Name the segment c for pottery
CREATE TABLE table_15187735_3 (segment_c VARCHAR, segment_b VARCHAR)
SELECT "Real-Life Years of Operation" FROM table_26781 WHERE "Currently\u00b9 Part Of..." = 'Amtrak'
Name the real life years of operation for amtrak
CREATE TABLE table_26781 ( "Railroad" text, "Game Cost" text, "Real-Life Years of Operation" text, "Real-Life Eventual Outcome" text, "Currently\u00b9 Part Of..." text )
SELECT ryuji_hijikata FROM table_name_39 WHERE taka_michinoku = "hayashi (28:05)"
Tell me the Ryuji Hijikata for TAKA Michinoku of Hayashi (28:05)
CREATE TABLE table_name_39 (ryuji_hijikata VARCHAR, taka_michinoku VARCHAR)
SELECT segment_d FROM table_15187735_3 WHERE segment_c = "Chicken"
Name the segment d for chicken
CREATE TABLE table_15187735_3 (segment_d VARCHAR, segment_c VARCHAR)
SELECT MAX(player) FROM table_name_63 WHERE year = "1r" AND sets = "clay" AND NOT aces > 4
What is the highest number of players during 1r year with a clay set and more than 4 aces?
CREATE TABLE table_name_63 ( player INTEGER, year VARCHAR, sets VARCHAR, aces VARCHAR )
SELECT ryuji_hijikata FROM table_name_72 WHERE block_a = "ryuji hijikata"
Tell me the Ryuji Hijikata for Block A of Ryuji Hijikata
CREATE TABLE table_name_72 (ryuji_hijikata VARCHAR, block_a VARCHAR)
SELECT segment_a FROM table_15187735_6 WHERE segment_c = "s Sailboard"
What is the Segment A for when Segment C is s Sailboard?
CREATE TABLE table_15187735_6 (segment_a VARCHAR, segment_c VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2110" AND lab.label = "Asparate Aminotransferase (AST)"
what is the number of patients whose year of birth is less than 2110 and lab test name is asparate aminotransferase (ast)?
CREATE TABLE procedures ( 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 ) ...
SELECT away_team AS score FROM table_name_49 WHERE away_team = "south melbourne"
When South Melbourne was the Away Team, what was their score?
CREATE TABLE table_name_49 (away_team VARCHAR)
SELECT segment_b FROM table_15187735_6 WHERE segment_d = "s Hammock"
What is the Segment B when the Segment D is s Hammock?
CREATE TABLE table_15187735_6 (segment_b VARCHAR, segment_d VARCHAR)
WITH Raw AS (SELECT YEAR(Votes.CreationDate) AS Year, Posts.OwnerUserId AS UserId, COUNT(*) AS Count FROM Posts, Votes WHERE Votes.VoteTypeId = 2 AND Votes.PostId = Posts.Id GROUP BY YEAR(Votes.CreationDate), Posts.OwnerUserId), Raw2 AS (SELECT Year, UserId, Count, DENSE_RANK() OVER (PARTITION BY Year ORDER BY Count DE...
Top upvote generators history, as stacked bar.
CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE PendingFlags ( Id number, FlagTypeId number, PostId number, ...
SELECT away_team AS score FROM table_name_23 WHERE away_team = "south melbourne"
Tell me the away team score for away team of south melbourne
CREATE TABLE table_name_23 (away_team VARCHAR)
SELECT netflix FROM table_15187735_6 WHERE segment_b = "s Highlighter"
What is the Netflix Episode when the Segment B is s Highlighter?
CREATE TABLE table_15187735_6 (netflix VARCHAR, segment_b VARCHAR)
SELECT name, city, country FROM airports ORDER BY elevation DESC LIMIT 1
Find the name, city, and country of the airport that has the highest latitude.
CREATE TABLE airlines ( alid number, name text, iata text, icao text, callsign text, country text, active text ) CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare text ) CREATE ...
SELECT away_team AS score FROM table_name_82 WHERE venue = "vfl park"
I want to know the away team score for vfl park venue
CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)
SELECT location FROM table_15190346_2 WHERE _number = 1
What is the location of #1?
CREATE TABLE table_15190346_2 (location VARCHAR, _number 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS'...
what flights go from BOSTON to DALLAS
CREATE TABLE flight_fare ( flight_id int, fare_id int ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE flight ( aircraft_code_sequence text, airline_code varchar, airline_flight te...
SELECT COUNT(track) FROM table_name_21 WHERE translation = "the fallen angel"
Name the total number of tracks for of the fallen angel
CREATE TABLE table_name_21 (track VARCHAR, translation VARCHAR)
SELECT stadium FROM table_15190346_2 WHERE bowl_game = "1994 Gator Bowl"
What stadium was the 1994 Gator Bowl in?
CREATE TABLE table_15190346_2 (stadium VARCHAR, bowl_game VARCHAR)
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "67" AND diagnoses.long_title = "Schizoaffective disorder, unspecified"
provide the number of patients whose age is less than 67 and diagnoses long title is schizoaffective disorder, unspecified?
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, ...
SELECT driver FROM table_name_55 WHERE chassis = "193" AND rounds = "14"
What driver went 14 rounds with a 193 Chassis?
CREATE TABLE table_name_55 (driver VARCHAR, chassis VARCHAR, rounds VARCHAR)
SELECT stadium FROM table_15190346_2 WHERE attendance = "75,406"
What is the stadium where the attendance was 75,406?
CREATE TABLE table_15190346_2 (stadium VARCHAR, attendance VARCHAR)
SELECT constructor FROM table_name_4 WHERE time_retired = "+1 lap" AND driver = "olivier panis"
Who constructed olivier panis' car that retired after +1 lap?
CREATE TABLE table_name_4 ( constructor VARCHAR, time_retired VARCHAR, driver VARCHAR )
SELECT engine FROM table_name_31 WHERE chassis = "fa13b fa14" AND driver = "aguri suzuki"
What engine was used when Aguri Suzuki drove the FA13B FA14 Chassis?
CREATE TABLE table_name_31 (engine VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT MAX(_number) FROM table_15190346_2 WHERE attendance = "79,280"
What is the number of the bowl game when attendance was 79,280?
CREATE TABLE table_15190346_2 (_number INTEGER, attendance VARCHAR)
SELECT height_in_ft FROM table_name_35 WHERE position = "guard" AND school_club_team_country = "north carolina-charlotte"
Name the height in feet for the guard from north carolina-charlotte
CREATE TABLE table_name_35 ( height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR )
SELECT entrant FROM table_name_46 WHERE rounds = "all" AND driver = "jean alesi"
Who was the entrant for all the round with Jean Alesi?
CREATE TABLE table_name_46 (entrant VARCHAR, rounds VARCHAR, driver VARCHAR)
SELECT attendance FROM table_15190346_2 WHERE location = "Gainesville, FL"
What was the attendance of the bowl game in Gainesville, Fl?
CREATE TABLE table_15190346_2 (attendance VARCHAR, location VARCHAR)
SELECT chassis FROM table_name_58 WHERE points = 0
Which Chassis has 0 points?
CREATE TABLE table_name_58 ( chassis VARCHAR, points VARCHAR )
SELECT engine FROM table_name_12 WHERE driver = "riccardo patrese"
What engine did Riccardo Patrese use?
CREATE TABLE table_name_12 (engine VARCHAR, driver VARCHAR)
SELECT COUNT(median_monthly_per_capita___labour_force_income__hkd_) FROM table_151994_1 WHERE population__2006_est_ = 365540
Name the total number of median income for population 2006 for 365540
CREATE TABLE table_151994_1 (median_monthly_per_capita___labour_force_income__hkd_ VARCHAR, population__2006_est_ VARCHAR)
SELECT rnd FROM table_13657749_2 WHERE gto_winning_team = "Mike Keyser"
What is GTO Winning Team Mike Keyser's RND number?
CREATE TABLE table_13657749_2 ( rnd VARCHAR, gto_winning_team VARCHAR )
SELECT venue FROM table_name_53 WHERE home_team = "footscray"
If the home team was footscray which venue did they play it?
CREATE TABLE table_name_53 (venue VARCHAR, home_team VARCHAR)
SELECT MIN(derby_county) AS Goals FROM table_15201666_3
Name the minimum derby county goals
CREATE TABLE table_15201666_3 (derby_county INTEGER)
SELECT "Date" FROM table_33592 WHERE "Home team score" = '9.18 (72)'
What date did the home team have a score of 9.18 (72)?
CREATE TABLE table_33592 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT home_team AS score FROM table_name_27 WHERE home_team = "footscray"
When the home team was footscray what did they score?
CREATE TABLE table_name_27 (home_team VARCHAR)
SELECT MAX(derby_county) FROM table_15201666_3
Name the most derby county
CREATE TABLE table_15201666_3 (derby_county INTEGER)
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%kolhapur%' OR UPPER(Location) LIKE '%KOLHAPUR' ORDER BY Reputation DESC LIMIT 10
Top 10 users in Kolhapur.
CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE Tags ( Id number, TagName text, Cou...
SELECT home_team AS score FROM table_name_78 WHERE home_team = "north melbourne"
When the home team north melbourne was playing what did they score?
CREATE TABLE table_name_78 (home_team VARCHAR)