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
Name the date for the australian grand prix.
CREATE TABLE table_55643 ( "Round" real, "Grand Prix" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Constructor" text, "Report" text )
SELECT "Date" FROM table_55643 WHERE "Grand Prix" = 'australian grand prix'
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 Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28 29 june, and a Type with scheduled?
CREATE TABLE table_54601 ( "Year" real, "Date" text, "Type" text, "President" text, "Location" text )
SELECT "Location" FROM table_54601 WHERE "Year" > '2011' AND "President" = 'herman van rompuy (2nd term)' AND "Date" = '28–29 june' AND "Type" = 'scheduled'
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 penalty for the DET team player Andreas Lilja?
CREATE TABLE table_name_42 ( penalty VARCHAR, team VARCHAR, player VARCHAR )
SELECT penalty FROM table_name_42 WHERE team = "det" AND player = "andreas lilja"
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, ...
Multiuser Receiver in Decision Feedback papers
CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE dataset ( datasetid...
SELECT DISTINCT paperkeyphrase.paperid FROM keyphrase, paperkeyphrase WHERE keyphrase.keyphrasename IN ('Multiuser Receiver', 'Decision Feedback') GROUP BY paperkeyphrase.paperid HAVING COUNT(DISTINCT keyphrase.keyphraseid) = 1
scholar
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 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 has a Snatch of 157.0?
CREATE TABLE table_name_78 ( name VARCHAR, snatch VARCHAR )
SELECT name FROM table_name_78 WHERE snatch = "157.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, ...
Questions grouped by # of favourite votes.
CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, Revision...
SELECT FavoriteCount, COUNT(*), MIN(Id) AS "post_link" FROM Posts WHERE PostTypeId = 1 GROUP BY FavoriteCount ORDER BY FavoriteCount
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, ...
Compare the prices of each manufacturer's most expensive product with a bar chart, and could you order x-axis in descending order?
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T2.Name, MAX(T1.Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY Name DESC
nvbench
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find hire_date and the sum of manager_id bin hire_date by weekday, and visualize them by a bar chart.
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, SUM(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
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 posts have a flag.
CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ApprovalDa...
SELECT p.Id AS "post_link", CASE WHEN vt.Id = 15 THEN 'moderator review' WHEN vt.Id = 4 THEN 'offenisive' WHEN vt.Id = 12 THEN 'spam' END FROM Votes AS v INNER JOIN VoteTypes AS vt ON v.VoteTypeId = vt.Id INNER JOIN Posts AS p ON p.Id = v.PostId WHERE vt.Id IN (15, 4, 12) AND p.OwnerUserId = '##userid##'
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, ...
when has patient 46590 first had the ptt minimum value during their first hospital encounter?
CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE d_items ( row_id...
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 46590 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'ptt'...
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 every entry for description when the value of %yes is 51.82%?
CREATE TABLE table_3356 ( "meas. num." real, "passed" text, "YES votes" real, "NO votes" real, "% YES" text, "Const. Amd.?" text, "type" text, "description" text )
SELECT "description" FROM table_3356 WHERE "% YES" = '51.82%'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For each zip code, return how many times max wind speed reached 25?
CREATE TABLE weather ( zip_code VARCHAR, max_wind_Speed_mph VARCHAR )
SELECT zip_code, COUNT(*) FROM weather WHERE max_wind_Speed_mph >= 25 GROUP BY zip_code
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, ...
Who built the conant creek pegram truss railroad bridge?
CREATE TABLE table_name_71 ( built VARCHAR, name VARCHAR )
SELECT built FROM table_name_71 WHERE name = "conant creek pegram truss railroad bridge"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Users' first questions by specific tag.
CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate ...
WITH FirstQuestions AS (SELECT * FROM Posts AS Q WHERE Q.PostTypeId = 1 AND NOT EXISTS(SELECT * FROM Posts AS P WHERE P.OwnerUserId = Q.OwnerUserId AND P.PostTypeId = 1 AND P.CreationDate < Q.CreationDate)), UserQuestions AS (SELECT U.*, (CASE WHEN Q.Tags LIKE @Pattern THEN 1 ELSE 0 END) AS "isid" FROM Users AS U INNER...
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, ...
Give the classes that have more than two captains.
CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text )
SELECT class FROM captain GROUP BY class HAVING COUNT(*) > 2
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, ...
are in tobago species liophis cobellus cobellus?
CREATE TABLE table_1874 ( "Species" text, "Common name" text, "Trinidad" text, "Tobago" text, "Bocas Is." text, "Other" text )
SELECT "Tobago" FROM table_1874 WHERE "Species" = 'Liophis cobellus cobellus'
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 Friesland's gdp per capita?
CREATE TABLE table_1067441_1 ( _in_€_ VARCHAR, gdp_per_cap__2003 INTEGER, province VARCHAR )
SELECT MIN(gdp_per_cap__2003), _in_€_ FROM table_1067441_1 WHERE province = "Friesland"
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 winning score has in-kyung kim as the runner(s)-up?
CREATE TABLE table_name_64 ( winning_score VARCHAR, runner_s__up VARCHAR )
SELECT winning_score FROM table_name_64 WHERE runner_s__up = "in-kyung kim"
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 are some classes that are upper-level offering 8 credits .
CREATE TABLE comment_instructor ( instructor_id int, student_id int, score int, comment_text varchar ) CREATE TABLE student_record ( student_id int, course_id int, semester int, grade varchar, how varchar, transfer_source varchar, earn_credit varchar, repeat_term varchar...
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 8 AND program_course.category LIKE 'ULCS'
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 Pro Debut, when Tournament is greater than 11, and when Highest Rank is 'Maegashira 1'?
CREATE TABLE table_58794 ( "Name" text, "Tournaments" real, "Pro Debut" text, "Top division debut" text, "Highest rank" text )
SELECT "Pro Debut" FROM table_58794 WHERE "Tournaments" > '11' AND "Highest rank" = 'maegashira 1'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many wines are produced at Robert Biale winery?
CREATE TABLE grapes ( id number, grape text, color text ) CREATE TABLE appellations ( no number, appelation text, county text, state text, area text, isava text ) CREATE TABLE wine ( no number, grape text, winery text, appelation text, state text, name text,...
SELECT COUNT(*) FROM wine WHERE winery = "Robert Biale"
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, ...
How many points did player 7 score in the challenge cup?
CREATE TABLE table_73432 ( "P" real, "Player" text, "League" real, "Scottish Cup" real, "League Cup" real, "Challenge Cup" real, "Total" real )
SELECT COUNT("Challenge Cup") FROM table_73432 WHERE "P" = '7'
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 Paul McCartney has a Linda McCartney of keyboards?
CREATE TABLE table_39558 ( "Paul McCartney" text, "Stuart" text, "McIntosh" text, "Whitten" text, "Linda McCartney" text )
SELECT "Paul McCartney" FROM table_39558 WHERE "Linda McCartney" = 'keyboards'
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, ...
Name the regular judge when host is anja rubik
CREATE TABLE table_1597866_3 ( regular_judge VARCHAR, host VARCHAR )
SELECT regular_judge FROM table_1597866_3 WHERE host = "Anja Rubik"
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 those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about the amount of hire_date over the hire_date bin hire_date by weekday, and sort how many hire date in ascending order.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25...
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY COUNT(HIRE_DATE)
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 1976 when 1980 is 2.0?
CREATE TABLE table_76811 ( "1976" text, "1977" text, "1978" text, "1979" text, "1980" text )
SELECT "1976" FROM table_76811 WHERE "1980" = '2.0'
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 Visitor has a Home of vancouver, and a Decision of cloutier?
CREATE TABLE table_name_30 ( visitor VARCHAR, home VARCHAR, decision VARCHAR )
SELECT visitor FROM table_name_30 WHERE home = "vancouver" AND decision = "cloutier"
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 locations was game 3 played at?
CREATE TABLE table_23248967_5 ( location_attendance VARCHAR, game VARCHAR )
SELECT COUNT(location_attendance) FROM table_23248967_5 WHERE game = 3
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you show me my transcript ?
CREATE TABLE student ( student_id int, lastname varchar, firstname varchar, program_id int, declare_major varchar, total_credit int, total_gpa float, entered_as varchar, admit_term int, predicted_graduation_semester int, degree varchar, minor varchar, internship varch...
SELECT DISTINCT course.department, course.name, course.number, semester.semester, semester.year, student_record.grade FROM course, semester, student_record WHERE student_record.course_id = course.course_id AND student_record.semester = semester.semester_id AND student_record.student_id = 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, ...
Who is the television commentator when the radio commentator is Galyna Babiy?
CREATE TABLE table_1998037_9 ( television_commentator VARCHAR, radio_commentator VARCHAR )
SELECT television_commentator FROM table_1998037_9 WHERE radio_commentator = "Galyna Babiy"
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's the report with fastest lap being felipe massa and winning driver being jenson button
CREATE TABLE table_17483 ( "Rd." real, "Grand Prix" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning constructor" text, "Report" text )
SELECT "Report" FROM table_17483 WHERE "Fastest lap" = 'Felipe Massa' AND "Winning driver" = 'Jenson Button'
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 highest rebounds on game 5?
CREATE TABLE table_name_33 ( high_rebounds VARCHAR, game VARCHAR )
SELECT high_rebounds FROM table_name_33 WHERE game = 5
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What shows as the status for the name of de la red?
CREATE TABLE table_70525 ( "Name" text, "Country" text, "Status" text, "Transfer window" text, "Transfer fee" text )
SELECT "Status" FROM table_70525 WHERE "Name" = 'de la red'
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 the English translation Someone Like You, what is the lowest draw?
CREATE TABLE table_name_76 ( draw INTEGER, english_translation VARCHAR )
SELECT MIN(draw) FROM table_name_76 WHERE english_translation = "someone like you"
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, ...
Name the total number of bronze medals when gold medals was 2, total medals more than 4 and silver medals less than 5
CREATE TABLE table_name_87 ( bronze_medals VARCHAR, silver_medals VARCHAR, gold_medals VARCHAR, total_medals VARCHAR )
SELECT COUNT(bronze_medals) FROM table_name_87 WHERE gold_medals = 2 AND total_medals > 4 AND silver_medals < 5
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the start when the finish is 1?
CREATE TABLE table_9396 ( "Year" real, "Manufacturer" text, "Start" text, "Finish" text, "Team" text )
SELECT "Start" FROM table_9396 WHERE "Finish" = '1'
wikisql
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how much data is SEDE 'missing'? (due to updates being only weekly) ...Answer: %. SEDE data is updated Sundays mornings so data is up to 7 days behind. What % of the 'actual' (live) data is missing, at most? (based on recordcount in POSTS) (ANSWER: Less than 1/4 of 1%, at most)
CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostTags ( PostId number, TagId number ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number,...
SELECT MAX(CreationDate) FROM Comments
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, ...
Which Host City has more than 6 Silver and a Total of 22?
CREATE TABLE table_name_74 ( host_city VARCHAR, silver VARCHAR, total VARCHAR )
SELECT host_city FROM table_name_74 WHERE silver > 6 AND total = 22
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 location attendance when High points was by Pierce (22)?
CREATE TABLE table_394 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Location Attendance" FROM table_394 WHERE "High points" = 'Pierce (22)'
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 novel that has a valid status, located in Mongolia, and named Prenocephale?
CREATE TABLE table_name_40 ( novelty VARCHAR, name VARCHAR, status VARCHAR, location VARCHAR )
SELECT novelty FROM table_name_40 WHERE status = "valid" AND location = "mongolia" AND name = "prenocephale"
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 whose procedure short title is opn rt hemicolectomy nec?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Opn rt hemicolectomy NEC"
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 country is the artist who made the fewest songs from?
CREATE TABLE files ( f_id number, artist_name text, file_size text, duration text, formats text ) CREATE TABLE song ( song_name text, artist_name text, country text, f_id number, genre_is text, rating number, languages text, releasedate time, resolution number ) ...
SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name GROUP BY T2.artist_name ORDER BY COUNT(*) LIMIT 1
spider
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which monarchs attended the same college at the university of oxford as seretse khama ?
CREATE TABLE table_203_640 ( id number, "name" text, "college" text, "years" text, "reign" text )
SELECT "name" FROM table_203_640 WHERE "name" <> 'seretse khama' AND "college" = (SELECT "college" FROM table_203_640 WHERE "name" = 'seretse khama')
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 is his lowest number of wins?
CREATE TABLE table_2560 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text )
SELECT MIN("Wins") FROM table_2560
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 score has t3 as the place?
CREATE TABLE table_name_27 ( score VARCHAR, place VARCHAR )
SELECT score FROM table_name_27 WHERE place = "t3"
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 location of the car that has a constructor of Lorraine-Dietrich?
CREATE TABLE table_18893428_1 ( location VARCHAR, constructor VARCHAR )
SELECT location FROM table_18893428_1 WHERE constructor = "Lorraine-Dietrich"
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 surface when the opponent was judith wiesner, and the outcome was winner?
CREATE TABLE table_name_51 ( surface VARCHAR, outcome VARCHAR, opponent VARCHAR )
SELECT surface FROM table_name_51 WHERE outcome = "winner" AND opponent = "judith wiesner"
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, ...
Who was the partner that played a match on a grass court?
CREATE TABLE table_name_52 ( partner VARCHAR, surface VARCHAR )
SELECT partner FROM table_name_52 WHERE surface = "grass"
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 name and level of catalog structure with level between 5 and 10.
CREATE TABLE attribute_definitions ( attribute_id number, attribute_name text, attribute_data_type text ) CREATE TABLE catalog_contents_additional_attributes ( catalog_entry_id number, catalog_level_number number, attribute_id number, attribute_value text ) CREATE TABLE catalog_contents ( ...
SELECT catalog_level_name, catalog_level_number FROM catalog_structure WHERE catalog_level_number BETWEEN 5 AND 10
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, ...
has patient 030-47098 received the insertion of thoracostomy tube - for drainage of air procedure in other hospitals in 2105?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost numbe...
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '030-47098' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '030-47098' AND patient.hospitaldischargetime IS NULL)) AND tr...
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, ...
Name the high points for l 109 112 (ot)
CREATE TABLE table_2822 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High points" FROM table_2822 WHERE "Score" = 'L 109–112 (OT)'
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, show me about the distribution of hire_date and the sum of salary bin hire_date by time in a bar chart.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varc...
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
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 role was nominated at the Sydney Film Festival?
CREATE TABLE table_47438 ( "Year" real, "Nominated/Won" text, "Award/category" text, "Festival/organization" text, "Role" text )
SELECT "Role" FROM table_47438 WHERE "Festival/organization" = 'sydney film festival'
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 laps for ralph firman with a grid of over 19?
CREATE TABLE table_name_32 ( laps INTEGER, driver VARCHAR, grid VARCHAR )
SELECT AVG(laps) FROM table_name_32 WHERE driver = "ralph firman" AND grid > 19
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, ...
Average User Registrations Per Day.
CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDisplayName text...
SELECT Users."count" FROM (SELECT COUNT(*) AS "count", CreationDate FROM Users GROUP BY CreationDate) AS users
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 was the competition in 2003?
CREATE TABLE table_name_43 ( competition VARCHAR, year VARCHAR )
SELECT competition FROM table_name_43 WHERE year = 2003
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 customers have used both the service named 'Close a policy' and the service named 'Upgrade a policy'? Give me the customer names.
CREATE TABLE customers ( customer_id number, customer_name text ) CREATE TABLE claims ( claim_id number, fnol_id number, effective_date time ) CREATE TABLE available_policies ( policy_id number, policy_type_code text, customer_phone text ) CREATE TABLE services ( service_id number...
SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_id = t2.customer_id JOIN services AS t3 ON t2.service_id = t3.service_id WHERE t3.service_name = "Close a policy" INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN first_notification_of_loss AS t2 ON t1.customer_...
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 original channel when the note is co-star in year 2012?
CREATE TABLE table_57908 ( "Year" real, "Title" text, "Original channel" text, "Role" text, "Note" text )
SELECT "Original channel" FROM table_57908 WHERE "Note" = 'co-star' AND "Year" = '2012'
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 largest number of innings with less than 342 runs and more than 4 matches?
CREATE TABLE table_name_86 ( innings INTEGER, runs VARCHAR, matches VARCHAR )
SELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 4
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Original air date for the episode written by Peter Ocko?
CREATE TABLE table_18007 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "Original air date" FROM table_18007 WHERE "Written by" = 'Peter Ocko'
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 score of the match in which mardy fish was the partner?
CREATE TABLE table_name_72 ( score VARCHAR, partner VARCHAR )
SELECT score FROM table_name_72 WHERE partner = "mardy fish"
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 date of appointment when replaced by is roy hodgson?
CREATE TABLE table_10592536_8 ( date_of_appointment VARCHAR, replaced_by VARCHAR )
SELECT date_of_appointment FROM table_10592536_8 WHERE replaced_by = "Roy Hodgson"
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 only team to place 5th called ?
CREATE TABLE table_203_450 ( id number, "team" text, "outgoing manager" text, "manner of departure" text, "date of vacancy" text, "replaced by" text, "date of appointment" text, "position in table" text )
SELECT "team" FROM table_203_450 WHERE "position in table" = 5
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, ...
On what date did the match take place in a round of 1r and have a result 2 6, 5 7, 2 6?
CREATE TABLE table_name_62 ( date VARCHAR, round VARCHAR, result VARCHAR )
SELECT date FROM table_name_62 WHERE round = "1r" AND result = "2–6, 5–7, 2–6"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was steve bartalo picked?
CREATE TABLE table_56768 ( "Pick" real, "Round" text, "Player" text, "Position" text, "School" text )
SELECT MAX("Pick") FROM table_56768 WHERE "Player" = 'steve bartalo'
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 directed the episode that elaine ko wrote?
CREATE TABLE table_27332038_1 ( directed_by VARCHAR, written_by VARCHAR )
SELECT directed_by FROM table_27332038_1 WHERE written_by = "Elaine Ko"
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 users have the most favourites?.
CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDisplayName text...
SELECT COUNT(v.Id) AS UserFaves, u.Reputation FROM Users AS u INNER JOIN Votes AS v ON v.UserId = u.Id AND v.VoteTypeId = 5 GROUP BY u.Id, u.Reputation ORDER BY UserFaves DESC
sede
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the courses that are HISTART 8 -credit Courses ?
CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE area ( course_id int, area varchar ) CREATE TABLE gsi ( c...
SELECT DISTINCT name, number FROM course WHERE department = 'HISTART' AND credits = 8
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 placing of the nation of East Germany?
CREATE TABLE table_53688 ( "Rank" real, "Name" text, "Nation" text, "Total Points" real, "Placings" real )
SELECT COUNT("Placings") FROM table_53688 WHERE "Nation" = 'east germany'
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 league goals has FA cup apps of 2?
CREATE TABLE table_31788 ( "Division" text, "League Apps" real, "League Goals" real, "FA Cup Apps" real, "FA Cup Goals" real, "Total Apps" real, "Total Goals" real )
SELECT "League Goals" FROM table_31788 WHERE "FA Cup Apps" = '2'
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 upvoted, accepted, u+a, (acc=1,up=2,acc+up=3).
CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text ) CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, ...
SELECT u.DisplayName, u.Id, p.PostTypeId, p.OwnerUserId, p.AcceptedAnswerId, p.Score, p.ParentId, p.Body, p.Title, aa.PostTypeId, aa.AcceptedAnswerId, aa.OwnerUserId, aa.Title, aa.Body, aa.Score, CASE WHEN p.Score > 0 THEN 2 ELSE 0 END + CASE WHEN NOT aa.AcceptedAnswerId IS NULL THEN 1 ELSE 0 END AS "uu", CASE WHEN aa....
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's the part 4 for the verb whose part 3 is borgen?
CREATE TABLE table_21700 ( "Class" text, "Part 1" text, "Part 2" text, "Part 3" text, "Part 4" text, "Verb meaning" text )
SELECT "Part 4" FROM table_21700 WHERE "Part 3" = 'borgen'
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 states were there when there was an enrollment of 2789?
CREATE TABLE table_30140 ( "Institution" text, "City" text, "State" text, "Team Name" text, "Affiliation" text, "Enrollment" real, "Home Conference" text )
SELECT COUNT("State") FROM table_30140 WHERE "Enrollment" = '2789'
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 did patient 81461 receive the last prescription in their current hospital visit for vecuronium bromide?
CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name text ) CREATE TABLE procedures_icd ( row_id number, subject_id number, hadm_id number, icd9_code text, charttime time ) CREATE TABLE d_items ( ...
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 81461 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'vecuronium bromide' ORDER BY prescriptions.startdate DESC LIMIT 1
mimic_iii
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Muklom has a Halang of w c i ?
CREATE TABLE table_name_23 ( muklom VARCHAR, halang VARCHAR )
SELECT muklom FROM table_name_23 WHERE halang = "wɯ¹cʰi¹"
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 what place is the golfer with a score of 68-69-73-70=280?
CREATE TABLE table_name_24 ( place VARCHAR, score VARCHAR )
SELECT place FROM table_name_24 WHERE score = 68 - 69 - 73 - 70 = 280
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 status has 15/04/1967 as the date?
CREATE TABLE table_name_33 ( status VARCHAR, date VARCHAR )
SELECT status FROM table_name_33 WHERE date = "15/04/1967"
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, ...
Return a scatter chart about the correlation between Team_ID and School_ID , and group by attribute ACC_Home.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT Team_ID, School_ID FROM basketball_match GROUP BY ACC_Home
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 Round 1 from 1977 where Round 3 is Double and Round 4 is Double?
CREATE TABLE table_40925 ( "From" real, "Goal" text, "Round 1" text, "Round 2" text, "Round 3" text, "Round 4" text, "Round 5" text, "Round 6+" text )
SELECT "Round 1" FROM table_40925 WHERE "Round 4" = 'double' AND "From" = '1977' AND "Round 3" = 'double'
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, ...
count the number of people who had been admitted in 2105 to hospital.
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime t...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE STRFTIME('%y', patient.hospitaladmittime) = '2105'
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 club has a league/division of fourth division?
CREATE TABLE table_14097 ( "Club" text, "League/Division" text, "Home Ground" text, "Location" text, "Position in 2012-13" text )
SELECT "Club" FROM table_14097 WHERE "League/Division" = 'fourth division'
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 a bar chart for how many actual delivery date of each actual delivery date, I want to sort by the Y from low to high.
CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15), Workshop_Group_ID INTEGER, Product_Description VARCHAR(255), Product_Name VARCHAR(255), Product_Price DECIMAL(20,4), Other_Product_Service_Details VARCHAR(255) ) CREATE TABLE Ref_Service_Types ( Service_Type_Code CH...
SELECT Actual_Delivery_Date, COUNT(Actual_Delivery_Date) FROM Bookings ORDER BY COUNT(Actual_Delivery_Date)
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 players had an Att-Cmp-Int of 143 269 16, and an efficiency of less than 116.9?
CREATE TABLE table_name_88 ( avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR )
SELECT COUNT(avg_g) FROM table_name_88 WHERE att_cmp_int = "143–269–16" AND effic < 116.9
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 are all the positions for the rockets in 2008?
CREATE TABLE table_11734041_7 ( position VARCHAR, years_for_rockets VARCHAR )
SELECT position FROM table_11734041_7 WHERE years_for_rockets = "2008"
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 team opponent had a loss with their pitcher Dotson (8-6)?
CREATE TABLE table_70542 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Opponent" FROM table_70542 WHERE "Loss" = 'dotson (8-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, ...
What was the away team for the New Zealand breakers?
CREATE TABLE table_44705 ( "Date" text, "Home team" text, "Score" text, "Away team" text, "Venue" text, "Box Score" text, "Report" text )
SELECT "Report" FROM table_44705 WHERE "Away team" = 'new zealand breakers'
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, ...
Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000, and count them by a bar chart
CREATE TABLE Sales ( sales_transaction_id INTEGER, sales_details VARCHAR(255) ) CREATE TABLE Investors ( investor_id INTEGER, Investor_details VARCHAR(255) ) CREATE TABLE Lots ( lot_id INTEGER, investor_id INTEGER, lot_details VARCHAR(255) ) CREATE TABLE Transactions_Lots ( transactio...
SELECT date_of_transaction, COUNT(date_of_transaction) FROM Transactions WHERE share_count > 100 OR amount_of_transaction > 1000
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 results have Jere Cooper as incumbent?
CREATE TABLE table_768 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Result" FROM table_768 WHERE "Incumbent" = 'Jere Cooper'
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 Nationalist share of the poll for the response in which Undecided/No Answer received 29.2%?
CREATE TABLE table_name_8 ( nationalist VARCHAR, undecided__no_answer VARCHAR )
SELECT nationalist FROM table_name_8 WHERE undecided__no_answer = "29.2%"
sql_create_context
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1721, 4723, 220, 2366, 20, 271, 2675, 527, 264, 7941, 1887, 28175, 304, ...
[ [ -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Score for the Date of April 23?
CREATE TABLE table_58252 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text )
SELECT "Score" FROM table_58252 WHERE "Date" = 'april 23'
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, ...
so how many days have passed since patient 002-34744's last depression - mild diagnosis during their current hospital visit?
CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, ...
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-34744'...
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 year did Omar Gonzalez graduate?
CREATE TABLE table_32390 ( "Player" text, "Home Town" text, "College/Prior" text, "Drafting Team" text, "Graduated" real )
SELECT SUM("Graduated") FROM table_32390 WHERE "Player" = 'omar gonzalez'
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 states have more than 2 parks?
CREATE TABLE batting_postseason ( year number, round text, player_id text, team_id text, league_id text, g number, ab number, r number, h number, double number, triple number, hr number, rbi number, sb number, cs number, bb number, so number, ibb n...
SELECT state FROM park GROUP BY state HAVING COUNT(*) > 2
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 Lisladeen poor law union?
CREATE TABLE table_31496 ( "Townland" text, "Area( acres )" real, "Barony" text, "Civil parish" text, "Poor law union" text )
SELECT "Poor law union" FROM table_31496 WHERE "Townland" = 'Lisladeen'
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 viewers tuned in for season 2?
CREATE TABLE table_24929 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "U.S. viewers (million)" FROM table_24929 WHERE "No. in season" = '2'
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, ...
Prof. Emily Harrington teaches what courses ?
CREATE TABLE program ( program_id int, name varchar, college varchar, introduction varchar ) 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...
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Emily Harrington%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_i...
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, ...
Have I taken any ULCS courses ?
CREATE TABLE semester ( semester_id int, semester varchar, year int ) CREATE TABLE requirement ( requirement_id int, requirement varchar, college varchar ) CREATE TABLE instructor ( instructor_id int, name varchar, uniqname varchar ) CREATE TABLE course_prerequisite ( pre_cour...
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN student_record ON student_record.course_id = course.course_id INNER JOIN program_course ON student_record.course_id = program_course.course_id WHERE program_course.category LIKE '%ULCS%' AND student_record.student_id = 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, ...
calculate the total number of patients from catholic belief.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "CATHOLIC"
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 rank of airport with a (IATA/ICAO) of bcm/lrbc code and an amount of 240,735 in 2010?
CREATE TABLE table_name_90 ( rank INTEGER, code__iata_icao_ VARCHAR )
SELECT MIN(rank) FROM table_name_90 WHERE code__iata_icao_ = "bcm/lrbc" AND 2010 > 240 OFFSET 735
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 Record of the Montreal Canadiens Home game on March 23?
CREATE TABLE table_46087 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Record" FROM table_46087 WHERE "Home" = 'montreal canadiens' AND "Date" = 'march 23'
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, ...