instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Google Maps Generic Questions SBT. | SELECT COUNT(*) FROM (SELECT DISTINCT p.Id, p.CreationDate, p.Title, p.Tags, p.AcceptedAnswerId, p.Score, p.ViewCount, p.AnswerCount, p.CommentCount, p.ClosedDate, CONCAT('http://stackoverflow.com/questions/', p.Id) AS Link FROM Posts AS p INNER JOIN PostTags AS pt ON p.Id = Pt.PostId INNER JOIN Tags AS t ON pt.TagId =... | [
11708,
20347,
42044,
20396,
18056,
51,
13,
46506,
327,
28270,
7,
28104,
16034,
357,
46506,
360,
8808,
1268,
4177,
279,
13,
7390,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
19160,
11,
279,
13,
36142,
11,
279,
13,
38855,
276,
33706,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
11708,
20347,
42044,
20396,
18056,
51,
13,
46506,
327,
28270,
7,
28104,
16034,
357,
46506,
360,
8808,
1268,
4177,
279,
13,
7390,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
19160,
11,
279,
13,
36142,
11,
279,
13,
38855,
276,
33706,
... |
What is the name of the river found in Madhya Pradesh, India? | SELECT name_of_the_river FROM table_name_31 WHERE name_of_the_state_where_found_in_india = "madhya pradesh" | [
2061,
318,
262,
1438,
286,
262,
7850,
1043,
287,
4627,
48812,
25945,
11,
3794,
30,
46506,
1438,
62,
1659,
62,
1169,
62,
38291,
16034,
3084,
62,
3672,
62,
3132,
33411,
1438,
62,
1659,
62,
1169,
62,
5219,
62,
3003,
62,
9275,
62,
259,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
7850,
1043,
287,
4627,
48812,
25945,
11,
3794,
30,
46506,
1438,
62,
1659,
62,
1169,
62,
38291,
16034,
3084,
62,
3672,
62,
3132,
33411,
1438,
62,
1659,
62,
1169,
62,
5219,
62,
3003,
62,
9275,
62,
259,
... |
How many POSTS are in meta about Jon Skeet. | SELECT COUNT(*) AS "number_of_questions" FROM Posts WHERE PostTypeId = 1 AND Title LIKE '%Jon Skeet%' OR Title LIKE '%Jon-Skeet%' OR Title LIKE '%Skeet%' | [
2437,
867,
24582,
50,
389,
287,
13634,
546,
5966,
19460,
316,
13,
46506,
327,
28270,
7,
28104,
7054,
366,
17618,
62,
1659,
62,
6138,
507,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
11851,
34178,
705,
4,
18219,
19460,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
24582,
50,
389,
287,
13634,
546,
5966,
19460,
316,
13,
46506,
327,
28270,
7,
28104,
7054,
366,
17618,
62,
1659,
62,
6138,
507,
1,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
11851,
34178,
705,
4,
18219,
19460,
31... |
What is the sum of 2010-11 when the rank is greater than 11? | SELECT COUNT(2010 AS _11) FROM table_name_97 WHERE rank > 11 | [
2061,
318,
262,
2160,
286,
3050,
12,
1157,
618,
262,
4279,
318,
3744,
621,
1367,
30,
46506,
327,
28270,
7,
10333,
7054,
4808,
1157,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
4279,
1875,
1367
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
3050,
12,
1157,
618,
262,
4279,
318,
3744,
621,
1367,
30,
46506,
327,
28270,
7,
10333,
7054,
4808,
1157,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
4279,
1875,
1367
] |
How tall is the basket ball player lior eliyahu in meters? | SELECT "Height (m)" FROM table_26235 WHERE "Player" = 'Lior Eliyahu' | [
2437,
7331,
318,
262,
7988,
2613,
2137,
300,
1504,
1288,
7745,
12196,
287,
10700,
30,
46506,
366,
23106,
357,
76,
16725,
16034,
3084,
62,
2075,
22370,
33411,
366,
14140,
1,
796,
705,
43,
1504,
2574,
7745,
12196,
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
] | [
2437,
7331,
318,
262,
7988,
2613,
2137,
300,
1504,
1288,
7745,
12196,
287,
10700,
30,
46506,
366,
23106,
357,
76,
16725,
16034,
3084,
62,
2075,
22370,
33411,
366,
14140,
1,
796,
705,
43,
1504,
2574,
7745,
12196,
6
] |
Can you tell me the total number of Total votes that has the Election larger than 2009, and the Candidates fielded larger than 61? | SELECT COUNT(total_votes) FROM table_name_71 WHERE election > 2009 AND candidates_fielded > 61 | [
6090,
345,
1560,
502,
262,
2472,
1271,
286,
7472,
5690,
326,
468,
262,
14219,
4025,
621,
3717,
11,
290,
262,
15518,
37051,
49407,
4025,
621,
8454,
30,
46506,
327,
28270,
7,
23350,
62,
29307,
8,
16034,
3084,
62,
3672,
62,
4869,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
2472,
1271,
286,
7472,
5690,
326,
468,
262,
14219,
4025,
621,
3717,
11,
290,
262,
15518,
37051,
49407,
4025,
621,
8454,
30,
46506,
327,
28270,
7,
23350,
62,
29307,
8,
16034,
3084,
62,
3672,
62,
4869,
33411,
... |
Count the products that have the color description 'white' or have the characteristic name 'hot'. | SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN characteristics AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = "white" OR t3.characteristic_name = "hot" | [
12332,
262,
3186,
326,
423,
262,
3124,
6764,
705,
11186,
6,
393,
423,
262,
16704,
1438,
705,
8940,
4458,
46506,
327,
28270,
7,
28104,
16034,
3186,
7054,
256,
16,
32357,
1268,
1720,
62,
22769,
3969,
7054,
256,
17,
6177,
256,
16,
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... | [
12332,
262,
3186,
326,
423,
262,
3124,
6764,
705,
11186,
6,
393,
423,
262,
16704,
1438,
705,
8940,
4458,
46506,
327,
28270,
7,
28104,
16034,
3186,
7054,
256,
16,
32357,
1268,
1720,
62,
22769,
3969,
7054,
256,
17,
6177,
256,
16,
13,
... |
What is the Score of the game with the New York Rangers Home team with a Record of 8 27 5? | SELECT "Score" FROM table_46243 WHERE "Home" = 'new york rangers' AND "Record" = '8–27–5' | [
2061,
318,
262,
15178,
286,
262,
983,
351,
262,
968,
1971,
13804,
5995,
1074,
351,
257,
13266,
286,
807,
2681,
642,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3510,
26660,
33411,
366,
16060,
1,
796,
705,
3605,
331,
967,
374,
6606,
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
] | [
2061,
318,
262,
15178,
286,
262,
983,
351,
262,
968,
1971,
13804,
5995,
1074,
351,
257,
13266,
286,
807,
2681,
642,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3510,
26660,
33411,
366,
16060,
1,
796,
705,
3605,
331,
967,
374,
6606,
6... |
What was the venue where the result was 2-1? | SELECT venue FROM table_name_33 WHERE result = "2-1" | [
2061,
373,
262,
14359,
810,
262,
1255,
373,
362,
12,
16,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2091,
33411,
1255,
796,
366,
17,
12,
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
] | [
2061,
373,
262,
14359,
810,
262,
1255,
373,
362,
12,
16,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2091,
33411,
1255,
796,
366,
17,
12,
16,
1
] |
Name the nation when bronze is less than 4 and the total is more than 4 | SELECT nation FROM table_name_46 WHERE total > 4 AND bronze < 4 | [
5376,
262,
3277,
618,
22101,
318,
1342,
621,
604,
290,
262,
2472,
318,
517,
621,
604,
46506,
3277,
16034,
3084,
62,
3672,
62,
3510,
33411,
2472,
1875,
604,
5357,
22101,
1279,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
3277,
618,
22101,
318,
1342,
621,
604,
290,
262,
2472,
318,
517,
621,
604,
46506,
3277,
16034,
3084,
62,
3672,
62,
3510,
33411,
2472,
1875,
604,
5357,
22101,
1279,
604
] |
Answer score distribution for a user. Returns the (log 10 of the) distribution of the scores for a given user's answers. | SELECT Score, COUNT(*) FROM Posts WHERE OwnerUserId = '##UserId##' AND PostTypeId = 2 GROUP BY Score ORDER BY Score | [
33706,
4776,
6082,
329,
257,
2836,
13,
16409,
262,
357,
6404,
838,
286,
262,
8,
6082,
286,
262,
8198,
329,
257,
1813,
2836,
338,
7429,
13,
46506,
15178,
11,
327,
28270,
7,
28104,
16034,
12043,
33411,
23853,
12982,
7390,
796,
705,
2235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33706,
4776,
6082,
329,
257,
2836,
13,
16409,
262,
357,
6404,
838,
286,
262,
8,
6082,
286,
262,
8198,
329,
257,
1813,
2836,
338,
7429,
13,
46506,
15178,
11,
327,
28270,
7,
28104,
16034,
12043,
33411,
23853,
12982,
7390,
796,
705,
2235... |
How many types of products have Rodrick Heaney bought in total? | SELECT COUNT(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = "Rodrick Heaney" | [
2437,
867,
3858,
286,
3186,
423,
6882,
5557,
679,
22297,
5839,
287,
2472,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
18,
13,
11167,
62,
312,
8,
16034,
4297,
7054,
256,
16,
32357,
1268,
6491,
62,
6361,
7054,
256,
17,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
3858,
286,
3186,
423,
6882,
5557,
679,
22297,
5839,
287,
2472,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
18,
13,
11167,
62,
312,
8,
16034,
4297,
7054,
256,
16,
32357,
1268,
6491,
62,
6361,
7054,
256,
17,
6177,
... |
Show the name of the party that has the most delegates. | SELECT T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T1.Party ORDER BY COUNT(*) DESC LIMIT 1 | [
15307,
262,
1438,
286,
262,
2151,
326,
468,
262,
749,
15265,
13,
46506,
309,
17,
13,
33553,
16034,
3071,
7054,
309,
16,
32357,
1268,
2151,
7054,
309,
17,
6177,
309,
16,
13,
33553,
796,
309,
17,
13,
33553,
62,
2389,
44441,
11050,
309... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1438,
286,
262,
2151,
326,
468,
262,
749,
15265,
13,
46506,
309,
17,
13,
33553,
16034,
3071,
7054,
309,
16,
32357,
1268,
2151,
7054,
309,
17,
6177,
309,
16,
13,
33553,
796,
309,
17,
13,
33553,
62,
2389,
44441,
11050,
309... |
What is the decor of room Recluse and defiance? | SELECT decor FROM rooms WHERE roomname = "Recluse and defiance" | [
2061,
318,
262,
11705,
286,
2119,
797,
565,
1904,
290,
35287,
30,
46506,
11705,
16034,
9519,
33411,
2119,
3672,
796,
366,
3041,
565,
1904,
290,
35287,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
11705,
286,
2119,
797,
565,
1904,
290,
35287,
30,
46506,
11705,
16034,
9519,
33411,
2119,
3672,
796,
366,
3041,
565,
1904,
290,
35287,
1
] |
When did the Rockies play the Giants with an attendance over 24,100? | SELECT date FROM table_name_35 WHERE opponent = "giants" AND attendance > 24 OFFSET 100 | [
2215,
750,
262,
35521,
711,
262,
12056,
351,
281,
14858,
625,
1987,
11,
3064,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2327,
33411,
6125,
796,
366,
12397,
1187,
1,
5357,
14858,
1875,
1987,
3963,
10652,
2767,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
262,
35521,
711,
262,
12056,
351,
281,
14858,
625,
1987,
11,
3064,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2327,
33411,
6125,
796,
366,
12397,
1187,
1,
5357,
14858,
1875,
1987,
3963,
10652,
2767,
1802
] |
how many ethnically white patients were admitted in or before the year 2119? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.admityear >= "2119" | [
4919,
867,
33961,
1146,
2330,
3871,
547,
6848,
287,
393,
878,
262,
614,
2310,
1129,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709,
1,
5357,
16728,
13,
324,
76,
414,
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
] | [
4919,
867,
33961,
1146,
2330,
3871,
547,
6848,
287,
393,
878,
262,
614,
2310,
1129,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709,
1,
5357,
16728,
13,
324,
76,
414,
4... |
How many settlements have as their cyrillic name and other names ? | SELECT "Settlement" FROM table_27861 WHERE "Cyrillic Name Other Names" = 'Панонија' | [
2437,
867,
18573,
423,
355,
511,
269,
2417,
359,
291,
1438,
290,
584,
3891,
5633,
46506,
366,
50,
27331,
1,
16034,
3084,
62,
1983,
4521,
16,
33411,
366,
34,
2417,
359,
291,
6530,
3819,
28531,
1,
796,
705,
140,
253,
16142,
22177,
151... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
18573,
423,
355,
511,
269,
2417,
359,
291,
1438,
290,
584,
3891,
5633,
46506,
366,
50,
27331,
1,
16034,
3084,
62,
1983,
4521,
16,
33411,
366,
34,
2417,
359,
291,
6530,
3819,
28531,
1,
796,
705,
140,
253,
16142,
22177,
151... |
What is every GA if coach is Bob Ferguson and T is 6? | SELECT "GA" FROM table_22655 WHERE "Coach(es)" = 'Bob Ferguson' AND "T" = '6' | [
2061,
318,
790,
14545,
611,
3985,
318,
5811,
15031,
290,
309,
318,
718,
30,
46506,
366,
9273,
1,
16034,
3084,
62,
24909,
2816,
33411,
366,
40677,
7,
274,
16725,
796,
705,
18861,
15031,
6,
5357,
366,
51,
1,
796,
705,
21,
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
] | [
2061,
318,
790,
14545,
611,
3985,
318,
5811,
15031,
290,
309,
318,
718,
30,
46506,
366,
9273,
1,
16034,
3084,
62,
24909,
2816,
33411,
366,
40677,
7,
274,
16725,
796,
705,
18861,
15031,
6,
5357,
366,
51,
1,
796,
705,
21,
6
] |
What is the date where the attendance was 31,220? | SELECT date FROM table_name_62 WHERE attendance = "31,220" | [
2061,
318,
262,
3128,
810,
262,
14858,
373,
3261,
11,
17572,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5237,
33411,
14858,
796,
366,
3132,
11,
17572,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
810,
262,
14858,
373,
3261,
11,
17572,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5237,
33411,
14858,
796,
366,
3132,
11,
17572,
1
] |
Find the name of physicians whose position title contains the word 'senior'. | SELECT name FROM physician WHERE POSITION LIKE '%senior%' | [
16742,
262,
1438,
286,
17206,
3025,
2292,
3670,
4909,
262,
1573,
705,
6248,
1504,
4458,
46506,
1438,
16034,
14325,
33411,
28069,
17941,
34178,
705,
4,
6248,
1504,
4,
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
] | [
16742,
262,
1438,
286,
17206,
3025,
2292,
3670,
4909,
262,
1573,
705,
6248,
1504,
4458,
46506,
1438,
16034,
14325,
33411,
28069,
17941,
34178,
705,
4,
6248,
1504,
4,
6
] |
how many first performances where performer is wilfred engelman category:articles with hcards | SELECT COUNT(first_performance) FROM table_19189856_1 WHERE performer = "Wilfred Engelman category:Articles with hCards" | [
4919,
867,
717,
13289,
810,
26960,
318,
39716,
39193,
1786,
32370,
6536,
25,
26845,
351,
289,
27761,
46506,
327,
28270,
7,
11085,
62,
26585,
8,
16034,
3084,
62,
1129,
1507,
4089,
3980,
62,
16,
33411,
26960,
796,
366,
22327,
39193,
1985,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
717,
13289,
810,
26960,
318,
39716,
39193,
1786,
32370,
6536,
25,
26845,
351,
289,
27761,
46506,
327,
28270,
7,
11085,
62,
26585,
8,
16034,
3084,
62,
1129,
1507,
4089,
3980,
62,
16,
33411,
26960,
796,
366,
22327,
39193,
1985,... |
What is the lowest year that regular season is 4th, Rocky Mountain? | SELECT MIN("Year") FROM table_17667 WHERE "Regular Season" = '4th, Rocky Mountain' | [
2061,
318,
262,
9016,
614,
326,
3218,
1622,
318,
604,
400,
11,
24534,
9638,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
1558,
28933,
33411,
366,
40164,
7369,
1,
796,
705,
19,
400,
11,
24534,
9638,
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
] | [
2061,
318,
262,
9016,
614,
326,
3218,
1622,
318,
604,
400,
11,
24534,
9638,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
1558,
28933,
33411,
366,
40164,
7369,
1,
796,
705,
19,
400,
11,
24534,
9638,
6
] |
What is the [3 H] paroxetine with a [3 H] CFT less than 3.93, an S D greater than 1891, and a [3H] nizoxetine of 299 (180)? | SELECT "[ 3 H]Paroxetine" FROM table_65227 WHERE "[ 3 H]CFT" < '3.93' AND "S \u00f7 D" > '1891' AND "[ 3 H]Nisoxetine" = '299 (180)' | [
2061,
318,
262,
685,
18,
367,
60,
1582,
1140,
316,
500,
351,
257,
685,
18,
367,
60,
327,
9792,
1342,
621,
513,
13,
6052,
11,
281,
311,
360,
3744,
621,
1248,
6420,
11,
290,
257,
685,
18,
39,
60,
299,
528,
1140,
316,
500,
286,
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... | [
2061,
318,
262,
685,
18,
367,
60,
1582,
1140,
316,
500,
351,
257,
685,
18,
367,
60,
327,
9792,
1342,
621,
513,
13,
6052,
11,
281,
311,
360,
3744,
621,
1248,
6420,
11,
290,
257,
685,
18,
39,
60,
299,
528,
1140,
316,
500,
286,
3... |
Find the name, class and rank of all captains. | SELECT name, class, rank FROM captain | [
16742,
262,
1438,
11,
1398,
290,
4279,
286,
477,
37551,
13,
46506,
1438,
11,
1398,
11,
4279,
16034,
10654
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
11,
1398,
290,
4279,
286,
477,
37551,
13,
46506,
1438,
11,
1398,
11,
4279,
16034,
10654
] |
What is the number of people in attendance when venue shows A, and Di Matteo, M. Hughes were the scorers? | SELECT SUM(attendance) FROM table_name_99 WHERE venue = "a" AND scorers = "di matteo, m. hughes" | [
2061,
318,
262,
1271,
286,
661,
287,
14858,
618,
14359,
2523,
317,
11,
290,
6031,
38789,
78,
11,
337,
13,
19712,
547,
262,
4776,
3808,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
14359,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
661,
287,
14858,
618,
14359,
2523,
317,
11,
290,
6031,
38789,
78,
11,
337,
13,
19712,
547,
262,
4776,
3808,
30,
46506,
35683,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
14359,
796,
366,
... |
What episode number was directed by Craig Ross, Jr. | SELECT "#" FROM table_73322 WHERE "Directed by" = 'Craig Ross, Jr.' | [
2061,
4471,
1271,
373,
7924,
416,
13854,
9847,
11,
7504,
13,
46506,
25113,
1,
16034,
3084,
62,
49995,
1828,
33411,
366,
13470,
276,
416,
1,
796,
705,
40441,
9847,
11,
7504,
2637
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4471,
1271,
373,
7924,
416,
13854,
9847,
11,
7504,
13,
46506,
25113,
1,
16034,
3084,
62,
49995,
1828,
33411,
366,
13470,
276,
416,
1,
796,
705,
40441,
9847,
11,
7504,
2637
] |
Top Android Users in Myanmar. | WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", COUNT(*) AS UpVotes FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INNER JOIN Users AS u ON u.Id =... | [
9126,
5565,
18987,
287,
22815,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
7390,
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... | [
9126,
5565,
18987,
287,
22815,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
7390,
7... |
Are there any Spring or Summer classes available for the 100 -level ? | SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number BETWEEN 100 AND 100 + 100 AND semester.semester IN ('SP', 'SS', 'SU') AND semester.semester_id = cou... | [
8491,
612,
597,
8225,
393,
10216,
6097,
1695,
329,
262,
1802,
532,
5715,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
11,
1781,
62,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8491,
612,
597,
8225,
393,
10216,
6097,
1695,
329,
262,
1802,
532,
5715,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
11,
1781,
62,
2... |
For those records from the products and each product's manufacturer, find headquarter and the sum of code , and group by attribute headquarter, and visualize them by a bar chart, and list by the X-axis in asc please. | SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T2.Headquarter | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1182,
24385,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1351,
416,
262,
1395,
12,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1182,
24385,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1351,
416,
262,
1395,
12,
2... |
The director of the episode with the title 'The Sky is Falling' is who? | SELECT "Director" FROM table_29096 WHERE "Title" = 'The Sky is Falling' | [
464,
3437,
286,
262,
4471,
351,
262,
3670,
705,
464,
5274,
318,
42914,
6,
318,
508,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
1959,
2931,
21,
33411,
366,
19160,
1,
796,
705,
464,
5274,
318,
42914,
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
] | [
464,
3437,
286,
262,
4471,
351,
262,
3670,
705,
464,
5274,
318,
42914,
6,
318,
508,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
1959,
2931,
21,
33411,
366,
19160,
1,
796,
705,
464,
5274,
318,
42914,
6
] |
What is the number of matches when the wins are less than 8, and losses of 7, in 2011? | SELECT SUM("Matches") FROM table_43567 WHERE "Wins" < '8' AND "Losses" = '7' AND "Year" = '2011' | [
2061,
318,
262,
1271,
286,
7466,
618,
262,
7864,
389,
1342,
621,
807,
11,
290,
9089,
286,
767,
11,
287,
2813,
30,
46506,
35683,
7203,
19044,
2052,
4943,
16034,
3084,
62,
40064,
3134,
33411,
366,
54,
1040,
1,
1279,
705,
23,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
7466,
618,
262,
7864,
389,
1342,
621,
807,
11,
290,
9089,
286,
767,
11,
287,
2813,
30,
46506,
35683,
7203,
19044,
2052,
4943,
16034,
3084,
62,
40064,
3134,
33411,
366,
54,
1040,
1,
1279,
705,
23,
6,
5357,
... |
Find the number of patients who are not using the medication of Procrastin-X. | SELECT COUNT(*) FROM patient WHERE NOT SSN IN (SELECT T1.patient FROM Prescribes AS T1 JOIN Medication AS T2 ON T1.Medication = T2.Code WHERE T2.name = 'Procrastin-X') | [
16742,
262,
1271,
286,
3871,
508,
389,
407,
1262,
262,
14103,
286,
31345,
5685,
259,
12,
55,
13,
46506,
327,
28270,
7,
28104,
16034,
5827,
33411,
5626,
6723,
45,
3268,
357,
46506,
309,
16,
13,
26029,
16034,
1763,
66,
22090,
7054,
309,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1271,
286,
3871,
508,
389,
407,
1262,
262,
14103,
286,
31345,
5685,
259,
12,
55,
13,
46506,
327,
28270,
7,
28104,
16034,
5827,
33411,
5626,
6723,
45,
3268,
357,
46506,
309,
16,
13,
26029,
16034,
1763,
66,
22090,
7054,
309,... |
I want the years for marathon distance and wins of 3 | SELECT years FROM table_name_15 WHERE distance = "marathon" AND wins = 3 | [
40,
765,
262,
812,
329,
22336,
5253,
290,
7864,
286,
513,
46506,
812,
16034,
3084,
62,
3672,
62,
1314,
33411,
5253,
796,
366,
3876,
12938,
1,
5357,
7864,
796,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40,
765,
262,
812,
329,
22336,
5253,
290,
7864,
286,
513,
46506,
812,
16034,
3084,
62,
3672,
62,
1314,
33411,
5253,
796,
366,
3876,
12938,
1,
5357,
7864,
796,
513
] |
count the number of patients whose admission location is emergency room admit and procedure icd9 code is 3799? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND procedures.icd9_code = "3799" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
8771,
14158,
67,
24,
2438,
318,
5214,
2079,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
126... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
8771,
14158,
67,
24,
2438,
318,
5214,
2079,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
126... |
What is the score in game 3? | SELECT "Score" FROM table_25889 WHERE "Game" = '3' | [
2061,
318,
262,
4776,
287,
983,
513,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1495,
39121,
33411,
366,
8777,
1,
796,
705,
18,
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
] | [
2061,
318,
262,
4776,
287,
983,
513,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1495,
39121,
33411,
366,
8777,
1,
796,
705,
18,
6
] |
What is the win/loss of coach Peter German? | SELECT win_loss FROM table_name_23 WHERE coach = "peter german" | [
2061,
318,
262,
1592,
14,
22462,
286,
3985,
5613,
2679,
30,
46506,
1592,
62,
22462,
16034,
3084,
62,
3672,
62,
1954,
33411,
3985,
796,
366,
79,
2357,
308,
2224,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1592,
14,
22462,
286,
3985,
5613,
2679,
30,
46506,
1592,
62,
22462,
16034,
3084,
62,
3672,
62,
1954,
33411,
3985,
796,
366,
79,
2357,
308,
2224,
1
] |
When the carrier is idc, what are the frequencies? | SELECT frequency FROM table_19246_1 WHERE carrier = "IDC" | [
2215,
262,
11920,
318,
4686,
66,
11,
644,
389,
262,
19998,
30,
46506,
8373,
16034,
3084,
62,
1129,
26912,
62,
16,
33411,
11920,
796,
366,
2389,
34,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
262,
11920,
318,
4686,
66,
11,
644,
389,
262,
19998,
30,
46506,
8373,
16034,
3084,
62,
1129,
26912,
62,
16,
33411,
11920,
796,
366,
2389,
34,
1
] |
How much Overall has a Pick # larger than 9, and a Round larger than 5? | SELECT COUNT("Overall") FROM table_39373 WHERE "Pick #" > '9' AND "Round" > '5' | [
2437,
881,
14674,
468,
257,
12346,
1303,
4025,
621,
860,
11,
290,
257,
10485,
4025,
621,
642,
30,
46506,
327,
28270,
7203,
16350,
4943,
16034,
3084,
62,
2670,
34770,
33411,
366,
31686,
1303,
1,
1875,
705,
24,
6,
5357,
366,
22685,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
14674,
468,
257,
12346,
1303,
4025,
621,
860,
11,
290,
257,
10485,
4025,
621,
642,
30,
46506,
327,
28270,
7203,
16350,
4943,
16034,
3084,
62,
2670,
34770,
33411,
366,
31686,
1303,
1,
1875,
705,
24,
6,
5357,
366,
22685,
1,
... |
Who are all the major users of the Saturn Machine Pistol? | SELECT major_users FROM table_29474407_11 WHERE name__designation = "Saturn machine pistol" | [
8241,
389,
477,
262,
1688,
2985,
286,
262,
23135,
10850,
36414,
30,
46506,
1688,
62,
18417,
16034,
3084,
62,
1959,
2857,
25644,
22,
62,
1157,
33411,
1438,
834,
26124,
341,
796,
366,
20245,
700,
4572,
16790,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
389,
477,
262,
1688,
2985,
286,
262,
23135,
10850,
36414,
30,
46506,
1688,
62,
18417,
16034,
3084,
62,
1959,
2857,
25644,
22,
62,
1157,
33411,
1438,
834,
26124,
341,
796,
366,
20245,
700,
4572,
16790,
1
] |
What is the couples name where the average is 15.9? | SELECT couple FROM table_19744915_14 WHERE average = "15.9" | [
2061,
318,
262,
11886,
1438,
810,
262,
2811,
318,
1315,
13,
24,
30,
46506,
3155,
16034,
3084,
62,
24991,
31911,
1314,
62,
1415,
33411,
2811,
796,
366,
1314,
13,
24,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
11886,
1438,
810,
262,
2811,
318,
1315,
13,
24,
30,
46506,
3155,
16034,
3084,
62,
24991,
31911,
1314,
62,
1415,
33411,
2811,
796,
366,
1314,
13,
24,
1
] |
Find total capacity of dorms for each gender in a bar chart, could you list bar in desc order please? | SELECT gender, SUM(student_capacity) FROM Dorm GROUP BY gender ORDER BY gender DESC | [
16742,
2472,
5339,
286,
18586,
82,
329,
1123,
5279,
287,
257,
2318,
8262,
11,
714,
345,
1351,
2318,
287,
1715,
1502,
3387,
30,
46506,
5279,
11,
35683,
7,
50139,
62,
42404,
8,
16034,
360,
579,
44441,
11050,
5279,
38678,
11050,
5279,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
2472,
5339,
286,
18586,
82,
329,
1123,
5279,
287,
257,
2318,
8262,
11,
714,
345,
1351,
2318,
287,
1715,
1502,
3387,
30,
46506,
5279,
11,
35683,
7,
50139,
62,
42404,
8,
16034,
360,
579,
44441,
11050,
5279,
38678,
11050,
5279,
22... |
Which Slalom has a Super G of 4? | SELECT "Slalom" FROM table_7036 WHERE "Super G" = '4' | [
13828,
3454,
282,
296,
468,
257,
3115,
402,
286,
604,
30,
46506,
366,
11122,
282,
296,
1,
16034,
3084,
62,
2154,
2623,
33411,
366,
12442,
402,
1,
796,
705,
19,
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
] | [
13828,
3454,
282,
296,
468,
257,
3115,
402,
286,
604,
30,
46506,
366,
11122,
282,
296,
1,
16034,
3084,
62,
2154,
2623,
33411,
366,
12442,
402,
1,
796,
705,
19,
6
] |
i would like to see the flights available from PITTSBURGH to SAN FRANCISCO for monday | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND date_day.day_number = 21 AND date_day.month_number = 2... | [
72,
561,
588,
284,
766,
262,
13956,
1695,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
329,
285,
3204,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
561,
588,
284,
766,
262,
13956,
1695,
422,
49040,
4694,
38926,
17511,
284,
37376,
8782,
20940,
1797,
8220,
329,
285,
3204,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009... |
Show the status shared by cities with population bigger than 1500 and smaller than 500. | SELECT Status FROM city WHERE Population > 1500 INTERSECT SELECT Status FROM city WHERE Population < 500 | [
15307,
262,
3722,
4888,
416,
4736,
351,
3265,
5749,
621,
20007,
290,
4833,
621,
5323,
13,
46506,
12678,
16034,
1748,
33411,
20133,
1875,
20007,
17828,
4877,
9782,
33493,
12678,
16034,
1748,
33411,
20133,
1279,
5323
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
3722,
4888,
416,
4736,
351,
3265,
5749,
621,
20007,
290,
4833,
621,
5323,
13,
46506,
12678,
16034,
1748,
33411,
20133,
1875,
20007,
17828,
4877,
9782,
33493,
12678,
16034,
1748,
33411,
20133,
1279,
5323
] |
what is the total number of kickoff [a ] where week is week | SELECT COUNT("Kickoff [a ]") FROM table_226 WHERE "Week" = 'Week' | [
10919,
318,
262,
2472,
1271,
286,
40532,
685,
64,
2361,
810,
1285,
318,
1285,
46506,
327,
28270,
7203,
45390,
2364,
685,
64,
2361,
4943,
16034,
3084,
62,
24909,
33411,
366,
20916,
1,
796,
705,
20916,
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
] | [
10919,
318,
262,
2472,
1271,
286,
40532,
685,
64,
2361,
810,
1285,
318,
1285,
46506,
327,
28270,
7203,
45390,
2364,
685,
64,
2361,
4943,
16034,
3084,
62,
24909,
33411,
366,
20916,
1,
796,
705,
20916,
6
] |
What was the first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38? | SELECT "First airdate" FROM table_33830 WHERE "Episodes" < '24' AND "Nielsen ranking" = '#38' | [
2061,
373,
262,
717,
257,
1447,
378,
393,
262,
1622,
326,
550,
1342,
621,
1987,
8640,
290,
257,
31154,
12759,
286,
1303,
2548,
30,
46506,
366,
5962,
257,
1447,
378,
1,
16034,
3084,
62,
28460,
1270,
33411,
366,
13807,
8052,
1,
1279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
717,
257,
1447,
378,
393,
262,
1622,
326,
550,
1342,
621,
1987,
8640,
290,
257,
31154,
12759,
286,
1303,
2548,
30,
46506,
366,
5962,
257,
1447,
378,
1,
16034,
3084,
62,
28460,
1270,
33411,
366,
13807,
8052,
1,
1279,
... |
what is the average when matches is less than 5 and wickets is more than 9? | SELECT "Average" FROM table_8453 WHERE "Matches" < '5' AND "Wickets" > '9' | [
10919,
318,
262,
2811,
618,
7466,
318,
1342,
621,
642,
290,
266,
15970,
318,
517,
621,
860,
30,
46506,
366,
26287,
1,
16034,
3084,
62,
23,
36625,
33411,
366,
19044,
2052,
1,
1279,
705,
20,
6,
5357,
366,
54,
15970,
1,
1875,
705,
24... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2811,
618,
7466,
318,
1342,
621,
642,
290,
266,
15970,
318,
517,
621,
860,
30,
46506,
366,
26287,
1,
16034,
3084,
62,
23,
36625,
33411,
366,
19044,
2052,
1,
1279,
705,
20,
6,
5357,
366,
54,
15970,
1,
1875,
705,
24... |
What teams has a home of 5-0? | SELECT teams FROM table_name_58 WHERE home = "5-0" | [
2061,
3466,
468,
257,
1363,
286,
642,
12,
15,
30,
46506,
3466,
16034,
3084,
62,
3672,
62,
3365,
33411,
1363,
796,
366,
20,
12,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3466,
468,
257,
1363,
286,
642,
12,
15,
30,
46506,
3466,
16034,
3084,
62,
3672,
62,
3365,
33411,
1363,
796,
366,
20,
12,
15,
1
] |
In what city is the plant hardiness zone 2B and January temp is 12/ 23 c (10/-9 f)? | SELECT "City" FROM table_64845 WHERE "Plant Hardiness Zone" = '2b' AND "January" = '−12/−23°c (10/-9°f)' | [
818,
644,
1748,
318,
262,
4618,
1327,
1272,
6516,
362,
33,
290,
3269,
20218,
318,
1105,
14,
2242,
269,
357,
940,
16327,
24,
277,
19427,
46506,
366,
14941,
1,
16034,
3084,
62,
34287,
2231,
33411,
366,
3646,
415,
6912,
1272,
13035,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
818,
644,
1748,
318,
262,
4618,
1327,
1272,
6516,
362,
33,
290,
3269,
20218,
318,
1105,
14,
2242,
269,
357,
940,
16327,
24,
277,
19427,
46506,
366,
14941,
1,
16034,
3084,
62,
34287,
2231,
33411,
366,
3646,
415,
6912,
1272,
13035,
1,
... |
Which Home team has a Home team score of 7.8 (50)? | SELECT "Home team" FROM table_10213 WHERE "Home team score" = '7.8 (50)' | [
13828,
5995,
1074,
468,
257,
5995,
1074,
4776,
286,
767,
13,
23,
357,
1120,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
15377,
1485,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
22,
13,
23,
357,
1120,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5995,
1074,
468,
257,
5995,
1074,
4776,
286,
767,
13,
23,
357,
1120,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
15377,
1485,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
22,
13,
23,
357,
1120,
33047
] |
Which Thermodynamics and Kinetics courses are worth 9 credits ? | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Thermodynamics and Kinetics%' OR name LIKE '%Thermodynamics and Kinetics%') AND credits = 9 | [
13828,
12634,
76,
44124,
290,
16645,
14596,
10902,
389,
2861,
860,
10824,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
1438,
11,
1271,
16034,
1781,
33411,
357,
11213,
34178,
705,
4,
35048,
76,
44124,
290,
16645,
14596,
4,
6,
6375,
1438... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12634,
76,
44124,
290,
16645,
14596,
10902,
389,
2861,
860,
10824,
5633,
46506,
360,
8808,
1268,
4177,
5011,
11,
1438,
11,
1271,
16034,
1781,
33411,
357,
11213,
34178,
705,
4,
35048,
76,
44124,
290,
16645,
14596,
4,
6,
6375,
1438... |
How many different writers have written the episode with series number 8? | SELECT COUNT("Written by") FROM table_26439 WHERE "No. by series" = '8' | [
2437,
867,
1180,
8786,
423,
3194,
262,
4471,
351,
2168,
1271,
807,
30,
46506,
327,
28270,
7203,
25354,
416,
4943,
16034,
3084,
62,
18897,
2670,
33411,
366,
2949,
13,
416,
2168,
1,
796,
705,
23,
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
] | [
2437,
867,
1180,
8786,
423,
3194,
262,
4471,
351,
2168,
1271,
807,
30,
46506,
327,
28270,
7203,
25354,
416,
4943,
16034,
3084,
62,
18897,
2670,
33411,
366,
2949,
13,
416,
2168,
1,
796,
705,
23,
6
] |
Which sport has 94kg men's weightlifting as one of its events? | SELECT sport FROM table_name_22 WHERE event = "94kg men's weightlifting" | [
13828,
6332,
468,
10048,
10025,
1450,
338,
3463,
30510,
355,
530,
286,
663,
2995,
30,
46506,
6332,
16034,
3084,
62,
3672,
62,
1828,
33411,
1785,
796,
366,
5824,
10025,
1450,
338,
3463,
30510,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
6332,
468,
10048,
10025,
1450,
338,
3463,
30510,
355,
530,
286,
663,
2995,
30,
46506,
6332,
16034,
3084,
62,
3672,
62,
1828,
33411,
1785,
796,
366,
5824,
10025,
1450,
338,
3463,
30510,
1
] |
WHAT WAS THE JERSEY NUMBER OF THE ROSTER PLAYER FROM OKLAHOMA STATE WHO PLAYED GUARD? | SELECT no FROM table_15621965_18 WHERE position = "Guard" AND school_club_team = "Oklahoma State" | [
32971,
21725,
3336,
449,
4877,
22348,
36871,
13246,
3963,
3336,
371,
10892,
1137,
28180,
1137,
16034,
7477,
13534,
39,
2662,
32,
35454,
19494,
28180,
1961,
19348,
9795,
30,
46506,
645,
16034,
3084,
62,
1314,
5237,
45271,
62,
1507,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
21725,
3336,
449,
4877,
22348,
36871,
13246,
3963,
3336,
371,
10892,
1137,
28180,
1137,
16034,
7477,
13534,
39,
2662,
32,
35454,
19494,
28180,
1961,
19348,
9795,
30,
46506,
645,
16034,
3084,
62,
1314,
5237,
45271,
62,
1507,
33411,
... |
What group had 29 studio albums? | SELECT "Girl group" FROM table_73110 WHERE "Studio albums" = '29' | [
2061,
1448,
550,
2808,
8034,
16788,
30,
46506,
366,
24151,
1448,
1,
16034,
3084,
62,
22,
3132,
940,
33411,
366,
41501,
16788,
1,
796,
705,
1959,
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
] | [
2061,
1448,
550,
2808,
8034,
16788,
30,
46506,
366,
24151,
1448,
1,
16034,
3084,
62,
22,
3132,
940,
33411,
366,
41501,
16788,
1,
796,
705,
1959,
6
] |
provide me the number of patients admitted before the year 2162 who have been diagnosed with blood in feces. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2162" AND diagnoses.short_title = "Blood in stool" | [
15234,
485,
502,
262,
1271,
286,
3871,
6848,
878,
262,
614,
362,
25061,
508,
423,
587,
14641,
351,
2910,
287,
43924,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
502,
262,
1271,
286,
3871,
6848,
878,
262,
614,
362,
25061,
508,
423,
587,
14641,
351,
2910,
287,
43924,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... |
Show the authors who have submissions to more than one workshop. | SELECT T2.author FROM acceptance AS T1 JOIN submission AS T2 ON T1.submission_id = T2.submission_id GROUP BY T2.author HAVING COUNT(DISTINCT T1.workshop_id) > 1 | [
15307,
262,
7035,
508,
423,
22129,
284,
517,
621,
530,
20243,
13,
46506,
309,
17,
13,
9800,
16034,
13427,
7054,
309,
16,
32357,
1268,
14498,
7054,
309,
17,
6177,
309,
16,
13,
7266,
3411,
62,
312,
796,
309,
17,
13,
7266,
3411,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
7035,
508,
423,
22129,
284,
517,
621,
530,
20243,
13,
46506,
309,
17,
13,
9800,
16034,
13427,
7054,
309,
16,
32357,
1268,
14498,
7054,
309,
17,
6177,
309,
16,
13,
7266,
3411,
62,
312,
796,
309,
17,
13,
7266,
3411,
62,
... |
tell me the name of allergies patient 009-9534 was having until 08/2102? | SELECT allergy.allergyname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-9534')) AND STRFTIME('%y-%m', allergy.allergytime) <= '2102-08' | [
33331,
502,
262,
1438,
286,
36665,
5827,
3571,
24,
12,
3865,
2682,
373,
1719,
1566,
8487,
14,
17,
15377,
30,
46506,
36197,
13,
439,
26079,
3672,
16034,
36197,
33411,
36197,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
1438,
286,
36665,
5827,
3571,
24,
12,
3865,
2682,
373,
1719,
1566,
8487,
14,
17,
15377,
30,
46506,
36197,
13,
439,
26079,
3672,
16034,
36197,
33411,
36197,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029... |
What is the Set 3 with a Score of 3 1, and has a Set 2 of 13 15? | SELECT "Set 3" FROM table_54305 WHERE "Score" = '3–1' AND "Set 2" = '13–15' | [
2061,
318,
262,
5345,
513,
351,
257,
15178,
286,
513,
352,
11,
290,
468,
257,
5345,
362,
286,
1511,
1315,
30,
46506,
366,
7248,
513,
1,
16034,
3084,
62,
4051,
22515,
33411,
366,
26595,
1,
796,
705,
18,
1906,
16,
6,
5357,
366,
7248... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5345,
513,
351,
257,
15178,
286,
513,
352,
11,
290,
468,
257,
5345,
362,
286,
1511,
1315,
30,
46506,
366,
7248,
513,
1,
16034,
3084,
62,
4051,
22515,
33411,
366,
26595,
1,
796,
705,
18,
1906,
16,
6,
5357,
366,
7248... |
give me the top five most often prescribed drugs for patients 50s during this year? | SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 50 AND 59) AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(... | [
26535,
502,
262,
1353,
1936,
749,
1690,
14798,
5010,
329,
3871,
2026,
82,
1141,
428,
614,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1353,
1936,
749,
1690,
14798,
5010,
329,
3871,
2026,
82,
1141,
428,
614,
30,
46506,
256,
16,
13,
30349,
3672,
16034,
357,
46506,
14103,
13,
30349,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11... |
Gross MW of 220, and a Unit of kakrapar 1 involves what operation start? | SELECT "Operation start" FROM table_68270 WHERE "Gross MW" = '220' AND "Unit" = 'kakrapar 1' | [
38,
1214,
29961,
286,
15629,
11,
290,
257,
11801,
286,
479,
38004,
1845,
352,
9018,
644,
4905,
923,
30,
46506,
366,
32180,
923,
1,
16034,
3084,
62,
3104,
20233,
33411,
366,
38,
1214,
29961,
1,
796,
705,
17572,
6,
5357,
366,
26453,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
38,
1214,
29961,
286,
15629,
11,
290,
257,
11801,
286,
479,
38004,
1845,
352,
9018,
644,
4905,
923,
30,
46506,
366,
32180,
923,
1,
16034,
3084,
62,
3104,
20233,
33411,
366,
38,
1214,
29961,
1,
796,
705,
17572,
6,
5357,
366,
26453,
1... |
Who was the home team at the game that had a crowd of over 24,520? | SELECT home_team FROM table_name_80 WHERE crowd > 24 OFFSET 520 | [
8241,
373,
262,
1363,
1074,
379,
262,
983,
326,
550,
257,
4315,
286,
625,
1987,
11,
31211,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1795,
33411,
4315,
1875,
1987,
3963,
10652,
2767,
36141
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1363,
1074,
379,
262,
983,
326,
550,
257,
4315,
286,
625,
1987,
11,
31211,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
1795,
33411,
4315,
1875,
1987,
3963,
10652,
2767,
36141
] |
Draw a bar chart about the distribution of ACC_Regular_Season and Team_ID , and I want to sort by the X-axis in descending. | SELECT ACC_Regular_Season, Team_ID FROM basketball_match ORDER BY ACC_Regular_Season DESC | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
40164,
62,
18960,
290,
4816,
62,
2389,
837,
290,
314,
765,
284,
3297,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
4816,
62,
2389,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
40164,
62,
18960,
290,
4816,
62,
2389,
837,
290,
314,
765,
284,
3297,
416,
262,
1395,
12,
22704,
287,
31491,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
4816,
62,
2389,
16034,
... |
what is the minimum age of male patients who have chest pain as their primary disease? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.diagnosis = "CHEST PAIN" | [
10919,
318,
262,
5288,
2479,
286,
4257,
3871,
508,
423,
7721,
2356,
355,
511,
4165,
4369,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
47356,
5958,
796,
366,
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
] | [
10919,
318,
262,
5288,
2479,
286,
4257,
3871,
508,
423,
7721,
2356,
355,
511,
4165,
4369,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
47356,
5958,
796,
366,
33... |
Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification? | SELECT winner FROM table_23157997_13 WHERE mountains_classification = "Tom Zirbel" AND points_classification = "Thomas Soladay" | [
8241,
1839,
262,
3234,
351,
4186,
1168,
343,
6667,
355,
21124,
40984,
290,
5658,
4294,
43593,
355,
11045,
40984,
30,
46506,
8464,
16034,
3084,
62,
1954,
18458,
39647,
62,
1485,
33411,
12269,
62,
4871,
2649,
796,
366,
13787,
1168,
343,
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
] | [
8241,
1839,
262,
3234,
351,
4186,
1168,
343,
6667,
355,
21124,
40984,
290,
5658,
4294,
43593,
355,
11045,
40984,
30,
46506,
8464,
16034,
3084,
62,
1954,
18458,
39647,
62,
1485,
33411,
12269,
62,
4871,
2649,
796,
366,
13787,
1168,
343,
6... |
What shows for mon 22 aug whenwed 24 aug is 19' 56.16 113.553mph? | SELECT "Mon 22 Aug" FROM table_31466 WHERE "Wed 24 Aug" = '19'' 56.16 113.553mph' | [
2061,
2523,
329,
937,
2534,
16339,
618,
19103,
1987,
16339,
318,
678,
6,
7265,
13,
1433,
17318,
13,
48096,
23335,
30,
46506,
366,
9069,
2534,
2447,
1,
16034,
3084,
62,
33638,
2791,
33411,
366,
19864,
1987,
2447,
1,
796,
705,
1129,
706... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2523,
329,
937,
2534,
16339,
618,
19103,
1987,
16339,
318,
678,
6,
7265,
13,
1433,
17318,
13,
48096,
23335,
30,
46506,
366,
9069,
2534,
2447,
1,
16034,
3084,
62,
33638,
2791,
33411,
366,
19864,
1987,
2447,
1,
796,
705,
1129,
706... |
Date of september 25, 1983 is what game site? | SELECT game_site FROM table_name_68 WHERE date = "september 25, 1983" | [
10430,
286,
384,
457,
1491,
1679,
11,
13540,
318,
644,
983,
2524,
30,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
3104,
33411,
3128,
796,
366,
325,
457,
1491,
1679,
11,
13540,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10430,
286,
384,
457,
1491,
1679,
11,
13540,
318,
644,
983,
2524,
30,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
3104,
33411,
3128,
796,
366,
325,
457,
1491,
1679,
11,
13540,
1
] |
What is the score of away team, North Melbourne? | SELECT "Away team score" FROM table_10165 WHERE "Away team" = 'north melbourne' | [
2061,
318,
262,
4776,
286,
1497,
1074,
11,
2258,
14819,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
8784,
2996,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
12544,
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
] | [
2061,
318,
262,
4776,
286,
1497,
1074,
11,
2258,
14819,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
8784,
2996,
33411,
366,
32,
1014,
1074,
1,
796,
705,
43588,
7758,
12544,
6
] |
how many medals did the usa win ? | SELECT "total" FROM table_203_716 WHERE "nation" = 'usa' | [
4919,
867,
28057,
750,
262,
514,
64,
1592,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
22,
1433,
33411,
366,
25729,
1,
796,
705,
22064,
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
] | [
4919,
867,
28057,
750,
262,
514,
64,
1592,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
22,
1433,
33411,
366,
25729,
1,
796,
705,
22064,
6
] |
Kecamatan Bogor Timur has more than 6 villages, what is the area in km ? | SELECT SUM(area_in_km²) FROM table_name_68 WHERE original_name = "kecamatan bogor timur" AND number_of_settlements_and_villages > 6 | [
42,
721,
321,
39036,
21555,
273,
5045,
333,
468,
517,
621,
718,
15425,
11,
644,
318,
262,
1989,
287,
10571,
5633,
46506,
35683,
7,
20337,
62,
259,
62,
13276,
31185,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
2656,
62,
3672,
796,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
42,
721,
321,
39036,
21555,
273,
5045,
333,
468,
517,
621,
718,
15425,
11,
644,
318,
262,
1989,
287,
10571,
5633,
46506,
35683,
7,
20337,
62,
259,
62,
13276,
31185,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
2656,
62,
3672,
796,
366... |
who was the top winner in 2002 of the division 1 undergraduate ? | SELECT "division i undergraduate" FROM table_204_879 WHERE "year" = 2002 | [
8727,
373,
262,
1353,
8464,
287,
6244,
286,
262,
7297,
352,
22952,
5633,
46506,
366,
21426,
1312,
22952,
1,
16034,
3084,
62,
18638,
62,
23,
3720,
33411,
366,
1941,
1,
796,
6244
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
262,
1353,
8464,
287,
6244,
286,
262,
7297,
352,
22952,
5633,
46506,
366,
21426,
1312,
22952,
1,
16034,
3084,
62,
18638,
62,
23,
3720,
33411,
366,
1941,
1,
796,
6244
] |
What is the location attendance of the game with A. Horford (10) as the highest rebounds and J. Johnson (21) as the highest points? | SELECT location_attendance FROM table_name_49 WHERE high_rebounds = "a. horford (10)" AND high_points = "j. johnson (21)" | [
2061,
318,
262,
4067,
14858,
286,
262,
983,
351,
317,
13,
6075,
3841,
357,
940,
8,
355,
262,
4511,
18841,
290,
449,
13,
5030,
357,
2481,
8,
355,
262,
4511,
2173,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
2920... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
4067,
14858,
286,
262,
983,
351,
317,
13,
6075,
3841,
357,
940,
8,
355,
262,
4511,
18841,
290,
449,
13,
5030,
357,
2481,
8,
355,
262,
4511,
2173,
30,
46506,
4067,
62,
1078,
437,
590,
16034,
3084,
62,
3672,
62,
2920... |
for the position of rb what is the name? | SELECT "Name" FROM table_67384 WHERE "Position" = 'rb' | [
1640,
262,
2292,
286,
374,
65,
644,
318,
262,
1438,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3134,
22842,
33411,
366,
26545,
1,
796,
705,
26145,
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
] | [
1640,
262,
2292,
286,
374,
65,
644,
318,
262,
1438,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
3134,
22842,
33411,
366,
26545,
1,
796,
705,
26145,
6
] |
How many connection catagories are there for Tampa? | SELECT COUNT(connections) FROM table_2093995_1 WHERE stations = "Tampa" | [
2437,
867,
4637,
3797,
363,
1749,
389,
612,
329,
15528,
30,
46506,
327,
28270,
7,
8443,
507,
8,
16034,
3084,
62,
1238,
6052,
33438,
62,
16,
33411,
8985,
796,
366,
51,
13299,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
4637,
3797,
363,
1749,
389,
612,
329,
15528,
30,
46506,
327,
28270,
7,
8443,
507,
8,
16034,
3084,
62,
1238,
6052,
33438,
62,
16,
33411,
8985,
796,
366,
51,
13299,
1
] |
Which Opponent has a lost of wells (6-2)? | SELECT opponent FROM table_name_45 WHERE loss = "wells (6-2)" | [
13828,
9385,
3471,
468,
257,
2626,
286,
22571,
357,
21,
12,
17,
19427,
46506,
6125,
16034,
3084,
62,
3672,
62,
2231,
33411,
2994,
796,
366,
4053,
82,
357,
21,
12,
17,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9385,
3471,
468,
257,
2626,
286,
22571,
357,
21,
12,
17,
19427,
46506,
6125,
16034,
3084,
62,
3672,
62,
2231,
33411,
2994,
796,
366,
4053,
82,
357,
21,
12,
17,
16725
] |
what is the numeric decline from peak population when the perfect decline from peak population is -16.76% | SELECT "Numeric decline from peak population" FROM table_50415 WHERE "Percent decline from peak population" = '-16.76%' | [
10919,
318,
262,
35575,
7794,
422,
9103,
3265,
618,
262,
2818,
7794,
422,
9103,
3265,
318,
532,
1433,
13,
4304,
4,
46506,
366,
45,
39223,
7794,
422,
9103,
3265,
1,
16034,
3084,
62,
33580,
1314,
33411,
366,
31905,
7794,
422,
9103,
3265... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
35575,
7794,
422,
9103,
3265,
618,
262,
2818,
7794,
422,
9103,
3265,
318,
532,
1433,
13,
4304,
4,
46506,
366,
45,
39223,
7794,
422,
9103,
3265,
1,
16034,
3084,
62,
33580,
1314,
33411,
366,
31905,
7794,
422,
9103,
3265... |
what are the COACH fares for flights from PITTSBURGH to DENVER | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code ... | [
10919,
389,
262,
7375,
16219,
33164,
329,
13956,
422,
49040,
4694,
38926,
17511,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
90... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
7375,
16219,
33164,
329,
13956,
422,
49040,
4694,
38926,
17511,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
90... |
find the number of single patients whose drug route is iv bolus. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.marital_status = "SINGLE" AND prescriptions.route = "IV BOLUS" | [
19796,
262,
1271,
286,
2060,
3871,
3025,
2563,
6339,
318,
21628,
11572,
385,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
262,
1271,
286,
2060,
3871,
3025,
2563,
6339,
318,
21628,
11572,
385,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
... |
Which Rebuilt has a Name as rebuilt of binevanagh? | SELECT "Rebuilt" FROM table_79736 WHERE "Name as rebuilt" = 'binevanagh' | [
13828,
797,
18780,
468,
257,
6530,
355,
30080,
286,
275,
500,
10438,
10471,
30,
46506,
366,
28951,
21955,
1,
16034,
3084,
62,
44673,
2623,
33411,
366,
5376,
355,
30080,
1,
796,
705,
65,
500,
10438,
10471,
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
] | [
13828,
797,
18780,
468,
257,
6530,
355,
30080,
286,
275,
500,
10438,
10471,
30,
46506,
366,
28951,
21955,
1,
16034,
3084,
62,
44673,
2623,
33411,
366,
5376,
355,
30080,
1,
796,
705,
65,
500,
10438,
10471,
6
] |
give me the number of patients whose primary disease is st elevated myocardial infarction\cardiac cath and procedure icd9 code is 2219? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" AND procedures.icd9_code = "2219" | [
26535,
502,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
336,
15321,
616,
44412,
498,
1167,
283,
596,
59,
9517,
9607,
32171,
290,
8771,
14158,
67,
24,
2438,
318,
2534,
1129,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
336,
15321,
616,
44412,
498,
1167,
283,
596,
59,
9517,
9607,
32171,
290,
8771,
14158,
67,
24,
2438,
318,
2534,
1129,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
... |
how many of the patients on urgent admission had endosc sphincterotomy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.short_title = "Endosc sphincterotomy" | [
4919,
867,
286,
262,
3871,
319,
18039,
13938,
550,
886,
17500,
599,
71,
4612,
263,
38385,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
181... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
286,
262,
3871,
319,
18039,
13938,
550,
886,
17500,
599,
71,
4612,
263,
38385,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
181... |
Questions shorter than their title. Finds questions where the body is shorter than the title.
These are usually low quality, and we should consider either closing or editing.
At the very least, leave a comment asking for clarification. | SELECT Id AS "post_link", Body FROM Posts WHERE PostTypeId = 1 AND LENGTH(Body) <= LENGTH(Title) ORDER BY Posts.LastActivityDate | [
35741,
12238,
621,
511,
3670,
13,
9938,
82,
2683,
810,
262,
1767,
318,
12238,
621,
262,
3670,
13,
198,
4711,
389,
3221,
1877,
3081,
11,
290,
356,
815,
2074,
2035,
9605,
393,
12857,
13,
198,
2953,
262,
845,
1551,
11,
2666,
257,
2912,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
35741,
12238,
621,
511,
3670,
13,
9938,
82,
2683,
810,
262,
1767,
318,
12238,
621,
262,
3670,
13,
198,
4711,
389,
3221,
1877,
3081,
11,
290,
356,
815,
2074,
2035,
9605,
393,
12857,
13,
198,
2953,
262,
845,
1551,
11,
2666,
257,
2912,... |
papers in ACL 2016 | SELECT DISTINCT paper.paperid FROM paper, venue WHERE paper.year = 2016 AND venue.venueid = paper.venueid AND venue.venuename = 'ACL' | [
40491,
287,
17382,
1584,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
3348,
11,
14359,
33411,
3348,
13,
1941,
796,
1584,
5357,
14359,
13,
4080,
312,
796,
3348,
13,
4080,
312,
5357,
14359,
13,
574,
84,
12453,
796,
705,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40491,
287,
17382,
1584,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
3348,
11,
14359,
33411,
3348,
13,
1941,
796,
1584,
5357,
14359,
13,
4080,
312,
796,
3348,
13,
4080,
312,
5357,
14359,
13,
574,
84,
12453,
796,
705,
22... |
Find the locations that have more than one movie theater with capacity above 300. | SELECT LOCATION FROM cinema WHERE capacity > 300 GROUP BY LOCATION HAVING COUNT(*) > 1 | [
16742,
262,
7064,
326,
423,
517,
621,
530,
3807,
13766,
351,
5339,
2029,
5867,
13,
46506,
37347,
6234,
16034,
22041,
33411,
5339,
1875,
5867,
44441,
11050,
37347,
6234,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
7064,
326,
423,
517,
621,
530,
3807,
13766,
351,
5339,
2029,
5867,
13,
46506,
37347,
6234,
16034,
22041,
33411,
5339,
1875,
5867,
44441,
11050,
37347,
6234,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
352
] |
Name the landesliga sud for sg quelle f rth | SELECT landesliga_süd FROM table_20181270_3 WHERE bayernliga = "SG Quelle Fürth" | [
5376,
262,
1956,
274,
38910,
424,
67,
329,
264,
70,
627,
13485,
277,
374,
400,
46506,
1956,
274,
38910,
62,
82,
9116,
67,
16034,
3084,
62,
7908,
1065,
2154,
62,
18,
33411,
15489,
1142,
38910,
796,
366,
38475,
2264,
13485,
376,
25151,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1956,
274,
38910,
424,
67,
329,
264,
70,
627,
13485,
277,
374,
400,
46506,
1956,
274,
38910,
62,
82,
9116,
67,
16034,
3084,
62,
7908,
1065,
2154,
62,
18,
33411,
15489,
1142,
38910,
796,
366,
38475,
2264,
13485,
376,
25151,
... |
Name the leaast points for standing 5th | SELECT MIN(points) FROM table_26882866_1 WHERE standing = "5th" | [
5376,
262,
443,
64,
459,
2173,
329,
5055,
642,
400,
46506,
20625,
7,
13033,
8,
16034,
3084,
62,
2075,
3459,
2078,
2791,
62,
16,
33411,
5055,
796,
366,
20,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
443,
64,
459,
2173,
329,
5055,
642,
400,
46506,
20625,
7,
13033,
8,
16034,
3084,
62,
2075,
3459,
2078,
2791,
62,
16,
33411,
5055,
796,
366,
20,
400,
1
] |
how many years has this team been a part of the 1s aut . pref . division ? | SELECT COUNT("season") FROM table_204_524 WHERE "division" = '1a aut. pref' | [
4919,
867,
812,
468,
428,
1074,
587,
257,
636,
286,
262,
352,
82,
1960,
764,
7694,
764,
7297,
5633,
46506,
327,
28270,
7203,
6230,
4943,
16034,
3084,
62,
18638,
62,
48057,
33411,
366,
21426,
1,
796,
705,
16,
64,
1960,
13,
7694,
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
] | [
4919,
867,
812,
468,
428,
1074,
587,
257,
636,
286,
262,
352,
82,
1960,
764,
7694,
764,
7297,
5633,
46506,
327,
28270,
7203,
6230,
4943,
16034,
3084,
62,
18638,
62,
48057,
33411,
366,
21426,
1,
796,
705,
16,
64,
1960,
13,
7694,
6
] |
give me the number of patients whose admission year is less than 2190 and lab test abnormal status is delta? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2190" AND lab.flag = "delta" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
19782,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
19782,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
Which Monarch has succession unclear 1100-1103 as his Status? | SELECT "Monarch" FROM table_58172 WHERE "Status" = 'succession unclear 1100-1103' | [
13828,
41768,
468,
22435,
10061,
36566,
12,
11442,
18,
355,
465,
12678,
30,
46506,
366,
9069,
998,
1,
16034,
3084,
62,
3365,
23628,
33411,
366,
19580,
1,
796,
705,
13138,
295,
10061,
36566,
12,
11442,
18,
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
] | [
13828,
41768,
468,
22435,
10061,
36566,
12,
11442,
18,
355,
465,
12678,
30,
46506,
366,
9069,
998,
1,
16034,
3084,
62,
3365,
23628,
33411,
366,
19580,
1,
796,
705,
13138,
295,
10061,
36566,
12,
11442,
18,
6
] |
what is discharge time of subject id 8440? | SELECT demographic.dischtime FROM demographic WHERE demographic.subject_id = "8440" | [
10919,
318,
17655,
640,
286,
2426,
4686,
9508,
1821,
30,
46506,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
5705,
1821,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
17655,
640,
286,
2426,
4686,
9508,
1821,
30,
46506,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
5705,
1821,
1
] |
give me the number of patients born before the year 2111 whose diagnosis short title is injury-hanging. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2111" AND diagnoses.short_title = "Injury-hanging" | [
26535,
502,
262,
1271,
286,
3871,
4642,
878,
262,
614,
362,
16243,
3025,
13669,
1790,
3670,
318,
5095,
12,
71,
4924,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
4642,
878,
262,
614,
362,
16243,
3025,
13669,
1790,
3670,
318,
5095,
12,
71,
4924,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... |
How many customers using email as the contact channel? Group by customer name and bin active date by year in a stacked bar chart, and show total number in descending order. | SELECT active_from_date, COUNT(active_from_date) FROM Customers AS t1 JOIN Customer_Contact_Channels AS t2 ON t1.customer_id = t2.customer_id WHERE t2.channel_code = 'Email' GROUP BY customer_name ORDER BY COUNT(active_from_date) DESC | [
2437,
867,
4297,
1262,
3053,
355,
262,
2800,
6518,
30,
4912,
416,
6491,
1438,
290,
9874,
4075,
3128,
416,
614,
287,
257,
24167,
2318,
8262,
11,
290,
905,
2472,
1271,
287,
31491,
1502,
13,
46506,
4075,
62,
6738,
62,
4475,
11,
327,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
4297,
1262,
3053,
355,
262,
2800,
6518,
30,
4912,
416,
6491,
1438,
290,
9874,
4075,
3128,
416,
614,
287,
257,
24167,
2318,
8262,
11,
290,
905,
2472,
1271,
287,
31491,
1502,
13,
46506,
4075,
62,
6738,
62,
4475,
11,
327,
28... |
who was the first to die after elisabeth irwin ? | SELECT "name" FROM table_203_449 WHERE "lifetime" > (SELECT "lifetime" FROM table_203_449 WHERE "name" = 'elisabeth irwin') ORDER BY "lifetime" LIMIT 1 | [
8727,
373,
262,
717,
284,
4656,
706,
1288,
271,
9407,
4173,
5404,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
31911,
33411,
366,
36195,
8079,
1,
1875,
357,
46506,
366,
36195,
8079,
1,
16034,
3084,
62,
22416,
62,
31911,
3341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
262,
717,
284,
4656,
706,
1288,
271,
9407,
4173,
5404,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
31911,
33411,
366,
36195,
8079,
1,
1875,
357,
46506,
366,
36195,
8079,
1,
16034,
3084,
62,
22416,
62,
31911,
3341... |
How many values for silver occur when gold is less than 1, the rank is 13, and bronze is greater than 2? | SELECT COUNT(silver) FROM table_name_70 WHERE gold < 1 AND rank = 13 AND bronze > 2 | [
2437,
867,
3815,
329,
8465,
3051,
618,
3869,
318,
1342,
621,
352,
11,
262,
4279,
318,
1511,
11,
290,
22101,
318,
3744,
621,
362,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
3869,
1279,
352,
5357,
4279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3815,
329,
8465,
3051,
618,
3869,
318,
1342,
621,
352,
11,
262,
4279,
318,
1511,
11,
290,
22101,
318,
3744,
621,
362,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
3869,
1279,
352,
5357,
4279... |
What award ceremony was howard bay and patton campbell nominated? | SELECT "Award Ceremony" FROM table_62263 WHERE "Nominee" = 'howard bay and patton campbell' | [
2061,
5764,
10542,
373,
703,
446,
15489,
290,
279,
38680,
1413,
7923,
19332,
30,
46506,
366,
32,
904,
26532,
9926,
1,
16034,
3084,
62,
21,
1828,
5066,
33411,
366,
45,
296,
500,
68,
1,
796,
705,
4919,
446,
15489,
290,
279,
38680,
141... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5764,
10542,
373,
703,
446,
15489,
290,
279,
38680,
1413,
7923,
19332,
30,
46506,
366,
32,
904,
26532,
9926,
1,
16034,
3084,
62,
21,
1828,
5066,
33411,
366,
45,
296,
500,
68,
1,
796,
705,
4919,
446,
15489,
290,
279,
38680,
141... |
What's the least losses for Horsham Saints with more than 13 wins and less than 1211 against? | SELECT MIN(losses) FROM table_name_24 WHERE against < 1211 AND wimmera_fl = "horsham saints" AND wins > 13 | [
2061,
338,
262,
1551,
9089,
329,
367,
669,
2763,
13048,
351,
517,
621,
1511,
7864,
290,
1342,
621,
1105,
1157,
1028,
30,
46506,
20625,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
1028,
1279,
1105,
1157,
5357,
266,
10957,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1551,
9089,
329,
367,
669,
2763,
13048,
351,
517,
621,
1511,
7864,
290,
1342,
621,
1105,
1157,
1028,
30,
46506,
20625,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
1028,
1279,
1105,
1157,
5357,
266,
10957,... |
What are Ken Rosewall's sets w-l? | SELECT "Sets W-L" FROM table_25673 WHERE "Player" = 'Ken Rosewall' | [
2061,
389,
7148,
8049,
11930,
338,
5621,
266,
12,
75,
30,
46506,
366,
50,
1039,
370,
12,
43,
1,
16034,
3084,
62,
1495,
45758,
33411,
366,
14140,
1,
796,
705,
27827,
8049,
11930,
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
] | [
2061,
389,
7148,
8049,
11930,
338,
5621,
266,
12,
75,
30,
46506,
366,
50,
1039,
370,
12,
43,
1,
16034,
3084,
62,
1495,
45758,
33411,
366,
14140,
1,
796,
705,
27827,
8049,
11930,
6
] |
until 1 year ago, what are the top five most frequent diagnoses that patients were diagnosed with within the same month after the diagnosis of mth sus stph aur els/nos. | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions... | [
28446,
352,
614,
2084,
11,
644,
389,
262,
1353,
1936,
749,
10792,
40567,
326,
3871,
547,
14641,
351,
1626,
262,
976,
1227,
706,
262,
13669,
286,
285,
400,
2341,
336,
746,
45714,
1288,
82,
14,
39369,
13,
46506,
288,
62,
291,
67,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
28446,
352,
614,
2084,
11,
644,
389,
262,
1353,
1936,
749,
10792,
40567,
326,
3871,
547,
14641,
351,
1626,
262,
976,
1227,
706,
262,
13669,
286,
285,
400,
2341,
336,
746,
45714,
1288,
82,
14,
39369,
13,
46506,
288,
62,
291,
67,
62,
... |
If Safari is 3.76%, what is the other Mozilla amount? | SELECT other_mozilla FROM table_1876262_10 WHERE safari = "3.76%" | [
1532,
23298,
318,
513,
13,
4304,
7441,
644,
318,
262,
584,
29258,
2033,
30,
46506,
584,
62,
5908,
16496,
16034,
3084,
62,
1507,
4304,
29119,
62,
940,
33411,
1932,
2743,
796,
366,
18,
13,
4304,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
23298,
318,
513,
13,
4304,
7441,
644,
318,
262,
584,
29258,
2033,
30,
46506,
584,
62,
5908,
16496,
16034,
3084,
62,
1507,
4304,
29119,
62,
940,
33411,
1932,
2743,
796,
366,
18,
13,
4304,
39658
] |
Name the minimum number disc for number in series for 14 | SELECT MIN("No. Disc") FROM table_1250 WHERE "No. in series" = '14' | [
5376,
262,
5288,
1271,
1221,
329,
1271,
287,
2168,
329,
1478,
46506,
20625,
7203,
2949,
13,
8444,
4943,
16034,
3084,
62,
1065,
1120,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
1415,
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
] | [
5376,
262,
5288,
1271,
1221,
329,
1271,
287,
2168,
329,
1478,
46506,
20625,
7203,
2949,
13,
8444,
4943,
16034,
3084,
62,
1065,
1120,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
1415,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.