text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_67422 (
"Company" text,
"Type" text,
"Principal activities" text,
"Incorporated in" text,
"Group's Equity Shareholding (10 March 2010)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the incorporated for principa... |
### Context: CREATE TABLE table_18734298_1 (
no_in_series VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many series were directed by Rob Renzetti?
### Query: SELECT COUNT(no_in_series) FROM table_18734298_1 WHERE directed_by = "Rob... |
### Context: CREATE TABLE film (
Film_ID VARCHAR
)
CREATE TABLE film_market_estimation (
Film_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the film that has the highest high market estimation.
### Query: SELECT t1.title FROM film ... |
### Context: CREATE TABLE table_38607 (
"Team" text,
"Recopa 1995" text,
"Supercopa 1995" text,
"CONMEBOL 1995" text,
"Copa Libertadores 1996" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Team has a round 1 CONMEBOL 1995?
### Query: SELECT ... |
### Context: CREATE TABLE table_46084 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score on January 23?
### Query: SELECT "Score" FROM table_46084 WHERE "Date" = 'janu... |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees ... |
### Context: CREATE TABLE table_41525 (
"Outcome" text,
"Year" text,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was Xavier Malisse the runner-up ... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE vitalpe... |
### Context: CREATE TABLE table_name_47 (
venue VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Venue was used when the Home team was geelong?
### Query: SELECT venue FROM table_name_47 WHERE home_team = "geelong" |
### Context: CREATE TABLE table_name_13 (
game_modes VARCHAR,
pinyin VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which game modes have Pinyin of ch oj m l u sh ji ?
### Query: SELECT game_modes FROM table_name_13 WHERE pinyin = "chāojí mǎlìōu shìjiè" |
### Context: CREATE TABLE table_74203 (
"No. in series" text,
"No. in season" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. code" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### 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_36661 (
"Season" real,
"Driver" text,
"Team" text,
"Tyre" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is total amount of points for the 2007 season?
### Query: SELECT SUM("Points") FROM table_3... |
### Context: CREATE TABLE restaurant (
id int,
name varchar,
food_type varchar,
city_name varchar,
rating "decimal
)
CREATE TABLE location (
restaurant_id int,
house_number int,
street_name varchar,
city_name varchar
)
CREATE TABLE geographic (
city_name varchar,
county var... |
### Context: CREATE TABLE table_name_12 (
nationality VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the nationality for pick of 16
### Query: SELECT nationality FROM table_name_12 WHERE pick = 16 |
### Context: CREATE TABLE table_65794 (
"Edition" text,
"Year" text,
"City" text,
"Country" text,
"Date" text,
"No. of Events" real,
"Top Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Events have a Country of trinidad and tob... |
### Context: CREATE TABLE Ref_Transaction_Types (
transaction_type_code VARCHAR(10),
transaction_type_description VARCHAR(80)
)
CREATE TABLE Investors (
investor_id INTEGER,
Investor_details VARCHAR(255)
)
CREATE TABLE Transactions (
transaction_id INTEGER,
investor_id INTEGER,
transaction... |
### Context: CREATE TABLE table_41912 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was Shannon Long the Centerfold model?
### Query: SELECT ... |
### Context: CREATE TABLE table_54093 (
"Name" text,
"GNIS Feature ID" real,
"State" text,
"County" text,
"Type" text,
"USGS 7.5' Map" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total GNIS Feature ID with a County of idaho?
### ... |
### Context: CREATE TABLE table_71517 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which runner-up has a 10 strokes margin of victory?
### Query: SELECT... |
### Context: CREATE TABLE Research_Staff (
staff_id INTEGER,
employer_organisation_id INTEGER,
staff_details VARCHAR(255)
)
CREATE TABLE Documents (
document_id INTEGER,
document_type_code VARCHAR(10),
grant_id INTEGER,
sent_date DATETIME,
response_received_date DATETIME,
other_deta... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE diagnosis (
di... |
### Context: CREATE TABLE table_1341472_20 (
first_elected INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the first election year listed?
### Query: SELECT MIN(first_elected) FROM table_1341472_20 |
### Context: CREATE TABLE table_16878 (
"Yard Name" text,
"Location (city, state)" text,
"1st Ship Delivery Date" text,
"Ship Types Delivered" text,
"Total Number of Ways" text,
"total vessels built" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_23214055_2 (
district VARCHAR,
nairs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the district for nairs 8.2
### Query: SELECT district FROM table_23214055_2 WHERE nairs = "8.2" |
### Context: CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE Users (
Id number,
Reput... |
### 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 table_64375 (
"Chord" text,
"Root" text,
"Major third" text,
"Augmented fifth" text,
"Minor seventh" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the listed chord for a Minor seventh of F?
### Query: SELECT "Chor... |
### 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_name_42 (
date VARCHAR,
total VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day was the total smaller than 19 at Venue of anz stadium?
### Query: SELECT date FROM table_name_42 WHERE total < 19 AND ve... |
### Context: CREATE TABLE table_name_74 (
connection_with_australia VARCHAR,
connection_with_america VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the connection with Australia when the connection with America shows born in the u.s.; mother is u.s. ... |
### Context: CREATE TABLE table_65430 (
"Season" text,
"1st round" text,
"2nd round" text,
"3rd round" text,
"Finals" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 3rd round has a 1st round of ?
### Query: SELECT "3rd round" FROM table_65430... |
### Context: CREATE TABLE table_78961 (
"Goalkeeper" text,
"Goals" real,
"Matches" real,
"Average" real,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Average, when Goals is '34', and when Matches is less than 37?
### Qu... |
### Context: CREATE TABLE table_40902 (
"Rank" real,
"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 number of silver where the rank is higher than 4 and bronze is smal... |
### Context: CREATE TABLE table_27713030_11 (
team VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent for the game with a score of w 94 88 (ot)?
### Query: SELECT team FROM table_27713030_11 WHERE score = "W 94–88 (OT)" |
### Context: CREATE TABLE table_name_68 (
high_rebounds VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the High rebounds with a Team that is charlotte?
### Query: SELECT high_rebounds FROM table_name_68 WHERE team = "charlotte" |
### 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_18791 (
"City of license /Market" text,
"Station" text,
"Channel TV ( DT )" text,
"Owned since" text,
"Primary affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city has channel tv (dt) 25 (31)?
### Qu... |
### Context: CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
... |
### Context: CREATE TABLE employee (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the total number of employees.
### Query: SELECT COUNT(*) FROM employee |
### Context: CREATE TABLE table_name_73 (
game VARCHAR,
road_team VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game number was played on April 23, with Boston as the road team?
### Query: SELECT game FROM table_name_73 WHERE road_te... |
### Context: CREATE TABLE table_26558_1 (
record_low VARCHAR,
precip VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record lowest temperature with a precipitation of 1.71 in.?
### Query: SELECT record_low FROM table_26558_1 WHERE precip = "1.71... |
### Context: CREATE TABLE table_52838 (
"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 which venue did the home team sc... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gende... |
### Context: CREATE TABLE table_name_35 (
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is Nick Price from?
### Query: SELECT country FROM table_name_35 WHERE player = "nick price" |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time... |
### Context: CREATE TABLE journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
Years_working int
)
CREATE TABLE event (
Event_ID int,
Date text,
Venue text,
Name text,
Event_Attendance int
)
CREATE TABLE news_report (
journalist_ID int,
Event_ID int,
... |
### Context: CREATE TABLE table_57257 (
"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 is the score for the home team... |
### Context: CREATE TABLE table_53093 (
"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 was the attendence of the game... |
### 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 party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
Number_of_hosts int
)
CREATE TABLE host (
Host_ID int,
Name text,
Nationality text,
Age text
)
CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_M... |
### Context: CREATE TABLE table_20431 (
"Episode Number" real,
"Air Date" text,
"Guest Host" text,
"Musical Guest (Song performed)" text,
"Who knows the most about the guest host? panelists" text,
"Coat Of Cash Wearing Celebrity" text
)
-- Using valid SQLite, answer the following questions for... |
### Context: CREATE TABLE farm (
Farm_ID int,
Year int,
Total_Horses real,
Working_Horses real,
Total_Cattle real,
Oxen real,
Bulls real,
Cows real,
Pigs real,
Sheep_and_Goats real
)
CREATE TABLE competition_record (
Competition_ID int,
Farm_ID int,
Rank int
)
CREAT... |
### Context: CREATE TABLE table_name_75 (
owner_s_ VARCHAR,
team VARCHAR,
driver_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the owner of RSS Racing that driver Ryan Sieg belongs to?
### Query: SELECT owner_s_ FROM table_name_75 WHERE team ... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDura... |
### Context: CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_74998 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Loser" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year when the Winner was the new york jets, with a Result of 24 1... |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_name_40 (
school VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What School did Terrence Jones play for?
### Query: SELECT school FROM table_name_40 WHERE player = "terrence jones" |
### 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_51743 (
"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 is the score of the away team ... |
### Context: CREATE TABLE table_42191 (
"Name" text,
"Start of Reign" real,
"End of Reign" text,
"Birth Name" text,
"Title" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the end of reign for Dimitar Stojkovski?
### Query: SELECT "End of Re... |
### Context: CREATE TABLE table_name_14 (
writer VARCHAR,
film VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the writer of the film Run?
### Query: SELECT writer FROM table_name_14 WHERE film = "run" |
### Context: CREATE TABLE trip (
id number,
duration number,
start_date text,
start_station_name text,
start_station_id number,
end_date text,
end_station_name text,
end_station_id number,
bike_id number,
subscription_type text,
zip_code number
)
CREATE TABLE status (
st... |
### Context: CREATE TABLE table_name_3 (
partner VARCHAR,
outcome VARCHAR,
opponents_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Partner has a Outcome of winner, and a Opponents in the final of rick leach jim pugh?
### Query: SELEC... |
### Context: CREATE TABLE table_22512 (
"Year" real,
"1st Place Team" text,
"2nd Place Team" text,
"3rd Place Team" text,
"4th Place Team" text,
"Host Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years was the 2nd place team... |
### Context: CREATE TABLE table_name_3 (
analog_channel VARCHAR,
digital_channel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Digital channel of 32 belongs to what analog channel?
### Query: SELECT analog_channel FROM table_name_3 WHERE digital_channel = ... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
d... |
### Context: CREATE TABLE table_14395920_2 (
winner VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won stage 18?
### Query: SELECT winner FROM table_14395920_2 WHERE stage = 18 |
### 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_77997 (
"Round" text,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Round with a Opponent with blackburn?
### Query: SELECT "Round" FROM table_77997 W... |
### Context: CREATE TABLE table_train_126 (
"id" int,
"childhood_febrile_seizure" bool,
"neurodegenerative_disease" bool,
"cns_disease" bool,
"head_injury" bool,
"stroke" bool,
"renal_disease" bool,
"cerebrovascular_disease" bool,
"hepatic_disease" bool,
"headache" bool,
"car... |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_204_905 (
id number,
"team" text,
"wins" number,
"losses" number,
"win %" number,
"gb" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams won at least 85 games ?
### Query: SELECT COUNT("team") FROM ... |
### Context: CREATE TABLE table_77982 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which school is in Riverside, CA?
### Query: SELECT "School" FROM t... |
### Context: CREATE TABLE table_name_9 (
area VARCHAR,
years VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which area has Years of 1 8, and a Name of broomfield school?
### Query: SELECT area FROM table_name_9 WHERE years = "1–8" AND name... |
### Context: CREATE TABLE aircraft (
Aircraft_ID int(11),
Aircraft varchar(50),
Description varchar(50),
Max_Gross_Weight varchar(50),
Total_disk_area varchar(50),
Max_disk_Loading varchar(50)
)
CREATE TABLE pilot (
Pilot_Id int(11),
Name varchar(50),
Age int(11)
)
CREATE TABLE air... |
### Context: CREATE TABLE table_name_79 (
game_site VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the game site week 15?
### Query: SELECT game_site FROM table_name_79 WHERE week = 15 |
### Context: CREATE TABLE table_name_40 (
team VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Team has a Score of 89-123?
### Query: SELECT team FROM table_name_40 WHERE score = "89-123" |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respi... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE program_requirement (
program_id int,
categ... |
### Context: CREATE TABLE mzb (
CLINIC_ID text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE 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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal... |
### Context: CREATE TABLE table_48797 (
"Rider" text,
"Manufacturer" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the rider with 22 laps and a +19.435 time/retired?
### Query: SELECT "Rider" F... |
### Context: CREATE TABLE table_12534 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Score of 92 93?
### Que... |
### Context: CREATE TABLE table_54830 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When st kilda played as the away te... |
### Context: CREATE TABLE table_29666 (
"Episode Air Date" text,
"Audition City" text,
"Audition Date" text,
"Audition Venue" text,
"Guest Fourth Judge" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List all episode air dates whose audition venues ... |
### Context: CREATE TABLE table_name_44 (
year VARCHAR,
venue VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when is the venue nikos goumas stadium and the score is 2 2 4 4 a.e.t. 6 5 pso?
### Query: SELECT year FROM table_name_44 WHERE v... |
### Context: CREATE TABLE table_name_49 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is 2005 when 2003 is A, 2007 is 2r and 2012 is 3r?
### Query: SELECT 2005 FROM table_name_49 WHERE 2003 = "a" AND 2007 = "2r" AND 2012 = "3r" |
### 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 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 chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
... |
### Context: CREATE TABLE table_name_85 (
place VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the place number for the player with a To Par score of 'E'?
### Query: SELECT place FROM table_name_85 WHERE to_par = "e" |
### Context: CREATE TABLE table_53198 (
"Player" text,
"Car." real,
"Yards" text,
"Avg." text,
"TD's" real,
"Long" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the long for the player with 26 carries?
### Query: SELECT "Long" FROM tab... |
### Context: CREATE TABLE table_name_37 (
owgr_pts INTEGER,
dates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which OWGR pts has Dates of may 10-13?
### Query: SELECT SUM(owgr_pts) FROM table_name_37 WHERE dates = "may 10-13" |
### Context: CREATE TABLE table_name_79 (
opponent VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has a time of 1:50?
### Query: SELECT opponent FROM table_name_79 WHERE time = "1:50" |
### Context: CREATE TABLE table_58555 (
"Country" text,
"Interview" real,
"Swimsuit" real,
"Evening Gown" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total average for swimsuits smaller than 9.62 in Colorado?
### Quer... |
### 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 Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Locati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.