answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT theme FROM table_26250145_1 WHERE order__number = "2" | WHat is the them for the order #2? | CREATE TABLE table_26250145_1 (theme VARCHAR, order__number VARCHAR) |
SELECT season FROM table_name_84 WHERE champion = "nicolas kiesa" | What season has the champion of Nicolas Kiesa? | CREATE TABLE table_name_84 (season VARCHAR, champion VARCHAR) |
SELECT MAX("Pick #") FROM table_16400 WHERE "CFL Team" = 'Saskatchewan Roughriders' | What is the highest selection number for the saskatchewan roughriders team? | CREATE TABLE table_16400 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) |
SELECT type FROM table_262495_1 WHERE nickname = "Pointers" | When pointers are the nickname what is the type? | CREATE TABLE table_262495_1 (type VARCHAR, nickname VARCHAR) |
SELECT gold FROM table_name_15 WHERE year = 1998 | Who won the gold medal in 1998? | CREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR) |
SELECT "Windows" FROM table_18012 WHERE "Release" = 'April 8' | Was the release on April 8 available on Windows? | CREATE TABLE table_18012 (
"Release" text,
"Title" text,
"Windows" text,
"5th Gen" text,
"6th Gen" text,
"Handheld" text
) |
SELECT type FROM table_262495_1 WHERE nickname = "Falcons" | When falcons are the nickname what is the type? | CREATE TABLE table_262495_1 (type VARCHAR, nickname VARCHAR) |
SELECT COUNT(year) FROM table_name_11 WHERE silver = "mika miyazato" | What is the total number of years when Mika Miyazato won the silver? | CREATE TABLE table_name_11 (year VARCHAR, silver VARCHAR) |
SELECT donator_name, SUM(amount) FROM endowment GROUP BY donator_name ORDER BY SUM(amount) DESC | List each donator name and the amount of endowment in descending order of the amount of endowment. | CREATE TABLE endowment (
donator_name VARCHAR,
amount INTEGER
) |
SELECT nickname FROM table_262495_1 WHERE undergraduate_enrollment = 9386 | When 9386 is the undergraduate enrollment what is the nickname? | CREATE TABLE table_262495_1 (nickname VARCHAR, undergraduate_enrollment VARCHAR) |
SELECT location FROM table_name_57 WHERE year > 2002 AND gold = "kim hyun-soo" | What is the location of the Asian Games after 2002 when Kim Hyun-soo won the gold? | CREATE TABLE table_name_57 (location VARCHAR, year VARCHAR, gold VARCHAR) |
SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 4 | this year what were the four most common lab tests? | CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
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,
hospitaladmitsource text,
unitadmittime time,
unitdischargetime time,
hospitaldischargetime time,
hospitaldischargestatus text
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
) |
SELECT song_choice FROM table_26250189_1 WHERE original_artist = "Stevie Wonder" | What was the choice of song where the original artist was Stevie Wonder? | CREATE TABLE table_26250189_1 (song_choice VARCHAR, original_artist VARCHAR) |
SELECT MIN(year) FROM table_name_51 WHERE gold = "kim hyun-soo" | What is the earliest year that kim hyun-soo won the gold? | CREATE TABLE table_name_51 (year INTEGER, gold VARCHAR) |
SELECT crew_chief FROM table_name_10 WHERE team = "chip ganassi racing with felix sabates" AND driver_s_ = "casey mears" | Who is the crew chief of team Chip Ganassi Racing with Felix Sabates, which has Casey Mears as the driver? | CREATE TABLE table_name_10 (
crew_chief VARCHAR,
team VARCHAR,
driver_s_ VARCHAR
) |
SELECT order__number FROM table_26250189_1 WHERE theme = "The Rolling Stones" | What was Katie's order number when the theme was The Rolling Stones? | CREATE TABLE table_26250189_1 (order__number VARCHAR, theme VARCHAR) |
SELECT uk_broadcast_date FROM table_name_68 WHERE countries_visited = "south africa" | What was the broadcast date of the episode that visited South Africa? | CREATE TABLE table_name_68 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) |
SELECT AVG(total) FROM table_name_97 WHERE nation = "kyrgyzstan" AND silver < 0 | What is the Total of kyrgyzstan with a Silver smaller than 0? | CREATE TABLE table_name_97 (
total INTEGER,
nation VARCHAR,
silver VARCHAR
) |
SELECT original_artist FROM table_26250189_1 WHERE theme = "The Rolling Stones" | Who was the original artist of the chosen song when the theme was The Rolling Stones? | CREATE TABLE table_26250189_1 (original_artist VARCHAR, theme VARCHAR) |
SELECT countries_visited FROM table_name_96 WHERE presenter = "natalia makarova" | Which country did Natalia Makarova visit? | CREATE TABLE table_name_96 (countries_visited VARCHAR, presenter VARCHAR) |
SELECT MIN(game) FROM table_11964263_13 | Name the minimum game | CREATE TABLE table_11964263_13 (
game INTEGER
) |
SELECT original_artist FROM table_26250155_1 WHERE theme = "First Solo" | Who was the original artist of the First solo theme? | CREATE TABLE table_26250155_1 (original_artist VARCHAR, theme VARCHAR) |
SELECT SUM(attendance) FROM table_name_25 WHERE date = "may 31" | How many people attended the game on May 31? | CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR) |
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | calculate the number of patients who were admitted to hospital during this year. | 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 patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name 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 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 d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age number
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
) |
SELECT COUNT(song_choice) FROM table_26250155_1 WHERE original_artist = "Bright Eyes" | What is the number of song choices where the original artist was Bright Eyes? | CREATE TABLE table_26250155_1 (song_choice VARCHAR, original_artist VARCHAR) |
SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10" | How many people attended the game on May 10? | CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR) |
SELECT others FROM table_name_93 WHERE fidesz = "62%" AND jobbik = "4%" | What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%? | CREATE TABLE table_name_93 (
others VARCHAR,
fidesz VARCHAR,
jobbik VARCHAR
) |
SELECT original_artist FROM table_26250155_1 WHERE theme = "Group Performance" | Who was the original artist of the group performance theme? | CREATE TABLE table_26250155_1 (original_artist VARCHAR, theme VARCHAR) |
SELECT MIN(overall) FROM table_name_87 WHERE round = 3 | Which Overall is the lowest one that has a Round of 3? | CREATE TABLE table_name_87 (overall INTEGER, round VARCHAR) |
SELECT Name, SUM(Num_Employees) FROM department AS T1 JOIN management AS T2 ON T1.department_ID = T2.department_ID WHERE T2.temporary_acting = 'Yes' GROUP BY Name ORDER BY Name | Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes' with a bar chart, show from low to high by the X. | CREATE TABLE management (
department_ID int,
head_ID int,
temporary_acting text
)
CREATE TABLE department (
Department_ID int,
Name text,
Creation text,
Ranking int,
Budget_in_Billions real,
Num_Employees real
)
CREATE TABLE head (
head_ID int,
name text,
born_state text,
age real
) |
SELECT order__number FROM table_26250155_1 WHERE theme = "Billboard Hot 100 Hits" AND original_artist = "Sixpence None the Richer" | What is the order number of the Billboard Hot 100 Hits theme and the original artist was Sixpence None the Richer? | CREATE TABLE table_26250155_1 (order__number VARCHAR, theme VARCHAR, original_artist VARCHAR) |
SELECT college FROM table_name_10 WHERE name = "kevin landolt" | Which college did kevin landolt attend? | CREATE TABLE table_name_10 (college VARCHAR, name VARCHAR) |
SELECT MIN("Points") FROM table_51420 WHERE "Tries" > '23' AND "Player" = 'tevita vaikona' | What is the lowest number of points that Tevita Vaikona scored when making more than 23 tries? | CREATE TABLE table_51420 (
"Player" text,
"Position" text,
"Tries" real,
"Goals" real,
"Points" real
) |
SELECT COUNT(week__number) FROM table_26250155_1 WHERE theme = "Billboard Hot 100 Hits" AND order__number = "3" AND original_artist = "Sixpence None the Richer" | What was the number of weeks that had a Billboard Hot 100 Hits theme, an order number of 3, and an original artist of Sixpence None the Richer? | CREATE TABLE table_26250155_1 (week__number VARCHAR, original_artist VARCHAR, theme VARCHAR, order__number VARCHAR) |
SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back" | Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back? | CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR) |
SELECT "Category" FROM table_68026 WHERE "Award" = 'people''s choice awards' | what is the category that has the people's choice awards? | CREATE TABLE table_68026 (
"Year" real,
"Result" text,
"Award" text,
"Category" text,
"Nominated work" text
) |
SELECT COUNT(joined) FROM table_262508_1 WHERE nickname = "Warriors" | How many joined the Warriors? | CREATE TABLE table_262508_1 (joined VARCHAR, nickname VARCHAR) |
SELECT college FROM table_name_13 WHERE pick__number > 25 AND round = 7 AND name = "chris white" | Which College has a Pick # larger than 25, and a Round of 7, and a Name of chris white? | CREATE TABLE table_name_13 (college VARCHAR, name VARCHAR, pick__number VARCHAR, round VARCHAR) |
SELECT no_of_s_barangay FROM table_269888_1 WHERE pop_density__per_km²_ = "205.4" | Name the number of barangay for 205.4 density | CREATE TABLE table_269888_1 (
no_of_s_barangay VARCHAR,
pop_density__per_km²_ VARCHAR
) |
SELECT joined FROM table_262508_1 WHERE enrollment = 1150 AND location = "Sioux City, Iowa" | How many joined when the enrollment was 1150 in Sioux City, Iowa? | CREATE TABLE table_262508_1 (joined VARCHAR, enrollment VARCHAR, location VARCHAR) |
SELECT AVG(game) FROM table_name_30 WHERE record = "16-63" | what was the average game when record was 16-63? | CREATE TABLE table_name_30 (game INTEGER, record VARCHAR) |
SELECT position_in_1998 FROM table_name_10 WHERE team = "slavia" | What was the position of the Slavia team in 1998? | CREATE TABLE table_name_10 (
position_in_1998 VARCHAR,
team VARCHAR
) |
SELECT nickname FROM table_262508_1 WHERE institution = "Briar Cliff University" | What is Briar Cliff University's nickname? | CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR) |
SELECT AVG(population) FROM table_name_54 WHERE median_household_income = "$40,340" AND number_of_households < 64 OFFSET 767 | Median household income of $40,340, and a Number of households smaller than 64,767 is what average population? | CREATE TABLE table_name_54 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) |
SELECT 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 = '013-9305')) AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY treatment.treatmenttime DESC LIMIT 1 | when was the last time that patient 013-9305 received a procedure in the previous year? | CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
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,
hospitaladmitsource text,
unitadmittime time,
unitdischargetime time,
hospitaldischargetime time,
hospitaldischargestatus text
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
) |
SELECT nickname FROM table_262508_1 WHERE institution = "Concordia University, Nebraska" | What is the nickname of the institution from Concordia University, Nebraska? | CREATE TABLE table_262508_1 (nickname VARCHAR, institution VARCHAR) |
SELECT party FROM table_name_69 WHERE result = "re-elected" AND incumbent = "robert p. kennedy" | What party was re-elected as an incumbent of robert p. Kennedy? | CREATE TABLE table_name_69 (party VARCHAR, result VARCHAR, incumbent VARCHAR) |
SELECT partner FROM table_name_73 WHERE outcome = "winner" AND date = "12 october 2003" | What is Partner, when Outcome is Winner, and when Date is 12 October 2003? | CREATE TABLE table_name_73 (
partner VARCHAR,
outcome VARCHAR,
date VARCHAR
) |
SELECT result FROM table_26250253_1 WHERE week__number = "Top 12" | Where the week # is Top 12, what is the result? | CREATE TABLE table_26250253_1 (result VARCHAR, week__number VARCHAR) |
SELECT incumbent FROM table_name_93 WHERE party = "democratic" AND district = "ohio 7" | Which democratic incumbent is from the district of ohio 7? | CREATE TABLE table_name_93 (incumbent VARCHAR, party VARCHAR, district VARCHAR) |
SELECT "City of license" FROM table_77613 WHERE "Frequency MHz" = '90.3 fm' | Tell me the city of license with frequency of Mhz of 90.3 fm | CREATE TABLE table_77613 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
) |
SELECT COUNT(result) FROM table_26250253_1 WHERE theme = "Group Round" | How many results are there with the theme Group Round? | CREATE TABLE table_26250253_1 (result VARCHAR, theme VARCHAR) |
SELECT result FROM table_name_16 WHERE party = "republican" AND first_elected = "1886" AND district = "ohio 17" | Which republican was first elected in 1886 in the district of ohio 17? | CREATE TABLE table_name_16 (result VARCHAR, district VARCHAR, party VARCHAR, first_elected VARCHAR) |
SELECT score FROM table_name_67 WHERE away_team = "spennymoor united" | What was the score when Spennymoor United as the away team? | CREATE TABLE table_name_67 (
score VARCHAR,
away_team VARCHAR
) |
SELECT COUNT(theme) FROM table_26250253_1 WHERE order__number = "9" | How many themes are there where the order # is 9? | CREATE TABLE table_26250253_1 (theme VARCHAR, order__number VARCHAR) |
SELECT result FROM table_name_15 WHERE district = "ohio 6" | Which result was in the district of ohio 6? | CREATE TABLE table_name_15 (result VARCHAR, district VARCHAR) |
SELECT T1.lastname FROM customer AS T1 JOIN employee AS T2 ON T1.supportrepid = T2.employeeid GROUP BY T1.supportrepid HAVING COUNT(*) <= 20 | Please show the employee last names that serves no more than 20 customers. | CREATE TABLE playlist (
playlistid number,
name text
)
CREATE TABLE customer (
customerid number,
firstname text,
lastname text,
company text,
address text,
city text,
state text,
country text,
postalcode text,
phone text,
fax text,
email text,
supportrepid number
)
CREATE TABLE playlisttrack (
playlistid number,
trackid number
)
CREATE TABLE invoice (
invoiceid number,
customerid number,
invoicedate time,
billingaddress text,
billingcity text,
billingstate text,
billingcountry text,
billingpostalcode text,
total number
)
CREATE TABLE invoiceline (
invoicelineid number,
invoiceid number,
trackid number,
unitprice number,
quantity number
)
CREATE TABLE mediatype (
mediatypeid number,
name text
)
CREATE TABLE track (
trackid number,
name text,
albumid number,
mediatypeid number,
genreid number,
composer text,
milliseconds number,
bytes number,
unitprice number
)
CREATE TABLE artist (
artistid number,
name text
)
CREATE TABLE album (
albumid number,
title text,
artistid number
)
CREATE TABLE employee (
employeeid number,
lastname text,
firstname text,
title text,
reportsto number,
birthdate time,
hiredate time,
address text,
city text,
state text,
country text,
postalcode text,
phone text,
fax text,
email text
)
CREATE TABLE genre (
genreid number,
name text
) |
SELECT order__number FROM table_26250253_1 WHERE week__number = "Top 10" | The order # is what for the week # Top 10? | CREATE TABLE table_26250253_1 (order__number VARCHAR, week__number VARCHAR) |
SELECT first_elected FROM table_name_45 WHERE result = "retired republican gain" AND district = "ohio 21" | Who was first elected as the result of a retired republican gain in the district of ohio 21? | CREATE TABLE table_name_45 (first_elected VARCHAR, result VARCHAR, district VARCHAR) |
SELECT "Villains" FROM table_25688 WHERE "Title" = 'The Others' | Who are the villains in 'the others'? | CREATE TABLE table_25688 (
"Episode Number" text,
"Title" text,
"Villains" text,
"Director" text,
"Writer" text,
"Original airdate" text
) |
SELECT week__number FROM table_26250253_1 WHERE original_artist = "The Temptations" | The original artist The Temptations has what week #? | CREATE TABLE table_26250253_1 (week__number VARCHAR, original_artist VARCHAR) |
SELECT opponent FROM table_name_66 WHERE game > 3 AND date = "may 9" | On May 9 after Game 3, what was the Opponent? | CREATE TABLE table_name_66 (opponent VARCHAR, game VARCHAR, date VARCHAR) |
SELECT "Team" FROM table_50163 WHERE "Location Attendance" = 'seattle center coliseum 12,591' | What team has a location and attendance at the Seattle Center Coliseum 12,591? | CREATE TABLE table_50163 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) |
SELECT COUNT(founded) FROM table_262505_1 WHERE type = "Public" AND enrollment = "780" | Name the total number of founded for public and 780 enrollment | CREATE TABLE table_262505_1 (founded VARCHAR, type VARCHAR, enrollment VARCHAR) |
SELECT player FROM table_name_92 WHERE position = "number 8" AND club_province = "scarlets" | Which Player has a Position of number 8, and a Club/province of scarlets? | CREATE TABLE table_name_92 (player VARCHAR, position VARCHAR, club_province VARCHAR) |
SELECT final_score FROM table_name_26 WHERE stadium = "texas stadium" | What was the final score of the game at Texas Stadium? | CREATE TABLE table_name_26 (
final_score VARCHAR,
stadium VARCHAR
) |
SELECT founded FROM table_262505_1 WHERE current_conference = "school closed in 2005" | Name the founded for school closed in 2005 | CREATE TABLE table_262505_1 (founded VARCHAR, current_conference VARCHAR) |
SELECT club_province FROM table_name_75 WHERE position = "centre" AND caps = 27 | Which Club/province has a Position of centre, and Caps of 27? | CREATE TABLE table_name_75 (club_province VARCHAR, position VARCHAR, caps VARCHAR) |
SELECT AVG("Game") FROM table_38452 WHERE "Record" = '27-11-10' | Which Game has a Record of 27-11-10? | CREATE TABLE table_38452 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text
) |
SELECT nickname FROM table_262527_1 WHERE joined = "1902 1" | what is the nickname that joined 1902 1? | CREATE TABLE table_262527_1 (nickname VARCHAR, joined VARCHAR) |
SELECT position FROM table_name_59 WHERE player = "alun wyn jones" | What position does alun wyn jones play? | CREATE TABLE table_name_59 (position VARCHAR, player VARCHAR) |
SELECT average FROM table_26375386_28 WHERE number_of_dances = 1 | What is every average when number of dances is 1? | CREATE TABLE table_26375386_28 (
average VARCHAR,
number_of_dances VARCHAR
) |
SELECT type FROM table_262527_1 WHERE institution = "Ottawa University" | what type of institution is ottawa university? | CREATE TABLE table_262527_1 (type VARCHAR, institution VARCHAR) |
SELECT date_of_birth__age_ FROM table_name_47 WHERE club_province = "blues" AND caps > 0 AND player = "tom james" | Which Date of Birth (Age) has a Club/province of blues, and Caps larger than 0, and a Player of tom james? | CREATE TABLE table_name_47 (date_of_birth__age_ VARCHAR, player VARCHAR, club_province VARCHAR, caps VARCHAR) |
SELECT demographic.admission_type, demographic.expire_flag FROM demographic WHERE demographic.name = "James Sloan" | what is admission type and death status of subject name james sloan? | 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,
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,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
) |
SELECT COUNT(nickname) FROM table_262527_1 WHERE institution = "Southwestern College" | what is the total number of nicknames for southwestern college? | CREATE TABLE table_262527_1 (nickname VARCHAR, institution VARCHAR) |
SELECT MIN(caps) FROM table_name_70 WHERE club_province = "ospreys" AND date_of_birth__age_ = "19 september 1985" | Which Caps is the lowest one that has a Club/province of ospreys, and a Date of Birth (Age) of 19 september 1985? | CREATE TABLE table_name_70 (caps INTEGER, club_province VARCHAR, date_of_birth__age_ VARCHAR) |
SELECT SUM("Year") FROM table_46974 WHERE "Date" = 'september 26' | In what Year was the Game on September 26? | CREATE TABLE table_46974 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Loser" text,
"Location" text
) |
SELECT type FROM table_262527_1 WHERE joined = "1902 5" | what type was joined in 1902 5? | CREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR) |
SELECT AVG(attendance) FROM table_name_40 WHERE home = "blues" | What is the average attendance of the game where the home team was the Blues? | CREATE TABLE table_name_40 (attendance INTEGER, home VARCHAR) |
SELECT CreationDate, Id AS "comment_link" FROM Comments WHERE LOWER(Text) LIKE '%edited%' AND CreationDate >= '2019-01-01' ORDER BY LENGTH(Text) LIMIT 1000 | Comments including the word 'edited'. | CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text,
LastEditDate time,
LastActivityDate time,
Title text,
Tags text,
AnswerCount number,
CommentCount number,
FavoriteCount number,
ClosedDate time,
CommunityOwnedDate time,
ContentLicense text
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text,
LastEditDate time,
LastActivityDate time,
Title text,
Tags text,
AnswerCount number,
CommentCount number,
FavoriteCount number,
ClosedDate time,
CommunityOwnedDate time,
ContentLicense text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
ApprovalDate time,
ApprovalModeratorId number,
DeactivationDate time,
DeactivationModeratorId number
) |
SELECT institution FROM table_262527_1 WHERE location = "North Newton, Kansas" | what is the institution located in north newton, kansas? | CREATE TABLE table_262527_1 (institution VARCHAR, location VARCHAR) |
SELECT MAX(823 AS _g__127_gr_) FROM table_name_80 WHERE bullet_weight_gram__grain_ = "8x64mm s" AND case_capacity___percentage_ < 110.3 | Which 8.23 g (127 gr) is the highest one that has a Bullet weight gram (grain) of 8x64mm s, and a Case capacity (%) smaller than 110.3? | CREATE TABLE table_name_80 (bullet_weight_gram__grain_ VARCHAR, case_capacity___percentage_ VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.dob_year < "2092" | count the number of inpatient hospital admission patients born before 2092. | CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location text,
discharge_location text,
diagnosis text,
dod text,
dob_year text,
dod_year text,
admittime text,
dischtime text,
admityear text
)
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 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 institution FROM table_262560_1 WHERE founded = 1920 | Name the place that was founded in 1920 | CREATE TABLE table_262560_1 (institution VARCHAR, founded VARCHAR) |
SELECT position FROM table_name_51 WHERE level = 3 AND nationality = "saint kitts and nevis" | What is the Position of the Level 3 winner from Saint Kitts and Nevis? | CREATE TABLE table_name_51 (position VARCHAR, level VARCHAR, nationality VARCHAR) |
SELECT Answers.Id AS "post_link", Answers.CreationDate AS "Answered Date", Questions.CreationDate AS "Asked Date", DATEDIFF(day, Questions.CreationDate, CreationDate) AS "Date Delta Days", Answers.Score FROM Posts AS Answers INNER JOIN Posts AS Questions ON Answers.PostTypeId = 2 AND Answers.OwnerUserId = '##UserId?895245##' AND Answers.CreationDate < '##Date?9999-01-01##' AND Questions.Id = Answers.ParentId AND DATEDIFF(day, Questions.CreationDate, CreationDate) > 60 ORDER BY Answers.Score | Potential necromancer answers for a given user: answers with questions 60 days older or more. | CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text,
LastEditDate time,
LastActivityDate time,
Title text,
Tags text,
AnswerCount number,
CommentCount number,
FavoriteCount number,
ClosedDate time,
CommunityOwnedDate time,
ContentLicense text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text,
LastEditDate time,
LastActivityDate time,
Title text,
Tags text,
AnswerCount number,
CommentCount number,
FavoriteCount number,
ClosedDate time,
CommunityOwnedDate time,
ContentLicense text
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
ApprovalDate time,
ApprovalModeratorId number,
DeactivationDate time,
DeactivationModeratorId number
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PostTags (
PostId number,
TagId number
) |
SELECT type FROM table_262560_1 WHERE joined = 2007 | Name the type that joined 2007 | CREATE TABLE table_262560_1 (type VARCHAR, joined VARCHAR) |
SELECT MIN(goals) FROM table_name_95 WHERE level > 5 | What Goals with a Level of 5 or greater is the lowest? | CREATE TABLE table_name_95 (goals INTEGER, level INTEGER) |
SELECT SUM(budget) FROM department WHERE dept_name = 'Marketing' OR dept_name = 'Finance' | What is the sum of budgets of the Marketing and Finance departments? | CREATE TABLE prereq (
course_id text,
prereq_id text
)
CREATE TABLE takes (
id text,
course_id text,
sec_id text,
semester text,
year number,
grade text
)
CREATE TABLE teaches (
id text,
course_id text,
sec_id text,
semester text,
year number
)
CREATE TABLE instructor (
id text,
name text,
dept_name text,
salary number
)
CREATE TABLE course (
course_id text,
title text,
dept_name text,
credits number
)
CREATE TABLE time_slot (
time_slot_id text,
day text,
start_hr number,
start_min number,
end_hr number,
end_min number
)
CREATE TABLE department (
dept_name text,
building text,
budget number
)
CREATE TABLE advisor (
s_id text,
i_id text
)
CREATE TABLE student (
id text,
name text,
dept_name text,
tot_cred number
)
CREATE TABLE section (
course_id text,
sec_id text,
semester text,
year number,
building text,
room_number text,
time_slot_id text
)
CREATE TABLE classroom (
building text,
room_number text,
capacity number
) |
SELECT COUNT(no_in_series) FROM table_26259391_1 WHERE us_viewers__million_ = "6.55" AND directed_by = "Pete Michels" | how many series had 6.55 u.s. viewers (million) and were directed by pete michels | CREATE TABLE table_26259391_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR, directed_by VARCHAR) |
SELECT position FROM table_name_23 WHERE goals = 18 AND level = 5 | What is the Position of the winner with 18 Goals and Level of 5? | CREATE TABLE table_name_23 (position VARCHAR, goals VARCHAR, level VARCHAR) |
SELECT transfers.wardid FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13473) AND NOT transfers.wardid IS NULL AND DATETIME(transfers.intime) <= DATETIME(CURRENT_TIME(), '-4 year') ORDER BY transfers.intime DESC LIMIT 1 | what is patient 13473's last ward id until 4 years ago? | CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age number
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
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 microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name 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 icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
) |
SELECT no_in_series FROM table_26259391_1 WHERE production_code = "8ACX05" | how many series have production code 8acx05 | CREATE TABLE table_26259391_1 (no_in_series VARCHAR, production_code VARCHAR) |
SELECT university_students_and_adults__18yrs + _ FROM table_name_86 WHERE specification = "minimum diameter of sakigawa" AND gender = "female" | Which University students and adults have minimum diameter of Sakigawa for female gender? | CREATE TABLE table_name_86 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, specification VARCHAR, gender VARCHAR) |
SELECT location_attendance FROM table_17323092_6 WHERE team = "Orlando" | What is the location and attendance for the Orlando team? | CREATE TABLE table_17323092_6 (
location_attendance VARCHAR,
team VARCHAR
) |
SELECT COUNT(us_viewers__million_) FROM table_26259391_1 WHERE written_by = "Chris Sheridan & Danny Smith" | how many u.s. viewers (million) have seen a production written by chris sheridan & danny smith | CREATE TABLE table_26259391_1 (us_viewers__million_ VARCHAR, written_by VARCHAR) |
SELECT junior_high_school__12_15_yrs_ FROM table_name_97 WHERE gender = "male and female" | Which junior high school has male and female genders? | CREATE TABLE table_name_97 (junior_high_school__12_15_yrs_ VARCHAR, gender VARCHAR) |
SELECT COUNT("Mark") FROM table_9646 WHERE "Country" = 'russia' AND "React" < '0.165' | What is the total number of Mark, when Country is 'Russia', and when React is less than 0.165? | CREATE TABLE table_9646 (
"Lane" real,
"Name" text,
"Country" text,
"Mark" real,
"React" real
) |
SELECT production_code FROM table_26259391_1 WHERE written_by = "Andrew Goldberg" | which production codes were written by andrew goldberg | CREATE TABLE table_26259391_1 (production_code VARCHAR, written_by VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.