text stringlengths 197 8.39k |
|---|
### 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 stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE... |
### Context: CREATE TABLE table_15941 (
"Season" real,
"Timeslot ( ET )" text,
"Season premiere" text,
"Season finale" text,
"TV season" text,
"Rank" text,
"Viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the seaso... |
### Context: CREATE TABLE table_name_55 (
fiscal_year INTEGER,
headquarters VARCHAR,
employees VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Fiscal Year of the firm Headquartered in noida, with less than 85,335 employees?
### Query:... |
### Context: CREATE TABLE exhibition_record (
Exhibition_ID int,
Date text,
Attendance int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Ticket_Price real
)
CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int... |
### Context: CREATE TABLE table_78850 (
"Main contestant" text,
"Co-contestant (Yaar vs. Pyaar)" text,
"Date performed" text,
"Scores by each individual judge" text,
"Total score/week" text,
"Position" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE team (
Team_id int,
Name text
)
CREATE TABLE match_season (
Season real,
Player text,
Position text,
Country int,
Team int,
Draft_Pick_Number int,
Draft_Class text,
College text
)
CREATE TABLE player (
Player_ID int,
Player text,
Years_Play... |
### Context: CREATE TABLE table_54229 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Loser" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the loser at Municipal Stadium after 1970?
### Query: SELECT "Loser"... |
### 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 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_50 (
attendance VARCHAR,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number in attendance for when the bulls visited
### Query: SELECT COUNT(attendance) FROM table_name_50 WHERE visitor = "bulls... |
### Context: CREATE TABLE table_61692 (
"Date From" text,
"Date To" text,
"Position" text,
"Name" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for Watford and player Lionel Ainsworth?
### Query: SELECT "Date To" FROM... |
### Context: CREATE TABLE table_dev_60 (
"id" int,
"systolic_blood_pressure_sbp" int,
"body_weight" float,
"renal_disease" bool,
"allergy_to_aspirin" bool,
"creatinine_clearance_cl" float,
"allergy_to_clopidogrel" bool,
"allergy_to_heparin" bool,
"platelet_count" float,
"thromboc... |
### Context: CREATE TABLE table_44387 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Visitor of pittsburgh, and a Score o... |
### Context: CREATE TABLE table_29067 (
"Date" text,
"Time" text,
"Visiting team" text,
"Home team" text,
"Site" text,
"Broadcast" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home team whe... |
### Context: CREATE TABLE table_name_24 (
round VARCHAR,
margin VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which round has a margin of 178?
### Query: SELECT round FROM table_name_24 WHERE margin = "178" |
### Context: CREATE TABLE table_65195 (
"Rank" text,
"Country" text,
"Jerseys" real,
"Giro wins" real,
"Points" real,
"Young rider" real,
"Most recent cyclist" text,
"Most recent date" text,
"Different holders" real
)
-- Using valid SQLite, answer the following questions for the ta... |
### 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 table_name_78 (
lner_class VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1914 NER class with a d17/2 LNER class?
### Query: SELECT 1914 AS _ner_class FROM table_name_78 WHERE lner_class = "d17/2" |
### Context: CREATE TABLE table_10815 (
"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.
-- In the venue Corio Oval, who was th... |
### Context: CREATE TABLE table_37583 (
"Pick" real,
"Player" text,
"Team" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Pick for the Pasco, Wa school?
### Query: SELECT AVG("Pick") FROM table_37... |
### 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 table_3826 (
"Season" text,
"Competition" text,
"Stage" text,
"Result" text,
"Opponent" text,
"Scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the game where the opponent is Innsbrucker Kil... |
### Context: CREATE TABLE table_15731 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did they have a record of 12-17?
### Query: SELECT "Date" F... |
### Context: CREATE TABLE table_name_2 (
laps VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total number of Laps for the rider whose time was +7.951?
### Query: SELECT COUNT(laps) FROM table_name_2 WHERE time = "+7.951" |
### Context: CREATE TABLE table_41565 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Assists" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has the fewest assists and played 2 games or fewer?
### Query: SELECT MIN("Assists") ... |
### 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 CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### 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 jybgb (
BBCJBW text,... |
### 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 t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_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 t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### Context: CREATE TABLE table_5833 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game that led to a 7-5 record?
### Query: SELEC... |
### Context: CREATE TABLE table_name_53 (
chassis VARCHAR,
year VARCHAR,
pts VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which chassis is more recent than 1972 and has more than 0 Pts. ?
### Query: SELECT chassis FROM table_name_53 WHERE year > 1972 ... |
### Context: CREATE TABLE person_info_hz_info (
RYBH text,
KH number,
KLX number,
YLJGDM number
)
CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM n... |
### Context: CREATE TABLE table_name_85 (
venue VARCHAR,
score VARCHAR,
h_a_n VARCHAR,
pos VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue has a neutral H/A/N, lower than position 3 and a score of 141?
### Query: SELECT venue FROM table_n... |
### Context: CREATE TABLE table_46082 (
"Name" text,
"Born-Died" text,
"Term start" text,
"Term end" text,
"Political Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Born-Died, when Term End is 19 January 1943?
### Query: SELECT "Born... |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE student_record (
student_id int,
course_id int,
s... |
### Context: CREATE TABLE table_5577 (
"Game" real,
"October" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total Points for the Opponent of @ New Jersey Devils and a Game... |
### Context: CREATE TABLE table_19753079_36 (
result VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result for north carolina 7
### Query: SELECT result FROM table_19753079_36 WHERE district = "North Carolina 7" |
### Context: CREATE TABLE table_41684 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries For" text,
"Tries Against" text,
"Try Bonus" text,
"Losing Bonus" text,
"Points" text
)
-- Using valid SQLite, answer the followin... |
### Context: CREATE TABLE list (
classroom VARCHAR,
grade VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which classrooms are used by grade 4?
### Query: SELECT DISTINCT classroom FROM list WHERE grade = 4 |
### 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 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_76011 (
"Publication" text,
"Country" text,
"Accolade" text,
"Year" real,
"Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year's rank was #4 when the country was the US?
### Query: SELECT "Year" FROM tabl... |
### Context: CREATE TABLE table_43604 (
"Outcome" text,
"Date" text,
"Championship" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score on 22 february 1993?
### Query: SELECT "Score" F... |
### 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_70393 (
"Overall place" text,
"Yacht name" text,
"Skipper" text,
"Points" text,
"Combined elapsed time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Overall place has a Yacht name of lg flatron?
### Query: SE... |
### Context: CREATE TABLE table_name_16 (
total INTEGER,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum total when the To par is +3?
### Query: SELECT MAX(total) FROM table_name_16 WHERE to_par = "+3" |
### 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 table_33255 (
"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 plays at home at Windy Hi... |
### Context: CREATE TABLE table_1130632_1 (
title VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the title that have 19.48 million u.s. viewers?
### Query: SELECT title FROM table_1130632_1 WHERE us_viewers__million_ =... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
charget... |
### Context: CREATE TABLE table_75922 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Home" text,
"Away" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home score with marek dupnitsa as opponent?
### Query: SELE... |
### 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 gwyjzb (
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_12476 (
"State" text,
"Type" text,
"Name" text,
"Title" text,
"Royal house" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which state has a royal house of Jiang?
### Query: SELECT "State" FROM table... |
### Context: CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE dataset (
datasetid int,
d... |
### Context: 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_locatio... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE comment_instructor (
inst... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME v... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... |
### 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_204_813 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- where was the location of the last venue held ?
### ... |
### Context: CREATE TABLE table_6924 (
"Office" text,
"Democratic ticket" text,
"Republican ticket" text,
"Conservative ticket" text,
"Liberal ticket" text,
"Free Libertarian ticket" text,
"Socialist Labor ticket" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE table_67019 (
"Rank" text,
"Games" text,
"Player" text,
"Club" text,
"Career span" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank that shows 426 games?
### Query: SELECT "Rank" FROM table_67019 WHERE "Game... |
### Context: CREATE TABLE table_27776266_1 (
directed_by VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode with an audience of 14.11 million?
### Query: SELECT directed_by FROM table_27776266_1 WHERE us_vi... |
### Context: CREATE TABLE wdmzjzjlb (
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 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 cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paperfield (
... |
### Context: CREATE TABLE Participates_in (
stuid INTEGER,
actid INTEGER
)
CREATE TABLE Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Activity (
actid INTEGER,
activity_name varchar(25)
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHA... |
### Context: CREATE TABLE table_name_54 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 2007, when 2003 is 1R?
### Query: SELECT 2007 FROM table_name_54 WHERE 2003 = "1r" |
### 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 ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit i... |
### Context: CREATE TABLE table_486 (
"Season #" real,
"Series #" real,
"Title" text,
"Canadian airdate" text,
"U.S. airdate" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum production code
### Query: ... |
### 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 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 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 match (
Round real,
Location text,
Country text,
Date text,
Fastest_Qualifying text,
Winning_Pilot text,
Winning_Aircraft text
)
CREATE TABLE airport (
Airport_ID int,
Airport_Name text,
Total_Passengers real,
%_Change_2007 text,
International_P... |
### Context: CREATE TABLE table_34390 (
"Game" real,
"April" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest value in April with New York Rangers as opponent for a ga... |
### Context: CREATE TABLE table_name_14 (
rank VARCHAR,
total VARCHAR,
gold VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ranks have 0 golds, a Nation of namibia, and a Total smaller than 1?
### Query: SELECT COUNT(rank) FR... |
### Context: CREATE TABLE table_27502 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number in the series is 'tou... |
### Context: CREATE TABLE table_24639086_3 (
viewers__in_millions_ VARCHAR,
series__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the amount of viewers if the series number is 14?
### Query: SELECT viewers__in_millions_ FROM table_24639086_3... |
### Context: CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplay... |
### Context: CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
... |
### Context: CREATE TABLE table_59552 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Laps, when Bike is 'Yamaha YZF-R1', when Rider is 'David Checa', and when Grid is ... |
### Context: CREATE TABLE table_24600706_1 (
released INTEGER,
song VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most released for apologize
### Query: SELECT MAX(released) FROM table_24600706_1 WHERE song = "Apologize" |
### Context: CREATE TABLE table_45247 (
"Name" text,
"Pinnacle height" text,
"Structure type" text,
"Main use" text,
"Country" text,
"Town" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has the SBA Towers Tower Hayneville?
### Que... |
### Context: CREATE TABLE table_name_44 (
score VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Away team of walthamstow avenue?
### Query: SELECT score FROM table_name_44 WHERE away_team = "walthamstow avenue" |
### Context: CREATE TABLE table_78294 (
"Pick" real,
"Round" text,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Round is pick 112 in?
### Query: SELECT "Round" FROM table_78294 WHERE "Pick" = '112' |
### Context: CREATE TABLE table_1604579_2 (
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How economically free is the country of Armenia?
### Query: SELECT 2013 AS _index_of_economic_freedom FROM table_1604579_2 WHERE country = "Armenia" |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time... |
### Context: CREATE TABLE table_35963 (
"Team" text,
"Copa Libertadores 1993" text,
"Supercopa Sudamericana 1993" text,
"Copa CONMEBOL 1993" text,
"Recopa Sudamericana 1993" text,
"Intercontinental Cup 1993" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... |
### Context: CREATE TABLE table_21192 (
"Months in Malayalam Era" text,
"In Malayalam" text,
"Gregorian Calendar" text,
"Tamil calendar" text,
"Saka era" text,
"Sign of Zodiac" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the saka era for... |
### Context: CREATE TABLE table_19683 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games wer... |
### Context: CREATE TABLE table_1108394_6 (
staten_island VARCHAR,
brooklyn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Staten Island when Brooklyn was 940?
### Query: SELECT staten_island FROM table_1108394_6 WHERE brooklyn = "940" |
### Context: CREATE TABLE table_name_93 (
built VARCHAR,
builder VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was Stephenson the builder?
### Query: SELECT built FROM table_name_93 WHERE builder = "stephenson" |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.