NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Commenced operations have an Airline of valuair?
CREATE TABLE table_63850 ( "Airline" text, "IATA" text, "ICAO" text, "Callsign" text, "Commenced operations" real )
SELECT "Commenced operations" FROM table_63850 WHERE "Airline" = 'valuair'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 17246, 41, 96, 20162, 747, 121, 1499, 6, 96, 196, 19282, 121, 1499, 6, 96, 15038, 667, 121, 1499, 6, 96, 254, 1748, 6732, 121, 1499, 6, 96, 10205, 1433, 26, 2673, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10205, 1433, 26, 2673, 121, 21680, 953, 834, 3891, 17246, 549, 17444, 427, 96, 20162, 747, 121, 3274, 3, 31, 7480, 2256, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest gp?
CREATE TABLE table_28370 ( "Name" text, "GP" real, "Solo" real, "Ast" real, "Total" real, "TFL-Yds" text, "No-Yds" text, "BrUp" real, "No.-Yds" text, "Avg" text, "TD" real, "Long" real, "Rcv-Yds" text, "FF" real, "Blkd Kick" real )
SELECT MIN("GP") FROM table_28370
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 22520, 41, 96, 23954, 121, 1499, 6, 96, 8049, 121, 490, 6, 96, 5231, 40, 32, 121, 490, 6, 96, 188, 7, 17, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 9164, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 8049, 8512, 21680, 953, 834, 2577, 22520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show each premise type and the number of premises in that type.
CREATE TABLE customer_orders ( order_id number, customer_id number, order_status_code text, shipping_method_code text, order_placed_datetime time, order_delivered_datetime time, order_shipping_charges text ) CREATE TABLE mailshot_customers ( mailshot_id number, customer_id number, outcome_code text, mailshot_customer_date time ) CREATE TABLE premises ( premise_id number, premises_type text, premise_details text ) CREATE TABLE customer_addresses ( customer_id number, premise_id number, date_address_from time, address_type_code text, date_address_to time ) CREATE TABLE products ( product_id number, product_category text, product_name text ) CREATE TABLE order_items ( item_id number, order_item_status_code text, order_id number, product_id number, item_status_code text, item_delivered_datetime time, item_order_quantity text ) CREATE TABLE customers ( customer_id number, payment_method text, customer_name text, customer_phone text, customer_email text, customer_address text, customer_login text, customer_password text ) CREATE TABLE mailshot_campaigns ( mailshot_id number, product_category text, mailshot_name text, mailshot_start_date time, mailshot_end_date time )
SELECT premises_type, COUNT(*) FROM premises GROUP BY premises_type
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 884, 834, 9397, 7, 41, 455, 834, 23, 26, 381, 6, 884, 834, 23, 26, 381, 6, 455, 834, 8547, 302, 834, 4978, 1499, 6, 3365, 834, 23152, 834, 4978, 1499, 6, 455, 834, 4687, 26, 834,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 12787, 834, 6137, 6, 2847, 17161, 599, 1935, 61, 21680, 12787, 350, 4630, 6880, 272, 476, 12787, 834, 6137, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the segment b for s dress form
CREATE TABLE table_15187735_10 ( segment_b VARCHAR, segment_a VARCHAR )
SELECT segment_b FROM table_15187735_10 WHERE segment_a = "s Dress Form"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 2469, 834, 1714, 41, 5508, 834, 115, 584, 4280, 28027, 6, 5508, 834, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 5508, 3, 115, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5508, 834, 115, 21680, 953, 834, 26578, 27697, 2469, 834, 1714, 549, 17444, 427, 5508, 834, 9, 3274, 96, 7, 12169, 3025, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
I want to know the right ascension which has an NGC less than 6575 and declination of 38 00
CREATE TABLE table_10402 ( "NGC number" real, "Object type" text, "Constellation" text, "Right ascension ( J2000 )" text, "Declination ( J2000 )" text )
SELECT "Right ascension ( J2000 )" FROM table_10402 WHERE "NGC number" < '6575' AND "Declination ( J2000 )" = '°38′00″'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15442, 4305, 41, 96, 12531, 254, 381, 121, 490, 6, 96, 17057, 686, 121, 1499, 6, 96, 4302, 7, 6714, 257, 121, 1499, 6, 96, 448, 2632, 38, 75, 35, 1938, 41, 446, 13527, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 2632, 38, 75, 35, 1938, 41, 446, 13527, 3, 61, 121, 21680, 953, 834, 15442, 4305, 549, 17444, 427, 96, 12531, 254, 381, 121, 3, 2, 3, 31, 4122, 3072, 31, 3430, 96, 2962, 11005, 257, 41, 446, 13527, 3, ...
If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy?
CREATE TABLE table_27133147_3 ( date_of_vacancy VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR )
SELECT date_of_vacancy FROM table_27133147_3 WHERE manner_of_departure = "Resigned" AND position_in_table = "10th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 22974, 24719, 834, 519, 41, 833, 834, 858, 834, 29685, 584, 4280, 28027, 6, 3107, 834, 858, 834, 221, 2274, 1462, 584, 4280, 28027, 6, 1102, 834, 77, 834, 3869, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 858, 834, 29685, 21680, 953, 834, 2555, 22974, 24719, 834, 519, 549, 17444, 427, 3107, 834, 858, 834, 221, 2274, 1462, 3274, 96, 1649, 15532, 121, 3430, 1102, 834, 77, 834, 3869, 3274, 96, 1714, 189, 121, ...
Scatterplot of weight vs people id by Sex
CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real )
SELECT People_ID, Weight FROM people GROUP BY Sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4775, 41, 25833, 17, 15, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 14457, 834, 23799, 1499, 6, 7678, 1499, 6, 4224, 834, 2206, 490, 6, 9151, 834, 2206, 490, 6, 4495, 2748, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2449, 834, 4309, 6, 14230, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the week 13 result where the week 14 resulted in Maryland (10-1)?
CREATE TABLE table_name_18 (week_13_nov_26 VARCHAR, week_14_dec_3 VARCHAR)
SELECT week_13_nov_26 FROM table_name_18 WHERE week_14_dec_3 = "maryland (10-1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 8041, 834, 2368, 834, 5326, 834, 2688, 584, 4280, 28027, 6, 471, 834, 2534, 834, 221, 75, 834, 519, 584, 4280, 28027, 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, 0, 0...
[ 3, 23143, 14196, 471, 834, 2368, 834, 5326, 834, 2688, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 471, 834, 2534, 834, 221, 75, 834, 519, 3274, 96, 1635, 28900, 11704, 18, 6982, 121, 1, -100, -100, -100, -100, -100, -100, -1...
What are all the name(namesakes) for the entire chart?
CREATE TABLE table_31386 ( "Name (Namesake)" text, "Builder Dimensions Displacement, Hull Speed Complement" text, "Machinery Boiler, Bunkers Engines Armament" text, "Ordered Laid down Launched Trials" text, "Commissioned Decommissioned Afterward" text )
SELECT "Name (Namesake)" FROM table_31386
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2368, 3840, 41, 96, 23954, 41, 23954, 7, 9, 1050, 61, 121, 1499, 6, 96, 24752, 49, 14689, 7, 2678, 4687, 297, 6, 3455, 195, 9913, 4961, 3335, 121, 1499, 6, 96, 17772...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23954, 41, 23954, 7, 9, 1050, 61, 121, 21680, 953, 834, 519, 2368, 3840, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average rank of the province alborz, which had more than 14526 in 1956?
CREATE TABLE table_name_95 (rank INTEGER, province VARCHAR)
SELECT AVG(rank) FROM table_name_95 WHERE province = "alborz" AND 1956 > 14526
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 6254, 3, 21342, 17966, 6, 7985, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 11003, 13, 8, 7985, 7046, 127, 172, 6, 84, 141, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 7985, 3274, 96, 138, 6693, 172, 121, 3430, 22951, 2490, 3, 20987, 2688, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
If new entries this round is 65, what is the round?
CREATE TABLE table_1859269_1 ( round VARCHAR, new_entries_this_round VARCHAR )
SELECT COUNT(round) FROM table_1859269_1 WHERE new_entries_this_round = "65"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 4508, 3951, 834, 536, 41, 1751, 584, 4280, 28027, 6, 126, 834, 35, 9000, 834, 8048, 834, 7775, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 126, 10066,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 21594, 4508, 3951, 834, 536, 549, 17444, 427, 126, 834, 35, 9000, 834, 8048, 834, 7775, 3274, 96, 4122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is 1997, when 2003 is 0 / 4?
CREATE TABLE table_name_22 (Id VARCHAR)
SELECT 1997 FROM table_name_22 WHERE 2003 = "0 / 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 6622, 6, 116, 3888, 19, 3, 632, 3, 87, 314, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6622, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 3888, 3274, 96, 632, 3, 87, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Draw a bar chart for how many stadiums does each country have?
CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int )
SELECT Country, COUNT(*) FROM stadium GROUP BY Country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499, 6, 4000, 9, 6726, 16, 17, 6, 896, 1499, 6, 6993, 1499, 6, 20360, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 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, 6993, 6, 2847, 17161, 599, 1935, 61, 21680, 14939, 350, 4630, 6880, 272, 476, 6993, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of the game when the attendance was 1,644?
CREATE TABLE table_name_38 ( score VARCHAR, attendance VARCHAR )
SELECT score FROM table_name_38 WHERE attendance = "1,644"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 2604, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 116, 8, 11364, 47, 1914, 4389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 11364, 3274, 96, 4347, 4389, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the first for countries of trinidad and tobago for hutchinson for years before 2004
CREATE TABLE table_name_39 ( first VARCHAR, year VARCHAR, country VARCHAR, last VARCHAR )
SELECT first FROM table_name_39 WHERE country = "trinidad and tobago" AND last = "hutchinson" AND year < 2004
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 166, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 336, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 166, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 684, 3274, 96, 1788, 29, 15644, 11, 12, 7893, 32, 121, 3430, 336, 3274, 96, 13985, 5675, 739, 121, 3430, 215, 3, 2, 4406, 1, -100, -100, -100, -100, -100, -1...
What rank does Rodney Marsh have?
CREATE TABLE table_24143 ( "Rank" real, "Dismissals" real, "Player" text, "Matches" real, "Caught" real, "Stumped" real )
SELECT MAX("Rank") FROM table_24143 WHERE "Player" = 'Rodney Marsh'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 25133, 41, 96, 22557, 121, 490, 6, 96, 308, 159, 11502, 5405, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 254, 9313, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22557, 8512, 21680, 953, 834, 2266, 25133, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 448, 32, 26, 3186, 21614, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the past habitual for garcha 'he does
CREATE TABLE table_16337329_5 ( past_habitual VARCHAR, probable_future VARCHAR )
SELECT past_habitual FROM table_16337329_5 WHERE probable_future = "गर्छ garcha 'he does'"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4201, 4552, 3166, 834, 755, 41, 657, 834, 6111, 155, 3471, 584, 4280, 28027, 6, 23093, 834, 89, 76, 2693, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 657, 834, 6111, 155, 3471, 21680, 953, 834, 2938, 4201, 4552, 3166, 834, 755, 549, 17444, 427, 23093, 834, 89, 76, 2693, 3274, 96, 2, 5260, 3441, 3, 31, 88, 405, 31, 121, 1, -100, -100, -100, -100, -100, -100, -10...
Which rank has a more than 0 silver, 4 bronze, and a total smaller than 10?
CREATE TABLE table_59950 ( "Rank" real, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT SUM("Rank") FROM table_59950 WHERE "Silver" > '0' AND "Bronze" = '4' AND "Total" < '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 25188, 41, 96, 22557, 121, 490, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, 1947, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22557, 8512, 21680, 953, 834, 3390, 25188, 549, 17444, 427, 96, 134, 173, 624, 121, 2490, 3, 31, 632, 31, 3430, 96, 22780, 29, 776, 121, 3274, 3, 31, 591, 31, 3430, 96, 3696, 1947, 121, 3, 2...
Tell me the score of misa eguchi eri hozumi
CREATE TABLE table_name_62 (score VARCHAR, opponents VARCHAR)
SELECT score FROM table_name_62 WHERE opponents = "misa eguchi eri hozumi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 7, 9022, 584, 4280, 28027, 6, 16383, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 2604, 13, 1817, 9, 3, 15, 1744, 1436, 3, 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, 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, 4056, 549, 17444, 427, 16383, 3274, 96, 51, 159, 9, 3, 15, 1744, 1436, 3, 49, 23, 3534, 19001, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the low number of top 25s in an event with over 15 appearances?
CREATE TABLE table_name_42 (top_25 INTEGER, events INTEGER)
SELECT MIN(top_25) FROM table_name_42 WHERE events > 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 2916, 834, 1828, 3, 21342, 17966, 6, 984, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 731, 381, 13, 420, 944, 7, 16, 46, 605, 28,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2916, 834, 1828, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 984, 2490, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many distinct claim outcome codes are there?
CREATE TABLE claims_processing ( claim_outcome_code VARCHAR )
SELECT COUNT(DISTINCT claim_outcome_code) FROM claims_processing
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3213, 834, 15056, 53, 41, 1988, 834, 670, 287, 15, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 6746, 1988, 6138, 5633, 33, 132, 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, 2847, 17161, 599, 15438, 25424, 6227, 1988, 834, 670, 287, 15, 834, 4978, 61, 21680, 3213, 834, 15056, 53, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the weight of the player from pvk jadran club?
CREATE TABLE table_36486 ( "Name v t e" text, "Pos." text, "Height" text, "Weight" text, "Club" text )
SELECT "Weight" FROM table_36486 WHERE "Club" = 'pvk jadran'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 591, 3840, 41, 96, 23954, 3, 208, 3, 17, 3, 15, 121, 1499, 6, 96, 345, 32, 7, 535, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 121, 1499, 6, 96, 254,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1326, 2632, 121, 21680, 953, 834, 3420, 591, 3840, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 102, 208, 157, 2662, 26, 2002, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the Director of the Filmography with Production Number of 11-14?
CREATE TABLE table_65110 ( "Title" text, "Series" text, "Director" text, "Production Number" text, "Release date" text )
SELECT "Director" FROM table_65110 WHERE "Production Number" = '11-14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 19277, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 3174, 8291, 7720, 121, 1499, 6, 96, 1649, 40, 14608, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 127, 121, 21680, 953, 834, 4122, 19277, 549, 17444, 427, 96, 3174, 8291, 7720, 121, 3274, 3, 31, 2596, 11590, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the CB CW of the song which has a BB Pop of 11?
CREATE TABLE table_name_73 ( cb_cw VARCHAR, bb_pop VARCHAR )
SELECT cb_cw FROM table_name_73 WHERE bb_pop = "11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 3, 75, 115, 834, 75, 210, 584, 4280, 28027, 6, 3, 115, 115, 834, 9791, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 205, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 75, 115, 834, 75, 210, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 3, 115, 115, 834, 9791, 3274, 96, 2596, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is procedure long title of subject name charles deshay?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Charles Deshay"
[ 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, 4293, 5, 2961, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 18947, 965, 2973, ...
how many patients have been discharged from the hospital until 1 year ago?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime) <= DATETIME(CURRENT_TIME(), '-1 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 4486, 1868, 5, 31386, 26, 159, 7993, 715, 6827, 13046, 10376, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 26, 1...
How many episodes are numbered 12x03?
CREATE TABLE table_23292220_13 ( first_broadcast VARCHAR, episode VARCHAR )
SELECT COUNT(first_broadcast) FROM table_23292220_13 WHERE episode = "12x03"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3166, 2884, 1755, 834, 2368, 41, 166, 834, 115, 8635, 5254, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13562, 33, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14672, 834, 115, 8635, 5254, 61, 21680, 953, 834, 2773, 3166, 2884, 1755, 834, 2368, 549, 17444, 427, 5640, 3274, 96, 2122, 226, 4928, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the distinct driver id of all drivers that have a longer stop duration than some drivers in the race whose id is 841?
CREATE TABLE pitstops ( driverid VARCHAR, STOP VARCHAR, duration INTEGER, raceid VARCHAR )
SELECT DISTINCT driverid, STOP FROM pitstops WHERE duration > (SELECT MIN(duration) FROM pitstops WHERE raceid = 841)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7688, 7618, 7, 41, 1262, 4055, 584, 4280, 28027, 6, 5097, 4652, 584, 4280, 28027, 6, 8659, 3, 21342, 17966, 6, 1964, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1262, 4055, 6, 5097, 4652, 21680, 7688, 7618, 7, 549, 17444, 427, 8659, 2490, 41, 23143, 14196, 3, 17684, 599, 1259, 2661, 61, 21680, 7688, 7618, 7, 549, 17444, 427, 1964, 23, 26, 3274, 3, 460...
What category was danson tang nominated?
CREATE TABLE table_name_72 ( category VARCHAR, nomination VARCHAR )
SELECT category FROM table_name_72 WHERE nomination = "danson tang"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 3295, 584, 4280, 28027, 6, 13588, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3295, 47, 247, 106, 3, 8967, 150, 1109, 920, 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, 3295, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 13588, 3274, 96, 3768, 739, 3, 8967, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When against is more than 1244 with less than 8 losses, what is the average of wins?
CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, losses VARCHAR)
SELECT AVG(wins) FROM table_name_82 WHERE against > 1244 AND losses < 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 3757, 7, 3, 21342, 17966, 6, 581, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 581, 19, 72, 145, 586, 3628, 28,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 581, 2490, 586, 3628, 3430, 8467, 3, 2, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many Goals against have Wins larger than 12, and a Club of ud las palmas, and a Position larger than 5?
CREATE TABLE table_61270 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT COUNT("Goals against") FROM table_61270 WHERE "Wins" > '12' AND "Club" = 'ud las palmas' AND "Position" > '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 17485, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 6221, 5405, 581, 8512, 21680, 953, 834, 4241, 17485, 549, 17444, 427, 96, 18455, 7, 121, 2490, 3, 31, 2122, 31, 3430, 96, 254, 11158, 121, 3274, 3, 31, 76, 26, 50, 7, 8466, 9, 7, 31, 3430,...
What was the losing score on September 1?
CREATE TABLE table_name_48 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_48 WHERE date = "september 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 2298, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 5489, 2604, 30, 1600, 209, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1453, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest to par for Bob Charles?
CREATE TABLE table_name_91 (to_par INTEGER, player VARCHAR)
SELECT MIN(to_par) FROM table_name_91 WHERE player = "bob charles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 235, 834, 1893, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 12, 260, 21, 5762, 5417, 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, 3, 17684, 599, 235, 834, 1893, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 1959, 3274, 96, 17396, 3, 4059, 965, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the student IDs for everybody who worked for more than 10 hours per week on all sports?
CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE sportsinfo ( stuid number, sportname text, hoursperweek number, gamesplayed number, onscholarship text ) CREATE TABLE plays_games ( stuid number, gameid number, hours_played number )
SELECT stuid FROM sportsinfo GROUP BY stuid HAVING SUM(hoursperweek) > 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 671, 834, 7261, 7, 41, 467, 23, 26, 381, 6, 3, 122, 4350, 1499, 6, 3, 122, 6137, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 21341, 23, 26, 21680, 2100, 9583, 350, 4630, 6880, 272, 476, 21341, 23, 26, 454, 6968, 2365, 180, 6122, 599, 5842, 4339, 8041, 61, 2490, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Date has a Partner of daniella dominikovic?
CREATE TABLE table_39297 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text )
SELECT "Date" FROM table_39297 WHERE "Partner" = 'daniella dominikovic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 357, 4327, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3288, 357, 4327, 549, 17444, 427, 96, 13725, 687, 121, 3274, 3, 31, 26, 2738, 5303, 10138, 12027, 7287, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who was hired before 2002-06-21, find job_id and the average of salary , and group by attribute job_id, and visualize them by a bar chart, and I want to rank by the Y-axis in descending.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_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) ) 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) 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 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) )
SELECT JOB_ID, AVG(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY AVG(SALARY) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 350, 4630, 6880, 272, 476, 446, 10539, 834, 4309, ...
How many events did not have any participants?
CREATE TABLE Participants_in_Events ( event_id VARCHAR ) CREATE TABLE EVENTS ( event_id VARCHAR )
SELECT COUNT(*) FROM EVENTS WHERE NOT event_id IN (SELECT event_id FROM Participants_in_Events)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19204, 834, 77, 834, 427, 2169, 7, 41, 605, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 262, 24992, 134, 41, 605, 834, 23, 26, 584, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 262, 24992, 134, 549, 17444, 427, 4486, 605, 834, 23, 26, 3388, 41, 23143, 14196, 605, 834, 23, 26, 21680, 19204, 834, 77, 834, 427, 2169, 7, 61, 1, -100, -100, -100, -100, -100, ...
What is the lowest round for an offensive guard when the overall is smaller than 150?
CREATE TABLE table_name_59 ( round INTEGER, overall VARCHAR, position VARCHAR )
SELECT MIN(round) FROM table_name_59 WHERE overall < 150 AND position = "offensive guard"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 1751, 3, 21342, 17966, 6, 1879, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 1751, 21, 46, 1213...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 7775, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 1879, 3, 2, 4261, 3430, 1102, 3274, 96, 858, 23039, 15, 4879, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the event that is in 8th position?
CREATE TABLE table_name_70 (event VARCHAR, position VARCHAR)
SELECT event FROM table_name_70 WHERE position = "8th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 15, 2169, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 605, 24, 19, 16, 505, 189, 1102, 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, 605, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 1102, 3274, 96, 927, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients with medicaid have been diagnosed with coronary artery bypass graft?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Medicaid" AND diagnoses.short_title = "Aortocoronary bypass"
[ 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 day did they record a score of 1-2 in 1994?
CREATE TABLE table_name_55 ( date VARCHAR, score VARCHAR, year VARCHAR )
SELECT date FROM table_name_55 WHERE score = "1-2" AND year = 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 239, 410, 79, 1368, 3, 9, 2604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 2604, 3274, 96, 9596, 121, 3430, 215, 3274, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is every value for Italian when the part is English?
CREATE TABLE table_25401_15 (italian VARCHAR, english VARCHAR)
SELECT italian FROM table_25401_15 WHERE english = "part"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 20016, 834, 1808, 41, 155, 9, 9928, 584, 4280, 28027, 6, 22269, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 701, 21, 4338, 116, 8, 294, 19, 156...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24168, 21680, 953, 834, 1828, 20016, 834, 1808, 549, 17444, 427, 22269, 3274, 96, 2274, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the version with sbagen software?
CREATE TABLE table_15038373_1 (version VARCHAR, software VARCHAR)
SELECT version FROM table_15038373_1 WHERE software = "SBaGen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12278, 3747, 4118, 519, 834, 536, 41, 8674, 584, 4280, 28027, 6, 889, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 988, 28, 3, 7, 7893, 35, 889, 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, 988, 21680, 953, 834, 12278, 3747, 4118, 519, 834, 536, 549, 17444, 427, 889, 3274, 96, 134, 279, 9, 13714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Winning Score, when Tournament is Joburg Open 1, and when Date is 17 Jan 2010?
CREATE TABLE table_name_22 ( winning_score VARCHAR, tournament VARCHAR, date VARCHAR )
SELECT winning_score FROM table_name_22 WHERE tournament = "joburg open 1" AND date = "17 jan 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 3447, 834, 7, 9022, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 549, 10503, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3447, 834, 7, 9022, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 5892, 3274, 96, 1927, 4824, 539, 209, 121, 3430, 833, 3274, 96, 2517, 3, 7066, 2735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Where was the competition that took place that had a 5-1 result?
CREATE TABLE table_53863 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Venue" FROM table_53863 WHERE "Result" = '5-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 3840, 519, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 4867, 3840, 519, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 755, 2292, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest First Elected, when District is 'Massachusetts 10'?
CREATE TABLE table_name_40 ( first_elected INTEGER, district VARCHAR )
SELECT MIN(first_elected) FROM table_name_40 WHERE district = "massachusetts 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 166, 834, 19971, 3, 21342, 17966, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 1485, 1289, 7633, 6, 116, 3570, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14672, 834, 19971, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 3939, 3274, 96, 2754, 7, 1836, 1074, 17, 17, 7, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many defensive back players were picked ?
CREATE TABLE table_203_229 ( id number, "pick #" number, "nfl team" text, "player" text, "position" text, "college" text )
SELECT COUNT("player") FROM table_203_229 WHERE "position" = 'defensive back'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 3166, 41, 3, 23, 26, 381, 6, 96, 17967, 1713, 121, 381, 6, 96, 29, 89, 40, 372, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 20846, 8512, 21680, 953, 834, 23330, 834, 357, 3166, 549, 17444, 427, 96, 4718, 121, 3274, 3, 31, 221, 23039, 15, 223, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the most recent year for the ajs team when there are fewer than 0 wins?
CREATE TABLE table_35459 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real )
SELECT MAX("Year") FROM table_35459 WHERE "Team" = 'ajs' AND "Wins" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 591, 3390, 41, 96, 476, 2741, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 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, 4800, 4, 599, 121, 476, 2741, 8512, 21680, 953, 834, 2469, 591, 3390, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 9, 354, 7, 31, 3430, 96, 18455, 7, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100...
what is the country when the city is gafsa?
CREATE TABLE table_49757 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text )
SELECT "Country" FROM table_49757 WHERE "City" = 'gafsa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4327, 3436, 41, 96, 254, 485, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 196, 19282, 121, 1499, 6, 96, 15038, 667, 121, 1499, 6, 96, 20162, 1493, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 591, 4327, 3436, 549, 17444, 427, 96, 254, 485, 121, 3274, 3, 31, 122, 9, 89, 7, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the rollercoaster that opened in 2004 in bobbejaanland?
CREATE TABLE table_name_86 (name VARCHAR, opened VARCHAR, park VARCHAR)
SELECT name FROM table_name_86 WHERE opened = "2004" AND park = "bobbejaanland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 4350, 584, 4280, 28027, 6, 2946, 584, 4280, 28027, 6, 2447, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 10866, 25500, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 2946, 3274, 96, 21653, 121, 3430, 2447, 3274, 96, 17396, 346, 1191, 152, 40, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What pole position was Rubens Barrichello when he had the fastest lap and a round larger than 11?
CREATE TABLE table_name_30 (pole_position VARCHAR, fastest_lap VARCHAR, round VARCHAR)
SELECT pole_position FROM table_name_30 WHERE fastest_lap = "rubens barrichello" AND round > 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 14332, 834, 4718, 584, 4280, 28027, 6, 10391, 834, 8478, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 11148, 1102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11148, 834, 4718, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 10391, 834, 8478, 3274, 96, 14446, 35, 7, 1207, 3723, 7126, 121, 3430, 1751, 2490, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
besides france , which other nation ranked 5th at the 1997 world taekwondo championships ?
CREATE TABLE table_203_548 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_203_548 WHERE "nation" <> 'france' AND "rank" = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3707, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 23330, 834, 755, 3707, 549, 17444, 427, 96, 29, 257, 121, 3, 2, 3155, 3, 31, 89, 5219, 31, 3430, 96, 6254, 121, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the total number who attended during week 11?
CREATE TABLE table_name_98 ( attendance VARCHAR, week VARCHAR )
SELECT COUNT(attendance) FROM table_name_98 WHERE week = 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 11364, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 792, 381, 113, 5526, 383, 471, 850, 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, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 471, 3274, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who in Qual 2 had the best time of 1:31.327?
CREATE TABLE table_33211 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text )
SELECT "Qual 2" FROM table_33211 WHERE "Best" = '1:31.327'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 27278, 41, 96, 23954, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 5991, 138, 209, 121, 1499, 6, 96, 5991, 138, 204, 121, 1499, 6, 96, 17278, 121, 1499, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5991, 138, 204, 121, 21680, 953, 834, 4201, 27278, 549, 17444, 427, 96, 17278, 121, 3274, 3, 31, 536, 10, 519, 13606, 2555, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Date of 7 september 1996 includes which highest rank athlete?
CREATE TABLE table_36322 ( "Rank" real, "Time" real, "Athlete" text, "Nation" text, "Date" text, "Location" text )
SELECT MAX("Rank") FROM table_36322 WHERE "Date" = '7 september 1996'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 2668, 357, 41, 96, 22557, 121, 490, 6, 96, 13368, 121, 490, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 308, 342, 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, 4800, 4, 599, 121, 22557, 8512, 21680, 953, 834, 3420, 2668, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 940, 16022, 18247, 6911, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many products are there in the records?
CREATE TABLE catalog_contents (Id VARCHAR)
SELECT COUNT(*) FROM catalog_contents
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10173, 834, 14819, 7, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 494, 33, 132, 16, 8, 3187, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 10173, 834, 14819, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the away team when the home team scored 20.15 (135)?
CREATE TABLE table_32282 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team score" FROM table_32282 WHERE "Home team score" = '20.15 (135)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 2577, 357, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 2604, 121, 21680, 953, 834, 2668, 2577, 357, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 1755, 5, 1808, 4077, 2469, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who are the Runner(s)-up with a Margin of 3 strokes?
CREATE TABLE table_name_49 (runner_s__up VARCHAR, margin VARCHAR)
SELECT runner_s__up FROM table_name_49 WHERE margin = "3 strokes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 6, 6346, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 8, 3, 23572, 599, 7, 61, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 10806, 834, 7, 834, 834, 413, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 6346, 3274, 96, 519, 9529, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How much money does player horton smith have?
CREATE TABLE table_13192 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" real, "Money ( $ )" text )
SELECT "Money ( $ )" FROM table_13192 WHERE "Player" = 'horton smith'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 19978, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 490, 6, 96, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9168, 15, 63, 41, 1514, 3, 61, 121, 21680, 953, 834, 2368, 19978, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 14184, 106, 3, 16331, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What were the original teams for The Biggest Loser (Season 1)?
CREATE TABLE table_name_77 (original_teams VARCHAR, name VARCHAR)
SELECT original_teams FROM table_name_77 WHERE name = "the biggest loser (season 1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 21878, 834, 11650, 7, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 926, 2323, 21, 37, 2734, 122, 222, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 11650, 7, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 564, 3274, 96, 532, 2630, 2615, 52, 41, 9476, 8925, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Laps have a Time of +23.002, and a Grid smaller than 11?
CREATE TABLE table_45595 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real )
SELECT AVG("Laps") FROM table_45595 WHERE "Time" = '+23.002' AND "Grid" < '11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 755, 3301, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 121, 1499, 6, 96, 13313, 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, 71, 17217, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 2128, 755, 3301, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 1220, 2773, 4200, 357, 31, 3430, 96, 13313, 26, 121, 3, 2, 3, 31, 2596, 31, 1, -100, -100,...
Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9?
CREATE TABLE table_name_7 (matches INTEGER, goals VARCHAR, rank VARCHAR)
SELECT SUM(matches) FROM table_name_7 WHERE goals = 103 AND rank > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 19515, 15, 7, 3, 21342, 17966, 6, 1766, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 4505, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 19515, 15, 7, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1766, 3274, 3, 17864, 3430, 11003, 2490, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the maximum first elected with district being alabama 5
CREATE TABLE table_1342270_3 ( first_elected INTEGER, district VARCHAR )
SELECT MAX(first_elected) FROM table_1342270_3 WHERE district = "Alabama 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4165, 17485, 834, 519, 41, 166, 834, 19971, 3, 21342, 17966, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2411, 166, 8160, 28, 3939, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14672, 834, 19971, 61, 21680, 953, 834, 2368, 4165, 17485, 834, 519, 549, 17444, 427, 3939, 3274, 96, 188, 9339, 265, 9, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Third when the Lead was don bartlett, the Second was carter rycroft, and a Season of 2003 04?
CREATE TABLE table_41285 ( "Season" text, "Skip" text, "Third" text, "Second" text, "Lead" text )
SELECT "Third" FROM table_41285 WHERE "Lead" = 'don bartlett' AND "Second" = 'carter rycroft' AND "Season" = '2003–04'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2122, 4433, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 134, 2168, 102, 121, 1499, 6, 96, 382, 9288, 26, 121, 1499, 6, 96, 134, 15, 1018, 26, 121, 1499, 6, 96, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 9288, 26, 121, 21680, 953, 834, 591, 2122, 4433, 549, 17444, 427, 96, 2796, 9, 26, 121, 3274, 3, 31, 2029, 1207, 17, 1655, 17, 31, 3430, 96, 134, 15, 1018, 26, 121, 3274, 3, 31, 1720, 449, 3, 651, 307...
Which Senior status has Appointed by of l. johnson category:articles with hcards, and Born/Died of 1918 2009?
CREATE TABLE table_name_7 ( senior_status VARCHAR, appointed_by VARCHAR, born_died VARCHAR )
SELECT senior_status FROM table_name_7 WHERE appointed_by = "l. johnson category:articles with hcards" AND born_died = "1918–2009"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 2991, 834, 8547, 302, 584, 4280, 28027, 6, 7817, 834, 969, 584, 4280, 28027, 6, 2170, 834, 2498, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2991, 834, 8547, 302, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 7817, 834, 969, 3274, 96, 40, 5, 3, 27341, 739, 3295, 10, 8372, 7, 28, 3, 107, 6043, 7, 121, 3430, 2170, 834, 2498, 26, 3274, 96, 2294, 260...
what is the ingesting method of k phos mono-sod phos di & mono 155-852-130 mg po tabs?
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text )
SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'k phos mono-sod phos di & mono 155-852-130 mg po tabs'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23, 26, 381, 6, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 605, 6137, 1499, 6, 605, 23, 26, 381, 6, 1567, 715, 97, 6, 583, 381, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 7757, 5, 20300, 20466, 29, 21680, 7757, 549, 17444, 427, 7757, 5, 26, 13534, 4350, 3274, 3, 31, 157, 3, 9553, 7, 7414, 18, 7, 32, 26, 3, 9553, 7, 1227, 3, 184, 7414, 627, 27698, 5373, 18, ...
What was the results when the incumbent was ernest istook?
CREATE TABLE table_18121 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Results" text, "Candidates" text )
SELECT "Results" FROM table_18121 WHERE "Incumbent" = 'Ernest Istook'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 22011, 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, 1499, 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, 96, 20119, 7, 121, 21680, 953, 834, 2606, 22011, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 10575, 29, 222, 27, 7, 235, 1825, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what comes after kf la i and what is their wins
CREATE TABLE table_204_623 ( id number, "opponent" text, "goals" text, "wins" number, "draws" number, "losses" number, "+- goals" number, "matches" number, "qualified" number, "eliminated" number )
SELECT "opponent", "wins" FROM table_204_623 WHERE id = (SELECT id FROM table_204_623 WHERE "opponent" = 'kf laci') + 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4056, 519, 41, 3, 23, 26, 381, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 839, 5405, 121, 1499, 6, 96, 3757, 7, 121, 381, 6, 96, 19489, 7, 121, 381, 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, 32, 102, 9977, 1686, 96, 3757, 7, 121, 21680, 953, 834, 26363, 834, 4056, 519, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 4056, 519, 549, 17444, 427, 96, 32, ...
What is Shot Pct., when Stolen Ends is 2?
CREATE TABLE table_name_67 ( shot_pct VARCHAR, stolen_ends VARCHAR )
SELECT shot_pct FROM table_name_67 WHERE stolen_ends = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 2538, 834, 102, 75, 17, 584, 4280, 28027, 6, 14244, 834, 989, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 18781, 276, 75, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2538, 834, 102, 75, 17, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 14244, 834, 989, 7, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the RAvg when the ratt is 3?
CREATE TABLE table_40273 ( "Year" text, "Team" text, "Comp" text, "Long" text, "Rate" text, "RAtt" text, "RYds" text, "RAvg" text, "Lost" text )
SELECT "RAvg" FROM table_40273 WHERE "RAtt" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 2555, 519, 41, 96, 476, 2741, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 5890, 102, 121, 1499, 6, 96, 434, 2444, 121, 1499, 6, 96, 448, 342, 121, 1499, 6, 96, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4763, 208, 122, 121, 21680, 953, 834, 2445, 2555, 519, 549, 17444, 427, 96, 4763, 17, 17, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show names of musicals and the number of actors who have appeared in the musicals in a bar chart.
CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text )
SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7556, 41, 1983, 127, 834, 4309, 16, 17, 6, 5570, 1499, 6, 22307, 834, 4309, 16, 17, 6, 20087, 1499, 6, 20610, 1499, 6, 1246, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 7556, 6157, 332, 536, 3, 15355, 3162, 4183, 6157, 332, 357, 9191, 332, 5411, 29035, 138, 834, 4309, 3274, 332, 4416, 29035, 138, 834, 4309, 350, 4630, 6880, 272,...
What is the capacity of Band rma Banvit?
CREATE TABLE table_12555 ( "Club" text, "City" text, "Arena" text, "Capacity" real, "Last Year" text )
SELECT AVG("Capacity") FROM table_12555 WHERE "Club" = 'bandırma banvit'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10124, 3769, 41, 96, 254, 11158, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 188, 1536, 9, 121, 1499, 6, 96, 19566, 9, 6726, 121, 490, 6, 96, 3612, 7, 17, 2929, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 19566, 9, 6726, 8512, 21680, 953, 834, 10124, 3769, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 3348, 2, 52, 51, 9, 4514, 5566, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What season had a .439 Win% in the 1996-97 Team?
CREATE TABLE table_name_39 ( season VARCHAR, win_percentage VARCHAR, team VARCHAR )
SELECT season FROM table_name_39 WHERE win_percentage = ".439" AND team = "1996-97"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 774, 584, 4280, 28027, 6, 1369, 834, 883, 3728, 545, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 774, 141, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 1369, 834, 883, 3728, 545, 3274, 96, 5, 591, 3288, 121, 3430, 372, 3274, 96, 2294, 4314, 18, 4327, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many actors have appeared in each musical?, sort bar in desc order.
CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int ) CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text )
SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID ORDER BY T2.Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7556, 41, 1983, 127, 834, 4309, 16, 17, 6, 5570, 1499, 6, 22307, 834, 4309, 16, 17, 6, 20087, 1499, 6, 20610, 1499, 6, 1246, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 7556, 6157, 332, 536, 3, 15355, 3162, 4183, 6157, 332, 357, 9191, 332, 5411, 29035, 138, 834, 4309, 3274, 332, 4416, 29035, 138, 834, 4309, 350, 4630, 6880, 272,...
Director for Star Wars Episode II: attack of the clones?
CREATE TABLE table_45196 ( "Rank" real, "Title" text, "Studio" text, "Director(s)" text, "Worldwide Gross" text )
SELECT "Director(s)" FROM table_45196 WHERE "Title" = 'star wars episode ii: attack of the clones'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 26937, 41, 96, 22557, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 13076, 26, 23, 32, 121, 1499, 6, 96, 23620, 127, 599, 7, 61, 121, 1499, 6, 96, 17954, 6728...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 127, 599, 7, 61, 121, 21680, 953, 834, 2128, 26937, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 3624, 615, 7, 5640, 3, 23, 23, 10, 3211, 13, 8, 3, 3903, 1496, 31, 1, -100, -100, -100, -100...
What is the result for game 5?
CREATE TABLE table_name_65 (result VARCHAR, game VARCHAR)
SELECT result FROM table_name_65 WHERE game = "game 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 21, 467, 305, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 467, 3274, 96, 7261, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the surface when the us open is the championship in the year 1979?
CREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)
SELECT surface FROM table_22860698_2 WHERE championship = "US Open" AND year = 1979
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3840, 5176, 3916, 834, 357, 41, 26899, 584, 4280, 28027, 6, 10183, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1774, 116,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1774, 21680, 953, 834, 2884, 3840, 5176, 3916, 834, 357, 549, 17444, 427, 10183, 3274, 96, 3063, 2384, 121, 3430, 215, 3274, 15393, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the max torque of model 1.4 16v?
CREATE TABLE table_name_82 (max_torque__nm__at_rpm VARCHAR, model VARCHAR)
SELECT max_torque__nm__at_rpm FROM table_name_82 WHERE model = "1.4 16v"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 9128, 834, 17, 127, 835, 834, 834, 29, 51, 834, 834, 144, 834, 52, 2028, 584, 4280, 28027, 6, 825, 584, 4280, 28027, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9858, 834, 17, 127, 835, 834, 834, 29, 51, 834, 834, 144, 834, 52, 2028, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 825, 3274, 96, 14912, 898, 208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest round in the Wec 25 match in Las Vegas, Nevada, United States?
CREATE TABLE table_name_80 (round INTEGER, location VARCHAR, event VARCHAR)
SELECT MAX(round) FROM table_name_80 WHERE location = "las vegas, nevada, united states" AND event = "wec 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 7775, 3, 21342, 17966, 6, 1128, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1751, 16, 8, 101, 75, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 1128, 3274, 96, 521, 7, 3, 162, 5556, 6, 3, 29, 15, 16716, 6, 18279, 2315, 121, 3430, 605, 3274, 96, 1123, 75, 944, 121, 1, -100, -100, ...
What are the top 20 pop albums?
CREATE TABLE tags ( index number, id number, tag text ) CREATE TABLE torrents ( groupname text, totalsnatched number, artist text, groupyear number, releasetype text, groupid number, id number )
SELECT T2.groupname FROM torrents AS T2 JOIN tags AS T1 ON T1.id = T2.id WHERE T1.tag = "pop" AND T2.releasetype = "album" ORDER BY T2.totalsnatched DESC LIMIT 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 12391, 41, 5538, 381, 6, 3, 23, 26, 381, 6, 7860, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 23326, 7, 41, 563, 4350, 1499, 6, 792, 7, 29, 144, 4513, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 10739, 4350, 21680, 23326, 7, 6157, 332, 357, 3, 15355, 3162, 12391, 6157, 332, 536, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 23, 26, 549, 17444, 427, 332, 5411, 2408, 3274, 96, 9791, 121, 3430, 332, 441...
How many total credits are offered by each department. Show bar chart.
CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2), end_min numeric(2) ) CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slot_id varchar(4) )
SELECT dept_name, SUM(credits) FROM course GROUP BY dept_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4858, 41, 740, 3, 4331, 4059, 599, 1808, 201, 562, 834, 5525, 1152, 3, 4331, 4059, 24358, 6, 2614, 206, 17552, 599, 8525, 632, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20, 102, 17, 834, 4350, 6, 180, 6122, 599, 15547, 7, 61, 21680, 503, 350, 4630, 6880, 272, 476, 20, 102, 17, 834, 4350, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
rhabomyolysis
CREATE TABLE table_train_34 ( "id" int, "gender" string, "allergy_to_adhesive" bool, "contraception" bool, "use_of_cyclosporin" bool, "use_of_digoxin" bool, "liver_disease" bool, "rhabomyolysis" bool, "allergy_to_hydrocortisone" bool, "use_of_statins" bool, "NOUSE" float )
SELECT * FROM table_train_34 WHERE rhabomyolysis = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 3710, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 11211, 122, 63, 834, 235, 834, 9, 26, 88, 7, 757, 121, 3, 12840, 40, 6, 96, 1018, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 3710, 549, 17444, 427, 3, 52, 6111, 32, 2258, 32, 21091, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many patients born before the year 2058 have diagnosis short title as Stevens-Johnson-ten syn?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2058" AND diagnoses.short_title = "Stevens-Johnson-TEN syn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Who is the player with an average of 35.42?
CREATE TABLE table_28846752_13 (player VARCHAR, average VARCHAR)
SELECT player FROM table_28846752_13 WHERE average = "35.42"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4608, 3708, 5373, 834, 2368, 41, 20846, 584, 4280, 28027, 6, 1348, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 1959, 28, 46, 1348, 13, 3097, 5, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 2577, 4608, 3708, 5373, 834, 2368, 549, 17444, 427, 1348, 3274, 96, 2469, 5, 4165, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the pick number minimum if the player is Mark Bortz?
CREATE TABLE table_3233 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text )
SELECT MIN("Pick #") FROM table_3233 WHERE "Player" = 'Mark Bortz'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 4201, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 12619, 434, 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, 3, 17684, 599, 121, 345, 3142, 1713, 8512, 21680, 953, 834, 2668, 4201, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 19762, 1491, 25075, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the Provider that has a pay in 2006–, and a Transmission of iptv and digital terrestrial?
CREATE TABLE table_name_90 (provider VARCHAR, transmission VARCHAR, free_or_pay VARCHAR, years VARCHAR)
SELECT provider FROM table_name_90 WHERE free_or_pay = "pay" AND years = "2006–" AND transmission = "iptv and digital terrestrial"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 29189, 52, 584, 4280, 28027, 6, 5790, 584, 4280, 28027, 6, 339, 834, 127, 834, 8832, 584, 4280, 28027, 6, 203, 584, 4280, 28027, 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, 3175, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 339, 834, 127, 834, 8832, 3274, 96, 8832, 121, 3430, 203, 3274, 96, 21196, 104, 121, 3430, 5790, 3274, 96, 23, 102, 17, 208, 11, 1125, 31882, 121, 1, -100, ...
What is the score of the game on December 22?
CREATE TABLE table_name_81 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_81 WHERE date = "december 22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 467, 30, 1882, 1630, 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, 2604, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 1630, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the theme of the Year 2002 which was created by Artist Dan Fell?
CREATE TABLE table_52213 ( "Year" real, "Theme" text, "Artist" text, "Mintage" text, "Issue Price" text )
SELECT "Theme" FROM table_52213 WHERE "Year" = '2002' AND "Artist" = 'dan fell'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 357, 2368, 41, 96, 476, 2741, 121, 490, 6, 96, 634, 526, 121, 1499, 6, 96, 7754, 343, 121, 1499, 6, 96, 12858, 6505, 121, 1499, 6, 96, 196, 7, 7, 76, 15, 5312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 634, 526, 121, 21680, 953, 834, 5373, 357, 2368, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 24898, 31, 3430, 96, 7754, 343, 121, 3274, 3, 31, 3768, 4728, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
What is the Margin of victory when rhys davies was runner-up?
CREATE TABLE table_name_34 ( margin_of_victory VARCHAR, runner_s__up VARCHAR )
SELECT margin_of_victory FROM table_name_34 WHERE runner_s__up = "rhys davies"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 6346, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 6, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6346, 834, 858, 834, 7287, 10972, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 3, 10806, 834, 7, 834, 834, 413, 3274, 96, 52, 107, 63, 7, 836, 5914, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What district is bill thomas from?
CREATE TABLE table_1341453_7 ( district VARCHAR, incumbent VARCHAR )
SELECT district FROM table_1341453_7 WHERE incumbent = "Bill Thomas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2534, 4867, 834, 940, 41, 3939, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3939, 19, 2876, 3, 189, 32, 2754, 45, 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, 3939, 21680, 953, 834, 23747, 2534, 4867, 834, 940, 549, 17444, 427, 28406, 3274, 96, 279, 1092, 3576, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the party with first elected being 1926
CREATE TABLE table_1342256_6 ( party VARCHAR, first_elected VARCHAR )
SELECT party FROM table_1342256_6 WHERE first_elected = "1926"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4165, 19337, 834, 948, 41, 1088, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 1088, 28, 166, 8160, 271...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1088, 21680, 953, 834, 2368, 4165, 19337, 834, 948, 549, 17444, 427, 166, 834, 19971, 3274, 96, 2294, 2688, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's listed for the Label with a Date of 29 July 1997?
CREATE TABLE table_76203 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text )
SELECT "Label" FROM table_76203 WHERE "Date" = '29 july 1997'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 23330, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 2152, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 10333, 121, 21680, 953, 834, 3959, 23330, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 3166, 3, 2047, 120, 6622, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Find the name and building of the department with the highest budget.
CREATE TABLE department (dept_name VARCHAR, building VARCHAR, budget VARCHAR)
SELECT dept_name, building FROM department ORDER BY budget DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 26, 6707, 834, 4350, 584, 4280, 28027, 6, 740, 584, 4280, 28027, 6, 1487, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 564, 11, 740, 13, 8, 3066, 28, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 20, 102, 17, 834, 4350, 6, 740, 21680, 3066, 4674, 11300, 272, 476, 1487, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Find the names of procedures which physician John Wen was trained in.
CREATE TABLE trained_in ( physician VARCHAR, treatment VARCHAR ) CREATE TABLE physician ( employeeid VARCHAR, name VARCHAR ) CREATE TABLE procedures ( name VARCHAR, code VARCHAR )
SELECT T3.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment WHERE T1.name = "John Wen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4252, 834, 77, 41, 10027, 584, 4280, 28027, 6, 1058, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10027, 41, 3490, 23, 26, 584, 4280, 28027, 6, 564, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 4350, 21680, 10027, 6157, 332, 536, 3, 15355, 3162, 4252, 834, 77, 6157, 332, 357, 9191, 332, 5411, 15, 51, 7379, 63, 15, 15, 23, 26, 3274, 332, 4416, 6941, 7, 1294, 152, 3, 15355, 3162, 4293, 6157, 332...
who is the manufacturer for loris capirossi and ralf waldmann ?
CREATE TABLE table_203_244 ( id number, "pos" text, "rider" text, "manufacturer" text, "time/retired" text, "points" number )
SELECT "manufacturer" FROM table_203_244 WHERE "rider" IN ('loris capirossi', 'ralf waldmann')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 3628, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 1499, 6, 96, 4055, 49, 121, 1499, 6, 96, 348, 76, 8717, 450, 49, 121, 1499, 6, 96, 715, 87, 10682, 1271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 348, 76, 8717, 450, 49, 121, 21680, 953, 834, 23330, 834, 357, 3628, 549, 17444, 427, 96, 4055, 49, 121, 3388, 41, 31, 322, 159, 2468, 23, 1859, 7, 23, 31, 6, 3, 31, 4900, 89, 3, 11611, 2434, 31, 61, 1, ...
Find the name of scientists who are assigned to some project.
CREATE TABLE projects ( code text, name text, hours number ) CREATE TABLE scientists ( ssn number, name text ) CREATE TABLE assignedto ( scientist number, project text )
SELECT T2.name FROM assignedto AS T1 JOIN scientists AS T2 ON T1.scientist = T2.ssn
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1195, 41, 1081, 1499, 6, 564, 1499, 6, 716, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7004, 41, 3, 7, 7, 29, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 4350, 21680, 7604, 235, 6157, 332, 536, 3, 15355, 3162, 7004, 6157, 332, 357, 9191, 332, 5411, 17819, 343, 3274, 332, 4416, 7, 7, 29, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which opponent was played in Week 6?
CREATE TABLE table_name_26 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_26 WHERE week = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 32, 102, 9977, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 15264, 47, 1944, 16, 6551, 431, 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, 15264, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 471, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the number of patients whose procedure long title is combined right and left heart angiocardiography?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( 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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Combined right and left heart angiocardiography"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What were the results for November 24, 2002?
CREATE TABLE table_13875 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Result" FROM table_13875 WHERE "Date" = 'november 24, 2002'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22744, 3072, 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, 0, 0...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 22744, 3072, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 14320, 4407, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the author for peri and april 2010
CREATE TABLE table_1620397_2 (author VARCHAR, featuring VARCHAR, released VARCHAR)
SELECT author FROM table_1620397_2 WHERE featuring = "Peri" AND released = "April 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 23330, 4327, 834, 357, 41, 17415, 584, 4280, 28027, 6, 4767, 584, 4280, 28027, 6, 1883, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2291, 21, 3, 4267,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2291, 21680, 953, 834, 2938, 23330, 4327, 834, 357, 549, 17444, 427, 4767, 3274, 96, 12988, 23, 121, 3430, 1883, 3274, 96, 23323, 2735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...