text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE Sugge... |
### Context: CREATE TABLE table_64464 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Rank of the swimmer with a Time of 49 in Lane 7 or larger?
### Query: SELECT COUNT(... |
### Context: CREATE TABLE table_54290 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team was the home team when th... |
### Context: 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 admissions (
row_id number,
subject_id number,
hadm_id number,
admittime ... |
### Context: CREATE TABLE table_26537 (
"Edition" text,
"Round" text,
"Date" text,
"Against" text,
"Surface" text,
"Opponent" text,
"Win/Lose" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every surface against Sw... |
### Context: 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,
in... |
### Context: CREATE TABLE table_name_9 (
khmer INTEGER,
ala_lc VARCHAR,
value VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is smallest Khmer valued less than 90 have a kau sip ALA-LC?
### Query: SELECT MIN(khmer) FROM table_name_9 WHERE ala_lc = ... |
### Context: CREATE TABLE table_204_479 (
id number,
"defendant" text,
"arrested" text,
"charge" text,
"result" text,
"sentence" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the only defendant who was tried and found not guilty ?
###... |
### Context: CREATE TABLE table_name_48 (
winner VARCHAR,
points_classification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner in the stage that Damiano Cunego led the points classification?
### Query: SELECT winner FROM table_name_48 WHE... |
### Context: CREATE TABLE table_name_80 (
score VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score at Olympia fields, illinois?
### Query: SELECT score FROM table_name_80 WHERE location = "olympia fields, illinois" |
### Context: CREATE TABLE table_24881 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which series ... |
### Context: CREATE TABLE table_70890 (
"Auckland" text,
"Gold Coast" text,
"Sydney" text,
"Melbourne" text,
"Adelaide" text,
"Perth" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Perth has Auckland yes and Gold Coast yes?
### Query: SEL... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: 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,
... |
### Context: CREATE TABLE table_name_10 (
release_date VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the release date of Forward March Hare?
### Query: SELECT release_date FROM table_name_10 WHERE title = "forward march hare" |
### Context: CREATE TABLE table_58204 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date was the Home Team Scor... |
### Context: CREATE TABLE table_58498 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the away team score when th... |
### Context: CREATE TABLE table_57264 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home team score that pl... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE admissions (
... |
### Context: CREATE TABLE table_14146 (
"Manufacturer" text,
"Transmission" text,
"Engine Capacity" real,
"Fuel Type" text,
"L/100km Urban (Cold)" real,
"L/100km Extra-Urban" real,
"L/100km Combined" real,
"mpg-UK Urban (Cold)" real,
"mpg-UK Extra-Urban" real,
"mpg-UK Combined" r... |
### Context: CREATE TABLE table_6357 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest drawn that has games less than 7?
### Query: SELECT MIN("Drawn") FR... |
### Context: 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 ... |
### Context: CREATE TABLE table_55481 (
"Tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the categorization in 2010 when it was A in 2008 and 20... |
### Context: CREATE TABLE table_49983 (
"Name" text,
"Built" text,
"Listed" text,
"Location" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date Listed of the Bridge Built CA.1876?
### Query: SELECT "Listed" FROM table_49... |
### Context: CREATE TABLE table_42839 (
"Name" text,
"Seat" text,
"Population (2011)" real,
"Area (km 2 )" real,
"Density (inhabitants/km 2 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest population for the area that has a densi... |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_name_4 (
player VARCHAR,
lifespan VARCHAR,
rank VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963 ?
### Query: SELECT playe... |
### Context: CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Ad... |
### Context: CREATE TABLE ref_service_types (
service_type_code text,
parent_service_type_code text,
service_type_description text
)
CREATE TABLE drama_workshop_groups (
workshop_group_id number,
address_id number,
currency_code text,
marketing_region_code text,
store_name text,
sto... |
### Context: CREATE TABLE table_name_44 (
team VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team for school of milford
### Query: SELECT team FROM table_name_44 WHERE school = "milford" |
### Context: CREATE TABLE employees (
employee_id VARCHAR,
job_id VARCHAR,
salary INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- display the employee number and job id for all employees whose salary is smaller than any salary of those employees whose job... |
### Context: 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 tex... |
### Context: CREATE TABLE journal (
journal_id number,
date text,
theme text,
sales number
)
CREATE TABLE journal_committee (
editor_id number,
journal_id number,
work_type text
)
CREATE TABLE editor (
editor_id number,
name text,
age number
)
-- Using valid SQLite, answer th... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostTags (
... |
### Context: CREATE TABLE table_name_48 (
division_record VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Panthers' Division Record?
### Query: SELECT division_record FROM table_name_48 WHERE team = "panthers" |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE Ref_Address_Types (
address_type_code VARCHAR(15),
address_type_description VARCHAR(80)
)
CREATE TABLE Student_Addresses (
student_id INTEGER,
address_id INTEGER,
date_address_from DATETIME,
date_address_to DATETIME,
monthly_rental DECIMAL(19,4),
other_details ... |
### Context: CREATE TABLE table_203_573 (
id number,
"name" text,
"rank - 2000" number,
"number" number,
"country of origin" text,
"england - 2001" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which are they only two names that have spain as t... |
### Context: CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
TXBZ number,
ZZBZ number,
WDBZ number,
JZKSBM text,
JZKSMC text,
... |
### Context: CREATE TABLE table_69732 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Outcome for the Date of July 16, 2011?
### Query: SELECT "O... |
### Context: CREATE TABLE architect (
id VARCHAR,
name VARCHAR
)
CREATE TABLE bridge (
architect_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the ids and names of the architects who built at least 3 bridges ?
### Query: SELECT T1.id, T1.n... |
### Context: CREATE TABLE table_name_1 (
driver VARCHAR,
chassis VARCHAR,
rounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who drove the car with the n175 chassis in round 13?
### Query: SELECT driver FROM table_name_1 WHERE chassis = "n175" AND ro... |
### Context: CREATE TABLE table_train_206 (
"id" int,
"gender" string,
"pregnancy_or_lactation" bool,
"systolic_blood_pressure_sbp" int,
"hematocrit_hct" float,
"diabetic" string,
"contraception" bool,
"diastolic_blood_pressure_dbp" int,
"serum_creatinine" float,
"NOUSE" float
)
... |
### Context: CREATE TABLE table_26267607_2 (
pole_position VARCHAR,
winning_driver VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the circuit Showevent Olympiastadion M nchen, where the winning driver is Bruno Spengler, what is the po... |
### Context: CREATE TABLE table_45029 (
"Driver" text,
"Points" real,
"Wins" real,
"Top 5" real,
"Top 10" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Frank Kimmel's lowest top 5 with more than 0 wins and fewer than 14 top 10s?
### Query:... |
### Context: CREATE TABLE table_name_61 (
outcome VARCHAR,
championship VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Outcome has a Championship of us championships, and a Score in the final of 5 7, 6 1, 6 3, 6 3?
### ... |
### Context: CREATE TABLE table_48668 (
"Cat. #" text,
"Artist" text,
"Title" text,
"Release date" text,
"Format" text,
"Other information" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title released on 24 July 2005?
### Query: SE... |
### Context: CREATE TABLE table_name_70 (
coding VARCHAR,
variant_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?
### Query: SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1... |
### Context: 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,
admissi... |
### Context: 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,
hospitaladmitti... |
### Context: CREATE TABLE table_10257 (
"Team" text,
"Stadium" text,
"Capacity" real,
"Highest" real,
"Lowest" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the lowest in attendance when the average is 1,166 a... |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
... |
### Context: CREATE TABLE table_52612 (
"Block A" text,
"Akira" text,
"Atsushi Aoki" text,
"Black Tiger V" text,
"Jado" text,
"Milano Collection A.T." text,
"Prince Devitt" text,
"Tiger Mask IV" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: 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,
admissi... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_11947 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest Crowd Size for ... |
### Context: CREATE TABLE table_54839 (
"Block A" text,
"Antonio Thomas" text,
"Hikaru Sato" text,
"Hiroshi Yamato" text,
"Kaz Hayashi" text,
"Minoru" text,
"Super Crazy" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the block A for... |
### Context: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_895 (
"Model Number" text,
"Stepping" text,
"Frequency" text,
"L2 Cache" text,
"HT" text,
"Multi 1" text,
"V Core" text,
"TDP" text,
"Socket" text,
"Release Date" text,
"Part Number(s)" text
)
-- Using valid SQLite, answer the following quest... |
### Context: CREATE TABLE table_20530 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Team Nickname" text,
"Primary conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the u... |
### Context: CREATE TABLE table_26002 (
"Province" text,
"Mahmoud Ahmadinejad" real,
"Mehdi Karroubi" real,
"Mir-Hossein Mousavi" real,
"Mohsen Rezaee" real,
"Spoiled ballots" real,
"Total votes" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
... |
### Context: CREATE TABLE table_name_20 (
date VARCHAR,
distance VARCHAR,
course VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio?
### Query: SELECT date FR... |
### Context: CREATE TABLE table_name_66 (
club VARCHAR,
league_goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Club has a League goals of 21?
### Query: SELECT club FROM table_name_66 WHERE league_goals = "21" |
### Context: CREATE TABLE table_22788 (
"Match no." real,
"Match Type" text,
"Team Europe" text,
"Score" text,
"Team USA" text,
"Progressive Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different scores did Team Europe get when... |
### Context: CREATE TABLE Transactions_Lots (
transaction_id INTEGER,
lot_id INTEGER
)
CREATE TABLE Investors (
investor_id INTEGER,
Investor_details VARCHAR(255)
)
CREATE TABLE Purchases (
purchase_transaction_id INTEGER,
purchase_details VARCHAR(255)
)
CREATE TABLE Sales (
sales_transac... |
### Context: CREATE TABLE table_name_17 (
episodes INTEGER,
tv_station VARCHAR,
japanese_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Episodes have a TV Station of ntv, and a Japanese Title of ?
### Query: SELECT AVG(episodes) FROM table_n... |
### Context: CREATE TABLE table_name_60 (
year VARCHAR,
original_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year of Meg ll az Id ?
### Query: SELECT year FROM table_name_60 WHERE original_title = "megáll az idö" |
### Context: CREATE TABLE table_70475 (
"Year" real,
"Chassis" text,
"Engine" text,
"Tyres" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least Points with Chassis of forti fg01b forti fg03, and a year less than 1996?
##... |
### Context: CREATE TABLE table_203_631 (
id number,
"year" number,
"name of show" text,
"episodes" text,
"other guests" text,
"winner(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many episodes was charmaine sheh on in the variety show... |
### Context: CREATE TABLE table_name_60 (
segment_d VARCHAR,
segment_a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the segment D for umbrellas
### Query: SELECT segment_d FROM table_name_60 WHERE segment_a = "umbrellas" |
### Context: CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flig... |
### Context: CREATE TABLE table_204_394 (
id number,
"year" number,
"album" text,
"label" text,
"peak chart\npositions\nus" number,
"peak chart\npositions\nus r&b" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year was the only album ... |
### Context: CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE table_45450 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the place for gary player?
### Query: SELECT "Place" FROM table_45450 WHERE "Player" ... |
### Context: CREATE TABLE table_34470 (
"Party" text,
"Votes" real,
"Share" text,
"Change" text,
"Seats" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the change for english democrats
### Query: SELECT "Change" FROM table_34470 WHERE "Party" ... |
### Context: CREATE TABLE table_name_72 (
score VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of game 37?
### Query: SELECT score FROM table_name_72 WHERE game = 37 |
### Context: 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,
... |
### Context: CREATE TABLE table_57281 (
"Last" text,
"First" text,
"Year" real,
"Sport" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the last for softball before 2000
### Query: SELECT "Last" FROM table_57281 WHERE "Year" < '... |
### Context: CREATE TABLE table_1413 (
"Country" text,
"Freedom in the World 2013" text,
"2013 Index of Economic Freedom" text,
"2013 Press Freedom Index" text,
"2012 Democracy Index" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of gover... |
### Context: CREATE TABLE table_224672_2 (
term_began VARCHAR,
term_ended VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the term begin that ended January 3, 1995?
### Query: SELECT term_began FROM table_224672_2 WHERE term_ended = "January 3, 1995... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
... |
### Context: CREATE TABLE documents_mailed (
document_id number,
mailed_to_address_id number,
mailing_date time
)
CREATE TABLE ref_document_status (
document_status_code text,
document_status_description text
)
CREATE TABLE document_drafts (
document_id number,
draft_number number,
dra... |
### Context: CREATE TABLE table_name_64 (
year INTEGER,
album VARCHAR,
us_hot_100 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year has an Album of airwaves, and a US Hot 100 of ?
### Query: SELECT MAX(year) FROM table_name_64 WHERE album = "air... |
### Context: CREATE TABLE table_58075 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Away team score for mcg... |
### Context: CREATE TABLE table_27478 (
"Rank" real,
"Rank w/o Hydropower" real,
"State" text,
"% Renewable" text,
"% Renewable w/o Hydro" text,
"Renewable electricity (GW\u00b7h)" real,
"Renewable electricity w/o Hydro (GW\u00b7h)" real,
"Total electricity (GW\u00b7h)" real
)
-- Using... |
### Context: CREATE TABLE diagnoses (
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 ... |
### Context: CREATE TABLE Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_description VARCHAR(255)
)
CREATE TABLE Student_Tests_Taken (
registration_id INTEGER,
date_test_taken DATETIME,
test_result VARCHAR(255)
)
CREATE TABLE Studen... |
### Context: CREATE TABLE table_1820752_1 (
signal_power___kw__ VARCHAR,
arrival_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the arrival date is January 2059, what is the total amount of signal power?
### Query: SELECT COUNT(signal_power___kw__) ... |
### Context: CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBL... |
### Context: CREATE TABLE table_name_10 (
score VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for 1911?
### Query: SELECT score FROM table_name_10 WHERE year = 1911 |
### Context: CREATE TABLE table_17598822_11 (
league VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of league cup for mark roberts
### Query: SELECT COUNT(league) AS Cup FROM table_17598822_11 WHERE player = "Mark Rober... |
### Context: CREATE TABLE table_name_30 (
zone INTEGER,
champion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Zone has a Champion of surozh sudak?
### Query: SELECT SUM(zone) FROM table_name_30 WHERE champion = "surozh sudak" |
### Context: CREATE TABLE table_203_5 (
id number,
"season" text,
"competition" text,
"round" text,
"opponent" text,
"home" text,
"away" text,
"aggregate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many home games did st. gallen ... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress tex... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.