answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT artist FROM table_23963073_1 WHERE date_of_publication = 1966 | Who was the artist who worked on the stories published in 1966? | CREATE TABLE table_23963073_1 (artist VARCHAR, date_of_publication VARCHAR) |
SELECT analog_channel FROM table_name_3 WHERE digital_channel = "32" | Digital channel of 32 belongs to what analog channel? | CREATE TABLE table_name_3 (
analog_channel VARCHAR,
digital_channel VARCHAR
) |
SELECT championship FROM table_2362486_1 WHERE score_in_the_final = "6–4, 2–6, 6–4, 7–6(3)" | Which championship had a final score of 6–4, 2–6, 6–4, 7–6(3)? | CREATE TABLE table_2362486_1 (championship VARCHAR, score_in_the_final VARCHAR) |
SELECT start_date FROM table_24057191_2 WHERE series = 6 | When did series 6 start? | CREATE TABLE table_24057191_2 (start_date VARCHAR, series VARCHAR) |
SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-8740') AND NOT patient.unitdischargetime IS ... | what is the total number of inputs that patient 010-8740 has received on the first icu visit? | CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime t... |
SELECT score_in_final FROM table_2362606_1 WHERE year = 1988 | What was the score in the final in 1988? | CREATE TABLE table_2362606_1 (score_in_final VARCHAR, year VARCHAR) |
SELECT MAX(series) FROM table_24057191_2 WHERE average_viewers__millions_ = "3.72" | What series had an average of 3.72 million people watching it? | CREATE TABLE table_24057191_2 (series INTEGER, average_viewers__millions_ VARCHAR) |
SELECT winner FROM table_14395920_2 WHERE stage = 18 | Who won stage 18? | CREATE TABLE table_14395920_2 (
winner VARCHAR,
stage VARCHAR
) |
SELECT london_, _great_britain FROM table_23619492_3 WHERE world_record = "Championship record" | Name the london great britain for championship record | CREATE TABLE table_23619492_3 (london_ VARCHAR, _great_britain VARCHAR, world_record VARCHAR) |
SELECT COUNT(end_date) FROM table_24057191_2 WHERE average_viewers__millions_ = "4.2" | How many different end dates are there for the series seen by 4.2 million people? | CREATE TABLE table_24057191_2 (end_date VARCHAR, average_viewers__millions_ VARCHAR) |
SELECT procedures.icd9_code, prescriptions.drug_type FROM procedures INNER JOIN prescriptions ON procedures.hadm_id = prescriptions.hadm_id WHERE procedures.subject_id = "18480" | give me the procedure icd9 code and drug type of subject id 18480. | 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 COUNT(paula_radcliffe___gbr__) FROM table_23619492_3 WHERE world_record = "African record" | Name the total number of african record | CREATE TABLE table_23619492_3 (paula_radcliffe___gbr__ VARCHAR, world_record VARCHAR) |
SELECT population__percentage_of_eu FROM table_24066938_1 WHERE pop_density_people_km_2 = "110.8" | What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer? | CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR) |
SELECT "Round" FROM table_77997 WHERE "Opponent" = 'blackburn' | What is the Round with a Opponent with blackburn? | CREATE TABLE table_77997 (
"Round" text,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text
) |
SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Tears for Fears" AND artist_2 = "Eric Prydz" | Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2? | CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR) |
SELECT area_km_2 FROM table_24066938_1 WHERE member_state = "Austria" | What is the area of Austria's territory in square kilometers? | CREATE TABLE table_24066938_1 (area_km_2 VARCHAR, member_state VARCHAR) |
SELECT * FROM table_train_126 WHERE head_injury = 1 OR (neurological_disease = 1 OR stroke = 1 OR (seizure_disorder = 1 AND childhood_febrile_seizure = 0) OR headache = 1) | history of head trauma with prolonged loss of consciousness ( > 10 minutes ) or any neurological condition including stroke or seizure ( excluding childhood febrile seizure ) or history of migraine headache. | CREATE TABLE table_train_126 (
"id" int,
"childhood_febrile_seizure" bool,
"neurodegenerative_disease" bool,
"cns_disease" bool,
"head_injury" bool,
"stroke" bool,
"renal_disease" bool,
"cerebrovascular_disease" bool,
"hepatic_disease" bool,
"headache" bool,
"cardiovascular_d... |
SELECT level FROM table_23649244_1 WHERE artist_1 = "Marvin Gaye" AND artist_2 = "David Bowie" | Which level has marvin gaye as artist 1 and david bowie as artist 2? | CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR) |
SELECT pop_density_people_km_2 FROM table_24066938_1 WHERE member_state = "Sweden" | How many inhabitants does Sweden have per square kilometer? | CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.long_title = "Umbilical vein catheterization" | Find the number of patients whose admission type is elective that had a procedure named umbilical vein catheterization. | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... |
SELECT level FROM table_23649244_1 WHERE artist_1 = "Grandmaster Flash" | Which level has grandmaster flash as artist 1? | CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR) |
SELECT COUNT(pop_density_people_km_2) FROM table_24066938_1 WHERE member_state = "Czech Republic" | How many measurements of the Czech Republic's population density are recorded in this table? | CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR) |
SELECT COUNT("team") FROM table_204_905 WHERE "wins" >= 85 | how many teams won at least 85 games ? | CREATE TABLE table_204_905 (
id number,
"team" text,
"wins" number,
"losses" number,
"win %" number,
"gb" number
) |
SELECT level FROM table_23649244_1 WHERE artist_1 = "Wale" | Which level has wale as artist 1? | CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR) |
SELECT COUNT(no_in_series) FROM table_2409041_4 WHERE no_in_season = 11 | Name the number of number in the season for 11 | CREATE TABLE table_2409041_4 (no_in_series VARCHAR, no_in_season VARCHAR) |
SELECT "School" FROM table_77982 WHERE "Hometown" = 'riverside, ca' | Which school is in Riverside, CA? | CREATE TABLE table_77982 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
) |
SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Shlomo" | Which mix artists have shlomo as artist 1? | CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR) |
SELECT COUNT(original_air_date) FROM table_2409041_4 WHERE no_in_season = 14 | Name the number of airdates for 14 | CREATE TABLE table_2409041_4 (original_air_date VARCHAR, no_in_season VARCHAR) |
SELECT area FROM table_name_9 WHERE years = "1–8" AND name = "broomfield school" | Which area has Years of 1 8, and a Name of broomfield school? | CREATE TABLE table_name_9 (
area VARCHAR,
years VARCHAR,
name VARCHAR
) |
SELECT COUNT(season) FROM table_23647668_2 WHERE champion = "Melgar" | How many season had Melgar as a champion? | CREATE TABLE table_23647668_2 (season VARCHAR, champion VARCHAR) |
SELECT title FROM table_2409041_4 WHERE production_code = 446913 | Name the title for 446913 | CREATE TABLE table_2409041_4 (title VARCHAR, production_code VARCHAR) |
SELECT Aircraft, COUNT(*) FROM aircraft AS T1 JOIN match AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY Aircraft DESC | List the names of aircrafts and the number of times it won matches Plot them as bar chart, and order by the X-axis in descending. | CREATE TABLE aircraft (
Aircraft_ID int(11),
Aircraft varchar(50),
Description varchar(50),
Max_Gross_Weight varchar(50),
Total_disk_area varchar(50),
Max_disk_Loading varchar(50)
)
CREATE TABLE pilot (
Pilot_Id int(11),
Name varchar(50),
Age int(11)
)
CREATE TABLE airport_aircraft... |
SELECT third_place FROM table_23647668_2 WHERE season = 1980 | Who was in third place in the 1980 season? | CREATE TABLE table_23647668_2 (third_place VARCHAR, season VARCHAR) |
SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = "64,949" | What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance? | CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR) |
SELECT game_site FROM table_name_79 WHERE week = 15 | What was the game site week 15? | CREATE TABLE table_name_79 (
game_site VARCHAR,
week VARCHAR
) |
SELECT open_cup FROM table_2365150_1 WHERE league = "USL PDL" AND playoffs = "Did not qualify" | Name the open cup for usl pdl for did not qualify | CREATE TABLE table_2365150_1 (open_cup VARCHAR, league VARCHAR, playoffs VARCHAR) |
SELECT travers_stakes FROM table_24089503_1 WHERE year = 1977 | What was the attendance at the Travers Stakes in 1977? | CREATE TABLE table_24089503_1 (travers_stakes VARCHAR, year VARCHAR) |
SELECT team FROM table_name_40 WHERE score = "89-123" | Which Team has a Score of 89-123? | CREATE TABLE table_name_40 (
team VARCHAR,
score VARCHAR
) |
SELECT COUNT(open_cup) FROM table_2365150_1 WHERE year = 1996 | Name the total number of open cup for 1996 | CREATE TABLE table_2365150_1 (open_cup VARCHAR, year VARCHAR) |
SELECT breeders_cup_friday FROM table_24089503_1 WHERE breeders_cup_saturday = "52,987" | What was the Breeder's Cup Friday attendance for the year the Breeder's Cup Saturday had 52,987? | CREATE TABLE table_24089503_1 (breeders_cup_friday VARCHAR, breeders_cup_saturday VARCHAR) |
SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '015-66570' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | count how many hospital visits patient 015-66570 has in this year. | CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number... |
SELECT open_cup FROM table_2365150_1 WHERE playoffs = "division Finals" | Name the open cup for division finals | CREATE TABLE table_2365150_1 (open_cup VARCHAR, playoffs VARCHAR) |
SELECT edition FROM table_24099476_8 WHERE opponent = "David Nalbandian" | In what edition is Ungur's opponent David Nalbandian? | CREATE TABLE table_24099476_8 (edition VARCHAR, opponent VARCHAR) |
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'RELIGION' AND course.number = 347 AND semester.semester = 'WN' AND semester.semester_id = course... | Are there classes in the morning that are RELIGION 347 ? | CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
... |
SELECT position FROM table_23670057_1 WHERE height__m_ = "2.16" | Name the position for 2.16 | CREATE TABLE table_23670057_1 (position VARCHAR, height__m_ VARCHAR) |
SELECT date FROM table_24099476_8 WHERE win_lose = "Lose" AND round = "Play-off" | When was the win/lose lose and the round a play-off? | CREATE TABLE table_24099476_8 (date VARCHAR, win_lose VARCHAR, round VARCHAR) |
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(MANAGER_ID) | For those employees who was hired before 2002-06-21, show me about the distribution of hire_date and the average of manager_id bin hire_date by time in a bar chart, could you list from low to high by the the average of manager id please? | CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
CO... |
SELECT no FROM table_23670057_1 WHERE height__m_ = "1.96" | Name the number for 1.96 height | CREATE TABLE table_23670057_1 (no VARCHAR, height__m_ VARCHAR) |
SELECT round FROM table_24099476_8 WHERE opponent = "Sergiy Stakhovsky" | In what round did he play against Sergiy Stakhovsky? | CREATE TABLE table_24099476_8 (round VARCHAR, opponent VARCHAR) |
SELECT "Rider" FROM table_48797 WHERE "Laps" = '22' AND "Time/Retired" = '+19.435' | Who is the rider with 22 laps and a +19.435 time/retired? | CREATE TABLE table_48797 (
"Rider" text,
"Manufacturer" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
) |
SELECT height__m_ FROM table_23670057_1 WHERE no = 7 | Name the height for number 7 | CREATE TABLE table_23670057_1 (height__m_ VARCHAR, no VARCHAR) |
SELECT municipality FROM table_24115349_6 WHERE coakley_votes = 754 | What municipality had 754 votes for coakley? | CREATE TABLE table_24115349_6 (municipality VARCHAR, coakley_votes VARCHAR) |
SELECT "Opponent" FROM table_12534 WHERE "Score" = '92–93' | Which Opponent has a Score of 92 93? | CREATE TABLE table_12534 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text,
"Streak" text
) |
SELECT player FROM table_23670057_1 WHERE no = 5 | name the player for number 5 | CREATE TABLE table_23670057_1 (player VARCHAR, no VARCHAR) |
SELECT MAX(brown_votes) FROM table_24115349_6 WHERE coakley__percentage = "84.1%" | How many votes for brown in the place that had 84.1% for coakley? | CREATE TABLE table_24115349_6 (brown_votes INTEGER, coakley__percentage VARCHAR) |
SELECT "Date" FROM table_54830 WHERE "Away team" = 'st kilda' | When st kilda played as the away team, what date was that? | CREATE TABLE table_54830 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT height__f_ FROM table_23670057_4 WHERE position = "Center" | For all players playing at the center, list the height in feet. | CREATE TABLE table_23670057_4 (height__f_ VARCHAR, position VARCHAR) |
SELECT turnout__percentage FROM table_24115349_6 WHERE brown__percentage = "44.6%" | What was the turnout percentage in the place that had 44.6% vote for brown? | CREATE TABLE table_24115349_6 (turnout__percentage VARCHAR, brown__percentage VARCHAR) |
SELECT "Episode Air Date" FROM table_29666 WHERE "Audition Venue" = 'Nego Quirido Sambadrome' | List all episode air dates whose audition venues were Nego Quirido Sambadrome? | CREATE TABLE table_29666 (
"Episode Air Date" text,
"Audition City" text,
"Audition Date" text,
"Audition Venue" text,
"Guest Fourth Judge" text
) |
SELECT no FROM table_23670057_4 WHERE position = "Center" | Display the serial numbers for the players who play at the center. | CREATE TABLE table_23670057_4 (no VARCHAR, position VARCHAR) |
SELECT MAX(finish) FROM table_24119784_1 WHERE top_10 = 8 | Name the finish top 10 being 8 | CREATE TABLE table_24119784_1 (finish INTEGER, top_10 VARCHAR) |
SELECT year FROM table_name_44 WHERE venue = "nikos goumas stadium" AND score = "2–2 4–4 a.e.t. 6–5 pso" | when is the venue nikos goumas stadium and the score is 2 2 4 4 a.e.t. 6 5 pso? | CREATE TABLE table_name_44 (
year VARCHAR,
venue VARCHAR,
score VARCHAR
) |
SELECT MAX(year_born) FROM table_23670057_4 WHERE player = "Ido Kozikaro" | What is the date of birth for basket baller called ido kozikaro | CREATE TABLE table_23670057_4 (year_born INTEGER, player VARCHAR) |
SELECT finish FROM table_24122653_2 WHERE vote = "3-2" | What is the finish associated with a 3-2 vote? | CREATE TABLE table_24122653_2 (finish VARCHAR, vote VARCHAR) |
SELECT 2005 FROM table_name_49 WHERE 2003 = "a" AND 2007 = "2r" AND 2012 = "3r" | what is 2005 when 2003 is A, 2007 is 2r and 2012 is 3r? | CREATE TABLE table_name_49 (
Id VARCHAR
) |
SELECT height__m_ FROM table_23670057_4 WHERE player = "Lior Eliyahu" | How tall is the basket ball player lior eliyahu in meters? | CREATE TABLE table_23670057_4 (height__m_ VARCHAR, player VARCHAR) |
SELECT reward FROM table_24122653_2 WHERE eliminated = "Peterson" | What is the reward for the elimination of Peterson? | CREATE TABLE table_24122653_2 (reward VARCHAR, eliminated VARCHAR) |
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 63676) AND microbiologyevents.spec_type_desc = 'swab' AND STRFTIME('%y', microbiologyevents.charttime) >= '2105' | has there been any swab microbiology test since 2105 for patient 63676? | CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE admissions (
row_id numb... |
SELECT average FROM table_23662356_3 WHERE number_of_dances = 4 | What was the average score for the couple that had 4 dances? | CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR) |
SELECT COUNT(finish) FROM table_24122653_2 WHERE eliminated = "Adriana" | What is the number of finishes associated with an elimination of Adriana? | CREATE TABLE table_24122653_2 (finish VARCHAR, eliminated VARCHAR) |
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 74392) AND STRFTIME('%y', procedures_icd.charttime) <= '2102' ORDER ... | what is a procedure patient 74392 received for the first time until 2102? | CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime t... |
SELECT COUNT(average) FROM table_23662356_3 WHERE number_of_dances = 12 | How many averages were listed for the couple who had 12 dances? | CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR) |
SELECT COUNT(episode) FROM table_24122653_2 WHERE vote = "3-1" | What was the total number of episodes that had a 3-1 vote? | CREATE TABLE table_24122653_2 (episode VARCHAR, vote VARCHAR) |
SELECT place FROM table_name_85 WHERE to_par = "e" | What is the place number for the player with a To Par score of 'E'? | CREATE TABLE table_name_85 (
place VARCHAR,
to_par VARCHAR
) |
SELECT MAX(total_points_earned) FROM table_23662356_3 WHERE average = "29.0" | How many total points were earned from the couple that averaged 29.0 points? | CREATE TABLE table_23662356_3 (total_points_earned INTEGER, average VARCHAR) |
SELECT conference AS Tournament FROM table_24160890_3 WHERE regular_season_winner = "Troy" | When troy is the regular season winner what is the conference tournament? | CREATE TABLE table_24160890_3 (conference VARCHAR, regular_season_winner VARCHAR) |
SELECT "Long" FROM table_53198 WHERE "Car." = '26' | What is the long for the player with 26 carries? | CREATE TABLE table_53198 (
"Player" text,
"Car." real,
"Yards" text,
"Avg." text,
"TD's" real,
"Long" text
) |
SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "It's Going So Badly" | What album was the song It's going so badly on? | CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR) |
SELECT conference AS Tournament FROM table_24160890_3 WHERE tournament_venue__city_ = "Madison Square Garden ( New York City, New York )" | When madison square garden ( new york city, new york ) is the tournament venue (city) what is the conference tournament? | CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_venue__city_ VARCHAR) |
SELECT SUM(owgr_pts) FROM table_name_37 WHERE dates = "may 10-13" | Which OWGR pts has Dates of may 10-13? | CREATE TABLE table_name_37 (
owgr_pts INTEGER,
dates VARCHAR
) |
SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "My Chariot" | What album was the song My Chariot on? | CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR) |
SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati" | When Cincinnati is the tournament winner how many regular season winners are there? | CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR) |
SELECT opponent FROM table_name_79 WHERE time = "1:50" | Which opponent has a time of 1:50? | CREATE TABLE table_name_79 (
opponent VARCHAR,
time VARCHAR
) |
SELECT singer_s_ FROM table_23667534_1 WHERE song_s__title = "He's Bigfoot" | Who sand He's Bigfoot? | CREATE TABLE table_23667534_1 (singer_s_ VARCHAR, song_s__title VARCHAR) |
SELECT COUNT(conference) FROM table_24160890_3 WHERE tournament_winner = "Western Michigan" | When western michigan is the tournament winner how many conferences are there? | CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_winner VARCHAR) |
SELECT SUM("Average") FROM table_58555 WHERE "Swimsuit" < '9.62' AND "Country" = 'colorado' | What is the total average for swimsuits smaller than 9.62 in Colorado? | CREATE TABLE table_58555 (
"Country" text,
"Interview" real,
"Swimsuit" real,
"Evening Gown" real,
"Average" real
) |
SELECT album_s_ FROM table_23667534_1 WHERE episode_title = "Toy to the World" AND song_s__title = "Shimmy Jimmy" | What album was the song Shimmy Jimmy from the episode titled Toy to the world on? | CREATE TABLE table_23667534_1 (album_s_ VARCHAR, episode_title VARCHAR, song_s__title VARCHAR) |
SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "George E. Harris (R)" | When was successor George E. Harris (R) seated? | CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR) |
SELECT Users.DisplayName, Users.Location, SUM(Posts.Score) AS TotalScore, 'https://stackoverflow.com/users/' + CAST(Users.Id AS TEXT) AS Profile FROM Posts INNER JOIN Users ON Posts.OwnerUserId = Users.Id INNER JOIN PostTags ON Posts.Id = PostTags.PostId INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE TagName = '##ta... | Top Users in Tag (in UK). | CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
... |
SELECT player FROM table_23670057_5 WHERE height__m_ = "2.07" | which players have a height of 2.07m? | CREATE TABLE table_23670057_5 (player VARCHAR, height__m_ VARCHAR) |
SELECT reason_for_change FROM table_2417345_4 WHERE successor = "William Milnes, Jr. (C)" | What was the reason for change when the successor was William Milnes, Jr. (C)? | CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, successor VARCHAR) |
SELECT mccain_percentage FROM table_20688030_1 WHERE obama_percentage = "36.47%" | What are McCain's Percent when Obama has 36.47%? | CREATE TABLE table_20688030_1 (
mccain_percentage VARCHAR,
obama_percentage VARCHAR
) |
SELECT current_club FROM table_23670057_5 WHERE height__m_ = "2.14" | Which clubs have players with height 2.14m? | CREATE TABLE table_23670057_5 (current_club VARCHAR, height__m_ VARCHAR) |
SELECT date_successor_seated FROM table_2417345_4 WHERE district = "Ohio 10th" | When were the successor/s seated for Ohio 10th? | CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, district VARCHAR) |
SELECT "Deaths" FROM table_66704 WHERE "Natural Growth" < '3.4' AND "Total Fertility Rate" = '1.63' | What was the amount of deaths that had a natural growth smaller than 3.4, and a total fertility rate of 1.63? | CREATE TABLE table_66704 (
"Year" text,
"Births (000s)" real,
"Deaths" real,
"Natural Growth" real,
"Total Fertility Rate" text
) |
SELECT player FROM table_23670057_5 WHERE year_born = 1983 AND position = "Forward" | Which players were born in 1983 and play as forward position? | CREATE TABLE table_23670057_5 (player VARCHAR, year_born VARCHAR, position VARCHAR) |
SELECT reason_for_change FROM table_2417345_4 WHERE vacator = "George W. Greene (D)" | Name the reason for change when George W. Greene (D) was the vacator. | CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, vacator VARCHAR) |
SELECT "Winning score" FROM table_62004 WHERE "Runner(s)-up" = 'in-kyung kim' | What winning score has in-kyung kim as the runner(s)-up? | CREATE TABLE table_62004 (
"Date" text,
"Tournament" text,
"Winning score" text,
"To par" text,
"Margin of victory" text,
"Runner(s)-up" text,
"Winner's share ( $ )" real
) |
SELECT current_club FROM table_23670057_7 WHERE player = "Artūrs Štālbergs" | What is every current club for the player Artūrs Štālbergs? | CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR) |
SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "David Atwood (R)" | When was successor David Atwood (R) seated? | CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.