text stringlengths 197 8.39k |
|---|
### 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_203_534 (
id number,
"week" number,
"date" text,
"opponent" text,
"home/away" text,
"result" text,
"bye" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team was the philadelphia soul 's next opponent aft... |
### Context: CREATE TABLE table_23501776_16 (
status VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the status for points 3185
### Query: SELECT status FROM table_23501776_16 WHERE points = 3185 |
### 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_1528 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Points difference" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wha... |
### Context: CREATE TABLE table_1341598_10 (
candidates VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the candidate in election where the incumbent was first elected in 1980?
### Query: SELECT candidates FROM table_1341598_10 ... |
### Context: CREATE TABLE table_18671 (
"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.
-- what are all the party with district being kansas 1
### Qu... |
### Context: CREATE TABLE table_1043 (
"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.
-- What is the lowest amount of field goa... |
### Context: CREATE TABLE table_31295 (
"Eliminated" real,
"Wrestler" text,
"Entered" real,
"Eliminated by" text,
"Method of elimination" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number was the person eliminated at 22:50?... |
### Context: CREATE TABLE table_69362 (
"Outcome" text,
"Year" real,
"Tournament" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Malaysia Satellite tournaments were played after 1998?
### Query: SELECT "Outcome"... |
### Context: CREATE TABLE table_name_96 (
to_par VARCHAR,
player VARCHAR,
country VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is To Par, when Country is 'United States', when Place is 'T4', and when Player is 'Arnold Palmer'?
... |
### Context: CREATE TABLE table_6536 (
"Year" real,
"Location" text,
"Gold" text,
"Silver" text,
"Bronze" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won bronze in Seoul?
### Query: SELECT "Bronze" FROM table_6536 WHERE "Location" = 'seoul' |
### Context: CREATE TABLE table_name_5 (
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date when Footscray was the away team?
### Query: SELECT date FROM table_name_5 WHERE away_team = "footscray" |
### Context: CREATE TABLE table_68381 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the swimmer with a time of 2:11.83?
### Query: SELECT "Rank" FROM table_683... |
### Context: CREATE TABLE table_13337 (
"Name" text,
"Platform" text,
"Indication" text,
"Status" text,
"Collaboration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What company collaborated in non-hodgkin lymphoma?
### Query: SELECT "Collaborati... |
### Context: CREATE TABLE table_name_30 (
crowd INTEGER,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How big was the crowd size, at the Junction Oval venue?
### Query: SELECT SUM(crowd) FROM table_name_30 WHERE venue = "junction oval" |
### Context: CREATE TABLE table_56549 (
"Position" real,
"Club" text,
"Played" real,
"Points" text,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE airport (
airport_code varchar,
airport_na... |
### 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_20095 (
"Name" text,
"Position" text,
"Number" real,
"School/Club Team" text,
"Season" text,
"Acquisition via" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players with a position are listed for the 200... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_65 (
gold VARCHAR,
nation VARCHAR,
bronze VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which gold has a Bronze of 1, a Rank of 47, and a Nation of spain?
### Query: SELECT gold FROM table_name_65 ... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_76567 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text,
"Competition" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date when the attendance... |
### Context: CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Ad... |
### Context: CREATE TABLE table_14811 (
"Office" text,
"Representative" text,
"Party" text,
"Residence" text,
"First Elected" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Residence has a Party of dem, and a Representative of linda lawson?
#... |
### Context: CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit te... |
### Context: CREATE TABLE Guests (
guest_id INTEGER,
gender_code CHAR(1),
guest_first_name VARCHAR(80),
guest_last_name VARCHAR(80),
date_of_birth DATETIME
)
CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABL... |
### Context: CREATE TABLE table_name_81 (
tournament_location VARCHAR,
margin_of_victory VARCHAR,
purse___$__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament location has 1 stroke as the margin of victory, with 1,200,000 as the purse ($)?
... |
### Context: CREATE TABLE table_name_25 (
year INTEGER,
result VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year has a result of 3 in the venue of Jarama.
### Query: SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue ... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
... |
### Context: CREATE TABLE table_49043 (
"Name (English)" text,
"Name (German)" text,
"Abbr." text,
"Ideology" text,
"Position" text,
"Votes (2011)" text,
"Seats in Hamburgische B\u00fcrgerschaft" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_73657 (
"Team" text,
"City" text,
"Stadium" text,
"Capacity" real,
"Founded" real,
"Folded" real,
"History" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum founded year of the Worcester Torn... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
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 ... |
### Context: CREATE TABLE table_53050 (
"reported isn" real,
"On July 2007 Press Release" text,
"Disposition" text,
"Citizenship" text,
"Country of Act" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the lowest reported isn for russia
### Quer... |
### Context: CREATE TABLE table_name_24 (
oberliga_bayern VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Oberliga Bayern has a Season of 1981-82?
### Query: SELECT oberliga_bayern FROM table_name_24 WHERE season = "1981-82" |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
adm... |
### Context: 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)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_... |
### Context: CREATE TABLE table_3429 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed series # 422?
### Query: SELECT "Director" FROM 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE procedures (
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,
rel... |
### Context: CREATE TABLE table_name_75 (
lost INTEGER,
goals_for VARCHAR,
drawn VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest lost with a drawn more than 11, a position lower than 17 and more than 61 goals?
##... |
### 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_name_91 (
week INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which week was the opponent the oakland raiders?
### Query: SELECT SUM(week) FROM table_name_91 WHERE opponent = "oakland raiders" |
### Context: CREATE TABLE table_1682026_2 (
company VARCHAR,
market_value__billion_$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which company has a market value of 147.4?
### Query: SELECT company FROM table_1682026_2 WHERE market_value__billion_$_ = "... |
### Context: CREATE TABLE table_10979 (
"Name" text,
"Street address in Detroit" text,
"Years as tallest" text,
"Height feet / m" text,
"Floors" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Floors at st. joseph church?
### Quer... |
### 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_74875 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which average Played has a Drawn s... |
### 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_49254 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on January 7?
### Query: SELECT "Opponent" FROM table_49254 WHERE "Date" ... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TAB... |
### Context: CREATE TABLE table_11234 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stadium hosted the game that had a final score of 9-14?
### Query: SELECT... |
### Context: CREATE TABLE table_name_26 (
runner_up VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the runner-up when the winning score is 16 (68-70-65-65=268)?
### Query: SELECT runner_up FROM table_name_26 WHERE winning_score... |
### Context: CREATE TABLE table_207795_1 (
published_in_russian VARCHAR,
type_of_work VARCHAR,
published_in_english VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when type of work is novel and published in english is 1977, what was published in russian?... |
### Context: CREATE TABLE table_name_19 (
singular VARCHAR,
plural VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the singular if the plural is xweer(a)du?
### Query: SELECT singular FROM table_name_19 WHERE plural = "xweer(a)du" |
### Context: CREATE TABLE table_name_86 (
wins INTEGER,
top_25 VARCHAR,
top_5 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Wins with a Top-25 of 3, and a Top-5 larger than 1?
### Query: SELECT AVG(wins) FROM table_name_86 WHERE top_25 = 3 ... |
### Context: CREATE TABLE table_559 (
"Club" text,
"Played" text,
"Won" 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, answe... |
### Context: CREATE TABLE table_62878 (
"Team" text,
"Matches" real,
"Wins" real,
"Wins %" text,
"Draws" real,
"Draws %" text,
"Losses" real,
"Losses %" text,
"Against" real,
"For & Against Ratio" text
)
-- Using valid SQLite, answer the following questions for the tables provi... |
### Context: CREATE TABLE table_224837_4 (
date_successor_seated VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date successor seated is south carolina 3rd
### Query: SELECT date_successor_seated FROM table_224837_4 WHERE district... |
### Context: CREATE TABLE table_8893 (
"Position" real,
"Name" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name has more than 14 points with less than 1 draw?
### Query: SELECT "... |
### Context: CREATE TABLE table_76247 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What airport has an IATA of ARN?
### Query: SELECT "Airport" FROM table_76247 WHERE "IATA" = 'ar... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id numb... |
### Context: CREATE TABLE workshop (
Workshop_ID int,
Date text,
Venue text,
Name text
)
CREATE TABLE submission (
Submission_ID int,
Scores real,
Author text,
College text
)
CREATE TABLE Acceptance (
Submission_ID int,
Workshop_ID int,
Result text
)
-- Using valid SQLite... |
### 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_86 (
time_retired VARCHAR,
laps VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which time/retired had 75 laps and Pedro de la Rosa as a driver?
### Query: SELECT time_retired FROM table_name_86 WHERE ... |
### Context: CREATE TABLE table_name_46 (
set_3 VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for set 3 with a time at 15:04?
### Query: SELECT set_3 FROM table_name_46 WHERE time = "15:04" |
### Context: CREATE TABLE table_name_38 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2008 of the 2r 2011 and A 2010?
### Query: SELECT 2008 FROM table_name_38 WHERE 2011 = "2r" AND 2010 = "a" |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_4947 (
"Date" text,
"Tournament" text,
"Location" text,
"Winner" text,
"Score" text,
"Winner's share ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the tournament that had a winner's share of ... |
### 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 gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ... |
### Context: CREATE TABLE table_59247 (
"County" text,
"Precincts" text,
"E. Greenberg" text,
"G. Hager" text,
"T. Wyka" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the G. Hager of E. Greenberg of 266 (14%)?
### Query: SELECT "G. Hager" FRO... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name te... |
### Context: CREATE TABLE table_63738 (
"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.
-- what is the even when the location is ... |
### Context: CREATE TABLE table_5836 (
"Round" real,
"Selection" text,
"Name" text,
"Position" text,
"College" text,
"Contract" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds does Jamaal Charles have?
### Query: SELECT COUNT("Ro... |
### 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 admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age numb... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
Ta... |
### Context: CREATE TABLE table_204_938 (
id number,
"year" number,
"edmonton\nhundred" number,
"elthorne\nhundred" number,
"gore\nhundred" number,
"isleworth\nhundred" number,
"ossulstone\nhundred\nholborn\ndivision" number,
"ossulstone\nhundred\nfinsbury\ndivision" number,
"ossulst... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE lab (
... |
### Context: CREATE TABLE table_203_848 (
id number,
"outcome" text,
"no." number,
"date" number,
"tournament" text,
"surface" text,
"partner" text,
"opponents in the final" text,
"score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provi... |
### Context: CREATE TABLE table_70745 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who used Eurobrun er189b after 1989?
### Query: SELECT "Entrant" FROM table_70745 WHERE "Yea... |
### Context: CREATE TABLE postseason (
year INTEGER,
round TEXT,
team_id_winner TEXT,
league_id_winner TEXT,
team_id_loser TEXT,
league_id_loser TEXT,
wins INTEGER,
losses INTEGER,
ties INTEGER
)
CREATE TABLE batting (
player_id TEXT,
year INTEGER,
stint INTEGER,
tea... |
### 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_1057262_2 (
south_australia VARCHAR,
victoria VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the total number of south australia with victoria value of 2173
### Query: SELECT COUNT(south_australia) FROM table_1057262_2... |
### Context: CREATE TABLE table_32197 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which was the lowest overall that Wisconsin's team managed?
### Query: SELECT MI... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
... |
### Context: CREATE TABLE song (
song_name varchar2(50),
artist_name varchar2(50),
country varchar2(20),
f_id number(10),
genre_is varchar2(20),
rating number(10),
languages varchar2(20),
releasedate Date,
resolution number(10)
)
CREATE TABLE genre (
g_name varchar2(20),
rat... |
### Context: CREATE TABLE table_75640 (
"Poll Source" text,
"Date" text,
"Candidate" text,
"Support" text,
"Consider" text,
"Oppose" text,
"Unsure" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of people were opposed to the ... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_name_45 (
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country was the player from who scored 66-72-70=207?
### Query: SELECT country FROM table_name_45 WHERE score = 66 - 72 - 70 = 207 |
### Context: CREATE TABLE table_22580855_1 (
production_code INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the biggest production code?
### Query: SELECT MAX(production_code) FROM table_22580855_1 |
### Context: CREATE TABLE table_name_7 (
province VARCHAR,
iata VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich province has an IATA of WNZ?
### Query: SELECT province FROM table_name_7 WHERE iata = "wnz" |
### Context: CREATE TABLE table_name_93 (
city_of_license VARCHAR,
power VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the City of license that has a 1,400 watts Power
### Query: SELECT city_of_license FROM table_name_93 WHERE power = "1,400 watts" |
### Context: CREATE TABLE table_61863 (
"Pick" real,
"Player" text,
"Team" text,
"Position" text,
"Hometown/School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT PLAYER HAS UPLAND HIGH SCHOOL?
### Query: SELECT "Player" FROM table_61863 WHERE... |
### 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 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_DIRE_CD text,
MED_... |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE table_56680 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home has a Decision of kolzig, and a Date of no... |
### Context: CREATE TABLE table_65126 (
"Player" text,
"Int'l Debut" text,
"Year" text,
"Cross Code Debut" text,
"Date" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Cross Code Debut for a player that had their Int'... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.