answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT segment_b FROM table_15187735_9 WHERE segment_c = "British Police Helmets" | In episode 115 what is seen being made before British police helmets? | CREATE TABLE table_15187735_9 (segment_b VARCHAR, segment_c VARCHAR) |
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE LOWER('%croatia%') ORDER BY Reputation DESC | SELECT ROW_NUMBER() OVER(ORDER BY Reputation DESC) AS [#], Id AS [User Link], Reputati. | CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
... |
SELECT score FROM table_name_2 WHERE opponents = "fc bayern munich" AND date = "september 20, 2005" | What is the score of the September 20, 2005 match when the Opponents are FC Bayern Munich? | CREATE TABLE table_name_2 (score VARCHAR, opponents VARCHAR, date VARCHAR) |
SELECT COUNT(segment_c) FROM table_15187735_9 WHERE segment_d = "Pedal Steel Guitars" | How many times was leather introduced before pedal steel guitars in episode 111? | CREATE TABLE table_15187735_9 (segment_c VARCHAR, segment_d VARCHAR) |
SELECT rate.TagName AS Tag, rate.Month AS Month, rate.Year AS Year, rate.Rate AS NumQuestions FROM (SELECT COUNT(PostId) AS Rate, TagName, YEAR(Posts.CreationDate) AS Year, MONTH(Posts.CreationDate) AS Month FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AND Posts.CreationDate > DATEADD... | Angular vs Ember vs React in Last Month. | CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
Parent... |
SELECT match_report FROM table_name_91 WHERE date = "july 10, 2005" | What is the match report for July 10, 2005? | CREATE TABLE table_name_91 (match_report VARCHAR, date VARCHAR) |
SELECT uk_broadcast_date FROM table_15211468_1 WHERE countries_visited = "USA" | What was the UK broadcast date for the episode which visited USA? | CREATE TABLE table_15211468_1 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) |
SELECT COUNT("Singles W\u2013L") FROM table_31 WHERE "Doubles W\u2013L" = '11–14' | what is the total number of singles w l where doubles w l is 11 14 | CREATE TABLE table_31 (
"Player" text,
"Total W\u2013L" text,
"Singles W\u2013L" text,
"Doubles W\u2013L" text,
"Ties played" real,
"Debut" real,
"Years played" real
) |
SELECT date FROM table_name_59 WHERE opponents = "1. fc nuremberg" AND competition = "gc" | What is the date of the GC competition when the opponents are 1. FC Nuremberg? | CREATE TABLE table_name_59 (date VARCHAR, opponents VARCHAR, competition VARCHAR) |
SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson" | What countries are visited in the episode presented by Brian B. Thompson? | CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "CSA50I" AND lab.fluid = "Ascites" | give the number of patients whose drug code is csa50i and lab test fluid is ascites. | 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 demographic (
subject_id text,
hadm_id t... |
SELECT competition FROM table_name_58 WHERE date = "september 10, 2005" | Which competition was held on September 10, 2005? | CREATE TABLE table_name_58 (competition VARCHAR, date VARCHAR) |
SELECT episode_title FROM table_15211468_1 WHERE episode_no = "#1.4" | What is the episode title for the episode numbered #1.4? | CREATE TABLE table_15211468_1 (episode_title VARCHAR, episode_no VARCHAR) |
SELECT res FROM table_name_49 WHERE record = "47–5 (1)" | Record of 47 5 (1) involved what res? | CREATE TABLE table_name_49 (
res VARCHAR,
record VARCHAR
) |
SELECT competition FROM table_name_79 WHERE score = "3-0" | In which competition was the score 3-0? | CREATE TABLE table_name_79 (competition VARCHAR, score VARCHAR) |
SELECT social_democratic_party FROM table_152358_3 WHERE control = "labour" | Name the social democratic party for labour | CREATE TABLE table_152358_3 (social_democratic_party VARCHAR, control VARCHAR) |
SELECT "Venue" FROM table_10570 WHERE "Away team" = 'carlton' | Where did carlton play while away? | CREATE TABLE table_10570 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT visitor FROM table_name_39 WHERE home = "lakers" AND score = "85–106" | Who was the visitor when the lakers were at home with a Score of 85–106? | CREATE TABLE table_name_39 (visitor VARCHAR, home VARCHAR, score VARCHAR) |
SELECT written_by FROM table_15284274_1 WHERE directed_by = "Will Waring" AND no_in_season = 11 | Who wrote episode 11, of which was directed by Will Waring? | CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) |
SELECT "Location Attendance" FROM table_7935 WHERE "Date" = 'april 15' | Which Location Attendance has a Date of april 15? | CREATE TABLE table_7935 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) |
SELECT date_of_birth FROM table_name_66 WHERE goals < 4 AND games > 1 AND years_at_club = "1945" AND player = "jim young" | what is the date of birth for the player with goals less than 4, games more than 1, years at club, 1945 and named jim young? | CREATE TABLE table_name_66 (date_of_birth VARCHAR, player VARCHAR, years_at_club VARCHAR, goals VARCHAR, games VARCHAR) |
SELECT written_by FROM table_15284274_1 WHERE directed_by = "Peter Woeste" | Who wrote the episode directed by Peter Woeste? | CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR) |
SELECT product_type_code, MAX(product_price) FROM Products GROUP BY product_type_code ORDER BY MAX(product_price) | Give the maximum product price for each product type in a bar chart, I want to sort in asc by the total number. | CREATE TABLE Customer_Orders (
order_id INTEGER,
customer_id INTEGER,
order_status_code VARCHAR(10),
order_date DATETIME
)
CREATE TABLE Department_Stores (
dept_store_id INTEGER,
dept_store_chain_id INTEGER,
store_name VARCHAR(80),
store_address VARCHAR(255),
store_phone VARCHAR(80)... |
SELECT AVG(debut_year) FROM table_name_83 WHERE player = "terry fulton" AND games < 51 | what is the debut year for player terry fulton with games less than 51? | CREATE TABLE table_name_83 (debut_year INTEGER, player VARCHAR, games VARCHAR) |
SELECT director FROM table_15277629_1 WHERE original_title = "Pecado Mortal" | Who was the director of Pecado Mortal | CREATE TABLE table_15277629_1 (director VARCHAR, original_title VARCHAR) |
SELECT loss FROM table_name_63 WHERE record = "54–42" | What was the loss of the game with a record of 54 42? | CREATE TABLE table_name_63 (
loss VARCHAR,
record VARCHAR
) |
SELECT AVG(crowd) FROM table_name_60 WHERE venue = "victoria park" | How people attended Victoria Park? | CREATE TABLE table_name_60 (crowd INTEGER, venue VARCHAR) |
SELECT original_title FROM table_15277629_1 WHERE director = "Bruno Barreto" AND year__ceremony_ = 1989 | What was the original title of the Bruno Barreto film in 1989 | CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR, year__ceremony_ VARCHAR) |
SELECT COUNT(date) FROM table_24126518_2 WHERE opponent = "Alouettes" | Name the number of dates for alouettes | CREATE TABLE table_24126518_2 (
date VARCHAR,
opponent VARCHAR
) |
SELECT away_team AS score FROM table_name_97 WHERE away_team = "south melbourne" | What is the away team score for South Melbourne? | CREATE TABLE table_name_97 (away_team VARCHAR) |
SELECT result FROM table_15277629_1 WHERE director = "Fernando Meirelles" | What was the result for director Fernando Meirelles | CREATE TABLE table_15277629_1 (result VARCHAR, director VARCHAR) |
SELECT * FROM table_train_247 WHERE age >= 30 AND age <= 80 | age: 30 to 80 years old | CREATE TABLE table_train_247 (
"id" int,
"mini_mental_state_examination_mmse" int,
"creatinine_consistently" float,
"creatinine_clearance_cl" float,
"seizure_disorder" bool,
"age" float,
"NOUSE" float
) |
SELECT home_team FROM table_name_38 WHERE away_team = "melbourne" | Who played Melbourne as the home team? | CREATE TABLE table_name_38 (home_team VARCHAR, away_team VARCHAR) |
SELECT original_title FROM table_15277629_1 WHERE director = "Suzana Amaral" | Name the original title of the Suzana Amaral film | CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR) |
SELECT "English Title (Chinese title)" FROM table_11710 WHERE "Airing date" = '18 dec 2006- 10 feb 2007' | Which title aired on 18 dec 2006- 10 feb 2007? | CREATE TABLE table_11710 (
"Airing date" text,
"English Title (Chinese title)" text,
"Number of episodes" real,
"Theme song (T) Sub-theme song (ST)" text,
"Genre" text,
"Official website" text
) |
SELECT away_team FROM table_name_30 WHERE crowd > 17 OFFSET 000 | Which away team has an attendance of more than 17,000? | CREATE TABLE table_name_30 (away_team VARCHAR, crowd INTEGER) |
SELECT COUNT(province) FROM table_152834_2 WHERE county = "Fenghuang" | If the country is fenghuang how many provinces are there? | CREATE TABLE table_152834_2 (province VARCHAR, county VARCHAR) |
SELECT tie_no FROM table_name_59 WHERE away_team = "bolton wanderers" | Which tie number has Bolton Wanderers as away? | CREATE TABLE table_name_59 (
tie_no VARCHAR,
away_team VARCHAR
) |
SELECT away_team FROM table_name_55 WHERE venue = "mcg" | Which away team played at MCG? | CREATE TABLE table_name_55 (away_team VARCHAR, venue VARCHAR) |
SELECT group_a FROM table_15290638_1 WHERE group_d = "Indiana" | Who is in group a when indiana is in group d? | CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR) |
SELECT venue FROM table_name_30 WHERE result = "2nd" AND extra = "4 x 100 m relay" | what is the venue when the result is 2nd and extra is 4 x 100 m relay? | CREATE TABLE table_name_30 (
venue VARCHAR,
result VARCHAR,
extra VARCHAR
) |
SELECT date FROM table_name_49 WHERE home_team = "geelong" | What was the date when Geelong was the home team? | CREATE TABLE table_name_49 (date VARCHAR, home_team VARCHAR) |
SELECT group_c FROM table_15290638_1 WHERE group_d = "Wisconsin" | Who is in group c when wisconsin is in group d? | CREATE TABLE table_15290638_1 (group_c VARCHAR, group_d VARCHAR) |
SELECT AVG("Lost") FROM table_8225 WHERE "Name" = 'ec amberg (n)' AND "Position" < '4' | What is the average Lost that has a Name of ec amberg (n), and a Position smaller than 4? | CREATE TABLE table_8225 (
"Position" real,
"Name" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Points" real
) |
SELECT bowling_style FROM table_name_49 WHERE player = "damien martyn" | What is Damien Martyn's bowling style? | CREATE TABLE table_name_49 (bowling_style VARCHAR, player VARCHAR) |
SELECT group_c FROM table_15290638_1 WHERE group_e = "Iowa" | Who is in group c when iowa is in group e? | CREATE TABLE table_15290638_1 (group_c VARCHAR, group_e VARCHAR) |
SELECT total FROM table_name_96 WHERE finish = "t39" | What is the total for the player with a Finish of T39? | CREATE TABLE table_name_96 (
total VARCHAR,
finish VARCHAR
) |
SELECT batting_style FROM table_name_77 WHERE date_of_birth = "14 november 1971" | What is the batting style of the player born on 14 November 1971? | CREATE TABLE table_name_77 (batting_style VARCHAR, date_of_birth VARCHAR) |
SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yuni | Name the old bulgarian names for yuni | CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yuni VARCHAR, Transliteration VARCHAR) |
SELECT result FROM table_name_35 WHERE year > 2002 | What result has a year after 2002? | CREATE TABLE table_name_35 (
result VARCHAR,
year INTEGER
) |
SELECT first_class_team FROM table_name_70 WHERE date_of_birth = "23 february 1973" | What is the first class team of the player born on 23 February 1973? | CREATE TABLE table_name_70 (first_class_team VARCHAR, date_of_birth VARCHAR) |
SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yanuari | Name the old bulgarian names for yanuari | CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yanuari VARCHAR, Transliteration VARCHAR) |
SELECT grand_finalist FROM table_1139835_3 WHERE scores = "11.11 (77) – 10.8 (68)" | who is the grand finalist where scores is 11.11 (77) 10.8 (68) | CREATE TABLE table_1139835_3 (
grand_finalist VARCHAR,
scores VARCHAR
) |
SELECT type FROM table_name_27 WHERE eu_council_presidency = "uk" AND president_in_office = "john major" | What is the type for EU Council Presidency of UK and John Major as President-in-Office? | CREATE TABLE table_name_27 (type VARCHAR, eu_council_presidency VARCHAR, president_in_office VARCHAR) |
SELECT bulgarian_name FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Mart | Name the bulgarian name for mart | CREATE TABLE table_15275060_1 (bulgarian_name VARCHAR, Mart VARCHAR, Transliteration VARCHAR) |
SELECT "song choice" FROM table_204_889 WHERE "original artist" = 'the beatles' ORDER BY "date" LIMIT 1 | which was the first song he performed that was originally a beatles song ? | CREATE TABLE table_204_889 (
id number,
"date" text,
"week (stage)" text,
"song choice" text,
"original artist" text,
"theme" text,
"result" text
) |
SELECT host_city FROM table_name_85 WHERE president_in_office = "margaret thatcher" AND year = 1981 | In which host city was Margaret Thatcher the President-in-Office in 1981? | CREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR) |
SELECT listed_owner_s_ FROM table_1529793_1 WHERE driver_s_ = "Jeremy Mayfield" | Who owned the team Jeremy Mayfield raced for? | CREATE TABLE table_1529793_1 (listed_owner_s_ VARCHAR, driver_s_ VARCHAR) |
SELECT MIN(demographic.age) FROM demographic WHERE demographic.discharge_location = "HOME" AND demographic.diagnosis = "POSTERIOR COMMUNICATING ANEURYSM/SDA" | what is minimum age of patients whose discharge location is home and primary disease is posterior communicating aneurysm/sda? | 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 demographic (... |
SELECT COUNT(average) FROM table_name_98 WHERE preliminaries > 9.25 AND interview > 9.44 AND evening_gown = 9.77 | How many average scores have preliminary scores over 9.25, interview scores more than 9.44, and evening gown scores of 9.77? | CREATE TABLE table_name_98 (average VARCHAR, evening_gown VARCHAR, preliminaries VARCHAR, interview VARCHAR) |
SELECT primary_sponsor_s_ FROM table_1529793_1 WHERE driver_s_ = "Jason Leffler" | Who is Jason Leffler's primary sponsor? | CREATE TABLE table_1529793_1 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) |
SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17 | Name the number ends won when L is 4 and stolen ends is 17 | CREATE TABLE table_15333005_1 (
Ends VARCHAR,
l VARCHAR,
stolen_ends VARCHAR
) |
SELECT MIN(interview) FROM table_name_79 WHERE preliminaries < 9.4 AND evening_gown < 9.55 AND country = "new york" AND swimsuit > 9.18 | What is the least score for interview with a preliminaries score less than 9.4, evening gown score less than 9.55, and swimsuit score more than 9.18 in New York? | CREATE TABLE table_name_79 (interview INTEGER, swimsuit VARCHAR, country VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR) |
SELECT COUNT(stage) FROM table_15294880_2 WHERE winner = "Alberto Contador" AND points_classification = "Alberto Contador" | How many stages were there where the winner and the points classification were Alberto Contador? | CREATE TABLE table_15294880_2 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR) |
SELECT "CPU clock ( MHz )" FROM table_55086 WHERE "L2 cache (KiB)" = '2*512' AND "Series ^" = 'e-series' AND "DDR3 speed" = '1066' | Name the CPU clock for L2 cache of 2*512 and series ^ of e-series and DDR3 speed of 1066 | CREATE TABLE table_55086 (
"Series ^" text,
"Model" text,
"CPU clock ( MHz )" text,
"CPU cores" real,
"TDP ( W )" text,
"L2 cache (KiB)" text,
"Radeon cores" real,
"DDR3 speed" real
) |
SELECT seven FROM table_name_24 WHERE date = "29 november 1690" | Name the seven for 29 november 1690 | CREATE TABLE table_name_24 (seven VARCHAR, date VARCHAR) |
SELECT COUNT(team_classification) FROM table_15294880_2 WHERE winner = "Alessandro Ballan" | When the winner was Alessandro Ballan, how many total team classifications were there? | CREATE TABLE table_15294880_2 (team_classification VARCHAR, winner VARCHAR) |
SELECT "Type" FROM table_10413 WHERE "Quantity" = '11' | Which type has a quantity of 11? | CREATE TABLE table_10413 (
"Class" text,
"Type" text,
"Quantity" real,
"Date" text,
"LNER Class" text,
"1946 LNER nos." text
) |
SELECT four FROM table_name_23 WHERE date = "6 march 1801" | Name the four for 6 march 1801 | CREATE TABLE table_name_23 (four VARCHAR, date VARCHAR) |
SELECT COUNT(general_classification) FROM table_15294880_2 WHERE team_classification = "Quick Step" | When the team classification was quick step, what was the total number of general classifications? | CREATE TABLE table_15294880_2 (general_classification VARCHAR, team_classification VARCHAR) |
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'sodium, urine') AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 's... | count the number of patients who had received a laboratory test of sodium, urine in this year. | CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
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... |
SELECT three FROM table_name_83 WHERE four = "william prewett" AND five = "richard ellis" AND seven = "nicholas king" AND date = "5 november 1693" | Name the three for william prewett for four and five being richard ellis with seven being nicholas king on 5 november 1693 | CREATE TABLE table_name_83 (three VARCHAR, date VARCHAR, seven VARCHAR, four VARCHAR, five VARCHAR) |
SELECT 250 AS cc_winner FROM table_15299235_1 WHERE grand_prix = "Spanish grand_prix" | Who won the spanish grand prix? | CREATE TABLE table_15299235_1 (grand_prix VARCHAR) |
SELECT SUM(total) FROM table_name_97 WHERE year_s__won = "1993" | The golfer who won in 1993 had what total has his total? | CREATE TABLE table_name_97 (
total INTEGER,
year_s__won VARCHAR
) |
SELECT three FROM table_name_83 WHERE date = "16 december 1676" | Name the three for 16 december 1676 | CREATE TABLE table_name_83 (three VARCHAR, date VARCHAR) |
SELECT date FROM table_15299235_1 WHERE circuit = "Indianapolis" | What is the date for the Indianapolis circuit? | CREATE TABLE table_15299235_1 (date VARCHAR, circuit VARCHAR) |
SELECT * FROM table_train_32 WHERE pregnancy_or_lactation = 1 OR prisoners = 1 | member of a protected population ( pregnant, prisoner ) | CREATE TABLE table_train_32 (
"id" int,
"pregnancy_or_lactation" bool,
"renal_disease" bool,
"hemachromatosis" bool,
"glucose_6_phosphate_dehydrogenase_deficiency_g6pd" int,
"prisoners" bool,
"NOUSE" float
) |
SELECT AVG(grid) FROM table_name_73 WHERE driver = "luca badoer" AND laps > 69 | Tell me the average Grid for driver of Luca Badoer and Laps more than 69 | CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR) |
SELECT 250 AS cc_winner FROM table_15299235_1 WHERE round = 9 | in round 9 who was the 250cc winner? | CREATE TABLE table_15299235_1 (round VARCHAR) |
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-79017'... | how many days have passed since the last time patient 004-79017 has received a insertion of venous catheter for hemodialysis treatment in this hospital visit? | 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 final FROM table_name_46 WHERE athlete = "farhad rezaei" | What final was Farhad Rezaei in? | CREATE TABLE table_name_46 (final VARCHAR, athlete VARCHAR) |
SELECT condition_parameter FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[(1 + √5)/2] ≅ 0.481" | If the velocity angle is ln[(1 + √5)/2] ≅ 0.481, what is the condition/parameter? | CREATE TABLE table_15314901_1 (condition_parameter VARCHAR, velocity_angle_η_in_i_radians VARCHAR) |
SELECT year, SUM(attendance) FROM home_game ORDER BY year | Show the trend about the number of attendance at home games change over the years, bin year into year interval, order year in ascending order please. | CREATE TABLE batting_postseason (
year INTEGER,
round TEXT,
player_id TEXT,
team_id TEXT,
league_id TEXT,
g INTEGER,
ab INTEGER,
r INTEGER,
h INTEGER,
double INTEGER,
triple INTEGER,
hr INTEGER,
rbi INTEGER,
sb INTEGER,
cs NUMERIC,
bb INTEGER,
so INTEG... |
SELECT final FROM table_name_96 WHERE rank = "4" | What final was ranked 4? | CREATE TABLE table_name_96 (final VARCHAR, rank VARCHAR) |
SELECT coordinate_velocity_v_dx_dt_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 2 hyperbolic radians" | If the the condition/parameter is rapidity of 2 hyperbolic radians, what is the coordinate velocity v dx/dt in units of c? | CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, condition_parameter VARCHAR) |
SELECT call_sign FROM table_name_15 WHERE erp_w = 222 | What is the call sign with a 222 erp w? | CREATE TABLE table_name_15 (
call_sign VARCHAR,
erp_w VARCHAR
) |
SELECT rank FROM table_name_44 WHERE athlete = "hamid veisi" | What was the reanking of Hamid Veisi? | CREATE TABLE table_name_44 (rank VARCHAR, athlete VARCHAR) |
SELECT velocity_angle_η_in_i_radians FROM table_15314901_1 WHERE coordinate_velocity_v_dx_dt_in_units_of_c = "(e 2 − 1)/(e 2 + 1) ≅ 0.761" | If the coordinate velocity v dx/dt in units of c is (e 2 − 1)/(e 2 + 1) ≅ 0.761, what is the velocity angle η in i-radians? | CREATE TABLE table_15314901_1 (velocity_angle_η_in_i_radians VARCHAR, coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR) |
SELECT Class, COUNT(*) FROM race GROUP BY Class ORDER BY Class DESC | What are the different classes of races, and how many races correspond to each Show bar chart, could you rank by the X in desc? | CREATE TABLE race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
)
CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
) |
SELECT franchise FROM table_name_29 WHERE percentage < 0.707 AND year > 1931 AND finish = "won 1998 world series" | Which Franchise has a Percentage under 0.707, a Year larger than 1931, and the Finish was won 1998 World Series? | CREATE TABLE table_name_29 (franchise VARCHAR, finish VARCHAR, percentage VARCHAR, year VARCHAR) |
SELECT COUNT(coordinate_velocity_v_dx_dt_in_units_of_c) FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[2 + √5] ≅ 1.444" | What is the coordinate velocity v dx/dt in units of c total number if the velocity angle η in i-radians is ln[2 + √5] ≅ 1.444? | CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, velocity_angle_η_in_i_radians VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.label = "Uric Acid" | provide the number of patients whose admission type is emergency and lab test name is uric acid? | 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... |
SELECT AVG(year) FROM table_name_11 WHERE finish = "lost 2001 alcs" AND percentage > 0.716 | What is the average Year for the Finish of lost 2001 alcs and the Percentage is over 0.716? | CREATE TABLE table_name_11 (year INTEGER, finish VARCHAR, percentage VARCHAR) |
SELECT proper_velocity_w_dx_dτ_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 1 hyperbolic radian" | If the condition/parameter is rapidity of 1 hyperbolic radian, what is the proper velocity w dx/dτ in units of c? | CREATE TABLE table_15314901_1 (proper_velocity_w_dx_dτ_in_units_of_c VARCHAR, condition_parameter VARCHAR) |
SELECT MAX(l2_cache__mb_) FROM table_269920_3 | What's the maximal L3 cache for any of the models given? | CREATE TABLE table_269920_3 (
l2_cache__mb_ INTEGER
) |
SELECT finish FROM table_name_88 WHERE league = "al" AND year = 1939 | In the Year 1939, what was the Finish when Al was the League? | CREATE TABLE table_name_88 (finish VARCHAR, league VARCHAR, year VARCHAR) |
SELECT school_year FROM table_15315103_1 WHERE class_aAAA = Dayton | What year is dayton in class AAAA? | CREATE TABLE table_15315103_1 (school_year VARCHAR, class_aAAA VARCHAR, Dayton VARCHAR) |
SELECT "Written by" FROM table_31034 WHERE "Title" = 'Mac Bangs Dennis'' Mom' | Who are the writers of the episode titled 'Mac Bangs Dennis' Mom'? | CREATE TABLE table_31034 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
) |
SELECT finish FROM table_name_22 WHERE league = "nl" AND percentage < 0.726 AND year > 1897 AND franchise = "pittsburgh pirates" | What was the Finish when NL was the League, the Percentage was under 0.726, the Year was larger than 1897, and the Franchies was the Pittsburgh Pirates? | CREATE TABLE table_name_22 (finish VARCHAR, franchise VARCHAR, year VARCHAR, league VARCHAR, percentage VARCHAR) |
SELECT class_aAAAA FROM table_15315103_1 WHERE school_year = "1995-96" | Who is in class during 1995-96? | CREATE TABLE table_15315103_1 (class_aAAAA VARCHAR, school_year VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.