text stringlengths 197 8.39k |
|---|
### 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_10581768_2 (
founded VARCHAR,
institution VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many founded dates are listed for carlow university 1
### Query: SELECT COUNT(founded) FROM table_10581768_2 WHERE institution = "Ca... |
### Context: CREATE TABLE table_204_659 (
id number,
"seat" text,
"state" text,
"majority" number,
"member" text,
"party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is listed before don randall ?
### Query: SELECT "member" FROM table_20... |
### Context: CREATE TABLE table_name_39 (
score VARCHAR,
home VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the Boston Bruins game from April 11?
### Query: SELECT score FROM table_name_39 WHERE home = "boston bruins"... |
### Context: CREATE TABLE table_11900378_1 (
tournament VARCHAR,
singles_champions VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many singles tournaments did Ludovic Walter win?
### Query: SELECT COUNT(tournament) FROM table_11900378_1 WHERE singles_ch... |
### Context: CREATE TABLE table_1341472_34 (
district VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name thedistrict for 1994
### Query: SELECT district FROM table_1341472_34 WHERE first_elected = 1994 |
### Context: CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name v... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
pr... |
### Context: CREATE TABLE table_11960944_11 (
date VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the game for the score L 88 79?
### Query: SELECT date FROM table_11960944_11 WHERE score = "L 88–79" |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
reli... |
### 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 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_name_31 (
attendance VARCHAR,
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia?
### Qu... |
### Context: CREATE TABLE table_34154 (
"Round" text,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position is Sweden in round 2?
### Query: SELECT "Posi... |
### 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_59243 (
"Name" text,
"Total" real,
"Outstanding Performance" real,
"Fighting Spirit" real,
"Technique" real,
"Years" text,
"Highest rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are asashio's years... |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate... |
### Context: CREATE TABLE table_71344 (
"Molecule" text,
"Percent of Mass" text,
"Mol.Weight (daltons)" text,
"Molecules" text,
"Percent of Molecules" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the molecules when the percent mass is 1.0?... |
### Context: CREATE TABLE table_55071 (
"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.
-- When did South Melbourne play as th... |
### 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 cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttim... |
### Context: CREATE TABLE table_name_97 (
rank INTEGER,
location VARCHAR,
fastest_time__s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest rank in dresden with a time faster than 10.88?
### Query: SELECT MAX(rank) FROM table_name_97 W... |
### Context: CREATE TABLE music_festival (
id number,
music_festival text,
date_of_ceremony text,
category text,
volume number,
result text
)
CREATE TABLE artist (
artist_id number,
artist text,
age number,
famous_title text,
famous_release_date text
)
CREATE TABLE volume (... |
### Context: CREATE TABLE table_25467 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_20906 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original airdate" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many days ... |
### Context: CREATE TABLE table_37425 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Round smaller than 11, and a Pick smaller than 152, and a Positio... |
### Context: CREATE TABLE table_name_66 (
position VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The position that has a pick # of 16 is what?
### Query: SELECT position FROM table_name_66 WHERE pick__number = 16 |
### 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_name_57 (
home_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home team of lake oval's score?
### Query: SELECT home_team AS score FROM table_name_57 WHERE venue = "lake oval" |
### Context: CREATE TABLE table_18735 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the incumbent when ran william b. oliver (d) unoppo... |
### Context: CREATE TABLE table_55623 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps in total does the driver named Eddie Irvine have?
### Query: SELECT COU... |
### Context: CREATE TABLE table_name_12 (
aspect VARCHAR,
programming VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Aspect has a Programming of Saigon Network Television?
### Query: SELECT aspect FROM table_name_12 WHERE programming = "saigon network ... |
### Context: 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,
LastEditorDis... |
### Context: CREATE TABLE table_name_33 (
rank VARCHAR,
events VARCHAR,
prize_money__$__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank for the player with events greater than 23 and prize money in excess of $823,783?
### Query: SELECT ... |
### 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 table_13514348_7 (
umpires VARCHAR,
simpson_medal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the umpires when Paul Medhurst (C) won the Simpson Medal?
### Query: SELECT umpires FROM table_13514348_7 WHERE simpson_medal... |
### Context: CREATE TABLE table_name_45 (
final_year INTEGER,
notes VARCHAR,
first_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most minimal Final year that has a Notes of replaced by i-75 and m-25, and a First year larger than 1926?
... |
### Context: CREATE TABLE table_69712 (
"Player" text,
"Games" text,
"Tries" text,
"Goals" text,
"F. Goals" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the F. Goals for games of 22 22 and points of 012 12
### Query: SELEC... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
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... |
### Context: CREATE TABLE table_name_62 (
mintage INTEGER,
issue_price VARCHAR,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the mintage having an issue price of $1,099.99, artist being Pamela Stagg?
### Query: SELECT AVG(mintage) FROM... |
### Context: CREATE TABLE table_9363 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the City / State, when Series is ATCC Round 3?
### Query: SELEC... |
### 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 table_1042 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many touchdowns were scored by pla... |
### Context: CREATE TABLE table_name_12 (
high_assists VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the High assists for February 2?
### Query: SELECT high_assists FROM table_name_12 WHERE date = "february 2" |
### 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 hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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... |
### Context: CREATE TABLE mzb (
CLINIC_ID 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,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
C... |
### Context: 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 medica... |
### Context: CREATE TABLE table_42068 (
"Name" text,
"Nationality" text,
"Position" text,
"Appearances" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many appearances did batram suri category:articles with hcards have scoring less... |
### Context: CREATE TABLE table_name_2 (
week INTEGER,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For what week was the attendance 40,429?
### Query: SELECT SUM(week) FROM table_name_2 WHERE attendance = 40 OFFSET 429 |
### Context: CREATE TABLE table_33185 (
"Positional or Automatic" text,
"Opponents" text,
"Suits" text,
"Material or Non-material" text,
"Count Rectified" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Is it material or non-material when there are 2... |
### Context: CREATE TABLE table_14226 (
"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 is the sum of the bronze medals won by south korea?
### Query: SELECT SUM... |
### Context: CREATE TABLE table_19418696_3 (
qb_rating VARCHAR,
completions VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many QB ratings for the player with 1069 completions?
### Query: SELECT COUNT(qb_rating) FROM table_19418696_3 WHERE completions =... |
### Context: CREATE TABLE table_65926 (
"Year" real,
"Venue" text,
"Competition" text,
"Kilkenny score" text,
"Waterford score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the waterford score that has a year prior to 1963, with all-irelan... |
### 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 Rating (
stars INTEGER,
mID VARCHAR
)
CREATE TABLE Movie (
title VARCHAR,
director VARCHAR,
mID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the title and score of the movie with the lowest rating among all movie... |
### Context: CREATE TABLE table_59524 (
"Rank" real,
"City" text,
"State" text,
"Population" real,
"Metro Population of 4 aspects" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the state of the city of denver, which has a rank less than 10?... |
### Context: CREATE TABLE table_name_52 (
pommel_horse VARCHAR,
vault VARCHAR,
total VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many pommel horses have a Total smaller than 230.019, a Team of china (chn), and a Vault smaller tha... |
### Context: CREATE TABLE jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id number
)
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,
JZZT... |
### 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_61541 (
"Date" text,
"Opponents" text,
"H / A" text,
"Result F \u2013 A" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended the game against the Kaizer Chiefs?
### Query: SELEC... |
### Context: CREATE TABLE table_59832 (
"Date" text,
"Round" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest attendance for the opponents Club Brugge in Venue A?... |
### 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 section (
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
building varchar(15),
room_number varchar(7),
time_slot_id varchar(4)
)
CREATE TABLE classroom (
building varchar(15),
room_number varchar(7),
capacity numeric(4,... |
### Context: 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,
... |
### Context: CREATE TABLE table_14407512_9 (
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1st(m) score for the Person who had a total points of 272.7
### Query: SELECT 1 AS st__m_ FROM table_14407512_9 WHERE points = "272.7" |
### Context: 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,... |
### Context: CREATE TABLE instructor (
dept_name VARCHAR,
salary INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the names and average salaries of all departments whose average salary is greater than 42000.
### Query: SELECT dept_name, AVG(salary) FROM ... |
### Context: CREATE TABLE table_22761 (
"Player" text,
"Nat" text,
"Pos" text,
"L Apps" real,
"L G" real,
"C Apps" real,
"Total Apps" real,
"Total G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the nat for total apps for 27
### ... |
### Context: CREATE TABLE table_66479 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What class has cbon-fm-23 as the identifier?
### Query: SEL... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
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_NA... |
### Context: CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytim... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(1... |
### Context: CREATE TABLE table_78939 (
"City" text,
"Country" text,
"Airport" text,
"IATA" text,
"ICAO" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Airport's ICAO is ENTO?
### Query: SELECT "Airport" FROM table_78939 WHERE "ICAO" = 'ento' |
### Context: CREATE TABLE bank (
branch_id number,
bname text,
no_of_customers number,
city text,
state text
)
CREATE TABLE loan (
loan_id text,
loan_type text,
cust_id text,
branch_id text,
amount number
)
CREATE TABLE customer (
cust_id text,
cust_name text,
acc_t... |
### Context: CREATE TABLE table_26617 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Final Score" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 4 is the week what is the location?
### ... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback in... |
### Context: CREATE TABLE table_name_3 (
round INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the round for jake gardiner?
### Query: SELECT AVG(round) FROM table_name_3 WHERE player = "jake gardiner" |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVIN... |
### Context: CREATE TABLE table_204_929 (
id number,
"location" text,
"name of mill and\ngrid reference" text,
"type" text,
"maps" text,
"first mention\nor built" text,
"last mention\nor demise" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE pilot (
Pilot_Id int(11),
Name varchar(50),
Age int(11)
)
CREATE TABLE aircraft (
Aircraft_ID int(11),
Aircraft varchar(50),
Description varchar(50),
Max_Gross_Weight varchar(50),
Total_disk_area varchar(50),
Max_disk_Loading varchar(50)
)
CREATE TABLE air... |
### Context: CREATE TABLE table_name_45 (
show VARCHAR,
year VARCHAR,
episode_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which show had a part 3 before 2011?
### Query: SELECT show FROM table_name_45 WHERE year < 2011 AND episode_title = "part... |
### Context: CREATE TABLE table_64119 (
"Date of release" text,
"Title" text,
"Billboard peak" text,
"RIAA cert." text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Billboard peak for the album released on September 12, 2000 b... |
### Context: CREATE TABLE Customer_Orders (
order_id INTEGER,
customer_id INTEGER,
order_status VARCHAR(15),
order_date DATETIME,
order_details VARCHAR(255)
)
CREATE TABLE Order_Items (
order_id INTEGER,
product_id INTEGER,
order_quantity VARCHAR(15)
)
CREATE TABLE Customer_Contact_Cha... |
### Context: CREATE TABLE table_32766 (
"Freq" real,
"Call" text,
"City" text,
"Owner" text,
"Day Power ( W )" real,
"Night Power" real,
"Format" text,
"Stereo" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Triad frew with a... |
### Context: CREATE TABLE table_27537518_6 (
decision VARCHAR,
first_star VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who made the decisions in the game whose first star was V. Lecavalier?
### Query: SELECT decision FROM table_27537518_6 WHERE first_star... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_58592 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver drove in grid 19?
### Query: SELECT "Driver" FROM table_58592 WHERE "Gri... |
### Context: CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### Context: CREATE TABLE table_name_28 (
frequency_mhz VARCHAR,
city_of_license VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Give me the MHz Frequency of Allapattah, Florida.
### Query: SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = "all... |
### Context: CREATE TABLE table_name_17 (
place VARCHAR,
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did United States place when the score was 71-70-72-68=281?
### Query: SELECT place FROM table_name_17 WHERE country = "u... |
### Context: CREATE TABLE table_4142 (
"By-election" real,
"Electorate" text,
"Date" text,
"Incumbent" text,
"Reason" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When ihaia tainui is the incumbent what is the date?
### Query: ... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE ftxmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZT... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time... |
### Context: CREATE TABLE block (
blockfloor number,
blockcode number
)
CREATE TABLE medication (
code number,
name text,
brand text,
description text
)
CREATE TABLE trained_in (
physician number,
treatment number,
certificationdate time,
certificationexpires time
)
CREATE TAB... |
### Context: CREATE TABLE table_42071 (
"Region" text,
"Province" text,
"Capital" text,
"No. of Communes" real,
"Area" real,
"2002 Population" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What province has a v valpara so region and an area of ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.