text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_58900 (
"Glenelg FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins were there when the byes were more than 3?
### Query: SELEC... |
### Context: CREATE TABLE table_4329 (
"Heat Rank" real,
"Lane" real,
"Swimmer" text,
"Country" text,
"Time" real,
"Overall Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the overall rank for heat rank of 8
### Query: SELECT "Over... |
### Context: CREATE TABLE table_41268 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of bike had a grid less than 23, an accident under time, and Graeme Gowland as a rider?
###... |
### Context: CREATE TABLE table_74553 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the attendance rate for the Middlesbrough opponent?
### Query: SELECT "Attendance... |
### Context: CREATE TABLE table_name_42 (
city VARCHAR,
airport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what city is the toamasina airport in?
### Query: SELECT city FROM table_name_42 WHERE airport = "toamasina airport" |
### Context: CREATE TABLE table_57467 (
"Election" text,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text,
"3rd Member" text,
"3rd Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 3rd Member had 2nd Member o... |
### Context: CREATE TABLE table_name_57 (
chassis VARCHAR,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Chassis did the Entrant clarke-mordaunt-guthrie-durlacher carry?
### Query: SELECT chassis FROM table_name_57 WHERE entrant = "clarke-mor... |
### Context: CREATE TABLE table_name_67 (
bronze VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Iceland gets the Silver, who gets the Bronze?
### Query: SELECT bronze FROM table_name_67 WHERE silver = "iceland" |
### Context: CREATE TABLE table_53786 (
"Team" text,
"Season" text,
"Regular Season" real,
"Postseason" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total wins do the Texas Tech Red Raiders have including the 7 regular seaso... |
### Context: CREATE TABLE table_15040_8 (
spanish VARCHAR,
french VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Spanish word for the French word filtrer?
### Query: SELECT spanish FROM table_15040_8 WHERE french = "filtrer" |
### Context: CREATE TABLE table_name_15 (
title VARCHAR,
year VARCHAR,
genre VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title's genre was jazz when it was nominated in 1996?
### Query: SELECT title FROM table_name_15 WHERE ... |
### Context: CREATE TABLE table_13263 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Bronzes have a Rank of 9, and a Silver larger than 2?
### Query: SELE... |
### 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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME var... |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_c... |
### Context: CREATE TABLE table_name_4 (
route_of_administration VARCHAR,
status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the route of administration that has several ongoing and complete?
### Query: SELECT route_of_administration FROM table_n... |
### Context: CREATE TABLE table_35167 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"76ers points" real,
"Opponent points" real,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Streak... |
### 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_name_24 (
score VARCHAR,
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the game on November 12 with the Chicago Black Hawks as the visitor team?
### Query: SELECT score FROM tab... |
### Context: CREATE TABLE table_43887 (
"Year" real,
"Category" text,
"Genre" text,
"Title" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE RESULT FOR 2003, IN best urban/alternative performance?
### Query: SELECT "Result"... |
### Context: CREATE TABLE table_32469 (
"Date" text,
"Result" text,
"Score" text,
"Stadium" text,
"City" text,
"Crowd" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the game at Odsal Stadium?
### Query: SELECT "Result" FR... |
### Context: CREATE TABLE table_13036251_1 (
the_mole VARCHAR,
airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the the mole with airdate being 5 january 2012
### Query: SELECT COUNT(the_mole) FROM table_13036251_1 WHERE airdate = "5 January 20... |
### Context: CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Has_Allergy (
... |
### Context: CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE T... |
### Context: CREATE TABLE table_10936 (
"Round" text,
"Pick" text,
"Player" text,
"Nationality" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which nationality does Florida Tech have?
### Query: SELECT "Nationality" FROM table_10936... |
### 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 Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),
password VARCHAR(10),
personal_name VARCHAR(40),
middle_name VARCHAR(40),
family_name VARCHAR(40)
)
CREATE TABLE Student_Tests_Taken (
regis... |
### Context: CREATE TABLE table_name_12 (
first VARCHAR,
surname VARCHAR,
position VARCHAR,
uni_number VARCHAR,
throws VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which First has a Uni # larger than 34, and Throws of r, and a Position of rhp, ... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE transfers (
row_id number,
subject_i... |
### Context: CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts te... |
### Context: CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
... |
### 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_18600760_1 (
land___sqmi__ VARCHAR,
township VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the land for ada
### Query: SELECT COUNT(land___sqmi__) FROM table_18600760_1 WHERE township = "Ada" |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE program (
program_id int,
name varchar,
... |
### Context: CREATE TABLE table_name_38 (
kk___5 VARCHAR,
kk___3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is KK -5 if KK - 3 is 310?
### Query: SELECT kk___5 FROM table_name_38 WHERE kk___3 = "310" |
### Context: CREATE TABLE table_204_691 (
id number,
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" number,
"scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who scored more goals : mccoist o... |
### 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 ftxmzjzjlb (
HXPLC n... |
### Context: CREATE TABLE table_29047 (
"Date" text,
"Time" text,
"Visiting team" text,
"Home team" text,
"Site" text,
"Broadcast" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in th... |
### 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_57 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest crowd seen at a game that Richmond was the Away team in?
### Query: SELECT MIN(crowd) FROM table_name_57 WHERE away_team = ... |
### Context: CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
TXBZ number,
ZZBZ number,
WDBZ number,
JZKSBM text,
JZKSMC text,
... |
### Context: CREATE TABLE table_1475 (
"Player" text,
"VFL Games" real,
"VFL Club(s)" text,
"Rank held at time of death" text,
"Date of death" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What vfl club(s) for players ranked se... |
### Context: CREATE TABLE table_name_63 (
lost VARCHAR,
against VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Lost has an Against of 49 and a Played smaller than 20?
### Query: SELECT COUNT(lost) FROM table_name_63 WHERE against =... |
### 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 transfers (
row_id number,
subject_id numb... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ ... |
### Context: CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year t... |
### Context: CREATE TABLE table_12969 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is Steve Jones from?
### Query: SELECT "Country" FROM ta... |
### Context: CREATE TABLE ship (
TYPE VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show different types of ships and the number of ships of each type.
### Query: SELECT TYPE, COUNT(*) FROM ship GROUP BY TYPE |
### Context: CREATE TABLE table_51284 (
"Pick #" real,
"Player" text,
"Nationality" text,
"Position" text,
"League from" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What pick was Scott Glennie from the Western hockey league
### Query: SELECT "Pi... |
### Context: CREATE TABLE Purchases (
purchase_transaction_id INTEGER,
purchase_details VARCHAR(255)
)
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)
... |
### Context: CREATE TABLE table_21828 (
"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 abov... |
### 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 zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_28111 (
"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 wrote the episode that aired December 1, 1956?
### Query: SE... |
### Context: CREATE TABLE table_train_17 (
"id" int,
"severe_sepsis" bool,
"mean_arterial_pressure_map" int,
"peripheral_vascular_disease" bool,
"septic_shock" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- age > ... |
### Context: CREATE TABLE table_19982699_1 (
_number VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total number have robert young as the director?
### Query: SELECT COUNT(_number) FROM table_19982699_1 WHERE director = "Robert Yo... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_24206 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Cowboys points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did the Cowboys have when they... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel te... |
### Context: CREATE TABLE table_name_95 (
year INTEGER,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did she compete in tampere, finland?
### Query: SELECT AVG(year) FROM table_name_95 WHERE venue = "tampere, finland" |
### Context: CREATE TABLE table_18754 (
"Frequency" text,
"Call sign" text,
"Name" text,
"Format" text,
"Owner" text,
"Target city/ market" text,
"City of license" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of Rapid City... |
### Context: CREATE TABLE table_12108_1 (
population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the population where the area (sq. mi.) is area (sq. mi.)?
### Query: SELECT population FROM table_12108_1 WHERE "area__sq_mi_" = "area__sq_mi_" |
### Context: CREATE TABLE table_73926 (
"Episode" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In episode Top 16 (8 Men), what are the themes?
### Query:... |
### Context: CREATE TABLE table_34721 (
"Name" text,
"Status" text,
"Population" real,
"District" text,
"Former local authority" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Status of Mexborough?
### Query: SELECT "Status" FROM table_... |
### Context: CREATE TABLE table_39311 (
"Name" text,
"GP-GS" text,
"Effic" real,
"Att-Cmp-Int" text,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who averaged 201.3 yards passing per game?
### Query: SELECT "Name" FROM table_39311 WHERE "... |
### 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 player (
Player_ID int,
Sponsor_name text,
Player_name text,
Gender text,
Residence text,
Occupation text,
Votes int,
Rank text
)
CREATE TABLE match_result (
Rank int,
Club_ID int,
Gold int,
Big_Silver int,
Small_Silver int,
Bronze int,
... |
### Context: CREATE TABLE table_26614365_1 (
latin VARCHAR,
english VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Latin for 'you sang'?
### Query: SELECT latin FROM table_26614365_1 WHERE english = "you sang" |
### 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 table_22998777_1 (
team VARCHAR,
poles VARCHAR,
series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the series is ADAC GT Masters and poles is 1, what is the name of the team?
### Query: SELECT team FROM table_22998777_1 W... |
### Context: CREATE TABLE table_65752 (
"Frequency" text,
"Call sign" text,
"Format" text,
"Owner" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Notes of the Frequency with a call sign of CBUE-FM?
### Query: SELECT "Notes... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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,
r... |
### Context: CREATE TABLE table_name_7 (
tournament VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament was played on October 1, 2006?
### Query: SELECT tournament FROM table_name_7 WHERE date = "october 1, 2006" |
### 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 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 election (
Delegate VARCHAR,
Committee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the delegate and committee information of elections.
### Query: SELECT Delegate, Committee FROM election |
### 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_52 (
played INTEGER,
points VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest played number when points are larger than 32, and a wins are larger than 18?
### Query: SELECT MIN(played) F... |
### 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 Staff (
first_name VARCHAR,
middle_name VARCHAR,
last_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the first name middle name and last name of all staff.
### Query: SELECT first_name, middle_name, last_name FROM Sta... |
### Context: CREATE TABLE table_39375 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which record was for Warriors at home?
### Query: SELECT "Record" FRO... |
### 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 hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_id number
)
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,
JZ... |
### Context: CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
... |
### Context: CREATE TABLE table_test_10 (
"id" int,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"immunosuppressive_disease" bool,
"systolic_arterial_pressure_sap" int,
"lymphomas" bool,
"left_ventricular_dysfunction" bool,
"tissue_hypoperfusion" bool... |
### Context: CREATE TABLE table_15697 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record as of July 22?
### Query: SELECT "Record" FROM table_15697 WHERE "Date" = 'j... |
### Context: CREATE TABLE table_20942925_1 (
directed_by VARCHAR,
_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many directors for #15?
### Query: SELECT COUNT(directed_by) FROM table_20942925_1 WHERE _number = 15 |
### Context: CREATE TABLE table_33154 (
"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 away team's score when... |
### 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_16570286_2 (
matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many numbers were recorde under 50s when there was 2 matches?
### Query: SELECT COUNT(50 AS s) FROM table_16570286_2 WHERE matches = 2 |
### Context: CREATE TABLE table_22993636_2 (
sec_wins VARCHAR,
overall_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different SEC Win counts does the team with an overall record of 30-4 have?
### Query: SELECT COUNT(sec_wins) FROM table_22... |
### Context: CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE trip (
id I... |
### Context: CREATE TABLE table_204_910 (
id number,
"rank" number,
"name" text,
"nationality" text,
"result" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of different nationalities represented by the top 5 a... |
### Context: CREATE TABLE table_name_43 (
position VARCHAR,
nhl_team VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position in the Vancouver Canucks has a Pick # of 101?
### Query: SELECT position FROM table_name_43 WHERE nhl... |
### Context: CREATE TABLE table_10528691_4 (
model INTEGER,
introduction VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the model number introduced May 1999?
### Query: SELECT MAX(model) FROM table_10528691_4 WHERE introduction = "May 1999" |
### Context: CREATE TABLE table_74869 (
"Team" text,
"Class" text,
"Chassis" text,
"Engine" text,
"Driver" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the team whose class is Rotax Light?
### Query: SELECT "Team" FROM table_7... |
### Context: CREATE TABLE table_74435 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What MLS team picked Babayele Sodade?
### Query: SELECT "MLS team" FROM table_74435... |
### Context: CREATE TABLE table_dev_21 (
"id" int,
"gender" string,
"leukopenia" int,
"dialysis" bool,
"hemoglobin_a1c_hba1c" float,
"cd4_count" int,
"platelets" int,
"renal_disease" bool,
"fasting_triglycerides" int,
"hyperlipidemia" bool,
"lymphopenia" int,
"hba1c" floa... |
### 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 gas_station (
station_id number,
open_year number,
location text,
manager_name text,
vice_manager_name text,
representative_name text
)
CREATE TABLE company (
company_id number,
rank number,
company text,
headquarters text,
main_industry text,
s... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.