NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Where is the Hometown that the person who attended Camarillo High School is from?
CREATE TABLE table_name_40 (hometown VARCHAR, school VARCHAR)
SELECT hometown FROM table_name_40 WHERE school = "camarillo high school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 5515, 3540, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 19, 8, 1210, 3540, 24, 8, 568, 113, 5526, 5184, 1665, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22295, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 496, 3274, 96, 658, 1635, 1092, 32, 306, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
who is the driver with the grid of 13?
CREATE TABLE table_name_84 ( driver VARCHAR, grid VARCHAR )
SELECT driver FROM table_name_84 WHERE grid = 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 2535, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 19, 8, 2535, 28, 8, 8634, 13, 1179, 58, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 8634, 3274, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many original air dates are there for the episode with code CA210?
CREATE TABLE table_25740548_3 (original_air_date VARCHAR, production_code VARCHAR)
SELECT COUNT(original_air_date) FROM table_25740548_3 WHERE production_code = "CA210"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4581, 3076, 3707, 834, 519, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 926, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 21878, 834, 2256, 834, 5522, 61, 21680, 953, 834, 1828, 4581, 3076, 3707, 834, 519, 549, 17444, 427, 999, 834, 4978, 3274, 96, 4490, 15239, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Return the official native languages of countries who have players from Maryland or Duke colleges.
CREATE TABLE country ( country_id number, country_name text, capital text, official_native_language text ) CREATE TABLE team ( team_id number, name text ) CREATE TABLE match_season ( season number, player text, position text, country number, team number, draft_pick_number number, draft_class text, college text ) CREATE TABLE player ( player_id number, player text, years_played text, total_wl text, singles_wl text, doubles_wl text, team number )
SELECT T1.official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.country_id = T2.country WHERE T2.college = "Maryland" OR T2.college = "Duke"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 684, 41, 684, 834, 23, 26, 381, 6, 684, 834, 4350, 1499, 6, 1784, 1499, 6, 2314, 834, 29, 1528, 834, 24925, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 372, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 20884, 834, 29, 1528, 834, 24925, 21680, 684, 6157, 332, 536, 3, 15355, 3162, 1588, 834, 9476, 6157, 332, 357, 9191, 332, 5411, 17529, 834, 23, 26, 3274, 332, 4416, 17529, 549, 17444, 427, 332, 4416, 3297, ...
How much money did Lucas Mancini spend?
CREATE TABLE tracks ( id number, name text, album_id number, media_type_id number, genre_id number, composer text, milliseconds number, bytes number, unit_price number ) CREATE TABLE customers ( id number, first_name text, last_name text, company text, address text, city text, state text, country text, postal_code text, phone text, fax text, email text, support_rep_id number ) CREATE TABLE sqlite_sequence ( name text, seq text ) CREATE TABLE media_types ( id number, name text ) CREATE TABLE playlist_tracks ( playlist_id number, track_id number ) CREATE TABLE genres ( id number, name text ) CREATE TABLE employees ( id number, last_name text, first_name text, title text, reports_to number, birth_date time, hire_date time, address text, city text, state text, country text, postal_code text, phone text, fax text, email text ) CREATE TABLE artists ( id number, name text ) CREATE TABLE albums ( id number, title text, artist_id number ) CREATE TABLE playlists ( id number, name text ) CREATE TABLE invoice_lines ( id number, invoice_id number, track_id number, unit_price number, quantity number ) CREATE TABLE invoices ( id number, customer_id number, invoice_date time, billing_address text, billing_city text, billing_state text, billing_country text, billing_postal_code text, total number )
SELECT SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "Lucas" AND T1.last_name = "Mancini"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6542, 41, 3, 23, 26, 381, 6, 564, 1499, 6, 2306, 834, 23, 26, 381, 6, 783, 834, 6137, 834, 23, 26, 381, 6, 5349, 834, 23, 26, 381, 6, 13075, 1499, 6, 3293, 23, 12091, 7, 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, 180, 6122, 599, 382, 4416, 235, 1947, 61, 21680, 722, 6157, 332, 536, 3, 15355, 3162, 10921, 7, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 25697, 49, 834, 23, 26, 549, 17444, 427, 332, 5411, 14672, ...
including each municipality how many km total are there ?
CREATE TABLE table_204_249 ( id number, "km" number, "municipality" text, "location" text, "interescting highway" text, "notes" text )
SELECT SUM("km") FROM table_204_249
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 3647, 41, 3, 23, 26, 381, 6, 96, 5848, 121, 381, 6, 96, 11760, 3389, 10355, 121, 1499, 6, 96, 14836, 121, 1499, 6, 96, 3870, 1579, 1222, 10367, 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, 180, 6122, 599, 121, 5848, 8512, 21680, 953, 834, 26363, 834, 357, 3647, 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,...
Give me a bar chart for the average of baseprice of each decor, and rank by the the average of baseprice in asc please.
CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER )
SELECT decor, AVG(basePrice) FROM Rooms GROUP BY decor ORDER BY AVG(basePrice)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4181, 7, 41, 4181, 196, 26, 3, 3463, 4, 382, 6, 562, 23954, 3, 3463, 4, 382, 6, 8326, 3, 21342, 17966, 6, 1953, 25160, 3, 3463, 4, 382, 6, 9858, 667, 75, 4658, 6833, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4469, 6, 71, 17217, 599, 10925, 345, 4920, 61, 21680, 4181, 7, 350, 4630, 6880, 272, 476, 4469, 4674, 11300, 272, 476, 71, 17217, 599, 10925, 345, 4920, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Bar chart x axis lot details y axis the number of lot details, and list by the Y-axis in desc please.
CREATE TABLE Transactions_Lots ( transaction_id INTEGER, lot_id INTEGER ) CREATE TABLE Lots ( lot_id INTEGER, investor_id INTEGER, lot_details VARCHAR(255) ) CREATE TABLE Purchases ( purchase_transaction_id INTEGER, purchase_details VARCHAR(255) ) CREATE TABLE Investors ( investor_id INTEGER, Investor_details VARCHAR(255) ) CREATE TABLE Transactions ( transaction_id INTEGER, investor_id INTEGER, transaction_type_code VARCHAR(10), date_of_transaction DATETIME, amount_of_transaction DECIMAL(19,4), share_count VARCHAR(40), other_details VARCHAR(255) ) CREATE TABLE Ref_Transaction_Types ( transaction_type_code VARCHAR(10), transaction_type_description VARCHAR(80) ) CREATE TABLE Sales ( sales_transaction_id INTEGER, sales_details VARCHAR(255) )
SELECT lot_details, COUNT(lot_details) FROM Lots GROUP BY lot_details ORDER BY COUNT(lot_details) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 21469, 7, 834, 434, 32, 17, 7, 41, 5878, 834, 23, 26, 3, 21342, 17966, 6, 418, 834, 23, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 14868, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 418, 834, 221, 5756, 7, 6, 2847, 17161, 599, 3171, 834, 221, 5756, 7, 61, 21680, 14868, 350, 4630, 6880, 272, 476, 418, 834, 221, 5756, 7, 4674, 11300, 272, 476, 2847, 17161, 599, 3171, 834, 221, 5756, 7, 61, 309,...
What country is Tom Purtzer from?
CREATE TABLE table_name_45 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_45 WHERE player = "tom purtzer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 17529, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 19, 3059, 7333, 17, 2558, 45, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 1959, 3274, 96, 235, 51, 3990, 17, 2558, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Lead Pitch/mm has a Part Number of tsop40, and a Body Length/mm larger than 18.4?
CREATE TABLE table_65822 ( "Part Number" text, "Pins" text, "Body Width/mm" real, "Body Length/mm" real, "Lead Pitch/mm" real )
SELECT MAX("Lead Pitch/mm") FROM table_65822 WHERE "Part Number" = 'tsop40' AND "Body Length/mm" > '18.4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 4613, 357, 41, 96, 13725, 7720, 121, 1499, 6, 96, 345, 77, 7, 121, 1499, 6, 96, 279, 9666, 2142, 26, 189, 87, 635, 121, 490, 6, 96, 279, 9666, 312, 1725, 189, 87,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 2796, 9, 26, 276, 7059, 87, 635, 8512, 21680, 953, 834, 4122, 4613, 357, 549, 17444, 427, 96, 13725, 7720, 121, 3274, 3, 31, 17, 7, 32, 102, 2445, 31, 3430, 96, 279, 9666, 312, 1725, 189, 87, ...
What was the score of Bernhard Langer after 3 rounds?
CREATE TABLE table_9165 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Score" FROM table_9165 WHERE "Player" = 'bernhard langer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4729, 4122, 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, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 4729, 4122, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 1152, 29, 5651, 6575, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the mean vertical relief in feet when the Peak Name is Tower near mead wood road entrance and the elevation in feet is more than 1,410?
CREATE TABLE table_7247 ( "Rank" real, "Park" text, "Location" text, "Peak Name" text, "Elevation (ft)" real, "Minimum Elevation (ft)" text, "Vertical Relief (ft)" real )
SELECT AVG("Vertical Relief (ft)") FROM table_7247 WHERE "Peak Name" = 'tower near mead wood road entrance' AND "Elevation (ft)" > '1,410'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 4177, 41, 96, 22557, 121, 490, 6, 96, 26163, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 345, 15, 1639, 5570, 121, 1499, 6, 96, 427, 10912, 257, 41, 89,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 5000, 17, 1950, 26743, 41, 89, 17, 61, 8512, 21680, 953, 834, 5865, 4177, 549, 17444, 427, 96, 345, 15, 1639, 5570, 121, 3274, 3, 31, 235, 3321, 1084, 140, 9, 26, 1679, 1373, 6143, 31, 3430, ...
What is the win% for the game 80 and a PWin% of , and a Term [c ] of 1987 1988?
CREATE TABLE table_69973 ( "Name [b ]" text, "Term [c ]" text, "Games" real, "Win%" real, "PWin%" text )
SELECT "Win%" FROM table_69973 WHERE "Games" = '80' AND "PWin%" = '—' AND "Term [c ]" = '1987–1988'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 4327, 519, 41, 96, 23954, 784, 115, 3, 908, 121, 1499, 6, 96, 11679, 784, 75, 3, 908, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 18455, 1454, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 1454, 121, 21680, 953, 834, 3951, 4327, 519, 549, 17444, 427, 96, 23055, 7, 121, 3274, 3, 31, 2079, 31, 3430, 96, 345, 18455, 1454, 121, 3274, 3, 31, 318, 31, 3430, 96, 11679, 784, 75, 3, 908, 121, 32...
Name the country for 37.23 1985
CREATE TABLE table_24749 ( "Country" text, "Area (000s)" text, "1950 (mil)" text, "1970 (mil)" text, "1980 (mil)" text, "1985 (mil)" text, "Annual Growth (1950\u20131985)" text, "Density (1980)" text )
SELECT "Country" FROM table_24749 WHERE "1985 (mil)" = '37.23'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4177, 3647, 41, 96, 10628, 651, 121, 1499, 6, 96, 188, 864, 41, 2313, 7, 61, 121, 1499, 6, 96, 2294, 1752, 41, 51, 173, 61, 121, 1499, 6, 96, 2294, 2518, 41, 51, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 4177, 3647, 549, 17444, 427, 96, 2294, 4433, 41, 51, 173, 61, 121, 3274, 3, 31, 4118, 5, 2773, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Staying councillors have a New council of 7, and a Previous council larger than 8?
CREATE TABLE table_name_22 (staying_councillors INTEGER, new_council VARCHAR, previous_council VARCHAR)
SELECT AVG(staying_councillors) FROM table_name_22 WHERE new_council = 7 AND previous_council > 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 21545, 53, 834, 509, 15254, 40, 322, 7, 3, 21342, 17966, 6, 126, 834, 509, 15254, 40, 584, 4280, 28027, 6, 1767, 834, 509, 15254, 40, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 21545, 53, 834, 509, 15254, 40, 322, 7, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 126, 834, 509, 15254, 40, 3274, 489, 3430, 1767, 834, 509, 15254, 40, 2490, 505, 1, -100, -100, -100, ...
when does the train arriving at bourne at 11.45 departure
CREATE TABLE table_18333678_2 ( departure VARCHAR, going_to VARCHAR, arrival VARCHAR )
SELECT departure FROM table_18333678_2 WHERE going_to = "Bourne" AND arrival = "11.45"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 4201, 3420, 3940, 834, 357, 41, 12028, 584, 4280, 28027, 6, 352, 834, 235, 584, 4280, 28027, 6, 6870, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 116, 405, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12028, 21680, 953, 834, 2606, 4201, 3420, 3940, 834, 357, 549, 17444, 427, 352, 834, 235, 3274, 96, 279, 1211, 29, 15, 121, 3430, 6870, 3274, 96, 10032, 2128, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many divisions were listed in 2006?
CREATE TABLE table_1243601_1 ( division VARCHAR, year VARCHAR )
SELECT COUNT(division) FROM table_1243601_1 WHERE year = "2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22504, 19208, 536, 834, 536, 41, 4889, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4889, 7, 130, 2616, 16, 3581, 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, 2847, 17161, 599, 26, 23, 6610, 61, 21680, 953, 834, 22504, 19208, 536, 834, 536, 549, 17444, 427, 215, 3274, 96, 21196, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the province where the soccer statium is terrain #2 of complexe sportif claude-robillard?
CREATE TABLE table_29454 ( "University" text, "Varsity Name" text, "City" text, "Province" text, "Founded" real, "Soccer Stadium" text, "Stadium Capacity" real )
SELECT "Province" FROM table_29454 WHERE "Soccer Stadium" = 'terrain #2 of Complexe sportif Claude-Robillard'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2128, 591, 41, 96, 8313, 485, 121, 1499, 6, 96, 553, 291, 7, 485, 5570, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 20100, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3174, 2494, 565, 121, 21680, 953, 834, 3166, 2128, 591, 549, 17444, 427, 96, 134, 13377, 49, 12750, 121, 3274, 3, 31, 12829, 77, 15493, 13, 16926, 15, 23680, 3, 19298, 18, 24372, 23854, 31, 1, -100, -100, -100, ...
Which Venue has an Event of marathon, and a Year larger than 1995, and a Position of 4th?
CREATE TABLE table_name_94 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)
SELECT venue FROM table_name_94 WHERE event = "marathon" AND year > 1995 AND position = "4th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 15098, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 29940, 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, 5669, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 605, 3274, 96, 1635, 24718, 121, 3430, 215, 2490, 7273, 3430, 1102, 3274, 96, 591, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what are the five most frequent procedures performed in 2101?
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) 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 diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE STRFTIME('%y', treatment.treatmenttime) = '2101' GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2179, 9339, 41, 2179, 521, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1543, 3585, 1499, 6, 9329, 1499, 6, 1543, 4914, 29, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 26889, 4350, 21680, 41, 23143, 14196, 1058, 5, 26889, 4350, 6, 3, 22284, 4132, 834, 16375, 439, 9960, 3, 23288, 41, 2990, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 61, 6157, 3, 75, 536, ...
Who was the opponent when the Seattle Seahawks had a record of 0-1?
CREATE TABLE table_80098 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text )
SELECT "Opponent" FROM table_80098 WHERE "Record" = '0-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6192, 3916, 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, 23055, 353, 121, 1499, 6, 96, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 6192, 3916, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 632, 2292, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the club from Vila Do Conde?
CREATE TABLE table_name_61 (club VARCHAR, city VARCHAR)
SELECT club FROM table_name_61 WHERE city = "vila do conde"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 13442, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1886, 45, 21340, 9, 531, 1193, 221, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1886, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 690, 3274, 96, 6372, 9, 103, 975, 221, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the admission time and procedure icd9 code of the patient id 17772?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.admittime, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "17772"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 20466, 17, 715, 6, 4293, 5, 447, 26, 1298, 834, 4978, 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,...
Find the name of the user who tweeted more than once, and number of tweets tweeted by them.
CREATE TABLE follows ( f1 number, f2 number ) CREATE TABLE user_profiles ( uid number, name text, email text, partitionid number, followers number ) CREATE TABLE tweets ( id number, uid number, text text, createdate time )
SELECT T1.name, COUNT(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid HAVING COUNT(*) > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6963, 41, 3, 89, 536, 381, 6, 3, 89, 357, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1139, 834, 18816, 7, 41, 3, 76, 23, 26, 381, 6, 564, 1499, 6, 791, 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, 332, 5411, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 1139, 834, 18816, 7, 6157, 332, 536, 3, 15355, 3162, 10657, 7, 6157, 332, 357, 9191, 332, 5411, 76, 23, 26, 3274, 332, 4416, 76, 23, 26, 350, 4630, 6880, 272,...
Name the number of regular season for 2007
CREATE TABLE table_2361788_1 ( regular_season VARCHAR, year VARCHAR )
SELECT COUNT(regular_season) FROM table_2361788_1 WHERE year = 2007
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 2517, 4060, 834, 536, 41, 1646, 834, 9476, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 1646, 774, 21, 410...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 60, 122, 4885, 834, 9476, 61, 21680, 953, 834, 357, 3420, 2517, 4060, 834, 536, 549, 17444, 427, 215, 3274, 4101, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which performance was last on this album ?
CREATE TABLE table_204_906 ( id number, "#" number, "title" text, "songwriters" text, "producer(s)" text, "performer" text )
SELECT "title" FROM table_204_906 ORDER BY "#" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2394, 948, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 21101, 7, 121, 1499, 6, 96, 1409, 4817, 49, 599, 7, 61, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21869, 121, 21680, 953, 834, 26363, 834, 2394, 948, 4674, 11300, 272, 476, 96, 4663, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is 's English title?
CREATE TABLE table_60267 ( "Album#" text, "English Title" text, "Chinese (Traditional)" text, "Chinese (Simplified)" text, "Release date" text, "Label" text )
SELECT "English Title" FROM table_60267 WHERE "Chinese (Simplified)" = '你 朋友'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 357, 3708, 41, 96, 25691, 440, 4663, 121, 1499, 6, 96, 26749, 11029, 121, 1499, 6, 96, 3541, 4477, 15, 41, 9402, 10569, 138, 61, 121, 1499, 6, 96, 3541, 4477, 15, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 26749, 11029, 121, 21680, 953, 834, 3328, 357, 3708, 549, 17444, 427, 96, 3541, 4477, 15, 41, 134, 10296, 3676, 61, 121, 3274, 3, 31, 2, 3, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who won the Gold Medal in Moscow after the year 1982?
CREATE TABLE table_name_55 (gold VARCHAR, year VARCHAR, place VARCHAR)
SELECT gold FROM table_name_55 WHERE year > 1982 AND place = "moscow"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 14910, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 751, 8, 2540, 20002, 16, 15363, 227...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2045, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 215, 2490, 14505, 3430, 286, 3274, 96, 3972, 509, 210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the number of laps completed by the car in grid 10?
CREATE TABLE table_name_19 ( laps VARCHAR, grid VARCHAR )
SELECT laps FROM table_name_19 WHERE grid = "10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 14941, 7, 2012, 57, 8, 443, 16, 863...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14941, 7, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 8634, 3274, 96, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When did episode number 6 air?
CREATE TABLE table_24399615_5 ( airdate VARCHAR, episode_no VARCHAR )
SELECT airdate FROM table_24399615_5 WHERE episode_no = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3288, 4314, 1808, 834, 755, 41, 799, 5522, 584, 4280, 28027, 6, 5640, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 5640, 381, 431, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 799, 5522, 21680, 953, 834, 2266, 3288, 4314, 1808, 834, 755, 549, 17444, 427, 5640, 834, 29, 32, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
which opponent comes before usc ?
CREATE TABLE table_204_294 ( id number, "date" text, "time" text, "opponent#" text, "rank#" text, "site" text, "tv" text, "result" text, "attendance" number )
SELECT "opponent#" FROM table_204_294 WHERE "date" < (SELECT "date" FROM table_204_294 WHERE "opponent#" = 'usc') ORDER BY "date" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 4240, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 32, 102, 9977, 4663, 121, 1499, 6, 96, 6254, 4663, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 32, 102, 9977, 4663, 121, 21680, 953, 834, 26363, 834, 357, 4240, 549, 17444, 427, 96, 5522, 121, 3, 2, 41, 23143, 14196, 96, 5522, 121, 21680, 953, 834, 26363, 834, 357, 4240, 549, 17444, 427, 96, 32, 102, 99...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by weekday.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) )
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 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, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, ...
How many times did Fiji win r1?
CREATE TABLE table_18812411_3 (r1 VARCHAR, country VARCHAR)
SELECT COUNT(r1) FROM table_18812411_3 WHERE country = "Fiji"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25794, 22504, 2596, 834, 519, 41, 52, 536, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 410, 377, 17279, 1369, 3, 52, 536, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 52, 6982, 21680, 953, 834, 25794, 22504, 2596, 834, 519, 549, 17444, 427, 684, 3274, 96, 371, 17279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many starts were there when the winnings are $690,321?
CREATE TABLE table_1875157_2 ( starts INTEGER, winnings VARCHAR )
SELECT MIN(starts) FROM table_1875157_2 WHERE winnings = "$690,321"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3072, 27452, 834, 357, 41, 3511, 3, 21342, 17966, 6, 3447, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3511, 130, 132, 116, 8, 3447, 7, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 10208, 7, 61, 21680, 953, 834, 2606, 3072, 27452, 834, 357, 549, 17444, 427, 3447, 7, 3274, 96, 3229, 948, 2394, 6, 519, 2658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the tournament when 2011 is a, 2009 is lq and 2012 is 1r?
CREATE TABLE table_name_65 (tournament VARCHAR)
SELECT tournament FROM table_name_65 WHERE 2011 = "a" AND 2009 = "lq" AND 2012 = "1r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 5892, 116, 2722, 19, 3, 9, 6, 2464, 19, 3, 40, 1824, 11, 1673, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 2722, 3274, 96, 9, 121, 3430, 2464, 3274, 96, 40, 1824, 121, 3430, 1673, 3274, 96, 536, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
report the number of patients admitted before 2173 who had calculated bicarbonate, whole blood lab test done.
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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2173" AND lab.label = "Calculated Bicarbonate, Whole Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What date was Richmond the away team?
CREATE TABLE table_name_28 ( date VARCHAR, away_team VARCHAR )
SELECT date FROM table_name_28 WHERE away_team = "richmond"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 833, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 17247, 8, 550, 372, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 550, 834, 11650, 3274, 96, 3723, 6764, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the season won by John Rhode?
CREATE TABLE table_name_75 (name VARCHAR, the_biggest_loser VARCHAR)
SELECT name FROM table_name_75 WHERE the_biggest_loser = "john rhode"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 4350, 584, 4280, 28027, 6, 8, 834, 12911, 122, 222, 834, 2298, 49, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 774, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 8, 834, 12911, 122, 222, 834, 2298, 49, 3274, 96, 27341, 3, 52, 107, 32, 221, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Pekovi , and when Rank is less than 4?
CREATE TABLE table_40604 ( "Rank" real, "Name" text, "Team" text, "Games" real, "Rebounds" real )
SELECT MAX("Games") FROM table_40604 WHERE "Rebounds" > '100' AND "Name" = 'nikola peković' AND "Rank" < '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 3328, 591, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 1649, 6115, 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, 23055, 7, 8512, 21680, 953, 834, 2445, 3328, 591, 549, 17444, 427, 96, 1649, 6115, 7, 121, 2490, 3, 31, 2915, 31, 3430, 96, 23954, 121, 3274, 3, 31, 4953, 32, 521, 158, 9789, 23, 2, 31, 3430, ...
Which nominating festival did Russia enter?
CREATE TABLE table_name_12 (nominating_festival VARCHAR, country VARCHAR)
SELECT nominating_festival FROM table_name_12 WHERE country = "russia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 3114, 77, 1014, 834, 89, 24742, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 150, 1109, 1014, 3994, 410, 4623, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 150, 1109, 1014, 834, 89, 24742, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 684, 3274, 96, 26165, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What episode number of the season was written by Tom Garrigus and had 2.31 million u.s. viewers?
CREATE TABLE table_3959 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT MAX("Season #") FROM table_3959 WHERE "U.S. viewers (million)" = '2.31' AND "Written by" = 'Tom Garrigus'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 3390, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 249...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 134, 15, 9, 739, 1713, 8512, 21680, 953, 834, 3288, 3390, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 61, 121, 3274, 3, 31, 18561, 536, 31, 3430, 96, 24965, 324, 57, 121, 3274, 3, ...
What is Argentina's language?
CREATE TABLE table_71120 ( "Country" text, "Film title used in nomination" text, "Language" text, "Original title" text, "Director" text )
SELECT "Language" FROM table_71120 WHERE "Country" = 'argentina'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 15518, 41, 96, 10628, 651, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 1468, 76, 545, 121, 21680, 953, 834, 4450, 15518, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 9917, 77, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the record of the match against Chris Mounce?
CREATE TABLE table_name_96 ( record VARCHAR, opponent VARCHAR )
SELECT record FROM table_name_96 WHERE opponent = "chris mounce"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 1368, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 13, 8, 1588, 581, 4409, 283, 7906, 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, 1368, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 15264, 3274, 96, 524, 52, 159, 3, 51, 7906, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
hyperlipidemia ( fasting total cholesterol > 240 mg / dl and / or fasting triglycerides > 200 mg / dl and / or fasting ldl cholesterol > 140 mg / dl ) ;
CREATE TABLE table_train_248 ( "id" int, "anemia" bool, "prostate_specific_antigen_psa" float, "hemoglobin_a1c_hba1c" float, "body_weight" float, "fasting_triglycerides" int, "hyperlipidemia" bool, "hgb" int, "fasting_total_cholesterol" int, "fasting_ldl_cholesterol" int, "body_mass_index_bmi" float, "NOUSE" float )
SELECT * FROM table_train_248 WHERE hyperlipidemia = 1 OR (fasting_total_cholesterol > 240 OR fasting_triglycerides > 200 OR fasting_ldl_cholesterol > 140)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 357, 3707, 41, 96, 23, 26, 121, 16, 17, 6, 96, 152, 11658, 121, 3, 12840, 40, 6, 96, 1409, 5540, 834, 9500, 834, 288, 2211, 834, 102, 7, 9, 121, 3, 12660, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 357, 3707, 549, 17444, 427, 6676, 19437, 11658, 3274, 209, 4674, 41, 11584, 53, 834, 235, 1947, 834, 14297, 2613, 3491, 2490, 3, 11944, 4674, 1006, 53, 834, 17, 3380, 120, 2110, 9361,...
What was the result of Sopot (pol)?
CREATE TABLE table_name_33 ( result VARCHAR, location VARCHAR )
SELECT result FROM table_name_33 WHERE location = "sopot (pol)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 741, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 264, 3013, 41, 3233, 61, 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, 741, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 1128, 3274, 96, 7, 32, 3013, 41, 3233, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHICH Yacht type has a Corrected time 2:13:04:48?
CREATE TABLE table_36480 ( "Position" real, "Sail number" text, "Yacht" text, "State/country" text, "Yacht type" text, "LOA (Metres)" real, "Skipper" text, "Corrected time d:hh:mm:ss" text )
SELECT "Yacht type" FROM table_36480 WHERE "Corrected time d:hh:mm:ss" = '2:13:04:48'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 20579, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 134, 9, 173, 381, 121, 1499, 6, 96, 476, 9, 3997, 121, 1499, 6, 96, 134, 4748, 87, 17529, 121, 1499, 6, 96, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 9, 3997, 686, 121, 21680, 953, 834, 3420, 20579, 549, 17444, 427, 96, 13026, 52, 7633, 97, 3, 26, 10, 107, 107, 10, 635, 10, 7, 7, 121, 3274, 3, 31, 357, 10, 2368, 10, 6348, 10, 3707, 31, 1, -100, -...
What's the average L/km combines when the L/100km Urban is 13.9, the mpg-UK combined is more than 28.5 and the mpg-UK extra urban is less than 38.7?
CREATE TABLE table_66547 ( "Manufacturer" text, "Transmission" text, "Engine Capacity" real, "Fuel Type" text, "L/100km Urban (Cold)" real, "L/100km Extra-Urban" real, "L/100km Combined" real, "mpg-UK Urban (Cold)" real, "mpg-UK Extra-Urban" real, "mpg-UK Combined" real, "mpg-US Urban" real, "mpg-US Extra-Urban" real, "mpg-US Combined" real, "CO 2 g/km" real, "Green Rating" text )
SELECT AVG("L/100km Combined") FROM table_66547 WHERE "L/100km Urban (Cold)" = '13.9' AND "mpg-UK Combined" > '28.5' AND "mpg-UK Extra-Urban" < '38.7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 755, 4177, 41, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 18474, 5451, 121, 1499, 6, 96, 31477, 4000, 9, 6726, 121, 490, 6, 96, 371, 76, 15, 40, 6632, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 434, 87, 2915, 5848, 3, 28257, 8512, 21680, 953, 834, 3539, 755, 4177, 549, 17444, 427, 96, 434, 87, 2915, 5848, 10127, 41, 9939, 26, 61, 121, 3274, 3, 31, 536, 28640, 31, 3430, 96, 1167, 122,...
What classifications does Fish Rap live! has?
CREATE TABLE table_25236 ( "Title" text, "Language" text, "Country" text, "Years published" text, "Frequency" text, "Medium" text, "Classification" text )
SELECT "Classification" FROM table_25236 WHERE "Title" = 'Fish Rap Live!'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 357, 3420, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 434, 1468, 76, 545, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 7, 1790, 121, 1499, 6, 96, 371,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21486, 2420, 121, 21680, 953, 834, 1828, 357, 3420, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 371, 1273, 15052, 3306, 55, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many FA cups were there without any league cups, but a total of 0 2?
CREATE TABLE table_name_3 (fa_cup INTEGER, total VARCHAR, league_cup VARCHAR)
SELECT MIN(fa_cup) FROM table_name_3 WHERE total = "0 2" AND league_cup < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 89, 9, 834, 4658, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 5533, 834, 4658, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8536, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 89, 9, 834, 4658, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 792, 3274, 96, 632, 204, 121, 3430, 5533, 834, 4658, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the dominant religion in 2002 for the population of 2337 in 2011?
CREATE TABLE table_2562572_54 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)
SELECT dominant_religion__2002_ FROM table_2562572_54 WHERE population__2011_ = 2337
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 1828, 5865, 834, 5062, 41, 5012, 77, 288, 834, 60, 2825, 23, 106, 834, 834, 24898, 834, 584, 4280, 28027, 6, 2074, 834, 834, 13907, 834, 584, 4280, 28027, 61, 3, 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, 0...
[ 3, 23143, 14196, 12613, 834, 60, 2825, 23, 106, 834, 834, 24898, 834, 21680, 953, 834, 19337, 1828, 5865, 834, 5062, 549, 17444, 427, 2074, 834, 834, 13907, 834, 3274, 1902, 4118, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the venue on 14 november 1998?
CREATE TABLE table_63098 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real )
SELECT "Venue" FROM table_63098 WHERE "Date" = '14 november 1998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26106, 3916, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 26106, 3916, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2534, 3, 5326, 18247, 6260, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the number of documents in different ending date. Bin ending date by weekday and group by location code with a stacked bar chart.
CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description VARCHAR(255) ) CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DATETIME, Date_in_Locaton_To DATETIME ) CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) )
SELECT Date_in_Locaton_To, COUNT(Date_in_Locaton_To) FROM Document_Locations GROUP BY Location_Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 7, 834, 235, 834, 346, 834, 2962, 6626, 10093, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 2973, 26853, 834, 23602, 127, 3375, 834, 969, 834, 427, 51, 7379, 63, 15, 15, 834, 430...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 77, 834, 434, 32, 2138, 106, 834, 3696, 6, 2847, 17161, 599, 308, 342, 834, 77, 834, 434, 32, 2138, 106, 834, 3696, 61, 21680, 11167, 834, 434, 32, 75, 1628, 350, 4630, 6880, 272, 476, 10450, 834, 22737...
Which nationality's distance was 200m and had a year more recent than 1994 when the record was 33.778s?
CREATE TABLE table_35248 ( "Distance" text, "Event" text, "Record" text, "Nationality" text, "Year" real, "Location" text )
SELECT "Nationality" FROM table_35248 WHERE "Distance" = '200m' AND "Year" > '1994' AND "Record" = '33.778s'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 357, 3707, 41, 96, 308, 23, 8389, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 476, 2741, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24732, 485, 121, 21680, 953, 834, 2469, 357, 3707, 549, 17444, 427, 96, 308, 23, 8389, 121, 3274, 3, 31, 3632, 51, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 2294, 4240, 31, 3430, 96, 1649, 7621, 121, 3274, ...
Who was eliminated when immunity went to kent (j rgen)?
CREATE TABLE table_27262 ( "Air date" text, "Reward" text, "Immunity" text, "Eliminated" text, "Vote" text, "Finish" text )
SELECT "Eliminated" FROM table_27262 WHERE "Immunity" = 'Kent (Jürgen)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2688, 357, 41, 96, 20162, 833, 121, 1499, 6, 96, 1649, 2239, 121, 1499, 6, 96, 196, 635, 202, 485, 121, 1499, 6, 96, 427, 4941, 77, 920, 121, 1499, 6, 96, 553, 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, 96, 427, 4941, 77, 920, 121, 21680, 953, 834, 2555, 2688, 357, 549, 17444, 427, 96, 196, 635, 202, 485, 121, 3274, 3, 31, 439, 295, 41, 683, 4087, 729, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest week that has carolina panthers as the opponent?
CREATE TABLE table_13788 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT MAX("Week") FROM table_13788 WHERE "Opponent" = 'carolina panthers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24636, 4060, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 518, 10266, 8512, 21680, 953, 834, 24636, 4060, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 1720, 12057, 9, 2131, 189, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the cyrillic name other names for the settlement of debelja a?
CREATE TABLE table_27876 ( "Settlement" text, "Cyrillic Name Other Names" text, "Type" text, "Population (2011)" real, "Largest ethnic group (2002)" text, "Dominant religion (2002)" text )
SELECT "Cyrillic Name Other Names" FROM table_27876 WHERE "Settlement" = 'Debeljača'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3940, 3959, 41, 96, 17175, 17, 3335, 121, 1499, 6, 96, 254, 63, 52, 173, 2176, 5570, 2502, 5570, 7, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 27773, 7830, 25163, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 254, 63, 52, 173, 2176, 5570, 2502, 5570, 7, 121, 21680, 953, 834, 357, 3940, 3959, 549, 17444, 427, 96, 17175, 17, 3335, 121, 3274, 3, 31, 2962, 2370, 1191, 2, 9, 31, 1, -100, -100, -100, -100, -100, -100, ...
Which away team played against the home team that scored 8.8 (56)?
CREATE TABLE table_58130 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_58130 WHERE "Away team score" = '8.8 (56)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 21448, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 3449, 21448, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 927, 5, 927, 9209, 10938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which rank has a team of Suzuki with under 16 points?
CREATE TABLE table_name_96 (rank VARCHAR, team VARCHAR, points VARCHAR)
SELECT rank FROM table_name_96 WHERE team = "suzuki" AND points < 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 6254, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11003, 65, 3, 9, 372, 13, 26855, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 372, 3274, 96, 7, 76, 1000, 2168, 121, 3430, 979, 3, 2, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the maximum number of picks for the CFL team Calgary Stampeders?
CREATE TABLE table_10975034_4 ( pick__number INTEGER, cfl_team VARCHAR )
SELECT MAX(pick__number) FROM table_10975034_4 WHERE cfl_team = "Calgary Stampeders"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 9979, 3710, 834, 591, 41, 1432, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 3, 75, 89, 40, 834, 11650, 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, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 17304, 9979, 3710, 834, 591, 549, 17444, 427, 3, 75, 89, 40, 834, 11650, 3274, 96, 14318, 1478, 63, 18331, 15, 588, 7, 121, 1, -100, -100, -100, -100...
Julio Robledo represents which country?
CREATE TABLE table_name_55 ( country VARCHAR, director_s_ VARCHAR )
SELECT country FROM table_name_55 WHERE director_s_ = "julio robledo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 684, 584, 4280, 28027, 6, 2090, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 9983, 32, 5376, 1361, 32, 5475, 84, 684, 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, 684, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 2090, 834, 7, 834, 3274, 96, 354, 83, 23, 32, 3, 5840, 1361, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was the first election in the district whose election now was won by Ron Kind?
CREATE TABLE table_18135 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text )
SELECT MIN("First elected") FROM table_18135 WHERE "Incumbent" = 'Ron Kind'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 536, 2469, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25171, 8160, 8512, 21680, 953, 834, 2606, 536, 2469, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 448, 106, 6557, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How tall is the player jones, major major jones?
CREATE TABLE table_72223 ( "Player" text, "No.(s)" text, "Height in Ft." text, "Position" text, "Years for Rockets" text, "School/Club Team/Country" text )
SELECT "Height in Ft." FROM table_72223 WHERE "Player" = 'Jones, Major Major Jones'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 357, 2773, 41, 96, 15800, 49, 121, 1499, 6, 96, 4168, 5, 599, 7, 61, 121, 1499, 6, 96, 3845, 2632, 16, 377, 17, 535, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3845, 2632, 16, 377, 17, 535, 21680, 953, 834, 5865, 357, 2773, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 683, 782, 7, 6, 9236, 9236, 6193, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
return me the homepage of the VLDB conference .
CREATE TABLE conference ( cid int, homepage varchar, name varchar ) CREATE TABLE domain_author ( aid int, did int ) CREATE TABLE publication ( abstract varchar, cid int, citation_num int, jid int, pid int, reference_num int, title varchar, year int ) CREATE TABLE domain_keyword ( did int, kid int ) CREATE TABLE author ( aid int, homepage varchar, name varchar, oid int ) CREATE TABLE keyword ( keyword varchar, kid int ) CREATE TABLE domain_conference ( cid int, did int ) CREATE TABLE cite ( cited int, citing int ) CREATE TABLE publication_keyword ( kid int, pid int ) CREATE TABLE domain_journal ( did int, jid int ) CREATE TABLE writes ( aid int, pid int ) CREATE TABLE domain ( did int, name varchar ) CREATE TABLE organization ( continent varchar, homepage varchar, name varchar, oid int ) CREATE TABLE domain_publication ( did int, pid int ) CREATE TABLE journal ( homepage varchar, jid int, name varchar )
SELECT homepage FROM conference WHERE name = 'VLDB'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2542, 41, 3, 10812, 16, 17, 6, 22844, 3, 4331, 4059, 6, 564, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3303, 834, 17415, 41, 3052, 16, 17, 6, 410, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 22844, 21680, 2542, 549, 17444, 427, 564, 3274, 3, 31, 553, 9815, 279, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How much Against has Losses smaller than 7, and a Wimmera FL of horsham?
CREATE TABLE table_name_66 ( against INTEGER, losses VARCHAR, wimmera_fl VARCHAR )
SELECT SUM(against) FROM table_name_66 WHERE losses < 7 AND wimmera_fl = "horsham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 581, 3, 21342, 17966, 6, 8467, 584, 4280, 28027, 6, 3, 210, 12174, 9, 834, 89, 40, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 8467, 3, 2, 489, 3430, 3, 210, 12174, 9, 834, 89, 40, 3274, 96, 107, 127, 7, 1483, 121, 1, -100, -100, -100, -100, -100, ...
What is the average Industry, when Agriculture is greater than 11?
CREATE TABLE table_44112 ( "Year" real, "Regional GVA" real, "Agriculture" real, "Industry" real, "Services" real )
SELECT AVG("Industry") FROM table_44112 WHERE "Agriculture" > '11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 2596, 357, 41, 96, 476, 2741, 121, 490, 6, 96, 17748, 6318, 350, 8230, 121, 490, 6, 96, 188, 3496, 10547, 121, 490, 6, 96, 1570, 8655, 8224, 121, 490, 6, 96, 15260,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1570, 8655, 8224, 8512, 21680, 953, 834, 3628, 2596, 357, 549, 17444, 427, 96, 188, 3496, 10547, 121, 2490, 3, 31, 2596, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
During the voting order 11, when the commentator was pierre tchernia, who was the spokesperson?
CREATE TABLE table_name_7 (spokespersons VARCHAR, commentator VARCHAR, voting_order VARCHAR)
SELECT spokespersons FROM table_name_7 WHERE commentator = "pierre tchernia" AND voting_order = 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 7990, 7735, 6075, 7, 584, 4280, 28027, 6, 1670, 1016, 584, 4280, 28027, 6, 10601, 834, 9397, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 2092,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 23909, 7, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1670, 1016, 3274, 96, 8343, 60, 3, 17, 1703, 29, 23, 9, 121, 3430, 10601, 834, 9397, 3274, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the average tonnage for Beatus, raided on 18 October 1940?
CREATE TABLE table_8360 ( "Date" text, "Name of ship" text, "Nationality" text, "Tonnage" real, "Fate" text )
SELECT AVG("Tonnage") FROM table_8360 WHERE "Date" = '18 october 1940' AND "Name of ship" = 'beatus'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4591, 3328, 41, 96, 308, 342, 121, 1499, 6, 96, 23954, 13, 4383, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 382, 106, 9761, 121, 490, 6, 96, 371, 342, 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, 71, 17217, 599, 121, 382, 106, 9761, 8512, 21680, 953, 834, 4591, 3328, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2606, 3, 32, 75, 235, 1152, 15830, 31, 3430, 96, 23954, 13, 4383, 121, 3274, 3, 31, 12745, ...
What is the average number of events having 1 top-10, fewer than 4 cuts made, and 0 wins?
CREATE TABLE table_41730 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real )
SELECT AVG("Events") FROM table_41730 WHERE "Top-10" = '1' AND "Wins" > '0' AND "Cuts made" < '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2517, 1458, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 18, 17395, 490, 6, 96, 22481, 4536, 121, 490, 6, 96, 22481, 14855, 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, 427, 2169, 7, 8512, 21680, 953, 834, 591, 2517, 1458, 549, 17444, 427, 96, 22481, 4536, 121, 3274, 3, 31, 536, 31, 3430, 96, 18455, 7, 121, 2490, 3, 31, 632, 31, 3430, 96, 15784, 17, 7, 263,...
what is primary disease and procedure short title of subject id 4342?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.diagnosis, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "4342"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 25930, 4844, 159, 6, 4293, 5, 7, 14184, 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...
What are the engines for 1983?
CREATE TABLE table_name_19 (engine_s_ VARCHAR, year VARCHAR)
SELECT engine_s_ FROM table_name_19 WHERE year = 1983
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 20165, 834, 7, 834, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 7277, 21, 15041, 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, 1948, 834, 7, 834, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 215, 3274, 15041, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What time was the highest for 2nd finishers?
CREATE TABLE table_10021158_3 (Id VARCHAR)
SELECT MAX(2 AS nd) FROM table_10021158_3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 2658, 26556, 834, 519, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 97, 47, 8, 2030, 21, 204, 727, 1992, 277, 58, 1, 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, 4800, 4, 599, 357, 6157, 3, 727, 61, 21680, 953, 834, 2915, 2658, 26556, 834, 519, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Return a bar chart on what are the name and assets of each company, sorted in ascending order of company name?
CREATE TABLE buildings ( id int, name text, City text, Height int, Stories int, Status text ) CREATE TABLE Office_locations ( building_id int, company_id int, move_in_year int ) CREATE TABLE Companies ( id int, name text, Headquarters text, Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value_billion text )
SELECT name, Assets_billion FROM Companies ORDER BY name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3950, 41, 3, 23, 26, 16, 17, 6, 564, 1499, 6, 896, 1499, 6, 24231, 16, 17, 6, 20406, 16, 17, 6, 19318, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2126, 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, 564, 6, 18202, 7, 834, 115, 14916, 21680, 11239, 4674, 11300, 272, 476, 564, 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 to par has 66 as the score?
CREATE TABLE table_name_56 ( to_par VARCHAR, score VARCHAR )
SELECT to_par FROM table_name_56 WHERE score = 66
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 12, 834, 1893, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 12, 260, 65, 3, 3539, 38, 8, 2604, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 2604, 3274, 3, 3539, 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 venue where Collingwood played as the away team?
CREATE TABLE table_4933 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_4933 WHERE "Away team" = 'collingwood'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 4201, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 3647, 4201, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 3297, 697, 2037, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the time for a round less than 3?
CREATE TABLE table_name_35 ( time VARCHAR, round INTEGER )
SELECT time FROM table_name_35 WHERE round < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 97, 584, 4280, 28027, 6, 1751, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 97, 21, 3, 9, 1751, 705, 145, 220, 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, 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, 97, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 1751, 3, 2, 220, 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...
Where did the wrestler, super parka, with the title with a reign of 2?
CREATE TABLE table_name_41 (location VARCHAR, wrestler VARCHAR, reign VARCHAR)
SELECT location FROM table_name_41 WHERE wrestler = "super parka" AND reign = "2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 14836, 584, 4280, 28027, 6, 26033, 52, 584, 4280, 28027, 6, 17367, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 410, 8, 26033, 52, 6, 1355,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 26033, 52, 3274, 96, 21771, 2447, 9, 121, 3430, 17367, 3274, 96, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the point classification with chris anker s rensen as the young rider classification and Christian vande velde as the general classification?
CREATE TABLE table_35469 ( "Stage" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Young rider classification" text )
SELECT "Points classification" FROM table_35469 WHERE "Young rider classification" = 'chris anker sørensen' AND "General classification" = 'christian vande velde'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 591, 3951, 41, 96, 134, 6505, 121, 1499, 6, 96, 20857, 13774, 121, 1499, 6, 96, 22512, 7, 13774, 121, 1499, 6, 96, 329, 32, 14016, 77, 7, 13774, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22512, 7, 13774, 121, 21680, 953, 834, 2469, 591, 3951, 549, 17444, 427, 96, 3774, 1725, 2564, 52, 13774, 121, 3274, 3, 31, 524, 52, 159, 46, 2304, 3, 7, 2, 1536, 7, 35, 31, 3430, 96, 20857, 13774, 121, 3274...
Which Year has a Competition of olympic games, and a Venue of atlanta, united states?
CREATE TABLE table_name_93 (year INTEGER, competition VARCHAR, venue VARCHAR)
SELECT AVG(year) FROM table_name_93 WHERE competition = "olympic games" AND venue = "atlanta, united states"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 1201, 3, 21342, 17966, 6, 2259, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2929, 65, 3, 9, 15571, 13, 3, 32,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 2259, 3274, 96, 32, 120, 51, 6174, 1031, 121, 3430, 5669, 3274, 96, 144, 6761, 9, 6, 18279, 2315, 121, 1, -100, -100, -100, -100, -100, ...
what is the number of patients whose admission type is urgent and with lab test item id 50980?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.itemid = "50980"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Where the audience share is 8%, what is the original airing?
CREATE TABLE table_41840 ( "Episode number" real, "Season" text, "Original airing" text, "Total viewers" text, "Audience share (average)" text, "Season viewer average" text )
SELECT "Original airing" FROM table_41840 WHERE "Audience share (average)" = '8%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4853, 26311, 41, 96, 427, 102, 159, 32, 221, 381, 121, 490, 6, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 667, 3380, 10270, 799, 53, 121, 1499, 6, 96, 3696, 1947, 13569, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 799, 53, 121, 21680, 953, 834, 4853, 26311, 549, 17444, 427, 96, 188, 5291, 1433, 698, 41, 28951, 61, 121, 3274, 3, 31, 5953, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the dual television commentator in 1990?
CREATE TABLE table_2794180_11 ( Dual VARCHAR, year_s_ VARCHAR )
SELECT Dual AS television_commentator FROM table_2794180_11 WHERE year_s_ = 1990
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4240, 20829, 834, 2596, 41, 17338, 584, 4280, 28027, 6, 215, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 7013, 4390, 1670, 1016, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17338, 6157, 4390, 834, 287, 297, 1016, 21680, 953, 834, 2555, 4240, 20829, 834, 2596, 549, 17444, 427, 215, 834, 7, 834, 3274, 5541, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Score In The Final, when Championship is 'Athens , Greece', and when Outcome is 'Winner'?
CREATE TABLE table_76311 ( "Outcome" text, "Date" real, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text )
SELECT "Score in the final" FROM table_76311 WHERE "Championship" = 'athens , greece' AND "Outcome" = 'winner'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 519, 2596, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 490, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 16, 8, 804, 121, 21680, 953, 834, 3959, 519, 2596, 549, 17444, 427, 96, 254, 1483, 12364, 2009, 121, 3274, 3, 31, 9, 189, 35, 7, 3, 6, 3, 3584, 15, 565, 31, 3430, 96, 15767, 287, 15, 121, 3274, ...
when was the first start date that actually began on august 6, 1969
CREATE TABLE table_291768_1 ( launched VARCHAR, commissioned VARCHAR )
SELECT launched FROM table_291768_1 WHERE commissioned = "August 6, 1969"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2517, 3651, 834, 536, 41, 3759, 584, 4280, 28027, 6, 3, 17183, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 116, 47, 8, 166, 456, 833, 24, 700, 1553, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3759, 21680, 953, 834, 3166, 2517, 3651, 834, 536, 549, 17444, 427, 3, 17183, 3274, 96, 26579, 8580, 17185, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return a bar chart about the distribution of password and author_tutor_ATB .
CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tutor_ATB VARCHAR(3), login_name VARCHAR(40), password VARCHAR(40), personal_name VARCHAR(80), middle_name VARCHAR(80), family_name VARCHAR(80), gender_mf VARCHAR(1), address_line_1 VARCHAR(80) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_of_completion DATETIME ) CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Student_Tests_Taken ( registration_id INTEGER, date_test_taken DATETIME, test_result VARCHAR(255) )
SELECT password, author_tutor_ATB FROM Course_Authors_and_Tutors ORDER BY personal_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 7, 41, 503, 834, 23, 26, 3, 21342, 17966, 6, 2291, 834, 23, 26, 3, 21342, 17966, 6, 1426, 834, 23, 26, 3, 21342, 17966, 6, 503, 834, 4350, 584, 4280, 28027, 599, 15518, 201, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4735, 6, 2291, 834, 17, 76, 17, 127, 834, 5767, 279, 21680, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 4674, 11300, 272, 476, 525, 834, 4350, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Laps with a Grid smaller than 3 did Driver NIki Lauda have?
CREATE TABLE table_52759 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT AVG("Laps") FROM table_52759 WHERE "Driver" = 'niki lauda' AND "Grid" < '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2555, 3390, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 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, 71, 17217, 599, 121, 3612, 102, 7, 8512, 21680, 953, 834, 755, 2555, 3390, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 4953, 23, 3, 12513, 9, 31, 3430, 96, 13313, 26, 121, 3, 2, 3, 31, 519, 31, 1, -100, ...
give me the number of patients whose diagnoses long title is secondary neuroendocrine tumor of bone and lab test abnormal status is abnormal?
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 ) 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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Secondary neuroendocrine tumor of bone" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
when did the first transfer occur in may 2009 ?
CREATE TABLE table_204_539 ( id number, "date" text, "name" text, "moving from" text, "moving to" text, "fee" text )
SELECT "date" FROM table_204_539 WHERE "date" = 5 AND "date" = 2009 ORDER BY "date" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 3288, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 4350, 121, 1499, 6, 96, 7168, 53, 45, 121, 1499, 6, 96, 7168, 53, 12, 121, 1499, 6, 96, 89, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5522, 121, 21680, 953, 834, 26363, 834, 755, 3288, 549, 17444, 427, 96, 5522, 121, 3274, 305, 3430, 96, 5522, 121, 3274, 2464, 4674, 11300, 272, 476, 96, 5522, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -...
How many rooms in each building have a capacity of over 50 Visualize by bar chart, order by the the total number in desc.
CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) 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 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 advisor ( s_ID varchar(5), i_ID varchar(5) ) 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) ) CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) )
SELECT building, COUNT(*) FROM classroom WHERE capacity > 50 GROUP BY building ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 20, 102, 17, 834, 4350, 3, 4331, 4059, 599, 1755, 201, 740, 3, 4331, 4059, 599, 1808, 201, 1487, 206, 17552, 599, 2122, 6, 7318, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 740, 6, 2847, 17161, 599, 1935, 61, 21680, 4858, 549, 17444, 427, 2614, 2490, 943, 350, 4630, 6880, 272, 476, 740, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, ...
how many patients are with widowed marital status and lab test item id 50911?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.itemid = "50911"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Let me know the route of administration of the medication with drug code ISOS10.
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 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT prescriptions.route FROM prescriptions WHERE prescriptions.formulary_drug_cd = "ISOS10"
[ 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, 7744, 7, 5, 20300, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 3274, 96, 4555, 3638, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is Opponent, when Championship is P tange?
CREATE TABLE table_44608 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Opponent" FROM table_44608 WHERE "Championship" = 'pétange'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4448, 4018, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 591, 4448, 4018, 549, 17444, 427, 96, 254, 1483, 12364, 2009, 121, 3274, 3, 31, 3890, 17, 3280, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What team were the Opponent in Game 29?
CREATE TABLE table_name_37 ( opponent VARCHAR, game VARCHAR )
SELECT opponent FROM table_name_37 WHERE game = 29
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 15264, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 130, 8, 4495, 9977, 16, 4435, 2838, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 467, 3274, 2838, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many entries for Italian correspond to the Conservative Central Italian of Unu?
CREATE TABLE table_25401_15 (italian VARCHAR, conservative_central_italian_1 VARCHAR)
SELECT COUNT(italian) FROM table_25401_15 WHERE conservative_central_italian_1 = "unu"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 20016, 834, 1808, 41, 155, 9, 9928, 584, 4280, 28027, 6, 11252, 834, 20071, 834, 155, 9, 9928, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 155, 9, 9928, 61, 21680, 953, 834, 1828, 20016, 834, 1808, 549, 17444, 427, 11252, 834, 20071, 834, 155, 9, 9928, 834, 536, 3274, 96, 202, 76, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
which team name had the most goals in a year -lrb- bulldogs , roosters , tigers -rrb-
CREATE TABLE table_203_34 ( id number, "season" text, "appearance" number, "interchange" number, "tries" number, "goals" number, "f/g" number, "points" number )
SELECT "season" FROM table_203_34 WHERE "season" IN ('bulldogs', 'roosters', 'tigers') GROUP BY "season" ORDER BY SUM("goals") DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3710, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 3096, 2741, 663, 121, 381, 6, 96, 3870, 13073, 121, 381, 6, 96, 9000, 121, 381, 6, 96, 839, 5405, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9476, 121, 21680, 953, 834, 23330, 834, 3710, 549, 17444, 427, 96, 9476, 121, 3388, 41, 31, 20638, 10169, 7, 31, 6, 3, 31, 52, 32, 3481, 277, 31, 6, 3, 31, 2880, 277, 31, 61, 350, 4630, 6880, 272, 476, 96,...
What is the total number of seats with gavin duffy in series 4?
CREATE TABLE table_name_13 (seat VARCHAR, series_4 VARCHAR)
SELECT COUNT(seat) FROM table_name_13 WHERE series_4 = "gavin duffy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 7, 1544, 584, 4280, 28027, 6, 939, 834, 591, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 6116, 28, 7922, 2494, 146, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 7, 1544, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 939, 834, 591, 3274, 96, 122, 9, 2494, 146, 20334, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Calculate the highest points where the win,loss, tie ratio is 28-12-6
CREATE TABLE table_23308178_7 (points INTEGER, record VARCHAR)
SELECT MAX(points) FROM table_23308178_7 WHERE record = "28-12-6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20879, 4018, 27640, 834, 940, 41, 2700, 7, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 18555, 342, 8, 2030, 979, 213, 8, 1369, 6, 2298, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 20879, 4018, 27640, 834, 940, 549, 17444, 427, 1368, 3274, 96, 2577, 5947, 5783, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?
CREATE TABLE table_29648 ( "Member" text, "Electorate" text, "Province" text, "MPs term" text, "Election date" text )
SELECT "Province" FROM table_29648 WHERE "Election date" = '5 Cannot handle non-empty timestamp argument! 1861'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4314, 3707, 41, 96, 329, 18247, 121, 1499, 6, 96, 21543, 127, 342, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 5244, 7, 1657, 121, 1499, 6, 96, 427, 12252, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3174, 2494, 565, 121, 21680, 953, 834, 357, 4314, 3707, 549, 17444, 427, 96, 427, 12252, 833, 121, 3274, 3, 31, 755, 1072, 2264, 2174, 529, 18, 9045, 63, 648, 17, 4624, 5464, 55, 507, 4241, 31, 1, -100, -100, ...
Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4?
CREATE TABLE table_62801 ( "Pos." real, "Car #" real, "Driver" text, "Make" text, "Team" text )
SELECT AVG("Car #") FROM table_62801 WHERE "Team" = 'hendrick motorsports' AND "Driver" = 'mark martin' AND "Pos." > '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 2079, 536, 41, 96, 345, 32, 7, 535, 490, 6, 96, 6936, 1713, 121, 490, 6, 96, 20982, 52, 121, 1499, 6, 96, 22638, 121, 1499, 6, 96, 18699, 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, 71, 17217, 599, 121, 6936, 1713, 8512, 21680, 953, 834, 4056, 2079, 536, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 3225, 26, 5206, 2340, 6661, 7, 31, 3430, 96, 20982, 52, 121, 3274, 3, 31, 3920, 3157, 17, 77, ...
Please list the years of film market estimations when the market is in country 'Japan' in descending order.
CREATE TABLE film_market_estimation ( estimation_id number, low_estimate number, high_estimate number, film_id number, type text, market_id number, year number ) CREATE TABLE market ( market_id number, country text, number_cities number ) CREATE TABLE film ( film_id number, title text, studio text, director text, gross_in_dollar number )
SELECT T1.year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.market_id = T2.market_id WHERE T2.country = "Japan" ORDER BY T1.year DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 834, 8809, 834, 3340, 51, 257, 41, 22781, 834, 23, 26, 381, 6, 731, 834, 3340, 5058, 381, 6, 306, 834, 3340, 5058, 381, 6, 814, 834, 23, 26, 381, 6, 686, 1499, 6, 512, 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, 332, 5411, 1201, 21680, 814, 834, 8809, 834, 3340, 51, 257, 6157, 332, 536, 3, 15355, 3162, 512, 6157, 332, 357, 9191, 332, 5411, 8809, 834, 23, 26, 3274, 332, 4416, 8809, 834, 23, 26, 549, 17444, 427, 332, 4416, ...
What was the population in 2011 of the settlement with the cyrillic name of ?
CREATE TABLE table_2562572_46 ( population__2011_ INTEGER, cyrillic_name_other_names VARCHAR )
SELECT MAX(population__2011_) FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 1828, 5865, 834, 4448, 41, 2074, 834, 834, 13907, 834, 3, 21342, 17966, 6, 3, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 584, 4280, 28027, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 9791, 7830, 834, 834, 13907, 834, 61, 21680, 953, 834, 19337, 1828, 5865, 834, 4448, 549, 17444, 427, 3, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 3274, 96, 2, 22581, 22420, 121, 1, ...