text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_77441 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game site" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Game site week 1?
### Query: SELECT "Game site" FROM table_7... |
### Context: CREATE TABLE table_name_70 (
rank INTEGER,
gold INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank where the gold is 0?
### Query: SELECT AVG(rank) FROM table_name_70 WHERE gold < 0 |
### Context: CREATE TABLE table_name_72 (
sample_size INTEGER,
date VARCHAR,
margin_of_error VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the sample size for the poll from Nov 9-11, 2007 with a margin of error less than 4.3?
### Query: SELECT... |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
char... |
### Context: CREATE TABLE table_name_73 (
score VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for Billy Andrade?
### Query: SELECT score FROM table_name_73 WHERE player = "billy andrade" |
### Context: CREATE TABLE table_64419 (
"School" text,
"Location" text,
"Mascot" text,
"Size" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which IHSAA class has a mascot of th... |
### Context: CREATE TABLE table_20032 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Won" real,
"Drawn" real,
"Lost" real,
"For" real,
"Against" real,
"Difference" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Ho... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymo... |
### Context: CREATE TABLE table_18820 (
"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 procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)... |
### Context: CREATE TABLE table_2155 (
"Country" text,
"1948/49 ($ millions)" real,
"1949/50 ($ millions)" real,
"1950/51 ($ millions)" real,
"Cumulative ($ millions)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the 1949/50 expenditure (in... |
### 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 intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
even... |
### Context: CREATE TABLE table_name_10 (
second_member VARCHAR,
year VARCHAR,
first_member VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the second member more recently than 1790 when John Williams is the first member?
### Query: SELECT second_... |
### Context: CREATE TABLE table_16493961_1 (
miles__km_ VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the miles for june 7
### Query: SELECT miles__km_ FROM table_16493961_1 WHERE date = "June 7" |
### Context: CREATE TABLE table_67166 (
"Team" text,
"Constructor" text,
"Motorcycle" text,
"Tyre" text,
"Rider" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Anthony West ride which Motorcyle?
### Query: SELECT "Motorcycle" FRO... |
### Context: CREATE TABLE table_1507423_5 (
top_10 VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many entries arr there for the top 10 for the 78th position?
### Query: SELECT COUNT(top_10) FROM table_1507423_5 WHERE position = "78th" |
### Context: CREATE TABLE table_74984 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean year number where there are more than 0 wins, the class is 250cc, and the points ar... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
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 countries (
... |
### Context: CREATE TABLE candidates (
candidate_id number,
candidate_details text
)
CREATE TABLE people_addresses (
person_address_id number,
person_id number,
address_id number,
date_from time,
date_to time
)
CREATE TABLE candidate_assessments (
candidate_id number,
qualification... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_... |
### Context: CREATE TABLE table_72574 (
"Position" text,
"Number" real,
"Name" text,
"Height" text,
"Weight" text,
"Class" text,
"Hometown" text,
"Games\u2191" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players were 6'1' and... |
### Context: CREATE TABLE table_204_710 (
id number,
"model" text,
"origin" text,
"type" text,
"versions" text,
"in service" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the only model of these aircraft to originate i... |
### Context: CREATE TABLE table_21370 (
"Official Name" text,
"Status" text,
"Area km 2" text,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the census ranking(s) for a population of 284?
### Query: SEL... |
### 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 table_71643 (
"Year" real,
"English title" text,
"Original title" text,
"Country" text,
"Director(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original title of the film from Japan/Taiwan before 2003?
###... |
### Context: CREATE TABLE PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
PROF_OFFICE varchar(50),
PROF_EXTENSION varchar(4),
PROF_HIGH_DEGREE varchar(5)
)
CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU_FNAME varchar(15),
STU_INIT varchar(1),
STU_DOB datetime,
... |
### 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 Accounts (
Account_ID INTEGER,
Statement_ID INTEGER,
Account_Details VARCHAR(255)
)
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Statements (
Statement_ID INTEGER,
Statement_Details VARCHAR(255)
)
CREATE TABLE Documents_... |
### Context: CREATE TABLE table_58453 (
"NGC number" real,
"Object type" text,
"Constellation" text,
"Right ascension ( J2000 )" text,
"Declination ( J2000 )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the declination (j2000) when the ng... |
### Context: CREATE TABLE table_41012 (
"Bowl Game" text,
"Date" text,
"Stadium" text,
"City" text,
"Television" text,
"Conference Matchups" text,
"Payout ( US$ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the payout in US doll... |
### Context: CREATE TABLE department (
Department_ID int,
Name text,
Creation text,
Ranking int,
Budget_in_Billions real,
Num_Employees real
)
CREATE TABLE head (
head_ID int,
name text,
born_state text,
age real
)
CREATE TABLE management (
department_ID int,
head_ID in... |
### 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_29354 (
"Programs" text,
"World" real,
"Africa" real,
"Americas" real,
"Asia" real,
"Australasia" real,
"Europe" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many program data on Asia was written if the ... |
### Context: CREATE TABLE table_name_57 (
score VARCHAR,
home VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game on October 20 when the home team is the NY Islanders?
### Query: SELECT score FROM table_name_57 WH... |
### Context: CREATE TABLE table_28800 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Position in table" text,
"Incoming manager" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE table_50089 (
"Date" real,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament has a Surface of carpet, and a Date ... |
### Context: CREATE TABLE table_25184 (
"Romanised name" text,
"Chinese name" text,
"age at appointment" real,
"Portfolio" text,
"Prior occupation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's 's romanised name?
### Query: SELECT "Romanise... |
### Context: CREATE TABLE Instruments (
instrument VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all the instruments used?
### Query: SELECT DISTINCT instrument FROM Instruments |
### Context: CREATE TABLE table_name_17 (
type_of_game VARCHAR,
results¹ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of game had a 0:0 result?
### Query: SELECT type_of_game FROM table_name_17 WHERE results¹ = "0:0" |
### 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 table_204_706 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the venue when he placed first ?
### Query: SELECT "venue" FR... |
### Context: CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
... |
### 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 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_name_94 (
product VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2003 statistic for general cargo?
### Query: SELECT 2003 FROM table_name_94 WHERE product = "general cargo" |
### Context: CREATE TABLE table_55738 (
"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 home team played Collingwood a... |
### Context: CREATE TABLE table_44653 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the Fury FC 4: High Voltage ... |
### Context: 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_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_78 (
date VARCHAR,
surface VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did Jesse Levine play on a hard surface?
### Query: SELECT date FROM table_name_78 WHERE surface = "hard" AND o... |
### Context: CREATE TABLE table_63380 (
"Model" text,
"Years" text,
"Engine code" text,
"Power" text,
"Torque" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the model that was made in the years 2011 2012-?
### Query: SELECT "Model" FROM ta... |
### Context: CREATE TABLE table_41871 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest rank of the player with less than 32 points?
### Query: SELECT MAX("Rank") FROM... |
### Context: CREATE TABLE musical (
musical_id number,
name text,
year number,
award text,
category text,
nominee text,
result text
)
CREATE TABLE actor (
actor_id number,
name text,
musical_id number,
character text,
duration text,
age number
)
-- Using valid SQLi... |
### Context: CREATE TABLE table_74787 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game on December 22, 1991?
### Query: SELECT "Result" FROM tabl... |
### Context: CREATE TABLE table_5675 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record has a december less than 6, points less than 38, and pittsburg... |
### Context: CREATE TABLE table_19255192_1 (
fiscal_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest 6-car-sets for fiscal year 1968?
### Query: SELECT MAX(6 AS _car_sets) FROM table_19255192_1 WHERE fiscal_year = 1968 |
### Context: CREATE TABLE table_name_44 (
team_c VARCHAR,
team_e VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is team c when dhez javier is team e?
### Query: SELECT team_c FROM table_name_44 WHERE team_e = "dhez javier" |
### Context: CREATE TABLE student (
stu_num number,
stu_lname text,
stu_fname text,
stu_init text,
stu_dob time,
stu_hrs number,
stu_class text,
stu_gpa number,
stu_transfer number,
dept_code text,
stu_phone text,
prof_num number
)
CREATE TABLE enroll (
class_code te... |
### Context: CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(1),
EMP_JOBCODE varchar(5),
EMP_HIREDATE datetime,
EMP_DOB datetime
)
CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
CO... |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE table_name_33 (
scientific_pitch VARCHAR,
helmholtz_pitch VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the scientific pitch when the Helmholtz pitch is D?
### Query: SELECT scientific_pitch FROM table_name_33 WHERE helmho... |
### Context: CREATE TABLE table_name_6 (
caps VARCHAR,
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many caps have a Position of prop, and a Player of rui cordeiro?
### Query: SELECT COUNT(caps) FROM table_name_6 WHERE pos... |
### Context: CREATE TABLE table_name_5 (
realization VARCHAR,
phoneme VARCHAR,
example VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the realization for phoneme of /i/ and example of /id a/
### Query: SELECT realization FROM table_name_5 WHERE pho... |
### Context: CREATE TABLE table_14131 (
"Season" real,
"Games" real,
"W-L-T" text,
"Attendance" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Attendance has Games smaller than 6, and a W-L-T of 3-2-0, and a Season smaller t... |
### Context: CREATE TABLE table_name_60 (
year INTEGER,
sales VARCHAR,
certification VARCHAR,
álbum VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average year that Xuxa 3 earned the certification 2x platinum, and that the sales were hig... |
### Context: CREATE TABLE table_28089666_1 (
original_air_date VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What original air date was the episode with production code of 5.05?
### Query: SELECT original_air_date FROM table_280896... |
### Context: CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
C... |
### Context: CREATE TABLE table_59953 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a To par larger than 17, and a Player of mike brady?
... |
### Context: CREATE TABLE table_2562572_30 (
settlement VARCHAR,
cyrillic_name_other_names VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which settlement has the cyrillic name ?
### Query: SELECT settlement FROM table_2562572_30 WHERE cyrillic_name_other_n... |
### Context: CREATE TABLE table_44800 (
"Date" text,
"Venue" text,
"Opponents" text,
"Score" text,
"Comp" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance that has a Venue of ryavallen?
### Query: SELECT "Atten... |
### Context: CREATE TABLE table_66299 (
"School" text,
"Location" text,
"Mascot" text,
"Size" real,
"IHSAA Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which County has a Mascot of pacers?
### Query: SELECT "County" FROM... |
### Context: CREATE TABLE table_2071644_2 (
flange_thickness__mm_ VARCHAR,
weight__kg_m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the flange thickness when the weight is 19.9?
### Query: SELECT flange_thickness__mm_ FROM table_2071644_2 WHERE ... |
### 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 Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDis... |
### Context: CREATE TABLE table_24538587_11 (
socket VARCHAR,
brand_name__list_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many sockets are listed that have a brand name of 'Core i3-2xx7m'?
### Query: SELECT COUNT(socket) FROM table_24538587_11 WHER... |
### 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 table_27911342_1 (
title VARCHAR,
season__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the Series 40 Season 5 show?
### Query: SELECT title FROM table_27911342_1 WHERE season__number = 5 |
### Context: CREATE TABLE table_44401 (
"Country" text,
"CO2 emissions" text,
"Area (in km 2 )" real,
"Population" real,
"Emission / Person" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the area of a country is over 9,826,675 kilometers and a t... |
### Context: CREATE TABLE table_71295 (
"Year" real,
"Award Show" text,
"Category" text,
"Recipient(s)" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the recipient when the show was nominated for Most Popular Drama after 2004... |
### Context: CREATE TABLE table_70167 (
"Year" real,
"Team" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Points for a year before 1955?
### Query: SELECT AVG("Points") FROM table_7... |
### Context: CREATE TABLE table_925 (
"RNA Segment (Gene)" real,
"Size ( s base pair )" real,
"Protein" text,
"Molecular weight kDa" text,
"Location" text,
"Copies per particle" text,
"Function" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### 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_50655 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the competition when the result is 2-1?
### Query: SELECT "Competition" FROM table_... |
### Context: CREATE TABLE table_23548160_1 (
formula VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of formula did Stirling Moss drive?
### Query: SELECT formula FROM table_23548160_1 WHERE driver = "Stirling Moss" |
### Context: CREATE TABLE table_15153 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has an attendance greater than 50,522, and a record of 80-... |
### 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_44 (
record VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record on April 1?
### Query: SELECT record FROM table_name_44 WHERE date = "april 1" |
### Context: CREATE TABLE competition_record (
competition_id number,
farm_id number,
rank number
)
CREATE TABLE farm (
farm_id number,
year number,
total_horses number,
working_horses number,
total_cattle number,
oxen number,
bulls number,
cows number,
pigs number,
... |
### Context: CREATE TABLE store_district (
Store_ID int,
District_ID int
)
CREATE TABLE store_product (
Store_ID int,
Product_ID int
)
CREATE TABLE product (
product_id int,
product text,
dimensions text,
dpi real,
pages_per_minute_color real,
max_page_size text,
interface ... |
### Context: CREATE TABLE table_20549371_3 (
vehicle VARCHAR,
epa_rated_highway_fuel_economy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What vehicle has an epa highway fuel economy of 109 mpg-e?
### Query: SELECT vehicle FROM table_20549371_3 WHERE epa_... |
### 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 Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Dorm_amenity (
amenid INTEGER,
amenity_name VARCHAR(25)
)
CREATE TABLE St... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)... |
### Context: CREATE TABLE table_name_68 (
tournament VARCHAR,
finalist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament had Greg Rusedski as a finalist?
### Query: SELECT tournament FROM table_name_68 WHERE finalist = "greg rusedski" |
### Context: CREATE TABLE table_name_48 (
game INTEGER,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest game for a record of 32-12-3?
### Query: SELECT MIN(game) FROM table_name_48 WHERE record = "32-12-3" |
### Context: CREATE TABLE table_27010 (
"Vehicle" text,
"Operating mode" text,
"EPA rated All-electric range" text,
"EPA rated combined fuel economy" text,
"Clean electric grid California (San Francisco)" text,
"U.S. national average electric mix" text,
"Dirty electric grid Rocky Mountains (... |
### Context: CREATE TABLE table_21304155_1 (
production_code VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the production code of the episode directed by David Solomon?
### Query: SELECT production_code FROM table_21304155_1 WH... |
### 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 Activity (
actid INTEGER,
activity_name varchar(25)
)
CREATE TABLE Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Participates_in (
stuid INTEGER,
actid INTEGER
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.