NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
At which ground did Dirk Nannes have a figure of 4/23?
CREATE TABLE table_68116 ( "Player" text, "Overs" real, "Figures" text, "Opponent" text, "Ground" text )
SELECT "Ground" FROM table_68116 WHERE "Figures" = '4/23'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 20159, 41, 96, 15800, 49, 121, 1499, 6, 96, 23847, 7, 121, 490, 6, 96, 16691, 7, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 517, 7775, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 517, 7775, 121, 21680, 953, 834, 3651, 20159, 549, 17444, 427, 96, 16691, 7, 121, 3274, 3, 31, 591, 87, 2773, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What description does Livery of ews have?
CREATE TABLE table_name_61 (description VARCHAR, livery VARCHAR)
SELECT description FROM table_name_61 WHERE livery = "ews"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 221, 11830, 584, 4280, 28027, 6, 619, 651, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 4210, 405, 3306, 651, 13, 3, 15, 210, 7, 43, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4210, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 619, 651, 3274, 96, 15, 210, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the number of awardees for best cinematography
CREATE TABLE table_26858 ( "Name of Award" text, "Name of Film" text, "Language" text, "Awardee(s)" text, "Cash Prize" text )
SELECT COUNT("Awardee(s)") FROM table_26858 WHERE "Name of Award" = 'Best Cinematography'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3651, 3449, 41, 96, 23954, 13, 3677, 121, 1499, 6, 96, 23954, 13, 3417, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 188, 2239, 15, 15, 599, 7, 61, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 188, 2239, 15, 15, 599, 7, 61, 8512, 21680, 953, 834, 357, 3651, 3449, 549, 17444, 427, 96, 23954, 13, 3677, 121, 3274, 3, 31, 17278, 17544, 17, 5984, 31, 1, -100, -100, -100, -100, -100, -1...
Which clay has a Record of 2 0, and a Hard 1 0?
CREATE TABLE table_name_36 ( clay VARCHAR, record VARCHAR, hard VARCHAR )
SELECT clay FROM table_name_36 WHERE record = "2–0" AND hard = "1–0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 14364, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 6, 614, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 14364, 65, 3, 9, 11392, 13, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14364, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 1368, 3274, 96, 357, 104, 632, 121, 3430, 614, 3274, 96, 536, 104, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the type after 2004?
CREATE TABLE table_13426 ( "Name" text, "Type" text, "Relation" text, "Length" text, "Year" real )
SELECT "Type" FROM table_13426 WHERE "Year" > '2004'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2688, 41, 96, 23954, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 1649, 6105, 121, 1499, 6, 96, 434, 4606, 189, 121, 1499, 6, 96, 476, 2741, 121, 490, 3, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 25160, 121, 21680, 953, 834, 23747, 2688, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 21653, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What country has the most height in the northwestern peak of rysy?
CREATE TABLE table_26724 ( "Country or region" text, "Highest point" text, "Maximum elevation" text, "Lowest point" text, "Minimum elevation" text, "Elevation span" text )
SELECT "Country or region" FROM table_26724 WHERE "Highest point" = 'Northwestern peak of Rysy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3708, 2266, 41, 96, 10628, 651, 42, 1719, 121, 1499, 6, 96, 21417, 222, 500, 121, 1499, 6, 96, 21298, 603, 440, 16417, 121, 1499, 6, 96, 434, 32, 12425, 500, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 42, 1719, 121, 21680, 953, 834, 357, 3708, 2266, 549, 17444, 427, 96, 21417, 222, 500, 121, 3274, 3, 31, 22969, 24411, 6734, 13, 12749, 7, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average round for Wisconsin when the overall is larger than 238 and there is a defensive end?
CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR, overall VARCHAR, position VARCHAR)
SELECT AVG(round) FROM table_name_87 WHERE overall > 238 AND position = "defensive end" AND school_club_team = "wisconsin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 7775, 3, 21342, 17966, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1879, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 1879, 2490, 204, 3747, 3430, 1102, 3274, 96, 221, 23039, 15, 414, 121, 3430, 496, 834, 13442, 834, 11650, 3274, 96, 210, 159, 8056, 77, 12...
what was the name of the first episode ?
CREATE TABLE table_204_981 ( id number, "ep#" number, "title" text, "broadcast date" text, "written by" text, "directed by" text )
SELECT "title" FROM table_204_981 WHERE "ep#" = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3916, 536, 41, 3, 23, 26, 381, 6, 96, 15, 102, 4663, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 115, 8635, 5254, 833, 121, 1499, 6, 96, 14973, 57, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21869, 121, 21680, 953, 834, 26363, 834, 3916, 536, 549, 17444, 427, 96, 15, 102, 4663, 121, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the sum of account details for different statement details in a bar chart, and sort Statement_Details in asc order.
CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), Budget_Type_Description VARCHAR(255) ) CREATE TABLE Statements ( Statement_ID INTEGER, Statement_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Accounts ( Account_ID INTEGER, Statement_ID INTEGER, Account_Details VARCHAR(255) ) CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) )
SELECT Statement_Details, SUM(Account_Details) FROM Accounts AS T1 JOIN Statements AS T2 ON T1.Statement_ID = T2.Statement_ID GROUP BY Statement_Details ORDER BY Statement_Details
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 279, 13164, 17, 834, 22737, 7, 41, 12532, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 12532, 834, 25160, 834, 2962, 11830, 584, 4280, 28027, 599, 25502, 61, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16836, 834, 2962, 5756, 7, 6, 180, 6122, 599, 31963, 834, 2962, 5756, 7, 61, 21680, 6288, 7, 6157, 332, 536, 3, 15355, 3162, 16836, 7, 6157, 332, 357, 9191, 332, 5411, 134, 4748, 297, 834, 4309, 3274, 332, 4416, 1...
What was Tom Kite's to par?
CREATE TABLE table_8193 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "To par" FROM table_8193 WHERE "Player" = 'tom kite'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4959, 4271, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, 96, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 260, 121, 21680, 953, 834, 4959, 4271, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 235, 51, 3650, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the HP -hr/Gal of the methanol fuel (m100)?
CREATE TABLE table_2568 ( "Fuel - Liquid, US Gallons" text, "GGE" text, "GGE %" text, "BTU/Gal" real, "kWh/Gal" text, "HP -hr/Gal" text, "Cal/litre" text )
SELECT "HP -hr/Gal" FROM table_2568 WHERE "Fuel - Liquid, US Gallons" = 'Methanol fuel (M100)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3651, 41, 96, 371, 76, 15, 40, 3, 18, 1414, 1169, 26, 6, 837, 350, 16951, 121, 1499, 6, 96, 517, 5042, 121, 1499, 6, 96, 517, 5042, 3, 1454, 121, 1499, 6, 96, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13201, 3, 18, 107, 52, 87, 517, 138, 121, 21680, 953, 834, 1828, 3651, 549, 17444, 427, 96, 371, 76, 15, 40, 3, 18, 1414, 1169, 26, 6, 837, 350, 16951, 121, 3274, 3, 31, 329, 23243, 2914, 41, 329, 2915, 61...
Which venue hosted an away team with a score of 9.12 (66)?
CREATE TABLE table_32448 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_32448 WHERE "Away team score" = '9.12 (66)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2266, 3707, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 519, 2266, 3707, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 8797, 2122, 41, 3539, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the March playmate with a November playmate Cara Wakelin?
CREATE TABLE table_14376 ( "January" text, "February" text, "March" text, "April" text, "June" text, "July" text, "August" text, "September" text, "October" text, "November" text, "December" text )
SELECT "March" FROM table_14376 WHERE "November" = 'cara wakelin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25133, 3959, 41, 96, 30404, 121, 1499, 6, 96, 31122, 121, 1499, 6, 96, 25019, 121, 1499, 6, 96, 23323, 121, 1499, 6, 96, 683, 444, 121, 1499, 6, 96, 683, 83, 63, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 25019, 121, 21680, 953, 834, 25133, 3959, 549, 17444, 427, 96, 28635, 121, 3274, 3, 31, 1720, 9, 7178, 40, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What institution is represented by the lady saints?
CREATE TABLE table_2589963_1 ( institution VARCHAR, women VARCHAR )
SELECT institution FROM table_2589963_1 WHERE women = "Lady Saints"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3449, 3264, 3891, 834, 536, 41, 6568, 584, 4280, 28027, 6, 887, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 6568, 19, 7283, 57, 8, 9360, 15528, 7, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6568, 21680, 953, 834, 357, 3449, 3264, 3891, 834, 536, 549, 17444, 427, 887, 3274, 96, 3612, 26, 63, 2788, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many flights with price higher than 300 for each destination city? Return a bar chart, I want to show X-axis from high to low order.
CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE TABLE aircraft ( aid number(9,0), name varchar2(30), distance number(6,0) ) CREATE TABLE certificate ( eid number(9,0), aid number(9,0) ) CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10,2) )
SELECT destination, COUNT(destination) FROM flight WHERE price > 300 GROUP BY destination ORDER BY destination DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777, 41, 3, 89, 40, 29, 32, 381, 599, 8525, 632, 201, 5233, 3, 4331, 4059, 357, 599, 1755, 201, 3954, 3, 4331, 4059, 357, 599, 1755, 201, 2357, 381, 599, 11071, 632, 201, 12028, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3954, 6, 2847, 17161, 599, 13557, 257, 61, 21680, 3777, 549, 17444, 427, 594, 2490, 3147, 350, 4630, 6880, 272, 476, 3954, 4674, 11300, 272, 476, 3954, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what are the five drugs that are prescribed the most frequently during the previous year?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 26, 13534, 4350, 21680, 41, 23143, 14196, 7757, 5, 26, 13534, 4350, 6, 3, 22284, 4132, 834, 16375, 439, 9960, 3, 23288, 41, 2990, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 61, 6157, 3, ...
give me the number of patients whose death status is 0 and procedure icd9 code is 3772?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.icd9_code = "3772"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the traditional form for 宁陵县?
CREATE TABLE table_2135222_2 (traditional VARCHAR, simplified VARCHAR)
SELECT traditional FROM table_2135222_2 WHERE simplified = "宁陵县"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 2469, 26144, 834, 357, 41, 26374, 584, 4280, 28027, 6, 24687, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1435, 607, 21, 3, 2, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1435, 21680, 953, 834, 2658, 2469, 26144, 834, 357, 549, 17444, 427, 24687, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who does jeremy evans play for?
CREATE TABLE table_11491 ( "Player" text, "Nationality" text, "Position" text, "Years for Jazz" text, "School/Club Team" text )
SELECT "School/Club Team" FROM table_11491 WHERE "Player" = 'jeremy evans'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18959, 4729, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 21, 12313, 121, 1499, 6, 96, 29364, 87...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29364, 87, 254, 11158, 2271, 121, 21680, 953, 834, 18959, 4729, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 12488, 15, 2258, 3, 15, 2132, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show all director names who have a movie in both year 1999 and 2000.
CREATE TABLE culture_company ( company_name text, type text, incorporated_in text, group_equity_shareholding number, book_club_id text, movie_id text ) CREATE TABLE movie ( movie_id number, title text, year number, director text, budget_million number, gross_worldwide number ) CREATE TABLE book_club ( book_club_id number, year number, author_or_editor text, book_title text, publisher text, category text, result text )
SELECT director FROM movie WHERE year = 2000 INTERSECT SELECT director FROM movie WHERE year = 1999
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1543, 834, 29179, 41, 349, 834, 4350, 1499, 6, 686, 1499, 6, 3, 10975, 834, 77, 1499, 6, 563, 834, 15, 10073, 63, 834, 12484, 21647, 381, 6, 484, 834, 13442, 834, 23, 26, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2090, 21680, 1974, 549, 17444, 427, 215, 3274, 2766, 3, 21342, 5249, 14196, 3, 23143, 14196, 2090, 21680, 1974, 549, 17444, 427, 215, 3274, 5247, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the division north when division south was ko uf and division southwest was ilinden velmej
CREATE TABLE table_21982 ( "Season" text, "Division North" text, "Division South" text, "Division East" text, "Division West" text, "Division Southwest" text )
SELECT "Division North" FROM table_21982 WHERE "Division South" = 'Kožuf' AND "Division Southwest" = 'Ilinden Velmej'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 3916, 357, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 308, 23, 6610, 1117, 121, 1499, 6, 96, 308, 23, 6610, 1013, 121, 1499, 6, 96, 308, 23, 6610, 1932, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 6610, 1117, 121, 21680, 953, 834, 2658, 3916, 357, 549, 17444, 427, 96, 308, 23, 6610, 1013, 121, 3274, 3, 31, 439, 32, 2, 76, 89, 31, 3430, 96, 308, 23, 6610, 21423, 121, 3274, 3, 31, 196, 9230, ...
Which tests have 'Pass' results? Return the dates when the tests were taken, and count them by a line chart
CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) )
SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4375, 41, 1236, 834, 23, 26, 3, 21342, 17966, 6, 833, 834, 858, 834, 5200, 257, 309, 6048, 382, 15382, 6, 833, 834, 858, 834, 521, 4377, 834, 2152, 106, 309, 6048, 382, 15382, 6, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 4377, 834, 4914, 29, 6, 2847, 17161, 599, 5522, 834, 4377, 834, 4914, 29, 61, 21680, 6341, 834, 382, 222, 7, 834, 29468, 29, 549, 17444, 427, 794, 834, 60, 7, 83, 17, 3274, 96, 20192, 121, 1, -100, -10...
What is the nationality of the person drafted to Position F from Kentucky State?
CREATE TABLE table_name_7 ( nationality VARCHAR, position VARCHAR, college_high_school_club VARCHAR )
SELECT nationality FROM table_name_7 WHERE position = "f" AND college_high_school_club = "kentucky state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 1157, 485, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1900, 834, 6739, 834, 6646, 834, 13442, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1102, 3274, 96, 89, 121, 3430, 1900, 834, 6739, 834, 6646, 834, 13442, 3274, 96, 2217, 17, 4636, 63, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100...
Which date was a rest day?
CREATE TABLE table_13332 ( "Date" text, "Course" text, "Distance" text, "Type" text, "Winner" text )
SELECT "Date" FROM table_13332 WHERE "Course" = 'rest day'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22974, 2668, 41, 96, 308, 342, 121, 1499, 6, 96, 3881, 3589, 15, 121, 1499, 6, 96, 308, 23, 8389, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 18455, 687, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 22974, 2668, 549, 17444, 427, 96, 3881, 3589, 15, 121, 3274, 3, 31, 6216, 239, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Tell me the name with decile of 6 and roll of 93
CREATE TABLE table_name_63 ( name VARCHAR, decile VARCHAR, roll VARCHAR )
SELECT name FROM table_name_63 WHERE decile = "6" AND roll = 93
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 564, 584, 4280, 28027, 6, 7908, 109, 584, 4280, 28027, 6, 3812, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 564, 28, 7908, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 7908, 109, 3274, 96, 948, 121, 3430, 3812, 3274, 3, 4271, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which team has a second qualification time of 1:01.936?
CREATE TABLE table_name_40 (team VARCHAR, qual_2 VARCHAR)
SELECT team FROM table_name_40 WHERE qual_2 = "1:01.936"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 11650, 584, 4280, 28027, 6, 3, 11433, 834, 357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 65, 3, 9, 511, 15513, 97, 13, 209, 10, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 3, 11433, 834, 357, 3274, 96, 536, 10, 10068, 4271, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What rank has 0 as the bronze, and a total less than 3, with north korea as the nation?
CREATE TABLE table_name_56 (rank VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT rank FROM table_name_56 WHERE bronze = 0 AND total < 3 AND nation = "north korea"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 6254, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 11003, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 13467, 3274, 3, 632, 3430, 792, 3, 2, 220, 3430, 2982, 3274, 96, 29, 127, 189, 3, 5543, 15, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the number of apartment bookings for each weekday and bin booking start date by weekday interval in a bar chart.
CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT )
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 22360, 41, 3886, 834, 23, 26, 3, 21342, 17966, 6, 7285, 834, 4978, 3, 28027, 14296, 6, 3886, 834, 14672, 834, 4350, 584, 4280, 28027, 599, 2079, 201, 3886, 834, 5064, 834, 4350, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5038, 834, 10208, 834, 5522, 6, 2847, 17161, 599, 2567, 53, 834, 10208, 834, 5522, 61, 21680, 15970, 834, 13355, 53, 7, 6157, 332, 536, 3, 15355, 3162, 3, 22360, 6157, 332, 357, 9191, 332, 5411, 15991, 17, 834, 23, ...
what is the team when the high points is by charlie villanueva (24)?
CREATE TABLE table_47367 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_47367 WHERE "High points" = 'charlie villanueva (24)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 519, 3708, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 4177, 519, 3708, 549, 17444, 427, 96, 21417, 979, 121, 3274, 3, 31, 4059, 1896, 12159, 29, 76, 4721, 4743, 7256, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What college(s) did the player(s) picked in round 4 with a pick number less than 98 play for?
CREATE TABLE table_38125 ( "Pick #" real, "Round" text, "Player" text, "Position" text, "College" text )
SELECT "College" FROM table_38125 WHERE "Pick #" < '98' AND "Round" = 'round 4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 10124, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9939, 7883, 121, 21680, 953, 834, 3747, 10124, 549, 17444, 427, 96, 345, 3142, 1713, 121, 3, 2, 3, 31, 3916, 31, 3430, 96, 448, 32, 1106, 121, 3274, 3, 31, 7775, 314, 31, 1, -100, -100, -100, -100, -100, -10...
What is the average year of events that took place in Antwerp, Belgium?
CREATE TABLE table_name_97 ( year INTEGER, venue VARCHAR )
SELECT AVG(year) FROM table_name_97 WHERE venue = "antwerp, belgium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 215, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 215, 13, 984, 24, 808, 286, 16, 9141, 3321, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 5669, 3274, 96, 288, 3321, 102, 6, 36, 40, 122, 2552, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the greatest 2010 for Miami, Fl?
CREATE TABLE table_name_94 (state VARCHAR, major_city_served VARCHAR)
SELECT MAX(2010) FROM table_name_94 WHERE state = "fl" AND major_city_served = "miami"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 5540, 584, 4280, 28027, 6, 779, 834, 6726, 834, 3473, 15, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4016, 2735, 21, 8327, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14926, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 538, 3274, 96, 89, 40, 121, 3430, 779, 834, 6726, 834, 3473, 15, 26, 3274, 96, 51, 23, 3690, 121, 1, -100, -100, -100, -100, -100, -100, ...
Name the Report which has heinrich-joachim von morgen?
CREATE TABLE table_name_29 ( report VARCHAR, winning_driver VARCHAR )
SELECT report FROM table_name_29 WHERE winning_driver = "heinrich-joachim von morgen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 934, 584, 4280, 28027, 6, 3447, 834, 13739, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3750, 84, 65, 3, 88, 77, 3723, 18, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 934, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 3447, 834, 13739, 52, 3274, 96, 88, 77, 3723, 18, 1927, 9, 9737, 193, 8030, 729, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What nation has paavo nurmi as the athlete, with a medal count less than 12?
CREATE TABLE table_name_62 ( nation VARCHAR, athlete VARCHAR, medal_count VARCHAR )
SELECT nation FROM table_name_62 WHERE athlete = "paavo nurmi" AND medal_count < 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 2982, 584, 4280, 28027, 6, 17893, 584, 4280, 28027, 6, 9365, 834, 13362, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2982, 65, 2576, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2982, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 17893, 3274, 96, 102, 9, 9, 1621, 790, 51, 23, 121, 3430, 9365, 834, 13362, 3, 2, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of the team North Melbourne played at Arden Street Oval?
CREATE TABLE table_32954 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team score" FROM table_32954 WHERE "Home team" = 'north melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 3301, 591, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 2604, 121, 21680, 953, 834, 2668, 3301, 591, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 29, 127, 189, 3, 2341, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which race was after the race in pocono ?
CREATE TABLE table_204_630 ( id number, "no" number, "date" text, "race" text, "track" text, "winner" text, "reports" text )
SELECT "race" FROM table_204_630 WHERE "date" > (SELECT "date" FROM table_204_630 WHERE "track" = 'pocono') ORDER BY "date" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 26106, 41, 3, 23, 26, 381, 6, 96, 29, 32, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 12614, 121, 1499, 6, 96, 11991, 121, 1499, 6, 96, 3757, 687, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12614, 121, 21680, 953, 834, 26363, 834, 26106, 549, 17444, 427, 96, 5522, 121, 2490, 41, 23143, 14196, 96, 5522, 121, 21680, 953, 834, 26363, 834, 26106, 549, 17444, 427, 96, 11991, 121, 3274, 3, 31, 10496, 106, ...
What team won Race 17?
CREATE TABLE table_26334740_3 (winning_team VARCHAR, race VARCHAR)
SELECT winning_team FROM table_26334740_3 WHERE race = 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4201, 4177, 2445, 834, 519, 41, 8163, 834, 11650, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 751, 10949, 1003, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3447, 834, 11650, 21680, 953, 834, 2688, 4201, 4177, 2445, 834, 519, 549, 17444, 427, 1964, 3274, 1003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
whatthe minimum round where grand prix is german grand prix
CREATE TABLE table_1137704_2 (round INTEGER, grand_prix VARCHAR)
SELECT MIN(round) FROM table_1137704_2 WHERE grand_prix = "German grand_prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20522, 4013, 6348, 834, 357, 41, 7775, 3, 21342, 17966, 6, 1907, 834, 2246, 226, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 532, 2559, 1751, 213, 1907, 3407, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 61, 21680, 953, 834, 20522, 4013, 6348, 834, 357, 549, 17444, 427, 1907, 834, 2246, 226, 3274, 96, 24518, 1907, 834, 2246, 226, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the opponent, during the game at the location of keyarena at seattle center?
CREATE TABLE table_47291 ( "Game" text, "Date" text, "Opponent" text, "Score" text, "Location/Attendance" text, "Record" text )
SELECT "Opponent" FROM table_47291 WHERE "Location/Attendance" = 'keyarena at seattle center'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 357, 4729, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 75, 257, 87, 188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 4177, 357, 4729, 549, 17444, 427, 96, 434, 32, 75, 257, 87, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 4397, 9, 1536, 9, 44, 2805, 8692, 1530, 31, 1, -100, -100, -100, -...
Name the location for 2-1 record
CREATE TABLE table_25709 ( "Date" text, "Location" text, "Opponent" text, "Cardinal Points" real, "Opp. Points" real, "Record" text )
SELECT "Location" FROM table_25709 WHERE "Record" = '2-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3436, 4198, 41, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 6936, 26, 10270, 4564, 7, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 357, 3436, 4198, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 17234, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Opponent of the game after Week 3 with a Result of L 10–6?
CREATE TABLE table_name_86 (opponent VARCHAR, week VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_86 WHERE week > 3 AND result = "l 10–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 32, 102, 9977, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4495, 9977, 13, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 471, 2490, 220, 3430, 741, 3274, 96, 40, 335, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest number of laps with a time of +6.643 and grid less than 2?
CREATE TABLE table_name_58 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_58 WHERE time_retired = "+6.643" AND grid < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 8478, 7, 3, 21342, 17966, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 1220, 28833, 4906, 121, 3430, 8634, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Opponents, when Partner is Mervana Jugi -Salki ?
CREATE TABLE table_46683 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Opponents" FROM table_46683 WHERE "Partner" = 'mervana jugić-salkić'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 3651, 519, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 7, 121, 21680, 953, 834, 4448, 3651, 519, 549, 17444, 427, 96, 13725, 687, 121, 3274, 3, 31, 935, 2132, 9, 3, 354, 25297, 2, 18, 7, 138, 2168, 2, 31, 1, -100, -100, -100, -100, -100, -100, ...
What is the highest total number of medals associated with 1 gold, more than 0 silver, and 2 bronze?
CREATE TABLE table_name_33 ( total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR )
SELECT MAX(total) FROM table_name_33 WHERE bronze = 2 AND gold = 1 AND silver > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 792, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 13467, 3274, 204, 3430, 2045, 3274, 209, 3430, 4294, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What club has tries against of 75?
CREATE TABLE table_name_58 ( club VARCHAR, tries_against VARCHAR )
SELECT club FROM table_name_58 WHERE tries_against = "75"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1886, 584, 4280, 28027, 6, 3, 9000, 834, 9, 16720, 7, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1886, 65, 3, 9000, 581, 13, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1886, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 3, 9000, 834, 9, 16720, 7, 17, 3274, 96, 3072, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What result has a Score of 1 0, and a Competition of 2014 fifa world cup qualification?
CREATE TABLE table_58450 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Result" FROM table_58450 WHERE "Score" = '1–0' AND "Competition" = '2014 fifa world cup qualification'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 10593, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 3449, 10593, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 536, 104, 632, 31, 3430, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 10218, 361, 89, 9, 296, 4119, 15513, 31, 1, -100, ...
What is Original Album, when Time is '3:39'?
CREATE TABLE table_name_23 ( original_album VARCHAR, time VARCHAR )
SELECT original_album FROM table_name_23 WHERE time = "3:39"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 926, 834, 23703, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8465, 16135, 6, 116, 2900, 19, 3, 31, 519, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 23703, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 97, 3274, 96, 519, 10, 3288, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Tell me the total number of rank for places less than 94 and points less than 169.8 for japan
CREATE TABLE table_55729 ( "Rank" real, "Name" text, "Nation" text, "SP+FS" real, "Points" real, "Places" real )
SELECT COUNT("Rank") FROM table_55729 WHERE "Places" < '94' AND "Points" < '169.8' AND "Nation" = 'japan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3436, 3166, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 4274, 1220, 7674, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 345,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22557, 8512, 21680, 953, 834, 755, 3436, 3166, 549, 17444, 427, 96, 345, 11706, 7, 121, 3, 2, 3, 31, 4240, 31, 3430, 96, 22512, 7, 121, 3, 2, 3, 31, 27096, 5, 927, 31, 3430, 96, 567, 257...
Name the power for when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750
CREATE TABLE table_name_62 (power_rpm VARCHAR, torque__nm__rpm VARCHAR)
SELECT power_rpm FROM table_name_62 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 6740, 834, 52, 2028, 584, 4280, 28027, 6, 19527, 834, 834, 29, 51, 834, 834, 52, 2028, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 579, 834, 52, 2028, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 19527, 834, 834, 29, 51, 834, 834, 52, 2028, 3274, 96, 29, 2, 51, 41, 40, 115, 2, 89, 17, 61, 87, 1935, 29, 2, 51, 41, 40, 115, 2, 89, ...
What is the sum of Ends with a Name of abidal, and has a Since larger than 2007?
CREATE TABLE table_name_58 ( ends INTEGER, name VARCHAR, since VARCHAR )
SELECT SUM(ends) FROM table_name_58 WHERE name = "abidal" AND since > 2007
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 5542, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 437, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 3720, 7, 28, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 989, 7, 61, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 564, 3274, 96, 9, 9824, 138, 121, 3430, 437, 2490, 4101, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the to par for the United States with a 67-71-73=211 score?
CREATE TABLE table_name_72 ( to_par VARCHAR, country VARCHAR, score VARCHAR )
SELECT to_par FROM table_name_72 WHERE country = "united states" AND score = 67 - 71 - 73 = 211
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 12, 834, 1893, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12, 260, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 2604, 3274, 3, 3708, 3, 18, 3, 4450, 3, 18, 3, 4552, 3274, 3, 27278, 1, -100, -100, -100, -100, -1...
in how man years did ifk finish in at least 5th place .
CREATE TABLE table_204_42 ( id number, "season" number, "level" text, "division" text, "section" text, "position" text, "movements" text )
SELECT COUNT("season") FROM table_204_42 WHERE "position" <= 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4165, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 381, 6, 96, 4563, 121, 1499, 6, 96, 26, 23, 6610, 121, 1499, 6, 96, 14309, 121, 1499, 6, 96, 4718, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 9476, 8512, 21680, 953, 834, 26363, 834, 4165, 549, 17444, 427, 96, 4718, 121, 3, 2, 2423, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which tournament has an Outcome of runner-up, a Surface of hard, and a Score of 6 4, 6 2?
CREATE TABLE table_name_95 ( tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR )
SELECT tournament FROM table_name_95 WHERE outcome = "runner-up" AND surface = "hard" AND score = "6–4, 6–2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 5892, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5892...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 6138, 3274, 96, 10806, 18, 413, 121, 3430, 1774, 3274, 96, 5651, 121, 3430, 2604, 3274, 96, 948, 104, 8525, 431, 104, 357, 121, 1, -100, -100, -100, -100, -10...
What is the western title for the puzzle genre?
CREATE TABLE table_name_56 (western_title VARCHAR, genre VARCHAR)
SELECT western_title FROM table_name_56 WHERE genre = "puzzle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 24411, 834, 21869, 584, 4280, 28027, 6, 5349, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8282, 2233, 21, 8, 9062, 5349, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8282, 834, 21869, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 5349, 3274, 96, 4987, 15133, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the venue when the runner-up (average in final) is wayne jones (94.64)?
CREATE TABLE table_name_6 ( venue VARCHAR, runner_up__average_in_final_ VARCHAR )
SELECT venue FROM table_name_6 WHERE runner_up__average_in_final_ = "wayne jones (94.64)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 5669, 584, 4280, 28027, 6, 3, 10806, 834, 413, 834, 834, 28951, 834, 77, 834, 12406, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 3, 10806, 834, 413, 834, 834, 28951, 834, 77, 834, 12406, 834, 3274, 96, 1343, 29, 15, 3, 1927, 1496, 14156, 25652, 7256, 121, 1, -100, -100, -100, -100, -100,...
What is the record of the game on December 5, 2007?
CREATE TABLE table_78279 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" real, "Record" text )
SELECT "Record" FROM table_78279 WHERE "Date" = 'december 5, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 357, 4440, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2796, 9, 26, 53, 2604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3940, 357, 4440, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 221, 75, 18247, 7836, 4101, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the home team when the Tie no is 1?
CREATE TABLE table_name_32 ( home_team VARCHAR, tie_no VARCHAR )
SELECT home_team FROM table_name_32 WHERE tie_no = "1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 234, 834, 11650, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 372, 116, 8, 2262, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Return a bar chart to show how many documents for different budget type code, rank Y-axis from high to low order.
CREATE TABLE Statements ( Statement_ID INTEGER, Statement_Details VARCHAR(255) ) CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), Budget_Type_Description VARCHAR(255) ) CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Accounts ( Account_ID INTEGER, Statement_ID INTEGER, Account_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) )
SELECT T1.Budget_Type_Code, COUNT(T1.Budget_Type_Code) FROM Documents_with_Expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_Code = T2.Budget_Type_Code GROUP BY T1.Budget_Type_Code ORDER BY COUNT(T1.Budget_Type_Code) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16836, 7, 41, 16836, 834, 4309, 3, 21342, 17966, 6, 16836, 834, 2962, 5756, 7, 584, 4280, 28027, 599, 25502, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 279, 13164, 17, 834, 25160, 834, 22737, 6, 2847, 17161, 599, 382, 5411, 279, 13164, 17, 834, 25160, 834, 22737, 61, 21680, 11167, 7, 834, 4065, 834, 12882, 5167, 7, 6157, 332, 536, 3, 15355, 3162, 419, 89...
What is the district with the candidates edwin gray (dr)?
CREATE TABLE table_2668393_18 ( district VARCHAR, candidates VARCHAR )
SELECT district FROM table_2668393_18 WHERE candidates = "Edwin Gray (DR)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 3288, 519, 834, 2606, 41, 3939, 584, 4280, 28027, 6, 4341, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3939, 28, 8, 4341, 3, 15, 26, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 2688, 3651, 3288, 519, 834, 2606, 549, 17444, 427, 4341, 3274, 96, 427, 26, 3757, 13375, 41, 3913, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many documents are there of each type. Plot them as pie chart.
CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code CHAR(15), Document_Details VARCHAR(255) ) CREATE TABLE Accounts ( Account_ID INTEGER, Statement_ID INTEGER, Account_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Documents ( Document_ID INTEGER, Document_Type_Code CHAR(15), Project_ID INTEGER, Document_Date DATETIME, Document_Name VARCHAR(255), Document_Description VARCHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Statements ( Statement_ID INTEGER, Statement_Details VARCHAR(255) ) CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) ) CREATE TABLE Ref_Budget_Codes ( Budget_Type_Code CHAR(15), Budget_Type_Description VARCHAR(255) )
SELECT Document_Type_Code, COUNT(*) FROM Documents GROUP BY Document_Type_Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 7, 834, 4065, 834, 12882, 5167, 7, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 12532, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 11167, 834, 2962, 5756, 7, 584, 4280, 28027...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11167, 834, 25160, 834, 22737, 6, 2847, 17161, 599, 1935, 61, 21680, 11167, 7, 350, 4630, 6880, 272, 476, 11167, 834, 25160, 834, 22737, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What player was picked 176?
CREATE TABLE table_4930 ( "Round" real, "Pick" real, "Player" text, "Position" text, "College" text )
SELECT "Player" FROM table_4930 WHERE "Pick" = '176'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 1458, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 3647, 1458, 549, 17444, 427, 96, 345, 3142, 121, 3274, 3, 31, 26782, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the final record for the game in which Dirk Nowitzki (19) had the high points?
CREATE TABLE table_17288869_7 (record VARCHAR, high_points VARCHAR)
SELECT record FROM table_17288869_7 WHERE high_points = "Dirk Nowitzki (19)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 10927, 3951, 834, 940, 41, 60, 7621, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 804, 1368, 21, 8, 467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 27156, 10927, 3951, 834, 940, 549, 17444, 427, 306, 834, 2700, 7, 3274, 96, 308, 12546, 852, 5615, 2168, 2863, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the 1880 figure when 1860 is N/A and 1910 is 494?
CREATE TABLE table_name_19 (Id VARCHAR)
SELECT 1880 FROM table_name_19 WHERE 1860 = "n/a" AND 1910 = 494
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 507, 2079, 2320, 116, 3, 24700, 19, 445, 87, 188, 11, 26923, 19, 314, 4240, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 507, 2079, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 3, 24700, 3274, 96, 29, 87, 9, 121, 3430, 26923, 3274, 314, 4240, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of Wins, when Losses is '6', and when Draws is greater than '0'?
CREATE TABLE table_61146 ( "Golden Rivers" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT COUNT("Wins") FROM table_61146 WHERE "Losses" = '6' AND "Draws" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 24300, 41, 96, 23576, 35, 2473, 7, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 18455, 7, 8512, 21680, 953, 834, 4241, 24300, 549, 17444, 427, 96, 434, 13526, 7, 121, 3274, 3, 31, 948, 31, 3430, 96, 308, 10936, 7, 121, 2490, 3, 31, 632, 31, 1, -100, -100, -100, -100, ...
Whose WSOP earnings were $36,372?
CREATE TABLE table_23696862_6 ( name VARCHAR, wsop_earnings VARCHAR )
SELECT name FROM table_23696862_6 WHERE wsop_earnings = "$36,372"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3951, 3651, 4056, 834, 948, 41, 564, 584, 4280, 28027, 6, 3, 210, 7, 32, 102, 834, 2741, 29, 53, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 2773, 3951, 3651, 4056, 834, 948, 549, 17444, 427, 3, 210, 7, 32, 102, 834, 2741, 29, 53, 7, 3274, 96, 3229, 3420, 6, 4118, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average number of wins of drivers from Sweden?
CREATE TABLE table_name_51 ( driver_wins INTEGER, nation VARCHAR )
SELECT AVG(driver_wins) FROM table_name_51 WHERE nation = "sweden"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 2535, 834, 3757, 7, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 9204, 13, 3863, 45, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 13739, 52, 834, 3757, 7, 61, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 2982, 3274, 96, 7, 1123, 537, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the score for attendance of 13,617
CREATE TABLE table_name_63 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_63 WHERE attendance = "13,617"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 7, 9022, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2604, 21, 11364, 13, 10670, 948, 2517, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 11364, 3274, 96, 2368, 6, 948, 2517, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What country in Europe is ranked 4, with top goal scorer Karl-Heinz Rummenigge with 14 goals?
CREATE TABLE table_name_68 ( europe VARCHAR, goals VARCHAR, rank VARCHAR, top_goalscorer VARCHAR )
SELECT europe FROM table_name_68 WHERE rank = "4" AND top_goalscorer = "karl-heinz rummenigge" AND goals = 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 3, 28188, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 420, 834, 839, 5405, 5715, 49, 584, 4280, 28027, 3, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 28188, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 11003, 3274, 96, 20364, 3430, 420, 834, 839, 5405, 5715, 49, 3274, 96, 4031, 40, 18, 88, 77, 172, 3, 2781, 526, 7315, 397, 121, 3430, 1766, 3274, 968, 1...
Name the score for 7 may 2000
CREATE TABLE table_78478 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Score" FROM table_78478 WHERE "Date" = '7 may 2000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 591, 3940, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3940, 591, 3940, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 940, 164, 2766, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What group of juventus had an attendance larger than 47,786?
CREATE TABLE table_name_2 (group_position VARCHAR, opponents VARCHAR, attendance VARCHAR)
SELECT group_position FROM table_name_2 WHERE opponents = "juventus" AND attendance > 47 OFFSET 786
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 10739, 834, 4718, 584, 4280, 28027, 6, 16383, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 563, 13, 3, 354, 4348,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 563, 834, 4718, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 16383, 3274, 96, 354, 4348, 302, 121, 3430, 11364, 2490, 10635, 3, 15316, 20788, 489, 3840, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the minimum number of days of hospital stay for patients whose primary disease is chest pain.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "CHEST PAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 8360, 6038, 276, 13570, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Date, when Tie no is '37'?
CREATE TABLE table_name_97 ( date VARCHAR, tie_no VARCHAR )
SELECT date FROM table_name_97 WHERE tie_no = "37"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 833, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7678, 6, 116, 2262, 15, 150, 19, 3, 31,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 4118, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the average number of rounds in the fight where Tank Abbott lost?
CREATE TABLE table_name_66 (round INTEGER, loser VARCHAR)
SELECT AVG(round) FROM table_name_66 WHERE loser = "tank abbott"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 7775, 3, 21342, 17966, 6, 2615, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1348, 381, 13, 14419, 16, 8, 2870, 213, 15366, 315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 7775, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 2615, 52, 3274, 96, 17, 5979, 703, 4045, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Date, when Week is 11?
CREATE TABLE table_name_45 ( date VARCHAR, week VARCHAR )
SELECT date FROM table_name_45 WHERE week = 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 833, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7678, 6, 116, 6551, 19, 850, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 471, 3274, 850, 1, -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 margin when k. balathandayutham is the winner?
CREATE TABLE table_25288 ( "Constituency" text, "Winner" text, "Party" text, "Margin" real, "Runner-up a" text, "Party a" text )
SELECT MAX("Margin") FROM table_25288 WHERE "Winner" = 'K. Balathandayutham'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 357, 4060, 41, 96, 4302, 2248, 17, 76, 4392, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 7286, 122, 77, 121, 490, 6, 96, 23572, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 7286, 122, 77, 8512, 21680, 953, 834, 1828, 357, 4060, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 439, 5, 4011, 9, 6736, 1135, 76, 17, 1483, 31, 1, -100, -100, -100, -100, -100, -100, ...
What score has won as the result on the date of December 14, 2004?
CREATE TABLE table_name_49 ( score VARCHAR, result VARCHAR, date VARCHAR )
SELECT score FROM table_name_49 WHERE result = "won" AND date = "december 14, 2004"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 2604, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 65, 751, 38, 8, 741, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 741, 3274, 96, 210, 106, 121, 3430, 833, 3274, 96, 221, 75, 18247, 11363, 4406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average grid number that had Team China with less than 10 laps?
CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, team VARCHAR)
SELECT AVG(grid) FROM table_name_29 WHERE laps < 10 AND team = "china"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 3496, 26, 3, 21342, 17966, 6, 14941, 7, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 8634, 381, 24,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 14941, 7, 3, 2, 335, 3430, 372, 3274, 96, 5675, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Result of the Test match at the Edgbaston Venue on 5,6,7,8 June 1997?
CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_53 WHERE date = "5,6,7,8 june 1997"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 20119, 13, 8, 2300, 1588, 44, 8, 4857, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 833, 3274, 96, 11116, 11071, 940, 6, 927, 3, 6959, 15, 6622, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What time do most of the crimes happen?
CREATE TABLE greatermanchestercrime ( crimeid text, crimets time, location text, lsoa text, type text, outcome text )
SELECT crimets FROM greatermanchestercrime GROUP BY crimets ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2123, 348, 13263, 2685, 526, 41, 5447, 23, 26, 1499, 6, 5447, 17, 7, 97, 6, 1128, 1499, 6, 3, 40, 7, 32, 9, 1499, 6, 686, 1499, 6, 6138, 1499, 3, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5447, 17, 7, 21680, 2123, 348, 13263, 2685, 526, 350, 4630, 6880, 272, 476, 5447, 17, 7, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, ...
What was the term of Bruce Biers Kendall whose hometown is Anchorage?
CREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR)
SELECT term FROM table_name_6 WHERE hometown = "anchorage" AND name = "bruce biers kendall"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 1987, 584, 4280, 28027, 6, 22295, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1657, 13, 13800, 21457, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1657, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 22295, 3274, 96, 152, 19220, 545, 121, 3430, 564, 3274, 96, 9052, 565, 2647, 277, 3, 2217, 26, 1748, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show different teams in eliminations and the number of eliminations from each team by a pie chart.
CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text ) CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text )
SELECT Team, COUNT(*) FROM Elimination GROUP BY Team
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 26033, 52, 41, 549, 6216, 1171, 834, 4309, 16, 17, 6, 5570, 1499, 6, 419, 3191, 1499, 6, 13992, 834, 14796, 1499, 6, 10450, 1499, 6, 8042, 1499, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2271, 6, 2847, 17161, 599, 1935, 61, 21680, 7495, 14484, 350, 4630, 6880, 272, 476, 2271, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the opponent on November 11, 2001?
CREATE TABLE table_41668 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Opponent" FROM table_41668 WHERE "Date" = 'november 11, 2001'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2938, 3651, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 591, 2938, 3651, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 9694, 4402, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What date did the episode that had 8.84 million u.s. viewers originally air?
CREATE TABLE table_30751 ( "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 "Original air date" FROM table_30751 WHERE "U.S. viewers (million)" = '8.84'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 3072, 536, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 1458, 3072, 536, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 61, 121, 3274, 3, 31, 927, 5, 4608, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of headquarter and the average of code , and group by attribute headquarter, and show names in asc order.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T2.Headquarter
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 3845, 9, 26, 19973, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476,...
What is the High rebounds of washington Team?
CREATE TABLE table_5066 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High rebounds" FROM table_5066 WHERE "Team" = 'washington'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 3539, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 3, 23768, 121, 21680, 953, 834, 1752, 3539, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 14710, 6029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest play with ue figueres club and a goal difference more than 16?
CREATE TABLE table_name_41 ( played INTEGER, club VARCHAR, goal_difference VARCHAR )
SELECT MIN(played) FROM table_name_41 WHERE club = "ue figueres" AND goal_difference > 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 1944, 3, 21342, 17966, 6, 1886, 584, 4280, 28027, 6, 1288, 834, 26, 99, 11788, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 3, 17684, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 1886, 3274, 96, 76, 15, 361, 19645, 15, 7, 121, 3430, 1288, 834, 26, 99, 11788, 2490, 898, 1, -100, -100, -100, -100, -100, -100,...
which school was established first ?
CREATE TABLE table_203_416 ( id number, "school name" text, "city" text, "grades" text, "establishment" number, "charter" text )
SELECT "school name" FROM table_203_416 ORDER BY "establishment" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 2938, 41, 3, 23, 26, 381, 6, 96, 6646, 564, 121, 1499, 6, 96, 6726, 121, 1499, 6, 96, 6801, 7, 121, 1499, 6, 96, 222, 15403, 1273, 297, 121, 381, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6646, 564, 121, 21680, 953, 834, 23330, 834, 591, 2938, 4674, 11300, 272, 476, 96, 222, 15403, 1273, 297, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
evidence of other evident major illness including chronic renal insufficiency ( creatinine clearance less than 60 ml / min )
CREATE TABLE table_train_268 ( "id" int, "basal_rate" float, "systolic_blood_pressure_sbp" int, "renal_disease" bool, "major_illness" bool, "creatinine_clearance_cl" float, "injury_to_body" bool, "diastolic_blood_pressure_dbp" int, "injury_to_limb" bool, "hypertension" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_268 WHERE major_illness = 1 OR renal_disease = 1 OR creatinine_clearance_cl < 60
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 357, 3651, 41, 96, 23, 26, 121, 16, 17, 6, 96, 4883, 138, 834, 2206, 121, 3, 12660, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 357, 3651, 549, 17444, 427, 779, 834, 1092, 655, 3274, 209, 4674, 23328, 834, 26, 159, 14608, 3274, 209, 4674, 8830, 77, 630, 834, 2482, 9, 5219, 834, 75, 40, 3, 2, 1640, 1, -100,...
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of first_name and salary , and display by the total number in asc.
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), 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(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) )
SELECT FIRST_NAME, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SALARY
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610, 17966, 834,...
what's the result with candidates being billy tauzin (d) unopposed
CREATE TABLE table_18257 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Result" FROM table_18257 WHERE "Candidates" = 'Billy Tauzin (D) Unopposed'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 357, 3436, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 2606, 357, 3436, 549, 17444, 427, 96, 14050, 12416, 6203, 121, 3274, 3, 31, 279, 173, 120, 11452, 7196, 41, 308, 61, 597, 28236, 3843, 31, 1, -100, -100, -100, -100, -100, -100, -100...
Name the result for barney frank
CREATE TABLE table_3197 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text )
SELECT "Result" FROM table_3197 WHERE "Incumbent" = 'Barney Frank'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 4327, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 1499, 6, 96, 20119, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 3341, 4327, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 14851, 3186, 4937, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country has to par E with Mark O'Meara?
CREATE TABLE table_44827 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "Country" FROM table_44827 WHERE "To par" = 'e' AND "Player" = 'mark o''meara'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3707, 2555, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 591, 3707, 2555, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 15, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 3920, 3, 32, 31, 31, 526, 2551, 31, 1, -100, -100, -100, ...
What is the Country of origin for the film directed by George Miller?
CREATE TABLE table_name_3 (country VARCHAR, director VARCHAR)
SELECT country FROM table_name_3 WHERE director = "george miller"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 17529, 584, 4280, 28027, 6, 2090, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6993, 13, 5233, 21, 8, 814, 6640, 57, 3080, 9429, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 2090, 3274, 96, 397, 1677, 15, 3293, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the last name and age of the student who has allergy to both milk and cat. Show a pie chart.
CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) )
SELECT LName, Age FROM Student WHERE StuID IN (SELECT StuID FROM Has_Allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_Allergy WHERE Allergy = "Cat")
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 301, 23954, 6, 7526, 21680, 6341, 549, 17444, 427, 3, 13076, 4309, 3388, 41, 23143, 14196, 3, 13076, 4309, 21680, 4498, 834, 6838, 49, 122, 63, 549, 17444, 427, 432, 49, 122, 63, 3274, 96, 329, 173, 157, 121, 3, 2...
What's the tournamnet name that has a 2001 of 1r and 2011?
CREATE TABLE table_43250 ( "Tournament" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text )
SELECT "Tournament" FROM table_43250 WHERE "2001" = '1r' AND "2011" = 'a'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 11434, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 13527, 121, 1499, 6, 96, 23658, 121, 1499, 6, 96, 24898, 121, 1499, 6, 96, 23948, 121, 1499, 6, 96, 21653, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 1211, 20205, 17, 121, 21680, 953, 834, 4906, 11434, 549, 17444, 427, 96, 23658, 121, 3274, 3, 31, 536, 52, 31, 3430, 96, 13907, 121, 3274, 3, 31, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the driver with chassis 625 553 500?
CREATE TABLE table_name_72 ( driver VARCHAR, chassis VARCHAR )
SELECT driver FROM table_name_72 WHERE chassis = "625 553 500"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 2535, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2535, 28, 22836, 431, 1828, 305, 4867, 2899, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 22836, 3274, 96, 948, 1828, 305, 4867, 2899, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which is the Outcome on 13 november 2006?
CREATE TABLE table_name_44 (outcome VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_44 WHERE date = "13 november 2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 670, 287, 15, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 19, 8, 3387, 287, 15, 30, 1179, 3, 5326, 18247, 3581...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6138, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 833, 3274, 96, 2368, 3, 5326, 18247, 3581, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the value of the coin weighing 10.5 g and made of cupronickel?
CREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR)
SELECT value FROM table_name_52 WHERE composition = "cupronickel" AND weight = "10.5 g"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 12097, 584, 4280, 28027, 6, 5761, 584, 4280, 28027, 6, 1293, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 701, 13, 8, 7485, 3, 2285...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 701, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 5761, 3274, 96, 4658, 18074, 15259, 121, 3430, 1293, 3274, 96, 536, 12100, 3, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the date of the games that saw a record of 43.66 m?
CREATE TABLE table_name_25 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_name_25 WHERE record = "43.66 m"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 13, 8, 1031, 24, 1509, 3, 9, 1368, 13, 8838,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 1368, 3274, 96, 4906, 5, 3539, 3, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the division record for the Indians?
CREATE TABLE table_70407 ( "School" text, "Team" text, "Division Record" text, "Overall Record" text, "Season Outcome" text )
SELECT "Division Record" FROM table_70407 WHERE "Team" = 'indians'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 2445, 940, 41, 96, 29364, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 308, 23, 6610, 11392, 121, 1499, 6, 96, 23847, 1748, 11392, 121, 1499, 6, 96, 134, 15, 9, 739, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 6610, 11392, 121, 21680, 953, 834, 2518, 2445, 940, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 8482, 3247, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...