NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What are the names of patients who are not taking the medication of Procrastin-X.
CREATE TABLE trained_in ( physician number, treatment number, certificationdate time, certificationexpires time ) CREATE TABLE prescribes ( physician number, patient number, medication number, date time, appointment number, dose text ) CREATE TABLE room ( roomnumber number,...
SELECT name FROM patient EXCEPT SELECT T1.name FROM patient AS T1 JOIN prescribes AS T2 ON T2.patient = T1.ssn JOIN medication AS T3 ON T2.medication = T3.code WHERE T3.name = 'Procrastin-X'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4252, 834, 77, 41, 10027, 381, 6, 1058, 381, 6, 5151, 5522, 97, 6, 5151, 994, 2388, 15, 7, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 27766, 7, 41, 10027, 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, 564, 21680, 1868, 262, 4, 30416, 3, 23143, 14196, 332, 5411, 4350, 21680, 1868, 6157, 332, 536, 3, 15355, 3162, 27766, 7, 6157, 332, 357, 9191, 332, 4416, 10061, 3274, 332, 5411, 7, 7, 29, 3, 15355, 3162, 7757, 6157...
Show different occupations along with the number of players in each occupation with a bar chart, and could you list Y-axis in ascending order please?
CREATE TABLE club ( Club_ID int, Club_name text, Region text, Start_year int ) CREATE TABLE match_result ( Rank int, Club_ID int, Gold int, Big_Silver int, Small_Silver int, Bronze int, Points int ) CREATE TABLE coach ( Coach_ID int, Coach_name text, Gender text...
SELECT Occupation, COUNT(*) FROM player GROUP BY Occupation ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 41, 1949, 834, 4309, 16, 17, 6, 1949, 834, 4350, 1499, 6, 6163, 1499, 6, 3273, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1588, 834, 60, 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, 411, 75, 4658, 257, 6, 2847, 17161, 599, 1935, 61, 21680, 1959, 350, 4630, 6880, 272, 476, 411, 75, 4658, 257, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the WPW freq with a day power of 250?
CREATE TABLE table_32765 ( "Freq" real, "Call" text, "City" text, "Owner" text, "Day Power ( W )" real, "Night Power" real, "Format" text, "Stereo" text )
SELECT SUM("Freq") FROM table_32765 WHERE "Owner" = 'wpw' AND "Day Power ( W )" > '250'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2555, 4122, 41, 96, 371, 60, 1824, 121, 490, 6, 96, 254, 1748, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 667, 210, 687, 121, 1499, 6, 96, 16803, 2621, 41, 549,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 371, 60, 1824, 8512, 21680, 953, 834, 519, 2555, 4122, 549, 17444, 427, 96, 667, 210, 687, 121, 3274, 3, 31, 210, 102, 210, 31, 3430, 96, 16803, 2621, 41, 549, 3, 61, 121, 2490, 3, 31, 11434...
What was the away team when the home team was south melbourne?
CREATE TABLE table_name_85 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team FROM table_name_85 WHERE home_team = "south melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 550, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 550, 372, 116, 8, 234, 372, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 670, 107, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Lowest round for g that was smaller than 31?
CREATE TABLE table_46374 ( "Round" real, "Pick" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT MIN("Round") FROM table_46374 WHERE "Position" = 'g' AND "Overall" < '31'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 519, 4581, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 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, 3, 17684, 599, 121, 448, 32, 1106, 8512, 21680, 953, 834, 4448, 519, 4581, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 122, 31, 3430, 96, 23847, 1748, 121, 3, 2, 3, 31, 3341, 31, 1, -100, -100, -1...
What is the lowest round of the pick #8 player with an overall greater than 72 from the college of temple?
CREATE TABLE table_38695 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT MIN("Round") FROM table_38695 WHERE "Pick #" = '8' AND "College" = 'temple' AND "Overall" > '72'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3840, 3301, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 1713, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 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, 3, 17684, 599, 121, 448, 32, 1106, 8512, 21680, 953, 834, 519, 3840, 3301, 549, 17444, 427, 96, 345, 3142, 1713, 121, 3274, 3, 31, 927, 31, 3430, 96, 9939, 7883, 121, 3274, 3, 31, 15076, 109, 31, 3430, 96, 23847, ...
Name the start of an event in Catagory 2 of the year 1947.
CREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR)
SELECT start FROM table_name_40 WHERE category = "2" AND year = 1947
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 10208, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 456, 13, 46, 605, 16, 3431, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 456, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 3295, 3274, 96, 357, 121, 3430, 215, 3274, 23992, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the record for the Argonauts on September 7?
CREATE TABLE table_26618 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Final Score" text, "Attendance" real, "Record" text )
SELECT "Record" FROM table_26618 WHERE "Date" = 'September 7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3539, 2606, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 371, 10270, 1776...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 357, 3539, 2606, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 27652, 489, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what tournament had sam querrey as the opponent?
CREATE TABLE table_name_51 ( tournament VARCHAR, opponent VARCHAR )
SELECT tournament FROM table_name_51 WHERE opponent = "sam querrey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 5892, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 5892, 141, 3, 7, 265, 238, 52, 60, 63, 38, 8, 15264, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 15264, 3274, 96, 7, 265, 238, 52, 60, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What companyw as the constructor when the Time/Retired was collision, and a Grid of 11?
CREATE TABLE table_name_44 ( constructor VARCHAR, time_retired VARCHAR, grid VARCHAR )
SELECT constructor FROM table_name_44 WHERE time_retired = "collision" AND grid = "11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 6774, 127, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 349, 210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6774, 127, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 75, 20953, 1938, 121, 3430, 8634, 3274, 96, 2596, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who wrote the film Jehovah's Witness?
CREATE TABLE table_69405 ( "Film" text, "Director(s)" text, "Producer(s)" text, "Writer(s)" text, "Recipient" text, "Award" text )
SELECT "Writer(s)" FROM table_69405 WHERE "Film" = 'jehovah''s witness'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 591, 3076, 41, 96, 371, 173, 51, 121, 1499, 6, 96, 23620, 127, 599, 7, 61, 121, 1499, 6, 96, 3174, 4817, 49, 599, 7, 61, 121, 1499, 6, 96, 24965, 49, 599, 7, 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, 24965, 49, 599, 7, 61, 121, 21680, 953, 834, 3951, 591, 3076, 549, 17444, 427, 96, 371, 173, 51, 121, 3274, 3, 31, 1924, 23304, 9, 107, 31, 31, 7, 9051, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the ids of songs that are available in either mp4 format or have resolution above 720?
CREATE TABLE song (f_id VARCHAR, formats VARCHAR, resolution INTEGER); CREATE TABLE files (f_id VARCHAR, formats VARCHAR, resolution INTEGER)
SELECT f_id FROM files WHERE formats = "mp4" UNION SELECT f_id FROM song WHERE resolution > 720
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2324, 41, 89, 834, 23, 26, 584, 4280, 28027, 6, 10874, 584, 4280, 28027, 6, 3161, 3, 21342, 17966, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2073, 41, 89, 834, 23, 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...
[ 3, 23143, 14196, 3, 89, 834, 23, 26, 21680, 2073, 549, 17444, 427, 10874, 3274, 96, 1167, 20364, 4417, 9215, 3, 23143, 14196, 3, 89, 834, 23, 26, 21680, 2324, 549, 17444, 427, 3161, 2490, 3, 18517, 1, -100, -100, -100, -100, -100, ...
Show the name, home city, and age for all drivers.
CREATE TABLE school_bus ( school_id number, driver_id number, years_working number, if_full_time others ) CREATE TABLE driver ( driver_id number, name text, party text, home_city text, age number ) CREATE TABLE school ( school_id number, grade text, school text, loc...
SELECT name, home_city, age FROM driver
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 834, 3465, 41, 496, 834, 23, 26, 381, 6, 2535, 834, 23, 26, 381, 6, 203, 834, 9238, 381, 6, 3, 99, 834, 1329, 40, 834, 715, 717, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 234, 834, 6726, 6, 1246, 21680, 2535, 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, -100, -100, ...
How many total medals does rank 3 with less than 40 silver medals?
CREATE TABLE table_name_86 (total INTEGER, silver VARCHAR, rank VARCHAR)
SELECT MAX(total) FROM table_name_86 WHERE silver < 40 AND rank = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 235, 1947, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 792, 9365, 7, 405, 11003,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 4294, 3, 2, 1283, 3430, 11003, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the successor when the vacator was chester e. holifield (d)?
CREATE TABLE table_1134091_4 (successor VARCHAR, vacator VARCHAR)
SELECT successor FROM table_1134091_4 WHERE vacator = "Chester E. Holifield (D)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20522, 2445, 4729, 834, 591, 41, 7, 17431, 24901, 584, 4280, 28027, 6, 3, 8938, 1016, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 22261, 116, 8, 3, 89...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22261, 21680, 953, 834, 20522, 2445, 4729, 834, 591, 549, 17444, 427, 3, 8938, 1016, 3274, 96, 254, 88, 1370, 262, 5, 5838, 23, 1846, 41, 308, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On June 8, what's the loss when the Blue Jays played the Tigers?
CREATE TABLE table_name_58 ( loss VARCHAR, opponent VARCHAR, date VARCHAR )
SELECT loss FROM table_name_58 WHERE opponent = "tigers" AND date = "june 8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1453, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 1515, 9478, 125, 31, 7, 8, 145...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1453, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 15264, 3274, 96, 2880, 277, 121, 3430, 833, 3274, 96, 6959, 15, 505, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Lost when the points were dissolved?
CREATE TABLE table_41178 ( "Team" text, "Match" text, "Points" text, "Draw" text, "Lost" text )
SELECT "Lost" FROM table_41178 WHERE "Points" = 'dissolved'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 27640, 41, 96, 18699, 121, 1499, 6, 96, 329, 14547, 121, 1499, 6, 96, 22512, 7, 121, 1499, 6, 96, 308, 10936, 121, 1499, 6, 96, 434, 3481, 121, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 434, 3481, 121, 21680, 953, 834, 4853, 27640, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 27106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the average money when the score was 68-69-68-72=277?
CREATE TABLE table_name_97 ( money___ INTEGER, score VARCHAR )
SELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - 69 - 68 - 72 = 277
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 540, 834, 834, 834, 3, 21342, 17966, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1348, 540, 116, 8, 2604, 47, 3, 365...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 28442, 834, 834, 834, 61, 6157, 1514, 834, 834, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 2604, 3274, 3, 3651, 3, 18, 3, 3951, 3, 18, 3, 3651, 3, 18, 9455, 3274, 204, 4013, 1, -100, -100...
What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%?
CREATE TABLE table_2668416_7 ( district VARCHAR, party VARCHAR, candidates VARCHAR )
SELECT district FROM table_2668416_7 WHERE party = "Federalist" AND candidates = "William Craik (F) 51.0% Benjamin Edwards 49.0%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3539, 4608, 2938, 834, 940, 41, 3939, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 6, 4341, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3939, 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, 3939, 21680, 953, 834, 357, 3539, 4608, 2938, 834, 940, 549, 17444, 427, 1088, 3274, 96, 371, 15, 588, 9, 3350, 121, 3430, 4341, 3274, 96, 518, 1092, 23, 265, 205, 7253, 157, 41, 371, 61, 11696, 5, 6932, 15717, 82...
Which Score has a Visitor of atlanta?
CREATE TABLE table_name_72 ( score VARCHAR, visitor VARCHAR )
SELECT score FROM table_name_72 WHERE visitor = "atlanta"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 2604, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 4957, 127, 13, 44, 6761, 9, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 7019, 3274, 96, 144, 6761, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the number of patients born before 2170 for whom blood lab test order was placed.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2170" AND lab.fluid = "Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the fewest losses for teams with points of 53 and more than 73 goals for?
CREATE TABLE table_name_23 ( lost INTEGER, points_1 VARCHAR, goals_for VARCHAR )
SELECT MIN(lost) FROM table_name_23 WHERE points_1 = "53" AND goals_for > 73
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 1513, 3, 21342, 17966, 6, 979, 834, 536, 584, 4280, 28027, 6, 1766, 834, 1161, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 360,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2298, 17, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 979, 834, 536, 3274, 96, 4867, 121, 3430, 1766, 834, 1161, 2490, 3, 4552, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Year(s) won has a Total larger than 295?
CREATE TABLE table_name_31 (year_s__won VARCHAR, total INTEGER)
SELECT year_s__won FROM table_name_31 WHERE total > 295
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 1201, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 6, 792, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 2929, 599, 7, 61, 751, 65, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 834, 7, 834, 834, 210, 106, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 792, 2490, 204, 3301, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap?
CREATE TABLE table_30988 ( "Round" real, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Rider" text, "Winning Team" text )
SELECT "Pole Position" FROM table_30988 WHERE "Winning Rider" = 'Rob Guiver' AND "Fastest Lap" = 'Kyle Ryde'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 3916, 927, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 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, 8931, 15, 14258, 121, 21680, 953, 834, 1458, 3916, 927, 549, 17444, 427, 96, 518, 10503, 25218, 121, 3274, 3, 31, 24372, 15703, 624, 31, 3430, 96, 371, 9, 7, 4377, 325, 102, 121, 3274, 3, 31, 439, 63, 109, 1...
What is the date when the Lakers were the home team?
CREATE TABLE table_name_1 ( date VARCHAR, home VARCHAR )
SELECT date FROM table_name_1 WHERE home = "lakers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 833, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 116, 8, 325, 11758, 130, 8, 234, 372, 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, 833, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 234, 3274, 96, 521, 11758, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
risk of bleeding
CREATE TABLE table_train_6 ( "id" int, "bleeding" int, "systolic_blood_pressure_sbp" int, "mean_arterial_pressure_map" int, "active_infection" bool, "hypotension" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_6 WHERE bleeding = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 948, 41, 96, 23, 26, 121, 16, 17, 6, 96, 27779, 53, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 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, 948, 549, 17444, 427, 19021, 3274, 209, 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...
How many incumbents are in district la-1?
CREATE TABLE table_28188239_1 (incumbent VARCHAR, district VARCHAR)
SELECT COUNT(incumbent) FROM table_28188239_1 WHERE district = "LA-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2606, 4613, 3288, 834, 536, 41, 77, 75, 5937, 295, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 28406, 7, 33, 16, 3939, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 77, 75, 5937, 295, 61, 21680, 953, 834, 2577, 2606, 4613, 3288, 834, 536, 549, 17444, 427, 3939, 3274, 96, 4569, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Team has a Score of 108-105 (ot)?
CREATE TABLE table_name_9 (team VARCHAR, score VARCHAR)
SELECT team FROM table_name_9 WHERE score = "108-105 (ot)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 11650, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2271, 65, 3, 9, 17763, 13, 3, 16169, 18, 12869, 41, 32, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 2604, 3274, 96, 16169, 18, 12869, 41, 32, 17, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
The school of Portage was in what conference previous?
CREATE TABLE table_name_41 ( previous_conference VARCHAR, school VARCHAR )
SELECT previous_conference FROM table_name_41 WHERE school = "portage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 1767, 834, 28496, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 37, 496, 13, 3625, 545, 47, 16, 125, 2542, 1767, 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, 1767, 834, 28496, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 496, 3274, 96, 1493, 545, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what province in afghanistanhas the greatest population ?
CREATE TABLE table_204_704 ( id number, "province" text, "map #" number, "iso 3166-2:af" text, "centers" text, "population" number, "area (km2)" number, "language" text, "notes" text, "u.n. region" text )
SELECT "province" FROM table_204_704 ORDER BY "population" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2518, 591, 41, 3, 23, 26, 381, 6, 96, 1409, 2494, 565, 121, 1499, 6, 96, 11576, 1713, 121, 381, 6, 96, 159, 32, 3, 25946, 25369, 10, 9, 89, 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, 1409, 2494, 565, 121, 21680, 953, 834, 26363, 834, 2518, 591, 4674, 11300, 272, 476, 96, 9791, 7830, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is GDP 2012 Millions of Euro, when Population in Millions is less than 1.3, and when GDP (Nominal) Per Capita 2012 Euro is 20,700(p)?
CREATE TABLE table_name_51 (gdp_2012_millions_of_euro VARCHAR, population_in_millions VARCHAR, gdp__nominal__per_capita_2012_euro VARCHAR)
SELECT gdp_2012_millions_of_euro FROM table_name_51 WHERE population_in_millions < 1.3 AND gdp__nominal__per_capita_2012_euro = "20,700(p)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 122, 26, 102, 834, 12172, 834, 17030, 7, 834, 858, 834, 1238, 32, 584, 4280, 28027, 6, 2074, 834, 77, 834, 17030, 7, 584, 4280, 28027, 6, 3, 122, 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...
[ 3, 23143, 14196, 3, 122, 26, 102, 834, 12172, 834, 17030, 7, 834, 858, 834, 1238, 32, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 2074, 834, 77, 834, 17030, 7, 3, 2, 3, 13606, 3430, 3, 122, 26, 102, 834, 834, 3114, 10270,...
Which average Crowd has a Home team of essendon?
CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "essendon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 75, 3623, 26, 3, 21342, 17966, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1348, 15343, 26, 65, 3, 9, 1210, 372, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 234, 834, 11650, 3274, 96, 8185, 2029, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the first name, last name and id of the player with the most all star game experiences? Also list the count.
CREATE TABLE all_star ( player_id VARCHAR ) CREATE TABLE player ( name_first VARCHAR, name_last VARCHAR, player_id VARCHAR )
SELECT T1.name_first, T1.name_last, T1.player_id, COUNT(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 66, 834, 3624, 41, 1959, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 564, 834, 14672, 584, 4280, 28027, 6, 564, 834, 5064, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 4350, 834, 14672, 6, 332, 5411, 4350, 834, 5064, 6, 332, 5411, 20846, 834, 23, 26, 6, 2847, 17161, 599, 1935, 61, 21680, 1959, 6157, 332, 536, 3, 15355, 3162, 66, 834, 3624, 6157, 332, 357, 9191, 332, 5...
What character did actor Damien Richardson play?
CREATE TABLE table_4558 ( "Actor/actress" text, "Character" text, "Rank" text, "Tenure" text, "Episodes" text )
SELECT "Character" FROM table_4558 WHERE "Actor/actress" = 'damien richardson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 3449, 41, 96, 188, 5317, 87, 2708, 9377, 121, 1499, 6, 96, 18947, 2708, 49, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 382, 35, 1462, 121, 1499, 6, 96, 427, 102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18947, 2708, 49, 121, 21680, 953, 834, 2128, 3449, 549, 17444, 427, 96, 188, 5317, 87, 2708, 9377, 121, 3274, 3, 31, 26, 3690, 35, 2354, 986, 739, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
On which team was Robbie Earle the captain?
CREATE TABLE table_name_5 ( team VARCHAR, captain VARCHAR )
SELECT team FROM table_name_5 WHERE captain = "robbie earle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 372, 584, 4280, 28027, 6, 14268, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 372, 47, 5376, 4232, 22101, 15, 8, 14268, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 14268, 3274, 96, 5840, 4232, 3, 2741, 109, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the series for 68
CREATE TABLE table_25794532_1 (series VARCHAR, points VARCHAR)
SELECT series FROM table_25794532_1 WHERE points = "68"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4440, 2128, 2668, 834, 536, 41, 10833, 7, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 939, 21, 3, 3651, 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, 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, 939, 21680, 953, 834, 1828, 4440, 2128, 2668, 834, 536, 549, 17444, 427, 979, 3274, 96, 3651, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Kimball, toby toby kimball is a player; How many times at school/ club team/country was the player present?
CREATE TABLE table_17145 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text )
SELECT COUNT("School/Club Team/Country") FROM table_17145 WHERE "Player" = 'Kimball, Toby Toby Kimball'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 20987, 41, 96, 15800, 49, 121, 1499, 6, 96, 4168, 5, 599, 7, 61, 121, 1499, 6, 96, 3845, 2632, 16, 377, 17, 535, 1499, 6, 96, 345, 32, 7, 4749, 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, 2847, 17161, 599, 121, 29364, 87, 254, 11158, 2271, 87, 10628, 651, 8512, 21680, 953, 834, 2517, 20987, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 439, 603, 3184, 6, 304, 969, 304, 969, 6777, 3184, 31, 1, -...
find out the age and marital status of patient jerry deberry.
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...
SELECT demographic.marital_status, demographic.age FROM demographic WHERE demographic.name = "Jerry Deberry"
[ 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, 14798, 5, 1635, 9538, 834, 8547, 302, 6, 14798, 5, 545, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 49, 651, 374, 7418, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average number of stars that each reviewer awards for a movie. Show bar chart.
CREATE TABLE Reviewer ( rID int, name text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Movie ( mID int, title text, year int, director text )
SELECT name, AVG(T1.stars) FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID GROUP BY T2.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4543, 49, 41, 3, 52, 4309, 16, 17, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 21662, 41, 3, 52, 4309, 16, 17, 6, 3, 51, 4309, 16, 17, 6, 4811, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 71, 17217, 599, 382, 5411, 3624, 7, 61, 21680, 21662, 6157, 332, 536, 3, 15355, 3162, 4543, 49, 6157, 332, 357, 9191, 332, 5411, 52, 4309, 3274, 332, 4416, 52, 4309, 350, 4630, 6880, 272, 476, 332, 4416, 4...
For artist names who are not from United States, show me a stacked that the x-axis is the Year_Join and the group by name in Y, I want to rank y axis from low to high order.
CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real...
SELECT Year_Join, COUNT(Year_Join) FROM artist WHERE Country <> 'United States' GROUP BY Name ORDER BY COUNT(Year_Join)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4473, 834, 60, 7621, 41, 22371, 834, 4309, 16, 17, 6, 7678, 1499, 6, 22497, 663, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2377, 41, 9152, 834, 4309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2929, 834, 683, 32, 77, 6, 2847, 17161, 599, 476, 2741, 834, 683, 32, 77, 61, 21680, 2377, 549, 17444, 427, 6993, 3, 2, 3155, 3, 31, 5110, 23, 1054, 1323, 31, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 4...
How many reg GP for rick vaive in round 1?
CREATE TABLE table_name_19 (reg_gp INTEGER, player VARCHAR, rd__number VARCHAR)
SELECT SUM(reg_gp) FROM table_name_19 WHERE player = "rick vaive" AND rd__number < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 60, 122, 834, 122, 102, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 3, 52, 26, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 60, 122, 834, 122, 102, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 1959, 3274, 96, 5206, 409, 757, 121, 3430, 3, 52, 26, 834, 834, 5525, 1152, 3, 2, 209, 1, -100, -100, -100, -100, -1...
What is the name of the opponent when anastasia pivovarova was the partner?
CREATE TABLE table_name_15 (opponents VARCHAR, partner VARCHAR)
SELECT opponents FROM table_name_15 WHERE partner = "anastasia pivovarova"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 32, 102, 9977, 7, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 15264, 116, 46, 9, 7, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16383, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 2397, 3274, 96, 152, 9, 7, 17, 15974, 2816, 1621, 4331, 6194, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the game on june 29?
CREATE TABLE table_name_75 ( game INTEGER, date VARCHAR )
SELECT SUM(game) FROM table_name_75 WHERE date = "june 29"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 467, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 467, 30, 3, 6959, 15, 2838, 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, 180, 6122, 599, 7261, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 833, 3274, 96, 6959, 15, 2838, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which airport is in South Africa and has a ICAO fajs?
CREATE TABLE table_name_44 ( airport VARCHAR, country VARCHAR, icao VARCHAR )
SELECT airport FROM table_name_44 WHERE country = "south africa" AND icao = "fajs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 3761, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3761, 19, 16, 1013, 264...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3761, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 684, 3274, 96, 7, 670, 107, 24040, 121, 3430, 3, 2617, 32, 3274, 96, 89, 9, 354, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
In which Season was the Division Washington Bullets?
CREATE TABLE table_name_4 ( season VARCHAR, division VARCHAR )
SELECT season FROM table_name_4 WHERE division = "washington bullets"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 774, 584, 4280, 28027, 6, 4889, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 7960, 47, 8, 6022, 2386, 21906, 7, 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, 774, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 4889, 3274, 96, 14710, 6029, 11126, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients with iv drip route of drug administration have diagnosis icd9 code v4281?
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 ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "V4281" AND prescriptions.route = "IV DRIP"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
get the number of urgent hospital admission patients who have diagnoses icd9 code 41400.
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 lab ( subject_id text, hadm_id text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "URGENT" AND diagnoses.icd9_code = "41400"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
what is the name moving to atl tico minero?
CREATE TABLE table_name_74 ( name VARCHAR, moving_to VARCHAR )
SELECT name FROM table_name_74 WHERE moving_to = "atlético minero"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 564, 584, 4280, 28027, 6, 1735, 834, 235, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 564, 1735, 12, 44, 40, 3, 1225, 32, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 1735, 834, 235, 3274, 96, 144, 40, 17678, 509, 2000, 52, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In which district is the incumbent Carl W. Rich?
CREATE TABLE table_1341865_37 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1341865_37 WHERE incumbent = "Carl W. Rich"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2606, 4122, 834, 4118, 41, 26, 23, 20066, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 3939, 19, 8, 28406, 7291, 549, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 23747, 2606, 4122, 834, 4118, 549, 17444, 427, 28406, 3274, 96, 6936, 40, 549, 5, 10825, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the sum of rank for placings of 58
CREATE TABLE table_name_39 ( rank INTEGER, placings VARCHAR )
SELECT SUM(rank) FROM table_name_39 WHERE placings = 58
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 11003, 3, 21342, 17966, 6, 9308, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 4505, 13, 11003, 21, 9308, 7, 13, 3, 3449, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 9308, 7, 3274, 3, 3449, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who published the title in the pet-raising simulator genre?
CREATE TABLE table_21458142_1 (publisher VARCHAR, genre VARCHAR)
SELECT publisher FROM table_21458142_1 WHERE genre = "Pet-raising simulator"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27357, 3449, 24978, 834, 536, 41, 29337, 49, 584, 4280, 28027, 6, 5349, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 1790, 8, 2233, 16, 8, 3947, 18, 22662, 2692...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14859, 21680, 953, 834, 27357, 3449, 24978, 834, 536, 549, 17444, 427, 5349, 3274, 96, 345, 15, 17, 18, 22662, 26927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average points of the drivers before 1964?
CREATE TABLE table_15099 ( "Year" real, "Chassis" text, "Engine(s)" text, "Tyres" text, "Points" real )
SELECT AVG("Points") FROM table_15099 WHERE "Year" < '1964'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12278, 3264, 41, 96, 476, 2741, 121, 490, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 599, 7, 61, 121, 1499, 6, 96, 382, 63, 60, 7, 121, 1499, 6, 96, 22512, 7, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22512, 7, 8512, 21680, 953, 834, 12278, 3264, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 4389, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the date for a catalog formatted in stereo LP?
CREATE TABLE table_15649 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text )
SELECT "Date" FROM table_15649 WHERE "Format" = 'stereo lp'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25463, 3647, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 2152, 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, 342, 121, 21680, 953, 834, 25463, 3647, 549, 17444, 427, 96, 3809, 3357, 121, 3274, 3, 31, 1370, 15, 32, 3, 40, 102, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show teams that have suffered more than three eliminations.
CREATE TABLE elimination (Team VARCHAR)
SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*) > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23458, 41, 18699, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 2323, 24, 43, 8151, 72, 145, 386, 23458, 7, 5, 1, 0, 0, 0, 0, 0, 0, 0, 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, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2271, 21680, 23458, 350, 4630, 6880, 272, 476, 2271, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the grid total for cars that went 17 laps?
CREATE TABLE table_name_60 ( grid INTEGER, laps VARCHAR )
SELECT SUM(grid) FROM table_name_60 WHERE laps = 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 8634, 3, 21342, 17966, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8634, 792, 21, 2948, 24, 877, 1003, 14941, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 14941, 7, 3274, 1003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which episode in the series drew 3.6 million U.S. viewers?
CREATE TABLE table_11111116_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
SELECT MIN(no_in_series) FROM table_11111116_6 WHERE us_viewers__million_ = "3.6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15866, 15866, 2938, 834, 948, 41, 29, 32, 834, 77, 834, 10833, 7, 3, 21342, 17966, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29, 32, 834, 77, 834, 10833, 7, 61, 21680, 953, 834, 15866, 15866, 2938, 834, 948, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 23074, 121, 1, -100, -100, -100, -100, -100, ...
Name the loss with record of 14-19
CREATE TABLE table_name_68 ( loss VARCHAR, record VARCHAR )
SELECT loss FROM table_name_68 WHERE record = "14-19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 1453, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1453, 28, 1368, 13, 968, 4481, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1453, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 1368, 3274, 96, 2534, 4481, 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 name of episode number 77 in the series?
CREATE TABLE table_2409041_5 ( title VARCHAR, no_in_series VARCHAR )
SELECT title FROM table_2409041_5 WHERE no_in_series = 77
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11944, 2394, 4853, 834, 755, 41, 2233, 584, 4280, 28027, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 5640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 11944, 2394, 4853, 834, 755, 549, 17444, 427, 150, 834, 77, 834, 10833, 7, 3274, 3, 4013, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find ACC_Road and Team_ID , and group by attribute All_Home, and visualize them by a bar chart, and could you sort by the bar in descending?
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY All_Home, ACC_Road ORDER BY ACC_Road 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, 3, 14775, 834, 448, 32, 9, 26, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 19040, 6, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 3, 14775, 834, 448, 32, 9, 26, 3...
what's the result with district being louisiana 2
CREATE TABLE table_1341586_19 (result VARCHAR, district VARCHAR)
SELECT result FROM table_1341586_19 WHERE district = "Louisiana 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 3840, 834, 2294, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 741, 28, 3939, 271, 16585, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23747, 1808, 3840, 834, 2294, 549, 17444, 427, 3939, 3274, 96, 28365, 13662, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In what season was the pct % 0.552?
CREATE TABLE table_2110959_1 ( season VARCHAR, pct__percentage VARCHAR )
SELECT season FROM table_2110959_1 WHERE pct__percentage = "0.552"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 17304, 3390, 834, 536, 41, 774, 584, 4280, 28027, 6, 3, 102, 75, 17, 834, 834, 883, 3728, 545, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 774, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 774, 21680, 953, 834, 2658, 17304, 3390, 834, 536, 549, 17444, 427, 3, 102, 75, 17, 834, 834, 883, 3728, 545, 3274, 96, 12100, 5373, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many points were there when tries for were 84?
CREATE TABLE table_17369472_2 (points VARCHAR, tries_for VARCHAR)
SELECT points FROM table_17369472_2 WHERE tries_for = "84"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3420, 4240, 5865, 834, 357, 41, 2700, 7, 584, 4280, 28027, 6, 3, 9000, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 130, 132, 116, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 21680, 953, 834, 2517, 3420, 4240, 5865, 834, 357, 549, 17444, 427, 3, 9000, 834, 1161, 3274, 96, 4608, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
whatthe minimum round where grand prix is german grand prix
CREATE TABLE table_1137704_2 ( round INTEGER, grand_prix VARCHAR )
SELECT MIN(round) FROM table_1137704_2 WHERE grand_prix = "German grand_prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20522, 4013, 6348, 834, 357, 41, 1751, 3, 21342, 17966, 6, 1907, 834, 2246, 226, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 532, 2559, 1751, 213, 1907, 3407...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 61, 21680, 953, 834, 20522, 4013, 6348, 834, 357, 549, 17444, 427, 1907, 834, 2246, 226, 3274, 96, 24518, 1907, 834, 2246, 226, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the name of each editor and the number of journal committees they are on using a bar chart, list in asc by the x axis.
CREATE TABLE journal_committee ( Editor_ID int, Journal_ID int, Work_Type text ) CREATE TABLE editor ( Editor_ID int, Name text, Age real ) CREATE TABLE journal ( Journal_ID int, Date text, Theme text, Sales int )
SELECT Name, COUNT(*) FROM editor AS T1 JOIN journal_committee AS T2 ON T1.Editor_ID = T2.Editor_ID GROUP BY T1.Editor_ID ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6378, 834, 287, 1538, 17, 15, 15, 41, 11953, 834, 4309, 16, 17, 6, 3559, 834, 4309, 16, 17, 6, 3118, 834, 25160, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 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, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 6005, 6157, 332, 536, 3, 15355, 3162, 6378, 834, 287, 1538, 17, 15, 15, 6157, 332, 357, 9191, 332, 5411, 26527, 127, 834, 4309, 3274, 332, 4416, 26527, 127, 834, 4309, 350...
Who is the opponent with a time higher than 1040, a Spad xiii aircraft in Dun-Sur-Meuse with a lower number than 22?
CREATE TABLE table_name_5 (opponent VARCHAR, location VARCHAR, number VARCHAR, time VARCHAR, aircraft VARCHAR)
SELECT opponent FROM table_name_5 WHERE time > 1040 AND aircraft = "spad xiii" AND number < 22 AND location = "dun-sur-meuse"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 381, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 6442, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 97, 2490, 335, 2445, 3430, 6442, 3274, 96, 7, 5612, 3, 226, 23, 23, 23, 121, 3430, 381, 3, 2, 1630, 3430, 1128, 3274, 96, 26, 202, 18, 3042, 18, 526, 1074...
Who drove the grid 10 car?
CREATE TABLE table_name_3 ( driver VARCHAR, grid VARCHAR )
SELECT driver FROM table_name_3 WHERE grid = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 2535, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 10719, 8, 8634, 335, 443, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 8634, 3274, 335, 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,...
How many wins have 24 points?
CREATE TABLE table_22567 ( "Position" real, "Team" text, "Played" real, "Wins" real, "Draws P.K. Wins / P.K. Losses" text, "Losses" real, "Scored" real, "Conceded" real, "Points" real )
SELECT "Wins" FROM table_22567 WHERE "Points" = '24'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20489, 3708, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 308, 10936, 7, 276, 5, 439...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18455, 7, 121, 21680, 953, 834, 20489, 3708, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 2266, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose drug type is main.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug_type = "MAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
how many hours have passed since the first stay of patient 022-199074 in the ward 869 on the current hospital encounter?
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CRE...
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '022-199074' AND patient.wardid = 869 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23, 26, 381, 6, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 605, 6137, 1499, 6, 605, 23, 26, 381, 6, 1567, 715, 97, 6, 583, 381, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 997, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 61, 216...
What is the lap number for the rank of 13?
CREATE TABLE table_71924 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real )
SELECT "Laps" FROM table_71924 WHERE "Rank" = '13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2294, 2266, 41, 96, 476, 2741, 121, 1499, 6, 96, 7681, 17, 121, 1499, 6, 96, 5991, 138, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 371, 77, 1273, 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, 3612, 102, 7, 121, 21680, 953, 834, 940, 2294, 2266, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the titles and studios of the films that are produced by some film studios that contained the word 'Universal'.
CREATE TABLE market ( market_id number, country text, number_cities number ) CREATE TABLE film ( film_id number, title text, studio text, director text, gross_in_dollar number ) CREATE TABLE film_market_estimation ( estimation_id number, low_estimate number, high_estimate n...
SELECT title, studio FROM film WHERE studio LIKE "%Universal%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 512, 41, 512, 834, 23, 26, 381, 6, 684, 1499, 6, 381, 834, 75, 2197, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 41, 814, 834, 23, 26, 381, 6, 2233, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 6, 3100, 21680, 814, 549, 17444, 427, 3100, 8729, 9914, 96, 1454, 8313, 138, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many spanish runners total placed in the top 10 in the men 's 3000 metres event at the 2002 european athletics indoor championships ?
CREATE TABLE table_204_893 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text )
SELECT COUNT(*) FROM table_204_893 WHERE "nationality" = 'spain' AND id <= 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3914, 519, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 16557, 485, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 7977, 7, 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, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 3914, 519, 549, 17444, 427, 96, 16557, 485, 121, 3274, 3, 31, 14147, 77, 31, 3430, 3, 23, 26, 3, 2, 2423, 335, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the Original air date for the episode written by Peter Ocko?
CREATE TABLE table_13183076_3 (original_air_date VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_13183076_3 WHERE written_by = "Peter Ocko"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 2606, 1458, 3959, 834, 519, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8465,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 926, 834, 2256, 834, 5522, 21680, 953, 834, 2368, 2606, 1458, 3959, 834, 519, 549, 17444, 427, 1545, 834, 969, 3274, 96, 345, 15, 449, 411, 2406, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Provide the number of patients who have hyperglycemia hyponatremia as their primary disease and underwent nonoperative removal of heart assist system.
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "HYPERGLYCEMIA;HYPONATREMIA" AND procedures.short_title = "Nonop remov hrt asst sys"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the Role/Episode after 2006 with Ellen Burstyn as a recipient and nominee?
CREATE TABLE table_63971 ( "Year" real, "Category" text, "Recipients and nominees" text, "Role/Episode" text, "Result" text )
SELECT "Role/Episode" FROM table_63971 WHERE "Year" > '2006' AND "Recipients and nominees" = 'ellen burstyn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 4327, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 1649, 3389, 4741, 7, 11, 21077, 7, 121, 1499, 6, 96, 448, 32, 109, 87, 427, 102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 32, 109, 87, 427, 102, 159, 32, 221, 121, 21680, 953, 834, 3891, 4327, 536, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 21196, 31, 3430, 96, 1649, 3389, 4741, 7, 11, 21077, 7, 121, 3274, 3, 31, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, find job_id and department_id , and visualize them by a bar chart, and show by the X-axis in descending.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decima...
SELECT JOB_ID, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 446, 10539, 834, 4309, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610,...
Who was the turbine manufacturer for the Wheatland county?
CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, county VARCHAR)
SELECT turbine_manufacturer FROM table_24837750_1 WHERE county = "Wheatland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3707, 4118, 9979, 834, 536, 41, 2905, 12712, 834, 348, 76, 8717, 450, 49, 584, 4280, 28027, 6, 5435, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 20784, 834, 348, 76, 8717, 450, 49, 21680, 953, 834, 357, 3707, 4118, 9979, 834, 536, 549, 17444, 427, 5435, 3274, 96, 518, 88, 144, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Record has a Location/Attendance of palace of auburn hills 8,108?
CREATE TABLE table_name_22 (record VARCHAR, location_attendance VARCHAR)
SELECT record FROM table_name_22 WHERE location_attendance = "palace of auburn hills 8,108"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 60, 7621, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11392, 65, 3, 9, 10450, 87, 188, 17, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 13878, 565, 13, 185, 7223, 11787, 9478, 16169, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show all calendar dates and bin by year in a line chart.
CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Employees ( Employee_ID INTEGER, ...
SELECT Calendar_Date, COUNT(Calendar_Date) FROM Ref_Calendar
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 7, 834, 235, 834, 346, 834, 2962, 6626, 10093, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 2973, 26853, 834, 23602, 127, 3375, 834, 969, 834, 427, 51, 7379, 63, 15, 15, 834, 430...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18783, 834, 308, 342, 6, 2847, 17161, 599, 14318, 35, 3439, 834, 308, 342, 61, 21680, 419, 89, 834, 14318, 35, 3439, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of Wally Armstrong?
CREATE TABLE table_name_49 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_49 WHERE player = "wally armstrong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 7, 9022, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 3556, 63, 26044, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 1959, 3274, 96, 210, 1427, 2939, 25866, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose year of death is less than or equal to 2111 and lab test name is lactate dehydrogenase (ld)?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2111.0" AND lab.label = "Lactate Dehydrogenase (LD)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which race resulted in 2nd place in the 1996 season on 20-Jan-1996?
CREATE TABLE table_name_80 ( race VARCHAR, date VARCHAR, place VARCHAR, season VARCHAR )
SELECT race FROM table_name_80 WHERE place = "2nd" AND season = 1996 AND date = "20-jan-1996"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 1964, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1964, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 1964, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 286, 3274, 96, 357, 727, 121, 3430, 774, 3274, 6911, 3430, 833, 3274, 96, 1755, 18, 7066, 4481, 4314, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position did Rich Manning play?
CREATE TABLE table_name_87 ( position VARCHAR, player VARCHAR )
SELECT position FROM table_name_87 WHERE player = "rich manning"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 410, 10825, 6362, 53, 577, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 1959, 3274, 96, 3723, 3, 2434, 53, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the Odds for Trainer Barclay Tagg?
CREATE TABLE table_name_87 ( odds VARCHAR, trainer VARCHAR )
SELECT odds FROM table_name_87 WHERE trainer = "barclay tagg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 11007, 584, 4280, 28027, 6, 8813, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 9899, 26, 7, 21, 13890, 1386, 4651, 63, 3284, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11007, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 8813, 3274, 96, 1047, 4651, 63, 7860, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the activity with the most students?
CREATE TABLE Participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR)
SELECT T1.activity_name FROM Activity AS T1 JOIN Participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15077, 6203, 834, 77, 41, 2708, 4309, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 22536, 41, 21661, 834, 4350, 584, 4280, 28027, 6, 1810, 4309, 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, 0, 0, 0...
[ 3, 23143, 14196, 332, 5411, 21661, 834, 4350, 21680, 22536, 6157, 332, 536, 3, 15355, 3162, 15077, 6203, 834, 77, 6157, 332, 357, 9191, 332, 5411, 2708, 4309, 3274, 332, 4416, 2708, 4309, 350, 4630, 6880, 272, 476, 332, 5411, 2708, 43...
Which venue led to a result of 13th and had an extra of Long Race?
CREATE TABLE table_name_51 (venue VARCHAR, extra VARCHAR, result VARCHAR)
SELECT venue FROM table_name_51 WHERE extra = "long race" AND result = "13th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 15098, 584, 4280, 28027, 6, 996, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5669, 2237, 12, 3, 9, 741, 13, 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, 5669, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 996, 3274, 96, 2961, 1964, 121, 3430, 741, 3274, 96, 2368, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which year did this team finish the same in the open cup as they did in 2004 ?
CREATE TABLE table_204_590 ( id number, "year" number, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text, "avg. attendance" number )
SELECT "year" FROM table_204_590 WHERE "year" <> 2004 AND "open cup" = (SELECT "open cup" FROM table_204_590 WHERE "year" = 2004)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 2394, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 26, 23, 6610, 121, 381, 6, 96, 29512, 121, 1499, 6, 96, 60, 122, 4885, 774, 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, 1201, 121, 21680, 953, 834, 26363, 834, 755, 2394, 549, 17444, 427, 96, 1201, 121, 3, 2, 3155, 4406, 3430, 96, 8751, 4119, 121, 3274, 41, 23143, 14196, 96, 8751, 4119, 121, 21680, 953, 834, 26363, 834, 755, 2394...
how many episodes in the series had as a production code 16016?
CREATE TABLE table_2791668_1 ( no_in_series VARCHAR, production_code VARCHAR )
SELECT COUNT(no_in_series) FROM table_2791668_1 WHERE production_code = 16016
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4440, 2938, 3651, 834, 536, 41, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 135...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29, 32, 834, 77, 834, 10833, 7, 61, 21680, 953, 834, 357, 4440, 2938, 3651, 834, 536, 549, 17444, 427, 999, 834, 4978, 3274, 11321, 2938, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Tell me the host for rtl-tvi
CREATE TABLE table_name_6 ( host VARCHAR, network VARCHAR )
SELECT host FROM table_name_6 WHERE network = "rtl-tvi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 2290, 584, 4280, 28027, 6, 1229, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 2290, 21, 3, 52, 17, 40, 18, 17, 2099, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2290, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1229, 3274, 96, 52, 17, 40, 18, 17, 2099, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the card type codes and the number of transactions Visualize by bar chart, and rank by the X-axis in descending please.
CREATE TABLE Accounts ( account_id INTEGER, customer_id INTEGER, account_name VARCHAR(50), other_account_details VARCHAR(255) ) CREATE TABLE Customers_Cards ( card_id INTEGER, customer_id INTEGER, card_type_code VARCHAR(15), card_number VARCHAR(80), date_valid_from DATETIME, dat...
SELECT card_type_code, COUNT(*) FROM Financial_Transactions AS T1 JOIN Customers_Cards AS T2 ON T1.card_id = T2.card_id GROUP BY T2.card_type_code ORDER BY card_type_code DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6288, 7, 41, 905, 834, 23, 26, 3, 21342, 17966, 6, 884, 834, 23, 26, 3, 21342, 17966, 6, 905, 834, 4350, 584, 4280, 28027, 599, 1752, 201, 119, 834, 9, 75, 13362, 834, 221, 5756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 895, 834, 6137, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 5421, 834, 18474, 4787, 7, 6157, 332, 536, 3, 15355, 3162, 16423, 834, 6936, 26, 7, 6157, 332, 357, 9191, 332, 5411, 6043, 834, 23, 26, 3274, 332, 4...
had a microbiology test been done since 81 months ago for patient 031-23724?
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, ...
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23724')) AND DATETIME(microlab.culturetakentime) >= DATETIME(CURRENT_TIME(...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 2179, 9339, 549, 17444, 427, 2179, 9339, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 186...
What is Glider, when Speed is "147.3km/h"?
CREATE TABLE table_name_40 (glider VARCHAR, speed VARCHAR)
SELECT glider FROM table_name_40 WHERE speed = "147.3km/h"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 4707, 588, 584, 4280, 28027, 6, 1634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 350, 8130, 49, 6, 116, 9913, 19, 96, 2534, 27914, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 26537, 52, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1634, 3274, 96, 2534, 27914, 5848, 87, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the names of courses with 1 credit?
CREATE TABLE member_of ( facid number, dno number, appt_type text ) CREATE TABLE course ( cid text, cname text, credits number, instructor number, days text, hours text, dno number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, se...
SELECT cname FROM course WHERE credits = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 834, 858, 41, 7076, 26, 381, 6, 3, 26, 29, 32, 381, 6, 1120, 17, 834, 6137, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 503, 41, 3, 10812, 1499, 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, 3, 75, 4350, 21680, 503, 549, 17444, 427, 11893, 3274, 209, 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, ...
who is the artist listed before ben e. king ?
CREATE TABLE table_204_193 ( id number, "year" number, "artist" text, "album" text, "chart position" text, "role" text )
SELECT "artist" FROM table_204_193 WHERE id = (SELECT id FROM table_204_193 WHERE "artist" = 'ben e. king') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2294, 519, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 1408, 343, 121, 1499, 6, 96, 23703, 121, 1499, 6, 96, 4059, 17, 1102, 121, 1499, 6, 96, 3491, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1408, 343, 121, 21680, 953, 834, 26363, 834, 2294, 519, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 2294, 519, 549, 17444, 427, 96, 1408, 343, 121, 3274, 3, 31, ...
What is the smallest number of innings with a strike rate of 72.05 and under 297 balls faced?
CREATE TABLE table_name_89 ( innings INTEGER, sr VARCHAR, balls_faced VARCHAR )
SELECT MIN(innings) FROM table_name_89 WHERE sr = 72.05 AND balls_faced < 297
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 19714, 3, 21342, 17966, 6, 3, 7, 52, 584, 4280, 28027, 6, 11607, 834, 4861, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 3, 17684, 599, 10503, 7, 61, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 3, 7, 52, 3274, 9455, 5, 3076, 3430, 11607, 834, 4861, 26, 3, 2, 204, 4327, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Score, when High Rebounds is 'Nolan (10)'?
CREATE TABLE table_name_61 ( score VARCHAR, high_rebounds VARCHAR )
SELECT score FROM table_name_61 WHERE high_rebounds = "nolan (10)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 2604, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 17763, 6, 116, 1592, 419, 6115, 7, 19, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 306, 834, 23768, 3274, 96, 29, 32, 1618, 41, 16968, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the 1995 value with A in 1986 and 2r in 1992?
CREATE TABLE table_name_29 ( Id VARCHAR )
SELECT 1995 FROM table_name_29 WHERE 1986 = "a" AND 1992 = "2r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7273, 701, 28, 71, 16, 12698, 11, 204, 52, 16, 9047, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7273, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 12698, 3274, 96, 9, 121, 3430, 9047, 3274, 96, 357, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the date for the tooheys 1000?
CREATE TABLE table_61214 ( "Date" text, "Series" text, "Circuit" text, "City / State" text, "Winner" text, "Team" text )
SELECT "Date" FROM table_61214 WHERE "Series" = 'tooheys 1000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 27357, 41, 96, 308, 342, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 254, 485, 3, 87, 1015, 121, 1499, 6, 96, 18455, 687, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4241, 27357, 549, 17444, 427, 96, 12106, 7, 121, 3274, 3, 31, 235, 32, 13133, 7, 5580, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Seasons that has Years of 1976 1977?
CREATE TABLE table_6541 ( "Name" text, "Years" text, "Seasons" real, "Lost" real, "Pct." real )
SELECT COUNT("Seasons") FROM table_6541 WHERE "Years" = '1976–1977'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 4853, 41, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 134, 15, 9, 6577, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 345, 75, 17, 535, 490, 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, 134, 15, 9, 6577, 8512, 21680, 953, 834, 4122, 4853, 549, 17444, 427, 96, 476, 2741, 7, 121, 3274, 3, 31, 2294, 3959, 104, 2294, 4013, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Team has a Lost larger than 2, and a Position smaller than 7, and a Drawn smaller than 2, and a Points of 22?
CREATE TABLE table_42624 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT "Team" FROM table_42624 WHERE "Lost" > '2' AND "Position" < '7' AND "Drawn" < '2' AND "Points" = '22'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2688, 2266, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 591, 2688, 2266, 549, 17444, 427, 96, 434, 3481, 121, 2490, 3, 31, 357, 31, 3430, 96, 345, 32, 7, 4749, 121, 3, 2, 3, 31, 940, 31, 3430, 96, 308, 10936, 29, 121, 3, 2, 3, 31,...