text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_20007413_3 (
torque VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the torque for 1986
### Query: SELECT torque FROM table_20007413_3 WHERE year = "1986" |
### 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 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_1965650_2 (
college_junior_club_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the college/junior club team for jimmy jones
### Query: SELECT college_junior_club_team FROM table_1965650_2 WHERE playe... |
### Context: CREATE TABLE table_4645 (
"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 away team plays at Arden Street... |
### Context: CREATE TABLE table_name_25 (
total INTEGER,
silver VARCHAR,
bronze VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total with silver being less than 0, less than 1 gold, and 3 bronze?
### Query: SELECT SUM(total)... |
### Context: CREATE TABLE table_7144 (
"Season" real,
"Overall" real,
"Slalom" text,
"Super G" real,
"Downhill" text,
"Combined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the combined of the overalls less than 34?
### Query: SELECT... |
### 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_31513 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the acreage of the Maghereen in the civil parish of Macroom?
... |
### Context: CREATE TABLE table_52839 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the result for week larger than 10 for opponent of new england... |
### 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 Bookings (
Booking_ID INTEGER,
Customer_ID INTEGER,
Workshop_Group_ID VARCHAR(100),
Status_Code CHAR(15),
Store_ID INTEGER,
Order_Date DATETIME,
Planned_Delivery_Date DATETIME,
Actual_Delivery_Date DATETIME,
Other_Order_Details VARCHAR(255)
)
CREATE TABLE O... |
### 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 table_24910737_1 (
written_by VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the episodes that had a viewership of 7.14?
### Query: SELECT written_by FROM table_24910737_1 WHERE us_viewers__... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTM... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE SuggestedEditVotes (
Id number,
Sugge... |
### Context: CREATE TABLE table_68826 (
"Date" text,
"Location" text,
"Nature of incident" text,
"Circumstances" text,
"Casualties" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nature of the incident in Kabul on 2004-01-28?
### Query:... |
### 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 PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
... |
### 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 table_train_230 (
"id" int,
"anemia" bool,
"diabetic" string,
"lactose_intolerance" bool,
"hb" float,
"body_mass_index_bmi" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- diagnosis of type ii diabete... |
### Context: CREATE TABLE geographic (
city_name varchar,
county varchar,
region varchar
)
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 varcha... |
### Context: CREATE TABLE table_74471 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum area (in acres) of the Knockacullen townland?
###... |
### Context: CREATE TABLE gwyjzb (
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_37642 (
"Location (State, City)" text,
"USN 2013" real,
"BW 2013" real,
"Forbes 2011" real,
"Ec 2013" real,
"FT 2011" real,
"AE 2011" real,
"CNN 2011" real,
"BI 2013" real,
"ARWU 2012" real
)
-- Using valid SQLite, answer the following questions ... |
### Context: CREATE TABLE table_name_58 (
capacity INTEGER,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Capacity, when Team is 'Denizlispor'?
### Query: SELECT SUM(capacity) FROM table_name_58 WHERE team = "denizlispor" |
### Context: CREATE TABLE table_54577 (
"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.
-- How large is the crowd with an Away... |
### Context: CREATE TABLE table_1342198_18 (
first_elected INTEGER,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum number first elected to district louisiana 5?
### Query: SELECT MIN(first_elected) FROM table_1342198_18 WHERE di... |
### Context: CREATE TABLE table_203_758 (
id number,
"no." number,
"dub no." number,
"english dubbed title / english subbed title\noriginal japanese title" text,
"original air date" text,
"english air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE table_name_69 (
team_1 VARCHAR,
team_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Team 1 with a Team 2 with brest hc meshkov?
### Query: SELECT team_1 FROM table_name_69 WHERE team_2 = "brest hc meshkov" |
### Context: CREATE TABLE table_24987 (
"Year" real,
"Date" text,
"Driver" text,
"Team" text,
"Manufacturer" text,
"Laps" text,
"Miles (km)" text,
"Race Time" text,
"Average Speed (mph)" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE trip (
id INTEGER,
duration INTEGER,
start_date TEXT,
start_station_name TEXT,
start_station_id INTEGER,
end_date TEXT,
end_station_name TEXT,
end_station_id INTEGER,
bike_id INTEGER,
subscription_type TEXT,
zip_code INTEGER
)
CREATE TABLE weather (... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime ... |
### Context: CREATE TABLE table_22736523_1 (
result VARCHAR,
week__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For week of top 9, what were the results?
### Query: SELECT result FROM table_22736523_1 WHERE week__number = "Top 9" |
### Context: CREATE TABLE table_75458 (
"High School" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Nickname" text,
"Division" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What High School with a nickname o... |
### 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_75191 (
"Surname" text,
"First" text,
"D.O.B." text,
"Uni#" real,
"Bats" text,
"Throws" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Uni # has a Surname of ough?
### Query: SELECT "Un... |
### 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_11715 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance has a Date of november 18, 1951?
### Query: SELECT "Attendance" FROM tabl... |
### Context: CREATE TABLE table_28368 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode writte... |
### Context: CREATE TABLE table_11875915_2 (
gt2_winning_team VARCHAR,
gt3_winning_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the GT2 winning team when the GT3 winning team was #1 PTG?
### Query: SELECT gt2_winning_team FROM table_11875915_... |
### Context: CREATE TABLE table_204_647 (
id number,
"year" number,
"film" text,
"role" text,
"language" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many films are in telugu ?
### Query: SELECT COUNT("film") FROM table_204_647 WHERE "languag... |
### Context: CREATE TABLE table_9469 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance has an Away of real juventud?
### Query: SELECT SUM("Attendance") FROM table_94... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE food_serv... |
### Context: CREATE TABLE table_18662026_1 (
parallel_bars VARCHAR,
rings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the rings are 60.500, what is the parallel bars number?
### Query: SELECT parallel_bars FROM table_18662026_1 WHERE rings = "60.500" |
### 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 vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE diagnosi... |
### Context: CREATE TABLE table_53784 (
"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 date of the game where... |
### Context: CREATE TABLE table_52107 (
"Driver" text,
"Car #" real,
"Make" text,
"Points" text,
"Laps" real,
"Winnings" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of laps completed by driver Joe Nemechek?
### 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_203_648 (
id number,
"date" text,
"opposition" text,
"result" text,
"score" text,
"brazil scorers" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of countries they have p... |
### Context: CREATE TABLE inst (
instid number,
name text,
country text
)
CREATE TABLE papers (
paperid number,
title text
)
CREATE TABLE authorship (
authid number,
instid number,
paperid number,
authorder number
)
CREATE TABLE authors (
authid number,
lname text,
fna... |
### Context: CREATE TABLE table_name_27 (
set_3 VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Set 3 when the Total was 98 - 92?
### Query: SELECT set_3 FROM table_name_27 WHERE total = "98 - 92" |
### 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 outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... |
### Context: CREATE TABLE table_30869 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is pick 64?
### Query: SELECT "Pl... |
### Context: CREATE TABLE table_8636 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... |
### Context: CREATE TABLE table_76033 (
"Tournament" text,
"Wins" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Wins of the Top-25 of 1 and 7 Events?
### Query: SELECT "Wins" FROM table_7... |
### Context: CREATE TABLE table_test_26 (
"id" int,
"bleeding" int,
"left_ventricular_ejection_fraction_lvef" int,
"left_main_coronary_artery_disease" bool,
"uncontrolled_diabetes" bool,
"hiv_infection" bool,
"hemoglobin_a1c_hba1c" float,
"hepatitis_b_infection" bool,
"renal_disease"... |
### 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 d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE proc... |
### Context: CREATE TABLE table_name_27 (
genre VARCHAR,
airing_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which genre aired on 12 feb- 9 mar?
### Query: SELECT genre FROM table_name_27 WHERE airing_date = "12 feb- 9 mar" |
### Context: CREATE TABLE table_15095 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record of the game that went 3-5?
### Query: SELECT "Record... |
### Context: CREATE TABLE Video_games (
gtype VARCHAR,
gname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type of video game Call of Destiny.
### Query: SELECT gtype FROM Video_games WHERE gname = "Call of Destiny" |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_17307 (
"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 table_name_45 (
solo VARCHAR,
sacks VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets?
### Query: SELECT COUNT(solo) ... |
### Context: CREATE TABLE airports (
city VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different cities do have some airport in the country of Greenland?
### Query: SELECT COUNT(DISTINCT city) FROM airports WHERE country = 'Green... |
### Context: CREATE TABLE driverstandings (
driverid VARCHAR,
position VARCHAR,
wins VARCHAR
)
CREATE TABLE drivers (
forename VARCHAR,
driverid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find all the forenames of distinct drivers who was in... |
### Context: CREATE TABLE table_203_114 (
id number,
"week" number,
"date" text,
"tv time" text,
"opponent" text,
"result" text,
"game site" text,
"record" text,
"attendance" number,
"bye" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_name_74 (
chassis VARCHAR,
points VARCHAR,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the chassis when the points were greater than 0 and the entrant was March Engineering?
### Query: SELECT chassis F... |
### 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 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 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 zyjzjlb (
CYBQDM tex... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER va... |
### Context: CREATE TABLE table_name_26 (
crowd VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How large was the crowd when Carlton was the away team?
### Query: SELECT COUNT(crowd) FROM table_name_26 WHERE away_team = "carlton" |
### Context: CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE zyjzjlb (
YLJGDM tex... |
### Context: CREATE TABLE manufacturers (
name VARCHAR,
revenue INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the total revenue for each manufacturer.
### Query: SELECT SUM(revenue), name FROM manufacturers GROUP BY name |
### 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_26200084_1 (
production_code VARCHAR,
rank__week_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the production code of the episode ranked 28?
### Query: SELECT production_code FROM table_26200084_1 WHERE rank__week_... |
### Context: CREATE TABLE table_name_60 (
governments VARCHAR,
party VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which goverment had a party of yisrael beiteinu?
### Query: SELECT governments FROM table_name_60 WHERE party = "yisrael beiteinu" |
### Context: CREATE TABLE table_13994 (
"Medal" text,
"Name" text,
"Sport" text,
"Event" text,
"Date" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest date for the bronze medal?
### Query: SELECT MIN("Date") FROM table_13994 WHER... |
### Context: CREATE TABLE table_name_37 (
year INTEGER,
isbn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Year has an ISBN OF ISBN 4-06-182042-7?
### Query: SELECT AVG(year) FROM table_name_37 WHERE isbn = "isbn 4-06-182042-7" |
### Context: CREATE TABLE table_name_74 (
ast_avg INTEGER,
total_assists VARCHAR,
games VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS SMALLER THAN 331?
### Query: SE... |
### Context: CREATE TABLE table_name_62 (
frequency VARCHAR,
magazine_run VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the frequency for the magazine that runs September 2, 2010?
### Query: SELECT frequency FROM table_name_62 WHERE magazine_run = ... |
### Context: CREATE TABLE table_name_18 (
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent when the Seattle Seahawks had a record of 0-1?
### Query: SELECT opponent FROM table_name_18 WHERE record = "0-1" |
### Context: CREATE TABLE table_40994 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the number of losses where ... |
### Context: CREATE TABLE table_58701 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Result that is on june 5?
### Query: SELECT "Result" FROM table_58701 WHERE "Date" =... |
### Context: CREATE TABLE table_47514 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the country of the player at +5?
### Query: SELECT "Country"... |
### Context: CREATE TABLE table_62205 (
"Date From" text,
"Date To" text,
"Pos." text,
"Name" text,
"Moving To" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was james chester loaned out until ?
### Query: SELECT "Date To" FROM table_62205 WH... |
### 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 Companies (
id int,
name text,
Headquarters text,
Industry text,
Sales_billion real,
Profits_billion real,
Assets_billion real,
Market_Value_billion text
)
CREATE TABLE Office_locations (
building_id int,
company_id int,
move_in_year int
)
CREATE T... |
### Context: CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int... |
### Context: CREATE TABLE job_history (
employee_id number,
start_date time,
end_date time,
job_id text,
department_id number
)
CREATE TABLE employees (
employee_id number,
first_name text,
last_name text,
email text,
phone_number text,
hire_date time,
job_id text,
s... |
### Context: CREATE TABLE table_1341577_43 (
result VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the results for the candidates listed as bart gordon (d) 76.5% wallace embry (r) 23.5%?
### Query: SELECT result FROM table_13415... |
### 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 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 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_74859 (
"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.
-- How many vuts made for a player with 2 wins and und... |
### Context: CREATE TABLE table_name_25 (
season VARCHAR,
runs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season were the runs 310/9?
### Query: SELECT season FROM table_name_25 WHERE runs = "310/9" |
### Context: CREATE TABLE table_37641 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the decision on November 26?
### Query: SEL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.