text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE prescribes (
physician number,
patient number,
medication number,
date time,
appointment number,
dose text
)
CREATE TABLE undergoes (
patient number,
procedures number,
stay number,
dateundergoes time,
physician number,
assistingnurse number
)
... |
### Context: CREATE TABLE table_name_60 (
runner_up VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the runner up in the konica san jose classic Tournament?
### Query: SELECT runner_up FROM table_name_60 WHERE tournament = "konica... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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... |
### Context: CREATE TABLE table_24334163_1 (
Winners INTEGER,
total_money_won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest amount of won legs in the payoffs when the prize money was 2,350?
### Query: SELECT MAX(Winners) AS play_off_legs... |
### Context: CREATE TABLE table_76220 (
"Date" text,
"Opponent" text,
"Score" text,
"Leading Scorer" text,
"Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent of the game with a tied 1-1 series and beck... |
### Context: CREATE TABLE table_20421 (
"Episode Number" real,
"Air Date" text,
"Guest Host" text,
"Musical Guest (Song performed)" text,
"Who knows the most about the guest host? panelists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the da... |
### 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_5125 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has friendly as the type of game, france as an opponent, and paris, franc... |
### Context: CREATE TABLE table_39650 (
"Pick" real,
"Player" text,
"Nationality" text,
"WNBA Team" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school or club team did the player chosen for the Sacramento Monarchs pl... |
### Context: CREATE TABLE table_58646 (
"Season" real,
"Date" text,
"Winning Driver" text,
"Car #" real,
"Sponsor" text,
"Make" text,
"Distance" text,
"Avg Speed" text,
"Margin of Victory" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### 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_50126 (
"Award" text,
"Year" real,
"Category" text,
"Work" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the work when the result is won and the year is before 2003?
### Query: SELECT "Work" F... |
### Context: CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction... |
### 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 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_86 (
model_number VARCHAR,
voltage VARCHAR,
frequency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Model Number, when the Voltage is 3.45 V, and when the Frequency is 133 MHZ?
### Query: SELECT model_nu... |
### Context: CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,... |
### Context: CREATE TABLE table_26965 (
"Name" text,
"Position" text,
"Period" text,
"Appearances\u00b9" real,
"Goals\u00b9" real,
"Nationality\u00b2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player had 252 appearances
### Query: SE... |
### Context: CREATE TABLE table_204_929 (
id number,
"location" text,
"name of mill and\ngrid reference" text,
"type" text,
"maps" text,
"first mention\nor built" text,
"last mention\nor demise" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### 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 table_104858_1 (
admits_boys_girls VARCHAR,
year_member_organization_was_founded VARCHAR,
name_of_member_organization VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Does the Ghana Scout Association (founded in 1912) admit boys, ... |
### Context: CREATE TABLE table_name_48 (
driver VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the Driver with Laps of 20
### Query: SELECT driver FROM table_name_48 WHERE laps = 20 |
### Context: CREATE TABLE circulation_history (
document_id number,
draft_number number,
copy_number number,
employee_id number
)
CREATE TABLE employees (
employee_id number,
role_code text,
employee_name text,
other_details text
)
CREATE TABLE documents_mailed (
document_id number... |
### Context: CREATE TABLE table_name_25 (
game INTEGER,
attendance INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Attendance larger than 55,189 is which average game?
### Query: SELECT AVG(game) FROM table_name_25 WHERE attendance > 55 OFFSET 189 |
### Context: CREATE TABLE Employees (
Employee_ID INTEGER,
Role_Code CHAR(15),
Employee_Name VARCHAR(255),
Gender_MFU CHAR(1),
Date_of_Birth DATETIME,
Other_Details VARCHAR(255)
)
CREATE TABLE Ref_Calendar (
Calendar_Date DATETIME,
Day_Number INTEGER
)
CREATE TABLE Ref_Locations (
... |
### Context: CREATE TABLE table_2523809_1 (
coverage VARCHAR,
callsign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city did kpnz-tv provide coverage for?
### Query: SELECT coverage FROM table_2523809_1 WHERE callsign = "KPNZ-TV" |
### Context: CREATE TABLE table_24776075_2 (
final_score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many final score datas are there on Sunday, May 12?
### Query: SELECT COUNT(final_score) FROM table_24776075_2 WHERE date = "Sunday, Ma... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE table_name_82 (
team_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 2nd leg score for the match with Lesotho as team 1?
### Query: SELECT 2 AS nd_leg FROM table_name_82 WHERE team_1 = "lesotho" |
### Context: CREATE TABLE table_name_91 (
engine VARCHAR,
notes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is then engine when the notes state srt8?
### Query: SELECT engine FROM table_name_91 WHERE notes = "srt8" |
### Context: CREATE TABLE procedures (
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_... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE... |
### Context: CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr nume... |
### 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_71591 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the average gold for czech republic and bronze less than 1 when total is l... |
### Context: CREATE TABLE table_name_44 (
socket VARCHAR,
order_part_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of Socket has a Order part number of tmrm72dam22gg?
### Query: SELECT socket FROM table_name_44 WHERE order_part_number = "t... |
### Context: CREATE TABLE table_38710 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which FCC info has a Frequency MHz larger than 102.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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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... |
### Context: CREATE TABLE table_48334 (
"Model Number" text,
"Clock Speed" text,
"L2 Cache" text,
"FSB Speed" text,
"Clock Multiplier" text,
"Voltage Range" text,
"Socket" text,
"Release Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_name_88 (
year VARCHAR,
standalone VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year is Zaxxon the Standalone?
### Query: SELECT year FROM table_name_88 WHERE standalone = "zaxxon" |
### 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_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_60258 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Place has a Player of justin leonard?
### Query: SELECT "Place" FROM table_60258 WHERE ... |
### Context: CREATE TABLE table_name_65 (
stadium VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stadium was the game played in on november 20?
### Query: SELECT stadium FROM table_name_65 WHERE date = "november 20" |
### Context: CREATE TABLE table_15059783_1 (
team_classification VARCHAR,
combination_classification VARCHAR,
points_classification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many teams have a combination classification of Alejandro Valverde and ... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### 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_38240 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record at the game with a result of W 13-12 after week 4?
... |
### Context: CREATE TABLE table_79100 (
"Position" real,
"Team" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Difference" text,
"Points 1" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
... |
### Context: CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
CREATE TABLE college (
cname text,
state text,
enr number
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE table_34554 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1st leg of Team 2 PSV Eindhoven?
### Query: SELECT "1st leg" FROM table_34554 WH... |
### Context: CREATE TABLE table_77104 (
"Rank" real,
"Name" text,
"Stories" real,
"Height" text,
"Year Completed" text,
"Primary Purpose" text,
"City" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the height of the EMC Insurance Bui... |
### Context: CREATE TABLE table_name_50 (
downhill_points INTEGER,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the downhill points for the skier with total of 9.31 points?
### Query: SELECT SUM(downhill_points) FROM table_name_50 WHERE tot... |
### Context: CREATE TABLE table_10620 (
"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.
-- Where does Melbourne play home game... |
### Context: CREATE TABLE table_name_99 (
socialist_workers_ticket VARCHAR,
republican_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket?
### Query: SELECT socialist_wor... |
### Context: CREATE TABLE table_550 (
"Championship" text,
"Champion(s)" text,
"Previous champion(s)" text,
"Date Won" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the champions that have won at Aguas Buenas, Puerto Rico?
... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varc... |
### Context: CREATE TABLE table_name_39 (
venue VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Venue which has a Position of 5th?
### Query: SELECT venue FROM table_name_39 WHERE position = "5th" |
### Context: CREATE TABLE table_name_21 (
attendance VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the attendance for time of 1:31
### Query: SELECT attendance FROM table_name_21 WHERE time = "1:31" |
### Context: CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal ... |
### Context: CREATE TABLE table_62679 (
"Constituency number" text,
"Name" text,
"Reserved for ( SC / ST /None)" text,
"District" text,
"Number of electorates (2009)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Bhiwani district have what constitu... |
### Context: CREATE TABLE table_42615 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the least Top-5 finish when the events are... |
### Context: CREATE TABLE table_name_29 (
top_fives VARCHAR,
year VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of top fives in 2010 when casey mears had more than 0 wins?
### Query: SELECT COUNT(top_fives) FROM t... |
### 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_44674 (
"Nat." text,
"Name" text,
"Moving to" text,
"Type" text,
"Transfer window" text,
"Transfer fee" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the transfer fee when winter was t... |
### Context: CREATE TABLE table_6009 (
"Release date" text,
"Country" text,
"Classifaction" text,
"Publisher" text,
"Format" text,
"Region" text,
"Language" text,
"Sound" text,
"Subtitles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point_f INTEGER,
mean_dew_point_f INTEGER,
min_dew_point_f INTEGER,
max_humidity INTEGER,
mean_humidity INTEGER,
min_humidity INTEGER,
max_... |
### Context: CREATE TABLE table_74842 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Label has a Region of united states, and a Format of lp album?
### Query: SELECT "Label"... |
### Context: CREATE TABLE table_name_94 (
assists VARCHAR,
blocks VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Assists that has a Blocks of 2 tied (1) with a Year larger than 1995
### Query: SELECT assists FROM table_name_94 WHER... |
### Context: CREATE TABLE table_name_32 (
driver VARCHAR,
team VARCHAR,
points VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver has fewer than 2 points, larger grid that 4 and is on American Spirit Team Johansson?
### Query:... |
### Context: CREATE TABLE table_name_92 (
date_withdrawn VARCHAR,
date_made VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the withdrawal date associated with a date made of 1904?
### Query: SELECT date_withdrawn FROM table_name_92 WHERE date_made =... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalp... |
### Context: CREATE TABLE table_6970 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Tournament of san jose, us (2)?... |
### Context: CREATE TABLE table_60051 (
"Draft" real,
"Round" text,
"Pick" real,
"Player" text,
"Nationality" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Round of 9, and a Pick of 263?
### Query: SELECT "Player" FROM table_600... |
### Context: CREATE TABLE table_31995 (
"Year" real,
"Competition" text,
"Date" text,
"Location" text,
"Score" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the date for warsaw 1929
### Query: SELECT "Date" FROM table_31... |
### Context: CREATE TABLE table_14727 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Home Captain for 23,24,25,26 july 1992?
### Query: SELECT "Home captain"... |
### Context: CREATE TABLE table_name_94 (
nationality VARCHAR,
round VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the draft pick from round 3 out of Mercer College what is the nationality?
### Query: SELECT nationality FROM table_... |
### Context: CREATE TABLE table_204_778 (
id number,
"code" number,
"county" text,
"former province" text,
"area (km2)" number,
"population\ncensus 2009" number,
"capital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- did mombasa or tana ri... |
### Context: CREATE TABLE table_59194 (
"Code" real,
"Municipality" text,
"County" text,
"Population" real,
"Total area" text,
"Density (per km 2 land)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population of Danderyd municipali... |
### Context: CREATE TABLE bdmzjzjlb (
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 journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
Years_working int
)
CREATE TABLE event (
Event_ID int,
Date text,
Venue text,
Name text,
Event_Attendance int
)
CREATE TABLE news_report (
journalist_ID int,
Event_ID int,
... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE labevents (
row_id nu... |
### Context: CREATE TABLE table_29126507_1 (
date VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the home team Essendon?
### Query: SELECT date FROM table_29126507_1 WHERE home_team = "Essendon" |
### 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_1 (
driver VARCHAR,
constructor VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the driver, when the constructor was Renault, and when the Time/Retired was +38.600?
### Query: SELECT driv... |
### Context: CREATE TABLE table_name_8 (
country VARCHAR,
money___$__ VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Country has a Player with Playoff Money with a Score of 72-69-73-73=287?
### Query: SELECT country FROM table_name_8... |
### Context: CREATE TABLE table_name_46 (
series VARCHAR,
director VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What series has dan povenmire as the director, with museum scream as the title?
### Query: SELECT series FROM table_name_46 ... |
### Context: CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABL... |
### Context: CREATE TABLE table_name_17 (
overall INTEGER,
college VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Overall, when College is Hardin-Simmons, and when Round is greater than 26?
### Query: SELECT MIN(overall... |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE student_record (... |
### 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_26 (
role VARCHAR,
notes VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes field?
### Query: SELECT role F... |
### 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 station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE weather (
d... |
### Context: CREATE TABLE table_41110 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses does corinthians h... |
### Context: CREATE TABLE table_name_33 (
meet VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Meet of the Event with a Time of 7:55.02?
### Query: SELECT meet FROM table_name_33 WHERE time = "7:55.02" |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
... |
### Context: CREATE TABLE table_49610 (
"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 PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.