text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_204_111 (
id number,
"name" text,
"animal type" text,
"introduced" number,
"reintroduced" text,
"retired" number,
"beanie baby resembled" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the only pillow... |
### Context: CREATE TABLE table_72921 (
"School" text,
"Est. Denotes original date of establishment of the school, changes in name and/or location noted in corresponding ootnote" real,
"Location Denotes location of school by Seattle neighborhood, does not necessary correspond with attendance area" text,
... |
### Context: CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE T... |
### Context: CREATE TABLE table_name_85 (
date VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the home team of footscray play?
### Query: SELECT date FROM table_name_85 WHERE home_team = "footscray" |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytim... |
### Context: CREATE TABLE table_35494 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponen" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament happened on september 25, 2006?
### Query: SELECT "Tournament" FROM tabl... |
### 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 patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
C... |
### Context: CREATE TABLE table_64771 (
"Band" real,
"Frequency (MHz)" text,
"Wavelength" text,
"Type" text,
"Power (W)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Band number has a Power (W) of 400 or less?
### Query: SELECT SUM("Band") F... |
### Context: CREATE TABLE table_name_61 (
prime_mover VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which prime mover had a Model of rs-18?
### Query: SELECT prime_mover FROM table_name_61 WHERE model = "rs-18" |
### Context: CREATE TABLE table_6643 (
"Club" text,
"Played" 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, answer the following... |
### Context: CREATE TABLE Minor_in (
StuID INTEGER,
DNO INTEGER
)
CREATE TABLE Member_of (
FacID INTEGER,
DNO INTEGER,
Appt_Type VARCHAR(15)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor... |
### Context: CREATE TABLE table_name_94 (
years_for_grizzlies VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are years that Obinna Ekezie played for the Grizzlies?
### Query: SELECT years_for_grizzlies FROM table_name_94 WHERE player = ... |
### Context: CREATE TABLE table_dev_32 (
"id" int,
"post_challenge_capillary_glucose" int,
"gender" string,
"blood_donation" bool,
"untreated_hyperlipidemia" bool,
"hemoglobin_a1c_hba1c" float,
"hematocrit_hct" float,
"fasting_triglycerides" int,
"fasting_blood_glucose_fbg" float,
... |
### Context: CREATE TABLE table_28137918_5 (
new_adherents_per_year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least amount of new adherents per year
### Query: SELECT MIN(new_adherents_per_year) FROM table_28137918_5 |
### Context: CREATE TABLE table_22733 (
"State and District of Columbia" text,
"Obese adults" text,
"Overweight (incl. obese) adults" text,
"Obese children and adolescents" text,
"Obesity rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many... |
### Context: CREATE TABLE table_18052353_4 (
state_assembly VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the composition of the state assembly in 2008?
### Query: SELECT state_assembly FROM table_18052353_4 WHERE year = "2008" |
### Context: CREATE TABLE table_54884 (
"Candidate" text,
"Total Receipts" real,
"Loans Received" real,
"Receipts w/o Loans" real,
"Money Spent" real,
"Cash On Hand" real,
"Total Debt" text,
"Cash on Hand Minus Debt" real
)
-- Using valid SQLite, answer the following questions for the ... |
### Context: CREATE TABLE table_name_44 (
week INTEGER,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Week of the game with a Result of L 24-0?
### Query: SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-0" |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE patient (
uniquepid text,
... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_81 (
record VARCHAR,
score VARCHAR,
points VARCHAR,
february VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Points smaller than 62 and a February larger than 16, and a Score of 8 7?
### Query: ... |
### Context: CREATE TABLE table_204_801 (
id number,
"year" number,
"derby\nwinner" text,
"galaxy" number,
"draw" number,
"chivas" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year did chivas have the same number of wins as in 2012 ?... |
### Context: CREATE TABLE table_1601792_4 (
transmitted VARCHAR,
frequency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many stations are transmitted on frequency 7 uhf?
### Query: SELECT COUNT(transmitted) FROM table_1601792_4 WHERE frequency = "7 UH... |
### Context: CREATE TABLE table_name_51 (
margin_of_victory VARCHAR,
runner_s__up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the margin of victory over Brad Faxon?
### Query: SELECT margin_of_victory FROM table_name_51 WHERE runner_s__up = "bra... |
### Context: CREATE TABLE table_name_84 (
recorded VARCHAR,
translation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record for Brussels translations?
### Query: SELECT recorded FROM table_name_84 WHERE translation = "brussels" |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,... |
### 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 jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departme... |
### Context: CREATE TABLE table_18519 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in the election where the incumbent was... |
### Context: CREATE TABLE table_77999 (
"Round" text,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Venue with a Date with 14 april 2002?
### Query: SELECT "Venue" FROM table_77999 W... |
### Context: CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE time_zone (
time_... |
### Context: CREATE TABLE table_28243691_2 (
institution VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school is located in Huntsville, Texas?
### Query: SELECT institution FROM table_28243691_2 WHERE location = "Huntsville, Texas" |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
... |
### Context: CREATE TABLE table_12232526_2 (
hull_numbers INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the maximum number of hull numbers?
### Query: SELECT MAX(hull_numbers) FROM table_12232526_2 |
### Context: CREATE TABLE table_11690135_1 (
interview VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many interviews were there for Miss Virginia?
### Query: SELECT COUNT(interview) FROM table_11690135_1 WHERE country = "Virginia" |
### 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_name_29 (
length VARCHAR,
junctions VARCHAR,
route_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the length of route FM 2895 with junctions sh 359 us 59?
### Query: SELECT length FROM table_name_29 WHERE junc... |
### Context: CREATE TABLE table_43214 (
"Rank" real,
"Name" text,
"Span metres" real,
"Span feet" real,
"Material" text,
"Year opened" text,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country's material was concrete when ... |
### Context: CREATE TABLE table_name_56 (
tries_against VARCHAR,
tries_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Tries Against, when Tries For is 21?
### Query: SELECT tries_against FROM table_name_56 WHERE tries_for = "21" |
### Context: CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE 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_25926120_3 (
awardee_s_ VARCHAR,
name_of_award VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won best actress?
### Query: SELECT awardee_s_ FROM table_25926120_3 WHERE name_of_award = "Best Actress" |
### Context: CREATE TABLE table_57765 (
"Heat." real,
"Race Title" text,
"Circuit" text,
"Location / State" text,
"Date" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location/state of the race on 16 ... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE table_name_3 (
mall_name VARCHAR,
stores VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Mall has 140 stores?
### Query: SELECT mall_name FROM table_name_3 WHERE stores = "140" |
### Context: CREATE TABLE table_name_39 (
poles INTEGER,
points VARCHAR,
class VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Poles have a Class of 125cc, and a Team of matteoni racing team, and Points larger than 3?
### Query... |
### Context: CREATE TABLE table_name_28 (
money___ VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the amount of money that a +5 to par with a score of 76-69-70-70=285?
### Query: SELECT COUNT(money___) AS $__ FROM ... |
### Context: CREATE TABLE table_39885 (
"Name" text,
"Novelty" text,
"Status" text,
"Authors" text,
"Unit" text,
"Location" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the status of jr synonym of protosialis casca?
... |
### Context: CREATE TABLE table_2560677_1 (
artist_s_ VARCHAR,
start_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many artist(s) have a start date is 1966-12-12?
### Query: SELECT COUNT(artist_s_) FROM table_2560677_1 WHERE start_date = "1966-12-... |
### Context: CREATE TABLE table_11867 (
"Name" text,
"Premiere" text,
"Finale" text,
"Original teams" text,
"The Biggest Loser" text,
"At-Home Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the original teams for the season tha... |
### 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 zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
... |
### Context: CREATE TABLE table_38991 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who ha the gold and 1 bronze, and more than 0 silver?
### Query: SELECT "Gold"... |
### 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 flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
... |
### Context: CREATE TABLE table_68325 (
"Year" text,
"Human Resources & Operations" text,
"Local Affairs" text,
"Academic & University Affairs" text,
"External Affairs" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was in external affairs when ... |
### Context: CREATE TABLE table_12856 (
"Designation" text,
"Launch date/time ( GMT )" text,
"Mass" text,
"Apogee" text,
"Inclination" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Mass, when Designation is Prognoz 2?
### Query: SELECT "Ma... |
### Context: CREATE TABLE table_57184 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year a chassis of ferrari 312t and results of 31 points occurred?
### Q... |
### Context: CREATE TABLE railway_manage (
railway_id number,
manager_id number,
from_year text
)
CREATE TABLE train (
train_id number,
train_num text,
name text,
from text,
arrival text,
railway_id number
)
CREATE TABLE railway (
railway_id number,
railway text,
builde... |
### Context: CREATE TABLE table_name_74 (
top_5 INTEGER,
top_10 VARCHAR,
top_25 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Top-5 finishes with 2 as the Top-10 and a greater than 4 Top-25?
### Query: SELECT AVG(top_5) FROM table_n... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
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... |
### Context: CREATE TABLE table_name_74 (
icao VARCHAR,
airport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the ICAO for lilongwe international airport
### Query: SELECT icao FROM table_name_74 WHERE airport = "lilongwe international airport" |
### 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 loan (
loan_id text,
loan_type text,
cust_id text,
branch_id text,
amount number
)
CREATE TABLE bank (
branch_id number,
bname text,
no_of_customers number,
city text,
state text
)
CREATE TABLE customer (
cust_id text,
cust_name text,
acc_t... |
### Context: CREATE TABLE table_26315 (
"Rank" real,
"Operators Name" text,
"Technology" text,
"Subscribers (in millions)" text,
"Ownership" text,
"Market Share" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the market share of the ope... |
### Context: CREATE TABLE table_name_57 (
role VARCHAR,
genre VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What drama role does she play in 1973?
### Query: SELECT role FROM table_name_57 WHERE genre = "drama" AND year = 1973 |
### 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 medicati... |
### Context: CREATE TABLE table_30108930_6 (
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Tyrell Francisco's player position?
### Query: SELECT position FROM table_30108930_6 WHERE player = "Tyrell Francisco" |
### 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_17738 (
"Year" real,
"Song title" text,
"Artist" text,
"Master recording ?" text,
"Release date" text,
"Single / Pack" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many master recordings are there for 'Famou... |
### Context: CREATE TABLE table_name_90 (
rank VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank did Best Friends receive?
### Query: SELECT rank FROM table_name_90 WHERE title = "best friends" |
### Context: CREATE TABLE table_21729 (
"Series #" real,
"Episode #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. viewers (million)" text,
"Original airdate" text,
"Production Code" text
)
-- Using valid SQLite, answer the following questions for the tables provided... |
### Context: CREATE TABLE table_name_74 (
nation VARCHAR,
second VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Glenys Bakker was second for which nation?
### Query: SELECT nation FROM table_name_74 WHERE second = "glenys bakker" |
### Context: CREATE TABLE table_53062 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the driver for grid less than 19 and Laps more than 59 with time/retired of +0... |
### 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 table_24074130_5 (
against VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every entry for against with opponent Andreas Vinciguerra?
### Query: SELECT against FROM table_24074130_5 WHERE opponent = "Andrea... |
### Context: CREATE TABLE film_market_estimation (
Estimation_ID int,
Low_Estimate real,
High_Estimate real,
Film_ID int,
Type text,
Market_ID int,
Year int
)
CREATE TABLE film (
Film_ID int,
Title text,
Studio text,
Director text,
Gross_in_dollar int
)
CREATE TABLE mar... |
### Context: CREATE TABLE route (
train_id int,
station_id int
)
CREATE TABLE station (
id int,
network_name text,
services text,
local_authority text
)
CREATE TABLE train (
id int,
train_number int,
name text,
origin text,
destination text,
time text,
interval text... |
### Context: CREATE TABLE table_11924 (
"Tallangatta DFL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of byes that has 11 wins and a Tallangatta D... |
### 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 volume (
Volume_ID int,
Volume_Issue text,
Issue_Date text,
Weeks_on_Top real,
Song text,
Artist_ID int
)
CREATE TABLE artist (
Artist_ID int,
Artist text,
Age int,
Famous_Title text,
Famous_Release_date text
)
CREATE TABLE music_festival (
ID ... |
### Context: CREATE TABLE table_34910 (
"Version" text,
"Length" text,
"Album" text,
"Remixed by" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How long was the instrumental version in 1986?
### Query: SELECT "Length" FROM table_34910... |
### Context: CREATE TABLE table_66418 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"# / County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which IHSAA Class has a Location of columbia city?
### Que... |
### Context: CREATE TABLE cinema (
name VARCHAR,
openning_year VARCHAR,
capacity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show name, opening year, and capacity for each cinema.
### Query: SELECT name, openning_year, capacity FROM cinema |
### Context: CREATE TABLE table_7853 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE PLACE THAT HAS SCORE OF 65 OR BETTER, FOR ROCCO MEDIATE?
### Query: SELECT "Place"... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
i... |
### Context: CREATE TABLE table_79723 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the rank of Turkey (TUR) with a total more than 2?
### Query: SELECT CO... |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_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 table_49307 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Week, when Opponent is Minnesota Vikings?
### Query: SELECT AVG("Week"... |
### Context: CREATE TABLE table_61327 (
"Outcome" text,
"Date" real,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Partner which... |
### Context: CREATE TABLE table_2484 (
"Issuer" text,
"Issue Date" text,
"ISIN" text,
"Amount Issued [\u20ac]" text,
"Coupon" text,
"Maturity" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ISIN that has a coupon of 1.02 and a value ... |
### 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_name_34 (
party VARCHAR,
electorate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party is the member that has an electorate of Lindsay?
### Query: SELECT party FROM table_name_34 WHERE electorate = "lindsay" |
### Context: CREATE TABLE table_21716 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text,
"Usual PIE origin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the verb meaning for *bundun?
#... |
### Context: CREATE TABLE Subjects (
subject_id INTEGER,
subject_name VARCHAR(120)
)
CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR(40),
personal_name VARCHAR(80),
middle_name VARCHAR(80),
family_name... |
### Context: CREATE TABLE table_64429 (
"Player" text,
"Original Season" text,
"Gender" text,
"Eliminated" text,
"Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who's the player eliminated on episode 8 of Fresh Meat?
### Query: SELECT "Pla... |
### Context: CREATE TABLE editor (
editor_id number,
name text,
age number
)
CREATE TABLE journal_committee (
editor_id number,
journal_id number,
work_type text
)
CREATE TABLE journal (
journal_id number,
date text,
theme text,
sales number
)
-- Using valid SQLite, answer th... |
### Context: CREATE TABLE table_name_3 (
date VARCHAR,
week VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game with a result of bye before week 12?
### Query: SELECT date FROM table_name_3 WHERE week < 12 AND re... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE table_66238 (
"State (class)" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date of successor's formal installation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which State (class) has a Successor of... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.