instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE table_name_34 (
grid VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What grid has a Time/Retired of +5 laps?
| SELECT grid FROM table_name_34 WHERE time_retired = "+5 laps" | sql_create_context |
CREATE TABLE document_structures (
document_structure_code text,
parent_document_structure_code text,
document_structure_description text
)
CREATE TABLE document_sections_images (
section_id number,
image_id number
)
CREATE TABLE document_sections (
section_id number,
document_code text,
... | SELECT COUNT(*) FROM users WHERE user_login = 1 | spider |
CREATE TABLE table_225099_3 (
successor VARCHAR,
state__class_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the successor for the state of Maine (2) ?
| SELECT successor FROM table_225099_3 WHERE state__class_ = "Maine (2)" | sql_create_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,
JYZBLSH text,
... | SELECT * FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM... | css |
CREATE TABLE table_5714 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points have pittsburgh as the visitor, and philadelphia as the home?
| SELECT COUNT("Points") FROM table_5714 WHERE "Visitor" = 'pittsburgh' AND "Home" = 'philadelphia' | wikisql |
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName TEXT,
Adults INTEGER,
Kids INTEGER
)
CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
baseP... | SELECT bedType, COUNT(bedType) FROM Rooms WHERE decor = "traditional" GROUP BY bedType ORDER BY bedType | nvbench |
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 university (
Scho... | SELECT Team_Name, School_ID FROM basketball_match ORDER BY School_ID DESC | nvbench |
CREATE TABLE Ref_Budget_Codes (
Budget_Type_Code CHAR(15),
Budget_Type_Description VARCHAR(255)
)
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document_Type_Descrip... | SELECT Document_Type_Name, COUNT(Document_Type_Name) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Name | nvbench |
CREATE TABLE table_77855 (
"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.
-- Which Venue has a Home team score of 9.16 (70)?
| SELECT "Venue" FROM table_77855 WHERE "Home team score" = '9.16 (70)' | wikisql |
CREATE TABLE table_name_20 (
venue VARCHAR,
event VARCHAR,
year VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the venue when the year is 2006, the competition is asian games and the event is 400 m?
| SELECT venue FROM table_name_20 WHERE year = 2006 AND competition = "asian games" AND event = "400 m" | sql_create_context |
CREATE TABLE table_name_99 (
sub_parish__sogn_ VARCHAR,
church_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje?
| SELECT sub_parish__sogn_ FROM table_name_99 WHERE church_name = "jostedal kyrkje" | sql_create_context |
CREATE TABLE table_73746 (
"Position" real,
"Driver" text,
"Points" real,
"Winnings" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much did Jeff Burton win?
| SELECT "Winnings" FROM table_73746 WHERE "Driver" = 'Jeff Burton' | wikisql |
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 cost (
costid num... | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '032-4849' AND patient.hospitaladmitsource = 'emergency department' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1 | eicu |
CREATE TABLE table_43971 (
"Pilot" text,
"Date" text,
"Place" text,
"Weapon" text,
"Effect" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pilot, when Weapon is '35mm fire', and when Date is '4 May 1982'?
| SELECT "Pilot" FROM table_43971 WHERE "Weapon" = '35mm fire' AND "Date" = '4 may 1982' | wikisql |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.long_title = "Endoscopic removal of stone(s) from biliary tract" | mimicsql_data |
CREATE TABLE table_255829_1 (
municipality VARCHAR,
pop_density__per_km_2__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What municipality has a 130.6 pupulation density?
| SELECT municipality FROM table_255829_1 WHERE pop_density__per_km_2__ = "130.6" | sql_create_context |
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE labevents (
row_id number,
subject_id number,
... | SELECT MAX(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 19412) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'myelocytes') GROUP BY STRFTIME('%y', labevents.charttime) | mimic_iii |
CREATE TABLE member (
member_id number,
card_number text,
name text,
hometown text,
level number
)
CREATE TABLE branch (
branch_id number,
name text,
open_year text,
address_road text,
city text,
membership_amount text
)
CREATE TABLE membership_register_branch (
member_... | SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id WHERE T3.hometown = 'Louisville , Kentucky' INTERSECT SELECT T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member ... | spider |
CREATE TABLE table_name_1 (
leading_man VARCHAR,
year VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What leading man earlier than 1932 was directed by archie mayo?
| SELECT leading_man FROM table_name_1 WHERE year < 1932 AND director = "archie mayo" | sql_create_context |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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 t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "SDH" AND lab.fluid = "Urine" | mimicsql_data |
CREATE TABLE table_25807 (
"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.
-- How ma... | SELECT COUNT("High assists") FROM table_25807 WHERE "Game" = '71' | wikisql |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
CRE... | SELECT q.Id AS "post_link", a.Score AS Score FROM Posts AS q INNER JOIN Posts AS a ON q.AcceptedAnswerId = a.Id WHERE a.OwnerUserId = @UserId AND a.PostTypeId = 2 AND q.OwnerUserId != @UserId ORDER BY a.Score DESC | sede |
CREATE TABLE table_23285761_7 (
high_assists VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did the high assists in the game where Amar'e Stoudemire (10) did the high rebounds?
| SELECT high_assists FROM table_23285761_7 WHERE high_rebounds = "Amar'e Stoudemire (10)" | sql_create_context |
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE student_record (
student_id int,
course_id int,
... | SELECT DISTINCT student.firstname, student.lastname FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN gsi ON gsi.course_offering_id = course_offering.offering_id INNER JOIN student ON student.student_id = gsi.student_id INNER JOIN semester ON semester.semester_id = course... | advising |
CREATE TABLE table_name_91 (
week VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which week was the game against the San Diego Chargers?
| SELECT week FROM table_name_91 WHERE opponent = "san diego chargers" | sql_create_context |
CREATE TABLE table_2618142_1 (
title VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the title of the episode that ed sherin directed.
| SELECT title FROM table_2618142_1 WHERE directed_by = "Ed Sherin" | sql_create_context |
CREATE TABLE table_37940 (
"School" text,
"City" text,
"Team Name" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IHSAA class in Batesville?
| SELECT "IHSAA Class" FROM table_37940 WHERE "City" = 'batesville' | wikisql |
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE program_requirement (
program_id int... | SELECT DISTINCT student.firstname, student.lastname FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN gsi ON gsi.course_offering_id = course_offering.offering_id INNER JOIN student ON student.student_id = gsi.student_id INNER JOIN semester ON semester.semester_id = course... | advising |
CREATE TABLE table_26998 (
"Name of Village" text,
"Name in Syriac" text,
"Number of Believers" real,
"Number of Priests" real,
"Number of Churches" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the name in syriac for 500 believers
| SELECT "Name in Syriac" FROM table_26998 WHERE "Number of Believers" = '500' | wikisql |
CREATE TABLE table_23672 (
"Malayalam name" text,
"Transliteration" text,
"Concurrent Gregorian months" text,
"Sanskrit word and meaning" text,
"Zodiac sign" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the transliteration for
| SELECT "Transliteration" FROM table_23672 WHERE "Malayalam name" = 'ചിങ്ങം' | wikisql |
CREATE TABLE table_203_374 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the only nation with more total medals than belgium ?
| SELECT "nation" FROM table_203_374 WHERE "total" > (SELECT "total" FROM table_203_374 WHERE "nation" = 'belgium') | squall |
CREATE TABLE table_42849 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" real,
"Finish" real,
"Entrant" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest finish that has a start greater than 27, with a year after 1985?
| SELECT MIN("Finish") FROM table_42849 WHERE "Start" > '27' AND "Year" > '1985' | wikisql |
CREATE TABLE table_72201 (
"Chart" text,
"Date of Entry" text,
"Entry Position" real,
"Peak Position" real,
"Weeks on Peak" real,
"Weeks on Chart" real,
"Date of Exit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the exit date for ... | SELECT "Date of Exit" FROM table_72201 WHERE "Chart" = 'Dutch Albums Top 100' | wikisql |
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype tex... | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_... | mimic_iii |
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "ANGIOEDEMA" | mimicsql_data |
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDa... | WITH TotalAnswers AS (SELECT CAST(COUNT(*) AS FLOAT) AS Count FROM Posts WHERE PostTypeId = 2 AND CommunityOwnedDate IS NULL) SELECT a.Authors AS "authors", COUNT(*) AS "answers", ROUND(COUNT(*) / (SELECT Count FROM TotalAnswers) * 100, 1) AS "percent" FROM (SELECT PostId, COUNT(DISTINCT UserId) AS "authors" FROM PostH... | sede |
CREATE TABLE table_name_53 (
package_option VARCHAR,
content VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the package/option for the calcio content?
| SELECT package_option FROM table_name_53 WHERE content = "calcio" | sql_create_context |
CREATE TABLE table_40733 (
"Year" real,
"Chart" text,
"Track" text,
"Peak" real,
"Weeks on Chart" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Track is ESO, the peak is smaller than 25, and the year is larger than 2004, what is the total ... | SELECT COUNT("Weeks on Chart") FROM table_40733 WHERE "Track" = 'eso' AND "Peak" < '25' AND "Year" > '2004' | wikisql |
CREATE TABLE table_33535 (
"Network" text,
"Origin of Programming" text,
"Language" text,
"Genre" text,
"Service" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which network has an origina of Programming in India, a general genre, a service of bell... | SELECT "Network" FROM table_33535 WHERE "Origin of Programming" = 'india' AND "Genre" = 'general' AND "Service" = 'bell fibe tv' AND "Language" = 'tamil' | wikisql |
CREATE TABLE table_46684 (
"Player" text,
"Games Played" real,
"Minutes Played" real,
"Minutes Played Per Game" real,
"Rebounds" real,
"Rebounds Per Game" real,
"Assists" real,
"Assists Per Game" real,
"Field Goal %" real,
"Free Throw %" real,
"Points" real,
"Points Per G... | SELECT COUNT("Field Goal %") FROM table_46684 WHERE "Free Throw %" > '0.5' AND "Rebounds" = '159' AND "Points Per Game" < '7.1' | wikisql |
CREATE TABLE table_46240 (
"Season" text,
"Episodes" real,
"Season premiere" text,
"Season finale" text,
"Peak Series rating[ citation needed ]" text,
"Average series rating" text,
"DVD release date" text,
"Discs" real
)
-- Using valid SQLite, answer the following questions for the tab... | SELECT "Season premiere" FROM table_46240 WHERE "Average series rating" = '1.85 million viewers' | wikisql |
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,
JZKSRQ time,
... | SELECT jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jy... | css |
CREATE TABLE table_26173058_2 (
× VARCHAR,
jeel VARCHAR,
ramtha VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what the team where the record is 1-1 and the player is 1-1
| SELECT × FROM table_26173058_2 WHERE jeel = "1-1" AND ramtha = "1-1" | sql_create_context |
CREATE TABLE table_name_81 (
opponents VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was Manuela Maleeva opponent when she played a match partnered with michelle strebel?
| SELECT opponents FROM table_name_81 WHERE partner = "michelle strebel" | sql_create_context |
CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
... | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE (((flight.airline_code = 'US') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.to... | atis |
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 questions for the... | SELECT Headquarter, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter DESC | nvbench |
CREATE TABLE table_name_88 (
royal_house VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which royal house has the name huai?
| SELECT royal_house FROM table_name_88 WHERE name = "huai" | sql_create_context |
CREATE TABLE table_name_81 (
week_2 VARCHAR,
week_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Week 2 that has a Week 1 of mackenzie ryan?
| SELECT week_2 FROM table_name_81 WHERE week_1 = "mackenzie ryan" | sql_create_context |
CREATE TABLE table_1965650_3 (
nhl_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the nhl times for jeff jacques
| SELECT nhl_team FROM table_1965650_3 WHERE player = "Jeff Jacques" | sql_create_context |
CREATE TABLE table_61730 (
"Result" text,
"Record" text,
"Opponent" text,
"Method" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record when the method is decision and the location is Martigues, France?
| SELECT "Record" FROM table_61730 WHERE "Method" = 'decision' AND "Location" = 'martigues, france' | wikisql |
CREATE TABLE table_57542 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which constructor had a grid number of less than 3 and where the Time/Retired was 1:34:31.522?
| SELECT "Constructor" FROM table_57542 WHERE "Grid" < '3' AND "Time/Retired" = '1:34:31.522' | wikisql |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic ... | SELECT prescriptions.drug, prescriptions.route FROM prescriptions WHERE prescriptions.formulary_drug_cd = "SYRG1" | mimicsql_data |
CREATE TABLE zyjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
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 text,
... | SELECT jyjgzbb.CKZFWXX, jyjgzbb.CKZFWSX FROM mzjzjlb JOIN zyjybgb JOIN jyjgzbb ON mzjzjlb.YLJGDM = zyjybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = zyjybgb.JZLSH_MZJZJLB AND zyjybgb.YLJGDM = jyjgzbb.YLJGDM AND zyjybgb.BGDH = jyjgzbb.BGDH WHERE mzjzjlb.JZZDSM = '结膜炎' AND jyjgzbb.JCZBMC = '尿素' UNION SELECT jyjgzbb.CKZFWXX, jyj... | css |
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
ApprovalDa... | SELECT COUNT(c.PostId) AS QuestionCount, COUNT(a.Id) AS AnswerCount_ByCommenter, SUM(CASE WHEN NOT p.ClosedDate IS NULL THEN 1 ELSE 0 END), AVG(p.AnswerCount) FROM Comments AS c INNER JOIN Posts AS p ON c.PostId = p.Id LEFT JOIN Posts AS a ON p.Id = a.Id AND a.OwnerUserId = c.UserId WHERE c.Text LIKE '%WhatHaveYouTried... | sede |
CREATE TABLE table_68678 (
"Year" text,
"Title" text,
"( Title in English )" text,
"Director" text,
"Character" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the TV series with a character of Sheyda/Ashraf?
| SELECT "Title" FROM table_68678 WHERE "Character" = 'sheyda/ashraf' | wikisql |
CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
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 text,
... | SELECT COUNT(*) FROM (SELECT zyjybgb.KSBM FROM mzjzjlb JOIN zyjybgb ON mzjzjlb.YLJGDM = zyjybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = zyjybgb.JZLSH_MZJZJLB WHERE mzjzjlb.YLJGDM = '5070509' AND zyjybgb.BGRQ BETWEEN '2012-03-19' AND '2015-07-19' GROUP BY zyjybgb.KSBM HAVING COUNT(*) >= 26 UNION SELECT mzjybgb.KSBM FROM mzjz... | css |
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_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "3" AND lab.label = "pCO2" | mimicsql_data |
CREATE TABLE table_70073 (
"Home Run" real,
"Game" real,
"Date" text,
"Inning" text,
"Location" text,
"Opposing Pitcher" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has a Home Run of 27?
| SELECT "Team" FROM table_70073 WHERE "Home Run" = '27' | wikisql |
CREATE TABLE table_name_66 (
opposition VARCHAR,
score VARCHAR,
round VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Opposition in the First Round of the UEFA Cup with a Score of 3 1 (h), 2 0 (a)?
| SELECT opposition FROM table_name_66 WHERE round = "first round" AND competition = "uefa cup" AND score = "3–1 (h), 2–0 (a)" | sql_create_context |
CREATE TABLE table_35936 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player had a round of 27?
| SELECT "Player" FROM table_35936 WHERE "Round" = '27' | wikisql |
CREATE TABLE table_9827 (
"Model number" text,
"sSpec number" text,
"Frequency" text,
"GPU frequency" text,
"L2 cache" text,
"I/O bus" text,
"Memory" text,
"Voltage" text,
"Socket" text,
"Release date" text,
"Part number(s)" text
)
-- Using valid SQLite, answer the followin... | SELECT "Frequency" FROM table_9827 WHERE "Part number(s)" = 'au80610006240aa' | wikisql |
CREATE TABLE table_64822 (
"Name (pinyin)" text,
"Name (Wade Giles)" text,
"Characters" text,
"Type" text,
"Construction" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a Construction of 1873, foochow navy yard?
| SELECT "Characters" FROM table_64822 WHERE "Construction" = '1873, foochow navy yard' | wikisql |
CREATE TABLE buildings (
id number,
name text,
city text,
height number,
stories number,
status text
)
CREATE TABLE companies (
id number,
name text,
headquarters text,
industry text,
sales_billion number,
profits_billion number,
assets_billion number,
market_val... | SELECT name FROM companies ORDER BY market_value_billion DESC | spider |
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,
value_unit text,... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.long_title = "Cardiopulmonary resuscitation, not otherwise specified" | mimicsql_data |
CREATE TABLE table_name_26 (
original_name VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the real name of the movie about love?
| SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love" | sql_create_context |
CREATE TABLE table_26996293_7 (
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the player bill simmons?
| SELECT position FROM table_26996293_7 WHERE player = "Bill Simmons" | sql_create_context |
CREATE TABLE table_203_382 (
id number,
"date" text,
"opponent" text,
"site" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what were the number of wins in the month of october ?
| SELECT COUNT(*) FROM table_203_382 WHERE "result" = 'w' AND "date" = 10 | squall |
CREATE TABLE game (
stadium_id int,
id int,
Season int,
Date text,
Home_team text,
Away_team text,
Score text,
Competition text
)
CREATE TABLE injury_accident (
game_id int,
id int,
Player text,
Injury text,
Number_of_matches text,
Source text
)
CREATE TABLE sta... | SELECT Home_team, COUNT(Home_team) FROM game GROUP BY Away_team, Home_team ORDER BY Home_team | nvbench |
CREATE TABLE table_name_52 (
city_state VARCHAR,
status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city/state was associated with a contestant whose status was 2nd runner-up?
| SELECT city_state FROM table_name_52 WHERE status = "2nd runner-up" | sql_create_context |
CREATE TABLE table_37211 (
"Name" text,
"Birth" text,
"Marriage" text,
"Became Duchess" text,
"Ceased to be Duchess" text,
"Death" text,
"Spouse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did eleonor magdalene of the palatinate-neu... | SELECT "Became Duchess" FROM table_37211 WHERE "Name" = 'eleonor magdalene of the palatinate-neuburg' | wikisql |
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm... | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'left heart ... | mimic_iii |
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
has_final_proje... | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE program_course.catego... | advising |
CREATE TABLE table_name_56 (
laps INTEGER,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Laps that shows spun off for time?
| SELECT AVG(laps) FROM table_name_56 WHERE time = "spun off" | sql_create_context |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... | SELECT jyjgzbb.BGDH FROM hz_info JOIN mzjzjlb JOIN jyjgzbb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jyjgzbb.jybgb_YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jyjgzbb.jybgb_JZLSH_MZJZJLB WHERE hz_info.RYBH = '55593756' AND NOT jyjgzbb.BGDH IN (SELECT jyjgzb... | css |
CREATE TABLE table_113 (
"Title" text,
"System" text,
"Publisher" text,
"Product No." text,
"Compatible with 20/60GB NTSC PS3 (CECHA/CECHB)" text,
"Compatible with 60GB PAL/80GB NTSC PS3 (CECHC/CECHE)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... | SELECT "Publisher" FROM table_113 WHERE "Product No." = 'SCUS-97265' | wikisql |
CREATE TABLE table_name_76 (
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was Ipswich Town the away team?
| SELECT date FROM table_name_76 WHERE away_team = "ipswich town" | sql_create_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,
MZZYZDZZMC ... | SELECT mzjzjlb.YLJGDM FROM hz_info JOIN mzjzjlb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE hz_info.RYBH = '16019866' UNION SELECT zyjzjlb.YLJGDM FROM hz_info JOIN zyjzjlb ON hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_info.KH = zyjzjlb.KH AND hz_info.KLX = zyjzjlb.KLX ... | css |
CREATE TABLE hz_info (
KH text,
KLX number,
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 text,
KH text,
KLX num... | SELECT * FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN person_info_hz_info JOIN person_info ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.... | css |
CREATE TABLE table_name_87 (
elected INTEGER,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year elected in District 17?
| SELECT MIN(elected) FROM table_name_87 WHERE district = 17 | sql_create_context |
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
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... | SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | nvbench |
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_icd_procedures (
row_id number,
icd9_code text,
s... | SELECT COUNT(*) > 0 FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7533)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'urine out foley... | mimic_iii |
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 number,
F... | SELECT gwyjzb.CLINIC_ID FROM gwyjzb WHERE gwyjzb.MED_CLINIC_ID = '98553609544' UNION SELECT fgwyjzb.CLINIC_ID FROM fgwyjzb WHERE fgwyjzb.MED_CLINIC_ID = '98553609544' | css |
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 microlab (
microlabid ... | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = '100 ml flex cont : magnesium sulfate in d5w 10-5 mg/ml-% iv soln' AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-1 year')) | eicu |
CREATE TABLE table_19268 (
"Player" text,
"Touchdowns (5 points)" real,
"Extra points 1 point" real,
"Field goals (5 points)" real,
"Safeties (2 points)" real,
"Total Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many extra points d... | SELECT MAX("Extra points 1 point") FROM table_19268 WHERE "Player" = 'Paul Dickey' | wikisql |
CREATE TABLE table_77337 (
"Official Name" text,
"Status" text,
"Area km 2" real,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the sum of Area km 2 that has the Official Name of glenelg?
| SELECT SUM("Area km 2") FROM table_77337 WHERE "Official Name" = 'glenelg' | wikisql |
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE semester (
... | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course_offering.friday = 'N' AND course.course_id = course_offering.course_id AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'FA' ... | advising |
CREATE TABLE table_33554 (
"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 is the largest crowd for the St Kilda as th... | SELECT MAX("Crowd") FROM table_33554 WHERE "Away team" = 'st kilda' | wikisql |
CREATE TABLE table_name_66 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team did they play on September 19?
| SELECT opponent FROM table_name_66 WHERE date = "september 19" | sql_create_context |
CREATE TABLE table_30120560_1 (
barony VARCHAR,
area__acres__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the barony and an area of 560?
| SELECT barony FROM table_30120560_1 WHERE area__acres__ = 560 | sql_create_context |
CREATE TABLE table_71508 (
"Television Network" text,
"Founded" text,
"% of Venezuelan households reached" text,
"# of households viewable" text,
"Type of network" text,
"# of Full-Power Affiliates" text,
"# of Low-Power/Class-A Affiliates & Transmitters" text
)
-- Using valid SQLite, answ... | SELECT "Television Network" FROM table_71508 WHERE "Type of network" = 'community' AND "Founded" = '2002' | wikisql |
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,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "WIDOWED" AND diagnoses.long_title = "Osteoarthrosis, unspecified whether generalized or localized, site unspecified" | mimicsql_data |
CREATE TABLE table_10333757_1 (
frequency VARCHAR,
market_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143?
| SELECT COUNT(frequency) FROM table_10333757_1 WHERE market_rank = "Burlington - Plattsburgh , Vermont - New York /143" | sql_create_context |
CREATE TABLE table_28007 (
"Episode #" real,
"The W\u00f8rd" text,
"Guest" text,
"Introductory phrase" text,
"Original airdate" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the smallest production code for Augu... | SELECT MIN("Production code") FROM table_28007 WHERE "Original airdate" = 'August 11' | wikisql |
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,
admission_location t... | SELECT demographic.age, lab.itemid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560" | mimicsql_data |
CREATE TABLE checking (
custid number,
balance number
)
CREATE TABLE accounts (
custid number,
name text
)
CREATE TABLE savings (
custid number,
balance number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total checking balance in all... | SELECT SUM(balance) FROM checking | spider |
CREATE TABLE table_4444 (
"Engine" text,
"Horsepower" text,
"Torque" text,
"Carburetor" text,
"Compression Ratio" text,
"Bore & Stroke" text,
"VIN Code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the carburetor for engine of 250-... | SELECT "Carburetor" FROM table_4444 WHERE "Engine" = '250-1v i-6' | wikisql |
CREATE TABLE table_60884 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par when there was a total of 291?
| SELECT "To par" FROM table_60884 WHERE "Total" = '291' | wikisql |
CREATE TABLE hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_id number
)
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,
... | SELECT jyjgzbb.JCFF FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyj... | css |
CREATE TABLE table_name_80 (
ranking INTEGER,
years VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the highest ranking from 1996 13, and more than 17 goals?
| SELECT MAX(ranking) FROM table_name_80 WHERE years = "1996–13" AND goals > 17 | sql_create_context |
CREATE TABLE table_39727 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when the points are larger than 74 and the game is 57?
| SELECT "Score" FROM table_39727 WHERE "Points" > '74' AND "Game" = '57' | wikisql |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.