NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the Date at memorial stadium minneapolis, mn, and an Opponent of northwestern?
CREATE TABLE table_37992 ( "Date" text, "Opponent" text, "Site" text, "Result" text, "Attendance" text )
SELECT "Date" FROM table_37992 WHERE "Site" = 'memorial stadium • minneapolis, mn' AND "Opponent" = 'northwestern'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 3264, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 26030, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4118, 3264, 357, 549, 17444, 427, 96, 26030, 121, 3274, 3, 31, 526, 51, 11929, 14939, 1697, 3, 51, 14029, 9, 15621, 6, 3, 51, 29, 31, 3430, 96, 667, 102, 9977, 121, 3274, 3, ...
What is the highest number played when there were less than 13 losses and a goal difference of +46?
CREATE TABLE table_50425 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT MAX("Played") FROM table_50425 WHERE "Lost" < '13' AND "Goal Difference" = '+46'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 591, 1828, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 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, 4800, 4, 599, 121, 15800, 15, 26, 8512, 21680, 953, 834, 1752, 591, 1828, 549, 17444, 427, 96, 434, 3481, 121, 3, 2, 3, 31, 2368, 31, 3430, 96, 6221, 138, 27187, 121, 3274, 3, 31, 1220, 4448, 31, 1, -100, -100, ...
How many Total matches have a Year of career, and a Points won larger than 25?
CREATE TABLE table_name_61 ( total_matches INTEGER, year VARCHAR, points_won VARCHAR )
SELECT SUM(total_matches) FROM table_name_61 WHERE year = "career" AND points_won > 25
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 792, 834, 19515, 15, 7, 3, 21342, 17966, 6, 215, 584, 4280, 28027, 6, 979, 834, 210, 106, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 235, 1947, 834, 19515, 15, 7, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 215, 3274, 96, 2864, 49, 121, 3430, 979, 834, 210, 106, 2490, 944, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the tournament that had Grand Slam Tournaments in 1976?
CREATE TABLE table_52459 ( "Tournament" text, "1972" text, "1973" text, "1974" text, "1975" text, "1976" text, "1977" text, "1978" text )
SELECT "Tournament" FROM table_52459 WHERE "1976" = 'grand slam tournaments'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2266, 3390, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 5865, 121, 1499, 6, 96, 2294, 4552, 121, 1499, 6, 96, 27181, 20364, 1499, 6, 96, 27181, 17395, 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, 382, 1211, 20205, 17, 121, 21680, 953, 834, 755, 2266, 3390, 549, 17444, 427, 96, 2294, 3959, 121, 3274, 3, 31, 15448, 3, 7, 40, 265, 5892, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest interview for Louisiana with an average above 9.324?
CREATE TABLE table_name_77 (interview INTEGER, average VARCHAR, state VARCHAR)
SELECT MAX(interview) FROM table_name_77 WHERE average > 9.324 AND state = "louisiana"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 3870, 4576, 3, 21342, 17966, 6, 1348, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 2772, 21, 15625, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 3870, 4576, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 1348, 2490, 5835, 519, 2266, 3430, 538, 3274, 96, 40, 1063, 159, 13662, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the transfer window for the country of ESP and the name of de la red?
CREATE TABLE table_name_49 ( transfer_window VARCHAR, country VARCHAR, name VARCHAR )
SELECT transfer_window FROM table_name_49 WHERE country = "esp" AND name = "de la red"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 2025, 834, 5165, 2381, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2025, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2025, 834, 5165, 2381, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 684, 3274, 96, 15, 7, 102, 121, 3430, 564, 3274, 96, 221, 50, 1131, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who ran unsuccessfully against Bill Hefner?
CREATE TABLE table_1341522_36 (opponent VARCHAR, incumbent VARCHAR)
SELECT opponent FROM table_1341522_36 WHERE incumbent = "Bill Hefner"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 2884, 834, 3420, 41, 32, 102, 9977, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 4037, 26684, 120, 581, 3259, 216, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 23747, 1808, 2884, 834, 3420, 549, 17444, 427, 28406, 3274, 96, 279, 1092, 216, 89, 687, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Please list all songs in volumes in ascending alphabetical order.
CREATE TABLE artist ( artist_id number, artist text, age number, famous_title text, famous_release_date text ) CREATE TABLE music_festival ( id number, music_festival text, date_of_ceremony text, category text, volume number, result text ) CREATE TABLE volume ( volume_id number, volume_issue text, issue_date text, weeks_on_top number, song text, artist_id number )
SELECT song FROM volume ORDER BY song
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2377, 41, 2377, 834, 23, 26, 381, 6, 2377, 1499, 6, 1246, 381, 6, 2581, 834, 21869, 1499, 6, 2581, 834, 21019, 834, 5522, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2324, 21680, 2908, 4674, 11300, 272, 476, 2324, 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, ...
What year was the race in Vienna, Austria?
CREATE TABLE table_name_72 ( year INTEGER, venue VARCHAR )
SELECT MIN(year) FROM table_name_72 WHERE venue = "vienna, austria"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 215, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 1964, 16, 19500, 6, 9652, 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, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 5669, 3274, 96, 2099, 35, 29, 9, 6, 185, 23387, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
On what date of polling was the Polling Firm forum research with 7 green and less than 30 liberals?
CREATE TABLE table_name_2 (date_of_polling VARCHAR, liberal VARCHAR, polling_firm VARCHAR, green VARCHAR)
SELECT date_of_polling FROM table_name_2 WHERE polling_firm = "forum research" AND green = 7 AND liberal < 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 5522, 834, 858, 834, 3233, 697, 584, 4280, 28027, 6, 10215, 584, 4280, 28027, 6, 5492, 53, 834, 7001, 584, 4280, 28027, 6, 1442, 584, 4280, 28027, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 858, 834, 3233, 697, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 5492, 53, 834, 7001, 3274, 96, 24195, 585, 121, 3430, 1442, 3274, 489, 3430, 10215, 3, 2, 604, 1, -100, -100, -100, -100, -100, -100, ...
Tell me the score on 22 august 2012
CREATE TABLE table_77825 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Score" FROM table_77825 WHERE "Date" = '22 august 2012'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3940, 1828, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 940, 3940, 1828, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2884, 14663, 1673, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
On which date was St Kilda the home team?
CREATE TABLE table_name_2 ( date VARCHAR, home_team VARCHAR )
SELECT date FROM table_name_2 WHERE home_team = "st kilda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 833, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 833, 47, 472, 12672, 26, 9, 8, 234, 372, 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, 833, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 17, 3, 157, 173, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
display all the information of those employees who did not have any job in the past.
CREATE TABLE locations ( location_id number, street_address text, postal_code text, city text, state_province text, country_id text ) CREATE TABLE job_history ( employee_id number, start_date time, end_date time, job_id text, department_id number ) CREATE TABLE departments ( department_id number, department_name text, manager_id number, location_id number ) CREATE TABLE regions ( region_id number, region_name text ) CREATE TABLE jobs ( job_id text, job_title text, min_salary number, max_salary number ) CREATE TABLE employees ( employee_id number, first_name text, last_name text, email text, phone_number text, hire_date time, job_id text, salary number, commission_pct number, manager_id number, department_id number ) CREATE TABLE countries ( country_id text, country_name text, region_id number )
SELECT * FROM employees WHERE NOT employee_id IN (SELECT employee_id FROM job_history)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 1128, 834, 23, 26, 381, 6, 2815, 834, 9, 26, 12039, 1499, 6, 19085, 834, 4978, 1499, 6, 690, 1499, 6, 538, 834, 1409, 2494, 565, 1499, 6, 684, 834, 23, 26, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 1652, 549, 17444, 427, 4486, 3490, 834, 23, 26, 3388, 41, 23143, 14196, 3490, 834, 23, 26, 21680, 613, 834, 10193, 10972, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the largest village that had 103279 houses affected?
CREATE TABLE table_20403667_2 (village INTEGER, house_affected VARCHAR)
SELECT MAX(village) FROM table_20403667_2 WHERE house_affected = 103279
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 2445, 3420, 3708, 834, 357, 41, 208, 17614, 3, 21342, 17966, 6, 629, 834, 9, 27488, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015, 3309, 24, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 208, 17614, 61, 21680, 953, 834, 1755, 2445, 3420, 3708, 834, 357, 549, 17444, 427, 629, 834, 9, 27488, 3274, 335, 2668, 4440, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the artist for 7 points
CREATE TABLE table_21378339_5 ( artist VARCHAR, televote_points VARCHAR )
SELECT COUNT(artist) FROM table_21378339_5 WHERE televote_points = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4118, 4591, 3288, 834, 755, 41, 2377, 584, 4280, 28027, 6, 3, 1931, 1621, 17, 15, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2377,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1408, 343, 61, 21680, 953, 834, 2658, 4118, 4591, 3288, 834, 755, 549, 17444, 427, 3, 1931, 1621, 17, 15, 834, 2700, 7, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What college did Bob Larose attend?
CREATE TABLE table_26996293_1 (college VARCHAR, player VARCHAR)
SELECT college FROM table_26996293_1 WHERE player = "Bob LaRose"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3264, 4056, 4271, 834, 536, 41, 3297, 7883, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1900, 410, 5762, 325, 8115, 2467, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 21680, 953, 834, 2688, 3264, 4056, 4271, 834, 536, 549, 17444, 427, 1959, 3274, 96, 279, 32, 115, 325, 448, 32, 7, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Joselito Escobar's Pick number?
CREATE TABLE table_name_96 ( pick INTEGER, player VARCHAR )
SELECT SUM(pick) FROM table_name_96 WHERE player = "joselito escobar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 1432, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 10854, 4250, 32, 1122, 509, 1047, 31, 7, 8356, 381, 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, 180, 6122, 599, 17967, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1959, 3274, 96, 1927, 7, 15, 4250, 32, 3, 15, 3523, 1047, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which title was developed by Battlecry Studios?
CREATE TABLE table_name_96 (title VARCHAR, developer VARCHAR)
SELECT title FROM table_name_96 WHERE developer = "battlecry studios"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 21869, 584, 4280, 28027, 6, 7523, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2233, 47, 1597, 57, 10141, 75, 651, 16179, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 7523, 3274, 96, 115, 9, 8692, 75, 651, 3100, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What were the scores by the individual judges for Karanvir Bohra on August 13?
CREATE TABLE table_18278508_6 ( scores_by_each_individual_judge VARCHAR, main_contestant VARCHAR, date_performed VARCHAR )
SELECT scores_by_each_individual_judge FROM table_18278508_6 WHERE main_contestant = "Karanvir Bohra" AND date_performed = "August 13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 2555, 4433, 4018, 834, 948, 41, 7586, 834, 969, 834, 15, 1836, 834, 17027, 138, 834, 354, 13164, 584, 4280, 28027, 6, 711, 834, 1018, 4377, 288, 584, 4280, 28027, 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, 7586, 834, 969, 834, 15, 1836, 834, 17027, 138, 834, 354, 13164, 21680, 953, 834, 2606, 2555, 4433, 4018, 834, 948, 549, 17444, 427, 711, 834, 1018, 4377, 288, 3274, 96, 439, 9, 2002, 5771, 1491, 107, 52, 9, 121, ...
Name the D 42 which has a D 46 of r 26
CREATE TABLE table_51880 ( "D 41" text, "D 42" text, "D 43" text, "D 44" text, "D 45" text, "D 46" text, "R 54" text, "R 53" text, "R 52" text, "R 51" text )
SELECT "D 42" FROM table_51880 WHERE "D 46" = 'r 26'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2606, 2079, 41, 96, 308, 8798, 121, 1499, 6, 96, 308, 6426, 121, 1499, 6, 96, 308, 8838, 121, 1499, 6, 96, 308, 8537, 121, 1499, 6, 96, 308, 3479, 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, 308, 6426, 121, 21680, 953, 834, 755, 2606, 2079, 549, 17444, 427, 96, 308, 9668, 121, 3274, 3, 31, 52, 2208, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who manufactured fleet numbers of wlwr 2, 4, 11?
CREATE TABLE table_name_43 (manufacturer VARCHAR, fleet_numbers VARCHAR)
SELECT manufacturer FROM table_name_43 WHERE fleet_numbers = "wlwr 2, 4, 11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 348, 76, 8717, 450, 49, 584, 4280, 28027, 6, 9111, 834, 5525, 1152, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 9554, 9111, 2302, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4818, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 9111, 834, 5525, 1152, 7, 3274, 96, 210, 40, 210, 52, 3547, 6464, 850, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
when changsha is the commandery what is the commandery capital?
CREATE TABLE table_30015 ( "Province" text, "Provincial capital" text, "Commandery" text, "Commandery capital" text, "No. of counties" real )
SELECT "Commandery capital" FROM table_30015 WHERE "Commandery" = 'Changsha 長沙'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 1808, 41, 96, 3174, 2494, 565, 121, 1499, 6, 96, 3174, 2494, 4703, 1784, 121, 1499, 6, 96, 10205, 11849, 63, 121, 1499, 6, 96, 10205, 11849, 63, 1784, 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, 10205, 11849, 63, 1784, 121, 21680, 953, 834, 5426, 1808, 549, 17444, 427, 96, 10205, 11849, 63, 121, 3274, 3, 31, 254, 9270, 7, 1024, 3, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the name of the builder who launched in danaide
CREATE TABLE table_name_97 ( launched VARCHAR, name VARCHAR )
SELECT launched FROM table_name_97 WHERE name = "danaide"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 3759, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 564, 13, 8, 918, 49, 113, 3759, 16, 3, 3768, 5385...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3759, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 564, 3274, 96, 3768, 5385, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Provide me the list of patients on base drug prescription who havea hospital stay greater than three days.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "3" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the Original air date for the episode with a Production code of 07-00-107?
CREATE TABLE table_name_85 ( original_air_date VARCHAR, production_code VARCHAR )
SELECT original_air_date FROM table_name_85 WHERE production_code = "07-00-107"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8465, 799, 833, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 999, 834, 4978, 3274, 96, 4560, 18, 1206, 18, 18057, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the hometown of the player who is 6-4?
CREATE TABLE table_name_45 (hometown VARCHAR, height VARCHAR)
SELECT hometown FROM table_name_45 WHERE height = "6-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 5515, 3540, 584, 4280, 28027, 6, 3902, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 22295, 13, 8, 1959, 113, 19, 3, 25618, 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, 22295, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 3902, 3274, 96, 25618, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What horse did not start and had a total of over 16.16?
CREATE TABLE table_52539 ( "Rider" text, "Horse" text, "Faults" text, "Round 1 + 2A + 2B + 3A Points" text, "Total" real )
SELECT "Horse" FROM table_52539 WHERE "Faults" = 'did not start' AND "Total" > '16.16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 1828, 3288, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 566, 127, 7, 15, 121, 1499, 6, 96, 371, 10335, 7, 121, 1499, 6, 96, 448, 32, 1106, 209, 1768, 204, 188, 1768, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 566, 127, 7, 15, 121, 21680, 953, 834, 755, 1828, 3288, 549, 17444, 427, 96, 371, 10335, 7, 121, 3274, 3, 31, 12416, 59, 456, 31, 3430, 96, 3696, 1947, 121, 2490, 3, 31, 2938, 5, 2938, 31, 1, -100, -100, -...
Which team picked the player from the Toronto Marlboros (OHA) as Pick #32?
CREATE TABLE table_67089 ( "Pick #" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT "NHL team" FROM table_67089 WHERE "College/junior/club team" = 'toronto marlboros (oha)' AND "Pick #" = '32'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 632, 3914, 41, 96, 345, 3142, 1713, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15743, 434, 372, 121, 21680, 953, 834, 3708, 632, 3914, 549, 17444, 427, 96, 9939, 7883, 87, 6959, 23, 127, 87, 13442, 372, 121, 3274, 3, 31, 235, 4438, 32, 3157, 40, 14901, 7, 41, 32, 1024, 61, 31, 3430, 96...
Which height is associated with Franklin High School?
CREATE TABLE table_name_40 (height VARCHAR, school VARCHAR)
SELECT height FROM table_name_40 WHERE school = "franklin high school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 88, 2632, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3902, 19, 1968, 28, 16079, 1592, 1121, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3902, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 496, 3274, 96, 6296, 20529, 29, 306, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What date did the home team of footscray play?
CREATE TABLE table_51524 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_51524 WHERE "Home team" = 'footscray'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 1808, 2266, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 755, 1808, 2266, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 6259, 7, 2935, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Constructor with total time of 2:45.416
CREATE TABLE table_name_72 ( constructor VARCHAR, q1 VARCHAR, q2_time VARCHAR )
SELECT constructor FROM table_name_72 WHERE q1 + q2_time = "2:45.416"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 6774, 127, 584, 4280, 28027, 6, 3, 1824, 536, 584, 4280, 28027, 6, 3, 1824, 357, 834, 715, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1193...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6774, 127, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 3, 1824, 536, 1768, 3, 1824, 357, 834, 715, 3274, 96, 357, 10, 591, 27436, 2938, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
In what Week was the Result W 27-24?
CREATE TABLE table_name_1 ( week INTEGER, result VARCHAR )
SELECT MAX(week) FROM table_name_1 WHERE result = "w 27-24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 471, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 6551, 47, 8, 3, 20119, 549, 2307, 14962, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8041, 61, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 741, 3274, 96, 210, 2307, 14962, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the last time patient 031-23605 had the microbiology test when they came to the hospital first time?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time )
SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23605' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)) ORDER BY microlab.culturetakentime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2179, 9339, 5, 10547, 4914, 29, 715, 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, 1868, 5,...
Show the names of companies in the banking or retailing industry?
CREATE TABLE company ( Name VARCHAR, Industry VARCHAR )
SELECT Name FROM company WHERE Industry = "Banking" OR Industry = "Retailing"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 5570, 584, 4280, 28027, 6, 9036, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 3056, 13, 688, 16, 8, 8175, 42, 3549, 53, 681, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5570, 21680, 349, 549, 17444, 427, 9036, 3274, 96, 21347, 53, 121, 4674, 9036, 3274, 96, 1649, 17, 17446, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the total number of value for revenue more than 193 and rank less than 12 for manchester united
CREATE TABLE table_name_21 ( value__ VARCHAR, team VARCHAR, revenue__$m_ VARCHAR, rank VARCHAR )
SELECT COUNT(value__) AS $m_ FROM table_name_21 WHERE revenue__$m_ > 193 AND rank < 12 AND team = "manchester united"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 701, 834, 834, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 3751, 834, 834, 3229, 51, 834, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 12097, 834, 834, 61, 6157, 1514, 51, 834, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 3751, 834, 834, 3229, 51, 834, 2490, 957, 519, 3430, 11003, 3, 2, 586, 3430, 372, 3274, 96, 348, 13263, ...
Who had the fastest lap in the Belgian Grand Prix?
CREATE TABLE table_1132600_3 (fastest_lap VARCHAR, grand_prix VARCHAR)
SELECT fastest_lap FROM table_1132600_3 WHERE grand_prix = "Belgian grand_prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 2668, 6007, 834, 519, 41, 11584, 222, 834, 8478, 584, 4280, 28027, 6, 1907, 834, 2246, 226, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 10391, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10391, 834, 8478, 21680, 953, 834, 2596, 2668, 6007, 834, 519, 549, 17444, 427, 1907, 834, 2246, 226, 3274, 96, 2703, 40, 22898, 1907, 834, 2246, 226, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many byes were then when there were less than 737 against?
CREATE TABLE table_58899 ( "Glenelg FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT SUM("Byes") FROM table_58899 WHERE "Against" < '737'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4060, 3264, 41, 96, 517, 14205, 40, 122, 7212, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 279, 10070, 8512, 21680, 953, 834, 755, 4060, 3264, 549, 17444, 427, 96, 20749, 121, 3, 2, 3, 31, 27931, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When did the Roy Hibbert (27) did the high points?
CREATE TABLE table_27756164_2 ( date VARCHAR, high_points VARCHAR )
SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3072, 4241, 4389, 834, 357, 41, 833, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 15875, 2018, 115, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 2555, 3072, 4241, 4389, 834, 357, 549, 17444, 427, 306, 834, 2700, 7, 3274, 96, 448, 32, 63, 2018, 115, 7041, 4743, 12703, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many years are there where the the under-15 is Arturo Salazar Martinez and the under-19 is Moises Galvez?
CREATE TABLE table_28603 ( "Year" real, "Under-11" text, "Under-13" text, "Under-15" text, "Under-17" text, "Under-19" text )
SELECT COUNT("Year") FROM table_28603 WHERE "Under-15" = 'Arturo Salazar Martinez' AND "Under-19" = 'Moises Galvez'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3328, 519, 41, 96, 476, 2741, 121, 490, 6, 96, 5110, 588, 9169, 121, 1499, 6, 96, 5110, 588, 13056, 121, 1499, 6, 96, 5110, 588, 10106, 121, 1499, 6, 96, 5110, 588,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 476, 2741, 8512, 21680, 953, 834, 2577, 3328, 519, 549, 17444, 427, 96, 5110, 588, 10106, 121, 3274, 3, 31, 7754, 450, 32, 8930, 7061, 26906, 31, 3430, 96, 5110, 588, 4481, 121, 3274, 3, 31, ...
What is the lowest rank for the team that raced a time of 6:17.62 and a notes of sa/b?
CREATE TABLE table_13272 ( "Rank" real, "Rowers" text, "Country" text, "Time" text, "Notes" text )
SELECT MIN("Rank") FROM table_13272 WHERE "Notes" = 'sa/b' AND "Time" = '6:17.62'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23757, 5865, 41, 96, 22557, 121, 490, 6, 96, 448, 2381, 277, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 10358, 15, 7, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 22557, 8512, 21680, 953, 834, 23757, 5865, 549, 17444, 427, 96, 10358, 15, 7, 121, 3274, 3, 31, 7, 9, 87, 115, 31, 3430, 96, 13368, 121, 3274, 3, 31, 948, 10, 2517, 5, 4056, 31, 1, -100, -1...
Find distinct cities of addresses of people?
CREATE TABLE addresses (city VARCHAR, address_id VARCHAR); CREATE TABLE people_addresses (address_id VARCHAR)
SELECT DISTINCT T1.city FROM addresses AS T1 JOIN people_addresses AS T2 ON T1.address_id = T2.address_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7181, 41, 6726, 584, 4280, 28027, 6, 1115, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 834, 9, 26, 12039, 15, 7, 41, 9, 26, 12039, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15438, 25424, 6227, 332, 5411, 6726, 21680, 7181, 6157, 332, 536, 3, 15355, 3162, 151, 834, 9, 26, 12039, 15, 7, 6157, 332, 357, 9191, 332, 5411, 9, 26, 12039, 834, 23, 26, 3274, 332, 4416, 9, 26, 12039, 834, ...
How many are the total winners from South Korea?
CREATE TABLE table_182298_5 (total VARCHAR, country VARCHAR)
SELECT total FROM table_182298_5 WHERE country = "South Korea"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 2884, 3916, 834, 755, 41, 235, 1947, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 33, 8, 792, 8969, 45, 1013, 7054, 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, 0...
[ 3, 23143, 14196, 792, 21680, 953, 834, 2606, 2884, 3916, 834, 755, 549, 17444, 427, 684, 3274, 96, 22081, 7054, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What campuses are located in Los Angeles county and opened after 1950?
CREATE TABLE campuses ( id number, campus text, location text, county text, year number ) CREATE TABLE faculty ( campus number, year number, faculty number ) CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number ) CREATE TABLE enrollments ( campus number, year number, totalenrollment_ay number, fte_ay number ) CREATE TABLE degrees ( year number, campus number, degrees number ) CREATE TABLE csu_fees ( campus number, year number, campusfee number )
SELECT campus FROM campuses WHERE county = "Los Angeles" AND year > 1950
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 25784, 41, 3, 23, 26, 381, 6, 4730, 1499, 6, 1128, 1499, 6, 5435, 1499, 6, 215, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6040, 41, 4730, 381, 6, 215, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4730, 21680, 25784, 549, 17444, 427, 5435, 3274, 96, 434, 32, 7, 4975, 121, 3430, 215, 2490, 10247, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the away team at victoria park?
CREATE TABLE table_58407 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_58407 WHERE "Venue" = 'victoria park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 2445, 940, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 3449, 2445, 940, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 7287, 3600, 9, 2447, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the highest Played of Goals Scored smaller than 18 and a Lost larger than 10?
CREATE TABLE table_name_23 ( played INTEGER, goals_scored VARCHAR, lost VARCHAR )
SELECT MAX(played) FROM table_name_23 WHERE goals_scored < 18 AND lost > 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 1944, 3, 21342, 17966, 6, 1766, 834, 3523, 1271, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2030, 2911, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1766, 834, 3523, 1271, 3, 2, 507, 3430, 1513, 2490, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the highest rebounds of the game with a game number higher than 65 on March 28?
CREATE TABLE table_name_73 (high_rebounds VARCHAR, game VARCHAR, date VARCHAR)
SELECT high_rebounds FROM table_name_73 WHERE game > 65 AND date = "march 28"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 2030, 3, 23768, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 467, 2490, 7123, 3430, 833, 3274, 96, 51, 7064, 2059, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
list the id list of patients who have been diagnosed with valvular stenosis until 3 years ago.
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number )
SELECT patient.uniquepid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'valvular stenosis' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-3 year'))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 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, 1868, 5, 202, 1495, 12417, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 8209, 5, 10061, 15129, 21545, 23, 26, 21680, 8209, 549, 17444, 427, 8209, 5, 25930, 4844, 159, 435...
Name the top-25 with wins less than 1 and events of 12
CREATE TABLE table_name_65 ( top_25 INTEGER, wins VARCHAR, events VARCHAR )
SELECT SUM(top_25) FROM table_name_65 WHERE wins < 1 AND events = 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 420, 834, 1828, 3, 21342, 17966, 6, 9204, 584, 4280, 28027, 6, 984, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 420, 14855, 28, 92...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 2916, 834, 1828, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 9204, 3, 2, 209, 3430, 984, 3274, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Return a histogram on what are the names and prices of all products in the store?, rank y axis from high to low order.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Name, AVG(Price) FROM Products GROUP BY Name ORDER BY AVG(Price) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 71, 17217, 599, 345, 4920, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 71, 17217, 599, 345, 4920, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Award has a Result of nominated, and a Year of 2003?
CREATE TABLE table_35216 ( "Year" real, "Group" text, "Award" text, "Film" text, "Result" text )
SELECT "Award" FROM table_35216 WHERE "Result" = 'nominated' AND "Year" = '2003'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 27184, 41, 96, 476, 2741, 121, 490, 6, 96, 27247, 121, 1499, 6, 96, 188, 2239, 121, 1499, 6, 96, 371, 173, 51, 121, 1499, 6, 96, 20119, 121, 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, 96, 188, 2239, 121, 21680, 953, 834, 2469, 27184, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 3114, 77, 920, 31, 3430, 96, 476, 2741, 121, 3274, 3, 31, 23948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
what is average age of patients whose marital status is married and discharge location is snf?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.discharge_location = "SNF"
[ 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, 71, 17217, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 13845, 25858, 308, 121, 3430, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 134, 12619, 121, 1...
Which Date has an Attendance larger than 1,858?
CREATE TABLE table_47729 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real )
SELECT "Date" FROM table_47729 WHERE "Attendance" > '1,858'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4013, 3166, 41, 96, 308, 342, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 591, 4013, 3166, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 4347, 927, 3449, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
A bar chart shows the distribution of All_Home and the average of School_ID , and group by attribute All_Home.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) 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 )
SELECT All_Home, AVG(School_ID) FROM basketball_match GROUP BY All_Home
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 19040, 6, 71, 17217, 599, 29364, 834, 4309, 61, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 19040, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Show how many shops in each carrier with a pie chart.
CREATE TABLE stock ( Shop_ID int, Device_ID int, Quantity int ) CREATE TABLE device ( Device_ID int, Device text, Carrier text, Package_Version text, Applications text, Software_Platform text ) CREATE TABLE shop ( Shop_ID int, Shop_Name text, Location text, Open_Date text, Open_Year int )
SELECT Carrier, COUNT(Carrier) FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID GROUP BY Carrier
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1519, 41, 3687, 834, 4309, 16, 17, 6, 15511, 834, 4309, 16, 17, 6, 12716, 485, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1407, 41, 15511, 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, 1...
[ 3, 23143, 14196, 1184, 6711, 6, 2847, 17161, 599, 6936, 6711, 61, 21680, 1519, 6157, 332, 536, 3, 15355, 3162, 1407, 6157, 332, 357, 9191, 332, 5411, 2962, 7287, 15, 834, 4309, 3274, 332, 4416, 2962, 7287, 15, 834, 4309, 3, 15355, 3...
How many people were elected in 1929
CREATE TABLE table_1342359_17 ( candidates VARCHAR, first_elected VARCHAR )
SELECT COUNT(candidates) FROM table_1342359_17 WHERE first_elected = 1929
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2773, 3390, 834, 2517, 41, 4341, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 130, 8160, 16, 27332, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1608, 12416, 6203, 61, 21680, 953, 834, 23747, 2773, 3390, 834, 2517, 549, 17444, 427, 166, 834, 19971, 3274, 27332, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the combined weight in kilograms of the horses in the race at Chelmsford stakes?
CREATE TABLE table_name_42 ( weight__kg_ VARCHAR, race VARCHAR )
SELECT COUNT(weight__kg_) FROM table_name_42 WHERE race = "chelmsford stakes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 1293, 834, 834, 8711, 834, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3334, 1293, 16, 23332, 7, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9378, 834, 834, 8711, 834, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 1964, 3274, 96, 8738, 51, 7, 2590, 8474, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of t ( m), when Technology is u c-si?
CREATE TABLE table_45891 ( "Technology" text, "\u03b7 (%)" real, "V OC (V)" text, "I SC (A)" text, "W/m\u00b2" text, "t (\u00b5m)" real )
SELECT COUNT("t (\u00b5m)") FROM table_45891 WHERE "Technology" = 'u c-si'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 3914, 536, 41, 96, 9542, 29, 1863, 121, 1499, 6, 96, 2, 76, 4928, 115, 940, 41, 6210, 121, 490, 6, 96, 553, 3, 5618, 41, 553, 61, 121, 1499, 6, 96, 196, 6508, 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, 2847, 17161, 599, 121, 17, 41, 2, 76, 1206, 115, 755, 51, 61, 8512, 21680, 953, 834, 2128, 3914, 536, 549, 17444, 427, 96, 9542, 29, 1863, 121, 3274, 3, 31, 76, 3, 75, 18, 7, 23, 31, 1, -100, -100, -100, -100,...
how many of the patients with nutritional marasmus had a hospital stay of more than 5 days?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "5" AND diagnoses.long_title = "Nutritional marasmus"
[ 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...
november 3 where march 27-29 is 149?
CREATE TABLE table_73775 ( "June 10-11" text, "March 27-29" text, "January 15-16" text, "November 3" text, "August 21-22" text )
SELECT "November 3" FROM table_73775 WHERE "March 27-29" = '149'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27931, 3072, 41, 96, 683, 444, 335, 9169, 121, 1499, 6, 96, 25019, 2307, 18, 3166, 121, 1499, 6, 96, 30404, 627, 10892, 121, 1499, 6, 96, 28635, 220, 121, 1499, 6, 96, 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, 96, 28635, 220, 121, 21680, 953, 834, 27931, 3072, 549, 17444, 427, 96, 25019, 2307, 18, 3166, 121, 3274, 3, 31, 24816, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of the away team at Junction Oval venue?
CREATE TABLE table_4894 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team score" FROM table_4894 WHERE "Venue" = 'junction oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 4240, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 2604, 121, 21680, 953, 834, 3707, 4240, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 6959, 4985, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me a list of all the distinct building descriptions.
CREATE TABLE apartments ( apt_id number, building_id number, apt_type_code text, apt_number text, bathroom_count number, bedroom_count number, room_count text ) CREATE TABLE apartment_bookings ( apt_booking_id number, apt_id number, guest_id number, booking_status_code text, booking_start_date time, booking_end_date time ) CREATE TABLE apartment_facilities ( apt_id number, facility_code text ) CREATE TABLE view_unit_status ( apt_id number, apt_booking_id number, status_date time, available_yn others ) CREATE TABLE apartment_buildings ( building_id number, building_short_name text, building_full_name text, building_description text, building_address text, building_manager text, building_phone text ) CREATE TABLE guests ( guest_id number, gender_code text, guest_first_name text, guest_last_name text, date_of_birth time )
SELECT DISTINCT building_description FROM apartment_buildings
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10424, 41, 3, 6789, 834, 23, 26, 381, 6, 740, 834, 23, 26, 381, 6, 3, 6789, 834, 6137, 834, 4978, 1499, 6, 3, 6789, 834, 5525, 1152, 1499, 6, 2582, 834, 13362, 381, 6, 2923, 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, 15438, 25424, 6227, 740, 834, 221, 11830, 21680, 4579, 834, 10905, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest Year when the team was seve ballesteros & manuel piñero?
CREATE TABLE table_name_59 (year INTEGER, team VARCHAR)
SELECT MAX(year) FROM table_name_59 WHERE team = "seve ballesteros & manuel piñero"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 1201, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 2929, 116, 8, 372, 47, 142, 162, 1996, 2613, 1859...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1201, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 372, 3274, 96, 7, 15, 162, 1996, 2613, 1859, 3, 184, 19901, 2816, 2, 49, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the id of the department with the least number of staff?
CREATE TABLE staff_department_assignments (department_id VARCHAR)
SELECT department_id FROM staff_department_assignments GROUP BY department_id ORDER BY COUNT(*) LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 871, 834, 221, 2274, 297, 834, 9, 7, 6732, 4128, 41, 221, 2274, 297, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 23, 26, 13, 8, 3066, 28, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3066, 834, 23, 26, 21680, 871, 834, 221, 2274, 297, 834, 9, 7, 6732, 4128, 350, 4630, 6880, 272, 476, 3066, 834, 23, 26, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 8729, 12604, 209, 1, -100, -100, -100, -1...
When has a Week of 9?
CREATE TABLE table_name_60 ( date VARCHAR, week VARCHAR )
SELECT date FROM table_name_60 WHERE week = 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 833, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 65, 3, 9, 6551, 13, 668, 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, 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, 833, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 471, 3274, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Win% of the 1989-90 Team?
CREATE TABLE table_name_44 ( win_percentage VARCHAR, team VARCHAR )
SELECT win_percentage FROM table_name_44 WHERE team = "1989-90"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 1369, 834, 883, 3728, 545, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4871, 1454, 13, 8, 9975, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1369, 834, 883, 3728, 545, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 372, 3274, 96, 2294, 3914, 18, 2394, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the total number of rounds of the end player with a pick number greater than 303?
CREATE TABLE table_name_21 ( round VARCHAR, pick VARCHAR, position VARCHAR )
SELECT COUNT(round) FROM table_name_21 WHERE pick > 303 AND position = "end"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 1751, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 14419, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 1432, 2490, 3, 23335, 3430, 1102, 3274, 96, 989, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Republican has a District of 10?
CREATE TABLE table_name_26 ( republican VARCHAR, district VARCHAR )
SELECT republican FROM table_name_26 WHERE district = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 20237, 152, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 8994, 65, 3, 9, 3570, 13, 335, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 20237, 152, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 3939, 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...
What record has march 30 as the date?
CREATE TABLE table_38915 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Record" FROM table_38915 WHERE "Date" = 'march 30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3914, 1808, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 519, 3914, 1808, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 51, 7064, 604, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When Naomi Owen won the Womens Singles and Ricardo Walther won the Mens Singles, who won the mixed veteran?
CREATE TABLE table_28211674_3 ( mixed_veteran VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR )
SELECT mixed_veteran FROM table_28211674_3 WHERE womens_singles = "Naomi Owen" AND mens_singles = "Ricardo Walther"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2658, 2938, 4581, 834, 519, 41, 4838, 834, 162, 449, 152, 584, 4280, 28027, 6, 887, 7, 834, 7, 53, 965, 584, 4280, 28027, 6, 1076, 7, 834, 7, 53, 965, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4838, 834, 162, 449, 152, 21680, 953, 834, 2577, 2658, 2938, 4581, 834, 519, 549, 17444, 427, 887, 7, 834, 7, 53, 965, 3274, 96, 567, 9, 32, 51, 23, 20412, 121, 3430, 1076, 7, 834, 7, 53, 965, 3274, 96, 448, 2...
What is the duration for mike walling as the actor?
CREATE TABLE table_name_47 (duration VARCHAR, actor VARCHAR)
SELECT duration FROM table_name_47 WHERE actor = "mike walling"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 1259, 2661, 584, 4280, 28027, 6, 7556, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 8659, 21, 3, 20068, 15, 1481, 53, 38, 8, 7556, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8659, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 7556, 3274, 96, 20068, 15, 1481, 53, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the mean evening gown number when the average is 8.686?
CREATE TABLE table_name_32 ( evening_gown INTEGER, average VARCHAR )
SELECT AVG(evening_gown) FROM table_name_32 WHERE average = 8.686
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 2272, 834, 122, 9197, 3, 21342, 17966, 6, 1348, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1243, 2272, 19879, 381, 116, 8, 134...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 6190, 53, 834, 122, 9197, 61, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1348, 3274, 4848, 3651, 948, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Provide the list of patients younger than 68 years who have lab test item id 51221.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "68" AND lab.itemid = "51221"
[ 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 name of the Big Ten team who played ACC Team Maryland where 17,472 attended the game?
CREATE TABLE table_9030 ( "Date" text, "Time" text, "ACC Team" text, "Big Ten Team" text, "Location" text, "Television" text, "Attendance" real, "Winner" text, "Challenge Leader" text )
SELECT "Big Ten Team" FROM table_9030 WHERE "Attendance" > '17,472' AND "ACC Team" = 'maryland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2394, 1458, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 14775, 2271, 121, 1499, 6, 96, 23805, 4738, 2271, 121, 1499, 6, 96, 434, 32, 75, 257, 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, 23805, 4738, 2271, 121, 21680, 953, 834, 2394, 1458, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 2517, 6, 4177, 357, 31, 3430, 96, 14775, 2271, 121, 3274, 3, 31, 1635, 28900, 31, 1, -100, -...
provide the number of patients whose diagnoses short title is fall nos?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Fall NOS"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
provide the number of patients whose diagnosis icd9 code is 6824 and lab test category is blood gas.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "6824" AND lab."CATEGORY" = "Blood Gas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
If the team is uni o de leiria, what is the date of appointment?
CREATE TABLE table_29323 ( "Team" text, "Outgoing head coach" text, "Manner of departure" text, "Date of vacancy" text, "Position in table" text, "Incoming head coach" text, "Date of appointment" text )
SELECT "Date of appointment" FROM table_29323 WHERE "Team" = 'União de Leiria'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4271, 2773, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 819, 3763, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 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, 308, 342, 13, 4141, 121, 21680, 953, 834, 357, 4271, 2773, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 5110, 23, 2, 32, 20, 312, 23, 52, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many rebounds did crystal ayers have?
CREATE TABLE table_25991 ( "Player" text, "Games Played" real, "Minutes" real, "Field Goals" real, "Three Pointers" real, "Free Throws" real, "Rebounds" real, "Assists" real, "Blocks" real, "Steals" real, "Points" real )
SELECT COUNT("Rebounds") FROM table_25991 WHERE "Player" = 'Crystal Ayers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3264, 536, 41, 96, 15800, 49, 121, 1499, 6, 96, 23055, 7, 2911, 15, 26, 121, 490, 6, 96, 12858, 2810, 7, 121, 490, 6, 96, 3183, 8804, 17916, 7, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1649, 6115, 7, 8512, 21680, 953, 834, 1828, 3264, 536, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 254, 651, 8407, 71, 63, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who is the head coach of the team who's venue is Lokomotiv?
CREATE TABLE table_20140132_1 ( head_coach VARCHAR, venue VARCHAR )
SELECT head_coach FROM table_20140132_1 WHERE venue = "Lokomotiv"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10218, 4542, 2668, 834, 536, 41, 819, 834, 509, 1836, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 819, 3763, 13, 8, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 819, 834, 509, 1836, 21680, 953, 834, 10218, 4542, 2668, 834, 536, 549, 17444, 427, 5669, 3274, 96, 434, 12948, 17732, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which shop has happy hour most frequently? List its id and number of happy hours.
CREATE TABLE happy_hour ( shop_id VARCHAR )
SELECT shop_id, COUNT(*) FROM happy_hour GROUP BY shop_id ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1095, 834, 5842, 41, 1814, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 84, 1814, 65, 1095, 1781, 167, 4344, 58, 6792, 165, 3, 23, 26, 11, 381, 13, 1095, 71...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1814, 834, 23, 26, 6, 2847, 17161, 599, 1935, 61, 21680, 1095, 834, 5842, 350, 4630, 6880, 272, 476, 1814, 834, 23, 26, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100,...
How many lost when the number managed is over 2 and the period is from 12 november 2012 27 november 2012?
CREATE TABLE table_53778 ( "Name" text, "Period" text, "Managed" real, "Drawn" real, "Lost" real, "Win %" text )
SELECT COUNT("Lost") FROM table_53778 WHERE "Period" = '12 november 2012 – 27 november 2012' AND "Managed" > '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4118, 3940, 41, 96, 23954, 121, 1499, 6, 96, 12988, 23, 32, 26, 121, 1499, 6, 96, 7296, 11438, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 434, 3481, 8512, 21680, 953, 834, 755, 4118, 3940, 549, 17444, 427, 96, 12988, 23, 32, 26, 121, 3274, 3, 31, 2122, 3, 5326, 18247, 1673, 3, 104, 2307, 3, 5326, 18247, 1673, 31, 3430, 96, 729...
Tell me europe for japan of january 28, 2010
CREATE TABLE table_name_72 (europe VARCHAR, japan VARCHAR)
SELECT europe FROM table_name_72 WHERE japan = "january 28, 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 28188, 584, 4280, 28027, 6, 2662, 2837, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 3, 28188, 21, 2662, 2837, 13, 3, 7066, 76, 1208, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 28188, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 2662, 2837, 3274, 96, 7066, 76, 1208, 13719, 2735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the surface for february 25, 1996
CREATE TABLE table_name_58 ( surface VARCHAR, date VARCHAR )
SELECT surface FROM table_name_58 WHERE date = "february 25, 1996"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1774, 21, 29976, 76, 1208, 14105, 6911, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 833, 3274, 96, 89, 15, 9052, 1208, 14105, 6911, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
In what year was the bridge in Clarkdale built?
CREATE TABLE table_49505 ( "Name" text, "Built" text, "Listed" text, "Location" text, "County" text )
SELECT "Built" FROM table_49505 WHERE "Location" = 'clarkdale'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 1752, 755, 41, 96, 23954, 121, 1499, 6, 96, 7793, 173, 17, 121, 1499, 6, 96, 28886, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 10628, 63, 121, 1499, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 7793, 173, 17, 121, 21680, 953, 834, 3647, 1752, 755, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 23982, 157, 5437, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
to the Latin of f, y, u/v/w?
CREATE TABLE table_name_63 ( greek VARCHAR, latin VARCHAR )
SELECT greek FROM table_name_63 WHERE latin = "f, y, u/v/w"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 3542, 10266, 584, 4280, 28027, 6, 3, 14098, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 12, 8, 6271, 13, 3, 89, 6, 3, 63, 6, 3, 76, 87,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3542, 10266, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 3, 14098, 3274, 96, 89, 6, 3, 63, 6, 3, 76, 87, 208, 87, 210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
calculate the minimum age of male patients from asian ethnic origin
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.ethnicity = "ASIAN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 15, 189, 2532, 485, 3274, 96, 3291, 21758, 121, 1, -100, -100, -100, -100, -100, -100, ...
How large, in square kilometers, is Sackville?
CREATE TABLE table_name_38 (area_km_2 VARCHAR, official_name VARCHAR)
SELECT area_km_2 FROM table_name_38 WHERE official_name = "sackville"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 498, 834, 5848, 834, 357, 584, 4280, 28027, 6, 2314, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 508, 6, 16, 2812, 20325, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 616, 834, 5848, 834, 357, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 2314, 834, 4350, 3274, 96, 15525, 1420, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many people attended Melbourne's away game?
CREATE TABLE table_51450 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT SUM("Crowd") FROM table_51450 WHERE "Away team" = 'melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5553, 10593, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 254, 3623, 26, 8512, 21680, 953, 834, 5553, 10593, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 2341, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the service number of the Jammu Duronto train?
CREATE TABLE table_23477312_1 (service INTEGER, train_name VARCHAR)
SELECT MAX(service) FROM table_23477312_1 WHERE train_name = "Jammu Duronto"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4177, 4552, 2122, 834, 536, 41, 5114, 3, 21342, 17966, 6, 2412, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 313, 381, 13, 8, 11340,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5114, 61, 21680, 953, 834, 2773, 4177, 4552, 2122, 834, 536, 549, 17444, 427, 2412, 834, 4350, 3274, 96, 683, 9, 635, 76, 970, 4438, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the date of week 8?
CREATE TABLE table_49928 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Date" FROM table_49928 WHERE "Week" = '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3264, 2577, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 591, 3264, 2577, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the Date of the game of the Home team of melbourne?
CREATE TABLE table_name_89 ( date VARCHAR, home_team VARCHAR )
SELECT date FROM table_name_89 WHERE home_team = "melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 833, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7678, 13, 8, 467, 13, 8, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 234, 834, 11650, 3274, 96, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the result of the game played in Russia on May 9, 2012?
CREATE TABLE table_name_1 (result VARCHAR, venue VARCHAR, date VARCHAR)
SELECT result FROM table_name_1 WHERE venue = "russia" AND date = "may 9, 2012"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 13, 8, 467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 5669, 3274, 96, 26165, 121, 3430, 833, 3274, 96, 13726, 9902, 1673, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Venue of the Competition with a Score of 0 2?
CREATE TABLE table_name_1 ( venue VARCHAR, score VARCHAR )
SELECT venue FROM table_name_1 WHERE score = "0–2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 5669, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 29940, 13, 8, 15571, 28, 3, 9, 17763, 13, 3, 632,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 2604, 3274, 96, 632, 104, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the largest crowd when st kilda was the away team?
CREATE TABLE table_32735 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT MAX("Crowd") FROM table_32735 WHERE "Away team" = 'st kilda'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2555, 2469, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 519, 2555, 2469, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 7, 17, 3, 157, 173, 26, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of clubs that have less than 10 medals in total?
CREATE TABLE club ( club_id number, name text, region text, start_year text ) CREATE TABLE competition_result ( competition_id number, club_id_1 number, club_id_2 number, score text ) CREATE TABLE player ( player_id number, name text, position text, club_id number, apps number, tries number, goals text, points number ) CREATE TABLE competition ( competition_id number, year number, competition_type text, country text ) CREATE TABLE club_rank ( rank number, club_id number, gold number, silver number, bronze number, total number )
SELECT COUNT(*) FROM club_rank WHERE total < 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 41, 1886, 834, 23, 26, 381, 6, 564, 1499, 6, 1719, 1499, 6, 456, 834, 1201, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2259, 834, 60, 7, 83, 17, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1886, 834, 6254, 549, 17444, 427, 792, 3, 2, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the children per donor in the country where the allowed recipients are married or in cohabitation?
CREATE TABLE table_16175217_1 ( children_per_donor VARCHAR, allowed_recipients VARCHAR )
SELECT children_per_donor FROM table_16175217_1 WHERE allowed_recipients = "Married or in cohabitation"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 2517, 5373, 2517, 834, 536, 41, 502, 834, 883, 834, 2029, 127, 584, 4280, 28027, 6, 2225, 834, 60, 3389, 4741, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 502, 834, 883, 834, 2029, 127, 21680, 953, 834, 2938, 2517, 5373, 2517, 834, 536, 549, 17444, 427, 2225, 834, 60, 3389, 4741, 7, 3274, 96, 7286, 9889, 42, 16, 576, 24472, 121, 1, -100, -100, -100, -100, -100, -100, ...
Show me about the distribution of Days and the average of Credits , and group by attribute Days in a bar chart.
CREATE TABLE Department ( DNO INTEGER, Division VARCHAR(2), DName VARCHAR(25), Room VARCHAR(5), Building VARCHAR(13), DPhone INTEGER ) CREATE TABLE Enrolled_in ( StuID INTEGER, CID VARCHAR(7), Grade VARCHAR(2) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Minor_in ( StuID INTEGER, DNO INTEGER ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) ) CREATE TABLE Course ( CID VARCHAR(7), CName VARCHAR(40), Credits INTEGER, Instructor INTEGER, Days VARCHAR(5), Hours VARCHAR(11), DNO INTEGER ) CREATE TABLE Gradeconversion ( lettergrade VARCHAR(2), gradepoint FLOAT ) CREATE TABLE Member_of ( FacID INTEGER, DNO INTEGER, Appt_Type VARCHAR(15) )
SELECT Days, AVG(Credits) FROM Course GROUP BY Days ORDER BY Credits
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1775, 41, 309, 7400, 3, 21342, 17966, 6, 6022, 584, 4280, 28027, 16426, 6, 309, 23954, 584, 4280, 28027, 599, 1828, 201, 4181, 584, 4280, 28027, 15757, 6, 5450, 584, 4280, 28027, 599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 13992, 6, 71, 17217, 599, 254, 1271, 7085, 61, 21680, 8670, 350, 4630, 6880, 272, 476, 13992, 4674, 11300, 272, 476, 6529, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is shown for november 3 when june 10-11 is june 10, 1964?
CREATE TABLE table_25252080_3 ( november_3 VARCHAR, june_10_11 VARCHAR )
SELECT november_3 FROM table_25252080_3 WHERE june_10_11 = "June 10, 1964"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 1828, 1755, 2079, 834, 519, 41, 3, 5326, 18247, 834, 519, 584, 4280, 28027, 6, 3, 6959, 15, 834, 1714, 834, 2596, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5326, 18247, 834, 519, 21680, 953, 834, 1828, 1828, 1755, 2079, 834, 519, 549, 17444, 427, 3, 6959, 15, 834, 1714, 834, 2596, 3274, 96, 683, 444, 10372, 18969, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
On what date was the record with catalog ALCA-275 released?
CREATE TABLE table_71471 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text )
SELECT "Date" FROM table_71471 WHERE "Catalog" = 'alca-275'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 4177, 536, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4450, 4177, 536, 549, 17444, 427, 96, 18610, 9, 2152, 121, 3274, 3, 31, 138, 658, 18, 25988, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Caps of 93 had how many goals?
CREATE TABLE table_name_94 ( goals VARCHAR, caps VARCHAR )
SELECT goals FROM table_name_94 WHERE caps = 93
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 1766, 584, 4280, 28027, 6, 16753, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4000, 7, 13, 3, 4271, 141, 149, 186, 1766, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1766, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 16753, 3274, 3, 4271, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what show was he in before running man
CREATE TABLE table_204_379 ( id number, "year" text, "title" text, "hangul" text, "network" text, "further info" text )
SELECT "title" FROM table_204_379 WHERE id = (SELECT id FROM table_204_379 WHERE "title" = 'running man') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 4440, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 1499, 6, 96, 21869, 121, 1499, 6, 96, 9270, 83, 121, 1499, 6, 96, 1582, 1981, 121, 1499, 6, 96, 9827, 189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21869, 121, 21680, 953, 834, 26363, 834, 519, 4440, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 519, 4440, 549, 17444, 427, 96, 21869, 121, 3274, 3, 31, 24549, 3...