text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_18205 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Status" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What parties are represented in Massachusetts4 district?
###... |
### Context: CREATE TABLE table_10542 (
"Draw" real,
"Artist" text,
"Song" text,
"Points" real,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many draws for avia band with over 22 points?
### Query: SELECT COUNT("Draw") FROM table_1054... |
### 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_1 (
score VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for game 38?
### Query: SELECT score FROM table_name_1 WHERE game = 38 |
### Context: CREATE TABLE table_20540006_6 (
attendance INTEGER,
challenge_leader VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance for the game when the challenge leader was at Big East (4-2)?
### Query: SELECT MAX(attendance) FROM tab... |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
Targe... |
### Context: CREATE TABLE table_62583 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a To par smaller than 7, and a Total of 148?
### Query: SELECT "Count... |
### Context: CREATE TABLE table_27925 (
"meas. num" real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of proposa... |
### 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 allergy ... |
### Context: CREATE TABLE table_60639 (
"Player" text,
"Career" text,
"Goals (Caps)" text,
"Pct." real,
"Playing status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the career of player serhiy konovalov, who has less than 1 pct.?
### Que... |
### 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_46209 (
"Club" text,
"Played" 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.
-- Which Points again... |
### Context: CREATE TABLE table_17742 (
"No." real,
"P" text,
"Name" text,
"Country" text,
"Age" real,
"Loan Club" text,
"Started" text,
"Ended" text,
"Start Source" text,
"End Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE Comments (
Id number,
PostId number,
... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
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 departments (
DEPARTME... |
### 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_41 (
record VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record on January 18?
### Query: SELECT record FROM table_name_41 WHERE date = "january 18" |
### Context: CREATE TABLE table_35958 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the averag... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,... |
### Context: CREATE TABLE table_203_812 (
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.
-- how many combined gold medals did japan and france w... |
### Context: CREATE TABLE table_55035 (
"Outcome" text,
"Date" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which outcome has a Opponent of fernando verdasco?
### Query: SELECT "Outcome" FROM table_5... |
### Context: CREATE TABLE table_204_522 (
id number,
"boat #" text,
"name" text,
"builder" text,
"laid down" text,
"launched" text,
"completed" text,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what other boat was completed on ... |
### Context: CREATE TABLE products (
product_id number,
product_details text
)
CREATE TABLE addresses (
address_id number,
address_content text,
city text,
zip_postcode text,
state_province_county text,
country text,
other_address_details text
)
CREATE TABLE customer_orders (
o... |
### Context: CREATE TABLE journalist (
Name VARCHAR,
Years_working VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the names of journalists in ascending order of years working.
### Query: SELECT Name FROM journalist ORDER BY Years_working |
### 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_51620 (
"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.
-- Who played Melbourne as the home te... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
in... |
### 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_items (
row_id number,
itemid number,
label text,
linksto text
)
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,... |
### Context: CREATE TABLE table_dev_51 (
"id" int,
"gender" string,
"antihypertensive_agents" bool,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"obesity" bool,
"diastolic_blood_pressure_dbp" int,
"body_mass_index_bmi" float,
"hypertension" bool,
"prehypertens... |
### Context: CREATE TABLE Projects (
project_id INTEGER,
organisation_id INTEGER,
project_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_details VARCHAR... |
### Context: CREATE TABLE table_65626 (
"Club" text,
"Total points" text,
"Bonus points" text,
"Match points" text,
"Games" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Diff" text
)
-- Using valid SQLite, answer the following questions for the tab... |
### Context: CREATE TABLE table_31558 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the first year he placed 12th
### Query: SELECT MIN("Year") FROM table_31558 WHERE ... |
### Context: CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
)
-- Using valid SQLite, answer the following quest... |
### Context: CREATE TABLE table_name_3 (
nationality VARCHAR,
heat VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nationality with less than 9 heat, and a time of 1:01.87?
### Query: SELECT nationality FROM table_name_3 WHERE h... |
### Context: CREATE TABLE table_75442 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Game has a Record of 14 10 4, and Points smaller than 32?
### Quer... |
### Context: CREATE TABLE table_name_30 (
venue VARCHAR,
semi_final_heat_host VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue when David Jacobs was the host?
### Query: SELECT venue FROM table_name_30 WHERE semi_final_heat_host = "david ja... |
### Context: CREATE TABLE table_37472 (
"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.
-- How many positions have figueirens... |
### 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_203_528 (
id number,
"year" number,
"political rights" number,
"civil liberties" number,
"status" text,
"president" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the next president listed after hamani dior... |
### Context: CREATE TABLE station_company (
station_id number,
company_id number,
rank_of_the_year number
)
CREATE TABLE company (
company_id number,
rank number,
company text,
headquarters text,
main_industry text,
sales_billion number,
profits_billion number,
assets_billio... |
### Context: CREATE TABLE table_name_8 (
team VARCHAR,
year VARCHAR,
overall_pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In 1981 which team picked overall 148?
### Query: SELECT team FROM table_name_8 WHERE year = 1981 AND overall_pick = "148" |
### Context: CREATE TABLE table_name_71 (
location VARCHAR,
objectnumber VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Location has an ObjectNumber of 2005-7698?
### Query: SELECT location FROM table_name_71 WHERE objectnumber = "2005-7698" |
### Context: CREATE TABLE table_name_98 (
siburan_padawan VARCHAR,
tagalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Siburan-Padawan word for the Tagalog word kanin?
### Query: SELECT siburan_padawan FROM table_name_98 WHERE tagalog = "kani... |
### Context: CREATE TABLE table_name_59 (
mass__kg_ INTEGER,
landing_zone VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest mass for Tycho Crater?
### Query: SELECT MAX(mass__kg_) FROM table_name_59 WHERE landing_zone = "tycho crater" |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
... |
### Context: CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
basePrice INTEGER,
decor TEXT
)
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName T... |
### Context: 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(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE station_company (
Station_ID int,
Company_ID int,
Rank_of_the_Year int
)
CREATE TABLE company (
Company_ID int,
Rank int,
Company text,
Headquarters text,
Main_Industry text,
Sales_billion real,
Profits_billion real,
Assets_billion real,
Market_... |
### 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_77 (
result VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the directorial debut of the year award?
### Query: SELECT result FROM table_name_77 WHERE category = "directorial debut ... |
### 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_52109 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the away team score when the home team score... |
### 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 enzyme (
id int,
name text,
Location text,
Product text,
Chromosome text,
OMIM int,
Porphyria text
)
CREATE TABLE medicine (
id int,
name text,
Trade_Name text,
FDA_approved text
)
CREATE TABLE medicine_enzyme_interaction (
enzyme_id int,
m... |
### Context: CREATE TABLE table_49357 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Prize amount of Winner Dominik Nitsche?
### Query: SELECT "Prize" FROM table_49357 WHE... |
### Context: CREATE TABLE table_57176 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is shabazz muhammad from?
### Query: SELECT "Hometown" FROM table_57176 WHERE "Play... |
### Context: CREATE TABLE table_76397 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the average top-5 when the cuts made is mor... |
### Context: CREATE TABLE table_80235 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the entrant earlier than 1956 with a Vanwall Special chassis?
### Query: SELECT "Ent... |
### 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_37325 (
"Date" text,
"Opponent" text,
"Result" text,
"Score" text,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which record has a score of 135 134?
### Query: SELECT "Record" FROM table... |
### Context: CREATE TABLE item (
title VARCHAR,
i_id VARCHAR
)
CREATE TABLE review (
i_id VARCHAR,
rating INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name and id of the item with the highest average rating.
### Query: SELECT T1.title, T... |
### Context: CREATE TABLE table_48753 (
"Rank" real,
"Team" text,
"Played" real,
"Wins" real,
"Ties" real,
"Losses" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Ties, when Played is greater than 5?
### Q... |
### Context: CREATE TABLE table_name_91 (
place INTEGER,
rank_by_average VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average place for a couple with the rank by average of 9 and total smaller than 83?
### Query: SELECT AVG(... |
### Context: CREATE TABLE table_204_266 (
id number,
"#" number,
"event year" number,
"season" text,
"flag bearer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the last flag bearer for georgia ?
### Query: SELECT "flag bearer" FROM table_... |
### Context: CREATE TABLE table_21538 (
"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_48204 (
"Member" text,
"Party" text,
"Electorate" text,
"State" text,
"Term of office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is State, when Member is 'Gil Duthie'?
### Query: SELECT "State" FROM table_4... |
### 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 nuclear_power_plants (
id text,
name text,
latitude text,
longitude text,
country text,
status text,
reactortype text,
reactormodel text,
constructionstartat text,
operationalfrom text,
operationalto text,
capacity text,
lastupdatedat text,
... |
### 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 intakeou... |
### Context: CREATE TABLE table_62790 (
"Constituency number" text,
"Name" text,
"Reserved for ( SC / ST /None)" text,
"District" text,
"Number of electorates (2009)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest number of 2009... |
### Context: CREATE TABLE table_74666 (
"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 home team score when th... |
### Context: CREATE TABLE table_15014 (
"Rank" real,
"Player" text,
"From" text,
"Transfer fee ( \u20ac million)" real,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a transfer fee larger than 12 from ajax in 2006 while ranked higher... |
### 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID d... |
### Context: CREATE TABLE table_14479 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine scored 17 points?
### Query: SELECT "Engine" FROM table_14479 WHERE "Points" = '... |
### Context: CREATE TABLE table_53949 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text,
"Alternate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the lead in Norway?
### Query: SELECT "Lead" FROM table_53949 WHERE... |
### Context: CREATE TABLE table_15796100_1 (
theme VARCHAR,
original_artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many themes have the original artist of Judy Garland?
### Query: SELECT COUNT(theme) FROM table_15796100_1 WHERE original_artist =... |
### 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_50132 (
"Model" text,
"Manufacturer" text,
"Weight (kg)" real,
"Display size (in)" real,
"Processor model" text,
"Storage type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Weight (kg) has a Manufacturer o... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE... |
### Context: CREATE TABLE member (
Member_ID int,
Name text,
Country text,
College_ID int
)
CREATE TABLE college (
College_ID int,
Name text,
Leader_Name text,
College_Location text
)
CREATE TABLE round (
Round_ID int,
Member_ID int,
Decoration_Theme text,
Rank_in_Round... |
### 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 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_204_25 (
id number,
"rank" number,
"mountain peak" text,
"mountain range" text,
"elevation" text,
"prominence" text,
"isolation" text,
"location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which mounta... |
### Context: CREATE TABLE table_6857 (
"Date" text,
"Rocket" text,
"Type" text,
"Launch site" text,
"Satellite" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which type is a satellite of GPS IIIA-2?
### Query: SELECT "Type" FROM table_6857 WHERE "... |
### Context: CREATE TABLE table_name_90 (
regional_county_municipality VARCHAR,
type VARCHAR,
code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the regional county municipality when the type is m and the code is less than 91015?
### Query: SEL... |
### 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 table_name_17 (
nationality VARCHAR,
round VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Nationality, when Round is less than 2, and when Pick is '24'?
### Query: SELECT nationality FROM table_name_17 WHE... |
### Context: CREATE TABLE table_21471897_2 (
ranking VARCHAR,
rr2_pts VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the ranking for rr2 pts being 8
### Query: SELECT ranking FROM table_21471897_2 WHERE rr2_pts = 8 |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
... |
### Context: CREATE TABLE table_name_67 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Home team of essendon is playing what is the Away team score?
### Query: SELECT away_team AS score FROM table_name_67 WHERE home_t... |
### Context: CREATE TABLE table_name_55 (
original_air_date VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original air date of the episode with production code 2395120?
### Query: SELECT original_air_date FROM table_na... |
### Context: CREATE TABLE ship (
Ship_ID int,
Name text,
Type text,
Nationality text,
Tonnage int
)
CREATE TABLE mission (
Mission_ID int,
Ship_ID int,
Code text,
Launched_Year int,
Location text,
Speed_knots int,
Fate text
)
-- Using valid SQLite, answer the following... |
### 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 Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
basePrice INTEGER,
decor TEXT
)
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName T... |
### Context: CREATE TABLE table_train_205 (
"id" int,
"anemia" bool,
"gender" string,
"renal_disease" bool,
"hematocrit_hct" float,
"creatinine_gfr" int,
"fasting_plasma_triglyceride" int,
"thiazolidinediones" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the... |
### Context: CREATE TABLE table_50161 (
"Date" text,
"Opponent" text,
"Score" text,
"Leading Scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Leading Scorer in the Game with a Score of 96-87?
... |
### Context: CREATE TABLE table_name_87 (
team_2 VARCHAR,
captain_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Team 2 has a Captain 1 of final?
### Query: SELECT team_2 FROM table_name_87 WHERE captain_1 = "final" |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CRE... |
### Context: CREATE TABLE table_12545 (
"Tournament" text,
"1973" text,
"1974" text,
"1975" text,
"1976" text,
"1977" text,
"1978" text,
"1979" text,
"1983" text,
"1984" text,
"1985" text,
"1986" text
)
-- Using valid SQLite, answer the following questions for the table... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.