text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_38 (
losing_bp VARCHAR,
played VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Losing BP that has Played of 22, and the Lost of 5?
### Query: SELECT losing_bp FROM table_name_38 WHERE... |
### Context: CREATE TABLE Catalog_Contents_Additional_Attributes (
catalog_entry_id INTEGER,
catalog_level_number INTEGER,
attribute_id INTEGER,
attribute_value VARCHAR(255)
)
CREATE TABLE Catalog_Contents (
catalog_entry_id INTEGER,
catalog_level_number INTEGER,
parent_entry_id INTEGER,
... |
### Context: CREATE TABLE hz_info_mzjzjlb (
JZLSH number,
YLJGDM number,
mzjzjlb_id number
)
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
... |
### Context: CREATE TABLE table_14840 (
"Country" text,
"Film title used in nomination" text,
"Language" text,
"Original name" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Director that speaks dutch?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_31 (
player VARCHAR,
pick__number VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Pick # lower than 223 and a Defensive End Position?
### Query: SELECT player FROM table_name_31 WH... |
### Context: CREATE TABLE table_23413 (
"No. overall" text,
"No. in series" real,
"Family/families" text,
"Location(s)" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of locations for uk32
### Query: SELECT... |
### Context: CREATE TABLE table_name_87 (
drawn VARCHAR,
bonus_points VARCHAR,
points_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was drawn for 6 bonus points and is against 410 points?
### Query: SELECT drawn FROM table_name_87 WHERE bo... |
### 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_204_144 (
id number,
"represent" number,
"contestant" text,
"age" number,
"height" text,
"hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many contestants are at least 21 years old ?
### Query: SELEC... |
### Context: CREATE TABLE services (
service_type_code VARCHAR,
service_id VARCHAR
)
CREATE TABLE EVENTS (
service_id VARCHAR,
event_details VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which services type had both successful and failure event det... |
### Context: CREATE TABLE table_name_73 (
series VARCHAR,
podiums INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What series had more than 10 Podiums?
### Query: SELECT series FROM table_name_73 WHERE podiums > 10 |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
e... |
### Context: CREATE TABLE table_1537 (
"Place" real,
"Weightlifter" text,
"Body weight" text,
"one hand snatch" text,
"one hand clean & jerk" text,
"Press" text,
"Snatch" text,
"1." text,
"2." text,
"3." text,
"Total" text
)
-- Using valid SQLite, answer the following quest... |
### Context: CREATE TABLE table_64677 (
"World record" text,
"Snatch" text,
"Akakios Kakiasvilis ( GRE )" text,
"188kg" text,
"Athens , Greece" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Akakios Kakiasvilis (GRE) is 187kg the 188kg?
### Qu... |
### Context: CREATE TABLE table_name_77 (
overall INTEGER,
executive_appointments VARCHAR,
background VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the most overall when the executive appointments were 28 and the background was smaller than 37?
... |
### Context: CREATE TABLE table_name_31 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the Opponents on December 18, 2005?
### Query: SELECT opponent FROM table_name_31 WHERE date = "december 18, 2005" |
### Context: CREATE TABLE table_31097 (
"Stage" real,
"Winner" text,
"General Classification" text,
"Mountains Classification" text,
"Sprint Classification" text,
"Young Rider Classification" text,
"Team Classification" text,
"Aggressive Rider" text
)
-- Using valid SQLite, answer the ... |
### Context: CREATE TABLE table_28181347_6 (
position_in_table VARCHAR,
replaced_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Mark Stimson started his job in 2007-08 what posiiton was the team on the table
### Query: SELECT position_in_table FROM ... |
### Context: CREATE TABLE table_120778_2 (
jurisdiction VARCHAR,
percent_yes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the jurisdiction where percent yes is 43.4
### Query: SELECT jurisdiction FROM table_120778_2 WHERE percent_yes = "43.4" |
### Context: CREATE TABLE table_70906 (
"Director(s)" text,
"Writer(s)" text,
"Recipient" text,
"Date" text,
"Award" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was Edward Jeffreys the writer?
### Query: SELECT "Date" FROM table_709... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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,
I... |
### 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_59066 (
"Shooter" text,
"Event" text,
"Rank points" text,
"Score points" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the event where there are 10 score points?
### Query: SELECT "Event" FROM ... |
### Context: CREATE TABLE table_name_68 (
time VARCHAR,
set_3 VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Time has a Set 3 of 24 26, and a Score of 0 3?
### Query: SELECT time FROM table_name_68 WHERE set_3 = "24–26" AND score = ... |
### Context: CREATE TABLE table_name_38 (
population__2004_ INTEGER,
moroccan_population INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Population (2004) has a Moroccan population larger than 234506?
### Query: SELECT AVG(population__2004_) FROM table... |
### Context: CREATE TABLE table_8297 (
"Player" text,
"Wkts" real,
"Runs" real,
"Econ" real,
"Ovrs" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Ovrs, when Econ is 2.02?
### Query: SELECT MAX("Ovrs") FROM table_8297 WHERE "Eco... |
### Context: CREATE TABLE table_61750 (
"Champions" text,
"Runners-up" text,
"Third-place" text,
"Fourth-place" text,
"Semi-finalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What runner(s)-up has 1 (2013) as the champions?
### Query: SELECT... |
### Context: CREATE TABLE table_name_42 (
laps INTEGER,
start VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of laps with a 21 start?
### Query: SELECT MAX(laps) FROM table_name_42 WHERE start = "21" |
### Context: 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 outputevents (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: CREATE TABLE table_name_43 (
grade VARCHAR,
chin_up__reps_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If a person does 3 chin-up reps, what grade do they obtain?
### Query: SELECT grade FROM table_name_43 WHERE chin_up__reps_ = "3" |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
h... |
### Context: CREATE TABLE table_name_54 (
pali VARCHAR,
english VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Pali has an English of mindfulness of breathing?
### Query: SELECT pali FROM table_name_54 WHERE english = "mindfulness of breathing" |
### Context: CREATE TABLE table_2679061_4 (
nhl_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team drafted Esa Tikkanen?
### Query: SELECT nhl_team FROM table_2679061_4 WHERE player = "Esa Tikkanen" |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
CO... |
### Context: CREATE TABLE table_204_688 (
id number,
"name" text,
"red vs. blue" text,
"couples team" text,
"status" text,
"weight" text,
"total votes" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many contestants were eliminated in ... |
### Context: CREATE TABLE table_11898 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On September 25, 1994 what was the final sc... |
### Context: CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
JYZBLSH te... |
### Context: CREATE TABLE table_name_31 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the away team score in a game with north melbourne as home team?
### Query: SELECT away_team AS score FROM table_name_31 WHERE hom... |
### Context: CREATE TABLE table_21761882_4 (
date VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game in week 3?
### Query: SELECT date FROM table_21761882_4 WHERE week = 3 |
### Context: CREATE TABLE table_65523 (
"Country" text,
"Builder" text,
"Location" text,
"Ship" text,
"Class / type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which ship was launched from Devonport, Devon?
### Query: SELECT "Ship" FROM table_6... |
### Context: CREATE TABLE table_203_784 (
id number,
"no. in\nseries" number,
"no. in\nseason" number,
"performer" text,
"appearance" text,
"air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- did al jackson air before or after kyle kinane ... |
### Context: CREATE TABLE table_name_42 (
winning_constructor VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the winning constructor for the paris cup
### Query: SELECT winning_constructor FROM table_name_42 WHERE name = "paris cup" |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2... |
### Context: CREATE TABLE table_64197 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the bronze count for South Africa (RSA) with a total more than 16?
### ... |
### Context: CREATE TABLE channel (
Channel_ID int,
Name text,
Owner text,
Share_in_percent real,
Rating_in_percent real
)
CREATE TABLE program (
Program_ID int,
Name text,
Origin text,
Launch real,
Owner text
)
CREATE TABLE broadcast_share (
Channel_ID int,
Program_ID ... |
### Context: CREATE TABLE nuclear_power_plants (
id text,
name text,
latitude text,
longitude text,
country text,
status text,
reactortype text,
reactormodel text,
constructionstartat text,
operationalfrom text,
operationalto text,
capacity text,
lastupdatedat text,
... |
### Context: CREATE TABLE table_44003 (
"Draft" real,
"Round" real,
"Pick" real,
"Player" text,
"College/High School/Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player in the 2008 draft with a pick greater than 5?
### Query: SEL... |
### 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 table_203_219 (
id number,
"no" number,
"name" text,
"date of birth" text,
"height" text,
"weight" text,
"spike" text,
"block" text,
"2008 club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which player is... |
### Context: CREATE TABLE table_2562572_37 (
settlement VARCHAR,
cyrillic_name_other_names VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the settlement for
### Query: SELECT settlement FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александр... |
### Context: CREATE TABLE table_13625792_1 (
total__number INTEGER,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many votes were cast in Wayne county?
### Query: SELECT MAX(total__number) FROM table_13625792_1 WHERE county = "Wayne" |
### Context: 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 outputevents (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: CREATE TABLE party_events (
event_id number,
event_name text,
party_id number,
member_in_charge_id number
)
CREATE TABLE region (
region_id number,
region_name text,
date text,
label text,
format text,
catalogue text
)
CREATE TABLE party (
party_id number,
... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_4676 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which match was played on April 2, 2006?
### Query: SELECT "Competition" FROM table_4676 WHE... |
### Context: CREATE TABLE table_train_273 (
"id" int,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"body_weight" float,
"hba1c" float,
"insulin_requirement" float,
"body_mass_index_bmi" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for... |
### Context: CREATE TABLE table_name_44 (
bronze INTEGER,
total VARCHAR,
rank VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Tota... |
### Context: CREATE TABLE table_name_97 (
ihsaa_class VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IHSAA class in Batesville?
### Query: SELECT ihsaa_class FROM table_name_97 WHERE city = "batesville" |
### Context: CREATE TABLE competition (
Competition_ID int,
Year real,
Competition_type text,
Country text
)
CREATE TABLE competition_result (
Competition_ID int,
Club_ID_1 int,
Club_ID_2 int,
Score text
)
CREATE TABLE club_rank (
Rank real,
Club_ID int,
Gold real,
Silv... |
### Context: CREATE TABLE table_203_771 (
id number,
"#" number,
"artist" text,
"featuring" text,
"title" text,
"version" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of tracks on the benassi bros. g... |
### Context: CREATE TABLE table_72044 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended when opponent was twins?
### Query: SELECT COUN... |
### Context: 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... |
### Context: CREATE TABLE Settlements (
claim_id VARCHAR
)
CREATE TABLE Claims (
claim_id VARCHAR,
Date_Claim_Settled VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many settlements were made on the claim with the most recent claim settlement date? ... |
### Context: 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... |
### Context: CREATE TABLE table_27790959_1 (
original_air_date VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original air date of the episode that had 5.42 million viewers?
### Query: SELECT original_air_date FROM... |
### Context: CREATE TABLE table_18600760_7 (
township VARCHAR,
ansi_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the ansi code is 1036632, what is the name of the township?
### Query: SELECT township FROM table_18600760_7 WHERE ansi_code = 1036632 |
### Context: CREATE TABLE table_name_6 (
title VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Title is from 1952?
### Query: SELECT title FROM table_name_6 WHERE year = 1952 |
### 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 table_66516 (
"Name" text,
"GP-GS" text,
"Receptions" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name when avg/g is 13.7?
### Query: SELECT "Name" FROM table_66516 WHERE "Avg/G" =... |
### Context: CREATE TABLE table_name_76 (
location VARCHAR,
frequency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location where the frequency is 92.3mhz?
### Query: SELECT location FROM table_name_76 WHERE frequency = "92.3mhz" |
### Context: CREATE TABLE table_55700 (
"D 41" text,
"D 42" text,
"D 43" text,
"D 44" text,
"D 45" text,
"D 46" text,
"D 47" text,
"R 53" text,
"R 52" text,
"R 51" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the R 53 of... |
### 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 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_... |
### Context: CREATE TABLE table_5172 (
"Rank" text,
"Film" text,
"Director(s)" text,
"Writer(s)" text,
"Production Company" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the nominated film 'blood on his hands'?
### Query: SELECT "Dire... |
### Context: CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE restriction (
... |
### Context: CREATE TABLE Statements (
statement_details VARCHAR,
statement_id VARCHAR
)
CREATE TABLE Documents (
document_name VARCHAR,
document_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the statement detail and the corresponding docum... |
### 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 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 procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9... |
### Context: CREATE TABLE Document_Types (
document_type_code VARCHAR,
document_description VARCHAR
)
CREATE TABLE Grants (
grant_id VARCHAR,
grant_amount VARCHAR
)
CREATE TABLE Documents (
response_received_date VARCHAR,
document_type_code VARCHAR,
grant_id VARCHAR
)
-- Using valid SQLi... |
### Context: CREATE TABLE table_17325 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE dept_locations (
Dnumber INTEGER,
Dlocation TEXT
)
CREATE TABLE dependent (
Essn INTEGER,
Dependent_name TEXT,
Sex TEXT,
Bdate TEXT,
Relationship TEXT
)
CREATE TABLE works_on (
Essn INTEGER,
Pno INTEGER,
Hours REAL
)
CREATE TABLE employee (
Fname ... |
### Context: CREATE TABLE table_26259391_1 (
production_code VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which production codes were written by andrew goldberg
### Query: SELECT production_code FROM table_26259391_1 WHERE written_by =... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
had... |
### Context: CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE table_203_834 (
id number,
"rank" number,
"census subdivision" text,
"province" text,
"type" text,
"land area\n(km2, 2011)" number,
"population 2011" number,
"population 2006" number,
"population 2001" number,
"population 1996" number,
"change in % 2... |
### Context: CREATE TABLE table_name_71 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game with a record of 81-60?
### Query: SELECT score FROM table_name_71 WHERE record = "81-60" |
### Context: 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),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE table_25459168_2 (
round VARCHAR,
fastest_lap VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds did Alex Ardoin achieved a fastest lap?
### Query: SELECT COUNT(round) FROM table_25459168_2 WHERE fastest_lap = "Alex Ard... |
### Context: CREATE TABLE table_57538 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decim... |
### Context: CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varc... |
### Context: CREATE TABLE zyjybgb (
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_63647 (
"Title" text,
"Localized Title" text,
"Creator" text,
"Years" text,
"Origin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years did air?
### Query: SELECT "Years" FROM table_63647 WHERE "Localized Titl... |
### Context: CREATE TABLE table_train_268 (
"id" int,
"basal_rate" float,
"systolic_blood_pressure_sbp" int,
"renal_disease" bool,
"major_illness" bool,
"creatinine_clearance_cl" float,
"injury_to_body" bool,
"diastolic_blood_pressure_dbp" int,
"injury_to_limb" bool,
"hypertensio... |
### Context: CREATE TABLE table_64416 (
"Rank" real,
"Rowers" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What notes have 2 as the rank?
### Query: SELECT "Notes" FROM table_64416 WHERE "Rank" = '2' |
### Context: CREATE TABLE table_name_85 (
engine VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine was in the year of 1961?
### Query: SELECT engine FROM table_name_85 WHERE year = 1961 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.