text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_62 (
voter_turnout INTEGER,
byut VARCHAR,
ou_psd VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lower turnout that has a byut of 50.7 and an ou psd smaller than 36.8?
### Query: SELECT MIN(voter_turnout) ... |
### Context: CREATE TABLE table_78969 (
"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.
-- Which Number of electorates (2009) ... |
### Context: CREATE TABLE region (
Region_id int,
Region_code text,
Region_name text
)
CREATE TABLE affected_region (
Region_id int,
Storm_ID int,
Number_city_affected real
)
CREATE TABLE storm (
Storm_ID int,
Name text,
Dates_active text,
Max_speed int,
Damage_millions_USD... |
### 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 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 person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jybgb (
YLJGDM text,... |
### Context: CREATE TABLE table_30895 (
"Month Sequence" real,
"Numbered Month" text,
"Month Name" text,
"Regular Year" text,
"Defective Year" real,
"Excessive Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the defective year for t... |
### 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_51 (
fcc_info VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the FCC info for call sign of k208eq
### Query: SELECT fcc_info FROM table_name_51 WHERE call_sign = "k208eq" |
### 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 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 microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
... |
### Context: CREATE TABLE Financial_transactions (
account_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many transaction does each account have? Show the number and account id.
### Query: SELECT COUNT(*), account_id FROM Financial_transactions |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_69383 (
"Name" text,
"League" real,
"FA Cup" real,
"League Cup" real,
"Other" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the value 'League Cup', when the Total is less than 1, ... |
### 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_9913 (
"Rank" text,
"Name" text,
"Sprint Points" text,
"Extra Laps" text,
"Total Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is at rank 13 with 23 total points?
### Query: SELECT "Name" FROM table_9913... |
### Context: CREATE TABLE table_78207 (
"Date(s) conducted" text,
"Polling organisation/client" text,
"Cons" text,
"Plaid Cymru" text,
"Lib Dem" text,
"Others" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the plaid cymr... |
### Context: CREATE TABLE table_1881642_1 (
date_released VARCHAR,
green_communist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the Green-Communists receive 5.7%?
### Query: SELECT date_released FROM table_1881642_1 WHERE green_communist = "... |
### Context: CREATE TABLE table_58637 (
"2 twee" text,
"3 dree" text,
"4 vea" text,
"5 fiew" text,
"6 sas" text,
"7 s\u00e4wen" text,
"8 acht" text,
"9 n\u00e4ajen" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 7 s wen if 3 dree... |
### Context: CREATE TABLE Documents_to_be_destroyed (
Destruction_Authorised_by_Employee_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the id of each employee and the number of document destruction authorised by that employee.
### Query: SELECT Destruc... |
### Context: CREATE TABLE table_name_27 (
school VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school has the Kansas City Royals for a team?
### Query: SELECT school FROM table_name_27 WHERE team = "kansas city royals" |
### Context: CREATE TABLE table_27865 (
"Settlement" text,
"Cyrillic Name Other Names" text,
"Type" text,
"Population (2011)" real,
"Largest ethnic group (2002)" text,
"Dominant religion (2002)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wha... |
### Context: CREATE TABLE table_name_61 (
description VARCHAR,
livery VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What description does Livery of ews have?
### Query: SELECT description FROM table_name_61 WHERE livery = "ews" |
### Context: CREATE TABLE txmzjzjlb (
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 table_name_2 (
gold INTEGER,
total INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total gold with a total less than 1?
### Query: SELECT SUM(gold) FROM table_name_2 WHERE total < 1 |
### Context: CREATE TABLE table_name_51 (
channel VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the channel with a 03:40 time?
### Query: SELECT channel FROM table_name_51 WHERE time = "03:40" |
### Context: CREATE TABLE table_name_2 (
track VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the track in Holland?
### Query: SELECT track FROM table_name_2 WHERE city = "holland" |
### Context: CREATE TABLE table_name_71 (
wheels INTEGER,
type VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What average wheels has accounting as the type, with IBM Collection as the location?
### Query: SELECT AVG(wheels) FROM table... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_name_32 (
authority VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Whakamaru school's authority?
### Query: SELECT authority FROM table_name_32 WHERE name = "whakamaru school" |
### Context: CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Date_of_Birth text
)
CREATE TABLE entrepreneur (
Entrepreneur_ID int,
People_ID int,
Company text,
Money_Requested real,
Investor text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE table_49892 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record of the game with the toronto huskies as the opponent?
#... |
### Context: CREATE TABLE table_16085 (
"Year" real,
"Games" real,
"Games started" real,
"Completions" real,
"Attempts" real,
"Completion %" text,
"Yards" real,
"Yards/Attempt" text,
"Touchdowns" real,
"Interceptions" real,
"Rating" text
)
-- Using valid SQLite, answer the ... |
### Context: CREATE TABLE district (
district_id number,
district_name text,
headquartered_city text,
city_population number,
city_area number
)
CREATE TABLE store_district (
store_id number,
district_id number
)
CREATE TABLE store (
store_id number,
store_name text,
type text,... |
### 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 table_5838 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which score has a save of Smith (25)?
### Query: SELECT "Score" FROM table_5838 WHERE "Save" = 'sm... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm... |
### Context: CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
La... |
### Context: CREATE TABLE table_47727 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Home has an Attendance larger than 1,858?
### Query: SELECT "Home" FROM table_47727 WHERE... |
### Context: CREATE TABLE table_name_35 (
mult VARCHAR,
release_price___usd__ VARCHAR,
sspec_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the multiplier of the processor with sSpec number of SLGPR(C0) and a release price of N/A?
### Qu... |
### Context: CREATE TABLE table_23489 (
"Season" real,
"Network" text,
"Host" text,
"Contestants" real,
"Winner" text,
"Destination" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the destination of the season won by Anwar Syed?
### Qu... |
### Context: CREATE TABLE table_67514 (
"Venue" text,
"City" text,
"State" text,
"Tickets Sold / Available" text,
"Gross Revenue (1982)" text,
"Gross Revenue (2011)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the gross revenue in 201... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time... |
### Context: CREATE TABLE table_204_293 (
id number,
"district" number,
"name" text,
"party" text,
"district office" text,
"first elected" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- j.p morrell was elected in 2008 - the same as which other... |
### Context: CREATE TABLE table_57958 (
"Season" text,
"Level" text,
"Goals" text,
"Points" real,
"Domestic Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which level is quarterfinals domestic cup?
### Query: SELECT "Level" FROM table_57958 WH... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
ce... |
### Context: CREATE TABLE table_name_75 (
award_ceremony VARCHAR,
result VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Award Ceremony has a Result of nominated, and a Category of best revival of a musical?
### Query: SELECT awar... |
### Context: CREATE TABLE table_55903 (
"Runs" text,
"Wicket" text,
"Partnerships" text,
"Versus" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue where 153 runs were scored?
### Query: SELECT "Venue" ... |
### Context: CREATE TABLE table_28437 (
"Sd" real,
"Rk" real,
"Player" text,
"Points" real,
"Points defending" real,
"Points won" real,
"New points" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many time was points 6... |
### Context: CREATE TABLE table_name_11 (
lead VARCHAR,
skip VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the lead when Jamie Meikle was the skip?
### Query: SELECT lead FROM table_name_11 WHERE skip = "jamie meikle" |
### Context: CREATE TABLE table_name_56 (
opponent VARCHAR,
game VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent at the game later than game 22 when the record was 17-10-4?
### Query: SELECT opponent FROM table_name_5... |
### Context: CREATE TABLE table_55989 (
"School's name" text,
"School's namesake" text,
"Year opened" text,
"Principal" text,
"Mascot" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What principal has a school mascot of the patriots?
### Query: SEL... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate tim... |
### Context: CREATE TABLE table_27132 (
"Week" real,
"Date" text,
"Kickoff" text,
"Opponent" text,
"Final score" text,
"Team record" text,
"Game site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week did the Ga... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
V... |
### Context: CREATE TABLE customer_orders (
order_id number,
customer_id number,
order_status_code text,
order_date time
)
CREATE TABLE suppliers (
supplier_id number,
supplier_name text,
supplier_phone text
)
CREATE TABLE departments (
department_id number,
dept_store_id number,
... |
### Context: CREATE TABLE table_44627 (
"Poll Source" text,
"Sample Size" real,
"Margin of Error" real,
"Date" text,
"Democrat" text,
"Republican" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date that the polls were going on at qu... |
### Context: CREATE TABLE table_43166 (
"Rank" real,
"Name" text,
"S-League" text,
"Singapore Cup" text,
"Singapore League Cup" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Singapore League Cup when rank is more than ... |
### Context: CREATE TABLE table_69097 (
"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 was the outcome on May 25, 2009?
### Query: SELEC... |
### 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_204_42 (
id number,
"season" number,
"level" text,
"division" text,
"section" text,
"position" text,
"movements" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did the team finish in 2nd positio... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jybgb_jyjgzbb (
JYZB... |
### Context: CREATE TABLE table_8442 (
"Name" text,
"Country" text,
"Role" text,
"Period" text,
"Teams" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name is on the of fc s te olympique de marseille?
### Query: SELECT "Name" FROM table_8442 ... |
### Context: CREATE TABLE table_17625 (
"Municipality" text,
"Population" real,
"Police officers" real,
"Residents per officer" real,
"Total costs (2005)" text,
"Cost per capita" text,
"Case burden" real,
"Crime rate per 1,000 people" real,
"Police force" text
)
-- Using valid SQLi... |
### Context: CREATE TABLE table_29196086_4 (
original_air_date VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- on how many days did the episode written by harold hayes jr. & craig s. phillips originally air
### Query: SELECT COUNT(origina... |
### Context: CREATE TABLE table_name_58 (
attendance INTEGER,
time VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest attendance for the game that had a time of 3:31 and was before game 7?
### Query: SELECT MIN(attendance) ... |
### 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 table_10427 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of laps where time/retired is +2 laps and the grid number is ... |
### Context: CREATE TABLE table_20570 (
"Year ended" text,
"Revenue (S$m)" text,
"Expenditure (S$m)" text,
"Operating profit (S$m)" text,
"Profit before taxation (S$m)" text,
"Profit attributable to equity holders (S$m)" text,
"EPS after tax \u2013 diluted (cents)" text
)
-- Using valid SQ... |
### Context: CREATE TABLE table_27627 (
"Letters" text,
"Organization" text,
"Nickname" text,
"Founding Date" text,
"Founding University" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what type of organization is sigma phi omega?
... |
### Context: CREATE TABLE table_49216 (
"Year" real,
"Team" text,
"Co-Drivers" text,
"Class" text,
"Laps" real,
"Pos." text,
"Class Pos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year of the finish with the class pos of 6t... |
### Context: 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 text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_name_16 (
name_of_deity VARCHAR,
name_of_the_river VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the diety for the river of sone?
### Query: SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river... |
### Context: CREATE TABLE fgwyjzb (
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,
INSUR... |
### Context: CREATE TABLE table_name_26 (
score_final INTEGER,
rank_final VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which the lowest Score-Fina has a Rank-Final of 7 and a Year larger than 2009?
### Query: SELECT MIN(score_final) FROM... |
### Context: CREATE TABLE table_name_16 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 2005 with 2007 of sf
### Query: SELECT 2005 FROM table_name_16 WHERE 2007 = "sf" |
### Context: CREATE TABLE person (
name text,
age number,
city text,
gender text,
job text
)
CREATE TABLE personfriend (
name text,
friend text,
year number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is average age for different job... |
### Context: CREATE TABLE campuses (
campus VARCHAR,
LOCATION VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of the campuses that is in Northridge, Los Angeles or in San Francisco, San Francisco.
### Query: SELECT campus FR... |
### Context: CREATE TABLE table_name_70 (
entrant VARCHAR,
rounds VARCHAR,
constructor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the entrant in round 16 were Ferrari was the constructor?
### Query: SELECT entrant FROM table_name_70 WHERE r... |
### Context: 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 text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVIN... |
### Context: CREATE TABLE table_58131 (
"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 did the away team score when p... |
### Context: CREATE TABLE table_name_50 (
date VARCHAR,
discipline VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of Super G in the 2010 season?
### Query: SELECT date FROM table_name_50 WHERE discipline = "super g" AND ... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid... |
### Context: CREATE TABLE table_1213511_6 (
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does Jim Johnston play?
### Query: SELECT position FROM table_1213511_6 WHERE player = "Jim Johnston" |
### Context: CREATE TABLE table_name_76 (
date VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Score of 6 1, 6 2?
### Query: SELECT date FROM table_name_76 WHERE score = "6–1, 6–2" |
### Context: CREATE TABLE table_18807 (
"Rank by average" real,
"Competition finish" real,
"Couple" text,
"Total" real,
"Number of dances" real,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell the competitions where the mean is 1
... |
### Context: CREATE TABLE table_16946 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the location where tournament is ... |
### Context: CREATE TABLE table_35759 (
"Date" text,
"Venue" text,
"Opponents" text,
"Score" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Score of 2-1, and a Competition of pl, and a Date of december 22, 2006 had what opponents... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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 te... |
### Context: CREATE TABLE table_37865 (
"orbit" text,
"center-to-center distance" text,
"altitude above the Earth's surface" text,
"Orbital period" text,
"specific orbital energy" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- altitude above the Ear... |
### Context: CREATE TABLE table_17039232_3 (
replaced_by VARCHAR,
date_of_vacancy VARCHAR,
position_in_table VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the replaced by where date of vacancy is 31 december 2008 where position in table is 1st
###... |
### Context: CREATE TABLE table_48160 (
"Year" real,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Time, when Jockey is John Velazquez, and when Trainer is Todd A. Pletc... |
### Context: CREATE TABLE table_11615 (
"Rank" real,
"Movie" text,
"Year" real,
"Studio(s)" text,
"Opening Weekend Net Gross" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Total number of Opening Weekend Net Gross that occured after the ... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid n... |
### Context: CREATE TABLE table_875 (
"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 above.... |
### 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 location... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.