NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What are the names of device shops, and what are the carriers that they carry devices in stock for?
CREATE TABLE shop ( Shop_ID int, Shop_Name text, Location text, Open_Date text, Open_Year int ) CREATE TABLE stock ( Shop_ID int, Device_ID int, Quantity int ) CREATE TABLE device ( Device_ID int, Device text, Carrier text, Package_Version text, Applications text, Software_Platform text )
SELECT Carrier, COUNT(Carrier) FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID GROUP BY Carrier
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1814, 41, 3687, 834, 4309, 16, 17, 6, 3687, 834, 23954, 1499, 6, 10450, 1499, 6, 2384, 834, 308, 342, 1499, 6, 2384, 834, 476, 2741, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 438...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1184, 6711, 6, 2847, 17161, 599, 6936, 6711, 61, 21680, 1519, 6157, 332, 536, 3, 15355, 3162, 1407, 6157, 332, 357, 9191, 332, 5411, 2962, 7287, 15, 834, 4309, 3274, 332, 4416, 2962, 7287, 15, 834, 4309, 3, 15355, 3...
What is the Score of the Game with a Record of 13 12?
CREATE TABLE table_76862 ( "Game" real, "Date" text, "Team" text, "Score" text, "Record" text, "Streak" text )
SELECT "Score" FROM table_76862 WHERE "Record" = '13–12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3840, 357, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 11500, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 134, 9022, 121, 21680, 953, 834, 3959, 3840, 357, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2368, 104, 2122, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is RJCM's IATA?
CREATE TABLE table_name_76 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_76 WHERE icao = "rjcm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 17221, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 391, 683, 5518, 31, 7, 27, 19282, 58, 1, 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, 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, 3, 17221, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 3, 2617, 32, 3274, 96, 52, 354, 75, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the district for 1994
CREATE TABLE table_25030512_41 (district VARCHAR, first_elected VARCHAR)
SELECT district FROM table_25030512_41 WHERE first_elected = 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 1458, 24163, 834, 4853, 41, 26, 23, 20066, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3939, 21, 7520, 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, 3939, 21680, 953, 834, 11434, 1458, 24163, 834, 4853, 549, 17444, 427, 166, 834, 19971, 3274, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
last home opponent of the season
CREATE TABLE table_204_207 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number, "bye" text )
SELECT "opponent" FROM table_204_207 WHERE "opponent" = 'home' ORDER BY "week" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 26426, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 15116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 32, 102, 9977, 121, 21680, 953, 834, 26363, 834, 26426, 549, 17444, 427, 96, 32, 102, 9977, 121, 3274, 3, 31, 5515, 31, 4674, 11300, 272, 476, 96, 8041, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, ...
How many people attended on July 5?
CREATE TABLE table_11940 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT SUM("Attendance") FROM table_11940 WHERE "Date" = 'july 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 2445, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26, 663...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 19993, 2445, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2047, 120, 305, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Home on december 10?
CREATE TABLE table_name_33 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_33 WHERE date = "december 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 5515, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1210, 30, 20, 75, 18247, 335, 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, 234, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When David E. Finley was the incumbent what was the result?
CREATE TABLE table_35752 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text )
SELECT "Result" FROM table_35752 WHERE "Incumbent" = 'david e. finley'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 3072, 357, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2469, 3072, 357, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 26, 9, 6961, 3, 15, 5, 2202, 1306, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average total with 1 FA cup and more than 0 FA trophies?
CREATE TABLE table_name_61 ( total INTEGER, fa_cup VARCHAR, fa_trophy VARCHAR )
SELECT AVG(total) FROM table_name_61 WHERE fa_cup = 1 AND fa_trophy > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 792, 3, 21342, 17966, 6, 3, 89, 9, 834, 4658, 584, 4280, 28027, 6, 3, 89, 9, 834, 17, 29006, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 3, 89, 9, 834, 4658, 3274, 209, 3430, 3, 89, 9, 834, 17, 29006, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which opponent has a record of 5-0-1?
CREATE TABLE table_68575 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text )
SELECT "Opponent" FROM table_68575 WHERE "Record" = '5-0-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 755, 3072, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 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, 667, 102, 9977, 121, 21680, 953, 834, 3651, 755, 3072, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 29325, 2292, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What events did the competition that took place in 1997 have?
CREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)
SELECT notes FROM table_name_96 WHERE year = 1997
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 7977, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 984, 410, 8, 2259, 24, 808, 286, 16, 6622, 43, 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, 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, 3358, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 215, 3274, 6622, 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 team mascot for the soccer team in Charlottetown?
CREATE TABLE table_27369069_1 ( varsity_name VARCHAR, city VARCHAR )
SELECT varsity_name FROM table_27369069_1 WHERE city = "Charlottetown"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3420, 2394, 3951, 834, 536, 41, 3, 31336, 834, 4350, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 372, 3, 2754, 4310,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 3, 31336, 834, 4350, 21680, 953, 834, 2555, 3420, 2394, 3951, 834, 536, 549, 17444, 427, 690, 3274, 96, 18947, 21538, 3540, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is average Overall, when Pick is 19?
CREATE TABLE table_name_80 (overall INTEGER, pick VARCHAR)
SELECT AVG(overall) FROM table_name_80 WHERE pick = 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 1890, 1748, 3, 21342, 17966, 6, 1432, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 1348, 9126, 6, 116, 8356, 19, 957, 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, 71, 17217, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 1432, 3274, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Away team Carlton's score?
CREATE TABLE table_name_59 ( away_team VARCHAR )
SELECT away_team AS score FROM table_name_59 WHERE away_team = "carlton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 71, 1343, 372, 3, 30339, 31, 7, 2604, 58, 1, 0, 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, 0, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 550, 834, 11650, 3274, 96, 1720, 7377, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who constructed the car with a grid over 19 that retired due to suspension?
CREATE TABLE table_51567 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Constructor" FROM table_51567 WHERE "Grid" > '19' AND "Time/Retired" = 'suspension'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 1808, 3708, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4302, 7593, 127, 121, 21680, 953, 834, 755, 1808, 3708, 549, 17444, 427, 96, 13313, 26, 121, 2490, 3, 31, 2294, 31, 3430, 96, 13368, 87, 1649, 11809, 26, 121, 3274, 3, 31, 7, 302, 3208, 1938, 31, 1, -100, -1...
What is the field of the game on July 22?
CREATE TABLE table_name_7 ( field VARCHAR, date VARCHAR )
SELECT field FROM table_name_7 WHERE date = "july 22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 1057, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1057, 13, 8, 467, 30, 1718, 1630, 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, 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, 1057, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 833, 3274, 96, 2047, 120, 1630, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which of the highest drawn has a played less than 10?
CREATE TABLE table_42629 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT MAX("Drawn") FROM table_42629 WHERE "Played" < '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2688, 3166, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 308, 10936, 29, 8512, 21680, 953, 834, 591, 2688, 3166, 549, 17444, 427, 96, 15800, 15, 26, 121, 3, 2, 3, 31, 1714, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the record when the game is greater than 24?
CREATE TABLE table_name_65 ( record VARCHAR, game INTEGER )
SELECT record FROM table_name_65 WHERE game > 24
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 1368, 584, 4280, 28027, 6, 467, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 116, 8, 467, 19, 2123, 145, 997, 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, 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, 1368, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 467, 2490, 997, 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's the Serie A when the coppa italia was 5?
CREATE TABLE table_name_79 ( serie_a INTEGER, coppa_italia VARCHAR )
SELECT AVG(serie_a) FROM table_name_79 WHERE coppa_italia = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 12480, 834, 9, 3, 21342, 17966, 6, 7326, 102, 9, 834, 155, 5434, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3, 12106, 71,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 10833, 834, 9, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 7326, 102, 9, 834, 155, 5434, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
I want the Driver with Laps of 20
CREATE TABLE table_58523 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Driver" FROM table_58523 WHERE "Laps" = '20'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 755, 2773, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20982, 52, 121, 21680, 953, 834, 3449, 755, 2773, 549, 17444, 427, 96, 3612, 102, 7, 121, 3274, 3, 31, 1755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What film was released in 1971?
CREATE TABLE table_name_66 (film VARCHAR, year VARCHAR)
SELECT film FROM table_name_66 WHERE year = 1971
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 9988, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 814, 47, 1883, 16, 17961, 58, 1, 0, 0, 0, 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, 0, 0, 0, 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, 814, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 215, 3274, 17961, 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 Lisladeen poor law union?
CREATE TABLE table_30120566_1 (poor_law_union VARCHAR, townland VARCHAR)
SELECT poor_law_union FROM table_30120566_1 WHERE townland = "Lisladeen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25626, 23201, 3539, 834, 536, 41, 18450, 52, 834, 4207, 834, 16598, 584, 4280, 28027, 6, 1511, 40, 232, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 1414, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2714, 834, 4207, 834, 16598, 21680, 953, 834, 25626, 23201, 3539, 834, 536, 549, 17444, 427, 1511, 40, 232, 3274, 96, 434, 159, 14712, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the senior US senator in the state whose governor was D. Patrick?
CREATE TABLE table_21531764_2 (senior_us_senator VARCHAR, governor VARCHAR)
SELECT senior_us_senator FROM table_21531764_2 WHERE governor = "D. Patrick"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4867, 2517, 4389, 834, 357, 41, 7, 35, 23, 127, 834, 302, 834, 7, 35, 1016, 584, 4280, 28027, 6, 13062, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2991, 834, 302, 834, 7, 35, 1016, 21680, 953, 834, 2658, 4867, 2517, 4389, 834, 357, 549, 17444, 427, 13062, 3274, 96, 308, 5, 8643, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the archive where run time 24:04
CREATE TABLE table_21913 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text )
SELECT "Archive" FROM table_21913 WHERE "Run time" = '24:04'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2294, 2368, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 279, 8635, 5254, 833, 121, 1499, 6, 96, 448, 202, 97, 121, 1499, 6, 96, 15270, 277, 41, 77, 4040, 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, 23533, 757, 121, 21680, 953, 834, 357, 2294, 2368, 549, 17444, 427, 96, 448, 202, 97, 121, 3274, 3, 31, 2266, 10, 6348, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the value rank is 23, what is the value?
CREATE TABLE table_21109892_1 (value__int_ INTEGER, value_world_rank VARCHAR)
SELECT MIN(value__int_) AS $1000_ FROM table_21109892_1 WHERE value_world_rank = "23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 17304, 3914, 357, 834, 536, 41, 12097, 834, 834, 77, 17, 834, 3, 21342, 17966, 6, 701, 834, 7276, 834, 6254, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 12097, 834, 834, 77, 17, 834, 61, 6157, 1970, 2313, 834, 21680, 953, 834, 2658, 17304, 3914, 357, 834, 536, 549, 17444, 427, 701, 834, 7276, 834, 6254, 3274, 96, 2773, 121, 1, -100, -100, -100, -100, ...
What is URA Index scale?
CREATE TABLE table_name_90 (scale VARCHAR, name VARCHAR)
SELECT scale FROM table_name_90 WHERE name = "ura index"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 6649, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 412, 4763, 11507, 2643, 58, 1, 0, 0, 0, 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, 0, 0, 0, 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, 2643, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 564, 3274, 96, 2414, 5538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest acc percent score in the competition?
CREATE TABLE basketball_match (acc_percent VARCHAR)
SELECT acc_percent FROM basketball_match ORDER BY acc_percent DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 6004, 834, 883, 3728, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 3, 6004, 1093, 2604, 16, 8, 2259, 58, 1, 0, 0, 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, 0, 0, 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, 3, 6004, 834, 883, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 3, 6004, 834, 883, 3728, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What Catalog has a label of Alfa records and a date of November 21, 1980?
CREATE TABLE table_name_31 (catalog VARCHAR, label VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_31 WHERE label = "alfa records" AND date = "november 21, 1980"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 2138, 9, 2152, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 22424, 65, 3, 9, 3783, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10173, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 3783, 3274, 96, 138, 89, 9, 3187, 121, 3430, 833, 3274, 96, 5326, 18247, 12026, 6694, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
between bjorn ferry , simon elder and erik lesser - who had the most penalties ?
CREATE TABLE table_204_664 ( id number, "rank" number, "bib" number, "name" text, "nationality" text, "start" text, "penalties (p+p+s+s)" text, "time" text, "deficit" text )
SELECT "name" FROM table_204_664 WHERE "name" IN ('bjorn ferry', 'simon eder', 'erik lesser') ORDER BY "penalties (p+p+s+s)" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3539, 591, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 22456, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 16557, 485, 121, 1499, 6, 96, 10208, 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, 4350, 121, 21680, 953, 834, 26363, 834, 3539, 591, 549, 17444, 427, 96, 4350, 121, 3388, 41, 31, 115, 12775, 29, 20395, 31, 6, 3, 31, 28348, 29, 3, 15, 588, 31, 6, 3, 31, 15, 9629, 18605, 31, 61, 4674, 113...
Name the incumbent for virginia 4
CREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_2668387_18 WHERE district = "Virginia 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 519, 4225, 834, 2606, 41, 77, 75, 5937, 295, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 28406, 21, 24556, 23, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 28406, 21680, 953, 834, 2688, 3651, 519, 4225, 834, 2606, 549, 17444, 427, 3939, 3274, 96, 21031, 122, 77, 23, 9, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many business rates are related to each cmi cross reference? List cross reference id, master customer id and the n
CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, master_customer_id VARCHAR); CREATE TABLE Business_Rates (cmi_cross_ref_id VARCHAR)
SELECT T2.cmi_cross_ref_id, T2.master_customer_id, COUNT(*) FROM Business_Rates AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id GROUP BY T2.cmi_cross_ref_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 205, 7075, 834, 254, 1859, 7, 834, 1649, 11788, 7, 41, 75, 51, 23, 834, 11465, 834, 60, 89, 834, 23, 26, 584, 4280, 28027, 6, 2325, 834, 25697, 49, 834, 23, 26, 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, 332, 4416, 75, 51, 23, 834, 11465, 834, 60, 89, 834, 23, 26, 6, 332, 4416, 7429, 834, 25697, 49, 834, 23, 26, 6, 2847, 17161, 599, 1935, 61, 21680, 1769, 834, 448, 6203, 6157, 332, 536, 3, 15355, 3162, 205, 7075...
How much did the home team Geelong score?
CREATE TABLE table_name_50 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_50 WHERE home_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 5515, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 410, 8, 234, 372, 961, 15, 2961, 2604, 58, 1, 0, 0, 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, 0, 0, 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, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 234, 834, 11650, 3274, 96, 397, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
A bar chart for finding the number of the names of stadiums that some Australian swimmers have been to, and could you display Y in asc order?
CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int )
SELECT T4.Name, COUNT(T4.Name) FROM swimmer AS t1 JOIN record AS t2 ON t1.ID = t2.Swimmer_ID JOIN event AS t3 ON t2.Event_ID = t3.ID JOIN stadium AS t4 ON t4.ID = t3.Stadium_ID WHERE t1.Nationality = 'Australia' GROUP BY T4.Name ORDER BY COUNT(T4.Name)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499, 6, 4000, 9, 6726, 16, 17, 6, 896, 1499, 6, 6993, 1499, 6, 20360, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7984, 23954, 6, 2847, 17161, 599, 382, 7984, 23954, 61, 21680, 27424, 6157, 3, 17, 536, 3, 15355, 3162, 1368, 6157, 3, 17, 357, 9191, 3, 17, 5411, 4309, 3274, 3, 17, 4416, 134, 210, 12174, 834, 4309, 3, 15355...
A bar chart for listing the number of the name of technicians whose team is not 'NYY', I want to rank in asc by the Y-axis.
CREATE TABLE technician ( technician_id real, Name text, Team text, Starting_Year real, Age int ) CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes text ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series text, value_points real, quality_rank int ) CREATE TABLE repair_assignment ( technician_id int, repair_ID int, Machine_ID int )
SELECT Name, COUNT(Name) FROM technician WHERE Team <> "NYY" GROUP BY Name ORDER BY COUNT(Name)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17730, 41, 17730, 834, 23, 26, 490, 6, 5570, 1499, 6, 2271, 1499, 6, 14362, 834, 476, 2741, 490, 6, 7526, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2096, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 17730, 549, 17444, 427, 2271, 3, 2, 3155, 96, 12056, 476, 121, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 2847, 17161, 599, 23954, 61, 1, -100, -100, -100, -...
Performer 2 of chip esten has what performer 3?
CREATE TABLE table_name_40 ( performer_3 VARCHAR, performer_2 VARCHAR )
SELECT performer_3 FROM table_name_40 WHERE performer_2 = "chip esten"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 1912, 49, 834, 519, 584, 4280, 28027, 6, 1912, 49, 834, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 22871, 49, 204, 13, 6591, 249, 29,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1912, 49, 834, 519, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1912, 49, 834, 357, 3274, 96, 17362, 249, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the complete description of the job of a researcher?
CREATE TABLE grants ( grant_id number, organisation_id number, grant_amount number, grant_start_date time, grant_end_date time, other_details text ) CREATE TABLE staff_roles ( role_code text, role_description text ) CREATE TABLE projects ( project_id number, organisation_id number, project_details text ) CREATE TABLE organisation_types ( organisation_type text, organisation_type_description text ) CREATE TABLE research_outcomes ( outcome_code text, outcome_description text ) CREATE TABLE documents ( document_id number, document_type_code text, grant_id number, sent_date time, response_received_date time, other_details text ) CREATE TABLE tasks ( task_id number, project_id number, task_details text, eg agree objectives text ) CREATE TABLE project_outcomes ( project_id number, outcome_code text, outcome_details text ) CREATE TABLE organisations ( organisation_id number, organisation_type text, organisation_details text ) CREATE TABLE research_staff ( staff_id number, employer_organisation_id number, staff_details text ) CREATE TABLE document_types ( document_type_code text, document_description text ) CREATE TABLE project_staff ( staff_id number, project_id number, role_code text, date_from time, date_to time, other_details text )
SELECT role_description FROM staff_roles WHERE role_code = 'researcher'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11133, 41, 5334, 834, 23, 26, 381, 6, 5102, 834, 23, 26, 381, 6, 5334, 834, 9, 11231, 381, 6, 5334, 834, 10208, 834, 5522, 97, 6, 5334, 834, 989, 834, 5522, 97, 6, 119, 834, 221,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1075, 834, 221, 11830, 21680, 871, 834, 3491, 15, 7, 549, 17444, 427, 1075, 834, 4978, 3274, 3, 31, 60, 13173, 49, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
List all the restaurant rated more than 3.5
CREATE TABLE category ( id int, business_id varchar, category_name varchar ) CREATE TABLE review ( rid int, business_id varchar, user_id varchar, rating float, text longtext, year int, month varchar ) CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitude varchar, longitude varchar, review_count bigint, is_open tinyint, rating float, state varchar ) CREATE TABLE tip ( tip_id int, business_id varchar, text longtext, user_id varchar, likes int, year int, month varchar ) CREATE TABLE user ( uid int, user_id varchar, name varchar ) CREATE TABLE checkin ( cid int, business_id varchar, count int, day varchar ) CREATE TABLE neighborhood ( id int, business_id varchar, neighborhood_name varchar )
SELECT business.name FROM business, category WHERE business.rating > 3.5 AND category.business_id = business.business_id AND category.category_name = 'restaurant'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3295, 41, 3, 23, 26, 16, 17, 6, 268, 834, 23, 26, 3, 4331, 4059, 6, 3295, 834, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1132, 41, 5413, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 268, 5, 4350, 21680, 268, 6, 3295, 549, 17444, 427, 268, 5, 52, 1014, 2490, 3, 9285, 3430, 3295, 5, 16394, 834, 23, 26, 3274, 268, 5, 16394, 834, 23, 26, 3430, 3295, 5, 8367, 839, 651, 834, 4350, 3274, 3, 31, ...
How many steals did Nicole Levandusky make?
CREATE TABLE table_23190 ( "Player" text, "Games Played" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real )
SELECT "Steals" FROM table_23190 WHERE "Player" = 'Nicole Levandusky'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 11776, 41, 96, 15800, 49, 121, 1499, 6, 96, 23055, 7, 2911, 15, 26, 121, 490, 6, 96, 1649, 6115, 7, 121, 490, 6, 96, 188, 7, 7, 343, 7, 121, 490, 6, 96, 14337, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14337, 5405, 121, 21680, 953, 834, 2773, 11776, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 21926, 15, 312, 2132, 1259, 5352, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the nationality for francesco guglielmi
CREATE TABLE table_22705586_1 (nationality VARCHAR, name VARCHAR)
SELECT nationality FROM table_22705586_1 WHERE name = "Francesco Guglielmi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 17485, 3769, 3840, 834, 536, 41, 16557, 485, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1157, 485, 21, 2515, 663, 3523, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 357, 17485, 3769, 3840, 834, 536, 549, 17444, 427, 564, 3274, 96, 371, 5219, 3523, 2846, 4707, 15, 40, 51, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the largest crowd size that watch a game where the home team scored 12.6 (78)?
CREATE TABLE table_78028 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT MAX("Crowd") FROM table_78028 WHERE "Home team score" = '12.6 (78)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2079, 2577, 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, 4800, 4, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 940, 2079, 2577, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 9368, 948, 41, 3940, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Group position of 1st, and a Result F A of 2 0 has what average attendance?
CREATE TABLE table_69702 ( "Date" text, "Opponents" text, "Result F\u2013A" text, "Attendance" real, "Group position" text )
SELECT AVG("Attendance") FROM table_69702 WHERE "Group position" = '1st' AND "Result F\u2013A" = '2–0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 2518, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 7, 121, 1499, 6, 96, 20119, 377, 2, 76, 11138, 188, 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, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3951, 2518, 357, 549, 17444, 427, 96, 27247, 1102, 121, 3274, 3, 31, 536, 7, 17, 31, 3430, 96, 20119, 377, 2, 76, 11138, 188, 121, 3274, 3, 31, ...
What was the production count of 'The Mayor of Northolt'?
CREATE TABLE table_3191 ( "Episode #" real, "Production Count" real, "Original Airdate" text, "Prod. Code" text, "Title" text, "Viewing figures millions" text )
SELECT "Production Count" FROM table_3191 WHERE "Title" = 'The Mayor Of Northolt'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 4729, 41, 96, 427, 102, 159, 32, 221, 1713, 121, 490, 6, 96, 3174, 8291, 3, 10628, 121, 490, 6, 96, 667, 3380, 10270, 1761, 5522, 121, 1499, 6, 96, 3174, 26, 5, 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, 3174, 8291, 3, 10628, 121, 21680, 953, 834, 3341, 4729, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 634, 12394, 1129, 1117, 32, 40, 17, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which opponent has 36102 is the attendance?
CREATE TABLE table_23466021_4 ( opponent VARCHAR, attendance VARCHAR )
SELECT opponent FROM table_23466021_4 WHERE attendance = 36102
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4448, 3328, 2658, 834, 591, 41, 15264, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 15264, 65, 4475, 14388, 19, 8, 11364, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 2773, 4448, 3328, 2658, 834, 591, 549, 17444, 427, 11364, 3274, 4475, 14388, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
which production codes were written by andrew goldberg
CREATE TABLE table_26259391_1 (production_code VARCHAR, written_by VARCHAR)
SELECT production_code FROM table_26259391_1 WHERE written_by = "Andrew Goldberg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 1828, 4271, 4729, 834, 536, 41, 20762, 834, 4978, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 84, 999, 5633, 130, 1545, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 999, 834, 4978, 21680, 953, 834, 2688, 1828, 4271, 4729, 834, 536, 549, 17444, 427, 1545, 834, 969, 3274, 96, 7175, 60, 210, 2540, 2235, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average total medals of the team with 2 gold and less than 1 silver?
CREATE TABLE table_name_93 ( total INTEGER, gold VARCHAR, silver VARCHAR )
SELECT AVG(total) FROM table_name_93 WHERE gold = 2 AND silver < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 792, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 792, 9365, 7, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 2045, 3274, 204, 3430, 4294, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Gender of students at a school with a Decile of 5 and a Roll of 90?
CREATE TABLE table_name_86 ( gender VARCHAR, decile VARCHAR, roll VARCHAR )
SELECT gender FROM table_name_86 WHERE decile = 5 AND roll = 90
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 7285, 584, 4280, 28027, 6, 7908, 109, 584, 4280, 28027, 6, 3812, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 350, 3868, 13, 481...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7285, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 7908, 109, 3274, 305, 3430, 3812, 3274, 2777, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the cyrillic name for the settlement with the population of 2125?
CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)
SELECT cyrillic_name_other_names FROM table_2562572_9 WHERE population__2011_ = 2125
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 1828, 5865, 834, 1298, 41, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 584, 4280, 28027, 6, 2074, 834, 834, 13907, 834, 584, 4280, 28027, 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, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 21680, 953, 834, 19337, 1828, 5865, 834, 1298, 549, 17444, 427, 2074, 834, 834, 13907, 834, 3274, 204, 10124, 1, -100, -100, -100, -100, -100, -100, -100...
Who was the Broadway equivalent of Sharon D. Clarke's character?
CREATE TABLE table_22460085_1 (original_broadway_performer VARCHAR, original_west_end_performer VARCHAR)
SELECT original_broadway_performer FROM table_22460085_1 WHERE original_west_end_performer = "Sharon D. Clarke"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 6007, 4433, 834, 536, 41, 21878, 834, 115, 8635, 1343, 834, 883, 2032, 49, 584, 4280, 28027, 6, 926, 834, 12425, 834, 989, 834, 883, 2032, 49, 584, 4280, 28027, 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, 0...
[ 3, 23143, 14196, 926, 834, 115, 8635, 1343, 834, 883, 2032, 49, 21680, 953, 834, 24622, 6007, 4433, 834, 536, 549, 17444, 427, 926, 834, 12425, 834, 989, 834, 883, 2032, 49, 3274, 96, 134, 3272, 106, 309, 5, 8265, 15, 121, 1, -100...
What is Source, when Cartridge is .375 remington ultra magnum?
CREATE TABLE table_name_67 (source VARCHAR, cartridge VARCHAR)
SELECT source FROM table_name_67 WHERE cartridge = ".375 remington ultra magnum"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 7928, 584, 4280, 28027, 6, 16041, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 9149, 6, 116, 11533, 7700, 19, 3, 5, 22954, 3, 60, 51, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1391, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 16041, 3274, 96, 5, 22954, 3, 60, 51, 6029, 6173, 6396, 5525, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name results for herb wetanson
CREATE TABLE table_27561503_2 (results VARCHAR, gt_20_winning_team VARCHAR)
SELECT results FROM table_27561503_2 WHERE gt_20_winning_team = "Herb Wetanson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4834, 12278, 519, 834, 357, 41, 60, 7, 83, 17, 7, 584, 4280, 28027, 6, 3, 122, 17, 834, 1755, 834, 8163, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 772, 21680, 953, 834, 2555, 4834, 12278, 519, 834, 357, 549, 17444, 427, 3, 122, 17, 834, 1755, 834, 8163, 834, 11650, 3274, 96, 12636, 115, 101, 17, 152, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What country offered a prize of 66400 US dollars?
CREATE TABLE table_31084 ( "Rk" real, "Name" text, "Country" text, "Matches Played" real, "Matches Won" real, "Points" real, "Prize Money (USD)" real )
SELECT "Country" FROM table_31084 WHERE "Prize Money (USD)" = '66400'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19947, 4608, 41, 96, 448, 157, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 329, 144, 2951, 2911, 15, 26, 121, 490, 6, 96, 329, 144, 2951, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19947, 4608, 549, 17444, 427, 96, 7855, 776, 8833, 41, 23492, 61, 121, 3274, 3, 31, 3539, 5548, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the winning score on Aug 21, 1977?
CREATE TABLE table_13421 ( "Date" text, "Tournament" text, "Winning Score" text, "Margin of Victory" text, "Runner(s)-up" text )
SELECT "Winning Score" FROM table_13421 WHERE "Date" = 'aug 21, 1977'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2658, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 17763, 121, 1499, 6, 96, 7286, 122, 77, 13, 8884, 63, 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, 518, 10503, 17763, 121, 21680, 953, 834, 23747, 2658, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 402, 122, 12026, 16433, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the name of the episode seen by 9.63 millions of people in the US, whose director is Laura Innes?
CREATE TABLE table_23799653_1 ( title VARCHAR, directed_by VARCHAR, us_viewers__millions_ VARCHAR )
SELECT title FROM table_23799653_1 WHERE directed_by = "Laura Innes" AND us_viewers__millions_ = "9.63"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4440, 4314, 4867, 834, 536, 41, 2233, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 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, 2233, 21680, 953, 834, 2773, 4440, 4314, 4867, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 3612, 2414, 86, 1496, 121, 3430, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 3274, 96, 8797, 3891, 121, 1, -100, ...
When dydek (8) has the highest rebounds who has the highest amount of points?
CREATE TABLE table_18904831_6 (high_points VARCHAR, high_rebounds VARCHAR)
SELECT high_points FROM table_18904831_6 WHERE high_rebounds = "Dydek (8)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 2394, 3707, 3341, 834, 948, 41, 6739, 834, 2700, 7, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 3, 26, 63, 221, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 2700, 7, 21680, 953, 834, 2606, 2394, 3707, 3341, 834, 948, 549, 17444, 427, 306, 834, 23768, 3274, 96, 308, 63, 221, 157, 3, 28007, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's the constituency number of the Seoni district and has none reserved?
CREATE TABLE table_name_94 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, district VARCHAR)
SELECT constituency_number FROM table_name_94 WHERE reserved_for___sc___st__none_ = "none" AND district = "seoni"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 8056, 17, 155, 76, 4392, 834, 5525, 1152, 584, 4280, 28027, 6, 14040, 834, 1161, 834, 834, 834, 7, 75, 834, 834, 834, 7, 17, 834, 834, 29, 782, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6439, 4392, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 14040, 834, 1161, 834, 834, 834, 7, 75, 834, 834, 834, 7, 17, 834, 834, 29, 782, 834, 3274, 96, 29, 782, 121, 3430, 3939, 3274, 96, ...
Give me the comparison about ACC_Percent over the ACC_Regular_Season , sort by the ACC_Percent in ascending.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match ORDER BY ACC_Percent
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 3, 14775, 834, 12988, 3728, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What FC Match was played in Darlington?
CREATE TABLE table_51175 ( "Name of ground" text, "Location" text, "Year" text, "FC matches" text, "LA matches" text, "T20 matches" text, "Total" text )
SELECT "FC matches" FROM table_51175 WHERE "Location" = 'darlington'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2596, 3072, 41, 96, 23954, 13, 1591, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 476, 2741, 121, 1499, 6, 96, 5390, 6407, 121, 1499, 6, 96, 4569, 6407, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5390, 6407, 121, 21680, 953, 834, 755, 2596, 3072, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 3439, 40, 6029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return the rank for which there are the fewest captains.
CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text )
SELECT rank FROM captain GROUP BY rank ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4383, 41, 4383, 834, 23, 26, 381, 6, 564, 1499, 6, 686, 1499, 6, 1192, 834, 1201, 381, 6, 853, 1499, 6, 5692, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1426...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14268, 350, 4630, 6880, 272, 476, 11003, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was round of 64 of the singles event when the result of round 16 was did not advance and the athlete was Iveta Benešová?
CREATE TABLE table_17289604_38 (round_of_64 VARCHAR, athlete VARCHAR, event VARCHAR, round_of_16 VARCHAR)
SELECT round_of_64 FROM table_17289604_38 WHERE event = "Singles" AND round_of_16 = "Did not advance" AND athlete = "Iveta Benešová"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2577, 4314, 6348, 834, 3747, 41, 7775, 834, 858, 834, 4389, 584, 4280, 28027, 6, 17893, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 6, 1751, 834, 858, 834, 2938, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1751, 834, 858, 834, 4389, 21680, 953, 834, 2517, 2577, 4314, 6348, 834, 3747, 549, 17444, 427, 605, 3274, 96, 134, 53, 965, 121, 3430, 1751, 834, 858, 834, 2938, 3274, 96, 308, 23, 26, 59, 3245, 121, 3430, 17893, ...
For those employees who did not have any job in the past, what is the relationship between employee_id and manager_id ?
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,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) ) 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 jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_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) )
SELECT EMPLOYEE_ID, MANAGER_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 5244, 5017, 476, 5080, 834, 4309, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, ...
how many seats were won by the social democratic party in 1994 ?
CREATE TABLE table_204_72 ( id number, "election year" number, "# of\nconstituency votes" number, "# of\nparty list votes" number, "% of\nparty list votes" number, "# of\noverall seats won" text, "+/-" number )
SELECT "# of\noverall seats won" FROM table_204_72 WHERE "election year" = 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 5865, 41, 3, 23, 26, 381, 6, 96, 15, 12252, 215, 121, 381, 6, 96, 4663, 13, 2, 29, 8056, 17, 155, 76, 4392, 11839, 121, 381, 6, 96, 4663, 13, 2, 29, 8071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4663, 13, 2, 29, 1890, 1748, 6116, 751, 121, 21680, 953, 834, 26363, 834, 5865, 549, 17444, 427, 96, 15, 12252, 215, 121, 3274, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Nam the total number for bruce coulter award for 9th game
CREATE TABLE table_228149_1 ( bruce_coulter_award VARCHAR, game VARCHAR )
SELECT COUNT(bruce_coulter_award) FROM table_228149_1 WHERE game = "9th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 24816, 834, 536, 41, 3, 9052, 565, 834, 509, 83, 449, 834, 9, 2239, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 18740, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9052, 565, 834, 509, 83, 449, 834, 9, 2239, 61, 21680, 953, 834, 357, 2577, 24816, 834, 536, 549, 17444, 427, 467, 3274, 96, 1298, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the name and id of the item with the highest average rating.
CREATE TABLE trust ( source_u_id number, target_u_id number, trust number ) CREATE TABLE useracct ( u_id number, name text ) CREATE TABLE review ( a_id number, u_id number, i_id number, rating number, rank number ) CREATE TABLE item ( i_id number, title text )
SELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2019, 41, 1391, 834, 76, 834, 23, 26, 381, 6, 2387, 834, 76, 834, 23, 26, 381, 6, 2019, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1139, 6004, 17, 41, 3, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21869, 6, 332, 5411, 23, 834, 23, 26, 21680, 2118, 6157, 332, 536, 3, 15355, 3162, 1132, 6157, 332, 357, 9191, 332, 5411, 23, 834, 23, 26, 3274, 332, 4416, 23, 834, 23, 26, 350, 4630, 6880, 272, 476, ...
What is the title of the show with less than 10 seasons that aired on September 29, 1997 and is directed by Milan Cheylov?
CREATE TABLE table_name_69 ( title VARCHAR, original_air_date VARCHAR, season__number VARCHAR, directed_by VARCHAR )
SELECT title FROM table_name_69 WHERE season__number < 10 AND directed_by = "milan cheylov" AND original_air_date = "september 29, 1997"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 2233, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 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, 2233, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 774, 834, 834, 5525, 1152, 3, 2, 335, 3430, 6640, 834, 969, 3274, 96, 26759, 29, 3, 1033, 63, 5850, 121, 3430, 926, 834, 2256, 834, 5522, 3274, 96, 7, 6707,...
Which Cashes has a Match Play smaller than 13, and a Events of 7?
CREATE TABLE table_40422 ( "Season" text, "Events" real, "Cashes" real, "Match Play" real, "TV Finals" real, "PBA Titles" real, "Average" real, "Earnings" text )
SELECT COUNT("Cashes") FROM table_40422 WHERE "Match Play" < '13' AND "Events" = '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25285, 2884, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 427, 2169, 7, 121, 490, 6, 96, 254, 23604, 121, 490, 6, 96, 329, 14547, 2911, 121, 490, 6, 96, 4562, 6514, 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, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 254, 23604, 8512, 21680, 953, 834, 25285, 2884, 549, 17444, 427, 96, 329, 14547, 2911, 121, 3, 2, 3, 31, 2368, 31, 3430, 96, 427, 2169, 7, 121, 3274, 3, 31, 940, 31, 1, -100, -100, -100, -...
count the number of patients whose diagnoses icd9 code is 481 and lab test fluid is blood?
CREATE TABLE diagnoses ( 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "481" AND lab.fluid = "Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 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, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is the duration of the commissioner from the zeeland province?
CREATE TABLE table_name_47 ( duration VARCHAR, province VARCHAR )
SELECT duration FROM table_name_47 WHERE province = "zeeland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 8659, 584, 4280, 28027, 6, 7985, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8659, 13, 8, 24476, 45, 8, 3, 776, 15, 40, 232, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 8659, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 7985, 3274, 96, 776, 15, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the exercise when the equipment is heart rate monitor, water and towel?
CREATE TABLE table_74123 ( "Program" text, "Exercise" text, "Week" text, "Muscles Worked" text, "Type" text, "Ab Ripper X" text, "Length" text, "Equipment" text )
SELECT "Exercise" FROM table_74123 WHERE "Equipment" = 'Heart rate monitor, water and towel'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 14574, 41, 96, 3174, 5096, 121, 1499, 6, 96, 5420, 15, 21645, 15, 121, 1499, 6, 96, 518, 10266, 121, 1499, 6, 96, 329, 302, 2482, 7, 3118, 15, 26, 121, 1499, 6, 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, 5420, 15, 21645, 15, 121, 21680, 953, 834, 4581, 14574, 549, 17444, 427, 96, 427, 23067, 297, 121, 3274, 3, 31, 3845, 1408, 1080, 3393, 6, 387, 11, 15580, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the time of the Ghantoot Racing and Polo Club?
CREATE TABLE table_name_4 ( time VARCHAR, ground VARCHAR )
SELECT time FROM table_name_4 WHERE ground = "ghantoot racing and polo club"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 97, 584, 4280, 28027, 6, 1591, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 97, 13, 8, 350, 2618, 235, 32, 17, 16046, 11, 22068...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 97, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 1591, 3274, 96, 22637, 235, 32, 17, 8191, 11, 3, 3233, 32, 1886, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the total number of patients who died in or before the year 2111?
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob 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 COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.dod_year <= "2111.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 26, 32, 26, 834, 1201, 3, 2, 2423, 96, 27278, 12734, 121, 1, -100, -100, -100, -100, -100, -100,...
What country is the player who earned $9,000 from?
CREATE TABLE table_name_62 (country VARCHAR, money__$_ VARCHAR)
SELECT country FROM table_name_62 WHERE money__$_ = "9,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 17529, 584, 4280, 28027, 6, 540, 834, 834, 3229, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 19, 8, 1959, 113, 4964, 1514, 23938,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 540, 834, 834, 3229, 834, 3274, 96, 23938, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver?
CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT AVG(gold) FROM table_name_73 WHERE bronze > 6 AND silver > 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 14910, 3, 21342, 17966, 6, 13467, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2540, 9365, 7, 21, 8, 9638, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 13467, 2490, 431, 3430, 4294, 2490, 507, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the transfer window for the country of ESP and the name of de la red?
CREATE TABLE table_name_49 (transfer_window VARCHAR, country VARCHAR, name VARCHAR)
SELECT transfer_window FROM table_name_49 WHERE country = "esp" AND name = "de la red"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 7031, 1010, 834, 5165, 2381, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2025, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2025, 834, 5165, 2381, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 684, 3274, 96, 15, 7, 102, 121, 3430, 564, 3274, 96, 221, 50, 1131, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of pieces where the person is charley hoffman
CREATE TABLE table_28498999_6 (reset_points VARCHAR, player VARCHAR)
SELECT COUNT(reset_points) FROM table_28498999_6 WHERE player = "Charley Hoffman"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3647, 3914, 3264, 834, 948, 41, 60, 2244, 834, 2700, 7, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 381, 13, 2161, 213...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 60, 2244, 834, 2700, 7, 61, 21680, 953, 834, 2577, 3647, 3914, 3264, 834, 948, 549, 17444, 427, 1959, 3274, 96, 18947, 1306, 27014, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What high assists have a game greater than 46?
CREATE TABLE table_50282 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High assists" FROM table_50282 WHERE "Game" > '46'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 2577, 357, 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, 21417, 13041, 121, 21680, 953, 834, 1752, 2577, 357, 549, 17444, 427, 96, 23055, 121, 2490, 3, 31, 4448, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what was the total of previous council ?
CREATE TABLE table_204_223 ( id number, "party" text, "previous council" number, "staying councillors" number, "seats up for election" number, "election result" number, "new council" number )
SELECT "previous council" FROM table_204_223 WHERE "party" = 'total'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 2773, 41, 3, 23, 26, 381, 6, 96, 8071, 121, 1499, 6, 96, 2026, 19117, 6098, 121, 381, 6, 96, 21545, 53, 6098, 322, 7, 121, 381, 6, 96, 7, 1544, 7, 95...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2026, 19117, 6098, 121, 21680, 953, 834, 26363, 834, 357, 2773, 549, 17444, 427, 96, 8071, 121, 3274, 3, 31, 235, 1947, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was GDP for 2006-2009 for the sector that had a 20.1 GDP for 2010-2012?
CREATE TABLE table_27515 ( "Supply sector (% of GDP in current prices)" text, "1993-2001" text, "2002-2005" text, "2006-2009" text, "2010-2012" text )
SELECT "2006-2009" FROM table_27515 WHERE "2010-2012" = '20.1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25988, 1808, 41, 96, 134, 413, 102, 120, 2393, 41, 1454, 13, 11284, 16, 750, 1596, 61, 121, 1499, 6, 96, 19479, 21160, 17465, 121, 1499, 6, 96, 24898, 18, 22594, 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, 21196, 18, 16660, 121, 21680, 953, 834, 25988, 1808, 549, 17444, 427, 96, 14926, 18, 12172, 121, 3274, 3, 31, 357, 16029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who made high assists on february 4
CREATE TABLE table_17311759_7 ( high_assists VARCHAR, date VARCHAR )
SELECT high_assists FROM table_17311759_7 WHERE date = "February 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3341, 2517, 3390, 834, 940, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 263, 306, 13041, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 2517, 3341, 2517, 3390, 834, 940, 549, 17444, 427, 833, 3274, 96, 31122, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the venue where goal #2 occured?
CREATE TABLE table_name_11 ( venue VARCHAR, goal__number VARCHAR )
SELECT venue FROM table_name_11 WHERE goal__number = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 5669, 584, 4280, 28027, 6, 1288, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 5669, 213, 1288, 15493, 4093, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 1288, 834, 834, 5525, 1152, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
transplant self medication program is which type of drug?
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid 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 prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Transplant Self Medication Program"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 7744, 7, 5, 26, 13534, 834, 6137, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 26, 13534, 3274, 96, 18474, 14925, 8662, 1212, 17530, 2350, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the 1991 for 2R 1999?
CREATE TABLE table_60357 ( "Tournament" text, "1988" text, "1990" text, "1991" text, "1992" text, "1993" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "Career SR" text, "Career Win-Loss" text )
SELECT "1991" FROM table_60357 WHERE "1999" = '2r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 519, 3436, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 4060, 121, 1499, 6, 96, 2294, 2394, 121, 1499, 6, 96, 2294, 4729, 121, 1499, 6, 96, 19479, 357, 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, 2294, 4729, 121, 21680, 953, 834, 3328, 519, 3436, 549, 17444, 427, 96, 2294, 3264, 121, 3274, 3, 31, 357, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When the average ratings is 10.3%, what is the average episodes?
CREATE TABLE table_name_32 (episodes INTEGER, average_ratings VARCHAR)
SELECT AVG(episodes) FROM table_name_32 WHERE average_ratings = "10.3%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 15, 102, 159, 32, 1395, 3, 21342, 17966, 6, 1348, 834, 52, 1014, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 1348, 9712, 19, 5477, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 71, 17217, 599, 15, 102, 159, 32, 1395, 61, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1348, 834, 52, 1014, 7, 3274, 96, 10415, 5170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which party has less than 11,484 votes?
CREATE TABLE table_name_81 (party VARCHAR, votes INTEGER)
SELECT party FROM table_name_81 WHERE votes < 11 OFFSET 484
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 8071, 584, 4280, 28027, 6, 11839, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 1088, 65, 705, 145, 9694, 3707, 591, 11839, 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, 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, 1088, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 11839, 3, 2, 850, 3, 15316, 20788, 314, 4608, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many votes were cast when the constituency was midlothian?
CREATE TABLE table_25818630_2 (votes__cast VARCHAR, constituency VARCHAR)
SELECT votes__cast FROM table_25818630_2 WHERE constituency = "Midlothian"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4959, 3840, 1458, 834, 357, 41, 1621, 1422, 834, 834, 5254, 584, 4280, 28027, 6, 6439, 4392, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 11839, 130, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 11839, 834, 834, 5254, 21680, 953, 834, 1828, 4959, 3840, 1458, 834, 357, 549, 17444, 427, 6439, 4392, 3274, 96, 329, 23, 26, 3171, 29022, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
WHAT IS THE POINTS PERCENTAGE WITH A TOTAL OF 1-2-2 RECORD?
CREATE TABLE table_name_29 ( points__percentage VARCHAR, total_w_l_h VARCHAR )
SELECT points__percentage FROM table_name_29 WHERE total_w_l_h = "1-2-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 979, 834, 834, 883, 3728, 545, 584, 4280, 28027, 6, 792, 834, 210, 834, 40, 834, 107, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 68...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 979, 834, 834, 883, 3728, 545, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 792, 834, 210, 834, 40, 834, 107, 3274, 96, 9596, 4949, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Name has a Height (cm) of 175 and a Birthplace of detroit, michigan
CREATE TABLE table_name_42 (name VARCHAR, height__cm_ VARCHAR, birthplace VARCHAR)
SELECT name FROM table_name_42 WHERE height__cm_ = 175 AND birthplace = "detroit, michigan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 4350, 584, 4280, 28027, 6, 3902, 834, 834, 75, 51, 834, 584, 4280, 28027, 6, 3879, 4687, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5570,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 3902, 834, 834, 75, 51, 834, 3274, 209, 3072, 3430, 3879, 4687, 3274, 96, 26, 15252, 155, 6, 2278, 12588, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose insurance is medicare and diagnoses short title is acute necrosis of liver?
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Medicare" AND diagnoses.short_title = "Acute necrosis of liver"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 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, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Which Administrative Panel has a Nominated by the Taoiseach smaller than 0?
CREATE TABLE table_40216 ( "Administrative Panel" real, "Agricultural Panel" real, "Cultural and Educational Panel" real, "Industrial and Commercial Panel" real, "Labour Panel" real, "National University of Ireland" real, "University of Dublin" real, "Nominated by the Taoiseach" real, "Total" real )
SELECT MIN("Administrative Panel") FROM table_40216 WHERE "Nominated by the Taoiseach" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 27184, 41, 96, 16313, 343, 52, 1528, 9871, 121, 490, 6, 96, 24354, 9871, 121, 490, 6, 96, 254, 83, 17, 9709, 11, 19173, 9871, 121, 490, 6, 96, 1570, 8655, 17, 12042...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 121, 16313, 343, 52, 1528, 9871, 8512, 21680, 953, 834, 2445, 27184, 549, 17444, 427, 96, 4168, 1109, 920, 57, 8, 2067, 32, 159, 15, 1836, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, -10...
Name the district for anti-jacksonian
CREATE TABLE table_74001 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text )
SELECT "District" FROM table_74001 WHERE "Party" = 'Anti-Jacksonian'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 17465, 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, 308, 23, 20066, 121, 21680, 953, 834, 4581, 17465, 549, 17444, 427, 96, 13725, 63, 121, 3274, 3, 31, 27355, 18, 683, 4365, 7, 8008, 29, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show me a bar chart with the product name and their frequency.
CREATE TABLE Addresses ( address_id INTEGER, line_1_number_building VARCHAR(80), city VARCHAR(50), zip_postcode VARCHAR(20), state_province_county VARCHAR(50), country VARCHAR(50) ) CREATE TABLE Products ( product_id INTEGER, product_type_code VARCHAR(15), product_name VARCHAR(80), product_price DOUBLE ) CREATE TABLE Customer_Address_History ( customer_id INTEGER, address_id INTEGER, date_from DATETIME, date_to DATETIME ) CREATE TABLE Customer_Orders ( order_id INTEGER, customer_id INTEGER, order_date DATETIME, order_status_code VARCHAR(15) ) CREATE TABLE Order_Items ( order_item_id INTEGER, order_id INTEGER, product_id INTEGER, order_quantity VARCHAR(80) ) CREATE TABLE Customers ( customer_id INTEGER, payment_method_code VARCHAR(15), customer_number VARCHAR(20), customer_name VARCHAR(80), customer_address VARCHAR(255), customer_phone VARCHAR(80), customer_email VARCHAR(80) ) CREATE TABLE Contacts ( contact_id INTEGER, customer_id INTEGER, gender VARCHAR(1), first_name VARCHAR(80), last_name VARCHAR(50), contact_phone VARCHAR(80) )
SELECT product_name, COUNT(product_name) FROM Products GROUP BY product_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 13246, 15, 7, 41, 1115, 834, 23, 26, 3, 21342, 17966, 6, 689, 834, 536, 834, 5525, 1152, 834, 10905, 584, 4280, 28027, 599, 2079, 201, 690, 584, 4280, 28027, 599, 1752, 201, 10658, 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, 556, 834, 4350, 6, 2847, 17161, 599, 15892, 834, 4350, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 556, 834, 4350, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
where did marie-laure taya win?
CREATE TABLE table_name_90 ( venue VARCHAR, winner VARCHAR )
SELECT venue FROM table_name_90 WHERE winner = "marie-laure taya"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 5669, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 213, 410, 2774, 15, 18, 521, 1462, 3, 17, 9, 63, 9, 1369, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 4668, 3274, 96, 17289, 15, 18, 521, 1462, 3, 17, 9, 63, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the played total when the points against was 321?
CREATE TABLE table_13564637_4 ( played VARCHAR, points_against VARCHAR )
SELECT played FROM table_13564637_4 WHERE points_against = "321"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4834, 4448, 4118, 834, 591, 41, 1944, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1944, 792, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 1944, 21680, 953, 834, 2368, 4834, 4448, 4118, 834, 591, 549, 17444, 427, 979, 834, 9, 16720, 7, 17, 3274, 96, 519, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What years did Birger Ruud win the FIS Nordic World Ski Championships?
CREATE TABLE table_21696 ( "Winner" text, "Country" text, "Winter Olympics" text, "FIS Nordic World Ski Championships" text, "Holmenkollen" text )
SELECT "FIS Nordic World Ski Championships" FROM table_21696 WHERE "Winner" = 'Birger Ruud'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27184, 4314, 41, 96, 18455, 687, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 518, 3870, 17793, 121, 1499, 6, 96, 4936, 134, 24207, 1150, 7409, 7666, 7, 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, 4936, 134, 24207, 1150, 7409, 7666, 7, 121, 21680, 953, 834, 27184, 4314, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 279, 23, 52, 1304, 2770, 76, 26, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
How many names have a country of civ?
CREATE TABLE table_22810095_8 (COUnT VARCHAR, country VARCHAR)
SELECT COUnT AS name FROM table_22810095_8 WHERE country = "CIV"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 2915, 3301, 834, 927, 41, 5911, 5110, 382, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3056, 43, 3, 9, 684, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 5110, 382, 6157, 564, 21680, 953, 834, 357, 2577, 2915, 3301, 834, 927, 549, 17444, 427, 684, 3274, 96, 254, 7589, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What country does david gilford play for?
CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_90 WHERE player = "david gilford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 17529, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 405, 836, 6961, 3, 122, 173, 2590, 577, 21, 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, 684, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 1959, 3274, 96, 26, 9, 6961, 3, 122, 173, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the name of the episode that was written by Michael Rauch?
CREATE TABLE table_25666 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Prod. code" text, "Viewers (millions)" text )
SELECT "Title" FROM table_25666 WHERE "Written by" = 'Michael Rauch'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 3539, 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, 24965...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 155, 109, 121, 21680, 953, 834, 19337, 3539, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 329, 362, 9, 15, 40, 27095, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many viewers were there on 1august1964?
CREATE TABLE table_72855 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text )
SELECT "Viewers (in millions)" FROM table_72855 WHERE "Broadcast date" = '1August1964'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2577, 3769, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 279, 8635, 5254, 833, 121, 1499, 6, 96, 448, 202, 97, 121, 1499, 6, 96, 15270, 277, 41, 77, 4040, 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, 15270, 277, 41, 77, 4040, 61, 121, 21680, 953, 834, 940, 2577, 3769, 549, 17444, 427, 96, 279, 8635, 5254, 833, 121, 3274, 3, 31, 536, 26579, 2294, 4389, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose ethnicity is asian and year of birth is less than 2109?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.dob_year < "2109"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 3291, 21758, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 3, 2, ...
what is maximum age of patients whose primary disease is hyperglycemia and days of hospital stay is 3?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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 MAX(demographic.age) FROM demographic WHERE demographic.diagnosis = "HYPERGLYCEMIA" AND demographic.days_stay = "3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 15761, 8742, 517, 5121, 254, 25284, 188, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 3274, 96, 519, 121, 1, ...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and code , and group by attribute founder, could you show by the x axis from low to high?
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23954, 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, 3, 19145, 6,...