NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of hire_date and the sum of employee_id bin hire_date by time, display total number from high to low order.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCAT...
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(EMPLOYEE_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, ...
Which score is the Seattle team?
CREATE TABLE table_name_38 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_38 WHERE team = "seattle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 7, 9022, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2604, 19, 8, 8854, 372, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 372, 3274, 96, 7, 15, 9, 8692, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the start and end dates of detentions of teachers with last name 'Schultz'.
CREATE TABLE Detention ( datetime_detention_start VARCHAR, teacher_id VARCHAR ) CREATE TABLE Teachers ( teacher_id VARCHAR, last_name VARCHAR )
SELECT T1.datetime_detention_start, datetime_detention_end FROM Detention AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = "Schultz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 374, 9174, 41, 833, 715, 834, 221, 9174, 834, 10208, 584, 4280, 28027, 6, 3145, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 18991, 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, 332, 5411, 5522, 715, 834, 221, 9174, 834, 10208, 6, 833, 715, 834, 221, 9174, 834, 989, 21680, 374, 9174, 6157, 332, 536, 3, 15355, 3162, 18991, 6157, 332, 357, 9191, 332, 5411, 30215, 834, 23, 26, 3274, 332, 4416,...
What is the August 15, 2012 population when the population density of 2012 is 307?
CREATE TABLE table_17698 ( "Rank in Nyagatare Sectors, 2012" real, "Sector" text, "Area in sqkm" real, "Population August 15, 2012" real, "Population, August 15, 2002" real, "Population Change 2002-2012 (%)" text, "Population Density 2012 (km 2 )" real )
SELECT MAX("Population August 15, 2012") FROM table_17698 WHERE "Population Density 2012 (km 2 )" = '307'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26782, 3916, 41, 96, 22557, 16, 16663, 9, 5497, 355, 17832, 7, 6, 1673, 121, 490, 6, 96, 134, 15, 5317, 121, 1499, 6, 96, 188, 864, 16, 11820, 5848, 121, 490, 6, 96, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27773, 7830, 1660, 10725, 1673, 8512, 21680, 953, 834, 26782, 3916, 549, 17444, 427, 96, 27773, 7830, 3128, 7, 485, 1673, 41, 5848, 204, 3, 61, 121, 3274, 3, 31, 1458, 940, 31, 1, -100, -100, -1...
tell the score when the times gone was 75
CREATE TABLE table_19121 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Points against" FROM table_19121 WHERE "Tries against" = '75'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 22011, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 518, 106, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22512, 7, 581, 121, 21680, 953, 834, 2294, 22011, 549, 17444, 427, 96, 382, 2593, 581, 121, 3274, 3, 31, 3072, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What artist has a mintage of greater than 34,135?
CREATE TABLE table_51306 ( "Year" real, "Design" text, "Issue" text, "Artist" text, "Mintage" real, "Issue Price" text )
SELECT "Artist" FROM table_51306 WHERE "Mintage" > '34,135'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5553, 1458, 948, 41, 96, 476, 2741, 121, 490, 6, 96, 19103, 121, 1499, 6, 96, 196, 7, 7, 76, 15, 121, 1499, 6, 96, 7754, 343, 121, 1499, 6, 96, 12858, 6505, 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, 7754, 343, 121, 21680, 953, 834, 5553, 1458, 948, 549, 17444, 427, 96, 12858, 6505, 121, 2490, 3, 31, 3710, 6, 536, 2469, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
give the 1st leg score against ilisiakos
CREATE TABLE table_21434618_1 ( team__number2 VARCHAR )
SELECT 1 AS st_leg FROM table_21434618_1 WHERE team__number2 = "Ilisiakos"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4906, 4448, 2606, 834, 536, 41, 372, 834, 834, 5525, 1152, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 428, 8, 209, 7, 17, 4553, 2604, 581, 3, 173, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 209, 6157, 3, 7, 17, 834, 5772, 21680, 953, 834, 2658, 4906, 4448, 2606, 834, 536, 549, 17444, 427, 372, 834, 834, 5525, 1152, 357, 3274, 96, 196, 40, 159, 23, 9, 9692, 121, 1, -100, -100, -100, -100, -100, -100, ...
With 0 Goals and less than 1 Tries, what is Matt James position?
CREATE TABLE table_name_38 ( position VARCHAR, player VARCHAR, goals VARCHAR, tries VARCHAR )
SELECT position FROM table_name_38 WHERE goals = "0" AND tries < 1 AND player = "matt james"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 6, 3, 9000, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 438, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 1766, 3274, 96, 632, 121, 3430, 3, 9000, 3, 2, 209, 3430, 1959, 3274, 96, 3357, 17, 7620, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of heat for Chinyere Pigot?
CREATE TABLE table_name_94 (heat VARCHAR, name VARCHAR)
SELECT COUNT(heat) FROM table_name_94 WHERE name = "chinyere pigot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 88, 144, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 1678, 21, 2695, 29, 7975, 15, 2745, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 88, 144, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 564, 3274, 96, 5675, 7975, 15, 2816, 10779, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What activities do we have?
CREATE TABLE Activity (activity_name VARCHAR)
SELECT activity_name FROM Activity
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 22536, 41, 21661, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1087, 103, 62, 43, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1756, 834, 4350, 21680, 22536, 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, -100, -100, -100, ...
Name the broadcast network for saitama prefecture
CREATE TABLE table_21076286_2 ( broadcast_network VARCHAR, broadcast_scope VARCHAR )
SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Saitama Prefecture"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 3959, 357, 3840, 834, 357, 41, 6878, 834, 1582, 1981, 584, 4280, 28027, 6, 6878, 834, 11911, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 6878, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6878, 834, 1582, 1981, 21680, 953, 834, 15239, 3959, 357, 3840, 834, 357, 549, 17444, 427, 6878, 834, 11911, 3274, 96, 134, 9, 23, 22713, 1266, 4075, 1462, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find how many different affiliation types there are.
CREATE TABLE basketball_match ( team_id number, school_id number, team_name text, acc_regular_season text, acc_percent text, acc_home text, acc_road text, all_games text, all_games_percent number, all_home text, all_road text, all_neutral text ) CREATE TABLE university (...
SELECT COUNT(DISTINCT affiliation) FROM university
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 372, 834, 23, 26, 381, 6, 496, 834, 23, 26, 381, 6, 372, 834, 4350, 1499, 6, 3, 6004, 834, 60, 122, 4885, 834, 9476, 1499, 6, 3, 6004, 834, 883, 3728, 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, 24405, 61, 21680, 3819, 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, ...
What is the area (in km2) for the town of lam que, with a population of less than 4,351?
CREATE TABLE table_9247 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text )
SELECT AVG("Area km 2") FROM table_9247 WHERE "Status" = 'town' AND "Population" < '4,351' AND "Official Name" = 'lamèque'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4508, 4177, 41, 96, 667, 89, 22816, 5570, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 188, 864, 2280, 204, 121, 490, 6, 96, 27773, 7830, 121, 490, 6, 96, 254...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 864, 2280, 204, 8512, 21680, 953, 834, 4508, 4177, 549, 17444, 427, 96, 134, 17, 144, 302, 121, 3274, 3, 31, 3540, 31, 3430, 96, 27773, 7830, 121, 3, 2, 3, 31, 8525, 2469, 536, 31, 3430...
What is the % of total capacity when the generators is 4048?
CREATE TABLE table_11456251_5 (_percentage_of_total_capacity VARCHAR, number_of_generators VARCHAR)
SELECT _percentage_of_total_capacity FROM table_11456251_5 WHERE number_of_generators = 4048
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18959, 4834, 1828, 536, 834, 755, 41, 834, 883, 3728, 545, 834, 858, 834, 235, 1947, 834, 4010, 9, 6726, 584, 4280, 28027, 6, 381, 834, 858, 834, 729, 49, 6230, 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, 3, 834, 883, 3728, 545, 834, 858, 834, 235, 1947, 834, 4010, 9, 6726, 21680, 953, 834, 18959, 4834, 1828, 536, 834, 755, 549, 17444, 427, 381, 834, 858, 834, 729, 49, 6230, 3274, 1283, 3707, 1, -100, -100, -100, -...
What was the outcome for the match in 1989?
CREATE TABLE table_1399994_5 ( outcome VARCHAR, year VARCHAR )
SELECT outcome FROM table_1399994_5 WHERE year = "1989"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 19446, 4240, 834, 755, 41, 6138, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 6138, 21, 8, 1588, 16, 9975, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6138, 21680, 953, 834, 2368, 19446, 4240, 834, 755, 549, 17444, 427, 215, 3274, 96, 2294, 3914, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which general election had a pq majority and a 44.75% of the popular vote?
CREATE TABLE table_16213 ( "General election" real, "# of candidates" real, "# of seats won" real, "% of popular vote" text, "Result" text )
SELECT "General election" FROM table_16213 WHERE "Result" = 'PQ majority' AND "% of popular vote" = '44.75%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 357, 2368, 41, 96, 20857, 4356, 121, 490, 6, 96, 4663, 13, 4341, 121, 490, 6, 96, 4663, 13, 6116, 751, 121, 490, 6, 96, 1454, 13, 1012, 2902, 121, 1499, 6, 96, 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, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20857, 4356, 121, 21680, 953, 834, 2938, 357, 2368, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 345, 2247, 2942, 31, 3430, 96, 1454, 13, 1012, 2902, 121, 3274, 3, 31, 591, 25211, 2712, 31, 1, -100, -100, -10...
How many years in all was less than 105,005 the total for the year?
CREATE TABLE table_name_59 ( year VARCHAR, total_for_year INTEGER )
SELECT COUNT(year) FROM table_name_59 WHERE total_for_year < 105 OFFSET 005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 215, 584, 4280, 28027, 6, 792, 834, 1161, 834, 1201, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 16, 66, 47, 705, 145, 3, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 792, 834, 1161, 834, 1201, 3, 2, 3, 12869, 3, 15316, 20788, 3, 1206, 755, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the opponent of the game with a w 87-64 score?
CREATE TABLE table_name_88 ( opponent VARCHAR, score VARCHAR )
SELECT opponent FROM table_name_88 WHERE score = "w 87-64"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 15264, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 15264, 13, 8, 467, 28, 3, 9, 3, 210, 3, 4225, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 2604, 3274, 96, 210, 3, 4225, 18, 4389, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
provide the number of patients categorized under hematology lab test who are diagnosed with chronic combined systolic and diastolic heart failure.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Chr syst/diastl hrt fail" AND lab."CATEGORY" = "Hematology"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Score of 2 3 ot on what date?
CREATE TABLE table_name_76 ( date VARCHAR, score VARCHAR )
SELECT date FROM table_name_76 WHERE score = "2–3 ot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 17763, 13, 204, 220, 3, 32, 17, 30, 125, 833, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 2604, 3274, 96, 357, 104, 519, 3, 32, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Calculate the number of patients diagnosed with other anomalies of larynx, trachea, and bronchus who had delta abnormal lab tests.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions...
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.long_title = "Other anomalies of larynx, trachea, and bronchus" AND lab.flag = "delta"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
what is insurance of subject name kelly gallardo?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT demographic.insurance FROM demographic WHERE demographic.name = "Kelly Gallardo"
[ 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, 14798, 5, 29441, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 439, 15, 6073, 10987, 986, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the language for sopachuy 10
CREATE TABLE table_2509350_3 (language VARCHAR, sopachuy_municipality VARCHAR)
SELECT language FROM table_2509350_3 WHERE sopachuy_municipality = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 4271, 1752, 834, 519, 41, 24925, 584, 4280, 28027, 6, 78, 102, 9, 8019, 63, 834, 11760, 3389, 10355, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1612...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1612, 21680, 953, 834, 11434, 4271, 1752, 834, 519, 549, 17444, 427, 78, 102, 9, 8019, 63, 834, 11760, 3389, 10355, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average crowd size at Princes Park?
CREATE TABLE table_55150 ( "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_55150 WHERE "Venue" = 'princes park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 12278, 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, 3769, 12278, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 12298, 2319, 2447, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What day was the circuit Isle of Man?
CREATE TABLE table_12346 ( "Name" text, "Circuit" text, "Date" text, "Winning driver" text, "Winning constructor" text, "Report" text )
SELECT "Date" FROM table_12346 WHERE "Circuit" = 'isle of man'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14574, 4448, 41, 96, 23954, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 518, 10503, 2535, 121, 1499, 6, 96, 518, 10503, 6774, 127,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 14574, 4448, 549, 17444, 427, 96, 254, 23, 52, 21560, 121, 3274, 3, 31, 159, 109, 13, 388, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many people were at the game where the home team was South Melbourne?
CREATE TABLE table_name_16 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_16 WHERE home_team = "south melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 75, 3623, 26, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 130, 44, 8, 467, 213, 8, 234, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4374, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 670, 107, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Chassis ranked 18th?
CREATE TABLE table_name_18 ( chassis VARCHAR, rank VARCHAR )
SELECT chassis FROM table_name_18 WHERE rank = "18th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 22836, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 4004, 6500, 7, 3, 8232, 507, 189, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22836, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 11003, 3274, 96, 2606, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Visualize a bar chart about the distribution of meter_400 and ID .
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text...
SELECT meter_400, ID FROM swimmer
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, 16, 17, 6, 5570, 1499, 6, 12750, 834, 4309, 16, 17, 6, 2929, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 4401, 834, 5548, 6, 4699, 21680, 27424, 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, -100,...
What is the masculine an form for the word with a feminine ö ending of siangar and a masculine u ending of sunar?
CREATE TABLE table_name_49 (masculine_an_stems VARCHAR, feminine_ō_stems VARCHAR, masculine_u_stems VARCHAR)
SELECT masculine_an_stems FROM table_name_49 WHERE feminine_ō_stems = "siangar" AND masculine_u_stems = "sunar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 2754, 1071, 747, 834, 152, 834, 7, 3524, 7, 584, 4280, 28027, 6, 21546, 834, 2, 834, 7, 3524, 7, 584, 4280, 28027, 6, 18236, 15, 834, 76, 834, 7, 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, 18236, 15, 834, 152, 834, 7, 3524, 7, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 21546, 834, 2, 834, 7, 3524, 7, 3274, 96, 10488, 1478, 121, 3430, 18236, 15, 834, 76, 834, 7, 3524, 7, 3274, 96, 7, 202, ...
who was the only rider with more points than doriano romboni ?
CREATE TABLE table_203_244 ( id number, "pos" text, "rider" text, "manufacturer" text, "time/retired" text, "points" number )
SELECT "rider" FROM table_203_244 WHERE "points" > (SELECT "points" FROM table_203_244 WHERE "rider" = 'doriano romboni')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 3628, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 1499, 6, 96, 4055, 49, 121, 1499, 6, 96, 348, 76, 8717, 450, 49, 121, 1499, 6, 96, 715, 87, 10682, 1271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4055, 49, 121, 21680, 953, 834, 23330, 834, 357, 3628, 549, 17444, 427, 96, 2700, 7, 121, 2490, 41, 23143, 14196, 96, 2700, 7, 121, 21680, 953, 834, 23330, 834, 357, 3628, 549, 17444, 427, 96, 4055, 49, 121, 3...
When his record was 15 1 1 (1) where did he fight?
CREATE TABLE table_48835 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Location" FROM table_48835 WHERE "Record" = '15–1–1 (1)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4060, 2469, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 591, 4060, 2469, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 1808, 104, 536, 104, 536, 5637, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
until 2104 has patient 003-33922 have had any allergy?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsysto...
SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '003-33922')) AND STRFTIME('%y', allergy.allergytime) <= '2104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 23886, 549, 17444, 427, 23886, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 1006...
What is Home Team, when Date is '6 December 1986', and when Tie No is '4'?
CREATE TABLE table_12437 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Home team" FROM table_12437 WHERE "Date" = '6 december 1986' AND "Tie no" = '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22504, 4118, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 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, 19040, 372, 121, 21680, 953, 834, 22504, 4118, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 948, 20, 75, 18247, 12698, 31, 3430, 96, 382, 23, 15, 150, 121, 3274, 3, 31, 591, 31, 1, -100, -100, -100, -100...
among patients on elective admission, how many of them were treated with mido25?
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 ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND prescriptions.formulary_drug_cd = "MIDO25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the home/away of the game at Nickerson Field at July 10?
CREATE TABLE table_name_68 ( home_away VARCHAR, field VARCHAR, date VARCHAR )
SELECT home_away FROM table_name_68 WHERE field = "nickerson field" AND date = "july 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 234, 834, 8006, 584, 4280, 28027, 6, 1057, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 87, 8006,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 8006, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 1057, 3274, 96, 11191, 13515, 1057, 121, 3430, 833, 3274, 96, 2047, 120, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the average decile for state authority and area of fernridge
CREATE TABLE table_name_62 ( decile INTEGER, authority VARCHAR, area VARCHAR )
SELECT AVG(decile) FROM table_name_62 WHERE authority = "state" AND area = "fernridge"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 7908, 109, 3, 21342, 17966, 6, 5015, 584, 4280, 28027, 6, 616, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1348, 7908, 109, 21, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 24223, 109, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 5015, 3274, 96, 5540, 121, 3430, 616, 3274, 96, 8377, 7700, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which teams classification winners had a general classification winner of Allan Davis?
CREATE TABLE table_30283 ( "Stage" real, "Winner" text, "General classification \u017b\u00f3\u0142ta koszulka" text, "Mountains classification Klasyfikacja g\u00f3rska" text, "Intermediate Sprints Classification Klasyfikacja najaktywniejszych" text, "Points classification Klasyfikacja punktowa" ...
SELECT "Teams classification" FROM table_30283 WHERE "General classification \u017b\u00f3\u0142ta koszulka" = 'Allan Davis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 2577, 519, 41, 96, 134, 6505, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 20857, 13774, 3, 2, 76, 632, 2517, 115, 2, 76, 1206, 89, 519, 2, 76, 4542, 4165, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 7, 13774, 121, 21680, 953, 834, 1458, 2577, 519, 549, 17444, 427, 96, 20857, 13774, 3, 2, 76, 632, 2517, 115, 2, 76, 1206, 89, 519, 2, 76, 4542, 4165, 17, 9, 3, 9692, 172, 83, 1258, 121, 3274, 3, 31...
What are the revenues for oka tadayoshi (2nd) ( )?
CREATE TABLE table_14967 ( "Name" text, "Tenure" text, "Courtesy title" text, "Court Rank" text, "Revenues" text, "Lineage" text )
SELECT "Revenues" FROM table_14967 WHERE "Name" = 'ōoka tadayoshi (2nd) (大岡忠愛)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 3708, 41, 96, 23954, 121, 1499, 6, 96, 382, 35, 1462, 121, 1499, 6, 96, 254, 1211, 1422, 63, 2233, 121, 1499, 6, 96, 254, 1211, 17, 3, 22557, 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, 1...
[ 3, 23143, 14196, 96, 1649, 15098, 7, 121, 21680, 953, 834, 24816, 3708, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 2, 1825, 9, 3, 17, 9, 1135, 32, 5605, 4743, 727, 61, 41, 2, 61, 31, 1, -100, -100, -100, -100, -100, -100, -...
What date did season 12 premiere?
CREATE TABLE table_2655016_4 ( original_air_date VARCHAR, season__number VARCHAR )
SELECT original_air_date FROM table_2655016_4 WHERE season__number = 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 17147, 2938, 834, 591, 41, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 2688, 17147, 2938, 834, 591, 549, 17444, 427, 774, 834, 834, 5525, 1152, 3274, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many times did argentina win?
CREATE TABLE table_14573770_4 (winners INTEGER, nation VARCHAR)
SELECT MAX(winners) FROM table_14573770_4 WHERE nation = "Argentina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20987, 27931, 2518, 834, 591, 41, 3757, 687, 7, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 410, 3, 9917, 77, 9, 1369, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3757, 687, 7, 61, 21680, 953, 834, 20987, 27931, 2518, 834, 591, 549, 17444, 427, 2982, 3274, 96, 22808, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many goals have a goal ration less than 0.8 with 56 games?
CREATE TABLE table_name_49 ( goals VARCHAR, goal_ratio VARCHAR, games VARCHAR )
SELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 56
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 1766, 584, 4280, 28027, 6, 1288, 834, 6850, 32, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1766, 43, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 1288, 834, 6850, 32, 3, 2, 3, 22384, 3430, 1031, 3274, 11526, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
tell me the number of patients with procedure icd9 code 5771 who had home health care discharge.
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 prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "HOME HEALTH CARE" AND procedures.icd9_code = "5771"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the to par of player johnny miller, who has a t8 place?
CREATE TABLE table_name_18 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_18 WHERE place = "t8" AND player = "johnny miller"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 235, 834, 1893, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12, 260, 13, 1959...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 286, 3274, 96, 17, 927, 121, 3430, 1959, 3274, 96, 27341, 29, 63, 3293, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which student's age is older than 18 and is majoring in 600? List each student's first and last name.
CREATE TABLE Student ( Fname VARCHAR, Lname VARCHAR, Age VARCHAR, Major VARCHAR )
SELECT Fname, Lname FROM Student WHERE Age > 18 AND Major = 600
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 377, 4350, 584, 4280, 28027, 6, 301, 4350, 584, 4280, 28027, 6, 7526, 584, 4280, 28027, 6, 9236, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1236, 31, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 377, 4350, 6, 301, 4350, 21680, 6341, 549, 17444, 427, 7526, 2490, 507, 3430, 9236, 3274, 7366, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the winner in the location of ljvm coliseum winston-salem, nc?
CREATE TABLE table_21330550_2 ( winner VARCHAR, location VARCHAR )
SELECT winner FROM table_21330550_2 WHERE location = "LJVM Coliseum • Winston-Salem, NC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 17225, 17147, 834, 357, 41, 4668, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 4668, 16, 8, 1128, 13, 3, 40, 354, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4668, 21680, 953, 834, 2658, 17225, 17147, 834, 357, 549, 17444, 427, 1128, 3274, 96, 434, 683, 12623, 3043, 159, 15, 440, 1697, 27484, 18, 134, 9, 109, 51, 6, 9187, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
What is Stephen Thompson's School/Club Team?
CREATE TABLE table_name_80 ( school_club_team VARCHAR, player VARCHAR )
SELECT school_club_team FROM table_name_80 WHERE player = "stephen thompson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7872, 14653, 31, 7, 1121, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 496, 834, 13442, 834, 11650, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 1959, 3274, 96, 849, 19017, 3, 189, 32, 1167, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many different C_{high} values are there for the good category?
CREATE TABLE table_1942366_9 ( high VARCHAR, category VARCHAR )
SELECT STRUCT(high) FROM table_1942366_9 WHERE category = "Good"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 591, 2773, 3539, 834, 1298, 41, 306, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 315, 205, 834, 2, 6739, 2, 2620, 33,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5097, 8503, 6227, 599, 6739, 61, 21680, 953, 834, 2294, 591, 2773, 3539, 834, 1298, 549, 17444, 427, 3295, 3274, 96, 20639, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many titles for the production code of NABF07?
CREATE TABLE table_20942925_1 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(title) FROM table_20942925_1 WHERE production_code = "NABF07"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4240, 3166, 1828, 834, 536, 41, 21869, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8342, 21, 8, 999, 1081, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 21869, 61, 21680, 953, 834, 1755, 4240, 3166, 1828, 834, 536, 549, 17444, 427, 999, 834, 4978, 3274, 96, 5999, 19780, 4560, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which state has a 2010-05-01 (saa) association agreement?
CREATE TABLE table_name_36 (state VARCHAR, association_agreement VARCHAR)
SELECT state FROM table_name_36 WHERE association_agreement = "2010-05-01 (saa)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 5540, 584, 4280, 28027, 6, 6028, 834, 9, 3584, 1194, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 538, 65, 3, 9, 2735, 18, 3076, 14772, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 538, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 6028, 834, 9, 3584, 1194, 3274, 96, 14926, 18, 3076, 14772, 41, 7, 9, 9, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where is Hip 4872?
CREATE TABLE table_name_38 (constellation VARCHAR, designation VARCHAR)
SELECT constellation FROM table_name_38 WHERE designation = "hip 4872"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 8056, 6714, 257, 584, 4280, 28027, 6, 21767, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 19, 16337, 4678, 5865, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 30872, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 21767, 3274, 96, 10462, 4678, 5865, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Arena has a Date of october 10?
CREATE TABLE table_64930 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real )
SELECT "Arena" FROM table_64930 WHERE "Date" = 'october 10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3647, 1458, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1536, 9, 121, 21680, 953, 834, 948, 3647, 1458, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 32, 75, 235, 1152, 335, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which team had a season 1954-55?
CREATE TABLE table_name_80 ( teams VARCHAR, season VARCHAR )
SELECT teams FROM table_name_80 WHERE season = "1954-55"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 2323, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 141, 3, 9, 774, 24970, 18, 3769, 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, 2323, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 774, 3274, 96, 22464, 18822, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the position of the team that played at the venue with more than 6,500 capacity?
CREATE TABLE table_name_70 (position_in_1999 VARCHAR, capacity INTEGER)
SELECT position_in_1999 FROM table_name_70 WHERE capacity > 6 OFFSET 500
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 4718, 834, 77, 834, 2294, 3264, 584, 4280, 28027, 6, 2614, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1102, 13, 8, 372, 24, 1944, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 834, 77, 834, 2294, 3264, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 2614, 2490, 431, 3, 15316, 20788, 2899, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the production code that was written by matt robinson?
CREATE TABLE table_3994 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT "Production code" FROM table_3994 WHERE "Written by" = 'Matt Robinson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 4240, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3174, 8291, 1081, 121, 21680, 953, 834, 3288, 4240, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 329, 144, 17, 17461, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many laps did Eddie Irvine have?
CREATE TABLE table_name_73 (laps VARCHAR, driver VARCHAR)
SELECT laps FROM table_name_73 WHERE driver = "eddie irvine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 8478, 7, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14941, 7, 410, 25227, 30411, 43, 58, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14941, 7, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 2535, 3274, 96, 15, 26, 2498, 3, 23, 52, 8402, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the translation of the sign of Aquarius?
CREATE TABLE table_75850 ( "House" text, "Sign" text, "Latin motto" text, "Translation" text, "Modern title of house" text )
SELECT "Translation" FROM table_75850 WHERE "Sign" = 'aquarius'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 17246, 41, 96, 4489, 1074, 121, 1499, 6, 96, 134, 3191, 121, 1499, 6, 96, 3612, 17, 77, 26014, 121, 1499, 6, 96, 18474, 6105, 121, 1499, 6, 96, 15594, 49, 29, 2233,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18474, 6105, 121, 21680, 953, 834, 3072, 17246, 549, 17444, 427, 96, 134, 3191, 121, 3274, 3, 31, 9, 4960, 18956, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
I want the plaid cymru for Polling organisation/client of yougov/itv wales for 4 may 2011
CREATE TABLE table_name_77 ( plaid_cymru VARCHAR, polling_organisation_client VARCHAR, date_s__conducted VARCHAR )
SELECT plaid_cymru FROM table_name_77 WHERE polling_organisation_client = "yougov/itv wales" AND date_s__conducted = "4 may 2011"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 30772, 834, 75, 63, 51, 52, 76, 584, 4280, 28027, 6, 5492, 53, 834, 10832, 834, 26693, 584, 4280, 28027, 6, 833, 834, 7, 834, 834, 1018, 21336, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30772, 834, 75, 63, 51, 52, 76, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 5492, 53, 834, 10832, 834, 26693, 3274, 96, 4188, 9527, 87, 155, 208, 3, 210, 4529, 121, 3430, 833, 834, 7, 834, 834, 1018, 21336,...
What is the height of the player from Benetton Treviso, Italy?
CREATE TABLE table_52571 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text )
SELECT "Height in Ft." FROM table_52571 WHERE "School/Club Team/Country" = 'benetton treviso, italy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 1828, 4450, 41, 96, 15800, 49, 121, 1499, 6, 96, 4168, 5, 599, 7, 61, 121, 1499, 6, 96, 3845, 2632, 16, 377, 17, 535, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3845, 2632, 16, 377, 17, 535, 21680, 953, 834, 755, 1828, 4450, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 87, 10628, 651, 121, 3274, 3, 31, 346, 10544, 106, 3, 929, 3466, 32, 6, 34, 9, 120, 31, 1, ...
What is the Top-25 with an Events of 20, and a Wins larger than 2?
CREATE TABLE table_name_45 (top_25 INTEGER, events VARCHAR, wins VARCHAR)
SELECT AVG(top_25) FROM table_name_45 WHERE events = 20 AND wins > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 2916, 834, 1828, 3, 21342, 17966, 6, 984, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2224, 14855, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2916, 834, 1828, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 984, 3274, 460, 3430, 9204, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0),...
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8...
What was the position that the nominated work La Quinta Esencia, which also won an award for best CD coverbox, won?
CREATE TABLE table_9267 ( "Type" text, "Nominated work" text, "Award" text, "Result" text, "Position" text )
SELECT "Position" FROM table_9267 WHERE "Nominated work" = 'la quinta esencia' AND "Award" = 'best cd coverbox'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4508, 3708, 41, 96, 25160, 121, 1499, 6, 96, 4168, 1109, 920, 161, 121, 1499, 6, 96, 188, 2239, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 4508, 3708, 549, 17444, 427, 96, 4168, 1109, 920, 161, 121, 3274, 3, 31, 521, 285, 29, 17, 9, 3, 15, 7, 35, 4915, 31, 3430, 96, 188, 2239, 121, 3274, 3, 31, 9606, ...
which ethnic group does jerry deberry belong to?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT demographic.ethnicity FROM demographic WHERE demographic.name = "Jerry Deberry"
[ 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, 14798, 5, 15, 189, 2532, 485, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 49, 651, 374, 7418, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of the aircraft that the least people are certified to fly?
CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, aid number ) CREATE TABLE employee ( eid number, name text, salary number ) CREATE TABLE aircraft ( aid number, name text, di...
SELECT T2.name FROM certificate AS T1 JOIN aircraft AS T2 ON T2.aid = T1.aid GROUP BY T1.aid ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777, 41, 3, 89, 40, 29, 32, 381, 6, 5233, 1499, 6, 3954, 1499, 6, 2357, 381, 6, 12028, 834, 5522, 97, 6, 6870, 834, 5522, 97, 6, 594, 381, 6, 3052, 381, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 4350, 21680, 6017, 6157, 332, 536, 3, 15355, 3162, 6442, 6157, 332, 357, 9191, 332, 4416, 6146, 3274, 332, 5411, 6146, 350, 4630, 6880, 272, 476, 332, 5411, 6146, 4674, 11300, 272, 476, 2847, 17161, 599, 19...
In which ceremony was Harnam Singh Rawail nominated for an award?
CREATE TABLE table_name_80 ( ceremony VARCHAR, nominee VARCHAR )
SELECT ceremony FROM table_name_80 WHERE nominee = "harnam singh rawail"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 7252, 584, 4280, 28027, 6, 21077, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 7252, 47, 3504, 13363, 16738, 19401, 9, 173, 150, 1109,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7252, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 21077, 3274, 96, 3272, 13363, 10159, 107, 5902, 9, 173, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For the match in which player David Frost scored a To Par of +7, what was the final score?
CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR)
SELECT score FROM table_name_94 WHERE to_par = "+7" AND player = "david frost"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 7, 9022, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 1588, 16, 84, 1959...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 12, 834, 1893, 3274, 96, 1220, 940, 121, 3430, 1959, 3274, 96, 26, 9, 6961, 2515, 3481, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
give me a good place in mountain view for arabic food ?
CREATE TABLE location ( restaurant_id int, house_number int, street_name varchar, city_name varchar ) CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varchar, rating "decimal ) CREATE TABLE geographic ( city_name varchar, county varchar, reg...
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1128, 41, 2062, 834, 23, 26, 16, 17, 6, 629, 834, 5525, 1152, 16, 17, 6, 2815, 834, 4350, 3, 4331, 4059, 6, 690, 834, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 438...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 5, 1840, 834, 5525, 1152, 6, 2062, 5, 4350, 21680, 1128, 6, 2062, 549, 17444, 427, 1128, 5, 6726, 834, 4350, 3274, 3, 31, 11231, 9, 77, 903, 31, 3430, 2062, 5, 12437, 834, 6137, 3274, 3, 31, 2551, 15979, 3...
Find the country of the airlines whose name starts with 'Orbit', and count them by a bar chart, rank by the bar in asc.
CREATE TABLE airlines ( alid integer, name text, iata varchar(2), icao varchar(3), callsign text, country text, active varchar(2) ) CREATE TABLE airports ( apid integer, name text, city text, country text, x real, y real, elevation bigint, iata character varc...
SELECT country, COUNT(country) FROM airlines WHERE name LIKE 'Orbit%' GROUP BY country ORDER BY country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19184, 41, 3, 9, 8130, 30278, 6, 564, 1499, 6, 3, 17221, 3, 4331, 4059, 16426, 6, 3, 2617, 32, 3, 4331, 4059, 17867, 6, 580, 6732, 1499, 6, 684, 1499, 6, 1676, 3, 4331, 4059, 164...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 684, 6, 2847, 17161, 599, 17529, 61, 21680, 19184, 549, 17444, 427, 564, 8729, 9914, 3, 31, 7395, 2360, 1454, 31, 350, 4630, 6880, 272, 476, 684, 4674, 11300, 272, 476, 684, 1, -100, -100, -100, -100, -100, -100, -1...
how many asian patients died in or before 2154?
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,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.dod_year <= "2154.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 3291, 21758, 121, 3430, 14798, 5, 26, 32, 26, 834, 1201, 3, 2, 2...
count the number of patients whose primary disease is bowel obstruction and admission year is less than 2162?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BOWEL OBSTRUCTION" AND demographic.admityear < "2162"
[ 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, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 279, 15251, 3577, 3, 10539, 13733, 6463, 9562, 121, 3430, 14798, 5, 20...
For each record in schedule, show sum of price for each day in a bar chart, order by the X in descending.
CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_seaso...
SELECT Date, SUM(Price) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Date ORDER BY Date DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2023, 41, 17544, 834, 4309, 16, 17, 6, 3417, 834, 4309, 16, 17, 6, 7678, 1499, 6, 3111, 834, 715, 7, 834, 883, 834, 1135, 16, 17, 6, 5312, 3, 12660, 3, 61, 3, 32102, 32103, 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, 7678, 6, 180, 6122, 599, 345, 4920, 61, 21680, 2023, 6157, 332, 536, 3, 15355, 3162, 814, 6157, 332, 357, 9191, 332, 5411, 371, 173, 51, 834, 4309, 3274, 332, 4416, 371, 173, 51, 834, 4309, 3, 15355, 3162, 10276, ...
Who is the opponent in the final on a hard surface with a score of 6 3 7 6(5)?
CREATE TABLE table_name_69 ( opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR )
SELECT opponent_in_the_final FROM table_name_69 WHERE surface = "hard" AND score = "6–3 7–6(5)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15264, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 1774, 3274, 96, 5651, 121, 3430, 2604, 3274, 96, 948, 104, 519, 489, 104, 948, 15757, 121, 1, -100, -100, -100, -100, -100, -1...
Who is week 3 if week 2 is Nikki Fiction?
CREATE TABLE table_61291 ( "Week 1" text, "Week 2" text, "Week 3" text, "Week 4" text, "Week 5" text )
SELECT "Week 3" FROM table_61291 WHERE "Week 2" = 'nikki fiction'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 357, 4729, 41, 96, 518, 10266, 209, 121, 1499, 6, 96, 518, 10266, 204, 121, 1499, 6, 96, 518, 10266, 220, 121, 1499, 6, 96, 518, 10266, 3, 20364, 1499, 6, 96, 518, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10266, 220, 121, 21680, 953, 834, 4241, 357, 4729, 549, 17444, 427, 96, 518, 10266, 204, 121, 3274, 3, 31, 4953, 2168, 8973, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which ranking is mexico ?
CREATE TABLE table_204_302 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "rank" FROM table_204_302 WHERE "nation" = 'mexico'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 1458, 357, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6254, 121, 21680, 953, 834, 26363, 834, 1458, 357, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 51, 994, 5807, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What party did Beau Boulter represent?
CREATE TABLE table_1341577_44 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1341577_44 WHERE incumbent = "Beau Boulter"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 4013, 834, 3628, 41, 8071, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1088, 410, 12433, 1491, 83, 449, 4221, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 23747, 1808, 4013, 834, 3628, 549, 17444, 427, 28406, 3274, 96, 279, 1607, 1491, 83, 449, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who was the only winner of the ukrainian basketball super league to win winner once ?
CREATE TABLE table_204_874 ( id number, "year" number, "winner" text, "runner-up" text, "final score" text, "third" text )
SELECT "winner" FROM table_204_874 GROUP BY "winner" HAVING COUNT(*) = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4225, 591, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 3757, 687, 121, 1499, 6, 96, 10806, 18, 413, 121, 1499, 6, 96, 12406, 2604, 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, 3757, 687, 121, 21680, 953, 834, 26363, 834, 4225, 591, 350, 4630, 6880, 272, 476, 96, 3757, 687, 121, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the 2nd leg score between Patronage Sainte-Anne and Asante Kotoko?
CREATE TABLE table_name_27 ( team_1 VARCHAR )
SELECT 2 AS nd_leg FROM table_name_27 WHERE team_1 = "asante kotoko"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 372, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 204, 727, 4553, 2604, 344, 29894, 545, 2788, 15, 18, 17608, 15, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 204, 6157, 3, 727, 834, 5772, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 372, 834, 536, 3274, 96, 9, 7, 1841, 3, 15414, 12948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and code , and group by attribute headquarter, and rank from low to high by the Code.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3642, 19973, ...
Who was the player for England when the to par is 7?
CREATE TABLE table_name_43 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_43 WHERE to_par = 7 AND country = "england"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 20846, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 1959, 21, 2789, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 12, 834, 1893, 3274, 489, 3430, 684, 3274, 96, 4606, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the visiting team on November 12?
CREATE TABLE table_name_12 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_12 WHERE date = "november 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 3466, 155, 53, 834, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3644, 372, 30, 1671, 586, 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, 3644, 834, 11650, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the regulated retail price for the tariff code ff0 prs?
CREATE TABLE table_41 ( "Scheme" text, "Tariff code" text, "BTs retail price (regulated)" text, "Approx premium" text, "Prefixes" text )
SELECT "BTs retail price (regulated)" FROM table_41 WHERE "Tariff code" = 'ff0 PRS'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 41, 96, 134, 6482, 15, 121, 1499, 6, 96, 382, 9, 17048, 1081, 121, 1499, 6, 96, 9021, 7, 3549, 594, 41, 12990, 61, 121, 1499, 6, 96, 9648, 12907, 3331, 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, 9021, 7, 3549, 594, 41, 12990, 61, 121, 21680, 953, 834, 4853, 549, 17444, 427, 96, 382, 9, 17048, 1081, 121, 3274, 3, 31, 89, 89, 632, 6045, 134, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For the tournament ending with a margin of victory of 6 strokes, what was the winning score?
CREATE TABLE table_name_90 ( winning_score VARCHAR, margin_of_victory VARCHAR )
SELECT winning_score FROM table_name_90 WHERE margin_of_victory = "6 strokes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 3447, 834, 7, 9022, 584, 4280, 28027, 6, 6346, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 5892, 7784, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3447, 834, 7, 9022, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 6346, 834, 858, 834, 7287, 10972, 3274, 96, 948, 9529, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What draws are the lowest when wins are larger than 18?
CREATE TABLE table_name_44 ( draws INTEGER, wins INTEGER )
SELECT MIN(draws) FROM table_name_44 WHERE wins > 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 14924, 3, 21342, 17966, 6, 9204, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 14924, 33, 8, 7402, 116, 9204, 33, 2186, 145, 507, 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, 3, 17684, 599, 19489, 7, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 9204, 2490, 507, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the greatest height (cm) that has a 1983-1984 team of montreal canadiens, with a jersey less than 21?
CREATE TABLE table_7369 ( "Position" text, "Jersey #" real, "Name" text, "Height (cm)" real, "Weight (kg)" real, "Birthdate" text, "Birthplace" text, "1983\u20131984 Team" text )
SELECT MAX("Height (cm)") FROM table_7369 WHERE "1983\u20131984 Team" = 'montreal canadiens' AND "Jersey #" < '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 3951, 41, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 683, 277, 15, 63, 1713, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 3845, 2632, 41, 75, 51, 61, 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, 4800, 4, 599, 121, 3845, 2632, 41, 75, 51, 61, 8512, 21680, 953, 834, 4552, 3951, 549, 17444, 427, 96, 2294, 4591, 2, 76, 11138, 2294, 4608, 2271, 121, 3274, 3, 31, 4662, 6644, 27114, 7, 31, 3430, 96, 683, 277, ...
Which Label has a Date of 20 July?
CREATE TABLE table_53703 ( "Year" real, "Date" text, "Album" text, "Label" text, "Format(s)" text )
SELECT "Label" FROM table_53703 WHERE "Date" = '20 july'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 2518, 519, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 25691, 440, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 599, 7, 61, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 10333, 121, 21680, 953, 834, 4867, 2518, 519, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 1755, 3, 2047, 120, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What K League classic had less than 10 teams?
CREATE TABLE table_name_3 ( k_league_classic VARCHAR, teams INTEGER )
SELECT k_league_classic FROM table_name_3 WHERE teams < 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 3, 157, 834, 29512, 834, 4057, 447, 584, 4280, 28027, 6, 2323, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 480, 3815, 2431, 141, 705, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 157, 834, 29512, 834, 4057, 447, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 2323, 3, 2, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
In 1924/25, who was in the playoffs?
CREATE TABLE table_32153 ( "Year" text, "Division" real, "League" text, "Reg. Season" text, "Playoffs" text )
SELECT "Playoffs" FROM table_32153 WHERE "Year" = '1924/25'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 27025, 41, 96, 476, 2741, 121, 1499, 6, 96, 308, 23, 6610, 121, 490, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 17748, 5, 7960, 121, 1499, 6, 96, 15800, 1647, 7, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 1647, 7, 121, 21680, 953, 834, 2668, 27025, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 2266, 87, 1828, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
give me the number of patients whose marital status is single and diagnoses short title is abn involun movement nec?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "SINGLE" AND diagnoses.short_title = "Abn involun movement NEC"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Name the number of date for w 107 97 (ot)
CREATE TABLE table_23274514_7 ( date VARCHAR, score VARCHAR )
SELECT COUNT(date) FROM table_23274514_7 WHERE score = "W 107–97 (OT)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2555, 2128, 2534, 834, 940, 41, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 833, 21, 3, 210, 3, 18057, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 5522, 61, 21680, 953, 834, 2773, 2555, 2128, 2534, 834, 940, 549, 17444, 427, 2604, 3274, 96, 518, 3, 18057, 104, 4327, 41, 6951, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What visitor has detroit red wings as the home, and march 30 as the date?
CREATE TABLE table_name_79 ( visitor VARCHAR, home VARCHAR, date VARCHAR )
SELECT visitor FROM table_name_79 WHERE home = "detroit red wings" AND date = "march 30"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 7019, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 7019, 65, 3, 26, 15252, 155, 113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7019, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 234, 3274, 96, 26, 15252, 155, 1131, 13943, 121, 3430, 833, 3274, 96, 51, 7064, 604, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score of the match at happy valley recreation ground pitch #2 with a 14:30 time?
CREATE TABLE table_79293 ( "Time" text, "Home team" text, "Score" text, "Away team" text, "Venue" text )
SELECT "Score" FROM table_79293 WHERE "Time" = '14:30' AND "Venue" = 'happy valley recreation ground pitch #2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 357, 4271, 41, 96, 13368, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 553, 35, 76, 15, 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, 134, 9022, 121, 21680, 953, 834, 4440, 357, 4271, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 2534, 10, 1458, 31, 3430, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 1024, 9632, 10645, 17711, 1591, 6242, 15493, 31,...
provide the number of patients whose admission type is urgent and admission year is less than 2195?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.admityear < "2195"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 5905, 517, 6431, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, ...
What are the types of every competition and in which countries are they located?
CREATE TABLE player ( player_id number, name text, position text, club_id number, apps number, tries number, goals text, points number ) CREATE TABLE competition_result ( competition_id number, club_id_1 number, club_id_2 number, score text ) CREATE TABLE club ( clu...
SELECT competition_type, country FROM competition
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 1959, 834, 23, 26, 381, 6, 564, 1499, 6, 1102, 1499, 6, 1886, 834, 23, 26, 381, 6, 4050, 381, 6, 3, 9000, 381, 6, 1766, 1499, 6, 979, 381, 3, 61, 3, 32102, 32103, 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, 2259, 834, 6137, 6, 684, 21680, 2259, 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, -100, -100...
What is the title(s) of episodes written by aron eli coleite?
CREATE TABLE table_30414 ( "No. in Series" real, "No. in Season" real, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (millions)" text, "Original air date" text )
SELECT "Title" FROM table_30414 WHERE "Written by" = 'Aron Eli Coleite'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23702, 2534, 41, 96, 4168, 5, 16, 4531, 121, 490, 6, 96, 4168, 5, 16, 7960, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 249...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 23702, 2534, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 188, 52, 106, 7495, 16311, 155, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Prize Money, when Matches is less than 73, and when Round is Third Round Proper?
CREATE TABLE table_name_79 ( prize_money VARCHAR, matches VARCHAR, round VARCHAR )
SELECT prize_money FROM table_name_79 WHERE matches < 73 AND round = "third round proper"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 6441, 834, 28442, 584, 4280, 28027, 6, 6407, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11329, 8833, 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, 0, 0...
[ 3, 23143, 14196, 6441, 834, 28442, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 6407, 3, 2, 3, 4552, 3430, 1751, 3274, 96, 14965, 1751, 2757, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the electorates in 2009 for Modi Nagar?
CREATE TABLE table_name_6 (number_of_electorates__2009_ INTEGER, name VARCHAR)
SELECT AVG(number_of_electorates__2009_) FROM table_name_6 WHERE name = "modi nagar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 5525, 1152, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 5525, 1152, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 61, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 564, 3274, 96, 7360, 23, 3, 29, 9, 1478, 121, 1, -100, -100, -100, -100, -100...
what is the number of films directed by david s. ward ?
CREATE TABLE table_203_98 ( id number, "title" text, "year" number, "director" text, "budget" text, "gross (worldwide)" text, "notes" text )
SELECT COUNT("title") FROM table_203_98 WHERE "director" = 'david s. ward'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3916, 41, 3, 23, 26, 381, 6, 96, 21869, 121, 1499, 6, 96, 1201, 121, 381, 6, 96, 25982, 121, 1499, 6, 96, 11073, 2782, 121, 1499, 6, 96, 3844, 7, 7, 41, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 21869, 8512, 21680, 953, 834, 23330, 834, 3916, 549, 17444, 427, 96, 25982, 121, 3274, 3, 31, 26, 9, 6961, 3, 7, 5, 3, 2239, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Find the name of all the cities and states.
CREATE TABLE addresses ( town_city VARCHAR, state_province_county VARCHAR )
SELECT town_city FROM addresses UNION SELECT state_province_county FROM addresses
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7181, 41, 1511, 834, 6726, 584, 4280, 28027, 6, 538, 834, 1409, 2494, 565, 834, 13362, 63, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 564, 13, 66, 8, 3119, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1511, 834, 6726, 21680, 7181, 4417, 9215, 3, 23143, 14196, 538, 834, 1409, 2494, 565, 834, 13362, 63, 21680, 7181, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015?
CREATE TABLE table_name_3 (speed VARCHAR, construction_begun VARCHAR, expected_start_of_revenue_services VARCHAR)
SELECT speed FROM table_name_3 WHERE construction_begun = "2010" AND expected_start_of_revenue_services = 2015
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 9993, 584, 4280, 28027, 6, 1449, 834, 346, 8765, 584, 4280, 28027, 6, 1644, 834, 10208, 834, 858, 834, 60, 15098, 834, 5114, 7, 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, 1634, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 1449, 834, 346, 8765, 3274, 96, 14926, 121, 3430, 1644, 834, 10208, 834, 858, 834, 60, 15098, 834, 5114, 7, 3274, 1230, 1, -100, -100, -100, -100, -100, -100, ...
How many points did Newport RFC get?
CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR)
SELECT points FROM table_name_58 WHERE club = "newport rfc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 2700, 7, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 410, 24260, 391, 5390, 129, 58, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 1886, 3274, 96, 5534, 1493, 3, 52, 89, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)?
CREATE TABLE table_20406 ( "Country" text, "Total Freshwater Withdrawal (km 3 /yr)" text, "Per Capita Withdrawal (m 3 /p/yr)" real, "Domestic Use (m 3 /p/yr)(in %)" text, "Industrial Use (m 3 /p/yr)(in %)" text, "Agricultural Use (m 3 /p/yr)(in %)" text )
SELECT "Total Freshwater Withdrawal (km 3 /yr)" FROM table_20406 WHERE "Agricultural Use (m 3 /p/yr)(in %)" = '1029(96%)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 5176, 41, 96, 10628, 651, 121, 1499, 6, 96, 3696, 1947, 8767, 3552, 438, 19489, 138, 41, 5848, 220, 3, 87, 63, 52, 61, 121, 1499, 6, 96, 12988, 4000, 155, 9, 438, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 1947, 8767, 3552, 438, 19489, 138, 41, 5848, 220, 3, 87, 63, 52, 61, 121, 21680, 953, 834, 26363, 5176, 549, 17444, 427, 96, 24354, 2048, 41, 51, 220, 3, 87, 102, 87, 63, 52, 61, 599, 77, 3, 6210, 12...