text stringlengths 197 8.39k |
|---|
### 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 (
BBCJBW text,... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime... |
### Context: CREATE TABLE table_name_7 (
rank INTEGER,
industry VARCHAR,
revenue_in_usd VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the petroleum company who has a revenue of $481.7 billion?
### Query: SELECT MIN(rank) FROM table_... |
### Context: CREATE TABLE table_69846 (
"Team" text,
"Car No." text,
"MNZ SPR" text,
"MNZ FEA" text,
"SPA SPR" text,
"SPA FEA" text,
"MON FEA" text,
"SIL SPR" text,
"SIL FEA" text,
"HUN SPR" text,
"HUN FEA" text,
"LMS SPR" text,
"LMS FEA" text,
"CAT SPR" text,
... |
### Context: CREATE TABLE table_name_87 (
zares VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage for Zares on May 21 22?
### Query: SELECT zares FROM table_name_87 WHERE date = "may 21–22" |
### 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 event (
ID int,
Name text,
Stadium_ID int,
Year t... |
### Context: CREATE TABLE table_name_33 (
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country of player curtis strange?
### Query: SELECT country FROM table_name_33 WHERE player = "curtis strange" |
### Context: CREATE TABLE table_46777 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Record that has the Game smaller than 76?
### Query: S... |
### Context: CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar... |
### Context: CREATE TABLE table_7737 (
"Tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tournament with a ... |
### Context: CREATE TABLE table_name_66 (
home_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team is based at junction oval?
### Query: SELECT home_team FROM table_name_66 WHERE venue = "junction oval" |
### Context: CREATE TABLE table_name_86 (
week VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week has a Opponent of tennessee titans?
### Query: SELECT week FROM table_name_86 WHERE opponent = "tennessee titans" |
### Context: CREATE TABLE table_33375 (
"BRNo." real,
"SRNo." text,
"Name" text,
"Builder" text,
"Whenbuilt" text,
"Withdrawn" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the locomotive named fighter command built?
### Query: SELECT... |
### 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 degrees (
degrees INTEGER,
campus VARCHAR,
year VARCHAR
)
CREATE TABLE campuses (
campus VARCHAR,
id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- report the total number of degrees granted between 1998 and 2002.
### ... |
### 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 hz_info_zyjzjlb (
JZ... |
### Context: CREATE TABLE table_15893 (
"Player" text,
"Years Played" text,
"Total W-L" text,
"Singles W-L" text,
"Doubles W-L" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the doubles w-l with years played value of 1 (1968)
### Query: SEL... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
Bounty... |
### Context: CREATE TABLE table_68312 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the rank of the player in lane 6?
### Query: SELECT AVG("Rank") FROM table_68312 WHERE... |
### Context: CREATE TABLE table_name_76 (
attendance INTEGER,
tie_no VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people on average attended when Eastwood Town was the away team, and the tie number was less than 8?
### Quer... |
### 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 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 Statements (
Statement_ID INTEGER,
Statement_Details VARCHAR(255)
)
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Ref_Budget_Codes (
Budget_Type_Code CHAR(15),
Budget_Type_Description VARCHAR(255)
)
CREATE TABLE Accounts (
... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE gas_station (
Station_ID int,
Open_Year int,
Location text,
Manager_Name text,
Vice_Manager_Name text,
Representative_Name text
)
CREATE TABLE station_company (
Station_ID int,
Company_ID int,
Rank_of_the_Year int
)
CREATE TABLE company (
Company_ID in... |
### Context: CREATE TABLE table_name_67 (
partially_deleted VARCHAR,
cerclis_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was the site partially deleted when the cerclis id is az7570028582?
### Query: SELECT partially_deleted FROM table_name_67 WH... |
### Context: CREATE TABLE table_204_344 (
id number,
"player" text,
"games played" number,
"field goals" number,
"free throws" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total amount of free throws by ralf wood... |
### Context: CREATE TABLE table_204_590 (
id number,
"year" number,
"division" number,
"league" text,
"regular season" text,
"playoffs" text,
"open cup" text,
"avg. attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- of those ye... |
### Context: CREATE TABLE table_name_40 (
aircraft_flown VARCHAR,
axis_unit VARCHAR,
enemy_aircraft VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the aircraft flown when the axis unit was luftwaffe (**) and the enemy aircraft was ju.88?
### Qu... |
### Context: CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
U... |
### Context: CREATE TABLE mountain (
id int,
name text,
Height real,
Prominence real,
Range text,
Country text
)
CREATE TABLE camera_lens (
id int,
brand text,
name text,
focal_length_mm real,
max_aperture real
)
CREATE TABLE photos (
id int,
camera_lens_id int,
... |
### Context: CREATE TABLE table_70915 (
"Year" real,
"Total Region" real,
"Belyando" real,
"Broadsound" real,
"Nebo" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Before the Year 1947, what is the sum of Broadsound that have a Belyando greater than... |
### Context: CREATE TABLE table_204_795 (
id number,
"date" text,
"opponent" text,
"score" text,
"result" text,
"location" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- were more points scored against butler or purdue ?... |
### Context: CREATE TABLE table_73508 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_name_93 (
position VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position has 217 as the pick?
### Query: SELECT position FROM table_name_93 WHERE pick = 217 |
### 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 diagnoses (
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,
reli... |
### Context: CREATE TABLE table_56536 (
"Club" text,
"Wins" text,
"Last win" text,
"Runners-up" text,
"Last final lost" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the final loss of the club last won in 2001 and has a total of 3 wins?
#... |
### Context: CREATE TABLE table_46341 (
"Title" text,
"Release date" text,
"Format" text,
"Code" text,
"UK Singles Chart" text,
"US Modern Rock" text,
"Album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the US modern rock rank of ... |
### Context: CREATE TABLE table_39205 (
"Number" real,
"Company" text,
"Business" text,
"Country" text,
"Price" text,
"Used as or integrated with" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What company is numbered larger than 5 and priced a... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,... |
### Context: CREATE TABLE table_19783 (
"English gloss" text,
"Santee-Sisseton" text,
"Yankton-Yanktonai" text,
"Northern Lakota" text,
"Southern Lakota" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the southern lakota for wak ye a
### Query... |
### Context: CREATE TABLE elimination (
Name VARCHAR,
Wrestler_ID VARCHAR
)
CREATE TABLE wrestler (
Name VARCHAR,
Wrestler_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the names of wrestlers that have not been eliminated.
### Query: SELEC... |
### Context: CREATE TABLE table_name_8 (
role VARCHAR,
notes VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name of the role that has co-protagonist in the notes field and the years of 2008-2009?
### Query: SELECT role FROM tab... |
### 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 treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
C... |
### Context: CREATE TABLE table_23486853_6 (
game INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the game number when the opposing team was the Buffalo Sabres?
### Query: SELECT MIN(game) FROM table_23486853_6 WHERE opponent = "Bu... |
### 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_43 (
state VARCHAR,
name VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which state did Marquis Li rule?
### Query: SELECT state FROM table_name_43 WHERE name = "li" AND title = "marquis" |
### Context: CREATE TABLE Student_Course_Enrolment (
registration_id INTEGER,
student_id INTEGER,
course_id INTEGER,
date_of_enrolment DATETIME,
date_of_completion DATETIME
)
CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
lo... |
### 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
... |
### 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 Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_name_62 (
position VARCHAR,
game_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position has colin scott as game 1?
### Query: SELECT position FROM table_name_62 WHERE game_1 = "colin scott" |
### Context: CREATE TABLE table_110 (
"Track #" real,
"Song" text,
"Singers" text,
"Picturization" text,
"Length" text,
"Lyricist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest track number?
### Query: SELECT MAX("Track #")... |
### Context: CREATE TABLE table_name_65 (
number_ VARCHAR,
_name VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number & name with an Undergoing overhaul, restoration or repairs date?
### Query: SELECT number_ & _name FROM tabl... |
### Context: CREATE TABLE table_10015132_2 (
years_in_toronto VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During which years was Marcus Banks in Toronto?
### Query: SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Marcus Bank... |
### Context: CREATE TABLE table_name_29 (
average_score INTEGER,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest score for Black Milk?
### Query: SELECT MAX(average_score) FROM table_name_29 WHERE artist = "black milk" |
### Context: CREATE TABLE table_name_27 (
winning_driver VARCHAR,
constructor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winning driver that has a construction of brm?
### Query: SELECT winning_driver FROM table_name_27 WHERE constructor = "b... |
### Context: CREATE TABLE table_name_81 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2011 is the lowest one that has a 1948 smaller than 15872624, and a 1966 of 263103, and a 1992 larger than 266308?
### Query: SELECT MIN(2011) FROM table_name_81 W... |
### Context: CREATE TABLE table_70337 (
"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.
-- Name the 2nd leg for team 1 of hamburg
### Query: SELECT "2nd leg" FROM table_70337 WHERE "T... |
### Context: CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE state (
state... |
### Context: CREATE TABLE table_203_637 (
id number,
"player" text,
"for" text,
"against" text,
"result" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the players for tottenham hotspur .
### Query: SELECT "player" FROM table_... |
### Context: CREATE TABLE table_train_256 (
"id" int,
"mini_mental_state_examination_mmse" int,
"language" string,
"mild_cognitive_impairment" bool,
"moca_score" int,
"dementia" bool,
"body_mass_index_bmi" float,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the follow... |
### Context: CREATE TABLE table_203_352 (
id number,
"position" number,
"swara" text,
"short name" text,
"notation" text,
"mnemonic" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what swara is above shatshruti dhaivata ?
### Query: SELECT "swa... |
### Context: CREATE TABLE table_name_3 (
format VARCHAR,
label VARCHAR,
region VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the format for geffen of the united states
### Query: SELECT format FROM table_name_3 WHERE label = "geffen" AND region... |
### 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_3 (
pick INTEGER,
round VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average pick of school/club team kutztown state with a round 4?
### Query: SELECT AVG(pick) FROM table_name... |
### Context: CREATE TABLE table_27539272_4 (
points INTEGER,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most points for 1-3-1 record
### Query: SELECT MAX(points) FROM table_27539272_4 WHERE record = "1-3-1" |
### Context: CREATE TABLE table_16034882_4 (
position INTEGER,
loses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did the team with 3 losses finish?
### Query: SELECT MIN(position) FROM table_16034882_4 WHERE loses = 3 |
### Context: CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Dorm_amenity (
amenid INTEGER,
amenity_name VARCHAR(25)
)
CREATE TABLE Lives_in (
stuid ... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
... |
### Context: CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU_FNAME varchar(15),
STU_INIT varchar(1),
STU_DOB datetime,
STU_HRS int,
STU_CLASS varchar(2),
STU_GPA float(8),
STU_TRANSFER numeric,
DEPT_CODE varchar(18),
STU_PHONE varchar(4),
PROF_NUM int
)
CR... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admissi... |
### Context: CREATE TABLE table_train_43 (
"id" int,
"anemia" bool,
"cystinuria" bool,
"hyperoxaluria" bool,
"acute_gout_attack" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- known hyperoxaluria
### Query: SELECT * FROM table_tr... |
### Context: CREATE TABLE table_62402 (
"Player" text,
"Ranking" real,
"Record" text,
"Hardcourt" text,
"Clay" text,
"Grass" text,
"Carpet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Shahar Pe'er's record?
### Query: SELECT "Rec... |
### Context: CREATE TABLE table_73609 (
"County" text,
"Kerry%" text,
"Kerry#" real,
"Bush%" text,
"Bush#" real,
"Others%" text,
"Others#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of the votes in Oneida did Kerry win?
... |
### Context: CREATE TABLE table_name_36 (
krypton VARCHAR,
physical_property VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Krypton has a Physical property of critical pressure (atm)?
### Query: SELECT krypton FROM table_name_36 WHERE physical_propert... |
### Context: CREATE TABLE table_name_92 (
against INTEGER,
opposing_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Against, when Opposing Team is Queensland?
### Query: SELECT MIN(against) FROM table_name_92 WHERE opposing_team = "qu... |
### 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 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### 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 (
BBCJBW text,... |
### Context: CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
d... |
### Context: CREATE TABLE table_name_9 (
region INTEGER,
name VARCHAR,
population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which region in Saint-Simon-Les-Mines has a population smaller than 458?
### Query: SELECT MAX(region) FROM table_name_9 WHE... |
### Context: CREATE TABLE table_68519 (
"Artist" text,
"Country of origin" text,
"Period active" text,
"Release-year of first charted record" real,
"Genre" text,
"Claimed sales" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the genre for r... |
### Context: CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Student (
... |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
... |
### Context: CREATE TABLE table_name_98 (
goals INTEGER,
rank VARCHAR,
years VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of goals for the player from 2008-present named tony beltran, ranked lower than 7?... |
### Context: CREATE TABLE table_24365 (
"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.
-- What type of record is the result of the game Montreal 31 @ Calgary 32?... |
### 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_32944 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent did they have a bye result against before week 14?
### Query: SELECT "Oppone... |
### 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_203_762 (
id number,
"#" number,
"date" text,
"film" text,
"gross" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of films released ?
### Query: SELECT COUNT("film") FROM ta... |
### Context: CREATE TABLE table_name_81 (
australian VARCHAR,
short_vowels VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Australian sound is equivalent to e / /?
### Query: SELECT australian FROM table_name_81 WHERE short_vowels = "e /ɛ/" |
### Context: CREATE TABLE basketball_match (
team_id number,
school_id number,
team_name text,
acc_regular_season text,
acc_percent text,
acc_home text,
acc_road text,
all_games text,
all_games_percent number,
all_home text,
all_road text,
all_neutral text
)
CREATE TABLE... |
### Context: CREATE TABLE table_204_301 (
id number,
"nationality" text,
"name" text,
"term as a deputy judge" text,
"reason for termination" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was rafael erich a deputy judge before or after mihajlo jova... |
### Context: CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE ground_service (
city_code t... |
### Context: CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDis... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.