text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_67543 (
"Member countries" text,
"Population" text,
"Area (km\u00b2)" text,
"GDP (billion US$)" text,
"GDP per capita (US$)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the per-capita GDP of the country wit... |
### Context: CREATE TABLE faculty_participates_in (
facid number,
actid number
)
CREATE TABLE participates_in (
stuid number,
actid number
)
CREATE TABLE activity (
actid number,
activity_name text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
... |
### 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 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 table_29747178_3 (
directed_by VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode that was watched by 2.67 million U.S. viewers?
### Query: SELECT directed_by FROM table_29747178_3... |
### Context: CREATE TABLE table_2850912_6 (
pick__number INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What pick was Greg Strome?
### Query: SELECT MAX(pick__number) FROM table_2850912_6 WHERE player = "Greg Strome" |
### Context: CREATE TABLE table_22570439_1 (
us_viewers__millions_ VARCHAR,
series__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many u.s. viewers (million) have a series # 83?
### Query: SELECT us_viewers__millions_ FROM table_22570439_1 WHERE... |
### 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 country (
country_id SMALLINT UNSIGNED,
country VARCHAR(50),
last_update TIMESTAMP
)
CREATE TABLE film (
film_id SMALLINT UNSIGNED,
title VARCHAR(255),
description TEXT,
release_year YEAR,
language_id TINYINT UNSIGNED,
original_language_id TINYINT UNSIGNED,... |
### Context: CREATE TABLE table_name_77 (
games_played VARCHAR,
trophy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who many games were played for the series with the Sawhorse Dollar trophy?
### Query: SELECT games_played FROM table_name_77 WHERE trophy =... |
### Context: CREATE TABLE table_58057 (
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Diff" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest diff with drawn of 6 and play larger than... |
### Context: CREATE TABLE head (
head_ID int,
name text,
born_state text,
age real
)
CREATE TABLE department (
Department_ID int,
Name text,
Creation text,
Ranking int,
Budget_in_Billions real,
Num_Employees real
)
CREATE TABLE management (
department_ID int,
head_ID in... |
### Context: CREATE TABLE table_20925393_3 (
english VARCHAR,
cardinal_direction VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- state the name of day in english where cardinal direction is east
### Query: SELECT english FROM table_20925393_3 WHERE cardinal_... |
### Context: CREATE TABLE users (
user_id number,
role_code text,
user_name text,
user_login text,
password text
)
CREATE TABLE functional_areas (
functional_area_code text,
parent_functional_area_code text,
functional_area_description text
)
CREATE TABLE document_sections (
sectio... |
### Context: CREATE TABLE table_26091 (
"Rank" real,
"Rider" text,
"Mon 24 Aug" text,
"Tues 25 Aug" text,
"Wed 26 Aug" text,
"Thurs 27 Aug" text,
"Fri 28 Aug" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the rider when Fri 28 Aug w... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_23 (
arch_type VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of arch is the pont de montanges (pont-des-pierres)?
### Query: SELECT arch_type FROM table_name_23 WHERE name = "pont de montanges (p... |
### Context: CREATE TABLE gwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_name_29 (
crowd VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended the game where Footscray was away?
### Query: SELECT crowd FROM table_name_29 WHERE away_team = "footscray" |
### Context: CREATE TABLE bdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC tex... |
### Context: CREATE TABLE member_attendance (
Member_ID int,
Performance_ID int,
Num_of_Pieces int
)
CREATE TABLE performance (
Performance_ID real,
Date text,
Host text,
Location text,
Attendance int
)
CREATE TABLE member (
Member_ID text,
Name text,
Nationality text,
... |
### Context: CREATE TABLE table_name_47 (
agg VARCHAR,
team_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Partizan is Team 2, what is the Agg?
### Query: SELECT agg FROM table_name_47 WHERE team_2 = "partizan" |
### Context: CREATE TABLE table_name_86 (
score VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of the Fifa World Cup 1986 Qualifying Competition?
### Query: SELECT score FROM table_name_86 WHERE competition = "fifa wor... |
### Context: CREATE TABLE camera_lens (
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the camera lens names containing substring 'Digital'.
### Query: SELECT name FROM camera_lens WHERE name LIKE "%Digital%" |
### Context: CREATE TABLE table_23248910_11 (
high_rebounds VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the amount of rebounds in game 2?
### Query: SELECT high_rebounds FROM table_23248910_11 WHERE game = 2 |
### Context: CREATE TABLE table_24733 (
"Date" text,
"Event #" text,
"Event" text,
"Winner" text,
"Prize" text,
"Entries" text,
"Prize Pool" text,
"Elapsed Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many elapsed times were ... |
### 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 vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE patient ... |
### Context: CREATE TABLE product (
product_id number,
product text,
dimensions text,
dpi number,
pages_per_minute_color number,
max_page_size text,
interface text
)
CREATE TABLE store_district (
store_id number,
district_id number
)
CREATE TABLE store_product (
store_id number... |
### Context: CREATE TABLE table_name_56 (
date VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game when their record was 84-69?
### Query: SELECT date FROM table_name_56 WHERE record = "84-69" |
### Context: CREATE TABLE table_name_61 (
label VARCHAR,
album VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Label that has an Album of so red the rose?
### Query: SELECT label FROM table_name_61 WHERE album = "so red the rose" |
### Context: CREATE TABLE table_name_10 (
film VARCHAR,
director VARCHAR,
award VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Award of troisi me prix, and a Year smaller than 2010, and a Director of jan komasa is what film?
### Query:... |
### Context: CREATE TABLE table_name_8 (
venue VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue for Round f?
### Query: SELECT venue FROM table_name_8 WHERE round = "f" |
### Context: CREATE TABLE table_name_21 (
film VARCHAR,
year VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the film when the year is earlier than 2002 and the category is outstanding actress?
### Query: SELECT film FROM 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 flight_fare (
flight_id int,
fare_id 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,
round_trip_required va... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE airline (
airline_code varchar,
airlin... |
### 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 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 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_5284 (
"Date" text,
"Opponent" text,
"Location" text,
"Result" text,
"Overall" text,
"Conf." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the Bruins play Iowa State?
### Query: SELECT "Location" FROM ... |
### Context: CREATE TABLE table_43302 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the content for la sorgente sat 3?
### Quer... |
### Context: CREATE TABLE table_14070062_3 (
club VARCHAR,
try_bonus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many clubs have a try bonus value of 5?
### Query: SELECT COUNT(club) FROM table_14070062_3 WHERE try_bonus = "5" |
### Context: CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the av... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name tex... |
### 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_name_28 (
gold INTEGER,
silver VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum for gold when there is more than 17 silver and more than 24 bronze?
### Query: SELECT SUM(gold) FROM table_name... |
### Context: CREATE TABLE fires (
fire_year number,
discovery_date number,
discovery_doy number,
discovery_time text,
stat_cause_code number,
stat_cause_descr text,
cont_date text,
cont_doy text,
cont_time text,
fire_size number,
fire_size_class text,
latitude number,
... |
### Context: CREATE TABLE table_26819 (
"Rank" real,
"Senator" text,
"Date of birth" text,
"Entered Senate" text,
"Left Senate" text,
"State served" text,
"Party" text,
"Time since entry" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Of... |
### 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 trip (
id INTEGER,
duration INTEGER,
start_date TEXT,
start_station_name TEXT,
start_station_id INTEGER,
end_date TEXT,
end_station_name TEXT,
end_station_id INTEGER,
bike_id INTEGER,
subscription_type TEXT,
zip_code INTEGER
)
CREATE TABLE station (... |
### Context: CREATE TABLE table_name_9 (
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country did Raymond Floyd play for?
### Query: SELECT country FROM table_name_9 WHERE player = "raymond floyd" |
### Context: CREATE TABLE table_33792 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue when the away te... |
### Context: CREATE TABLE table_67866 (
"Language" text,
"Number" text,
"percentage (%)" text,
"males" text,
"females" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of males 977 948?
### Query: SELECT "Number" FROM table_67866 W... |
### Context: CREATE TABLE table_80446 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total gold are less than 4?
### Query: SELECT COUNT("Gold") FROM table_80446 WHERE "Tota... |
### Context: CREATE TABLE table_142573_1 (
bus_width__bits_ VARCHAR,
bandwidth__mb_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the bus width bits when bandwidth mb/s is 3200
### Query: SELECT bus_width__bits_ FROM table_142573_1 WHERE bandwidth__... |
### Context: CREATE TABLE table_1802 (
"Year" text,
"Governor" text,
"Lieutenant Governor" text,
"Secretary of State" text,
"Attorney General" text,
"Treasurer" text,
"State Senate" text,
"State Assembly" text,
"U.S. Senator (Class I)" text,
"U.S. Senator (Class III)" text,
"... |
### Context: CREATE TABLE table_name_82 (
position VARCHAR,
notes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Is there a Position for Notes 53.96?
### Query: SELECT position FROM table_name_82 WHERE notes = "53.96" |
### Context: CREATE TABLE table_45826 (
"Season" real,
"Series" text,
"Points" text,
"Position" text,
"Driver" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Position, when Series is Queensland Formula Ford Championship, when Season is after... |
### Context: CREATE TABLE table_24368 (
"Type of Record" text,
"Attendance" real,
"Date/Year" text,
"Stadium" text,
"Result/Games" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which type of record has result/games of 9 games (57,144 avg.)
### Que... |
### Context: CREATE TABLE table_59305 (
"Country" text,
"Electricity production (Kw/h, billion)" real,
"% Coal" real,
"% Natural gas" real,
"% Oil" real,
"% Hydropower" real,
"% Other renewable" real,
"% Nuclear power" real
)
-- Using valid SQLite, answer the following questions for th... |
### Context: CREATE TABLE table_name_15 (
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country does Gary Koch play for?
### Query: SELECT country FROM table_name_15 WHERE player = "gary koch" |
### Context: CREATE TABLE table_48847 (
"Result" text,
"Opponent" text,
"Method" text,
"Date" text,
"Round" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Result of win, and a Round smaller than 2, and an Opponent of myron greenberg... |
### Context: 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,
Time text
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Eve... |
### 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_24613895_1 (
number_of_believers INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least number of believers
### Query: SELECT MIN(number_of_believers) FROM table_24613895_1 |
### Context: CREATE TABLE table_38518 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament has a Winning score of e (72-69-71-68=280)?
### Q... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_204_697 (
id number,
"song" text,
"artist(s)" text,
"concert" number,
"film" number,
"1978 album" number,
"2002 album" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many songs in total ?
### Query: SEL... |
### Context: CREATE TABLE exhibition_record (
Exhibition_ID int,
Date text,
Attendance int
)
CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int,
Age int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Tick... |
### Context: CREATE TABLE table_name_95 (
laps INTEGER,
rider VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Laps that have gregorio lavilla as the rider, with a grid greater than 13?
### Query: SELECT AVG(laps) FROM ta... |
### 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_75 (
teams VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team has a home of 2-3?
### Query: SELECT teams FROM table_name_75 WHERE home = "2-3" |
### 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 class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE airp... |
### Context: CREATE TABLE table_name_51 (
gold INTEGER,
bronze VARCHAR,
nation VARCHAR,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Silver larger than 0, and a Total smaller than 3, and a Nation of bulgaria, and a Bronze ... |
### Context: CREATE TABLE table_25125 (
"Series #" real,
"Season #" real,
"Episode title" text,
"Written by" text,
"Directed by" text,
"U.S. viewers (millions)" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How man... |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE PostLinks... |
### Context: CREATE TABLE table_33695 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance for the game on October 30, 1994 for a week aft... |
### Context: CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CR... |
### Context: CREATE TABLE competition_record (
competition_id number,
farm_id number,
rank number
)
CREATE TABLE farm_competition (
competition_id number,
year number,
theme text,
host_city_id number,
hosts text
)
CREATE TABLE city (
city_id number,
official_name text,
stat... |
### Context: CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### 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 table_69096 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partnering" text,
"Opponents in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What surface was played on that resulted in a score of ... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity tex... |
### Context: CREATE TABLE table_name_79 (
format VARCHAR,
catalogue VARCHAR,
region VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What format is the Catalogue 9362486152 from the region of Australia in?
### Query: SELECT format FROM table_name_79 WHERE... |
### Context: CREATE TABLE table_203_598 (
id number,
"date" text,
"time" text,
"opponent" text,
"site" text,
"tv" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which opponent was next after jackson st... |
### 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 table_203_175 (
id number,
"rank" text,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which country won the most medals total ?
### Query: ... |
### Context: CREATE TABLE table_30476 (
"Club" text,
"Location" text,
"Home Venue" text,
"Capacity" text,
"Founded" real,
"Years Active" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the capacity for the Home Venue of the New Zealand Br... |
### Context: CREATE TABLE status (
statusId INTEGER,
status TEXT
)
CREATE TABLE qualifying (
qualifyId INTEGER,
raceId INTEGER,
driverId INTEGER,
constructorId INTEGER,
number INTEGER,
position INTEGER,
q1 TEXT,
q2 TEXT,
q3 TEXT
)
CREATE TABLE lapTimes (
raceId INTEGER,... |
### Context: CREATE TABLE table_70035 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Winner had a Prize of z 2,153,999?
### Query: SELECT "Winner" FROM table_70035 WHERE "Prize" ... |
### Context: CREATE TABLE table_1894 (
"Position" real,
"Sail Number" text,
"Yacht" text,
"State/Country" text,
"Yacht Type" text,
"LOA (Metres)" text,
"Skipper" text,
"Elapsed Time d:hh:mm:ss" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_name_88 (
original_title VARCHAR,
language VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the original title of the Hindi film?
### Query: SELECT original_title FROM table_name_88 WHERE language = "hindi" |
### Context: CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBL... |
### Context: CREATE TABLE table_11381 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Decision when the Visitor was Carolina?
... |
### Context: CREATE TABLE player (
Player_name VARCHAR,
gender VARCHAR,
Player_ID VARCHAR
)
CREATE TABLE coach (
Coach_ID VARCHAR
)
CREATE TABLE player_coach (
Coach_ID VARCHAR,
Player_ID VARCHAR,
Starting_year INTEGER
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE table_39365 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the Dec 11 game?
### Query: SELECT "Score" FROM table_39365 WHERE "De... |
### 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,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.