NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the hometown for Santiago?
CREATE TABLE table_61591 ( "Province, Community" text, "Contestant" text, "Height" text, "Hometown" text, "Geographical Regions" text )
SELECT "Hometown" FROM table_61591 WHERE "Province, Community" = 'santiago'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 3390, 536, 41, 96, 3174, 2494, 565, 6, 3092, 121, 1499, 6, 96, 4302, 4377, 288, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 517, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19040, 3540, 121, 21680, 953, 834, 4241, 3390, 536, 549, 17444, 427, 96, 3174, 2494, 565, 6, 3092, 121, 3274, 3, 31, 7, 5965, 9, 839, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front
CREATE TABLE table_name_43 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR)
SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 99, 32, 102, 834, 591, 834, 2266, 834, 4198, 584, 4280, 28027, 6, 3474, 1343, 834, 591, 834, 2517, 834, 4198, 584, 4280, 28027, 6, 1088, 584, 4280, 280...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 99, 32, 102, 834, 591, 834, 2266, 834, 4198, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 3474, 1343, 834, 591, 834, 2517, 834, 4198, 3274, 96, 2712, 121, 3430, 1088, 3274, 96, 17068, 851, 121, 1, -100, -...
What package/option has documentaries as the content, yes as the HDTV, and a television service of history hd?
CREATE TABLE table_39987 ( "Television service" text, "Language" text, "Content" text, "HDTV" text, "Package/Option" text )
SELECT "Package/Option" FROM table_39987 WHERE "Content" = 'documentaries' AND "HDTV" = 'yes' AND "Television service" = 'history hd'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3264, 4225, 41, 96, 382, 400, 6610, 313, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 4302, 4669, 121, 1499, 6, 96, 11083, 4562, 121, 1499, 6, 96, 24376, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24376, 545, 87, 9546, 106, 121, 21680, 953, 834, 519, 3264, 4225, 549, 17444, 427, 96, 4302, 4669, 121, 3274, 3, 31, 28244, 5414, 31, 3430, 96, 11083, 4562, 121, 3274, 3, 31, 10070, 31, 3430, 96, 382, 400, 661...
What instrumental has tkven-i as the genitive?
CREATE TABLE table_50518 ( "Nominative" text, "Ergative" text, "Dative" text, "Genitive" text, "Instrumental" text, "Adverbial" text )
SELECT "Instrumental" FROM table_50518 WHERE "Genitive" = 'tkven-i'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 755, 2606, 41, 96, 4168, 1109, 1528, 121, 1499, 6, 96, 10575, 122, 1528, 121, 1499, 6, 96, 308, 1528, 121, 1499, 6, 96, 13714, 23, 3268, 121, 1499, 6, 96, 1570, 615...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1570, 6159, 13974, 121, 21680, 953, 834, 1752, 755, 2606, 549, 17444, 427, 96, 13714, 23, 3268, 121, 3274, 3, 31, 17, 157, 1926, 18, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many draft picks is player byron dafoe?
CREATE TABLE table_2897457_2 (pick__number VARCHAR, player VARCHAR)
SELECT COUNT(pick__number) FROM table_2897457_2 WHERE player = "Byron Dafoe"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3914, 4581, 3436, 834, 357, 41, 17967, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 6488, 1432, 7, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 357, 3914, 4581, 3436, 834, 357, 549, 17444, 427, 1959, 3274, 96, 30507, 878, 89, 32, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Opponent has an Event of jungle fight 5?
CREATE TABLE table_48093 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Opponent" FROM table_48093 WHERE "Event" = 'jungle fight 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20579, 4271, 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, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 20579, 4271, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 22498, 109, 2870, 305, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the coupon amount of the coupons owned by both good and bad customers?
CREATE TABLE Discount_Coupons (coupon_amount VARCHAR, coupon_id VARCHAR); CREATE TABLE customers (coupon_id VARCHAR, good_or_bad_customer VARCHAR)
SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'good' INTERSECT SELECT T1.coupon_amount FROM Discount_Coupons AS T1 JOIN customers AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.good_or_bad_customer = 'bad'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16111, 834, 3881, 413, 106, 7, 41, 15976, 106, 834, 9, 11231, 584, 4280, 28027, 6, 8133, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15976, 106, 834, 9, 11231, 21680, 16111, 834, 3881, 413, 106, 7, 6157, 332, 536, 3, 15355, 3162, 722, 6157, 332, 357, 9191, 332, 5411, 15976, 106, 834, 23, 26, 3274, 332, 4416, 15976, 106, 834, 23, 26, ...
How many locations? Draw a bar chart.
CREATE TABLE train ( Train_ID int, Name text, Time text, Service text ) CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Location text, Main_Services text, Number_of_Platforms int ) CREATE TABLE train_station ( Train_ID int, Station_ID int )
SELECT Location, COUNT(Location) FROM station GROUP BY Location
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 15059, 834, 4309, 16, 17, 6, 5570, 1499, 6, 2900, 1499, 6, 1387, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 5939, 834, 4309, 16, 17, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10450, 6, 2847, 17161, 599, 434, 32, 75, 257, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 10450, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total for the player with a Finish of T39?
CREATE TABLE table_12441 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text )
SELECT "Total" FROM table_12441 WHERE "Finish" = 't39'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22504, 4853, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 599, 7, 61, 751, 121, 1499, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 1947, 121, 21680, 953, 834, 22504, 4853, 549, 17444, 427, 96, 371, 77, 1273, 121, 3274, 3, 31, 17, 3288, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the Record on the Date May 8?
CREATE TABLE table_name_15 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_15 WHERE date = "may 8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11392, 30, 8, 7678, 932, 505, 58, 1, 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, 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, 1368, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 833, 3274, 96, 13726, 505, 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 average number of tries for British and Irish Lions with less than 2 games?
CREATE TABLE table_name_82 ( tries INTEGER, team VARCHAR, games VARCHAR )
SELECT AVG(tries) FROM table_name_82 WHERE team = "british and irish lions" AND games < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 3, 9000, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 3, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 71, 17217, 599, 9000, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 372, 3274, 96, 2160, 17, 1273, 11, 3, 24804, 107, 3, 7325, 7, 121, 3430, 1031, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, ...
What pregame analyst(s) had rob stone and monica gonzalez as sideline reporters and were on tsn2?
CREATE TABLE table_17516922_1 ( pregame_analysts VARCHAR, sideline_reporters VARCHAR, network VARCHAR )
SELECT pregame_analysts FROM table_17516922_1 WHERE sideline_reporters = "Rob Stone and Monica Gonzalez" AND network = "TSN2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 5553, 3951, 2884, 834, 536, 41, 554, 7261, 834, 152, 9, 120, 7, 17, 7, 584, 4280, 28027, 6, 596, 747, 834, 60, 1493, 277, 584, 4280, 28027, 6, 1229, 584, 4280, 2802...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 554, 7261, 834, 152, 9, 120, 7, 17, 7, 21680, 953, 834, 2517, 5553, 3951, 2884, 834, 536, 549, 17444, 427, 596, 747, 834, 60, 1493, 277, 3274, 96, 24372, 5614, 11, 20268, 31403, 121, 3430, 1229, 3274, 96, 4578, 56...
What is the Prize amount of Winner Dominik Nitsche?
CREATE TABLE table_49357 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text )
SELECT "Prize" FROM table_49357 WHERE "Winner" = 'dominik nitsche'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 519, 3436, 41, 96, 308, 342, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 7855, 776, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7855, 776, 121, 21680, 953, 834, 3647, 519, 3436, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 5012, 23, 4953, 3, 29, 155, 3992, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the time for the second qualification where the best time was 1:20.772?
CREATE TABLE table_name_38 ( qual_2 VARCHAR, best VARCHAR )
SELECT qual_2 FROM table_name_38 WHERE best = "1:20.772"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 3, 11433, 834, 357, 584, 4280, 28027, 6, 200, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 97, 21, 8, 511, 15513, 213, 8, 200,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 11433, 834, 357, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 200, 3274, 96, 536, 10, 357, 22426, 5865, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the MySpace Band with an Original Airdate of 19 february 2008?
CREATE TABLE table_40935 ( "Pilot" text, "Original Airdate" text, "Musical Guest/Song performed" text, "YouTube Hero" text, "MySpace Band" text )
SELECT "MySpace Band" FROM table_40935 WHERE "Original Airdate" = '19 february 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4198, 2469, 41, 96, 345, 23, 3171, 121, 1499, 6, 96, 667, 3380, 10270, 1761, 5522, 121, 1499, 6, 96, 29035, 138, 14252, 87, 134, 2444, 3032, 121, 1499, 6, 96, 3774, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7008, 24722, 4483, 121, 21680, 953, 834, 591, 4198, 2469, 549, 17444, 427, 96, 667, 3380, 10270, 1761, 5522, 121, 3274, 3, 31, 2294, 29976, 76, 1208, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of Weight for the person with a height of 6'6'?
CREATE TABLE table_41654 ( "Name" text, "Height" text, "Weight (lbs.)" real, "Position" text, "Class" text, "Hometown" text )
SELECT SUM("Weight (lbs.)") FROM table_41654 WHERE "Height" = '6''6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2938, 5062, 41, 96, 23954, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 41, 9949, 5, 61, 121, 490, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 21486,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1326, 2632, 41, 9949, 5, 61, 8512, 21680, 953, 834, 591, 2938, 5062, 549, 17444, 427, 96, 3845, 2632, 121, 3274, 3, 31, 948, 31, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
List the method, date and amount of all the payments, in ascending order of date.
CREATE TABLE Payments ( Payment_Method_Code VARCHAR, Date_Payment_Made VARCHAR, Amount_Payment VARCHAR )
SELECT Payment_Method_Code, Date_Payment_Made, Amount_Payment FROM Payments ORDER BY Date_Payment_Made
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 12248, 7, 41, 12248, 834, 23351, 107, 32, 26, 834, 22737, 584, 4280, 28027, 6, 7678, 834, 19702, 297, 834, 329, 9, 221, 584, 4280, 28027, 6, 71, 11231, 834, 19702, 297, 584, 4280, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12248, 834, 23351, 107, 32, 26, 834, 22737, 6, 7678, 834, 19702, 297, 834, 329, 9, 221, 6, 71, 11231, 834, 19702, 297, 21680, 12248, 7, 4674, 11300, 272, 476, 7678, 834, 19702, 297, 834, 329, 9, 221, 1, -100, -100...
What is the Competition for Season 2002 03, and the Opponent was zenit st. petersburg?
CREATE TABLE table_43371 ( "Season" text, "Competition" text, "Round" text, "Opponent" text, "Series" text )
SELECT "Competition" FROM table_43371 WHERE "Season" = '2002–03' AND "Opponent" = 'zenit st. petersburg'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 4118, 536, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 12106...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5890, 4995, 4749, 121, 21680, 953, 834, 4906, 4118, 536, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 24898, 104, 4928, 31, 3430, 96, 667, 102, 9977, 121, 3274, 3, 31, 1847, 155, 3, 7, 17, 5, 15...
what's the party with brooklyn value of 51.0%
CREATE TABLE table_1108394_43 ( party VARCHAR, brooklyn VARCHAR )
SELECT party FROM table_1108394_43 WHERE brooklyn = "51.0_percentage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19277, 4591, 4240, 834, 4906, 41, 1088, 584, 4280, 28027, 6, 3, 14370, 120, 29, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 1088, 28, 3, 14370, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 19277, 4591, 4240, 834, 4906, 549, 17444, 427, 3, 14370, 120, 29, 3274, 96, 755, 12734, 834, 883, 3728, 545, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Can you tell me the Date that has the Visitor of florida?
CREATE TABLE table_name_84 (date VARCHAR, visitor VARCHAR)
SELECT date FROM table_name_84 WHERE visitor = "florida"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 5522, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 7678, 24, 65, 8, 4957, 127, 13, 12215, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 7019, 3274, 96, 89, 322, 23, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average 2003 with 2,154,170 in 2010 and a 2008 less than 2,266,716?
CREATE TABLE table_61804 ( "2010" text, "2009" real, "2008" real, "2007" text, "2006" real, "2005" real, "2004" real, "2003" real, "2002" text )
SELECT AVG("2003") FROM table_61804 WHERE "2010" = '2,154,170' AND "2008" < '2,266,716'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 2079, 591, 41, 96, 14926, 121, 1499, 6, 96, 16660, 121, 490, 6, 96, 16128, 121, 490, 6, 96, 20615, 121, 1499, 6, 96, 21196, 121, 490, 6, 96, 22594, 121, 490, 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, 71, 17217, 599, 121, 23948, 8512, 21680, 953, 834, 4241, 2079, 591, 549, 17444, 427, 96, 14926, 121, 3274, 3, 31, 4482, 27308, 6, 536, 2518, 31, 3430, 96, 16128, 121, 3, 2, 3, 31, 4482, 2688, 11071, 940, 2938, 31,...
what would be patient 006-71495's yearly average weight until 01/2102?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
SELECT AVG(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-71495') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y-%m', patient.unitadmittime) <= '2102-01' GROUP BY STRFTIME('%y', patient.unitadmittime)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 10061, 5, 9, 26, 5451, 9378, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15878, 3734, 21545, 23, 26, 21680, 1868, 549, 17444, ...
What's the total wins when the draws are less than 0?
CREATE TABLE table_name_92 ( wins VARCHAR, draws INTEGER )
SELECT COUNT(wins) FROM table_name_92 WHERE draws < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 9204, 584, 4280, 28027, 6, 14924, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 792, 9204, 116, 8, 14924, 33, 705, 145, 3, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 14924, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the result of the game when the attendance was 43,279?
CREATE TABLE table_name_8 ( result VARCHAR, attendance VARCHAR )
SELECT result FROM table_name_8 WHERE attendance = "43,279"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 741, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 467, 116, 8, 11364, 47, 8838, 6, 357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 11364, 3274, 96, 4906, 6, 357, 4440, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What campuses are in Los Angeles county?
CREATE TABLE csu_fees ( campus number, year number, campusfee number ) CREATE TABLE campuses ( id number, campus text, location text, county text, year number ) CREATE TABLE degrees ( year number, campus number, degrees number ) CREATE TABLE faculty ( campus number, year number, faculty number ) CREATE TABLE enrollments ( campus number, year number, totalenrollment_ay number, fte_ay number ) CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number )
SELECT campus FROM campuses WHERE county = "Los Angeles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 75, 7, 76, 834, 89, 15, 15, 7, 41, 4730, 381, 6, 215, 381, 6, 4730, 89, 15, 15, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 25784, 41, 3, 23, 26, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4730, 21680, 25784, 549, 17444, 427, 5435, 3274, 96, 434, 32, 7, 4975, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who are all of the players on the Westchester High School club team?
CREATE TABLE table_72072 ( "Player" text, "No." text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text )
SELECT "Player" FROM table_72072 WHERE "School/Club Team" = 'Westchester High School'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18517, 5865, 41, 96, 15800, 49, 121, 1499, 6, 96, 4168, 535, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 16, 7030, 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, 15800, 49, 121, 21680, 953, 834, 18517, 5865, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 19069, 13263, 1592, 1121, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When has Score of 4–5, and a Record of 21–21–3?
CREATE TABLE table_name_94 (date VARCHAR, score VARCHAR, record VARCHAR)
SELECT date FROM table_name_94 WHERE score = "4–5" AND record = "21–21–3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 5522, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 65, 17763, 13, 314, 104, 11116, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 2604, 3274, 96, 591, 104, 17395, 3430, 1368, 3274, 96, 2658, 104, 2658, 104, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Fitzroy's Home team score?
CREATE TABLE table_name_60 ( home_team VARCHAR )
SELECT home_team AS score FROM table_name_60 WHERE home_team = "fitzroy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 9783, 172, 8170, 31, 7, 1210, 372, 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, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 234, 834, 11650, 3274, 96, 89, 5615, 8170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Return the date of birth for all the guests with gender code 'Male', and count them by a line chart, and display from high to low by the X.
CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) )
SELECT date_of_birth, COUNT(date_of_birth) FROM Guests WHERE gender_code = "Male" ORDER BY date_of_birth DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 7, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 740, 834, 23, 26, 3, 21342, 17966, 6, 3, 6789, 834, 6137, 834, 4978, 3, 28027, 599, 1808, 201, 3, 6789, 834, 5525, 1152, 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, 833, 834, 858, 834, 20663, 6, 2847, 17161, 599, 5522, 834, 858, 834, 20663, 61, 21680, 3, 22360, 549, 17444, 427, 7285, 834, 4978, 3274, 96, 329, 9, 109, 121, 4674, 11300, 272, 476, 833, 834, 858, 834, 20663, 309, ...
How much time is required for less than 35 laps and less than 10 grids?
CREATE TABLE table_78077 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Time/Retired" FROM table_78077 WHERE "Laps" < '35' AND "Grid" < '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2079, 4013, 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, 13368, 87, 1649, 11809, 26, 121, 21680, 953, 834, 940, 2079, 4013, 549, 17444, 427, 96, 3612, 102, 7, 121, 3, 2, 3, 31, 2469, 31, 3430, 96, 13313, 26, 121, 3, 2, 3, 31, 1714, 31, 1, -100, -100, -100, -100,...
What is the name of the customer who has the most orders?
CREATE TABLE orders ( customer_id VARCHAR ) CREATE TABLE customers ( customer_name VARCHAR, customer_id VARCHAR )
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5022, 41, 884, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 41, 884, 834, 4350, 584, 4280, 28027, 6, 884, 834, 23, 26, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 25697, 49, 834, 4350, 21680, 722, 6157, 332, 536, 3, 15355, 3162, 5022, 6157, 332, 357, 9191, 332, 5411, 25697, 49, 834, 23, 26, 3274, 332, 4416, 25697, 49, 834, 23, 26, 350, 4630, 6880, 272, 476, 332, ...
Where the mantra is 'o ya v yuve nama ', what is the direction of the guardian?
CREATE TABLE table_15900 ( "Name" text, "Direction" text, "Mantra" text, "Weapon" text, "Consort" text, "Graha (Planet)" text, "Guardian M\u0101t\u1e5bk\u0101" text )
SELECT "Direction" FROM table_15900 WHERE "Mantra" = 'Oṃ Yaṃ Vāyuve Namaḥ'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 7015, 41, 96, 23954, 121, 1499, 6, 96, 23620, 23, 106, 121, 1499, 6, 96, 7296, 1313, 121, 1499, 6, 96, 1326, 9, 5041, 121, 1499, 6, 96, 4302, 9309, 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, 23620, 23, 106, 121, 21680, 953, 834, 1808, 7015, 549, 17444, 427, 96, 7296, 1313, 121, 3274, 3, 31, 667, 2, 4701, 2, 584, 2, 63, 76, 162, 18740, 9, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the actor with most number of films
CREATE TABLE producer ( pid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE director ( did int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE tv_series ( sid int, title text, release_year int, num_of_seasons int, num_of_episodes int, title_aka text, budget text ) CREATE TABLE classification ( id int, msid int, gid int ) CREATE TABLE actor ( aid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE tags ( id int, msid int, kid int ) CREATE TABLE made_by ( id int, msid int, pid int ) CREATE TABLE copyright ( id int, msid int, cid int ) CREATE TABLE genre ( gid int, genre text ) CREATE TABLE directed_by ( id int, msid int, did int ) CREATE TABLE keyword ( id int, keyword text ) CREATE TABLE written_by ( id int, msid int, wid int ) CREATE TABLE movie ( mid int, title text, release_year int, title_aka text, budget text ) CREATE TABLE writer ( wid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE cast ( id int, msid int, aid int, role text ) CREATE TABLE company ( id int, name text, country_code varchar )
SELECT actor.name FROM actor, cast, movie WHERE cast.aid = actor.aid AND movie.mid = cast.msid ORDER BY COUNT(DISTINCT (movie.title)) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8211, 41, 3, 12417, 16, 17, 6, 7285, 1499, 6, 564, 1499, 6, 1157, 485, 1499, 6, 3879, 834, 6726, 1499, 6, 3879, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7556, 5, 4350, 21680, 7556, 6, 4061, 6, 1974, 549, 17444, 427, 4061, 5, 6146, 3274, 7556, 5, 6146, 3430, 1974, 5, 6983, 3274, 4061, 5, 51, 7, 23, 26, 4674, 11300, 272, 476, 2847, 17161, 599, 15438, 25424, 6227, 41...
How many wins were held before being defeated by toda?
CREATE TABLE table_78635 ( "Name" text, "Wins" real, "Start" text, "Duration" text, "Defeated by" text )
SELECT COUNT("Wins") FROM table_78635 WHERE "Defeated by" = 'toda'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3840, 2469, 41, 96, 23954, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 7681, 17, 121, 1499, 6, 96, 12998, 2661, 121, 1499, 6, 96, 16196, 15, 920, 57, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 18455, 7, 8512, 21680, 953, 834, 940, 3840, 2469, 549, 17444, 427, 96, 16196, 15, 920, 57, 121, 3274, 3, 31, 235, 26, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What Competition had a Result of lost 1-2?
CREATE TABLE table_7908 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" text, "Competition" text, "Man of the Match" text )
SELECT "Competition" FROM table_7908 WHERE "Result" = 'lost 1-2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 4018, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 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, 1...
[ 3, 23143, 14196, 96, 5890, 4995, 4749, 121, 21680, 953, 834, 4440, 4018, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 2298, 17, 3, 9596, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the lowest numbered game on the list?
CREATE TABLE table_18978 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT MIN("Game") FROM table_18978
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 21441, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 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, 3, 17684, 599, 121, 23055, 8512, 21680, 953, 834, 2606, 21441, 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, -100, -10...
Which major has the most students?
CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR)
SELECT Major FROM STUDENT GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5097, 10161, 6431, 41, 329, 9, 12775, 584, 4280, 28027, 6, 779, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 779, 65, 8, 167, 481, 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, 9236, 21680, 5097, 10161, 6431, 350, 4630, 6880, 272, 476, 779, 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,...
what championship was played just before the us open ?
CREATE TABLE table_204_651 ( id number, "date" text, "championship" text, "location" text, "category" text, "surface" text, "prev. result" text, "prev. points" number, "new points" number, "outcome" text )
SELECT "championship" FROM table_204_651 WHERE id = (SELECT id FROM table_204_651 WHERE "championship" = 'us open') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4122, 536, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 17788, 12364, 2009, 121, 1499, 6, 96, 14836, 121, 1499, 6, 96, 8367, 839, 651, 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, 17788, 12364, 2009, 121, 21680, 953, 834, 26363, 834, 4122, 536, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 4122, 536, 549, 17444, 427, 96, 17788, 12364, 2009, 12...
Can you tell me the Out of that has the Source of united nations, and the Rank larger than 47, and the Year smaller than 2003?
CREATE TABLE table_name_31 ( out_of VARCHAR, year VARCHAR, source VARCHAR, rank VARCHAR )
SELECT out_of FROM table_name_31 WHERE source = "united nations" AND rank > 47 AND year < 2003
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 91, 834, 858, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1391, 584, 4280, 28027, 6, 11003, 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, 91, 834, 858, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1391, 3274, 96, 15129, 15, 26, 9352, 121, 3430, 11003, 2490, 10635, 3430, 215, 3, 2, 3888, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Give me a bar chart for all_games_percent of each team name, order in descending by the Team_Name please.
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 Team_Name, All_Games_Percent FROM basketball_match ORDER BY Team_Name DESC
[ 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, 2271, 834, 23954, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 2271, 834, 23954, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what are all the percent (1990) where state is united states
CREATE TABLE table_17226 ( "State" text, "Norwegian Americans (1980)" real, "Percent (1980)" text, "Norwegian Americans (1990)" real, "Percent (1990)" text, "Norwegian Americans (2000)" real, "Percent (2000)" text, "Norwegian Americans (2009)" real, "Percent (2009)" text )
SELECT "Percent (1990)" FROM table_17226 WHERE "State" = 'United States'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 2688, 41, 96, 134, 4748, 121, 1499, 6, 96, 567, 127, 1123, 22898, 5452, 2863, 2079, 61, 121, 490, 6, 96, 12988, 3728, 2863, 2079, 61, 121, 1499, 6, 96, 567, 127, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12988, 3728, 2863, 2394, 61, 121, 21680, 953, 834, 27156, 2688, 549, 17444, 427, 96, 134, 4748, 121, 3274, 3, 31, 5110, 23, 1054, 1323, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who are the advisors for students that live in a city with city code "BAL"?
CREATE TABLE STUDENT (Advisor VARCHAR, city_code VARCHAR)
SELECT Advisor FROM STUDENT WHERE city_code = "BAL"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5097, 10161, 6431, 41, 188, 26, 24680, 584, 4280, 28027, 6, 690, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 8, 8815, 7, 21, 481, 24, 619, 16, 3, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 17228, 21680, 5097, 10161, 6431, 549, 17444, 427, 690, 834, 4978, 3274, 96, 279, 4090, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
On the date October 21, 2007, what is the No.?
CREATE TABLE table_73918 ( "Outcome" text, "No." text, "Date" text, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text )
SELECT "No." FROM table_73918 WHERE "Date" = 'October 21, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3288, 2606, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 4168, 535, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4168, 535, 21680, 953, 834, 940, 3288, 2606, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 28680, 12026, 4101, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Score of 2–3 ot on what date?
CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_76 WHERE score = "2–3 ot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 5522, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 17763, 13, 204, 104, 519, 3, 32, 17, 30, 125, 833, 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, 833, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 2604, 3274, 96, 357, 104, 519, 3, 32, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
macroalbuminuria > 300 mg albumin in 24 hours;
CREATE TABLE table_train_242 ( "id" int, "macroalbuminuria" bool, "hyperlipidemia" bool, "fasting_serum_triglycerides" int, "fasting_ldl_cholesterol" int, "panel_reactive_antibodies" int, "serum_creatinine" float, "albumin" float, "body_mass_index_bmi" float, "fasting_serum_cholesterol" int, "NOUSE" float )
SELECT * FROM table_train_242 WHERE macroalbuminuria = 1 OR albumin > 300
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 2266, 357, 41, 96, 23, 26, 121, 16, 17, 6, 96, 51, 9, 2771, 23703, 77, 459, 9, 121, 3, 12840, 40, 6, 96, 13397, 49, 19437, 11658, 121, 3, 12840, 40, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 2266, 357, 549, 17444, 427, 11663, 23703, 77, 459, 9, 3274, 209, 4674, 2306, 77, 2490, 3147, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the employee id for all employees who earn more than the average salary.
CREATE TABLE job_history ( employee_id number, start_date time, end_date time, job_id text, department_id number ) CREATE TABLE countries ( country_id text, country_name text, region_id number ) CREATE TABLE departments ( department_id number, department_name text, manager_id number, location_id number ) CREATE TABLE locations ( location_id number, street_address text, postal_code text, city text, state_province text, country_id text ) CREATE TABLE employees ( employee_id number, first_name text, last_name text, email text, phone_number text, hire_date time, job_id text, salary number, commission_pct number, manager_id number, department_id number ) CREATE TABLE jobs ( job_id text, job_title text, min_salary number, max_salary number ) CREATE TABLE regions ( region_id number, region_name text )
SELECT employee_id FROM employees WHERE salary > (SELECT AVG(salary) FROM employees)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 3490, 834, 23, 26, 381, 6, 456, 834, 5522, 97, 6, 414, 834, 5522, 97, 6, 613, 834, 23, 26, 1499, 6, 3066, 834, 23, 26, 381, 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, 3490, 834, 23, 26, 21680, 1652, 549, 17444, 427, 9090, 2490, 41, 23143, 14196, 71, 17217, 599, 7, 138, 1208, 61, 21680, 1652, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
fc schalke 04 and what other club beat them ?
CREATE TABLE table_204_985 ( id number, "season" text, "competition" text, "round" text, "club" text, "home" text, "away" text, "aggregate" text )
SELECT "club" FROM table_204_985 WHERE "club" <> 'fc schalke 04' AND "aggregate" < "aggregate"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3916, 755, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 7775, 121, 1499, 6, 96, 13442, 121, 1499, 6, 96, 5515, 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, 13442, 121, 21680, 953, 834, 26363, 834, 3916, 755, 549, 17444, 427, 96, 13442, 121, 3, 2, 3155, 3, 31, 89, 75, 3, 7, 12654, 1050, 11484, 31, 3430, 96, 31761, 15, 121, 3, 2, 96, 31761, 15, 121, 1, -100, -1...
Which Semifinalist has a Tournament of stockholm?
CREATE TABLE table_8539 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text )
SELECT "Semifinalists" FROM table_8539 WHERE "Tournament" = 'stockholm'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4433, 3288, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 518, 10266, 121, 1499, 6, 96, 18455, 687, 11, 2604, 121, 1499, 6, 96, 371, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15, 51, 23, 28077, 121, 21680, 953, 834, 4433, 3288, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 7149, 2831, 51, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Rank of the Swimmer with a Time of 2:25.65 in a Lane larger than 3?
CREATE TABLE table_name_36 ( rank INTEGER, time VARCHAR, lane VARCHAR )
SELECT AVG(rank) FROM table_name_36 WHERE time = "2:25.65" AND lane > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 11003, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 3, 8102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 22557, 13, 8, 278...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6254, 61, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 97, 3274, 96, 357, 10, 1828, 5, 4122, 121, 3430, 3, 8102, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What week was the result of l 38–21?
CREATE TABLE table_name_63 (week INTEGER, result VARCHAR)
SELECT MAX(week) FROM table_name_63 WHERE result = "l 38–21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 8041, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 471, 47, 8, 741, 13, 3, 40, 6654, 104, 2658, 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, 4800, 4, 599, 8041, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 741, 3274, 96, 40, 6654, 104, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who won 5th place when jean liatri augustine girsang won 4th place?
CREATE TABLE table_26488 ( "Year" real, "Putri Pariwisata Indonesia" text, "1st Runner Up" text, "2nd Runner Up" text, "3rd Runner Up" text, "4th Runner Up" text )
SELECT "4th Runner Up" FROM table_26488 WHERE "3rd Runner Up" = 'Jean Liatri Augustine Girsang'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26755, 4060, 41, 96, 476, 2741, 121, 490, 6, 96, 345, 76, 1788, 2180, 23, 210, 159, 144, 9, 9995, 121, 1499, 6, 96, 536, 7, 17, 3, 23572, 3234, 121, 1499, 6, 96, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 591, 189, 3, 23572, 3234, 121, 21680, 953, 834, 26755, 4060, 549, 17444, 427, 96, 519, 52, 26, 3, 23572, 3234, 121, 3274, 3, 31, 7851, 152, 1414, 9, 1788, 1660, 630, 21210, 7, 1468, 31, 1, -100, -100, -100, ...
Can you tell me the Opponent that has the Week smaller than 11, and the TV Time of fox 10:00 am mt, and the Result of w 20-17?
CREATE TABLE table_44895 ( "Week" real, "Date" text, "TV Time" text, "Opponent" text, "Result" text )
SELECT "Opponent" FROM table_44895 WHERE "Week" < '11' AND "TV Time" = 'fox 10:00 am mt' AND "Result" = 'w 20-17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3707, 3301, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 4562, 2900, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 591, 3707, 3301, 549, 17444, 427, 96, 518, 10266, 121, 3, 2, 3, 31, 2596, 31, 3430, 96, 4562, 2900, 121, 3274, 3, 31, 20400, 20199, 183, 3, 51, 17, 31, 3430, 96, 20119, ...
What is Round, when Record is '4-1'?
CREATE TABLE table_name_53 ( round VARCHAR, record VARCHAR )
SELECT round FROM table_name_53 WHERE record = "4-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 1751, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 9609, 6, 116, 11392, 19, 3, 31, 591, 2292, 31, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1368, 3274, 96, 591, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Sydney has a Gold Coast of yes, an Adelaide of no, and an Auckland of yes?
CREATE TABLE table_15346 ( "Sydney" text, "Melbourne" text, "Perth" text, "Adelaide" text, "Gold Coast" text, "Auckland" text )
SELECT "Sydney" FROM table_15346 WHERE "Gold Coast" = 'yes' AND "Adelaide" = 'no' AND "Auckland" = 'yes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27025, 4448, 41, 96, 134, 63, 26, 3186, 121, 1499, 6, 96, 329, 15, 40, 26255, 121, 1499, 6, 96, 12988, 189, 121, 1499, 6, 96, 188, 221, 40, 5385, 121, 1499, 6, 96, 2357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 63, 26, 3186, 121, 21680, 953, 834, 27025, 4448, 549, 17444, 427, 96, 23576, 5458, 121, 3274, 3, 31, 10070, 31, 3430, 96, 188, 221, 40, 5385, 121, 3274, 3, 31, 29, 32, 31, 3430, 96, 188, 4636, 40, 232, ...
What is week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35?
CREATE TABLE table_name_22 (week_6 VARCHAR, week_2 VARCHAR, week_3 VARCHAR, week_7 VARCHAR, week_4 VARCHAR)
SELECT week_6 FROM table_name_22 WHERE week_7 = "evicted" AND week_4 = "evicted" AND week_3 = "evicted" AND week_2 = "29.35"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 8041, 834, 948, 584, 4280, 28027, 6, 471, 834, 357, 584, 4280, 28027, 6, 471, 834, 519, 584, 4280, 28027, 6, 471, 834, 940, 584, 4280, 28027, 6, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 471, 834, 948, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 471, 834, 940, 3274, 96, 15, 7287, 1054, 121, 3430, 471, 834, 591, 3274, 96, 15, 7287, 1054, 121, 3430, 471, 834, 519, 3274, 96, 15, 7287, 1054, 12...
Name the drawn for llandaff rfc
CREATE TABLE table_18939 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Drawn" FROM table_18939 WHERE "Club" = 'Llandaff RFC'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 3288, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 518, 106, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 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, 10936, 29, 121, 21680, 953, 834, 25312, 3288, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 434, 40, 232, 4127, 391, 5390, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
WHich Play-by-play has a Studio host of gary tanguay, and a Studio analysts of donny marshall?
CREATE TABLE table_name_63 ( play_by_play VARCHAR, studio_host VARCHAR, studio_analysts VARCHAR )
SELECT play_by_play FROM table_name_63 WHERE studio_host = "gary tanguay" AND studio_analysts = "donny marshall"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 577, 834, 969, 834, 4895, 584, 4280, 28027, 6, 3100, 834, 12675, 584, 4280, 28027, 6, 3100, 834, 152, 9, 120, 7, 17, 7, 584, 4280, 28027, 3, 61, 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, 577, 834, 969, 834, 4895, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 3100, 834, 12675, 3274, 96, 1478, 63, 3, 8967, 76, 9, 63, 121, 3430, 3100, 834, 152, 9, 120, 7, 17, 7, 3274, 96, 26, 25011, 8113, 1151...
what is the last track listed on the record ?
CREATE TABLE table_203_228 ( id number, "#" number, "title" text, "songwriters" text, "producer(s)" text, "performer (s)" text )
SELECT "title" FROM table_203_228 ORDER BY id DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 2577, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 21101, 7, 121, 1499, 6, 96, 1409, 4817, 49, 599, 7, 61, 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, 21869, 121, 21680, 953, 834, 23330, 834, 357, 2577, 4674, 11300, 272, 476, 3, 23, 26, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the title and the lowest rating among all movies in a bar chart, list in ascending by the bars.
CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Reviewer ( rID int, name text )
SELECT title, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title ORDER BY title
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10743, 41, 3, 51, 4309, 16, 17, 6, 2233, 1499, 6, 215, 16, 17, 6, 2090, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 21662, 41, 3, 52, 4309, 16, 17, 6, 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, 2233, 6, 3, 17684, 599, 382, 5411, 3624, 7, 61, 21680, 21662, 6157, 332, 536, 3, 15355, 3162, 10743, 6157, 332, 357, 9191, 332, 5411, 51, 4309, 3274, 332, 4416, 51, 4309, 350, 4630, 6880, 272, 476, 2233, 4674, 11300...
If the polling average in July 2009 was 7.2%, what was it in May 2009?
CREATE TABLE table_23680576_2 ( may_2009 VARCHAR, jul_2009 VARCHAR )
SELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = "7.2%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3651, 3076, 3959, 834, 357, 41, 164, 834, 16660, 584, 4280, 28027, 6, 3, 354, 83, 834, 16660, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 5492, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 164, 834, 16660, 21680, 953, 834, 2773, 3651, 3076, 3959, 834, 357, 549, 17444, 427, 3, 354, 83, 834, 16660, 3274, 96, 25791, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is order S24's LNER 1946 number?
CREATE TABLE table_74769 ( "Year" text, "Order No." text, "Quantity" real, "GER Nos." text, "LNER No." text, "LNER 1946 No." text )
SELECT "LNER 1946 No." FROM table_74769 WHERE "Order No." = 's24'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 4177, 3951, 41, 96, 476, 2741, 121, 1499, 6, 96, 7395, 588, 465, 535, 1499, 6, 96, 5991, 288, 485, 121, 490, 6, 96, 17966, 465, 7, 535, 1499, 6, 96, 434, 18206, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 18206, 25021, 465, 535, 21680, 953, 834, 940, 4177, 3951, 549, 17444, 427, 96, 7395, 588, 465, 535, 3274, 3, 31, 7, 2266, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the primary disease and discharge time of the patient id 71798?
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 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.diagnosis, demographic.dischtime FROM demographic WHERE demographic.subject_id = "71798"
[ 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, 14798, 5, 25930, 4844, 159, 6, 14798, 5, 26, 2499, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 940, 2517, 3916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many patients whose age is less than 54 and drug name is sodium chloride 0.9% flush?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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 ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "54" AND prescriptions.drug = "Sodium Chloride 0.9% Flush"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the highest apps total with FA cup apps of 26 with total number of goals larger than 9?
CREATE TABLE table_name_41 (total_apps INTEGER, fa_cup_apps VARCHAR, total_goals VARCHAR)
SELECT MAX(total_apps) FROM table_name_41 WHERE fa_cup_apps = 26 AND total_goals > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 235, 1947, 834, 3096, 7, 3, 21342, 17966, 6, 3, 89, 9, 834, 4658, 834, 3096, 7, 584, 4280, 28027, 6, 792, 834, 839, 5405, 584, 4280, 28027, 61, 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, 4800, 4, 599, 235, 1947, 834, 3096, 7, 61, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 3, 89, 9, 834, 4658, 834, 3096, 7, 3274, 2208, 3430, 792, 834, 839, 5405, 2490, 668, 1, -100, -100, -100, -100, -100, ...
What is the method of the match after round 1 in the k-1 andy memorial 2001 japan gp final?
CREATE TABLE table_name_82 (method VARCHAR, round VARCHAR, event VARCHAR)
SELECT method FROM table_name_82 WHERE round > 1 AND event = "k-1 andy memorial 2001 japan gp final"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 23152, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1573, 13, 8, 1588, 227, 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, 0, 0, 0...
[ 3, 23143, 14196, 1573, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1751, 2490, 209, 3430, 605, 3274, 96, 157, 2292, 11, 63, 15827, 4402, 2662, 2837, 3, 122, 102, 804, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the number of routes whose destination airports are in Canada.
CREATE TABLE airports ( apid number, name text, city text, country text, x number, y number, elevation number, iata text, icao text ) CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare text ) CREATE TABLE airlines ( alid number, name text, iata text, icao text, callsign text, country text, active text )
SELECT COUNT(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE country = 'Canada'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3761, 7, 41, 3, 9, 12417, 381, 6, 564, 1499, 6, 690, 1499, 6, 684, 1499, 6, 3, 226, 381, 6, 3, 63, 381, 6, 16417, 381, 6, 3, 17221, 1499, 6, 3, 2617, 32, 1499, 3, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 3761, 7, 6157, 332, 536, 3, 15355, 3162, 9729, 6157, 332, 357, 9191, 332, 5411, 9, 12417, 3274, 332, 4416, 26, 7, 17, 834, 9, 12417, 549, 17444, 427, 684, 3274, 3, 31, 28811, 31,...
What is the Date of the game with a Loss and Record of 7-9?
CREATE TABLE table_76424 ( "Date" text, "Opponent" text, "Score" text, "Result" text, "Record" text )
SELECT "Date" FROM table_76424 WHERE "Result" = 'loss' AND "Record" = '7-9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 591, 2266, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3959, 591, 2266, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 2298, 7, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31, 29568, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Which country is George Archer from?
CREATE TABLE table_name_22 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_22 WHERE player = "george archer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 17529, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 19, 3080, 9318, 49, 45, 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, 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, 684, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1959, 3274, 96, 397, 1677, 15, 11508, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is drug name of subject id 74345?
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 ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.subject_id = "74345"
[ 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, 7744, 7, 5, 26, 13534, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 7304, 11827, 834, 23, 26, 3274, 96, 4581, 3710, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which year had the least amount of parts published ?
CREATE TABLE table_203_679 ( id number, "part" text, "number" text, "first public release date (first edition)" number, "latest public release date (edition)" number, "latest amendment" text, "title" text, "description" text )
SELECT "first public release date (first edition)" FROM table_203_679 GROUP BY "first public release date (first edition)" ORDER BY COUNT("part") LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 948, 4440, 41, 3, 23, 26, 381, 6, 96, 2274, 121, 1499, 6, 96, 5525, 1152, 121, 1499, 6, 96, 14672, 452, 1576, 833, 41, 14672, 4182, 61, 121, 381, 6, 96, 521...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14672, 452, 1576, 833, 41, 14672, 4182, 61, 121, 21680, 953, 834, 23330, 834, 948, 4440, 350, 4630, 6880, 272, 476, 96, 14672, 452, 1576, 833, 41, 14672, 4182, 61, 121, 4674, 11300, 272, 476, 2847, 17161, 599, 1...
List the venues of debates in ascending order of the number of audience, and count them by a pie chart
CREATE TABLE debate_people ( Debate_ID int, Affirmative int, Negative int, If_Affirmative_Win bool ) CREATE TABLE debate ( Debate_ID int, Date text, Venue text, Num_of_Audience int ) CREATE TABLE people ( People_ID int, District text, Name text, Party text, Age int )
SELECT Venue, COUNT(Venue) FROM debate GROUP BY Venue ORDER BY Num_of_Audience
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5054, 834, 16588, 41, 9794, 342, 834, 4309, 16, 17, 6, 71, 89, 7001, 1528, 16, 17, 6, 17141, 1528, 16, 17, 6, 156, 834, 188, 89, 7001, 1528, 834, 18455, 3, 12840, 40, 3, 61, 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, 29940, 6, 2847, 17161, 599, 553, 35, 76, 15, 61, 21680, 5054, 350, 4630, 6880, 272, 476, 29940, 4674, 11300, 272, 476, 1174, 51, 834, 858, 834, 188, 5291, 1433, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total of overall values with a safety position in a round greater than 1?
CREATE TABLE table_name_26 ( overall VARCHAR, position VARCHAR, round VARCHAR )
SELECT COUNT(overall) FROM table_name_26 WHERE position = "safety" AND round > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 1879, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 13, 1879, 2620, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 1102, 3274, 96, 15233, 17, 63, 121, 3430, 1751, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What format has conference iii as the conference?
CREATE TABLE table_name_42 (format VARCHAR, conference VARCHAR)
SELECT format FROM table_name_42 WHERE conference = "conference iii"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 8995, 584, 4280, 28027, 6, 2542, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1910, 65, 2542, 3, 23, 23, 23, 38, 8, 2542, 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, 1910, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 2542, 3274, 96, 28496, 3, 23, 23, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What sport is the cb estudiantes club in?
CREATE TABLE table_63525 ( "Club" text, "League" text, "Sport" text, "Venue" text, "Established" real, "Capacity" real )
SELECT "Sport" FROM table_63525 WHERE "Club" = 'cb estudiantes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2469, 1828, 41, 96, 254, 11158, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 17682, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 14997, 15403, 11904, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17682, 121, 21680, 953, 834, 948, 2469, 1828, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 75, 115, 259, 5291, 8386, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the home team's score when they played Richmond?
CREATE TABLE table_name_13 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_13 WHERE away_team = "richmond"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 234, 372, 31, 7, 2604, 116, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 550, 834, 11650, 3274, 96, 3723, 6764, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was Parker Moloney's party affiliation when he was the Minister for Markets?
CREATE TABLE table_name_3 ( party VARCHAR, minister VARCHAR, title VARCHAR )
SELECT party FROM table_name_3 WHERE minister = "parker moloney" AND title = "minister for markets"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 1088, 584, 4280, 28027, 6, 6323, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 13156, 11019, 782, 63, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 6323, 3274, 96, 6334, 49, 3, 4641, 782, 63, 121, 3430, 2233, 3274, 96, 17791, 21, 3212, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the surface of the match with Brian Gottfried as the runner-up?
CREATE TABLE table_name_47 (surface VARCHAR, runner_up VARCHAR)
SELECT surface FROM table_name_47 WHERE runner_up = "brian gottfried"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 26899, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1774, 13, 8, 1588, 28, 7798, 11922, 77...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 2160, 152, 530, 17, 7704, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position is the player whose first year is 2014
CREATE TABLE table_1560673_1 (position_in_2013 VARCHAR, first_season VARCHAR)
SELECT position_in_2013 FROM table_1560673_1 WHERE first_season = 2014
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25463, 5176, 4552, 834, 536, 41, 4718, 834, 77, 834, 11138, 584, 4280, 28027, 6, 166, 834, 9476, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 19, 8, 1959, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 834, 77, 834, 11138, 21680, 953, 834, 25463, 5176, 4552, 834, 536, 549, 17444, 427, 166, 834, 9476, 3274, 1412, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
calculate the number of patients born before 1879 ere tranferred within the facility.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 ) 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 WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.dob_year < "1879"
[ 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, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 11421, 7016, 11951, 3162, 12689, 377, 5173, 3502, 15296, 121, 3...
For those products with a price between 60 and 120, return a bar chart about the distribution of name and code , I want to sort from low to high by the Y.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Name, Code FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 3636, 21680, 7554, 549, 17444, 427, 5312, 272, 7969, 518, 23394, 1640, 3430, 5864, 4674, 11300, 272, 476, 3636, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Tell me the surface for november 28, 2010
CREATE TABLE table_31944 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent in the final" text, "Score" text )
SELECT "Surface" FROM table_31944 WHERE "Date" = 'november 28, 2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2294, 3628, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 450, 4861, 121, 21680, 953, 834, 519, 2294, 3628, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 13719, 2735, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What which player from Canada was picked #49 and plays left wing?
CREATE TABLE table_name_18 ( player VARCHAR, pick__number VARCHAR, nationality VARCHAR, position VARCHAR )
SELECT player FROM table_name_18 WHERE nationality = "canada" AND position = "left wing" AND pick__number = "49"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 1959, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1157, 485, 3274, 96, 658, 18089, 121, 3430, 1102, 3274, 96, 17068, 3, 3108, 121, 3430, 1432, 834, 834, 5525, 1152, 3274, 96, 3647, 121, 1, -100, -100, -100, -...
creatinine clearance < 60 by cockcroft _ gault calculator
CREATE TABLE table_dev_58 ( "id" int, "gender" string, "pregnancy_or_lactation" bool, "intra_aortic_balloon_pump_iabp" bool, "systemic_arterial_po2" int, "creatinine_clearance_cl" float, "supplemental_oxygen" bool, "age" float, "NOUSE" float )
SELECT * FROM table_dev_58 WHERE creatinine_clearance_cl < 60
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 3449, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 2026, 11260, 11298, 834, 127, 834, 9700, 6821, 121, 3, 12840, 40, 6, 96, 20322, 9, 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, 1429, 21680, 953, 834, 9776, 834, 3449, 549, 17444, 427, 8830, 77, 630, 834, 2482, 9, 5219, 834, 75, 40, 3, 2, 1640, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the number of three pointers for 67
CREATE TABLE table_25700 ( "Player" text, "Games Played" real, "Minutes" real, "Field Goals" real, "Three Pointers" real, "Free Throws" real, "Rebounds" real, "Assists" real, "Blocks" real, "Steals" real, "Points" real )
SELECT COUNT("Three Pointers") FROM table_25700 WHERE "Points" = '67'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 9295, 41, 96, 15800, 49, 121, 1499, 6, 96, 23055, 7, 2911, 15, 26, 121, 490, 6, 96, 12858, 2810, 7, 121, 490, 6, 96, 3183, 8804, 17916, 7, 121, 490, 6, 96, 11889,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11889, 15, 15, 4564, 277, 8512, 21680, 953, 834, 1828, 9295, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 3708, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When 82.74 is the area in kilometers squared what is the pop.density (per km2)?
CREATE TABLE table_29289372_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR)
SELECT pop_density__per_km²_ FROM table_29289372_1 WHERE area__km²_ = "82.74"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2577, 4271, 5865, 834, 536, 41, 9791, 834, 537, 7, 485, 834, 834, 883, 834, 5848, 357, 834, 584, 4280, 28027, 6, 616, 834, 834, 5848, 357, 834, 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, 1...
[ 3, 23143, 14196, 2783, 834, 537, 7, 485, 834, 834, 883, 834, 5848, 357, 834, 21680, 953, 834, 3166, 2577, 4271, 5865, 834, 536, 549, 17444, 427, 616, 834, 834, 5848, 357, 834, 3274, 96, 4613, 5, 4581, 121, 1, -100, -100, -100, -10...
How many female students (sex is F) whose age is below 25?
CREATE TABLE student (sex VARCHAR, age VARCHAR)
SELECT COUNT(*) FROM student WHERE sex = 'F' AND age < 25
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 7, 994, 584, 4280, 28027, 6, 1246, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3955, 481, 41, 7, 994, 19, 377, 61, 3, 2544, 1246, 19, 666, 944, 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, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 1236, 549, 17444, 427, 3, 7, 994, 3274, 3, 31, 371, 31, 3430, 1246, 3, 2, 944, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1?
CREATE TABLE table_54559 ( "Rank" real, "Name" text, "Nation" text, "Points" real, "Places" real )
SELECT MIN("Places") FROM table_54559 WHERE "Name" = 'sherri baier / robin cowan' AND "Rank" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2128, 3390, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 345, 11706, 7, 121, 490, 3, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 345, 11706, 7, 8512, 21680, 953, 834, 755, 2128, 3390, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 7, 107, 21301, 12302, 52, 3, 87, 3, 5840, 77, 9321, 152, 31, 3430, 96, 22557, 121, 3, 2, ...
what is the total number of tackles when fumr is 0, totaltk is 54 and yards is less than 0?
CREATE TABLE table_54608 ( "Player" text, "Tackles" real, "Asst." real, "TotalTK" real, "Sack" real, "Yards" real, "FumR" real )
SELECT COUNT("Tackles") FROM table_54608 WHERE "FumR" = '0' AND "TotalTK" = '54' AND "Yards" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4448, 4018, 41, 96, 15800, 49, 121, 1499, 6, 96, 382, 4365, 965, 121, 490, 6, 96, 188, 7, 7, 17, 535, 490, 6, 96, 3696, 1947, 22110, 121, 490, 6, 96, 134, 4365, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 382, 4365, 965, 8512, 21680, 953, 834, 755, 4448, 4018, 549, 17444, 427, 96, 371, 440, 448, 121, 3274, 3, 31, 632, 31, 3430, 96, 3696, 1947, 22110, 121, 3274, 3, 31, 5062, 31, 3430, 96, 476,...
screening hemoglobin < 10 g / dl; leukocytes < 3
CREATE TABLE table_train_169 ( "id" int, "leukocytes" int, "hemoglobin_a1c_hba1c" float, "urine_albumin_excretion" int, "estimated_glomerular_filtration_rate_egfr" int, "glucola_beverage_gct" int, "age" float, "NOUSE" float )
SELECT * FROM table_train_169 WHERE hemoglobin_a1c_hba1c < 10 OR leukocytes < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 27096, 41, 96, 23, 26, 121, 16, 17, 6, 96, 109, 1598, 24339, 7, 121, 16, 17, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 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, 1429, 21680, 953, 834, 9719, 834, 27096, 549, 17444, 427, 24731, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 3, 2, 335, 4674, 90, 1598, 24339, 7, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100...
What is the highest Current Branch Opened, when Neighborhood is W. Portland Park?
CREATE TABLE table_name_79 ( current_branch_opened INTEGER, neighborhood VARCHAR )
SELECT MAX(current_branch_opened) FROM table_name_79 WHERE neighborhood = "w. portland park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 750, 834, 1939, 5457, 834, 26940, 3, 21342, 17966, 6, 5353, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 12892, 14009, 2384,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14907, 834, 1939, 5457, 834, 26940, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 5353, 3274, 96, 210, 5, 2147, 40, 232, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
give me the number of patients whose ethnicity is asian and year of birth is less than 2107?
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 ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.dob_year < "2107"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 3291, 21758, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 3, 2, ...
provide the number of patients whose death status is 0 and admission location is emergency room admit?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 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 WHERE demographic.expire_flag = "0" AND demographic.admission_location = "EMERGENCY ROOM ADMIT"
[ 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, 549, 17444, 427, 14798, 5, 994, 2388, 15, 834, 89, 5430, 3274, 96, 632, 121, 3430, 14798, 5, 9, 26, 5451, 834, 14836, 3274,...
Which network broadcasted the cup after 2011?
CREATE TABLE table_name_12 (network VARCHAR, year INTEGER)
SELECT network FROM table_name_12 WHERE year > 2011
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 1582, 1981, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 1229, 6878, 15, 26, 8, 4119, 227, 2722, 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, 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, 1229, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 215, 2490, 2722, 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 was Olga Govortsova's outcome when she played on a grass surface?
CREATE TABLE table_71987 ( "Outcome" text, "Date" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Outcome" FROM table_71987 WHERE "Surface" = 'grass'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2294, 4225, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687, 121, 1499, 6, 96, 667, 102, 9977, 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, 96, 15767, 287, 15, 121, 21680, 953, 834, 940, 2294, 4225, 549, 17444, 427, 96, 134, 450, 4861, 121, 3274, 3, 31, 16446, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the prices of wines produced before the year of 2010?
CREATE TABLE WINE ( Price VARCHAR, YEAR INTEGER )
SELECT Price FROM WINE WHERE YEAR < 2010
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 549, 9730, 41, 5312, 584, 4280, 28027, 6, 30431, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 1596, 13, 10992, 2546, 274, 8, 215, 13, 2735, 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, 5312, 21680, 549, 9730, 549, 17444, 427, 30431, 3, 2, 2735, 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, -100, -100, ...
Name the G. Hager of E. Greenberg of 266 (14%)?
CREATE TABLE table_name_49 (g_hager VARCHAR, e_greenberg VARCHAR)
SELECT g_hager FROM table_name_49 WHERE e_greenberg = "266 (14%)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 122, 834, 107, 9754, 584, 4280, 28027, 6, 3, 15, 834, 9423, 2235, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 350, 5, 19905, 49, 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, 3, 122, 834, 107, 9754, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 3, 15, 834, 9423, 2235, 3274, 96, 357, 3539, 41, 2534, 6210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which team was the previous winner before ballyroan abbey in 2008 ?
CREATE TABLE table_204_772 ( id number, "team" text, "county" text, "wins" number, "years won" number )
SELECT "team" FROM table_204_772 WHERE "years won" < 2008 ORDER BY "years won" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4013, 357, 41, 3, 23, 26, 381, 6, 96, 11650, 121, 1499, 6, 96, 13362, 63, 121, 1499, 6, 96, 3757, 7, 121, 381, 6, 96, 1201, 7, 751, 121, 381, 3, 61, 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, 11650, 121, 21680, 953, 834, 26363, 834, 4013, 357, 549, 17444, 427, 96, 1201, 7, 751, 121, 3, 2, 2628, 4674, 11300, 272, 476, 96, 1201, 7, 751, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -1...
Which Performer 2 has an Episode of 5?
CREATE TABLE table_33900 ( "Date" text, "Episode" real, "Performer 1" text, "Performer 2" text, "Performer 3" text, "Performer 4" text )
SELECT "Performer 2" FROM table_33900 WHERE "Episode" = '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 7015, 41, 96, 308, 342, 121, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 12988, 2032, 49, 209, 121, 1499, 6, 96, 12988, 2032, 49, 204, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12988, 2032, 49, 204, 121, 21680, 953, 834, 4201, 7015, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 121, 3274, 3, 31, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Virtue has a (vice) of lust?
CREATE TABLE table_36359 ( "Virtue" text, "Latin" text, "Gloss" text, "(Vice)" text, "(Latin)" text )
SELECT "Virtue" FROM table_36359 WHERE "(Vice)" = 'lust'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 519, 3390, 41, 96, 21031, 17, 76, 15, 121, 1499, 6, 96, 3612, 17, 77, 121, 1499, 6, 96, 517, 2298, 7, 121, 1499, 6, 96, 599, 553, 867, 61, 121, 1499, 6, 96, 599...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21031, 17, 76, 15, 121, 21680, 953, 834, 3420, 519, 3390, 549, 17444, 427, 96, 599, 553, 867, 61, 121, 3274, 3, 31, 10008, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the 2nd Party, when the 1st Member was John Hodgetts-Foley, and the 2nd Member was Hon. Frederick Gough-Calthorpe?
CREATE TABLE table_80171 ( "Election" text, "1st Member" text, "1st Party" text, "2nd Member" text, "2nd Party" text )
SELECT "2nd Party" FROM table_80171 WHERE "1st Member" = 'john hodgetts-foley' AND "2nd Member" = 'hon. frederick gough-calthorpe'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 2517, 536, 41, 96, 427, 12252, 121, 1499, 6, 96, 536, 7, 17, 8541, 121, 1499, 6, 96, 536, 7, 17, 3450, 121, 1499, 6, 96, 357, 727, 8541, 121, 1499, 6, 96, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 727, 3450, 121, 21680, 953, 834, 2079, 2517, 536, 549, 17444, 427, 96, 536, 7, 17, 8541, 121, 3274, 3, 31, 27341, 3534, 26, 2782, 17, 7, 18, 89, 32, 1306, 31, 3430, 96, 357, 727, 8541, 121, 3274, 3, 3...