text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_51 (
pick INTEGER,
position VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest pick of a player for the SS, P Position for the Minnesota Twins?
### Query: SELECT MIN(pick) FROM table_name... |
### Context: CREATE TABLE table_37351 (
"Week" real,
"Date" text,
"Opponent" text,
"Time ( ET )" text,
"Game site" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the week with a record of 2-1?
### Query... |
### 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 job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER va... |
### Context: CREATE TABLE table_5230 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Tyres" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Total points for a bs automotive entrant?
### Query: SELECT COUNT("Points")... |
### Context: CREATE TABLE table_name_29 (
semifinalists VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Semifinalists that has a Tournament of Cincinnati?
### Query: SELECT semifinalists FROM table_name_29 WHERE tournament = "... |
### Context: CREATE TABLE company (
company VARCHAR,
main_industry VARCHAR,
headquarters VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the company name and the main industry for all companies whose headquarters are not from USA.
### Query: SELECT ... |
### Context: CREATE TABLE table_name_93 (
status VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status of the 10 against?
### Query: SELECT status FROM table_name_93 WHERE against = 10 |
### Context: CREATE TABLE table_name_25 (
average_parish_size INTEGER,
_percentage_of_adherents VARCHAR,
regular_attendees VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest average parish size with 47.2% of adherents and 4,936 regular att... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE comment_instructor (
instruct... |
### 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_5 (
goals VARCHAR,
club VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals did the club from Hawthorn score in the 1971 season?
### Query: SELECT goals FROM table_name_5 WHERE club = "hawth... |
### Context: CREATE TABLE table_60644 (
"Year" real,
"Total Horses" real,
"Working Horses" text,
"Total Cattle" real,
"Oxen" real,
"Bulls" text,
"Cows" real,
"Pigs" real,
"Sheep and Goats" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### 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 prescriptions (
subject_id text... |
### Context: CREATE TABLE gyb (
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 diagnoses (
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 Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
Dele... |
### Context: CREATE TABLE table_name_84 (
opponents_in_the_final VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Opponents In The Final, when Score is 4-1 5-4 (7) 4-2?
### Query: SELECT opponents_in_the_final FROM table_name_84 WHERE s... |
### Context: CREATE TABLE table_18811 (
"Specification" text,
"Gender" text,
"Junior High School (12\u201315 yrs)" text,
"Senior High School (15\u201318 yrs)" text,
"University students and Adults (18yrs+)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE table_name_13 (
home_team VARCHAR,
rank VARCHAR,
capacity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What home team has a rank greater than 6, and 94,392 as the capacity?
### Query: SELECT home_team FROM table_name_13 WHERE... |
### Context: CREATE TABLE table_61194 (
"Name" text,
"Bodyweight" real,
"Snatch" real,
"Clean & Jerk" real,
"Total (kg)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHTA IS THE SNATCH WITH A TOTAL OF LARGER THAN 318 KG AND BODY WEIGHT OF 84.15?
... |
### Context: CREATE TABLE table_77003 (
"Draw" real,
"Language" text,
"Artist" text,
"Song" text,
"English translation" text,
"Place" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Points when the artist is... |
### Context: CREATE TABLE table_204_504 (
id number,
"year" number,
"award" text,
"category" text,
"work" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- did she win as an outstanding actress in a daytime drama series more than she... |
### 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid nu... |
### Context: CREATE TABLE zyjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
in... |
### Context: CREATE TABLE table_49023 (
"School Year" text,
"Volleyball" text,
"Cross Country" text,
"Soccer" text,
"Tennis" text,
"Golf" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is School Year, when Cross Country is Wooster?
### Que... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_43405 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text,
"Alternate" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club has Jamie Korab as Lead?
### Query: SELECT "Clu... |
### Context: CREATE TABLE table_3832 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... |
### Context: CREATE TABLE table_203_400 (
id number,
"district" text,
"vacator" text,
"reason for change" text,
"successor" text,
"date successor\nseated" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was catherine s. long 's previous repre... |
### Context: CREATE TABLE schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Nu... |
### Context: CREATE TABLE table_23157997_13 (
mountains_classification VARCHAR,
youth_classification VARCHAR,
points_classification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was Mountains Classification in the race with Nick Frey as Youth Classi... |
### Context: CREATE TABLE table_name_1 (
score VARCHAR,
date VARCHAR,
set_4 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Date is Jun 16, and when Set 4 is 25-20?
### Query: SELECT score FROM table_name_1 WHERE date = "jun 16" AND s... |
### Context: CREATE TABLE table_9188 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the match at the tournament in canada f7, toro... |
### 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 hz_info (
KH 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### 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 table_52167 (
"Name" text,
"League" real,
"FA Cup" real,
"League Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average total value in a League less than 1 with more than 1 League Cup?
### Qu... |
### Context: CREATE TABLE table_name_42 (
to_par INTEGER,
country VARCHAR,
year_s__won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which To par has a Country of australia, and a Year(s) won of 1990?
### Query: SELECT MIN(to_par) FROM table_name_42 WH... |
### Context: CREATE TABLE table_204_852 (
id number,
"year" number,
"film" text,
"language" text,
"character" text,
"co-star" text,
"music" text,
"banner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many films did the actress appe... |
### Context: CREATE TABLE player (
Player_ID int,
Player text,
Years_Played text,
Total_WL text,
Singles_WL text,
Doubles_WL text,
Team int
)
CREATE TABLE country (
Country_id int,
Country_name text,
Capital text,
Official_native_language text
)
CREATE TABLE team (
Team... |
### Context: CREATE TABLE table_59067 (
"Shooter" text,
"Event" text,
"Rank points" text,
"Score points" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the shooter that is the Defending Champion?
### Query: SELECT "Shooter" FRO... |
### Context: CREATE TABLE table_name_83 (
surface VARCHAR,
opponent_in_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what surface did Katarina Srebotnik play Paola Su rez?
### Query: SELECT surface FROM table_name_83 WHERE opponent_in_final = "pao... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_28511558_2 (
original_air_date__us_ VARCHAR,
directed_by VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the episode written by Mitch Watson and directed by Curt Geda originally air in the ... |
### Context: CREATE TABLE table_22759 (
"Name" text,
"Country" text,
"Seasons" text,
"Championship Titles" text,
"Race entries (Starts)" text,
"Poles" real,
"Wins" real,
"Podiums" real,
"Fastest Laps" real,
"Points" text
)
-- Using valid SQLite, answer the following questions f... |
### Context: CREATE TABLE college (
cname text,
state text,
enr number
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JS... |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_71675 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Team 2 has a second leg of 1-0?
### Query: SELECT "Team 2" FROM table_71675 WHERE "2nd ... |
### Context: CREATE TABLE table_name_14 (
position VARCHAR,
bats VARCHAR,
surname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position has L bats and Anderson as a surname?
### Query: SELECT position FROM table_name_14 WHERE bats = "l" AND surn... |
### Context: CREATE TABLE table_train_244 (
"id" int,
"fasting_venous_plasma_glucose" int,
"hemoglobin_a1c_hba1c" float,
"diabetic" string,
"capillary_glycated_hemoglobin" float,
"fasting_capillary_glucose" int,
"borderline_fasting_capillary_glucose_level" int,
"body_mass_index_bmi" floa... |
### Context: 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,
outtime time
)
CREATE TABLE prescriptions (
row_id number,
subject_id ... |
### Context: CREATE TABLE table_22879262_7 (
date VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what ist he date of game 29?
### Query: SELECT date FROM table_22879262_7 WHERE game = 29 |
### Context: CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE equipme... |
### 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 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 VOTING_RECORD (
CLASS_Senator_VOTE VARCHAR
)
CREATE TABLE STUDENT (
Fname VARCHAR,
StuID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the distinct first names of the students who have class senator votes.
### Query: SEL... |
### Context: CREATE TABLE Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1),
Phone INTEGER,
Room VARCHAR(5),
Building VARCHAR(13)
)
CREATE TABLE Participates_in (... |
### Context: CREATE TABLE table_63441 (
"Rank" real,
"Rowers" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time did the team from Ukraine have?
### Query: SELECT "Time" FROM table_63441 WHERE "Count... |
### Context: CREATE TABLE table_37284 (
"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.
-- What is the smallest amount of dra... |
### Context: CREATE TABLE table_1507806_1 (
year VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT YEAR WAS IT WHEN THE SCORE WAS 3 & 2?
### Query: SELECT year FROM table_1507806_1 WHERE winning_score = "3 & 2" |
### Context: CREATE TABLE table_38302 (
"Rank" text,
"Film" text,
"Director(s)" text,
"Country" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Director(s) made the film hanzubon no ojisan and received a prize of 300,000?
### Que... |
### 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 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 Invoices (
Order_Quantity INTEGER,
payment_method_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average quantities ordered with payment method code 'MasterCard' on invoices?
### Query: SELECT AVG(Order_Quantity) F... |
### Context: CREATE TABLE table_14462 (
"Urban area" text,
"Population 1.1.2009" text,
"Population 1.1.2008" real,
"Population 1.1.2007" text,
"Population 1.1.2006" real,
"Population per square km" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
)
CREATE TABLE race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score... |
### 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 table_41894 (
"Name" text,
"Level" real,
"Digits" real,
"Average size (square miles)" text,
"Number of HUs (approximate)" real,
"Example name" text,
"Example code (HUC)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_47147 (
"Company" text,
"Type" text,
"Principal activities" text,
"Incorporated in" text,
"Group's Equity Shareholding" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Group's Equity Shareholding has a Company of... |
### Context: CREATE TABLE people (
people_id number,
sex text,
name text,
date_of_birth text,
height number,
weight number
)
CREATE TABLE candidate (
candidate_id number,
people_id number,
poll_source text,
date text,
support_rate number,
consider_rate number,
oppose... |
### Context: CREATE TABLE table_7559 (
"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 above... |
### Context: CREATE TABLE table_50313 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Studio has a Rank smaller than 3, and a Director of adrian lyne?
### Query: SELECT "Stud... |
### 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 table_27713030_16 (
location_attendance VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location and attendance when lebron james (10) had the high assists?
### Query: SELECT location_attendance FR... |
### Context: CREATE TABLE table_19769687_3 (
_percentage_of_popular_vote VARCHAR,
_number_of_seats_won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number for % popular vote for # of seats won for 83
### Query: SELECT COUNT(_percentage_of_p... |
### 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 FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConc... |
### Context: CREATE TABLE table_27530 (
"June 10-11" text,
"March 27-29" text,
"January 15-16" text,
"November 3" text,
"August 21-22" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many solar eclipse during June 10-11 and march 27-29 is 149?
#... |
### Context: CREATE TABLE table_name_3 (
year INTEGER,
surface VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Year, when Surface is Hard, and when Opponent is Dinara Safina?
### Query: SELECT MIN(year) FROM table_nam... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
J... |
### 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 Student_Addresses (
student_id INTEGER,
address_id INTEGER,
date_address_from DATETIME,
date_address_to DATETIME,
monthly_rental DECIMAL(19,4),
other_details VARCHAR(255)
)
CREATE TABLE Behavior_Incident (
incident_id INTEGER,
incident_type_code VARCHAR(10),
... |
### 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 treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### Context: CREATE TABLE table_52485 (
"Date" text,
"Venue" text,
"Result" text,
"Scored" real,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest score with a Result of 1 1 on 4 march 2001?
### Query: SELECT MAX("Sco... |
### Context: CREATE TABLE table_name_40 (
screening_started VARCHAR,
screening_completed VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the screening started when it was completed 3 may 2006
### Query: SELECT screening_started FROM table_name_40 WHERE ... |
### Context: CREATE TABLE table_name_82 (
outcome VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome of the tournament in Edinburgh?
### Query: SELECT outcome FROM table_name_82 WHERE tournament = "edinburgh" |
### Context: CREATE TABLE table_name_75 (
wins INTEGER,
rank VARCHAR,
points VARCHAR,
class VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest number of wins for a team ranked 8th with fewer than 32 points in the 350cc class?
### Quer... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_78117 (
"8:00" text,
"8:30" text,
"9:00" text,
"9:30" text,
"10:00" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is at 9:00 when at 10:00 it is local programming and at 9:30 it is my thursday night movie?
### ... |
### 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_88 (
date VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the opponents the Oakland Raiders?
### Query: SELECT date FROM table_name_88 WHERE opponent = "oakland raiders" |
### Context: CREATE TABLE table_name_86 (
team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Team with a Player that is david cooper?
### Query: SELECT team FROM table_name_86 WHERE player = "david cooper" |
### Context: CREATE TABLE table_name_5 (
block INTEGER,
weight VARCHAR,
height VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest block that has a height less than 202, 19.06.1980 as the date of birth, and a weig... |
### Context: CREATE TABLE table_68069 (
"School" text,
"Team" text,
"Division Record" text,
"Overall Record" text,
"Season Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the season outcome for smyrna
### Query: SELECT "Season Outcome"... |
### 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,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.