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
provide the number of patients whose admission year is less than 2119 and diagnoses icd9 code is 70714?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2119" AND diagnoses.icd9_code = "70714"
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 lowest year that has chester-le-street as the city, with 345 runs as the score?
CREATE TABLE table_name_49 ( year INTEGER, city VARCHAR, score VARCHAR )
SELECT MIN(year) FROM table_name_49 WHERE city = "chester-le-street" AND score = "345 runs"
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 2012/13 result for the tournament that had a 2006/07 and 2007/08 finish of LQ, with the tournament not held in 2009/10?
CREATE TABLE table_46979 ( "2004/ 05" text, "2006/ 07" text, "2007/ 08" text, "2009/ 10" text, "2010/ 11" text, "2011/ 12" text, "2012/ 13" text )
SELECT "2012/ 13" FROM table_46979 WHERE "2007/ 08" = 'lq' AND "2006/ 07" = 'lq' AND "2009/ 10" = 'tournament not held'
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 courses that I 've taken are among the hardest in the AAPTIS department ?
CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE job...
SELECT DISTINCT course.department, course.name, course.number, program_course.workload FROM course INNER JOIN student_record ON student_record.course_id = course.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.department = 'AAPTIS' AND program_course.workload = (SELECT MA...
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 average sales in billions of walmart, which has more than 15.7 billion in profits?
CREATE TABLE table_name_5 ( sales__billion_ INTEGER, company VARCHAR, profits__billion_$_ VARCHAR )
SELECT AVG(sales__billion_) AS $_ FROM table_name_5 WHERE company = "walmart" AND profits__billion_$_ > 15.7
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 1462/63 was the elected what was the no.?
CREATE TABLE table_1827690_4 ( no VARCHAR, elected VARCHAR )
SELECT no FROM table_1827690_4 WHERE elected = "1462/63"
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 earliest year featuring Sideline reporter(s) of michelle tafoya and suzy kolber?
CREATE TABLE table_name_64 ( year INTEGER, sideline_reporter_s_ VARCHAR )
SELECT MIN(year) FROM table_name_64 WHERE sideline_reporter_s_ = "michelle tafoya and suzy kolber"
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, ...
How many runs conceded for chaminda vaas?
CREATE TABLE table_15700367_6 ( runs_conceded VARCHAR, name VARCHAR )
SELECT runs_conceded FROM table_15700367_6 WHERE name = "Chaminda Vaas"
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 name and distance for all aircrafts.
CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, aid number ) CREATE TABLE employee ( eid number, name text, salary number ) CREATE TABLE aircraft ( aid number, name text, di...
SELECT name, distance FROM aircraft
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, ...
What date was the opponent the Los Angeles Raiders?
CREATE TABLE table_16729063_2 ( date VARCHAR, opponent VARCHAR )
SELECT date FROM table_16729063_2 WHERE opponent = "Los Angeles Raiders"
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 HOME TEAM SCORED 9.11 (65)?
CREATE TABLE table_33339 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_33339 WHERE "Home team score" = '9.11 (65)'
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 far to par did ed furgol from the United States get when he scored less than 72 and was placed at t3?
CREATE TABLE table_name_93 ( to_par VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR )
SELECT to_par FROM table_name_93 WHERE country = "united states" AND score < 72 AND place = "t3" AND player = "ed furgol"
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, ...
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of hire_date and the average of salary bin hire_date by time, sort by the Y from low to high.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(SALARY)
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 label is released on September 20, 2005?
CREATE TABLE table_61083 ( "Date of release" text, "Title" text, "Billboard peak" real, "RIAA cert." text, "Label" text )
SELECT "Label" FROM table_61083 WHERE "Date of release" = 'september 20, 2005'
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 format is in St. George with a frequency of 0 107.3 fm?
CREATE TABLE table_5783 ( "Call sign" text, "Frequency" text, "City of License" text, "Owner" text, "Format" text )
SELECT "Format" FROM table_5783 WHERE "City of License" = 'st. george' AND "Frequency" = '0 107.3 fm'
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 most total medals awarded to Poland?
CREATE TABLE table_name_37 ( total INTEGER, nation VARCHAR )
SELECT MAX(total) FROM table_name_37 WHERE nation = "poland"
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 canada's margin?
CREATE TABLE table_name_40 ( margin INTEGER, country VARCHAR )
SELECT SUM(margin) FROM table_name_40 WHERE country = "canada"
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, ...
how many patients with death staus 0 have been diagnosed with preterm nec1750-1999g?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "0" AND diagnoses.short_title = "Preterm NEC 1750-1999g"
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, ...
Name who wrote the production code 322
CREATE TABLE table_29533 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (millions)" text, "Original U.S. air date" text, "Prod. code" real )
SELECT "Written by" FROM table_29533 WHERE "Prod. code" = '322'
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 stadium was the 1994 Gator Bowl in?
CREATE TABLE table_15190346_2 ( stadium VARCHAR, bowl_game VARCHAR )
SELECT stadium FROM table_15190346_2 WHERE bowl_game = "1994 Gator Bowl"
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 monthly average value of weight for patient 018-119251 until 11/2105?
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate n...
SELECT AVG(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-119251') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y-%m', patient.unitadmittime) <= '2105-11' GROUP BY STRFTIME('%y-%m', 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, ...
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of job_id and the average of department_id , and group by attribute job_id, order the average of department id in ascending order.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decima...
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_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 interface of the product xerox travel scanner 100?
CREATE TABLE table_name_58 ( interface VARCHAR, product VARCHAR )
SELECT interface FROM table_name_58 WHERE product = "xerox travel scanner 100"
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 Opposing Teams, when Date is '11/10/1991'?
CREATE TABLE table_name_81 ( opposing_teams VARCHAR, date VARCHAR )
SELECT opposing_teams FROM table_name_81 WHERE date = "11/10/1991"
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, ...
in 1926 brazilian football , how many teams scored above 10 points in the season ?
CREATE TABLE table_203_654 ( id number, "position" number, "team" text, "points" number, "played" number, "won" number, "drawn" number, "lost" number, "for" number, "against" number, "difference" number )
SELECT COUNT("team") FROM table_203_654 WHERE "points" > 10
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, ...
Find the states where have the colleges whose enrollments are less than the largest size.
CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE college ( cname text, state text, enr number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text )
SELECT DISTINCT state FROM college WHERE enr < (SELECT MAX(enr) FROM college)
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, ...
What is the TOTAL Time in Office with a rank smaller than 18, and premier is Joh Bjelke-Petersen?
CREATE TABLE table_64675 ( "Rank:" real, "Premier:" text, "Assumed Office:" text, "Left Office:" text, "TOTAL Time in Office:" text )
SELECT "TOTAL Time in Office:" FROM table_64675 WHERE "Rank:" < '18' AND "Premier:" = 'joh bjelke-petersen'
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 bosnian in cook islands is sri lankan
CREATE TABLE table_24807774_1 ( bosnian VARCHAR, cook_islands VARCHAR )
SELECT bosnian FROM table_24807774_1 WHERE cook_islands = "Sri Lankan"
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 patient 85131 prescribed the drug neo*iv*chlorothiazide and d5w at the same time for the last time until 19 months ago?
CREATE TABLE diagnoses_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_type text, admission_location text, d...
SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'neo*iv*chlorothiazide' AND admissions.subject_id = 85131 AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-19 mon...
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, ...
A bar chart about what are the different product names? What is the average product price for each of them?, sort X from low to high order.
CREATE TABLE Customer_Orders ( Order_ID INTEGER, Customer_ID INTEGER, Store_ID INTEGER, Order_Date DATETIME, Planned_Delivery_Date DATETIME, Actual_Delivery_Date DATETIME, Other_Order_Details VARCHAR(255) ) CREATE TABLE Performers_in_Bookings ( Order_ID INTEGER, Performer_ID INTEGER...
SELECT Product_Name, AVG(Product_Price) FROM Products GROUP BY Product_Name ORDER BY Product_Name
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, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about manager_id over the last_name by a bar chart, could you show in desc by the Y-axis?
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT LAST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY MANAGER_ID 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, ...
Can you tell me the sum of Area km 2 that has the Official Name of glenelg?
CREATE TABLE table_name_75 ( area_km_2 INTEGER, official_name VARCHAR )
SELECT SUM(area_km_2) FROM table_name_75 WHERE official_name = "glenelg"
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, ...
How many basketball arenas are there that belong to a school with a capacity of 3,000?
CREATE TABLE table_1974545_3 ( basketball_arena VARCHAR, capacity VARCHAR )
SELECT COUNT(basketball_arena) FROM table_1974545_3 WHERE capacity = "3,000"
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, ...
Find the first names and offices of all professors sorted by alphabetical order of their first name.
CREATE TABLE student ( stu_num number, stu_lname text, stu_fname text, stu_init text, stu_dob time, stu_hrs number, stu_class text, stu_gpa number, stu_transfer number, dept_code text, stu_phone text, prof_num number ) CREATE TABLE enroll ( class_code text, stu_n...
SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num ORDER BY T2.emp_fname
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, ...
What is Ivaipor , pr's biggest population?
CREATE TABLE table_11750 ( "Town/City" text, "Population" real, "Operator" text, "First year" real, "Duration" text )
SELECT MAX("Population") FROM table_11750 WHERE "Town/City" = 'ivaiporã, pr'
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, ...
who was the first samoan flag bearer at the olympic games ?
CREATE TABLE table_204_986 ( id number, "#" number, "event year" number, "season" text, "flag bearer" text )
SELECT "flag bearer" FROM table_204_986 ORDER BY "event year" LIMIT 1
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 shows for gold when the rank is less than 3, and silver less than 1?
CREATE TABLE table_name_62 ( gold INTEGER, rank VARCHAR, silver VARCHAR )
SELECT SUM(gold) FROM table_name_62 WHERE rank < 3 AND silver < 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 the number in total of silver with a gold smaller than 0?
CREATE TABLE table_name_91 ( silver VARCHAR, gold INTEGER )
SELECT COUNT(silver) FROM table_name_91 WHERE gold < 0
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 Korean dialect in the daegu capital?
CREATE TABLE table_41890 ( "RR Romaja" text, "M\u2013R Romaja" text, "Hangul" text, "Hanja" text, "Name origin" text, "Capital" text, "Region" text, "Korean dialect" text, "Post-1896 Provinces" text )
SELECT "Korean dialect" FROM table_41890 WHERE "Capital" = 'daegu'
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, ...
When 228 is the lap and chip ganassi racing is the team what is the race time?
CREATE TABLE table_1771753_3 ( race_time VARCHAR, team VARCHAR, laps VARCHAR )
SELECT race_time FROM table_1771753_3 WHERE team = "Chip Ganassi Racing" AND laps = "228"
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, ...
In the game where Collingwood is the home team what is the score of the away team?
CREATE TABLE table_55560 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team score" FROM table_55560 WHERE "Home team" = 'collingwood'
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 Rank that has a Venue of bellerive oval , hobart, and a Margin of 115 runs?
CREATE TABLE table_8061 ( "Rank" text, "Margin" text, "Opponent" text, "Venue" text, "Season" text )
SELECT "Rank" FROM table_8061 WHERE "Venue" = 'bellerive oval , hobart' AND "Margin" = '115 runs'
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 PLACE WITH THE SCORE 69-71-66-73=279?
CREATE TABLE table_name_11 ( place VARCHAR, score VARCHAR )
SELECT place FROM table_name_11 WHERE score = 69 - 71 - 66 - 73 = 279
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, ...
Stuff Ids inside user names.
CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE Tags ( Id number, TagName text, Count number, ExcerptPostId number, WikiPostId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, Delet...
SELECT STUFF(DisplayName, 5, 0, Id) FROM Users ORDER BY Reputation DESC LIMIT 100
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, ...
how many patients have had neurology consultation done until 4 years ago?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtim...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'neurology consultation' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-4 year'))
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, ...
Bar chart x axis location y axis the average of number of platforms
CREATE TABLE train ( Train_ID int, Name text, Time text, Service text ) CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Location text, Main_Services text, Number_of_Platforms int ) CREATE TABLE t...
SELECT Location, AVG(Number_of_Platforms) FROM station GROUP BY Location
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, ...
How many millions of $ were spent in Iceland in 1948/49?
CREATE TABLE table_19766_1 ( country VARCHAR )
SELECT MAX(1948 AS _49__) AS $_millions_ FROM table_19766_1 WHERE country = "Iceland"
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 the number of assists against illinois-chicago.
CREATE TABLE table_28613 ( "#" real, "Player" text, "Points" real, "Rebounds" real, "Assists" real, "Opponent" text, "Date" text )
SELECT "Assists" FROM table_28613 WHERE "Opponent" = 'Illinois-Chicago'
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 name of the song that was released in the most recent year?
CREATE TABLE song ( song_name VARCHAR, releasedate VARCHAR )
SELECT song_name, releasedate FROM song ORDER BY releasedate 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, ...
When is the lane less than 5 and is named gnes kov cs?
CREATE TABLE table_14392 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT "Time" FROM table_14392 WHERE "Lane" < '5' AND "Name" = 'ágnes kovács'
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 Date has a Set 1 of 21 25?
CREATE TABLE table_44504 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text )
SELECT "Date" FROM table_44504 WHERE "Set 1" = '21–25'
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, ...
When does Donaldson's move end?
CREATE TABLE table_name_34 ( ends VARCHAR, name VARCHAR )
SELECT ends FROM table_name_34 WHERE name = "donaldson"
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 verbal noun connected to the participle e-duki?
CREATE TABLE table_558 ( "Basic stem (root)" text, "Present stem" text, "Non-present stem" text, "Participle" text, "Verbal noun" text, "Short stem" text, "Meaning" text )
SELECT "Verbal noun" FROM table_558 WHERE "Participle" = 'e-duki'
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 total gold from New zealand and a rank less than 14?
CREATE TABLE table_name_18 ( gold INTEGER, nation VARCHAR, rank VARCHAR )
SELECT SUM(gold) FROM table_name_18 WHERE nation = "new zealand" AND rank < 14
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 to know the proportion of the average population for each status.
CREATE TABLE farm_competition ( Competition_ID int, Year int, Theme text, Host_city_ID int, Hosts text ) CREATE TABLE city ( City_ID int, Official_Name text, Status text, Area_km_2 real, Population real, Census_Ranking text ) CREATE TABLE farm ( Farm_ID int, Year in...
SELECT Status, AVG(Population) FROM city GROUP BY Status
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 proportion of positions of pilots?
CREATE TABLE pilot ( Pilot_ID int, Pilot_name text, Rank int, Age int, Nationality text, Position text, Join_Year int, Team text ) CREATE TABLE pilot_record ( Record_ID int, Pilot_ID int, Aircraft_ID int, Date text ) CREATE TABLE aircraft ( Aircraft_ID int, Orde...
SELECT Position, COUNT(Position) FROM pilot GROUP BY Position
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, ...
is glucose patient 28443 has last measured on the current hospital visit greater than it was second to last measured on the current hospital visit?
CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE...
SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443 AND admissions.dischtime IS NULL) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'glucose') ORDER BY labevents.charttime ...
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, ...
Number of users with 10k+ rep.
CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number...
SELECT COUNT(*) FROM Users WHERE Reputation >= 10000
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 different role codes for users, and how many users have each Show bar chart, show from low to high by the X-axis please.
CREATE TABLE Roles ( role_code VARCHAR(15), role_description VARCHAR(80) ) CREATE TABLE Functional_Areas ( functional_area_code VARCHAR(15), parent_functional_area_code VARCHAR(15), functional_area_description VARCHAR(80) ) CREATE TABLE Users ( user_id INTEGER, role_code VARCHAR(15), u...
SELECT role_code, COUNT(*) FROM Users GROUP BY role_code ORDER BY role_code
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, ...
For Ynysybwl RFC, what was the losing bonus for 416 points?
CREATE TABLE table_name_48 ( losing_bonus VARCHAR, points_for VARCHAR, club VARCHAR )
SELECT losing_bonus FROM table_name_48 WHERE points_for = "416" AND club = "ynysybwl rfc"
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 Irish name for the 1 fraction of 1/240?
CREATE TABLE table_1682865_1 ( irish_name VARCHAR, £1_fraction VARCHAR )
SELECT irish_name FROM table_1682865_1 WHERE £1_fraction = "1/240"
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 played on august 25
CREATE TABLE table_name_14 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_14 WHERE date = "august 25"
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, ...
How many nuclear power plants were shut down now?
CREATE TABLE nuclear_power_plants ( id text, name text, latitude text, longitude text, country text, status text, reactortype text, reactormodel text, constructionstartat text, operationalfrom text, operationalto text, capacity text, lastupdatedat text, source tex...
SELECT COUNT(*) FROM nuclear_power_plants WHERE status = "Shutdown"
geonucleardata
[ [ 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 West Manila's tariff increase when its CPI is 60.6?
CREATE TABLE table_21482 ( "Year" real, "West Manila" text, "East Manila" text, "Consumer Price Index (2005=100)" text, "West Manila as a share of 1996 real tariff" text, "East Manila as a share of 1996 real tariff" text )
SELECT "West Manila" FROM table_21482 WHERE "Consumer Price Index (2005=100)" = '60.6'
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, ...
In what game was the attendance at the America West Arena 18,756?
CREATE TABLE table_31416 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text )
SELECT MAX("Game") FROM table_31416 WHERE "Location Attendance" = 'America West Arena 18,756'
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 toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00?
CREATE TABLE table_1211545_2 ( light_vehicle VARCHAR, heavy_vehicle__2_axles_ VARCHAR )
SELECT light_vehicle FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R87.00"
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 number of years that Kim was nominated at the Sitges Film Festival?
CREATE TABLE table_name_78 ( year VARCHAR, group VARCHAR )
SELECT COUNT(year) FROM table_name_78 WHERE group = "sitges film festival"
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, ...
How many matches have a City/Country of karachi, pakistan, and a Year larger than 1996?
CREATE TABLE table_6282 ( "Runs" real, "Match" real, "City/Country" text, "Venue" text, "Year" real )
SELECT COUNT("Match") FROM table_6282 WHERE "City/Country" = 'karachi, pakistan' AND "Year" > '1996'
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, ...
Rank the country of product origins in terms of pesticide residues detection.
CREATE TABLE sampledata15 ( sample_pk number, state text, year text, month text, day text, site text, commod text, source_id text, variety text, origin text, country text, disttype text, commtype text, claim text, quantity number, growst text, packst t...
SELECT T1.country FROM sampledata15 AS T1 JOIN resultsdata15 AS T2 ON T1.sample_pk = T2.sample_pk GROUP BY T1.country ORDER BY T2.concen
pesticide
[ [ 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 competed on may 6, 2006?
CREATE TABLE table_name_50 ( opponents VARCHAR, date VARCHAR )
SELECT opponents FROM table_name_50 WHERE date = "may 6, 2006"
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 sum of Altrincham's Points 2 when they had more than 52 Goals For?
CREATE TABLE table_44151 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Average 1" real, "Points 2" real )
SELECT SUM("Points 2") FROM table_44151 WHERE "Goals For" > '52' AND "Team" = 'altrincham'
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 was the first canal opened in scotland ?
CREATE TABLE table_203_594 ( id number, "canal" text, "length (miles)" number, "locks" number, "max length (ft)" number, "width (ft)" number, "year opened" number, "year abandoned" number, "year restored" number )
SELECT "canal" FROM table_203_594 ORDER BY "year opened" LIMIT 1
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, ...
AA flights to HOUSTON from CINCINNATI
CREATE TABLE state ( state_code text, state_name text, country_name text ) CREATE TABLE food_service ( meal_code text, meal_number int, compartment text, meal_description varchar ) CREATE TABLE days ( days_code varchar, day_name varchar ) CREATE TABLE time_zone ( time_zone_cod...
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_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'HOUSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'CINCI...
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, ...
no of users every year.
CREATE TABLE PostsWithDeleted ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDispl...
SELECT SUM(a.Reputation) FROM (SELECT TOP(2415565) AS Reputation FROM Users ORDER BY Reputation) AS a
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 is Plural, when Singular is tor (your)?
CREATE TABLE table_name_33 ( plural VARCHAR, singular VARCHAR )
SELECT plural FROM table_name_33 WHERE singular = "tor (your)"
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, ...
For the area which was 9.1 in October 2010, what is the figure for October 2012?
CREATE TABLE table_21531764_1 ( october_2012 VARCHAR, october_2010 VARCHAR )
SELECT october_2012 FROM table_21531764_1 WHERE october_2010 = "9.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, ...
Which home team score has an Away team score of 15.9 (99)?
CREATE TABLE table_54551 ( "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_54551 WHERE "Away team score" = '15.9 (99)'
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, ...
give me the number of patients whose admission location is clinic referral/premature and item id is 50863?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND lab.itemid = "50863"
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, ...
For those records from the products and each product's manufacturer, give me the comparison about the average of code over the headquarter , and group by attribute headquarter by a bar chart, I want to order by the y axis from low to high please.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code
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, ...
Which week 2 had a week 3 of Cidney Carson?
CREATE TABLE table_name_74 ( week_2 VARCHAR, week_3 VARCHAR )
SELECT week_2 FROM table_name_74 WHERE week_3 = "cidney carson"
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, ...
How many people attended the game on February 3, 2008?
CREATE TABLE table_53421 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text )
SELECT SUM("Attendance") FROM table_53421 WHERE "Date" = 'february 3, 2008'
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 average number of weeks that the opponent was the Denver Broncos?
CREATE TABLE table_76998 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Kickoff Time" text, "Attendance" text )
SELECT AVG("Week") FROM table_76998 WHERE "Opponent" = 'denver broncos'
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's the Place of birth listed that has an Elevator of ALexander III, and an Elector of Ruggiero Di San Severino?
CREATE TABLE table_14246 ( "Elector" text, "Place of birth" text, "Cardinalatial title" text, "Elevated" text, "Elevator" text )
SELECT "Place of birth" FROM table_14246 WHERE "Elevator" = 'alexander iii' AND "Elector" = 'ruggiero di san severino'
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, ...
Who had the most assists and how many did they have in game 35?
CREATE TABLE table_29904 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High assists" FROM table_29904 WHERE "Game" = '35'
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 place had 14:11.15 as the performance?
CREATE TABLE table_66264 ( "Event" text, "Performance" text, "Athlete" text, "Nation" text, "Place" text, "Date" text )
SELECT "Place" FROM table_66264 WHERE "Performance" = '14:11.15'
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's the output of patient 028-53285 for the first time until 1700 days ago?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE d...
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 = '028-53285')) AND intakeoutput.cellpath LIKE '%output%' 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 is the Name of the Player with a Rank of 23 or less, Heat of 4 and Result of 55.91?
CREATE TABLE table_66247 ( "Rank" real, "Heat" real, "Name" text, "Nationality" text, "Result" text )
SELECT "Name" FROM table_66247 WHERE "Heat" = '4' AND "Rank" < '23' AND "Result" = '55.91'
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, ...
give me the top four most common diagnostics during the last year?
CREATE TABLE d_icd_procedures ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id ...
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '...
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 IS THE PLAYER WITH A SCORE OF 66?
CREATE TABLE table_name_76 ( player VARCHAR, score VARCHAR )
SELECT player FROM table_name_76 WHERE score = 66
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 active period for the pop genre?
CREATE TABLE table_15678 ( "Artist" text, "Country of origin" text, "Period active" text, "Release-year of first charted record" real, "Genre" text, "Claimed sales" text )
SELECT "Period active" FROM table_15678 WHERE "Genre" = 'pop'
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, ...
For all employees who have the letters D or S in their first name, give me the comparison about the sum of salary over the job_id , and group by attribute job_id, and could you sort X-axis in descending order?
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID 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, ...
Bring the list of patients admitted before 2170 who had a clopidogrel bisulfate drug prescription.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2170" AND prescriptions.drug = "Clopidogrel Bisulfate"
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 length of time that the BE 900 has been offered for ?
CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar, test_id varchar ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE instructor ( ...
SELECT DISTINCT semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'BE' AND course.number = 900 AND semester.semester_id = course_offering.semester ORDER BY semester.year LIMIT 1
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 was the first time that patient 033-22108 had the maximum value of the heartrate on the current intensive care unit visit?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, ...
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-22108') AND patient.unitdischargetime IS NULL) ...
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, ...
User with most famous/notable/popular badges.
CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ) CREATE TABLE Comments ( Id number,...
SELECT UserId AS "user_link", SUM(CASE WHEN Class = 1 THEN 1 ELSE 0 END) AS gold, SUM(CASE WHEN Class = 2 THEN 1 ELSE 0 END) AS silver, SUM(CASE WHEN Class = 3 THEN 1 ELSE 0 END) AS bronze, COUNT(Id) AS total FROM Badges WHERE (Name = '##name1?Famous Question##') OR (Name = '##name2?Notable Question##') OR (Name = '##n...
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 is the minimum number of patients diagnosed with inf mcrg rstn pncllins yearly since 2103?
CREATE TABLE labevents ( row_id number, subject_id number, hadm_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, ...
SELECT MIN(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'inf mcrg rstn pncllins') AND STRFTIME('%y', diagnoses_icd.charttime) >= '2103' GROUP BY STRFTIME('%y',...
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, ...
Show me the total number by country in a histogram
CREATE TABLE flight ( id int, Vehicle_Flight_number text, Date text, Pilot text, Velocity real, Altitude real, airport_id int, company_id int ) CREATE TABLE operate_company ( id int, name text, Type text, Principal_activities text, Incorporated_in text, Group_Equ...
SELECT Country, COUNT(*) FROM airport GROUP BY Country
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, ...
how many patients until 2100 had received a spinal struct repair nec procedure?
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 cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id...
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'spinal struct repair nec') AND STRFTIME('%y', proced...
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 is the number of losses when the goal difference was -8, and position is smaller than 10?
CREATE TABLE table_name_37 ( losses VARCHAR, goal_difference VARCHAR, position VARCHAR )
SELECT COUNT(losses) FROM table_name_37 WHERE goal_difference = -8 AND position < 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 a bar chart for what are the draft pick numbers and draft classes for players who play the Defender position?, and list from low to high by the y axis please.
CREATE TABLE player ( Player_ID int, Player text, Years_Played text, Total_WL text, Singles_WL text, Doubles_WL text, Team int ) CREATE TABLE match_season ( Season real, Player text, Position text, Country int, Team int, Draft_Pick_Number int, Draft_Class text, ...
SELECT Draft_Class, Draft_Pick_Number FROM match_season WHERE Position = "Defender" ORDER BY Draft_Pick_Number
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, ...