text stringlengths 197 8.39k |
|---|
### 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 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 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_60278 (
"Player" text,
"Country" text,
"Year(s) won" real,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of years won by Justin Leonard with a to par under 9?
### Quer... |
### Context: CREATE TABLE table_60582 (
"Year (Ceremony)" text,
"Original title" text,
"Film title used in nomination" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the result for director elia schneider's pun... |
### Context: CREATE TABLE table_45096 (
"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_name_50 (
team VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team played the Jazz at game 68?
### Query: SELECT team FROM table_name_50 WHERE game = 68 |
### Context: CREATE TABLE table_name_80 (
overall INTEGER,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is average Overall, when Pick is 19?
### Query: SELECT AVG(overall) FROM table_name_80 WHERE pick = 19 |
### 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 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_4039 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What pick was Greg Strome?
### Query: SELECT MA... |
### Context: CREATE TABLE table_65654 (
"Millewa" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the average Wins that has the Against of 1132, and the Losses... |
### Context: CREATE TABLE film_category (
film_id number,
category_id number,
last_update time
)
CREATE TABLE customer (
customer_id number,
store_id number,
first_name text,
last_name text,
email text,
address_id number,
active boolean,
create_date time,
last_update tim... |
### 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_24303 (
"Census division" text,
"Area (km\u00b2)" text,
"Pop. (2011)" real,
"Pop. (2006)" real,
"Pop. (2001)" real,
"Pop. (1996)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest population count... |
### Context: CREATE TABLE table_name_12 (
home_team VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home team has 44 ties?
### Query: SELECT home_team FROM table_name_12 WHERE tie_no = "44" |
### Context: CREATE TABLE table_204_725 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which country scored the most gold medals - iran or ... |
### Context: CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
m... |
### Context: CREATE TABLE table_66558 (
"Season" text,
"Games" text,
"Lost" text,
"Tied" text,
"Points" text,
"Goals for" text,
"Goals against" text,
"Standing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the points if the go... |
### Context: CREATE TABLE diagnoses (
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_d... |
### 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_61261 (
"Military deaths" text,
"Civilian deaths" text,
"Total deaths (not including foreigners)" text,
"Military and/or Civilian wounded" text,
"Total casualties" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How ma... |
### Context: CREATE TABLE table_71163 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Women's doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who participated in the Mixed Doubles when Simon Santoso partic... |
### Context: CREATE TABLE table_29237 (
"City" text,
"Population" real,
"Registered voters" text,
"Democratic" text,
"Republican" text,
"D\u2013R spread" text,
"Other" text,
"No party preference" 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 aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed in... |
### 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 table_39676 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the Euro '64 qualifying game?
### Query: SELECT "Date" FROM t... |
### 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_92 (
result_score VARCHAR,
year VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Result/Score, when Year is greater than 2005, and when Opponent is #8 Arkansas #1 Memphis?
### Query: SELECT re... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
had... |
### Context: CREATE TABLE table_25848 (
"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_14523485_9 (
channel VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the show aired in New Zealand?
### Query: SELECT channel FROM table_14523485_9 WHERE country = "New Zealand" |
### 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 table_name_72 (
method VARCHAR,
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Opponent of sergei bondarovich, and a Record of 2 0 had what method?
### Query: SELECT method FROM table_name_72 WHERE oppo... |
### Context: CREATE TABLE table_65316 (
"Constituency number" text,
"Name" text,
"Reserved for ( SC / ST /None)" text,
"District" text,
"Number of electorates (2003)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which District is Constituency numb... |
### Context: CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### 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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_i... |
### Context: CREATE TABLE table_20855452_4 (
points VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did agnieszka radwa ska score?
### Query: SELECT points FROM table_20855452_4 WHERE player = "Agnieszka Radwańska" |
### Context: CREATE TABLE table_72991 (
"Year" real,
"Date (Opening)" text,
"Date (Closing)" text,
"Opening Film" text,
"Number of Screening" text,
"Award-Winning Film" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many number of screenings... |
### Context: CREATE TABLE table_14056 (
"Gene" text,
"Route of administration" text,
"Phase" text,
"Subject number" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which gene is ongoing and has an intramuscular route of administration?... |
### Context: CREATE TABLE table_67964 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of wins when there are 7 points?
### Query: SELECT "Wins" FROM table_67964 WHERE... |
### Context: CREATE TABLE table_1594772_2 (
winner VARCHAR,
match_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winner for date of nov 5, 1987
### Query: SELECT winner FROM table_1594772_2 WHERE match_date = "Nov 5, 1987" |
### Context: CREATE TABLE table_204_739 (
id number,
"districts" text,
"ubigeo" number,
"area\n(km2)" number,
"population" number,
"population density\n(/km2)" number,
"created" text,
"postal\ncode" number
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### 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 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_1341586_43 (
first_elected VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name number first elected for tennessee 2?
### Query: SELECT COUNT(first_elected) FROM table_1341586_43 WHERE district = "Tennessee 2... |
### Context: CREATE TABLE table_60088 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which Event that has an Opponent of ke... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
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 i... |
### Context: CREATE TABLE table_name_37 (
versus VARCHAR,
player VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Versus with a Player with ko otieno, with Venue with bloemfontein?
### Query: SELECT versus FROM table_name_37 WHE... |
### Context: CREATE TABLE table_66014 (
"Title" text,
"Time" text,
"Writer(s)" text,
"Performer(s)" text,
"Producer(s)" text,
"Recorded at" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the album recorded at funhouse studios with a ti... |
### 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_train_169 (
"id" int,
"leukocytes" int,
"hemoglobin_a1c_hba1c" float,
"urine_albumin_excretion" int,
"estimated_glomerular_filtration_rate_egfr" int,
"glucola_beverage_gct" int,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following que... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstop... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
... |
### 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 table_203_752 (
id number,
"rank" number,
"circuit" text,
"headquarters" text,
"screens" number,
"sites" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which circuit has the most screens ?
### Query: SELECT "circuit"... |
### Context: CREATE TABLE table_name_31 (
segment_a VARCHAR,
segment_c VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What segment A is associated with a Segment C of paint chip cards?
### Query: SELECT segment_a FROM table_name_31 WHERE segment_c = "paint ... |
### Context: CREATE TABLE table_55460 (
"Year" real,
"Player" text,
"Position" text,
"College/Country" text,
"WNBA Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year that includes a Seattle Storm guard?
### Query: SELECT... |
### Context: CREATE TABLE table_name_23 (
date VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the attendance 3686?
### Query: SELECT date FROM table_name_23 WHERE attendance = 3686 |
### 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 Rating (
rID VARCHAR,
stars VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- find the ids of reviewers who did not give 4 star.
### Query: SELECT rID FROM Rating EXCEPT SELECT rID FROM Rating WHERE stars = 4 |
### 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_name_68 (
score VARCHAR,
outcome VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of the of the Tournament against Tim Gullikson with Outcome of runner-up?
### Query: SELECT score FROM ta... |
### Context: CREATE TABLE table_1301373_7 (
Vice VARCHAR,
captain VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the vice captain for melbourne victory
### Query: SELECT Vice - captain FROM table_1301373_7 WHERE club = "Melbourne Vict... |
### 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 table_68444 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The 147.481 Qual, happened in what year?
### Query: SELECT "Year" FROM table_68444... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE admissions (
... |
### Context: CREATE TABLE party_forms (
party_id number,
form_id number,
date_completion_started time,
form_status_code text,
date_fully_completed time
)
CREATE TABLE party_addresses (
party_id number,
address_id number,
date_address_from time,
address_type_code text,
date_addre... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid n... |
### Context: CREATE TABLE table_204_587 (
id number,
"drop(s)" text,
"multiplayer map(s)" text,
"spec ops mission(s)" text,
"face off map(s)" text,
"xbox 360 release date" text,
"playstation 3 release date" text
)
-- Using valid SQLite, answer the following questions for the tables provide... |
### Context: CREATE TABLE producer (
pid int,
gender text,
name text,
nationality text,
birth_city text,
birth_year int
)
CREATE TABLE copyright (
id int,
msid int,
cid int
)
CREATE TABLE writer (
wid int,
gender text,
name text,
nationality text,
birth_city tex... |
### 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 table_9940 (
"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 silver when the nation is japan and the total is less than 1?
### Q... |
### Context: CREATE TABLE table_35340 (
"Race Title" text,
"Circuit" text,
"Location / State" text,
"Date" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won at the Circuit of lakeside international raceway?
### ... |
### Context: CREATE TABLE table_name_96 (
final_score VARCHAR,
date VARCHAR,
host_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the final score for january 9 for cincinnati bengals
### Query: SELECT final_score FROM table_name_96 WHERE dat... |
### Context: CREATE TABLE Products (
product_id INTEGER,
product_category VARCHAR(15),
product_name VARCHAR(80)
)
CREATE TABLE Mailshot_Campaigns (
mailshot_id INTEGER,
product_category VARCHAR(15),
mailshot_name VARCHAR(80),
mailshot_start_date DATETIME,
mailshot_end_date DATETIME
)
C... |
### 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_56032 (
"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.
-- How many points did the home team s... |
### Context: CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name t... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... |
### 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 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_62710 (
"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 table_name_29 (
date VARCHAR,
competition VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the UEFA Cup against Panathinaikos?
### Query: SELECT date FROM table_name_29 WHERE competition = "uefa cu... |
### Context: CREATE TABLE table_name_29 (
network VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which network has model nForce Professional 3400 MCP?
### Query: SELECT network FROM table_name_29 WHERE model = "nforce professional 3400 mcp" |
### Context: CREATE TABLE table_59670 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total for the player whose finish was t66?
### Query: SE... |
### Context: CREATE TABLE table_30415 (
"No. in Series" real,
"No. in Season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. viewers (millions)" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE T... |
### Context: CREATE TABLE table_31783 (
"Nomination" text,
"Actor's Name" text,
"Film Name" text,
"Director" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the nomination for goran paskaljevic
### Query: SELECT "Nomination" ... |
### Context: CREATE TABLE table_18524_6 (
tourism_receipts__2011___us VARCHAR,
tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of tourism receipts 2011 where tourism receipts 2003 13.5
###... |
### Context: CREATE TABLE table_name_26 (
against VARCHAR,
points VARCHAR,
drawn VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Against has a Drawn smaller than 5, and a Lost smaller than 6, and a Points larger than 36?
### Query... |
### Context: CREATE TABLE table_name_52 (
engine VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine did the porsche 718 chassis use?
### Query: SELECT engine FROM table_name_52 WHERE chassis = "porsche 718" |
### Context: CREATE TABLE table_197638_6 (
australian_open VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times did Roy Emerson win the Australian Open?
### Query: SELECT COUNT(australian_open) FROM table_197638_6 WHERE player = "Ro... |
### Context: CREATE TABLE medicine (
id int,
name text,
Trade_Name text,
FDA_approved text
)
CREATE TABLE enzyme (
id int,
name text,
Location text,
Product text,
Chromosome text,
OMIM int,
Porphyria text
)
CREATE TABLE medicine_enzyme_interaction (
enzyme_id int,
m... |
### Context: CREATE TABLE table_train_155 (
"id" int,
"cholesterol" float,
"bleeding" int,
"systolic_blood_pressure_sbp" int,
"diabetic" string,
"hyperlipidemia" bool,
"creatinine_clearance_cl" float,
"platelet_count" float,
"hypertension" bool,
"NOUSE" float
)
-- Using valid S... |
### Context: CREATE TABLE table_79292 (
"Time" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home team when kwong wah was the away team?
### Query: SELECT "Home team" FROM... |
### Context: CREATE TABLE table_name_77 (
stake VARCHAR,
organized VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the stake president when the organized date is April 18, 1965?
### Query: SELECT stake AS President FROM table_name_77 WHERE organized... |
### Context: CREATE TABLE table_73261 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.