NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
what is the total viewers (m) when the rating is 6.4 and the share is more than 11?
CREATE TABLE table_56999 ( "Episode" text, "Air date" text, "Rating" real, "Share" real, "18-49 (Rating/Share)" text, "Viewers (m)" real, "Rank (timeslot)" text )
SELECT COUNT("Viewers (m)") FROM table_56999 WHERE "Rating" = '6.4' AND "Share" > '11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 19446, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 20162, 833, 121, 1499, 6, 96, 448, 1014, 121, 490, 6, 96, 24501, 121, 490, 6, 96, 2606, 18, 3647, 41, 448...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15270, 277, 41, 51, 61, 8512, 21680, 953, 834, 4834, 19446, 549, 17444, 427, 96, 448, 1014, 121, 3274, 3, 31, 27869, 31, 3430, 96, 24501, 121, 2490, 3, 31, 2596, 31, 1, -100, -100, -100, -10...
what is the next largest attendance record after 74,854 ?
CREATE TABLE table_204_947 ( id number, "week" number, "date" text, "opponent" text, "result" text, "attendance" number )
SELECT MAX("attendance") FROM table_204_947 WHERE "attendance" < 74854
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4240, 940, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15116, 663, 8512, 21680, 953, 834, 26363, 834, 4240, 940, 549, 17444, 427, 96, 15116, 663, 121, 3, 2, 489, 3707, 5062, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a line chart about the change of salary over hire_date , and display X-axis in asc order.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) )
SELECT HIRE_DATE, SALARY FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY HIRE_DATE
[ 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, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 3, 2, 3155, 96, 29,...
What was the Venue in 2003?
CREATE TABLE table_name_16 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_16 WHERE date = "2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 15098, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 29940, 16, 3888, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 833, 3274, 96, 23948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, find founder and the average of price , and group by attribute founder, and visualize them by a bar chart.
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 Founder, AVG(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
[ 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, 3, 19145, 6, 71, 17217, 599, 345, 4920, 61, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3, 19...
Name the score for bucks with timberwolves
CREATE TABLE table_name_56 (score VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT score FROM table_name_56 WHERE visitor = "bucks" AND home = "timberwolves"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 7, 9022, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2604, 21, 22508, 28, 14592, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 7019, 3274, 96, 13863, 7, 121, 3430, 234, 3274, 96, 2998, 1152, 29219, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
HOW MANY PLAYERS PLAY FOR OREGON?
CREATE TABLE table_11677691_2 (player VARCHAR, college VARCHAR)
SELECT COUNT(player) FROM table_11677691_2 WHERE college = "Oregon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3708, 3959, 4729, 834, 357, 41, 20846, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 25144, 3, 9312, 476, 17501, 476, 9984, 17501, 476, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20846, 61, 21680, 953, 834, 2596, 3708, 3959, 4729, 834, 357, 549, 17444, 427, 1900, 3274, 96, 667, 60, 5307, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the insurance of subject id 3284.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.insurance FROM demographic WHERE demographic.subject_id = "3284"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 29441, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 28070, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients of black/african american ethnicity use base drug type?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND prescriptions.drug_type = "BASE"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What Week # that is there an Order # of 7, and the Song choice was ' let it be '?
CREATE TABLE table_41971 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text )
SELECT "Week #" FROM table_41971 WHERE "Order #" = '7' AND "Song choice" = ' let it be '
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2294, 4450, 41, 96, 518, 10266, 1713, 121, 1499, 6, 96, 634, 526, 121, 1499, 6, 96, 134, 2444, 1160, 121, 1499, 6, 96, 667, 3380, 10270, 2377, 121, 1499, 6, 96, 7395...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1713, 121, 21680, 953, 834, 591, 2294, 4450, 549, 17444, 427, 96, 7395, 588, 1713, 121, 3274, 3, 31, 940, 31, 3430, 96, 134, 2444, 1160, 121, 3274, 3, 31, 752, 34, 36, 3, 31, 1, -100, -100, -100,...
What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth?
CREATE TABLE table_61716 ( "Romanised name" text, "Chinese name" text, "age at appointment" real, "Foreign nationality" text, "Portfolio attachment" text, "Govt salary" text )
SELECT "Govt salary" FROM table_61716 WHERE "Romanised name" = 'chen wei-on, kenneth'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2517, 2938, 41, 96, 25139, 3375, 564, 121, 1499, 6, 96, 3541, 4477, 15, 564, 121, 1499, 6, 96, 545, 44, 4141, 121, 490, 6, 96, 3809, 15, 3191, 1157, 485, 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, 6221, 208, 17, 9090, 121, 21680, 953, 834, 948, 2517, 2938, 549, 17444, 427, 96, 25139, 3375, 564, 121, 3274, 3, 31, 1559, 62, 23, 18, 106, 6, 3, 9376, 15, 189, 31, 1, -100, -100, -100, -100, -100, -100, -10...
What is the sum of all laps with rank 3?
CREATE TABLE table_name_99 (laps VARCHAR, rank VARCHAR)
SELECT COUNT(laps) FROM table_name_99 WHERE rank = "3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 8478, 7, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 66, 14941, 7, 28, 11003, 220, 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, 2847, 17161, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 11003, 3274, 96, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the combined wins of the clubs in the top 3 positions ?
CREATE TABLE table_204_256 ( id number, "position" number, "club" text, "played" number, "points" number, "wins" number, "draws" number, "losses" number, "goals for" number, "goals against" number, "goal difference" number )
SELECT SUM("wins") FROM table_204_256 WHERE "position" <= 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 19337, 41, 3, 23, 26, 381, 6, 96, 4718, 121, 381, 6, 96, 13442, 121, 1499, 6, 96, 4895, 15, 26, 121, 381, 6, 96, 2700, 7, 121, 381, 6, 96, 3757, 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, 180, 6122, 599, 121, 3757, 7, 8512, 21680, 953, 834, 26363, 834, 19337, 549, 17444, 427, 96, 4718, 121, 3, 2, 2423, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many parties were first elected in 1994?
CREATE TABLE table_22115 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text )
SELECT COUNT("Party") FROM table_22115 WHERE "First elected" = '1994'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 15660, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 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, 2847, 17161, 599, 121, 13725, 63, 8512, 21680, 953, 834, 2884, 15660, 549, 17444, 427, 96, 25171, 8160, 121, 3274, 3, 31, 2294, 4240, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is every value for % 40-59 if % 60-74 is 12,40%?
CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)
SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,40%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 5176, 2560, 834, 591, 41, 834, 883, 3728, 545, 834, 2445, 834, 3390, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 3328, 834, 4581, 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, 3, 834, 883, 3728, 545, 834, 2445, 834, 3390, 21680, 953, 834, 357, 3420, 5176, 2560, 834, 591, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 3328, 834, 4581, 3274, 96, 2122, 6, 2445, 1454, 121, 1, -100, -100, -10...
What was the total attendance on September 12?
CREATE TABLE table_name_76 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_76 WHERE date = "september 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 792, 11364, 30, 1600, 586, 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, 11364, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many of shows had at least 5 episodes ?
CREATE TABLE table_203_631 ( id number, "year" number, "name of show" text, "episodes" text, "other guests" text, "winner(s)" text )
SELECT COUNT(DISTINCT "name of show") FROM table_203_631 WHERE "episodes" >= 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3891, 536, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 4350, 13, 504, 121, 1499, 6, 96, 15, 102, 159, 32, 1395, 121, 1499, 6, 96, 9269, 2554, 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, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 96, 4350, 13, 504, 8512, 21680, 953, 834, 23330, 834, 3891, 536, 549, 17444, 427, 96, 15, 102, 159, 32, 1395, 121, 2490, 2423, 305, 1, -100, -100, -100, -100, -100, -100, -100, ...
Name the evening gown for swimsuit more than 9.51 for maryland
CREATE TABLE table_name_90 (evening_gown VARCHAR, swimsuit VARCHAR, country VARCHAR)
SELECT evening_gown FROM table_name_90 WHERE swimsuit > 9.51 AND country = "maryland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 6190, 53, 834, 122, 9197, 584, 4280, 28027, 6, 9728, 7628, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2272, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2272, 834, 122, 9197, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 9728, 7628, 2490, 5835, 5553, 3430, 684, 3274, 96, 1635, 28900, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which record has a Boxscore of w2, and a Loss of kline (2 3)?
CREATE TABLE table_10465 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text, "Boxscore" text )
SELECT "Record" FROM table_10465 WHERE "Boxscore" = 'w2' AND "Loss" = 'kline (2–3)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15442, 4122, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26, 663...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 15442, 4122, 549, 17444, 427, 96, 16075, 7, 9022, 121, 3274, 3, 31, 210, 357, 31, 3430, 96, 434, 32, 7, 7, 121, 3274, 3, 31, 157, 747, 4743, 104, 5268, 31, 1, -100, -100, ...
What is the record in TKO 20: Champion Vs Champion?
CREATE TABLE table_9598 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text )
SELECT "Record" FROM table_9598 WHERE "Event" = 'tko 20: champion vs champion'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3301, 3916, 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, 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, 1649, 7621, 121, 21680, 953, 834, 3301, 3916, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 17, 157, 32, 460, 10, 6336, 3, 208, 7, 6336, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is admission location of subject name thomas nazario?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.admission_location FROM demographic WHERE demographic.name = "Thomas Nazario"
[ 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, 9, 26, 5451, 834, 14836, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 8991, 32, 2754, 1823, 172, 14414, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Where tower height in ft (m) is 46ft (14.0m) the focal plane is ft (m).
CREATE TABLE table_25597136_1 (focal_plane_in_ft__m_ VARCHAR, tower_height_in_ft__m_ VARCHAR)
SELECT focal_plane_in_ft__m_ FROM table_25597136_1 WHERE tower_height_in_ft__m_ = "46ft (14.0m)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 4327, 23459, 834, 536, 41, 89, 32, 1489, 834, 3767, 15, 834, 77, 834, 89, 17, 834, 834, 51, 834, 584, 4280, 28027, 6, 7293, 834, 88, 2632, 834, 77, 834, 89, 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, 15949, 834, 3767, 15, 834, 77, 834, 89, 17, 834, 834, 51, 834, 21680, 953, 834, 25502, 4327, 23459, 834, 536, 549, 17444, 427, 7293, 834, 88, 2632, 834, 77, 834, 89, 17, 834, 834, 51, 834, 3274, 96, 4448, 89, 17...
How many dar are in germany?
CREATE TABLE table_15887683_15 ( dar VARCHAR, country VARCHAR )
SELECT dar FROM table_15887683_15 WHERE country = "Germany"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4060, 3959, 4591, 834, 1808, 41, 649, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 649, 33, 16, 13692, 63, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 649, 21680, 953, 834, 1808, 4060, 3959, 4591, 834, 1808, 549, 17444, 427, 684, 3274, 96, 24518, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For all employees who have the letters D or S in their first name, a bar chart shows the distribution of job_id and the average of department_id , and group by attribute job_id, and order the average of department id in ascending order.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE 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), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) )
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID)
[ 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, 446, 10539, 834, 4309, 6, 71, 17217, 599, 5596, 19846, 11810, 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, 8729, 9914, 3, ...
Name the total number of districts for first elected being 1998
CREATE TABLE table_25030512_24 (district VARCHAR, first_elected VARCHAR)
SELECT COUNT(district) FROM table_25030512_24 WHERE first_elected = "1998"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 1458, 24163, 834, 2266, 41, 26, 23, 20066, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 14126, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 26, 23, 20066, 61, 21680, 953, 834, 11434, 1458, 24163, 834, 2266, 549, 17444, 427, 166, 834, 19971, 3274, 96, 2294, 3916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many losses did the club with 22 played and 334 points against have?
CREATE TABLE table_36649 ( "Club" text, "Played" 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 "Lost" FROM table_36649 WHERE "Played" = '22' AND "Points against" = '334'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3539, 3647, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 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, 3481, 121, 21680, 953, 834, 519, 3539, 3647, 549, 17444, 427, 96, 15800, 15, 26, 121, 3274, 3, 31, 2884, 31, 3430, 96, 22512, 7, 581, 121, 3274, 3, 31, 519, 3710, 31, 1, -100, -100, -100, -100, -100, -1...
Bar chart x axis product type code y axis the number of product type code, and show names from high to low order.
CREATE TABLE Parties_in_Events ( Party_ID INTEGER, Event_ID INTEGER, Role_Code CHAR(15) ) CREATE TABLE Channels ( Channel_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Assets ( Asset_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Addresses ( Address_ID INTEGER, address_details VARCHAR(255) ) CREATE TABLE Agreements ( Document_ID INTEGER, Event_ID INTEGER ) CREATE TABLE Finances ( Finance_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Events ( Event_ID INTEGER, Address_ID INTEGER, Channel_ID INTEGER, Event_Type_Code CHAR(15), Finance_ID INTEGER, Location_ID INTEGER ) CREATE TABLE Products_in_Events ( Product_in_Event_ID INTEGER, Event_ID INTEGER, Product_ID INTEGER ) CREATE TABLE Locations ( Location_ID INTEGER, Other_Details VARCHAR(255) ) CREATE TABLE Parties ( Party_ID INTEGER, Party_Details VARCHAR(255) ) CREATE TABLE Products ( Product_ID INTEGER, Product_Type_Code CHAR(15), Product_Name VARCHAR(255), Product_Price DECIMAL(20,4) ) CREATE TABLE Assets_in_Events ( Asset_ID INTEGER, Event_ID INTEGER )
SELECT Product_Type_Code, COUNT(Product_Type_Code) FROM Products GROUP BY Product_Type_Code ORDER BY Product_Type_Code DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17450, 7, 834, 77, 834, 427, 2169, 7, 41, 3450, 834, 4309, 3, 21342, 17966, 6, 8042, 834, 4309, 3, 21342, 17966, 6, 2158, 109, 834, 22737, 3, 28027, 599, 1808, 61, 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, 6246, 834, 25160, 834, 22737, 6, 2847, 17161, 599, 3174, 7472, 834, 25160, 834, 22737, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 6246, 834, 25160, 834, 22737, 4674, 11300, 272, 476, 6246, 834, 25160, 834, 22737, 309, ...
In which competition was Moradi's time 1:48.58?
CREATE TABLE table_name_12 ( competition VARCHAR, notes VARCHAR )
SELECT competition FROM table_name_12 WHERE notes = "1:48.58"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 2259, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 2259, 47, 1290, 5883, 31, 7, 97, 209, 10, 3707, 5, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2259, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 3358, 3274, 96, 536, 10, 3707, 5, 3449, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What loss has 16,458 as an Att.?
CREATE TABLE table_name_82 (loss VARCHAR, att VARCHAR)
SELECT loss FROM table_name_82 WHERE att = "16,458"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 2298, 7, 584, 4280, 28027, 6, 44, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1453, 65, 11940, 2128, 927, 38, 46, 486, 17, 5, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1453, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 44, 17, 3274, 96, 2938, 6, 2128, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many were in Attendance on the Date May 29?
CREATE TABLE table_name_83 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_83 WHERE date = "may 29"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 130, 16, 22497, 663, 30, 8, 7678, 932, 2838, 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, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 833, 3274, 96, 13726, 2838, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many golds for the nation with 14 total?
CREATE TABLE table_name_56 ( gold VARCHAR, total VARCHAR )
SELECT gold FROM table_name_56 WHERE total = 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 2045, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2045, 7, 21, 8, 2982, 28, 968, 792, 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, 2045, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 792, 3274, 968, 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,...
Name the scottish premier league georgios samaras
CREATE TABLE table_25363 ( "R" real, "Player" text, "Scottish Premier League" real, "Scottish Cup" real, "Scottish League Cup" real, "Champions League (qualifying)" real, "Europa League" real, "Total" real )
SELECT "Scottish Premier League" FROM table_25363 WHERE "Player" = 'Georgios Samaras'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3420, 519, 41, 96, 448, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 134, 10405, 1273, 6552, 3815, 121, 490, 6, 96, 134, 10405, 1273, 3802, 121, 490, 6, 96, 134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 10405, 1273, 6552, 3815, 121, 21680, 953, 834, 1828, 3420, 519, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 517, 15, 127, 10253, 7, 3084, 2551, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What is the try bonus for the team with 67 tries for?
CREATE TABLE table_59237 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text )
SELECT "Try bonus" FROM table_59237 WHERE "Tries for" = '67'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 357, 4118, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 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, 382, 651, 4023, 121, 21680, 953, 834, 3390, 357, 4118, 549, 17444, 427, 96, 382, 2593, 21, 121, 3274, 3, 31, 3708, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the artist for strip numbers 3932-4031a?
CREATE TABLE table_24511 ( "Series #" real, "Title" text, "Story #" real, "Artist" text, "Strip numbers" text, "Number of strips" text, "Dates of original publication of strip" text )
SELECT "Artist" FROM table_24511 WHERE "Strip numbers" = '3932-4031A'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2128, 2596, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 134, 10972, 1713, 121, 490, 6, 96, 7754, 343, 121, 1499, 6, 96, 134, 14192, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7754, 343, 121, 21680, 953, 834, 357, 2128, 2596, 549, 17444, 427, 96, 134, 14192, 2302, 121, 3274, 3, 31, 3288, 2668, 15862, 3341, 188, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
In which round was Gabriel Veiga the opponent?
CREATE TABLE table_name_42 ( round VARCHAR, opponent VARCHAR )
SELECT round FROM table_name_42 WHERE opponent = "gabriel veiga"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 1751, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 1751, 47, 11997, 3901, 12581, 8, 15264, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 15264, 3274, 96, 21784, 14018, 3, 162, 12581, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the loss from the coyotes as opponents?
CREATE TABLE table_57474 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text, "Arena" text, "Points" real )
SELECT "Loss" FROM table_57474 WHERE "Opponent" = 'coyotes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 4177, 591, 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, 434, 32, 7, 7, 121, 21680, 953, 834, 3436, 4177, 591, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 509, 63, 32, 1422, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Date, when Away Team is 'Gillingham'?
CREATE TABLE table_51087 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Date" FROM table_51087 WHERE "Away team" = 'gillingham'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25926, 4225, 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, 308, 342, 121, 21680, 953, 834, 25926, 4225, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 122, 1092, 14799, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
when was the first tour date of 2010 ?
CREATE TABLE table_203_855 ( id number, "date" text, "city" text, "venue" text, "member" text, "performance" text, "notes" text )
SELECT "date" FROM table_203_855 ORDER BY "date" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4433, 755, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 6726, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 12066, 121, 1499, 6, 96, 18558, 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, 5522, 121, 21680, 953, 834, 23330, 834, 4433, 755, 4674, 11300, 272, 476, 96, 5522, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When was there a result of 8-1 and a score of 8-1?
CREATE TABLE table_name_92 ( date VARCHAR, result VARCHAR, score VARCHAR )
SELECT date FROM table_name_92 WHERE result = "8-1" AND score = "8-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 833, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 132, 3, 9, 741, 13, 505, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 741, 3274, 96, 927, 2292, 121, 3430, 2604, 3274, 96, 927, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the position for british columbia
CREATE TABLE table_3980 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "Position" FROM table_3980 WHERE "College" = 'British Columbia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 2079, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3288, 2079, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 279, 13224, 7, 107, 8183, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how long from the first election date did the elections go on ?
CREATE TABLE table_204_28 ( id number, "election" text, "name of the party/alliance" text, "number of votes" number, "percentage" text, "seats in the parliament" number )
SELECT MAX("election") - MIN("election") FROM table_204_28
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2577, 41, 3, 23, 26, 381, 6, 96, 15, 12252, 121, 1499, 6, 96, 4350, 13, 8, 1088, 87, 1748, 23, 663, 121, 1499, 6, 96, 5525, 1152, 13, 11839, 121, 381, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 15, 12252, 8512, 3, 18, 3, 17684, 599, 121, 15, 12252, 8512, 21680, 953, 834, 26363, 834, 2577, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the High points with a Date that is january 20?
CREATE TABLE table_name_35 ( high_points VARCHAR, date VARCHAR )
SELECT high_points FROM table_name_35 WHERE date = "january 20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1592, 979, 28, 3, 9, 7678, 24, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 2700, 7, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 833, 3274, 96, 7066, 76, 1208, 460, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of booking start dates of the apartments with more than 2 bedrooms for each weekday? Draw a bar chart.
CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME ) CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT )
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 371, 9, 13067, 3010, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 3064, 834, 4978, 3, 28027, 599, 1808, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5038, 834, 10208, 834, 5522, 6, 2847, 17161, 599, 2567, 53, 834, 10208, 834, 5522, 61, 21680, 15970, 834, 13355, 53, 7, 6157, 332, 536, 3, 15355, 3162, 15970, 7, 6157, 332, 357, 9191, 332, 5411, 6789, 834, 23, 26, ...
How many events for bob murphy?
CREATE TABLE table_name_34 (events INTEGER, player VARCHAR)
SELECT MAX(events) FROM table_name_34 WHERE player = "bob murphy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 15, 2169, 7, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 984, 21, 3, 17396, 9593, 6941, 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, 4800, 4, 599, 15, 2169, 7, 61, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 1959, 3274, 96, 17396, 9593, 6941, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the lowest points when the language is Portuguese?
CREATE TABLE table_65787 ( "Draw" real, "Language" text, "Song" text, "English translation" text, "Place" real, "Points" real )
SELECT MIN("Points") FROM table_65787 WHERE "Language" = 'portuguese'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3436, 4225, 41, 96, 308, 10936, 121, 490, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 26749, 7314, 121, 1499, 6, 96, 345, 11706, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 22512, 7, 8512, 21680, 953, 834, 948, 3436, 4225, 549, 17444, 427, 96, 434, 1468, 76, 545, 121, 3274, 3, 31, 1493, 76, 15991, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients with primary pulmonary hypertension had a blood gas test by lab?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Primary pulmonary hypertension" AND lab."CATEGORY" = "Blood Gas"
[ 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...
Show the number of audience in year 2008 or 2010.
CREATE TABLE artwork ( artwork_id number, type text, name text ) CREATE TABLE festival_detail ( festival_id number, festival_name text, chair_name text, location text, year number, num_of_audience number ) CREATE TABLE nomination ( artwork_id number, festival_id number, result text )
SELECT num_of_audience FROM festival_detail WHERE year = 2008 OR year = 2010
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7924, 41, 7924, 834, 23, 26, 381, 6, 686, 1499, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3994, 834, 221, 5756, 41, 3994, 834, 23, 26, 381, 6, 3994,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5525, 834, 858, 834, 9, 5291, 1433, 21680, 3994, 834, 221, 5756, 549, 17444, 427, 215, 3274, 2628, 4674, 215, 3274, 2735, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Country is the Play Electra and Orestes, The Trial from?
CREATE TABLE table_62970 ( "play" text, "author" text, "company" text, "base" text, "country" text )
SELECT "country" FROM table_62970 WHERE "play" = 'electra and orestes, the trial'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3166, 2518, 41, 96, 4895, 121, 1499, 6, 96, 17415, 121, 1499, 6, 96, 29179, 121, 1499, 6, 96, 10925, 121, 1499, 6, 96, 17529, 121, 1499, 3, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17529, 121, 21680, 953, 834, 948, 3166, 2518, 549, 17444, 427, 96, 4895, 121, 3274, 3, 31, 400, 75, 1313, 11, 42, 2613, 7, 6, 8, 3689, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who directed the nominated film, Badmouth?
CREATE TABLE table_name_53 (director_s_ VARCHAR, rank VARCHAR, film VARCHAR)
SELECT director_s_ FROM table_name_53 WHERE rank = "nominated" AND film = "badmouth"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 25982, 834, 7, 834, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 814, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 6640, 8, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2090, 834, 7, 834, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 11003, 3274, 96, 3114, 77, 920, 121, 3430, 814, 3274, 96, 5514, 11975, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many consecutive times did they play in tier 4 ?
CREATE TABLE table_204_974 ( id number, "season" number, "level" text, "division" text, "section" text, "administration" text, "position" text, "movements" text )
SELECT COUNT(*) FROM table_204_974 WHERE "level" = 'tier 4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4327, 591, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 381, 6, 96, 4563, 121, 1499, 6, 96, 26, 23, 6610, 121, 1499, 6, 96, 14309, 121, 1499, 6, 96, 20039, 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, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 4327, 591, 549, 17444, 427, 96, 4563, 121, 3274, 3, 31, 3276, 314, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the best director for mother
CREATE TABLE table_72659 ( "Year" text, "Best Film" text, "Best Director" text, "Best Actor" text, "Best Actress" text, "Best Supporting Actor" text, "Best Supporting Actress" text )
SELECT "Best Director" FROM table_72659 WHERE "Best Film" = 'Mother'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2688, 3390, 41, 96, 476, 2741, 121, 1499, 6, 96, 17278, 3417, 121, 1499, 6, 96, 17278, 2578, 121, 1499, 6, 96, 17278, 1983, 127, 121, 1499, 6, 96, 17278, 1983, 9377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17278, 2578, 121, 21680, 953, 834, 940, 2688, 3390, 549, 17444, 427, 96, 17278, 3417, 121, 3274, 3, 31, 329, 9269, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What game has 28 points, and tampa bay lightning as the opponent?
CREATE TABLE table_name_50 ( game VARCHAR, points VARCHAR, opponent VARCHAR )
SELECT game FROM table_name_50 WHERE points = 28 AND opponent = "tampa bay lightning"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 467, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 467, 65, 2059, 979, 6, 11, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 979, 3274, 2059, 3430, 15264, 3274, 96, 17, 4624, 9, 10210, 21463, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How much is a product with a Sampling Rate of 12-bit 40khz?
CREATE TABLE table_name_65 ( price VARCHAR, sampling_rate VARCHAR )
SELECT price FROM table_name_65 WHERE sampling_rate = "12-bit 40khz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 594, 584, 4280, 28027, 6, 17222, 834, 2206, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 19, 3, 9, 556, 28, 3, 9, 3084, 102, 697...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 594, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 17222, 834, 2206, 3274, 96, 2122, 18, 2360, 1283, 157, 107, 172, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many times is the nhl team the winnipeg jets?
CREATE TABLE table_74029 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT COUNT("Player") FROM table_74029 WHERE "NHL team" = 'Winnipeg Jets'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2445, 3166, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15800, 49, 8512, 21680, 953, 834, 940, 2445, 3166, 549, 17444, 427, 96, 15743, 434, 372, 121, 3274, 3, 31, 18455, 29, 23, 855, 122, 12434, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is Team, when Circuit is Queensland Raceway, and when Winner is Garth Tander?
CREATE TABLE table_44747 ( "Date" text, "Series" text, "Circuit" text, "City / State" text, "Winner" text, "Team" text )
SELECT "Team" FROM table_44747 WHERE "Circuit" = 'queensland raceway' AND "Winner" = 'garth tander'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4177, 4177, 41, 96, 308, 342, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 254, 485, 3, 87, 1015, 121, 1499, 6, 96, 18455, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 591, 4177, 4177, 549, 17444, 427, 96, 254, 23, 52, 21560, 121, 3274, 3, 31, 835, 35, 7, 40, 232, 1964, 1343, 31, 3430, 96, 18455, 687, 121, 3274, 3, 31, 1478, 189, 3, 17, 11849, ...
what is the time when the event is bellator 89?
CREATE TABLE table_68342 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Time" FROM table_68342 WHERE "Event" = 'bellator 89'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3710, 357, 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, 13368, 121, 21680, 953, 834, 3651, 3710, 357, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 7708, 1016, 3, 3914, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the winner in the match that had John Higgins as runner-up?
CREATE TABLE table_78603 ( "Date" text, "Venue" text, "Winner" text, "Runner-up" text, "Score" text )
SELECT "Winner" FROM table_78603 WHERE "Runner-up" = 'john higgins'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 3328, 519, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 134, 9022, 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, 18455, 687, 121, 21680, 953, 834, 3940, 3328, 519, 549, 17444, 427, 96, 23572, 18, 413, 121, 3274, 3, 31, 27341, 7102, 122, 19655, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the mountain peak of 49 rank
CREATE TABLE table_70051 ( "Rank" real, "Mountain Peak" text, "Province" text, "Mountain Range" text, "Location" text )
SELECT "Mountain Peak" FROM table_70051 WHERE "Rank" = '49'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9295, 5553, 41, 96, 22557, 121, 490, 6, 96, 329, 32, 14016, 77, 18996, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 329, 32, 14016, 77, 10971, 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, 329, 32, 14016, 77, 18996, 121, 21680, 953, 834, 9295, 5553, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 3647, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the number of patients with neo*iv*fat emulsion prescription who died in or before the year 2186?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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.dod_year <= "2186.0" AND prescriptions.drug = "NEO*IV*Fat Emulsion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Which Opponent has a Score of 2 6?
CREATE TABLE table_39533 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "Series" text )
SELECT "Opponent" FROM table_39533 WHERE "Score" = '2–6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3301, 4201, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 12106, 7, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 519, 3301, 4201, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 357, 104, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What lost has 528 as the points?
CREATE TABLE table_37169 ( "Club" text, "Played" 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 "Lost" FROM table_37169 WHERE "Points for" = '528'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 27096, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 3481, 121, 21680, 953, 834, 4118, 27096, 549, 17444, 427, 96, 22512, 7, 21, 121, 3274, 3, 31, 755, 2577, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Where was the game played on January 23, 2008?
CREATE TABLE table_name_8 ( location VARCHAR, date VARCHAR )
SELECT location FROM table_name_8 WHERE date = "january 23, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 1128, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 467, 1944, 30, 1762, 12992, 2628, 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, 1128, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 833, 3274, 96, 7066, 76, 1208, 12992, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which week's game was attended by 65,272 people?
CREATE TABLE table_43024 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Week" FROM table_43024 WHERE "Attendance" = '65,272'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25449, 2266, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 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, 518, 10266, 121, 21680, 953, 834, 25449, 2266, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 4122, 6, 2555, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many episodes had the production code 66210?
CREATE TABLE table_28365 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT COUNT("No. in series") FROM table_28365 WHERE "Production code" = '66210'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 10402, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 667, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 4168, 5, 16, 939, 8512, 21680, 953, 834, 2577, 10402, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 3539, 15239, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What date did 'the eye of the phoenix' originally air?
CREATE TABLE table_30930 ( "No. overall" real, "No. for series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "UK viewers (million)" text )
SELECT "Original air date" FROM table_30930 WHERE "Title" = 'The Eye of the Phoenix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 1298, 1458, 41, 96, 4168, 5, 1879, 121, 490, 6, 96, 4168, 5, 21, 939, 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, 667, 3380, 10270, 799, 833, 121, 21680, 953, 834, 1458, 1298, 1458, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 634, 9172, 13, 8, 12308, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many runs happened in 2013?
CREATE TABLE table_name_18 ( runs VARCHAR, year VARCHAR )
SELECT runs FROM table_name_18 WHERE year = "2013"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 3154, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3154, 2817, 16, 2038, 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, 3154, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 215, 3274, 96, 11138, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which urban area has a 2011 population of 5010?
CREATE TABLE table_22979 ( "Rank 2011" real, "Change since 2006" text, "Urban Area" text, "County" text, "Population 2011" real, "Increase since 2006" text )
SELECT "Urban Area" FROM table_22979 WHERE "Population 2011" = '5010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3166, 4440, 41, 96, 22557, 2722, 121, 490, 6, 96, 3541, 3280, 437, 3581, 121, 1499, 6, 96, 1265, 52, 3478, 5690, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 27773...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1265, 52, 3478, 5690, 121, 21680, 953, 834, 357, 3166, 4440, 549, 17444, 427, 96, 27773, 7830, 2722, 121, 3274, 3, 31, 1752, 1714, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the percent of molecules when the mol.weight (daltons) is n/a and the molecule is other s inorganic?
CREATE TABLE table_71345 ( "Molecule" text, "Percent of Mass" text, "Mol.Weight (daltons)" text, "Molecules" text, "Percent of Molecules" text )
SELECT "Percent of Molecules" FROM table_71345 WHERE "Mol.Weight (daltons)" = 'n/a' AND "Molecule" = 'other s inorganic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 519, 2128, 41, 96, 329, 32, 109, 1497, 15, 121, 1499, 6, 96, 12988, 3728, 13, 5770, 121, 1499, 6, 96, 329, 32, 40, 5, 1326, 2632, 41, 26, 138, 8057, 61, 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, 12988, 3728, 13, 11019, 15, 1497, 15, 7, 121, 21680, 953, 834, 4450, 519, 2128, 549, 17444, 427, 96, 329, 32, 40, 5, 1326, 2632, 41, 26, 138, 8057, 61, 121, 3274, 3, 31, 29, 87, 9, 31, 3430, 96, 329, 32, ...
What is the total pick number of Virginia Tech?
CREATE TABLE table_name_68 ( pick VARCHAR, school VARCHAR )
SELECT COUNT(pick) FROM table_name_68 WHERE school = "virginia tech"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 1432, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 1432, 381, 13, 5382, 7130, 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, 2847, 17161, 599, 17967, 61, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 496, 3274, 96, 5771, 122, 77, 23, 9, 5256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the position is 2 what is the number lost?
CREATE TABLE table_15405904_1 ( lost INTEGER, position VARCHAR )
SELECT MIN(lost) FROM table_15405904_1 WHERE position = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 2445, 3390, 6348, 834, 536, 41, 1513, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 1102, 19, 204, 125, 19, 8, 381, 1513, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2298, 17, 61, 21680, 953, 834, 1808, 2445, 3390, 6348, 834, 536, 549, 17444, 427, 1102, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who scored the most points on November 17?
CREATE TABLE table_25461946_5 ( high_points VARCHAR, date VARCHAR )
SELECT high_points FROM table_25461946_5 WHERE date = "November 17"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4448, 2294, 4448, 834, 755, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 5799, 8, 167, 979, 30, 1671...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 2700, 7, 21680, 953, 834, 1828, 4448, 2294, 4448, 834, 755, 549, 17444, 427, 833, 3274, 96, 28635, 1003, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For each account type, find the average account balance of customers with credit score lower than 50 Show bar chart, sort in descending by the y axis.
CREATE TABLE bank ( branch_ID int, bname varchar(20), no_of_customers int, city varchar(10), state varchar(20) ) CREATE TABLE customer ( cust_ID varchar(3), cust_name varchar(20), acc_type char(1), acc_bal int, no_of_loans int, credit_score int, branch_ID int, state varchar(20) ) CREATE TABLE loan ( loan_ID varchar(3), loan_type varchar(15), cust_ID varchar(3), branch_ID varchar(3), amount int )
SELECT acc_type, AVG(acc_bal) FROM customer WHERE credit_score < 50 GROUP BY acc_type ORDER BY AVG(acc_bal) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2137, 41, 6421, 834, 4309, 16, 17, 6, 3, 115, 4350, 3, 4331, 4059, 599, 1755, 201, 150, 834, 858, 834, 25697, 277, 16, 17, 6, 690, 3, 4331, 4059, 599, 16968, 6, 538, 3, 4331, 405...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6004, 834, 6137, 6, 71, 17217, 599, 6004, 834, 3849, 61, 21680, 884, 549, 17444, 427, 998, 834, 7, 9022, 3, 2, 943, 350, 4630, 6880, 272, 476, 3, 6004, 834, 6137, 4674, 11300, 272, 476, 71, 17217, 599, 6004, ...
What is the total swimsuit number with gowns larger than 9.48 with interviews larger than 8.94 in florida?
CREATE TABLE table_name_35 ( swimsuit VARCHAR, interview VARCHAR, evening_gown VARCHAR, country VARCHAR )
SELECT COUNT(swimsuit) FROM table_name_35 WHERE evening_gown > 9.48 AND country = "florida" AND interview > 8.94
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 9728, 7628, 584, 4280, 28027, 6, 2772, 584, 4280, 28027, 6, 2272, 834, 122, 9197, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 210, 603, 7628, 61, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 2272, 834, 122, 9197, 2490, 5835, 3707, 3430, 684, 3274, 96, 89, 322, 23, 26, 9, 121, 3430, 2772, 2490, 4848, 4240, 1, -1...
What is the highest Year when the team was seve ballesteros & manuel pi ero?
CREATE TABLE table_name_59 ( year INTEGER, team VARCHAR )
SELECT MAX(year) FROM table_name_59 WHERE team = "seve ballesteros & manuel piñero"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 215, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 2929, 116, 8, 372, 47, 142, 162, 1996, 2613, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 372, 3274, 96, 7, 15, 162, 1996, 2613, 1859, 3, 184, 19901, 2816, 2, 49, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
give me the number of patients whose admission year is less than 2184 and diagnoses short title is vascular hamartomas?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2184" AND diagnoses.short_title = "Vascular hamartomas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the Index number of Chen Bangjun Andie from Singapore?
CREATE TABLE table_name_23 ( index VARCHAR, country VARCHAR, name VARCHAR )
SELECT index FROM table_name_23 WHERE country = "singapore" AND name = "chen bangjun andie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 5538, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11507, 381, 13, 15570, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5538, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 684, 3274, 96, 7, 53, 9, 21642, 121, 3430, 564, 3274, 96, 1559, 4514, 122, 6959, 11, 23, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What day was wayne brady performer 2, ryan stiles performer 4, and an episode number greater than 5?
CREATE TABLE table_name_78 (date VARCHAR, performer_2 VARCHAR, performer_4 VARCHAR, episode VARCHAR)
SELECT date FROM table_name_78 WHERE performer_4 = "ryan stiles" AND episode > 5 AND performer_2 = "wayne brady"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 5522, 584, 4280, 28027, 6, 1912, 49, 834, 357, 584, 4280, 28027, 6, 1912, 49, 834, 591, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 1912, 49, 834, 591, 3274, 96, 651, 152, 7627, 15, 7, 121, 3430, 5640, 2490, 305, 3430, 1912, 49, 834, 357, 3274, 96, 1343, 29, 15, 3858, 26, 63, 121, 1, -1...
What is the average medal total of the country who had 0 silver medals and participated in less than 15 games?
CREATE TABLE table_70474 ( "Games" real, "First" real, "Last" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real, "Best finish (first/last)" text )
SELECT AVG("Total") FROM table_70474 WHERE "Games" < '15' AND "Silver" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 4177, 591, 41, 96, 23055, 7, 121, 490, 6, 96, 25171, 121, 490, 6, 96, 3612, 7, 17, 121, 490, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 2278...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 8512, 21680, 953, 834, 2518, 4177, 591, 549, 17444, 427, 96, 23055, 7, 121, 3, 2, 3, 31, 1808, 31, 3430, 96, 134, 173, 624, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100...
How many new entries this round are there with more than 16 matches and a third round qualifying?
CREATE TABLE table_name_90 ( new_entries_this_round VARCHAR, matches VARCHAR, round VARCHAR )
SELECT new_entries_this_round FROM table_name_90 WHERE matches > 16 AND round = "third round qualifying"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 126, 834, 35, 9000, 834, 8048, 834, 7775, 584, 4280, 28027, 6, 6407, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 126, 834, 35, 9000, 834, 8048, 834, 7775, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 6407, 2490, 898, 3430, 1751, 3274, 96, 14965, 1751, 18002, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the nationality of the player in Position C from Round 1?
CREATE TABLE table_10390 ( "Round" text, "Pick" text, "Player" text, "Position" text, "Nationality" text, "Team" text, "College" text )
SELECT "Nationality" FROM table_10390 WHERE "Round" = '1' AND "Position" = 'c'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17864, 2394, 41, 96, 448, 32, 1106, 121, 1499, 6, 96, 345, 3142, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 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, 24732, 485, 121, 21680, 953, 834, 17864, 2394, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 536, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 75, 31, 1, -100, -100, -100, -100, -100, -100, -100...
Which label released on February 18, 2009?
CREATE TABLE table_65411 ( "Region" text, "Date" text, "Format" text, "Label" text, "Edition" text )
SELECT "Label" FROM table_65411 WHERE "Date" = 'february 18, 2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 591, 2596, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 427, 10569, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 434, 10333, 121, 21680, 953, 834, 4122, 591, 2596, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 89, 15, 9052, 1208, 14985, 2464, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the outcome of the match with a score of 3-6, 2-6?
CREATE TABLE table_name_52 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_52 WHERE score = "3-6, 2-6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 670, 287, 15, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 6138, 13, 8, 1588, 28, 3, 9, 2604, 13, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6138, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 2604, 3274, 96, 25342, 6, 204, 5783, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the sum of Other, when the Name is Simon Gillett Category:Articles with hCards, and when the Total is less than 34?
CREATE TABLE table_name_14 ( other INTEGER, name VARCHAR, total VARCHAR )
SELECT SUM(other) FROM table_name_14 WHERE name = "simon gillett category:articles with hcards" AND total < 34
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 119, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 2502, 6, 116, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 9269, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 564, 3274, 96, 28348, 29, 3, 122, 22751, 17, 3295, 10, 8372, 7, 28, 3, 107, 6043, 7, 121, 3430, 792, 3, 2, 6154, 1, -100, -100, -100, ...
What was the highest number of points in 1966?
CREATE TABLE table_name_99 ( points INTEGER, year VARCHAR )
SELECT MAX(points) FROM table_name_99 WHERE year = 1966
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 979, 3, 21342, 17966, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2030, 381, 13, 979, 16, 20658, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 215, 3274, 20658, 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 and score for the week of august 9?
CREATE TABLE table_9217 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text )
SELECT "Winner and score" FROM table_9217 WHERE "Week" = 'august 9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4508, 2517, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 518, 10266, 121, 1499, 6, 96, 18455, 687, 11, 2604, 121, 1499, 6, 96, 371, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 11, 2604, 121, 21680, 953, 834, 4508, 2517, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 402, 17198, 668, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the number of points for associated with exactly 3 stolen ends?
CREATE TABLE table_25176088_2 (pf VARCHAR, stolen_ends VARCHAR)
SELECT COUNT(pf) FROM table_25176088_2 WHERE stolen_ends = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2517, 3328, 4060, 834, 357, 41, 102, 89, 584, 4280, 28027, 6, 14244, 834, 989, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 381, 13, 979, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 102, 89, 61, 21680, 953, 834, 1828, 2517, 3328, 4060, 834, 357, 549, 17444, 427, 14244, 834, 989, 7, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Grid that has a Rider of mike di meglio, and Laps larger than 23?
CREATE TABLE table_name_23 (grid INTEGER, rider VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_23 WHERE rider = "mike di meglio" AND laps > 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 3496, 26, 3, 21342, 17966, 6, 2564, 52, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 23644, 24, 65, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 2564, 52, 3274, 96, 20068, 15, 1227, 140, 4707, 32, 121, 3430, 14941, 7, 2490, 1902, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the score of the match played on a hard surface with an opponent in the final of Elena Likhovtseva?
CREATE TABLE table_name_2 ( score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR )
SELECT score FROM table_name_2 WHERE surface = "hard" AND opponent_in_the_final = "elena likhovtseva"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 2604, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 1774, 3274, 96, 5651, 121, 3430, 15264, 834, 77, 834, 532, 834, 12406, 3274, 96, 400, 29, 9, 3, 8654, 23304, 17, 7, 4721, 121, 1, -100, -100, -100, -100, -10...
Can you tell me the Third runner-up that has the Year of 1969?
CREATE TABLE table_name_80 ( third_runner_up VARCHAR, year VARCHAR )
SELECT third_runner_up FROM table_name_80 WHERE year = 1969
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 1025, 834, 10806, 834, 413, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 9879, 3, 10806, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1025, 834, 10806, 834, 413, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 215, 3274, 17185, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Score, when Game is less than 61, when February is less than 11, and when Opponent is '@ Buffalo Sabres'?
CREATE TABLE table_name_25 ( score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR )
SELECT score FROM table_name_25 WHERE game < 61 AND february < 11 AND opponent = "@ buffalo sabres"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 2604, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 29976, 76, 1208, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 467, 3, 2, 3, 4241, 3430, 29976, 76, 1208, 3, 2, 850, 3430, 15264, 3274, 96, 1741, 30964, 3, 7, 9, 1999, 7, 121, 1, -100, -100, -100, -100, -100, -100, -1...
What is the max fps of a camera with mpix larger than 8.4 and frame size of 4k 16:9?
CREATE TABLE table_name_5 ( max_fps VARCHAR, mpix VARCHAR, frame_size VARCHAR )
SELECT COUNT(max_fps) FROM table_name_5 WHERE mpix > 8.4 AND frame_size = "4k 16:9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 9858, 834, 89, 102, 7, 584, 4280, 28027, 6, 3, 1167, 2407, 584, 4280, 28027, 6, 2835, 834, 7991, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 9128, 834, 89, 102, 7, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 3, 1167, 2407, 2490, 4848, 591, 3430, 2835, 834, 7991, 3274, 96, 591, 157, 898, 10, 1298, 121, 1, -100, -100, -100, -1...
What tail number was on the an-26, with 25/25 fatalities?
CREATE TABLE table_name_82 (tail_number VARCHAR, aircraft VARCHAR, fatalities VARCHAR)
SELECT tail_number FROM table_name_82 WHERE aircraft = "an-26" AND fatalities = "25/25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 5756, 834, 5525, 1152, 584, 4280, 28027, 6, 6442, 584, 4280, 28027, 6, 12699, 2197, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 9891, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9891, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 6442, 3274, 96, 152, 18, 2688, 121, 3430, 12699, 2197, 3274, 96, 1828, 13311, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many wins when there are more than 19 points, place smaller than 12, and fewer than 30 played?
CREATE TABLE table_60061 ( "Position" real, "Club" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Points" real, "Goal Difference" real )
SELECT SUM("Wins") FROM table_60061 WHERE "Points" > '19' AND "Position" < '12' AND "Played" < '30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6007, 4241, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 308, 10936, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 18455, 7, 8512, 21680, 953, 834, 6007, 4241, 549, 17444, 427, 96, 22512, 7, 121, 2490, 3, 31, 2294, 31, 3430, 96, 345, 32, 7, 4749, 121, 3, 2, 3, 31, 2122, 31, 3430, 96, 15800, 15, 26, 121...
What is the lowest number of laps for kyle petty with under 118 points?
CREATE TABLE table_name_99 ( laps INTEGER, points VARCHAR, driver VARCHAR )
SELECT MIN(laps) FROM table_name_99 WHERE points < 118 AND driver = "kyle petty"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 14941, 7, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 14941,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 979, 3, 2, 3, 20056, 3430, 2535, 3274, 96, 3781, 109, 3, 102, 16142, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When was the exit date KiatPrawut Saiwaeo who had a transfer fee of released?
CREATE TABLE table_name_50 ( exit_date VARCHAR, transfer_fee VARCHAR, player VARCHAR )
SELECT exit_date FROM table_name_50 WHERE transfer_fee = "released" AND player = "kiatprawut saiwaeo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 7189, 834, 5522, 584, 4280, 28027, 6, 2025, 834, 89, 15, 15, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7189, 834, 5522, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 2025, 834, 89, 15, 15, 3274, 96, 21019, 26, 121, 3430, 1959, 3274, 96, 2168, 144, 5319, 210, 76, 17, 3, 7, 9, 23, 210, 9, 15, 32, 121, 1, -10...
What is the total points for GP/GS of 24/23?
CREATE TABLE table_name_28 (total_points VARCHAR, gp_gs VARCHAR)
SELECT total_points FROM table_name_28 WHERE gp_gs = "24/23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 235, 1947, 834, 2700, 7, 584, 4280, 28027, 6, 3, 122, 102, 834, 122, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 979, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 792, 834, 2700, 7, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 3, 122, 102, 834, 122, 7, 3274, 96, 2266, 87, 2773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which frequency has voltage of 1.6v and part number kp80524kx300256kc80524kx300256pmg30002002aa?
CREATE TABLE table_name_64 (frequency VARCHAR, voltage VARCHAR, part_number_s_ VARCHAR)
SELECT frequency FROM table_name_64 WHERE voltage = "1.6v" AND part_number_s_ = "kp80524kx300256kc80524kx300256pmg30002002aa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 30989, 584, 4280, 28027, 6, 10594, 584, 4280, 28027, 6, 294, 834, 5525, 1152, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 732...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 10594, 3274, 96, 15062, 208, 121, 3430, 294, 834, 5525, 1152, 834, 7, 834, 3274, 96, 157, 102, 2079, 755, 2266, 157, 226, 5426, 19337, 157, 75, 2079, 755, 226...
What is the maximum series number what is smaller than season 7.0 and directed by Laura Innes?
CREATE TABLE table_17356106_1 (series__number INTEGER, directed_by VARCHAR, season__number VARCHAR)
SELECT MAX(series__number) FROM table_17356106_1 WHERE directed_by = "Laura Innes" AND season__number < 7.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2469, 948, 16431, 834, 536, 41, 10833, 7, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 6640, 834, 969, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 10833, 7, 834, 834, 5525, 1152, 61, 21680, 953, 834, 2517, 2469, 948, 16431, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 3612, 2414, 86, 1496, 121, 3430, 774, 834, 834, 5525, 1152, 3, 2, 3, ...
How many burglary crimes were committed if the forcible rapes were 1233?
CREATE TABLE table_26060884_2 ( burglary VARCHAR, forcible_rape VARCHAR )
SELECT burglary FROM table_26060884_2 WHERE forcible_rape = 1233
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 3328, 4060, 591, 834, 357, 41, 26647, 63, 584, 4280, 28027, 6, 21, 75, 2317, 834, 5846, 15, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 26647, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26647, 63, 21680, 953, 834, 18365, 3328, 4060, 591, 834, 357, 549, 17444, 427, 21, 75, 2317, 834, 5846, 15, 3274, 586, 4201, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the undisclosed when Adam Hinshelwood is Ricky Newman?
CREATE TABLE table_26361 ( "1 January 2010" text, "DF" text, "Adam Hinshelwood" text, "Aldershot Town" text, "Wycombe Wanderers" text, "Undisclosed" text )
SELECT "Undisclosed" FROM table_26361 WHERE "Adam Hinshelwood" = 'Ricky Newman'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3420, 536, 41, 96, 536, 1762, 2735, 121, 1499, 6, 96, 10665, 121, 1499, 6, 96, 188, 7812, 9515, 7, 88, 40, 2037, 121, 1499, 6, 96, 188, 40, 588, 11159, 4463, 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, 5110, 19315, 10227, 26, 121, 21680, 953, 834, 2688, 3420, 536, 549, 17444, 427, 96, 188, 7812, 9515, 7, 88, 40, 2037, 121, 3274, 3, 31, 448, 3142, 63, 368, 348, 31, 1, -100, -100, -100, -100, -100, -100, -100,...