instruction
stringlengths
0
1.06k
input
stringlengths
33
7.14k
response
stringlengths
2
4.44k
source
stringclasses
25 values
prompt
listlengths
1
1
input_ids
listlengths
1
1
label_ids
listlengths
1
1
How many texture (gt/s) the card has if the tdp (watts) GPU only is 18?
CREATE TABLE table_26860595_2 ( texture___gt__s_ VARCHAR, tdp__watts__gpu_only VARCHAR )
SELECT COUNT(texture___gt__s_) FROM table_26860595_2 WHERE tdp__watts__gpu_only = "18"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
tell me the allergies that patient 004-29334 had when they came to the hospital first time?
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( c...
SELECT allergy.allergyname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-29334' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient...
eicu
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Visitor when the home was toronto maple leafs and the score was 4 1?
CREATE TABLE table_37887 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Visitor" FROM table_37887 WHERE "Home" = 'toronto maple leafs' AND "Score" = '4–1'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Population of the group that has a Height (m) of 15 and an Area (ha) of 00017 17?
CREATE TABLE table_69297 ( "Island" text, "Group" text, "Area ( ha )" text, "Population" text, "Height (m)" real )
SELECT "Population" FROM table_69297 WHERE "Height (m)" = '15' AND "Area ( ha )" = '00017 17'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the last medication that patient 5553 was prescribed?
CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuo...
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5553) ORDER BY prescriptions.startdate DESC LIMIT 1
mimic_iii
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the delivery date when s2 (lst) type, s2 (frigate) type, c1-m type was delivered?
CREATE TABLE table_16876 ( "Yard Name" text, "Location (city, state)" text, "1st Ship Delivery Date" text, "Ship Types Delivered" text, "Total Number of Ways" text, "total vessels built" text )
SELECT "1st Ship Delivery Date" FROM table_16876 WHERE "Ship Types Delivered" = 'S2 (LST) type, S2 (frigate) type, C1-M type'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many head coaches did Kent state golden flashes have?
CREATE TABLE table_74277 ( "Year" real, "FBS Opponent" text, "Result" text, "Opponents Conference" text, "Opponents Head Coach" text, "Coastal Carolina Head Coach" text )
SELECT COUNT("Opponents Head Coach") FROM table_74277 WHERE "FBS Opponent" = 'Kent State Golden Flashes'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What League/Division has a Location of n/a?
CREATE TABLE table_65509 ( "Club" text, "League/Division" text, "Home Ground" text, "Location" text, "Position in 2012-13" text )
SELECT "League/Division" FROM table_65509 WHERE "Location" = 'n/a'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
patients with uncontrolled ( treated or untreated ) hypertension
CREATE TABLE table_dev_61 ( "id" int, "pregnancy_or_lactation" bool, "allergy_to_gadolinium" bool, "renal_disease" bool, "creatinine_clearance_cl" float, "cardiogenic_shock" bool, "hypertension" bool, "NOUSE" float )
SELECT * FROM table_dev_61 WHERE hypertension = 1
criteria2sql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the total fertility rate that had a death rate larger than 7.8?
CREATE TABLE table_66707 ( "Year" text, "Births (000s)" real, "Deaths" real, "Natural Growth" real, "Total Fertility Rate" text )
SELECT "Total Fertility Rate" FROM table_66707 WHERE "Deaths" > '7.8'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the home team's score at corio oval?
CREATE TABLE table_33679 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_33679 WHERE "Venue" = 'corio oval'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the To Par when the finish was t16 and the player was Julius Boros?
CREATE TABLE table_50572 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text )
SELECT "To par" FROM table_50572 WHERE "Finish" = 't16' AND "Player" = 'julius boros'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of patients with atrial septal defect/mitral valve replacement repair atrial-septal defect/sda who have procedure icd9 code 3613?
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, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "ATRIAL SEPTAL DEFECT\MITRAL VALVE REPLACEMENT;REPAIR ATRIAL-SEPTAL DEFECT/SDA" AND procedures.icd9_code = "3613"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the runner-up in the Michelob Light Open at Kingsmill?
CREATE TABLE table_name_93 ( runner_s__up VARCHAR, tournament VARCHAR )
SELECT runner_s__up FROM table_name_93 WHERE tournament = "michelob light open at kingsmill"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the activity that has the most faculty members involved in?
CREATE TABLE participates_in ( stuid number, actid number ) CREATE TABLE activity ( actid number, activity_name text ) CREATE TABLE faculty ( facid number, lname text, fname text, rank text, sex text, phone number, room text, building text ) CREATE TABLE student ( ...
SELECT T1.activity_name FROM activity AS T1 JOIN faculty_participates_in AS T2 ON T1.actid = T2.actid GROUP BY T1.actid ORDER BY COUNT(*) DESC LIMIT 1
spider
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Of all the courses , which have been taught or will be taught by Neill Mohammad ?
CREATE TABLE course_tags_count ( course_id int, clear_grading int, pop_quiz int, group_projects int, inspirational int, long_lectures int, extra_credit int, few_tests int, good_feedback int, tough_tests int, heavy_papers int, cares_for_students int, heavy_assignments ...
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Neill Mohammad%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id ...
advising
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the away team at the game where Footscray was the home team and the crowd was larger than 20,200?
CREATE TABLE table_32907 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_32907 WHERE "Crowd" > '20,200' AND "Home team" = 'footscray'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What market rank and city had the station KABC-TV?
CREATE TABLE table_2598 ( "Market Rank & City of license /Market" text, "Station" text, "Channel TV / DT" text, "Owned since" real, "Affiliation" text )
SELECT "Market Rank & City of license /Market" FROM table_2598 WHERE "Station" = 'KABC-TV'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What class can I take during this semester that 's a prerequisite for most other classes ?
CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varchar, has_p...
SELECT COUNT(DISTINCT COURSE_PREREQUISITEalias0.course_id), COURSEalias0.department, COURSEalias0.name, COURSEalias0.number FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course AS COURSEalias1, course_offering AS COURSE_OFFERINGali...
advising
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many teams won more than 2 silver medals and fewer than 2 Bronze medals?
CREATE TABLE table_name_38 ( rank VARCHAR, silver VARCHAR, bronze VARCHAR )
SELECT COUNT(rank) FROM table_name_38 WHERE silver > 2 AND bronze < 2
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the annual change of GDP with a 20.5% GDP of EU in 2012?
CREATE TABLE table_1598533_8 ( annual_change__percentage_of_gdp__2012_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR )
SELECT annual_change__percentage_of_gdp__2012_ FROM table_1598533_8 WHERE gdp__percentage_of_eu__2012_ = "20.5%"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what did patient 005-48105 first have as his intake during the previous day?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsysto...
SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-48105')) AND intakeoutput.cellpath LIKE '%intake%' AND D...
eicu
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What tournament has Samantha Stosur as the opponent in the final?
CREATE TABLE table_name_99 ( tournament VARCHAR, opponent_in_the_final VARCHAR )
SELECT tournament FROM table_name_99 WHERE opponent_in_the_final = "samantha stosur"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Sweden's lowest score?
CREATE TABLE table_59785 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT MIN("Score") FROM table_59785 WHERE "Country" = 'sweden'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the greatest point of an Entrant of connaught engineering alta straight-4 engine before 1957
CREATE TABLE table_name_9 ( points INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR )
SELECT MAX(points) FROM table_name_9 WHERE engine = "alta straight-4" AND entrant = "connaught engineering" AND year < 1957
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is City of Sandefjord in Norway's IATA?
CREATE TABLE table_78940 ( "City" text, "Country" text, "Airport" text, "IATA" text, "ICAO" text )
SELECT "IATA" FROM table_78940 WHERE "Country" = 'norway' AND "City" = 'sandefjord'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
All questions on android things.
CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE Users ( Id num...
SELECT Id, CreationDate, AcceptedAnswerId FROM Posts AS P WHERE (Title LIKE '%androidthings%' OR Title LIKE '%android-things%' OR Title LIKE '%AndroidThings%')
sede
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
tell me the number of patients with a diagnoses of septic shock who have been discharged to skilled nursing facility.
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 text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND diagnoses.short_title = "Septic shock"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which season had less than 25.4 viewers and had a viewer rank of #6?
CREATE TABLE table_name_43 ( season INTEGER, households_viewers__in_millions_ VARCHAR, viewer_rank___number_ VARCHAR )
SELECT MIN(season) FROM table_name_43 WHERE households_viewers__in_millions_ < 25.4 AND viewer_rank___number_ = "#6"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is minimum age of patients whose insurance is medicaid and primary disease is cerebral aneurysm/sda?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT MIN(demographic.age) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.diagnosis = "CEREBRAL ANEURYSM/SDA"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which B Score has a Total larger than 15.325, and an A Score smaller than 6.4?
CREATE TABLE table_name_2 ( b_score INTEGER, total VARCHAR, a_score VARCHAR )
SELECT SUM(b_score) FROM table_name_2 WHERE total > 15.325 AND a_score < 6.4
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is 1:30 pm, when 8:00 am is 'The Today Show with Katie Couric & Matt Lauer'?
CREATE TABLE table_13125 ( "7:30 am" text, "8:00 am" text, "9:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:30 pm" text, "4:00 pm" text, "4:30 pm" text, "5:00 pm" text, "6:30 pm" text )
SELECT "1:30 pm" FROM table_13125 WHERE "8:00 am" = 'the today show with katie couric & matt lauer'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients younger than 30 years who have procedure icd9 code 3771.
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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "30" AND procedures.icd9_code = "3771"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
I want to know the opponent that ha a week of 3
CREATE TABLE table_name_61 ( opponent VARCHAR, week VARCHAR )
SELECT opponent FROM table_name_61 WHERE week = "3"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Users who posted most recent comments.
CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, ...
WITH recent_cte AS (SELECT UserId AS uid, MAX(Id) AS MaxId FROM Comments GROUP BY UserId) SELECT uid AS "user_link", c.CreationDate, MaxId AS "comment_link", c.PostId AS "post_link", c.Text FROM recent_cte INNER JOIN Comments AS c ON MaxId = c.Id ORDER BY c.CreationDate DESC
sede
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what are the four most commonly given lab tests for patients who have been diagnosed with necrotizing fasciitis - post-op before within 2 months, until 1 year ago?
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 t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'necrotizing fasciitis - post-op' AND DATETIME(diagno...
eicu
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest lane for Brazil, ranked less than 8?
CREATE TABLE table_name_85 ( lane INTEGER, country VARCHAR, rank VARCHAR )
SELECT MAX(lane) FROM table_name_85 WHERE country = "brazil" AND rank < 8
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the player with the largest number of votes?
CREATE TABLE player ( Player_name VARCHAR, Votes VARCHAR )
SELECT Player_name FROM player ORDER BY Votes DESC LIMIT 1
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
I want the constellation for declination for 45 and right ascension of 07h58m
CREATE TABLE table_name_56 ( constellation VARCHAR, declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR )
SELECT constellation FROM table_name_56 WHERE declination___j2000__ = "°45′" AND right_ascension___j2000__ = "07h58m"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A stacked bar chart showing the number of engineers for different skill description The x-axis is skill description and group by other deteails, display Y-axis in desc order.
CREATE TABLE Skills_Required_To_Fix ( part_fault_id INTEGER, skill_id INTEGER ) CREATE TABLE Assets ( asset_id INTEGER, maintenance_contract_id INTEGER, supplier_company_id INTEGER, asset_details VARCHAR(255), asset_make VARCHAR(20), asset_model VARCHAR(20), asset_acquired_date DATE...
SELECT skill_description, COUNT(skill_description) FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id GROUP BY other_details, skill_description ORDER BY COUNT(skill_description) DESC
nvbench
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the location for the country of platte?
CREATE TABLE table_name_64 ( location VARCHAR, county VARCHAR )
SELECT location FROM table_name_64 WHERE county = "platte"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
i would like information on flights leaving early monday morning from ATLANTA to BALTIMORE
CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE airport ( airport_code varchar, airport_name text, airport_location ...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND date_day.day_number = 21 AND date_day.month_number = 2 AN...
atis
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
age 18 years or older with clinical type i diabetes for at least one year
CREATE TABLE table_train_180 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "systolic_blood_pressure_sbp" int, "hemoglobin_a1c_hba1c" float, "diabetic" string, "post_load_glucose" int, "diastolic_blood_pressure_dbp" int, "impaired_glucose_tolerance" bool, "fasting_gl...
SELECT * FROM table_train_180 WHERE age >= 18 AND diabetic = 'i'
criteria2sql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
resting heart rate ( hr ) <= 50 or >= 100 beats / min;
CREATE TABLE table_train_95 ( "id" int, "serum_potassium" float, "mini_mental_state_examination_mmse" int, "systolic_blood_pressure_sbp" int, "resting_heart_rate" int, "diastolic_blood_pressure_dbp" int, "NOUSE" float )
SELECT * FROM table_train_95 WHERE resting_heart_rate <= 50 OR resting_heart_rate >= 100
criteria2sql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
show me the number of government health insurance patients who were ordered to get blasts lab test.
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 prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Government" AND lab.label = "Blasts"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
100 ( )..
CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, Bo...
SELECT COUNT(*) FROM (SELECT DISTINCT OwnerUserId FROM Posts WHERE OwnerUserId > 0 GROUP BY OwnerUserId, YEAR(CreationDate) HAVING COUNT(*) >= 100) AS f
sede
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In Spring 2018 , in the afternoon , will 101 be available ?
CREATE TABLE course ( course_id int, name varchar, department varchar, number varchar, credits varchar, advisory_requirement varchar, enforced_requirement varchar, description varchar, num_semesters int, num_enrolled int, has_discussion varchar, has_lab varchar, has_p...
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time >= '12:00:00' AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 101 AND semester.semester = 'Spring' AND semester.semester_id = course_offering.semester AND semester.year = 2018
advising
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the total number of deputy judges that were post abolished ?
CREATE TABLE table_204_301 ( id number, "nationality" text, "name" text, "term as a deputy judge" text, "reason for termination" text )
SELECT COUNT("name") FROM table_204_301 WHERE "reason for termination" = 'post abolished'
squall
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the lead supporting vocalist on the song that was 4:54 long?
CREATE TABLE table_name_32 ( lead_supporting_vocal VARCHAR, time VARCHAR )
SELECT lead_supporting_vocal FROM table_name_32 WHERE time = "4:54"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what flights go from DALLAS to DENVER after 1500
CREATE TABLE time_zone ( time_zone_code text, time_zone_name text, hours_from_gmt int ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, minutes_distant int ) CREATE TABLE airline ( airline_code varchar, airline_name ...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND flight.departure_time > 1500 AND flight.to_airport = AIRPORT_SERVICE_1.airpor...
atis
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the final-rank for the uneven bars and the competition is u.s. championships?
CREATE TABLE table_13114949_3 ( final_rank VARCHAR, event VARCHAR, competition VARCHAR )
SELECT final_rank FROM table_13114949_3 WHERE event = "Uneven Bars" AND competition = "U.S. Championships"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the original air date of the episode directed by Terrence Nightingall?
CREATE TABLE table_21627 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text )
SELECT "Original air date" FROM table_21627 WHERE "Directed by" = 'Terrence Nightingall'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Status of the Paris with a Census Ranking of 3,474 of 5,008?
CREATE TABLE table_47763 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text )
SELECT "Status" FROM table_47763 WHERE "Census Ranking" = '3,474 of 5,008'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the minimum hospital bill that includes retention urine nos the previous year?
CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit te...
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'retention urine nos')) AND DATETIME(cost.chargetime, 'start of ...
mimic_iii
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose gender is f and days of hospital stay is greater than 2?
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 WHERE demographic.gender = "F" AND demographic.days_stay > "2"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many different scores are there for the game with 10-3-4 record?
CREATE TABLE table_23308178_5 ( score VARCHAR, record VARCHAR )
SELECT COUNT(score) FROM table_23308178_5 WHERE record = "10-3-4"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of offensive rebounds for players with more than 124 3-point attempts?
CREATE TABLE table_75820 ( "Player" text, "FG Pct" real, "3FGA" real, "3FGM" real, "3FG Pct" real, "FT Pct" real, "Off Reb" real, "Def Reb" real, "Total Reb" real, "Asst" real )
SELECT COUNT("Off Reb") FROM table_75820 WHERE "3FGA" > '124'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What unit has gen et sp nov as the novelty?
CREATE TABLE table_41242 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Unit" text, "Location" text )
SELECT "Unit" FROM table_41242 WHERE "Novelty" = 'gen et sp nov'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is drug code of drug name d5ns?
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, religion text, ...
SELECT prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "D5NS"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the required classes I need before taking PIBS 501 ?
CREATE TABLE program_course ( program_id int, course_id int, workload int, category varchar ) CREATE TABLE offering_instructor ( offering_instructor_id int, offering_id int, instructor_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int,...
SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT...
advising
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what were the changes in respiration in patient 016-18575 second measured on the current intensive care unit visit compared to the value first measured on the current intensive care unit visit?
CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartr...
SELECT (SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-18575') AND patient.unitdischargetime IS NU...
eicu
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the opponent with a record of 14-4-1 and has a round of 1?
CREATE TABLE table_name_45 ( opponent VARCHAR, round VARCHAR, record VARCHAR )
SELECT opponent FROM table_name_45 WHERE round = "1" AND record = "14-4-1"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose year of birth is less than 2103 and drug type is additive?
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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2103" AND prescriptions.drug_type = "ADDITIVE"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Away Team Score of the Hawthorn Home Team?
CREATE TABLE table_name_6 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team AS score FROM table_name_6 WHERE home_team = "hawthorn"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was the average speed 145.24
CREATE TABLE table_1963459_2 ( year INTEGER, average_speed__mph_ VARCHAR )
SELECT MAX(year) FROM table_1963459_2 WHERE average_speed__mph_ = "145.24"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose admission year is less than 2133 and diagnoses short title is ulcer other part of foot?
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2133" AND diagnoses.short_title = "Ulcer other part of foot"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
calculate the length of stay of patient 15135 during the last hospital stay.
CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) 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...
SELECT STRFTIME('%j', admissions.dischtime) - STRFTIME('%j', admissions.admittime) FROM admissions WHERE admissions.subject_id = 15135 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1
mimic_iii
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the names of members who did not attend any performance.
CREATE TABLE member ( Name VARCHAR, Member_ID VARCHAR ) CREATE TABLE member_attendance ( Name VARCHAR, Member_ID VARCHAR )
SELECT Name FROM member WHERE NOT Member_ID IN (SELECT Member_ID FROM member_attendance)
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Oberliga Bayern has a Season of 1981-82?
CREATE TABLE table_75230 ( "Season" text, "Oberliga Bayern" text, "Oberliga Hessen" text, "Oberliga Baden-W\u00fcrttemberg" text, "Oberliga S\u00fcdwest" text )
SELECT "Oberliga Bayern" FROM table_75230 WHERE "Season" = '1981-82'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What happened on 2009-03-14?
CREATE TABLE table_68619 ( "Date" text, "Location" text, "Nature of incident" text, "Circumstances" text, "Casualties" text )
SELECT "Circumstances" FROM table_68619 WHERE "Date" = '2009-03-14'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what are the newly prescribed medicines of patient 42473 today compared to that yesterday?
CREATE TABLE transfers ( row_id number, subject_id number, hadm_id number, icustay_id number, eventtype text, careunit text, wardid number, intime time, outtime time ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, ...
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 42473) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT prescriptions.drug FROM prescriptions WHERE...
mimic_iii
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the name of account that has the lowest total checking and saving balance.
CREATE TABLE savings ( custid VARCHAR, balance VARCHAR ) CREATE TABLE checking ( custid VARCHAR, balance VARCHAR ) CREATE TABLE accounts ( name VARCHAR, custid VARCHAR )
SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance + T3.balance LIMIT 1
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the record at the game against the Indians with a loss of Camacho (1-4)?
CREATE TABLE table_79899 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Record" FROM table_79899 WHERE "Opponent" = 'indians' AND "Loss" = 'camacho (1-4)'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest top-25 of the tournament with less than 22 events and more than 1 top-10?
CREATE TABLE table_name_11 ( top_25 INTEGER, events VARCHAR, top_10 VARCHAR )
SELECT MAX(top_25) FROM table_name_11 WHERE events < 22 AND top_10 > 1
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is 2008 when 2012 is 3r and 2009 is 2r?
CREATE TABLE table_name_79 ( Id VARCHAR )
SELECT 2008 FROM table_name_79 WHERE 2012 = "3r" AND 2009 = "2r"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
list all flights leaving DENVER arriving in SEATTLE on saturday that depart after 1230pm
CREATE TABLE compartment_class ( compartment varchar, class_type varchar ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE time_interval ( period text...
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((date_day.day_number = 26 AND date_day.month_number = 7 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time...
atis
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A bar chart for what are the number of the names of races held between 2009 and 2011?, show from high to low by the Y.
CREATE TABLE constructorResults ( constructorResultsId INTEGER, raceId INTEGER, constructorId INTEGER, points REAL, status TEXT ) CREATE TABLE qualifying ( qualifyId INTEGER, raceId INTEGER, driverId INTEGER, constructorId INTEGER, number INTEGER, position INTEGER, q1 TE...
SELECT name, COUNT(name) FROM races WHERE year BETWEEN 2009 AND 2011 GROUP BY name ORDER BY COUNT(name) DESC
nvbench
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the runner-up (a) if K. P. Ramalingam won the election?
CREATE TABLE table_22752982_5 ( runner_up_a VARCHAR, winner VARCHAR )
SELECT runner_up_a FROM table_22752982_5 WHERE winner = "K. P. Ramalingam"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
when was the last time patient 3267 arterial bp mean was measured less than 84.0 on the first icu visit.
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 prescriptions ( row_id number, subject_id number, h...
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3267) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemid IN (S...
mimic_iii
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what Date is Tie no 19?
CREATE TABLE table_62334 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Date" FROM table_62334 WHERE "Tie no" = '19'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many silver medals did turkey win ?
CREATE TABLE table_203_812 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "silver" FROM table_203_812 WHERE "nation" = 'turkey'
squall
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What kind of Launched has a Homeport (as of July 2013) of sold to chile, and a Pennant number of f80?
CREATE TABLE table_36212 ( "Name" text, "Pennant number" text, "Laid down" text, "Launched" text, "Date of commission" text, "Homeport (as of July 2013)" text, "Planned decommission (as announced in 2009)" text )
SELECT "Launched" FROM table_36212 WHERE "Homeport (as of July 2013)" = 'sold to chile' AND "Pennant number" = 'f80'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the special topics classes offered next Winter ?
CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city var...
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE (course.number = 398 OR course.number = 498 OR course.number = 598) AND course.department = 'E...
advising
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are all values of LOA(metres) for an elapsed time of 2:17:01:05?
CREATE TABLE table_19642 ( "Position" real, "Race number" text, "Sail number" text, "Yacht" text, "State/country" text, "Yacht type" text, "LOA (Metres)" text, "Skipper" text, "Elapsed time d:hh:mm:ss" text )
SELECT "LOA (Metres)" FROM table_19642 WHERE "Elapsed time d:hh:mm:ss" = '2:17:01:05'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where is runner-up Betsy Rawls from?
CREATE TABLE table_9048 ( "Year" real, "Winner" text, "Score" text, "Runner(s)-up" text, "Winner's share ($)" real, "Course" text, "Location" text )
SELECT "Location" FROM table_9048 WHERE "Runner(s)-up" = 'betsy rawls'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is procedure icd9 code and procedure short title of subject id 8440?
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_cd text, ...
SELECT procedures.icd9_code, procedures.short_title FROM procedures WHERE procedures.subject_id = "8440"
mimicsql_data
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of employees that have a salary between 100000 and 200000?
CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, aid number ) CREATE TABLE certificate ( eid number, aid number ) CREATE TABLE aircraft ( aid number, name text, distance number )...
SELECT COUNT(*) FROM employee WHERE salary BETWEEN 100000 AND 200000
spider
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Compare the total number of different ranks using a bar graph, and sort bar in ascending order.
CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text )
SELECT Rank, COUNT(Rank) FROM captain GROUP BY Rank ORDER BY Rank
nvbench
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
State with highest average math score
CREATE TABLE finrev_fed_17 ( state_code number, idcensus number, school_district text, nces_id text, yr_data number, t_fed_rev number, c14 number, c25 number ) CREATE TABLE ndecoreexcel_math_grade8 ( year number, state text, all_students text, average_scale_score number ...
SELECT state FROM ndecoreexcel_math_grade8 ORDER BY average_scale_score DESC LIMIT 1
studentmathscore
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the writer for the episode with production code 2395096?
CREATE TABLE table_10953197_4 ( writer_s_ VARCHAR, production_code VARCHAR )
SELECT writer_s_ FROM table_10953197_4 WHERE production_code = "2395096"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Against the Houston Oilers after week 14, what was the result of the game?
CREATE TABLE table_46931 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Game Site" text, "Attendance" text )
SELECT "Result" FROM table_46931 WHERE "Week" > '14' AND "Opponent" = 'houston oilers'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest league for the league cup more than 1, and a FA cup of 1?
CREATE TABLE table_42129 ( "Player" text, "Club" text, "League" real, "FA Cup" real, "FA Trophy" real, "League Cup" real, "Total" real )
SELECT MAX("League") FROM table_42129 WHERE "League Cup" > '1' AND "FA Cup" = '1'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which nation is Danilo di Luca from?
CREATE TABLE table_name_7 ( nation VARCHAR, cyclist VARCHAR )
SELECT nation FROM table_name_7 WHERE cyclist = "danilo di luca"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What team was he on when he had 10 f/laps?
CREATE TABLE table_24491017_1 ( team VARCHAR, f_laps VARCHAR )
SELECT team FROM table_24491017_1 WHERE f_laps = 10
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
show me the prices of FIRST class tickets on US round trip from CLEVELAND to MIAMI
CREATE TABLE time_interval ( period text, begin_time int, end_time int ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_time int, departure_airline...
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 = 'MIAMI' AND flight.to_airport...
atis
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the date of appointment for petrik sander
CREATE TABLE table_21552 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text )
SELECT "Date of appointment" FROM table_21552 WHERE "Replaced by" = 'Petrik Sander'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what Surface will the Venezuela F5 Futures in Caracas be played?
CREATE TABLE table_name_30 ( surface VARCHAR, city VARCHAR, tournament VARCHAR )
SELECT surface FROM table_name_30 WHERE city = "caracas" AND tournament = "venezuela f5 futures"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show first name and id for all customers with at least 2 accounts in a bar chart, and show in asc by the total number.
CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, date_account_opened DATETIME, account_name VARCHAR(50), other_account_details VARCHAR(255) ) CREATE TABLE Financial_Transactions ( transaction_id INTEGER, account_id INTEGER, invoice_number INTEGER, transaction_type VA...
SELECT T2.customer_first_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id ORDER BY T1.customer_id
nvbench
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest pick when the college is saginaw valley state?
CREATE TABLE table_63736 ( "Pick" real, "Team" text, "Player" text, "Position" text, "College" text )
SELECT MAX("Pick") FROM table_63736 WHERE "College" = 'saginaw valley state'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Get Users by Location and Tag And Votes.
CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, Acc...
SELECT u.DisplayName, 'http://stackoverflow.com/users/' + CAST(u.Id AS TEXT(255)) AS "httplink", u.Reputation, COUNT(v.Id) AS "votes" FROM Users AS u INNER JOIN Votes AS v ON v.UserId = u.Id INNER JOIN Posts AS p ON p.Id = v.PostId INNER JOIN Posts AS ans ON p.Id = ans.ParentId INNER JOIN PostTags AS pt ON p.Id = pt.Po...
sede
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...