text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_50119 (
"Points" real,
"Score" text,
"Premiers" text,
"Runners Up" text,
"Details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During which competition were a total of 36 points scored?
### Query: SELECT "Details"... |
### Context: CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment... |
### Context: CREATE TABLE table_77200 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" real,
"Year named" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Longitude, when Name is Raskova Paterae?
### Query: SELECT "Longitude"... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_name_62 (
rating___percentage_ INTEGER,
owner VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of rating % for cctv and position more than 7
### Query: SELECT SUM(rating___percentage_) FROM ta... |
### Context: CREATE TABLE bank (
branch_id number,
bname text,
no_of_customers number,
city text,
state text
)
CREATE TABLE loan (
loan_id text,
loan_type text,
cust_id text,
branch_id text,
amount number
)
CREATE TABLE customer (
cust_id text,
cust_name text,
acc_t... |
### 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 demographic (
subject_id text,
... |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE re... |
### Context: CREATE TABLE table_16677738_1 (
without_the_walls INTEGER,
within_the_walls INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When within the walls is larger than 56174.0 what is the lowest amount without the walls?
### Query: SELECT MIN(without_t... |
### Context: CREATE TABLE table_79279 (
"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 is Beohari's reserved for (SC/... |
### 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_204_804 (
id number,
"version" text,
"length" text,
"album" text,
"remixed by" text,
"year" number,
"comment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last version of this song to be created... |
### Context: CREATE TABLE table_26876 (
"Name" text,
"Nationality" text,
"Position" text,
"Los Angeles Sol career" text,
"Appearances" real,
"Starts" real,
"Minutes" real,
"Goals" real,
"Assists" real
)
-- Using valid SQLite, answer the following questions for the tables provided a... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_name_10 (
tournament VARCHAR,
margin_of_victory VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament has a Margin of victory of 2 strokes, and a Winning score of 14 (68-66-68=202)?
### Qu... |
### Context: CREATE TABLE table_14676 (
"Round" real,
"Name" text,
"Position" text,
"School" text,
"Signed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest round associated with Samuel Scheschuk?
### Query: SELECT MIN("Round") F... |
### Context: CREATE TABLE table_28281704_1 (
tenant VARCHAR,
country VARCHAR,
stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of tenants for russia at the saransk stadium
### Query: SELECT COUNT(tenant) FROM table_28281704_1 WHERE... |
### Context: CREATE TABLE table_19744915_3 (
couple VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many coupless totalled 14.5
### Query: SELECT COUNT(couple) FROM table_19744915_3 WHERE total = "14.5" |
### 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 mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic... |
### Context: CREATE TABLE table_name_21 (
position VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position in the club team of Kansas?
### Query: SELECT position FROM table_name_21 WHERE school_club_team = "kansas" |
### Context: CREATE TABLE table_29546 (
"District" text,
"Incumbent" text,
"Party" text,
"Elected" real,
"Status" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the incumbent for the election in 1978?
### Query: SELECT "I... |
### Context: CREATE TABLE table_2512 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 5" real,
"Top 10" real,
"Poles" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE table_42566 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Record... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_name_16 (
date VARCHAR,
catalog VARCHAR,
label VARCHAR,
format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the label Alfa records, a CD format, and an alca-9201 catalog?
### Query: SELECT date F... |
### Context: CREATE TABLE table_name_58 (
attendance INTEGER,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Attendance at a game with the Result of w 25-17?
### Query: SELECT MIN(attendance) FROM table_name_58 WHERE result = "w 25... |
### Context: CREATE TABLE table_7787 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the away team score where t... |
### Context: CREATE TABLE table_1231892_4 (
title VARCHAR,
broadcast_order VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the title of the episode with a broadcast order s04 e01?
### Query: SELECT title FROM table_1231892_4 WHERE broadcast_order = "S... |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE table_204_700 (
id number,
"name" text,
"developer" text,
"release" text,
"type" text,
"game flow" text,
"setting" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in which year was cyber nations released ?
### Query... |
### Context: CREATE TABLE table_26030 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the ... |
### Context: CREATE TABLE table_name_97 (
station_name VARCHAR,
arrival VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Station Name has an Arrival time of 01:10?
### Query: SELECT station_name FROM table_name_97 WHERE arrival = "01:10" |
### Context: CREATE TABLE Timed_Locations_of_Things (
thing_id INTEGER,
Date_and_Time DATETIME,
Location_Code CHAR(15)
)
CREATE TABLE Residents_Services (
resident_id INTEGER,
service_id INTEGER,
date_moved_in DATETIME,
property_id INTEGER,
date_requested DATETIME,
date_provided DAT... |
### Context: CREATE TABLE school_performance (
School_Id int,
School_Year text,
Class_A text,
Class_AA text
)
CREATE TABLE player (
Player_ID int,
Player text,
Team text,
Age int,
Position text,
School_ID int
)
CREATE TABLE school_details (
School_ID int,
Nickname text,... |
### Context: CREATE TABLE table_name_56 (
games VARCHAR,
event VARCHAR,
medal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Pakistan win a Silver Medal in a Men's Competition?
### Query: SELECT games FROM table_name_56 WHERE event = "men's com... |
### Context: CREATE TABLE table_name_27 (
outcome VARCHAR,
surface VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the outcome of the match played on carpet surface?
### Query: SELECT outcome FROM table_name_27 WHERE surface = "carpet" |
### Context: CREATE TABLE language (
language_id number,
name text,
last_update time
)
CREATE TABLE address (
address_id number,
address text,
address2 text,
district text,
city_id number,
postal_code text,
phone text,
last_update time
)
CREATE TABLE film_actor (
actor_... |
### Context: CREATE TABLE table_17288825_9 (
high_points VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the most poinst in game 72?
### Query: SELECT high_points FROM table_17288825_9 WHERE game = 72 |
### Context: CREATE TABLE table_75380 (
"Years" text,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real,
"2011" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest value in 2011 ... |
### Context: CREATE TABLE table_204_171 (
id number,
"wager" text,
"winner" text,
"loser" text,
"location" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many winners were there before bruno victoria lost ?
### Query: SELECT CO... |
### Context: CREATE TABLE table_20887670_1 (
year_joined VARCHAR,
colors VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year did the colors red and gold join?
### Query: SELECT COUNT(year_joined) FROM table_20887670_1 WHERE colors = "Red and Gold" |
### Context: CREATE TABLE Complaints (
complaint_id INTEGER,
product_id INTEGER,
customer_id INTEGER,
complaint_outcome_code VARCHAR(20),
complaint_status_code VARCHAR(20),
complaint_type_code VARCHAR(20),
date_complaint_raised DATETIME,
date_complaint_closed DATETIME,
staff_id INTEG... |
### Context: CREATE TABLE table_60574 (
"Date" text,
"Time" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Time when Set 3 was 25 14?
### ... |
### Context: 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 Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Has_Allergy (
... |
### Context: CREATE TABLE phone_market (
Market_ID int,
Phone_ID text,
Num_of_stock int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier text,
Price real
)
CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops rea... |
### Context: CREATE TABLE table_17323042_6 (
high_points VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the high points on December 17?
### Query: SELECT high_points FROM table_17323042_6 WHERE date = "December 17" |
### Context: CREATE TABLE all_documents (
document_id number,
date_stored time,
document_type_code text,
document_name text,
document_description text,
other_details text
)
CREATE TABLE employees (
employee_id number,
role_code text,
employee_name text,
gender_mfu text,
date... |
### Context: CREATE TABLE table_43672 (
"Position" real,
"Team" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Difference" text,
"Points 1" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### Context: CREATE TABLE table_13290 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"# / County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which IHSAA Football Class... |
### Context: CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Badges (
Id number,
UserId number,
... |
### Context: CREATE TABLE table_18208 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many district with candidates being eliot l. engel (d) ... |
### Context: CREATE TABLE table_34371 (
"Name" text,
"Nationality" text,
"Position" text,
"Years" text,
"Appearances" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's Francis Harris' position?
### Query: SELECT "Position" FRO... |
### Context: CREATE TABLE table_203_634 (
id number,
"date" text,
"venue" text,
"score" text,
"victor" text,
"comments" text,
"match reports" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in which year did rugby union matches between new ze... |
### 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 patient ... |
### Context: CREATE TABLE ftxmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM tex... |
### 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_14911550_5 (
played INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games were played?
### Query: SELECT MIN(played) FROM table_14911550_5 |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
h... |
### Context: CREATE TABLE table_20178 (
"Week" real,
"Date" text,
"Result" text,
"Record" text,
"Opponent" text,
"Points For" real,
"Points Against" real,
"First Downs" real,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_name_16 (
award VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which award was given in 2012?
### Query: SELECT award FROM table_name_16 WHERE year = "2012" |
### Context: CREATE TABLE table_name_23 (
silver INTEGER,
bronze VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Silver, when Bronze is 1, and when Total is less than 3?
### Query: SELECT MIN(silver) FROM table_name_23 W... |
### Context: CREATE TABLE table_name_21 (
round INTEGER,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds have a Pick of 13?
### Query: SELECT SUM(round) FROM table_name_21 WHERE pick = 13 |
### Context: CREATE TABLE table_name_66 (
rank VARCHAR,
year VARCHAR,
out_of VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the rank for year of 2012 and out of larger than 176
### Query: SELECT rank FROM table_name_66 WHERE year = "2012" AND ou... |
### Context: CREATE TABLE table_name_1 (
position VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the player from the Ukraine?
### Query: SELECT position FROM table_name_1 WHERE nationality = "ukraine" |
### 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 jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_58756 (
"\"Long\" vowels" text,
"17th c." text,
"American" text,
"British" text,
"Australian" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the British pronunciation when the American and Australian is i?
###... |
### 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 job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID ... |
### Context: CREATE TABLE table_name_42 (
nationality VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Adam Keefe's nationality?
### Query: SELECT nationality FROM table_name_42 WHERE player = "adam keefe" |
### Context: CREATE TABLE table_name_25 (
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what opponent has the record of 78-63?
### Query: SELECT opponent FROM table_name_25 WHERE record = "78-63" |
### 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 Ref_Shipping_Agents (
Id VARCHAR
)
CREATE TABLE Documents (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which shipping agent shipped the most documents? List the shipping agent name and the number of documents.
### Query: SE... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE cost (
costid number,
un... |
### Context: CREATE TABLE table_name_53 (
attendance VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended the game played with the New England Patriots as opponents?
### Query: SELECT attendance FROM table_name_53 WHERE ... |
### Context: CREATE TABLE table_name_2 (
date VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has an against of pohang steelers?
### Query: SELECT date FROM table_name_2 WHERE against = "pohang steelers" |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_16 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of To Par, when Score is '70-75-76=221'?
### Query: SELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = ... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_51 (
tyre VARCHAR,
chassis VARCHAR,
rounds VARCHAR,
engine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the engine Ford Cosworth DFV 3.0 v8 has a chassis of m23 and in rounds 14-15, what is its Tyre?
### Q... |
### Context: CREATE TABLE table_name_77 (
week INTEGER,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of week(s) with an attendance of 30,751?
### Query: SELECT SUM(week) FROM table_name_77 WHERE attendance = 30 OFFSET 751 |
### 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 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_73877 (
"Branding" text,
"Callsign" text,
"Ch. #" text,
"Station Type" text,
"Power kW (ERP)" text,
"Location (Transmitter Site)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The callsign DWEC-TV has what brandi... |
### 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 useracct (
u_id number,
name text
)
CREATE TABLE item (
i_id number,
title text
)
CREATE TABLE review (
a_id number,
u_id number,
i_id number,
rating number,
rank number
)
CREATE TABLE trust (
source_u_id number,
target_u_id number,
trust numb... |
### Context: CREATE TABLE table_name_47 (
points VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total points in 1974?
### Query: SELECT COUNT(points) FROM table_name_47 WHERE year = 1974 |
### 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 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 member_of_club (
stuid number,
clubid number,
position text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE club (
clubid number,
clubname text... |
### Context: CREATE TABLE table_2892 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. viewers (million)" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables... |
### Context: CREATE TABLE diagnoses (
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_d... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
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,... |
### 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 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 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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.