text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_39 (
bronze VARCHAR,
rank VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of bronze with rank of 5 and silver more than 1
### Query: SELECT COUNT(bronze) FROM table_name_39 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 medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: 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_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_train_227 (
"id" int,
"gender" string,
"diabetic" string,
"allergic_to_study_products" bool,
"hba1c" float,
"a1c" float,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- a diagnosis of ... |
### Context: CREATE TABLE table_name_53 (
grid VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total grid of the team with a time/retired of +7.346?
### Query: SELECT COUNT(grid) FROM table_name_53 WHERE time_retired = "+7.3... |
### 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 microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respir... |
### Context: CREATE TABLE photos (
id int,
camera_lens_id int,
mountain_id int,
color text,
name text
)
CREATE TABLE camera_lens (
id int,
brand text,
name text,
focal_length_mm real,
max_aperture real
)
CREATE TABLE mountain (
id int,
name text,
Height real,
Pr... |
### Context: 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_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### Context: CREATE TABLE table_name_65 (
penanced VARCHAR,
executions_in_effigie VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were penanced with 0 executions in effigie for a total of 21?
### Query: SELECT penanced FROM table_... |
### Context: CREATE TABLE table_17846 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, ans... |
### 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 hz_info (
KH text,
... |
### Context: CREATE TABLE table_170958_2 (
population INTEGER,
area_km_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum population of the land with an area of 276.84 km2?
### Query: SELECT MAX(population) FROM table_170958_2 WHERE area_k... |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
... |
### Context: CREATE TABLE domain (
did int,
name varchar
)
CREATE TABLE cite (
cited int,
citing int
)
CREATE TABLE keyword (
keyword varchar,
kid int
)
CREATE TABLE journal (
homepage varchar,
jid int,
name varchar
)
CREATE TABLE writes (
aid int,
pid int
)
CREATE TABLE... |
### Context: CREATE TABLE table_21945 (
"Actor in original production" text,
"Actor required" text,
"GamePlan" text,
"FlatSpin" text,
"RolePlay" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many RolePlay actors played the role requiring a 'mal... |
### Context: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_name_33 (
seats_2006 INTEGER,
parties_and_voter_communities VARCHAR,
_percentage_2006 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of seats 2006 that has parties and voter turnout in % and whose ... |
### Context: CREATE TABLE table_23242933_2 (
title VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different titles are there of episodes that have been seen by 7.84 million people in the US/
### Query: SELECT COUNT(ti... |
### Context: CREATE TABLE table_59227 (
"Date" text,
"Round" text,
"Opponents" text,
"H / A" text,
"Result F\u2013A" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the H/A of the game on 24 january 2009?
### Query: SE... |
### Context: CREATE TABLE table_name_77 (
year INTEGER,
co_drivers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year that had a co-driver of Roger Enever?
### Query: SELECT MIN(year) FROM table_name_77 WHERE co_drivers = "roger enever... |
### 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_name_74 (
trailing_party VARCHAR,
party_won VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Trailing Party, when Party Won is 'Janata Dal', and when Year is '1996'?
### Query: SELECT trailing_party FR... |
### Context: CREATE TABLE table_name_45 (
time_retired VARCHAR,
grid VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time/retired for jo siffert with a grid under 11?
### Query: SELECT time_retired FROM table_name_45 WHERE gri... |
### Context: CREATE TABLE table_name_48 (
team_2 VARCHAR,
team_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Team 2 faced Team 1 from Barcelona?
### Query: SELECT team_2 FROM table_name_48 WHERE team_1 = "barcelona" |
### 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 employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varc... |
### Context: CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
... |
### Context: CREATE TABLE table_27711 (
"Software" text,
"Description" text,
"Platform" text,
"License" text,
"Developer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the description of the intact software?
### Query: SELECT "Description"... |
### Context: CREATE TABLE table_13555999_1 (
university_students_and_adults__18yrs VARCHAR,
_ VARCHAR,
senior_high_school__15_18_yrs_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What amount of the university students and adults ehre the the senior hig... |
### Context: CREATE TABLE table_40291 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which week had safe as the result and Dolly Parton as the th... |
### Context: CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ... |
### Context: CREATE TABLE table_name_10 (
silver INTEGER,
total VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Silver has a Total of 7, and a Gold larger than 1?
### Query: SELECT AVG(silver) FROM table_name_10 WHERE total = 7 AND go... |
### Context: CREATE TABLE table_54513 (
"Year" real,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Distance (Miles)" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the trainer with Robert Courtney was owne... |
### Context: CREATE TABLE table_60505 (
"Date" text,
"Opponent" text,
"Score" text,
"Site/Stadium" text,
"Loss" text,
"Save" text,
"Attendance" real,
"Overall Record" text,
"NCAAT Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_name_64 (
date VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the record 27-25?
### Query: SELECT date FROM table_name_64 WHERE record = "27-25" |
### 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_46 (
year__ceremony_ VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Year was Labyrinth nominated?
### Query: SELECT year__ceremony_ FROM table_name_46 WHERE film_title_used_... |
### Context: CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
)
-- Using valid SQLite, answer the ... |
### 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 treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic (
... |
### Context: CREATE TABLE table_49621 (
"Region (year)" text,
"No. 1" text,
"No. 2" text,
"No. 3" text,
"No. 4" text,
"No. 5" text,
"No. 6" text,
"No. 7" text,
"No. 8" text,
"No. 9" text,
"No. 10" text
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE table_name_66 (
record VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Score of 2 1 has what record?
### Query: SELECT record FROM table_name_66 WHERE score = "2–1" |
### Context: CREATE TABLE table_train_119 (
"id" int,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"diastolic_blood_pressure_dbp" int,
"hypotension" bool,
"allergy_to_milk" bool,
"allergy_to_soy" bool,
"body_mass_index_bmi" float,
"plasma_creatinine" float,
"N... |
### Context: CREATE TABLE table_24126 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Black Knights points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponents stanford
### Query: ... |
### Context: CREATE TABLE table_name_70 (
year INTEGER,
english_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Year of submission of the Film The Art of Crying?
### Query: SELECT MIN(year) FROM table_name_70 WHERE english_title = "the art ... |
### Context: CREATE TABLE member_attendance (
Member_ID int,
Performance_ID int,
Num_of_Pieces int
)
CREATE TABLE member (
Member_ID text,
Name text,
Nationality text,
Role text
)
CREATE TABLE performance (
Performance_ID real,
Date text,
Host text,
Location text,
Atten... |
### Context: CREATE TABLE table_204_987 (
id number,
"city/municipality" text,
"no. of\nbarangays" number,
"area\n(km2)" number,
"population\n(2010 census)" number,
"pop. density\n(per km2)" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_name_47 (
million_czk VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 2007 number when the million CZK shows operating revenues?
### Query: SELECT COUNT(2007) FROM table_name_47 WHERE million_czk = "operating revenues" |
### Context: CREATE TABLE table_name_20 (
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position does Robert Nkemdiche play?
### Query: SELECT position FROM table_name_20 WHERE player = "robert nkemdiche" |
### Context: CREATE TABLE table_name_23 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the par score of 70-76-68-214?
### Query: SELECT to_par FROM table_name_23 WHERE score = "70-76-68-214" |
### Context: CREATE TABLE professor (
emp_num number,
dept_code text,
prof_office text,
prof_extension text,
prof_high_degree text
)
CREATE TABLE employee (
emp_num number,
emp_lname text,
emp_fname text,
emp_initial text,
emp_jobcode text,
emp_hiredate time,
emp_dob tim... |
### Context: CREATE TABLE table_name_2 (
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Away Team is 'Gillingham'?
### Query: SELECT date FROM table_name_2 WHERE away_team = "gillingham" |
### 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 Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Dorm_amenity ... |
### Context: CREATE TABLE table_name_77 (
date VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date is there a race on the Circuit of brands hatch?
### Query: SELECT date FROM table_name_77 WHERE circuit = "brands hatch" |
### Context: CREATE TABLE table_30047613_12 (
streak VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in april 13 what was the streak
### Query: SELECT streak FROM table_30047613_12 WHERE date = "April 13" |
### Context: CREATE TABLE table_21091145_1 (
black_knights_points VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of black knights points for 3 game
### Query: SELECT COUNT(black_knights_points) FROM table_21091145_1 WHERE game ... |
### Context: CREATE TABLE table_78573 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which To par has a Place of t4, and wayne grady is in?
### Query: SELECT "To par" FROM table_... |
### Context: CREATE TABLE Products (
product_id INTEGER,
color_code VARCHAR(15),
product_category_code VARCHAR(15),
product_name VARCHAR(80),
typical_buying_price VARCHAR(20),
typical_selling_price VARCHAR(20),
product_description VARCHAR(255),
other_product_details VARCHAR(255)
)
CREAT... |
### Context: CREATE TABLE table_name_44 (
matches INTEGER,
points VARCHAR,
results VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Points larger than 6, and a Results of 522:443 had what lowest matches?
### Query: SELECT MIN(matches) FROM table_name_44 W... |
### Context: CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offeri... |
### Context: CREATE TABLE students (
student_id number,
date_of_registration time,
date_of_latest_logon time,
login_name text,
password text,
personal_name text,
middle_name text,
family_name text
)
CREATE TABLE course_authors_and_tutors (
author_id number,
author_tutor_atb text... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gende... |
### Context: CREATE TABLE table_name_75 (
player VARCHAR,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Player comes from the Hometown of Wichita, KS?
### Query: SELECT player FROM table_name_75 WHERE hometown = "wichita, ks" |
### 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 employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25)... |
### Context: CREATE TABLE table_204_33 (
id number,
"number" number,
"name" text,
"year built" number,
"boat builder" text,
"current status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what boat builder created the hie after the hirondelle ?
... |
### Context: 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_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_45249 (
"Name" text,
"Pinnacle height" text,
"Structure type" text,
"Main use" text,
"Country" text,
"Town" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the name of the structure at Egypt, Arkansas?
### ... |
### Context: CREATE TABLE table_name_65 (
romaji_title VARCHAR,
tv_station VARCHAR,
average_ratings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%?
### Query: SELECT romaji_ti... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABL... |
### Context: CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId ... |
### Context: CREATE TABLE table_25012 (
"English name" text,
"Georgian name" text,
"Transliteration" text,
"Date" text,
"Author" text,
"Period covered" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date for when the georgian name is... |
### Context: CREATE TABLE table_name_61 (
order VARCHAR,
elector VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Order with an Elector of Marino Bulcani?
### Query: SELECT order FROM table_name_61 WHERE elector = "marino bulcani" |
### 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 job_history (... |
### Context: CREATE TABLE table_34101 (
"Round" real,
"Track" text,
"Date" text,
"Pole Position" text,
"Fastest Race Lap" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the pole position of Round 9
### Qu... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName te... |
### Context: CREATE TABLE table_58457 (
"Driver" text,
"Constructor" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time/retired when the grid is 19?
### Query: SELECT "Time/Retired" FROM t... |
### 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_64098 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average amount of points larger than 154 laps?
### Query: SEL... |
### Context: CREATE TABLE table_name_41 (
event VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event was Donald Ouimet involved?
### Query: SELECT event FROM table_name_41 WHERE opponent = "donald ouimet" |
### Context: CREATE TABLE table_4678 (
"Team" text,
"Constructor" text,
"Motorcycle" text,
"Rider" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round has the mv agusta f4 1000 mt?
### Query: SELECT "Rounds" FROM table_4678 WH... |
### Context: CREATE TABLE table_22560 (
"Date" real,
"Single" text,
"Backed with" text,
"Record label" text,
"Format" text,
"Other details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was 'moped girls' released?
### Query: SELECT "... |
### Context: CREATE TABLE table_7705 (
"Year" real,
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was at Home at the Bucharest Venue with a Score of 9-9?
### Query: SELECT "Home"... |
### Context: CREATE TABLE table_12648 (
"Perpetrator" text,
"Year" text,
"Location" text,
"Country" text,
"Killed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location for Egypt in 2013?
### Query: SELECT "Location" FROM table_12648 ... |
### Context: CREATE TABLE table_name_87 (
time VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the time of the game on April 5?
### Query: SELECT time FROM table_name_87 WHERE date = "april 5" |
### Context: CREATE TABLE AssignedTo (
Scientist int,
Project char(4)
)
CREATE TABLE Projects (
Code Char(4),
Name Char(50),
Hours int
)
CREATE TABLE Scientists (
SSN int,
Name Char(30)
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the nu... |
### Context: CREATE TABLE table_name_79 (
ε__m__1_cm__1__ VARCHAR,
mass__g_mol_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which (M -1 cm -1) has a molar mass of 1008 g/mol?
### Query: SELECT ε__m__1_cm__1__ FROM table_name_79 WHERE mass__g_mol_ = "1008... |
### Context: CREATE TABLE table_16706 (
"Rnd" real,
"Race" text,
"Date" text,
"Location" text,
"Pole Position" text,
"Fastest Lap" text,
"Race Winner" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE table_name_63 (
prog_cons VARCHAR,
dates VARCHAR,
polling_firm VARCHAR,
liberal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- According to the February 2009 poll by the Corporate Research Associates that reported 31% Libera... |
### 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 table_79003 (
"Position" real,
"Team" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Difference" text,
"Points 1" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### Context: CREATE TABLE broadcast_share (
channel_id number,
program_id number,
date text,
share_in_percent number
)
CREATE TABLE broadcast (
channel_id number,
program_id number,
time_of_day text
)
CREATE TABLE channel (
channel_id number,
name text,
owner text,
share_in... |
### Context: CREATE TABLE table_name_98 (
competition VARCHAR,
goal INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which competition has goals less than 2?
### Query: SELECT competition FROM table_name_98 WHERE goal < 2 |
### 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_72009 (
"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 score on April 8?
### Query: SELECT "Sc... |
### Context: CREATE TABLE table_name_26 (
type VARCHAR,
locomotive_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type is locomotive number CTN 46?
### Query: SELECT type FROM table_name_26 WHERE locomotive_number = "ctn 46" |
### Context: CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
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,
... |
### Context: CREATE TABLE table_name_28 (
attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total attendance on April 25?
### Query: SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.