text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_93 (
attendance INTEGER,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the the total top attendance with a score of 0 4?
### Query: SELECT MAX(attendance) FROM table_name_93 WHERE score = "0 – 4" |
### Context: CREATE TABLE table_17322817_10 (
location_attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location attendance for april 5
### Query: SELECT location_attendance FROM table_17322817_10 WHERE date = "April 5" |
### Context: CREATE TABLE table_name_66 (
date VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did South Melbourne play as the home team?
### Query: SELECT date FROM table_name_66 WHERE home_team = "south melbourne" |
### 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 d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)... |
### Context: CREATE TABLE table_33462 (
"Network" text,
"Origin of Programming" text,
"Language" text,
"Genre" text,
"Service" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does the network Star Cricket originate?
### Query: SELECT "Origin o... |
### Context: CREATE TABLE table_name_70 (
title VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the TV series in 2012?
### Query: SELECT title FROM table_name_70 WHERE year = "2012" |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_... |
### Context: CREATE TABLE table_25799 (
"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 table_23183 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different enrollment numbers are t... |
### Context: CREATE TABLE manufacturer (
Manufacturer_ID int,
Open_Year real,
Name text,
Num_of_Factories int,
Num_of_Shops int
)
CREATE TABLE furniture (
Furniture_ID int,
Name text,
Num_of_Component int,
Market_Rate real
)
CREATE TABLE furniture_manufacte (
Manufacturer_ID in... |
### Context: CREATE TABLE table_29651 (
"Week #" text,
"Theme" text,
"Song Choice" text,
"Original Artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for Barreto when his song choice was 'Ol... |
### Context: CREATE TABLE table_43003 (
"Result" text,
"Date" text,
"Race" text,
"Venue" text,
"Group" text,
"Distance" text,
"Weight (kg)" real,
"Time" text,
"Jockey" text,
"Winner/2nd" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE table_25355501_2 (
march_27_29 VARCHAR,
june_10_11 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- march 27-29 where june 10-11 is 127?
### Query: SELECT march_27_29 FROM table_25355501_2 WHERE june_10_11 = "127" |
### Context: CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU_FNAME varchar(15),
STU_INIT varchar(1),
STU_DOB datetime,
STU_HRS int,
STU_CLASS varchar(2),
STU_GPA float(8),
STU_TRANSFER numeric,
DEPT_CODE varchar(18),
STU_PHONE varchar(4),
PROF_NUM int
)
CR... |
### Context: CREATE TABLE table_204_675 (
id number,
"year" number,
"game of the year" text,
"abstract strategy" text,
"advanced strategy" text,
"family" text,
"family card" text,
"family strategy" text,
"party" text,
"puzzle" text,
"word" text,
"historical simulation" te... |
### Context: CREATE TABLE table_32628 (
"Rank" real,
"Player" text,
"Nation" text,
"Games" real,
"Goals" real,
"Years" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of goals for the player from 2008-present named ton... |
### Context: CREATE TABLE table_name_13 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game with a record of 33 25 9?
### Query: SELECT score FROM table_name_13 WHERE record = "33–25–9" |
### Context: CREATE TABLE table_name_63 (
election VARCHAR,
outcome_of_election VARCHAR,
number_of_votes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the election with an outcome of ndc opposition and 2,728,241 votes?
### Query: SELECT electio... |
### Context: CREATE TABLE table_21878 (
"Position" real,
"Team" text,
"Played" real,
"Won" 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 pro... |
### Context: CREATE TABLE table_train_209 (
"id" int,
"body_weight" float,
"diabetic" string,
"lactose_intolerance" bool,
"galactose_intolerance" bool,
"allergy_to_food" bool,
"body_mass_index_bmi" float,
"a1c" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime tim... |
### Context: CREATE TABLE table_name_43 (
goals INTEGER,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Highest Goals for Grella?
### Query: SELECT MAX(goals) FROM table_name_43 WHERE name = "grella" |
### Context: CREATE TABLE Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_description VARCHAR(255)
)
CREATE TABLE Student_Course_Enrolment (
registration_id INTEGER,
student_id INTEGER,
course_id INTEGER,
date_of_enrolment DATETIM... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_26677 (
"Date (YYYY-MM-DD)" text,
"Time (UTC)" text,
"Latitude" text,
"Longitude" text,
"Depth" text,
"Magnitude" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 11:40:26 is the time (utc) what is the depth?
... |
### 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 savings (
balance INTEGER,
custid VARCHAR
)
CREATE TABLE accounts (
name VARCHAR,
custid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the total saving balance for each account name.
### Query: SELECT SUM(T2.balance)... |
### Context: CREATE TABLE table_29229 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the pick # of cfl team bc lions (7)
### Query: SELECT "Pick #" FROM table_29229... |
### Context: CREATE TABLE table_name_67 (
opponents_in_the_final VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Opponents In The Final, when Partner is 'Ji Nov k'?
### Query: SELECT opponents_in_the_final FROM table_name_67 WHERE pa... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE ReviewTaskResults (
I... |
### Context: CREATE TABLE table_72907 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What class in the word with part 4 'giheizan'?
### Query: SELECT "Cl... |
### Context: CREATE TABLE table_name_21 (
elevation_ VARCHAR,
_height VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the elevation and height for Halfbeak?
### Query: SELECT elevation_ + _height FROM table_name_21 WHERE name = "hal... |
### Context: CREATE TABLE table_name_67 (
floors INTEGER,
built VARCHAR,
roof___m__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the average number of floors that were built in 2004, and have a roof (m) of 106?
### Query: SELECT AVG(floors) FRO... |
### Context: CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
TXBZ number,
ZZBZ number,
WDBZ number,
JZKSBM text,
JZKSMC text,
... |
### Context: CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
predicted_graduation_semester int,
degree varchar,
minor varchar,
int... |
### Context: CREATE TABLE table_204_870 (
id number,
"product" text,
"main functionality" text,
"input format" text,
"output format" text,
"platform" text,
"license and cost" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- w... |
### Context: CREATE TABLE table_name_95 (
function__figure_ VARCHAR,
serial_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Function (figure) has Serial number AF 934103?
### Query: SELECT function__figure_ FROM table_name_95 WHERE serial_number ... |
### Context: CREATE TABLE table_24556 (
"Municipality" text,
"Type" text,
"District" text,
"Area (km\u00b2)" text,
"Population (2010)" real,
"Pop. Density (per km\u00b2)" text,
"No. of Barangays" real,
"Municipal Mayor" text
)
-- Using valid SQLite, answer the following questions for t... |
### Context: CREATE TABLE table_name_21 (
position VARCHAR,
league_from VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team is from the Russian Major League?
### Query: SELECT position FROM table_name_21 WHERE league_from = "russian major league" |
### 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_30676 (
"Couple" text,
"Style" text,
"Music" text,
"Trine Dehli Cleve" real,
"Tor Fl\u00f8ysvik" real,
"Karianne Gulliksen" real,
"Christer Tornell" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE table_1682026_7 (
market_value__billion_$_ VARCHAR,
assets__billion_$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the market value in billions when the assets totaled 1,380.88?
### Query: SELECT market_value__billion_$_... |
### Context: CREATE TABLE endowment (
endowment_id int,
School_id int,
donator_name text,
amount real
)
CREATE TABLE budget (
School_id int,
Year int,
Budgeted int,
total_budget_percent_budgeted real,
Invested int,
total_budget_percent_invested real,
Budget_invested_percent ... |
### Context: CREATE TABLE table_21483 (
"Year" real,
"West Manila" text,
"East Manila" text,
"Consumer Price Index (2005=100)" text,
"West Manila as a share of 1996 real tariff" text,
"East Manila as a share of 1996 real tariff" text
)
-- Using valid SQLite, answer the following questions for ... |
### Context: CREATE TABLE table_name_25 (
score_in_the_final VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the match that was against alberto berasategui?
### Query: SELECT score_in_the_final FROM table_n... |
### Context: CREATE TABLE table_36241 (
"Team" text,
"Location" text,
"Venue" text,
"Capacity" real,
"Position in 2000" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Capacity has a Location of mogilev?
### Query: SELECT SUM("Capacity") FROM ... |
### Context: CREATE TABLE company (
Company_ID int,
Rank int,
Company text,
Headquarters text,
Main_Industry text,
Sales_billion real,
Profits_billion real,
Assets_billion real,
Market_Value real
)
CREATE TABLE station_company (
Station_ID int,
Company_ID int,
Rank_of_th... |
### Context: CREATE TABLE jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id number
)
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 tex... |
### Context: CREATE TABLE table_name_73 (
against VARCHAR,
losses VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number against when losses are smaller than 3, and wins arelarger than 16?
### Query: SELECT COUNT(against) FROM t... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
C... |
### Context: CREATE TABLE departments (
department_id number,
department_name text,
manager_id number,
location_id number
)
CREATE TABLE locations (
location_id number,
street_address text,
postal_code text,
city text,
state_province text,
country_id text
)
CREATE TABLE regions... |
### Context: CREATE TABLE table_20522228_2 (
rating VARCHAR,
viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the ratings/share ratio when viewers are 5.50 Million?
### Query: SELECT rating / SHARE(18 - 49) FROM table_20522228_2 WH... |
### 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 medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel te... |
### Context: CREATE TABLE table_67880 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"9:30" text,
"10:00" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is on tv at 8:00 on the same channel that had Loft Story on at ... |
### Context: CREATE TABLE table_21602734_1 (
league VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What league was involved in 2010?
### Query: SELECT league FROM table_21602734_1 WHERE year = 2010 |
### Context: CREATE TABLE table_name_87 (
profits__billion_ INTEGER,
sales__billion_$_ VARCHAR,
headquarters VARCHAR,
market_value__billion_$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest profits in billions of the company headq... |
### Context: CREATE TABLE table_203_502 (
id number,
"team" text,
"titles" number,
"runner-up" number,
"third place" number,
"fourth place" number,
"years participated" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is above michigan i... |
### 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 employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE faculty_participates_in (
facid number,
actid number
)
CREATE TABLE participates_in (
stuid number,
actid number
)
CREATE TABLE faculty (
facid number,
lname text,
fname text,
rank text,
sex text,
phone number,
room text,
building text
)
CREAT... |
### Context: CREATE TABLE table_name_82 (
attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance of the game on December 11, 2005?
### Query: SELECT attendance FROM table_name_82 WHERE date = "december 11, 2005" |
### Context: CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
r... |
### 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
va... |
### Context: CREATE TABLE table_name_62 (
time_retired VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time/retired of the team with a grid of 14?
### Query: SELECT time_retired FROM table_name_62 WHERE grid = 14 |
### Context: CREATE TABLE Student_Course_Registrations (
student_id INTEGER,
course_id INTEGER,
registration_date DATETIME
)
CREATE TABLE Candidates (
candidate_id INTEGER,
candidate_details VARCHAR(255)
)
CREATE TABLE Courses (
course_id VARCHAR(100),
course_name VARCHAR(120),
course_... |
### Context: CREATE TABLE table_45876 (
"Region" text,
"Host" text,
"Venue" text,
"City" text,
"State" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which state includes the Harry A. Gampel Pavilion venue?
### Query: SELECT "State" FROM table_4587... |
### 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 lab (
... |
### Context: CREATE TABLE table_27835 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the o... |
### Context: CREATE TABLE table_name_20 (
round VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Round for the jiu-jitsu vs martial arts?
### Query: SELECT round FROM table_name_20 WHERE event = "jiu-jitsu vs martial arts" |
### Context: CREATE TABLE table_55758 (
"Sport" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Bronze that has a Total larger than 18 and a Silver smaller than 143?
### Que... |
### Context: CREATE TABLE table_name_32 (
team VARCHAR,
rider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team does Anthony Redmond ride for?
### Query: SELECT team FROM table_name_32 WHERE rider = "anthony redmond" |
### Context: CREATE TABLE table_name_94 (
name VARCHAR,
perfection VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a perfection percentage of 77.96%?
### Query: SELECT name FROM table_name_94 WHERE perfection = "77.96%" |
### Context: CREATE TABLE table_1571238_2 (
years_participated INTEGER,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years did notre dame participate?
### Query: SELECT MAX(years_participated) FROM table_1571238_2 WHERE team = "Notre Dame" |
### Context: CREATE TABLE table_2048 (
"Province" text,
"Latin Americans 2001" real,
"% 2001" text,
"Latin Americans 2011" real,
"% 2011" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the percentages in 2001 in all the provinces where the ... |
### 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 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 Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_name_21 (
circuit VARCHAR,
winning_driver VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What circuit did Rupert Keegan win in round 8?
### Query: SELECT circuit FROM table_name_21 WHERE winning_driver = "r... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### Context: CREATE TABLE qtb (
CLINIC_ID text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_i... |
### Context: CREATE TABLE table_23981882_1 (
title VARCHAR,
no_in_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the episode title for number 7 in the season?
### Query: SELECT title FROM table_23981882_1 WHERE no_in_season = 7 |
### Context: CREATE TABLE table_name_18 (
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Ben Crenshaw has what To par?
### Query: SELECT to_par FROM table_name_18 WHERE player = "ben crenshaw" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
JCZB... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
aller... |
### 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 code_description (
code varchar,
description text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE airport (
airport_code varchar,
airport_name text,
... |
### Context: CREATE TABLE table_29079 (
"Date" text,
"Time" text,
"Visiting team" text,
"Home team" text,
"Site" text,
"Broadcast" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List all times with Kentu... |
### Context: CREATE TABLE Roles (
Role_Code CHAR(15),
Role_Name VARCHAR(255),
Role_Description VARCHAR(255)
)
CREATE TABLE Documents_to_be_Destroyed (
Document_ID INTEGER,
Destruction_Authorised_by_Employee_ID INTEGER,
Destroyed_by_Employee_ID INTEGER,
Planned_Destruction_Date DATETIME,
... |
### Context: CREATE TABLE wdmzjzjlb (
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 text... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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,
I... |
### 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 t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttim... |
### Context: CREATE TABLE table_57501 (
"City of license/market" text,
"Station" text,
"Channel TV ( RF )" text,
"Year of affiliation" real,
"Year of disaffiliation" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year of disaffi... |
### Context: CREATE TABLE table_10211 (
"Rank" real,
"Stadium" text,
"Capacity" real,
"Location" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Gaelic Football Stadium at McHale Park's ranking in total capacity?
### Query... |
### Context: CREATE TABLE table_64028 (
"Class to 1928" text,
"Class from 1928" text,
"Seats" text,
"Quantity" real,
"Year(s) of Manufacture" text,
"Remarks" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest quantity having a C... |
### Context: CREATE TABLE table_48563 (
"Driver" text,
"Entrant" text,
"Constructor" text,
"Time/Retired" text,
"Grid" text,
"Heat 1/2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Menato Boffa's grid?
### Query: SELECT "Grid" FROM t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.