instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Name the District which has a Reserved for ( SC / ST /None) of sc? | SELECT district FROM table_name_94 WHERE reserved_for___sc___st__none_ = "sc" | [
5376,
262,
5665,
543,
468,
257,
33876,
329,
357,
6374,
1220,
3563,
1220,
14202,
8,
286,
629,
30,
46506,
4783,
16034,
3084,
62,
3672,
62,
5824,
33411,
10395,
62,
1640,
17569,
1416,
17569,
301,
834,
23108,
62,
796,
366,
1416,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5665,
543,
468,
257,
33876,
329,
357,
6374,
1220,
3563,
1220,
14202,
8,
286,
629,
30,
46506,
4783,
16034,
3084,
62,
3672,
62,
5824,
33411,
10395,
62,
1640,
17569,
1416,
17569,
301,
834,
23108,
62,
796,
366,
1416,
1
] |
when did patient 27703 last have a maximum value of arterial bp [diastolic] on 11/04/this year? | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27703)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial... | [
12518,
750,
5827,
2681,
36809,
938,
423,
257,
5415,
1988,
286,
30675,
498,
275,
79,
685,
10989,
459,
4160,
60,
319,
1367,
14,
3023,
14,
5661,
614,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
29... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
2681,
36809,
938,
423,
257,
5415,
1988,
286,
30675,
498,
275,
79,
685,
10989,
459,
4160,
60,
319,
1367,
14,
3023,
14,
5661,
614,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
29... |
What date did af giles play? | SELECT date FROM table_name_40 WHERE player = "af giles" | [
2061,
3128,
750,
6580,
308,
2915,
711,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1821,
33411,
2137,
796,
366,
1878,
308,
2915,
1
] | [
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,
3128,
750,
6580,
308,
2915,
711,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1821,
33411,
2137,
796,
366,
1878,
308,
2915,
1
] |
What Try bonus has a Points against of 488? | SELECT try_bonus FROM table_name_61 WHERE points_against = "488" | [
2061,
9993,
7202,
468,
257,
11045,
1028,
286,
604,
3459,
30,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
3672,
62,
5333,
33411,
2173,
62,
32826,
796,
366,
33646,
1
] | [
1,
1,
1,
1,
1,
1,
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,
9993,
7202,
468,
257,
11045,
1028,
286,
604,
3459,
30,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
3672,
62,
5333,
33411,
2173,
62,
32826,
796,
366,
33646,
1
] |
Who did he fight in Rumble of the Kings 6? | SELECT opponent FROM table_name_87 WHERE event = "rumble of the kings 6" | [
8241,
750,
339,
1907,
287,
42888,
286,
262,
10578,
718,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
5774,
33411,
1785,
796,
366,
6582,
903,
286,
262,
21557,
718,
1
] | [
1,
1,
1,
1,
1,
1,
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,
750,
339,
1907,
287,
42888,
286,
262,
10578,
718,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
5774,
33411,
1785,
796,
366,
6582,
903,
286,
262,
21557,
718,
1
] |
What driver had a time/retired of + 10 laps and more than 6 points? | SELECT "Driver" FROM table_45543 WHERE "Time/Retired" = '+ 10 laps' AND "Points" > '6' | [
2061,
4639,
550,
257,
640,
14,
1186,
1202,
286,
1343,
838,
24590,
290,
517,
621,
718,
2173,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
30505,
3559,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
838,
24590,
6,
5357,
366,
40710,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4639,
550,
257,
640,
14,
1186,
1202,
286,
1343,
838,
24590,
290,
517,
621,
718,
2173,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
30505,
3559,
33411,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
838,
24590,
6,
5357,
366,
40710,
... |
For those records from the products and each product's manufacturer, show me about the distribution of name and the average of code , and group by attribute name in a bar chart, sort X in descending order. | SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
287,
257,
2318,
8262,
11,
3297,
1395,
287,
31491,
1502,
13,
46506,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
287,
257,
2318,
8262,
11,
3297,
1395,
287,
31491,
1502,
13,
46506,
3... |
What position does Maryland have a player for Round 3? | SELECT "Position" FROM table_36051 WHERE "School/Club Team" = 'maryland' AND "Round" = '3' | [
2061,
2292,
857,
10769,
423,
257,
2137,
329,
10485,
513,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
15277,
4349,
33411,
366,
26130,
14,
42350,
4816,
1,
796,
705,
6874,
1044,
6,
5357,
366,
22685,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2292,
857,
10769,
423,
257,
2137,
329,
10485,
513,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
15277,
4349,
33411,
366,
26130,
14,
42350,
4816,
1,
796,
705,
6874,
1044,
6,
5357,
366,
22685,
1,
796,
705,
18,
6
] |
What is the crowd with an Away team score of 8.11 (59)? | SELECT AVG("Crowd") FROM table_32680 WHERE "Away team score" = '8.11 (59)' | [
2061,
318,
262,
4315,
351,
281,
21986,
1074,
4776,
286,
807,
13,
1157,
357,
3270,
19427,
46506,
35224,
7203,
34,
3986,
4943,
16034,
3084,
62,
39195,
1795,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
23,
13,
1157,
357,
3270,
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,
1,
1,
1
] | [
2061,
318,
262,
4315,
351,
281,
21986,
1074,
4776,
286,
807,
13,
1157,
357,
3270,
19427,
46506,
35224,
7203,
34,
3986,
4943,
16034,
3084,
62,
39195,
1795,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
23,
13,
1157,
357,
3270,
33047
] |
Show the number of services for each service type description with a pie chart. | SELECT Service_Type_Description, COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T2.Service_Type_Code | [
15307,
262,
1271,
286,
2594,
329,
1123,
2139,
2099,
6764,
351,
257,
2508,
8262,
13,
46506,
4809,
62,
6030,
62,
11828,
11,
327,
28270,
7,
28104,
16034,
6524,
62,
16177,
62,
31431,
7054,
309,
16,
32357,
1268,
6168,
7054,
309,
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... | [
15307,
262,
1271,
286,
2594,
329,
1123,
2139,
2099,
6764,
351,
257,
2508,
8262,
13,
46506,
4809,
62,
6030,
62,
11828,
11,
327,
28270,
7,
28104,
16034,
6524,
62,
16177,
62,
31431,
7054,
309,
16,
32357,
1268,
6168,
7054,
309,
17,
6177,
... |
What is the average attendance against the expos? | SELECT AVG(attendance) FROM table_name_57 WHERE opponent = "expos" | [
2061,
318,
262,
2811,
14858,
1028,
262,
1033,
418,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
6125,
796,
366,
1069,
1930,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2811,
14858,
1028,
262,
1033,
418,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
3553,
33411,
6125,
796,
366,
1069,
1930,
1
] |
How many people have participated for a decade?. | SELECT COUNT(*) AS result FROM (SELECT COUNT(*) AS numPosts FROM Users INNER JOIN Posts ON Posts.OwnerUserId = Users.Id WHERE Users.CreationDate < DATEADD(year, -10, GETDATE()) GROUP BY Users.Id) AS x WHERE x.numPosts >= 10 | [
2437,
867,
661,
423,
14888,
329,
257,
5707,
30,
13,
46506,
327,
28270,
7,
28104,
7054,
1255,
16034,
357,
46506,
327,
28270,
7,
28104,
7054,
997,
21496,
16034,
18987,
3268,
21479,
32357,
1268,
12043,
6177,
12043,
13,
42419,
12982,
7390,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
661,
423,
14888,
329,
257,
5707,
30,
13,
46506,
327,
28270,
7,
28104,
7054,
1255,
16034,
357,
46506,
327,
28270,
7,
28104,
7054,
997,
21496,
16034,
18987,
3268,
21479,
32357,
1268,
12043,
6177,
12043,
13,
42419,
12982,
7390,
... |
The score in the final is 2 6, 6 2, 6 0, on what surface? | SELECT "Surface" FROM table_73921 WHERE "Score in the final" = '2–6, 6–2, 6–0' | [
464,
4776,
287,
262,
2457,
318,
362,
718,
11,
718,
362,
11,
718,
657,
11,
319,
644,
4417,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
22,
2670,
2481,
33411,
366,
26595,
287,
262,
2457,
1,
796,
705,
17,
1906,
21,
11,
718,
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
] | [
464,
4776,
287,
262,
2457,
318,
362,
718,
11,
718,
362,
11,
718,
657,
11,
319,
644,
4417,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
22,
2670,
2481,
33411,
366,
26595,
287,
262,
2457,
1,
796,
705,
17,
1906,
21,
11,
718,
19... |
Rep Earned after Change in the weight of Question Upvote. This is just an estimation and doesn't take rep cap into account. | SELECT QuestionUpVotes = COUNT(*) * 5 FROM Votes AS v INNER JOIN Posts AS p ON p.Id = v.PostId WHERE p.PostTypeId = 1 AND v.VoteTypeId = 2 AND p.OwnerUserId = '##UserId##' | [
6207,
22535,
276,
706,
9794,
287,
262,
3463,
286,
18233,
3205,
27257,
13,
770,
318,
655,
281,
31850,
290,
1595,
470,
1011,
1128,
1451,
656,
1848,
13,
46506,
18233,
4933,
53,
6421,
796,
327,
28270,
7,
28104,
1635,
642,
16034,
39584,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6207,
22535,
276,
706,
9794,
287,
262,
3463,
286,
18233,
3205,
27257,
13,
770,
318,
655,
281,
31850,
290,
1595,
470,
1011,
1128,
1451,
656,
1848,
13,
46506,
18233,
4933,
53,
6421,
796,
327,
28270,
7,
28104,
1635,
642,
16034,
39584,
70... |
Show me team_id by acc regular season in a histogram, and rank X-axis from high to low order. | SELECT ACC_Regular_Season, Team_ID FROM basketball_match ORDER BY ACC_Regular_Season DESC | [
15307,
502,
1074,
62,
312,
416,
697,
3218,
1622,
287,
257,
1554,
21857,
11,
290,
4279,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
4816,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
1585... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
502,
1074,
62,
312,
416,
697,
3218,
1622,
287,
257,
1554,
21857,
11,
290,
4279,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
4816,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
1585... |
What location had the opponent Hiroyuki Abe? | SELECT "Location" FROM table_47625 WHERE "Opponent" = 'hiroyuki abe' | [
2061,
4067,
550,
262,
6125,
15902,
3287,
11308,
22257,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
2857,
26704,
33411,
366,
27524,
3471,
1,
796,
705,
5303,
3287,
11308,
450,
68,
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
] | [
2061,
4067,
550,
262,
6125,
15902,
3287,
11308,
22257,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
2857,
26704,
33411,
366,
27524,
3471,
1,
796,
705,
5303,
3287,
11308,
450,
68,
6
] |
All posts with answers > 5. | SELECT questions.Id AS question_id, questions.OwnerUserId AS questioner_id, questions.Body AS question_body, questions.CreationDate AS question_creation_date, answers.Id AS answer_id, answers.Body AS answer_body, answers.ParentId AS parent_id, answers.Score AS answer_score, answers.OwnerUserId AS respondant_id, answers... | [
3237,
6851,
351,
7429,
1875,
642,
13,
46506,
2683,
13,
7390,
7054,
1808,
62,
312,
11,
2683,
13,
42419,
12982,
7390,
7054,
1808,
263,
62,
312,
11,
2683,
13,
25842,
7054,
1808,
62,
2618,
11,
2683,
13,
12443,
341,
10430,
7054,
1808,
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... | [
3237,
6851,
351,
7429,
1875,
642,
13,
46506,
2683,
13,
7390,
7054,
1808,
62,
312,
11,
2683,
13,
42419,
12982,
7390,
7054,
1808,
263,
62,
312,
11,
2683,
13,
25842,
7054,
1808,
62,
2618,
11,
2683,
13,
12443,
341,
10430,
7054,
1808,
62... |
What is the hand number of the hand where player 1 is south and the east wind is prevailing? | SELECT COUNT("Hand Number") FROM table_3670 WHERE "Player 1" = 'South' AND "Prevailing Wind" = 'East' | [
2061,
318,
262,
1021,
1271,
286,
262,
1021,
810,
2137,
352,
318,
5366,
290,
262,
7627,
2344,
318,
26602,
30,
46506,
327,
28270,
7203,
12885,
7913,
4943,
16034,
3084,
62,
2623,
2154,
33411,
366,
14140,
352,
1,
796,
705,
14942,
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
] | [
2061,
318,
262,
1021,
1271,
286,
262,
1021,
810,
2137,
352,
318,
5366,
290,
262,
7627,
2344,
318,
26602,
30,
46506,
327,
28270,
7203,
12885,
7913,
4943,
16034,
3084,
62,
2623,
2154,
33411,
366,
14140,
352,
1,
796,
705,
14942,
6,
5357,... |
What is the Main use of transmitter solt in Hungary? | SELECT main_use FROM table_name_75 WHERE country = "hungary" AND name = "transmitter solt" | [
2061,
318,
262,
8774,
779,
286,
35099,
1540,
83,
287,
19562,
30,
46506,
1388,
62,
1904,
16034,
3084,
62,
3672,
62,
2425,
33411,
1499,
796,
366,
43274,
560,
1,
5357,
1438,
796,
366,
7645,
37974,
1540,
83,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8774,
779,
286,
35099,
1540,
83,
287,
19562,
30,
46506,
1388,
62,
1904,
16034,
3084,
62,
3672,
62,
2425,
33411,
1499,
796,
366,
43274,
560,
1,
5357,
1438,
796,
366,
7645,
37974,
1540,
83,
1
] |
How much was solidv4 when pacbio is $300 usd? | SELECT "SOLiDv4" FROM table_17775 WHERE "PacBio" = '$300 USD' | [
2437,
881,
373,
4735,
85,
19,
618,
23503,
65,
952,
318,
720,
6200,
514,
67,
30,
46506,
366,
50,
3535,
72,
35,
85,
19,
1,
16034,
3084,
62,
22413,
2425,
33411,
366,
18844,
42787,
1,
796,
705,
3,
6200,
11403,
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
] | [
2437,
881,
373,
4735,
85,
19,
618,
23503,
65,
952,
318,
720,
6200,
514,
67,
30,
46506,
366,
50,
3535,
72,
35,
85,
19,
1,
16034,
3084,
62,
22413,
2425,
33411,
366,
18844,
42787,
1,
796,
705,
3,
6200,
11403,
6
] |
What's the release date of Forward March Hare? | SELECT release_date FROM table_name_10 WHERE title = "forward march hare" | [
2061,
338,
262,
2650,
3128,
286,
19530,
2805,
42285,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
940,
33411,
3670,
796,
366,
11813,
9960,
387,
260,
1
] | [
1,
1,
1,
1,
1,
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,
2650,
3128,
286,
19530,
2805,
42285,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
940,
33411,
3670,
796,
366,
11813,
9960,
387,
260,
1
] |
Name the regular judge when host is anja rubik | SELECT regular_judge FROM table_1597866_3 WHERE host = "Anja Rubik" | [
5376,
262,
3218,
5052,
618,
2583,
318,
281,
6592,
6437,
1134,
46506,
3218,
62,
10456,
469,
16034,
3084,
62,
19707,
3695,
2791,
62,
18,
33411,
2583,
796,
366,
2025,
6592,
6256,
1134,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3218,
5052,
618,
2583,
318,
281,
6592,
6437,
1134,
46506,
3218,
62,
10456,
469,
16034,
3084,
62,
19707,
3695,
2791,
62,
18,
33411,
2583,
796,
366,
2025,
6592,
6256,
1134,
1
] |
What was the smallest total number of medals? | SELECT MIN(total_medals) FROM table_1305623_20 | [
2061,
373,
262,
18197,
2472,
1271,
286,
28057,
30,
46506,
20625,
7,
23350,
62,
1150,
874,
8,
16034,
3084,
62,
12952,
3980,
1954,
62,
1238
] | [
1,
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,
18197,
2472,
1271,
286,
28057,
30,
46506,
20625,
7,
23350,
62,
1150,
874,
8,
16034,
3084,
62,
12952,
3980,
1954,
62,
1238
] |
Which Score has a January larger than 21, and Points of 63? | SELECT "Score" FROM table_36727 WHERE "January" > '21' AND "Points" = '63' | [
13828,
15178,
468,
257,
3269,
4025,
621,
2310,
11,
290,
11045,
286,
8093,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
27824,
1983,
33411,
366,
21339,
1,
1875,
705,
2481,
6,
5357,
366,
40710,
1,
796,
705,
5066,
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
] | [
13828,
15178,
468,
257,
3269,
4025,
621,
2310,
11,
290,
11045,
286,
8093,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
27824,
1983,
33411,
366,
21339,
1,
1875,
705,
2481,
6,
5357,
366,
40710,
1,
796,
705,
5066,
6
] |
Tell me the winner of the comfort classic | SELECT winner FROM table_name_97 WHERE tournament = "comfort classic" | [
24446,
502,
262,
8464,
286,
262,
4467,
6833,
46506,
8464,
16034,
3084,
62,
3672,
62,
5607,
33411,
7756,
796,
366,
21598,
6833,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
8464,
286,
262,
4467,
6833,
46506,
8464,
16034,
3084,
62,
3672,
62,
5607,
33411,
7756,
796,
366,
21598,
6833,
1
] |
What is the UNGEGN, when the Value is 10 000? | SELECT "UNGEGN" FROM table_70098 WHERE "Value" = '10 000' | [
2061,
318,
262,
4725,
38,
7156,
45,
11,
618,
262,
11052,
318,
838,
12877,
30,
46506,
366,
4944,
38,
7156,
45,
1,
16034,
3084,
62,
9879,
4089,
33411,
366,
11395,
1,
796,
705,
940,
12877,
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
] | [
2061,
318,
262,
4725,
38,
7156,
45,
11,
618,
262,
11052,
318,
838,
12877,
30,
46506,
366,
4944,
38,
7156,
45,
1,
16034,
3084,
62,
9879,
4089,
33411,
366,
11395,
1,
796,
705,
940,
12877,
6
] |
How many instances is paris the unlock? | SELECT COUNT("Unlock Order") FROM table_73665 WHERE "Unlocks" = 'Paris' | [
2437,
867,
10245,
318,
1582,
271,
262,
12116,
30,
46506,
327,
28270,
7203,
3118,
5354,
8284,
4943,
16034,
3084,
62,
49150,
2996,
33411,
366,
3118,
28860,
1,
796,
705,
40313,
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
] | [
2437,
867,
10245,
318,
1582,
271,
262,
12116,
30,
46506,
327,
28270,
7203,
3118,
5354,
8284,
4943,
16034,
3084,
62,
49150,
2996,
33411,
366,
3118,
28860,
1,
796,
705,
40313,
6
] |
What is 1994 when 1996 is 3R? | SELECT "1994" FROM table_64589 WHERE "1996" = '3r' | [
2061,
318,
9162,
618,
8235,
318,
513,
49,
30,
46506,
366,
22666,
1,
16034,
3084,
62,
49259,
4531,
33411,
366,
22288,
1,
796,
705,
18,
81,
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,
318,
9162,
618,
8235,
318,
513,
49,
30,
46506,
366,
22666,
1,
16034,
3084,
62,
49259,
4531,
33411,
366,
22288,
1,
796,
705,
18,
81,
6
] |
How many laps had a qualification of 136.168? | SELECT COUNT(laps) FROM table_name_50 WHERE qual = "136.168" | [
2437,
867,
24590,
550,
257,
28587,
286,
21056,
13,
14656,
30,
46506,
327,
28270,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
4140,
796,
366,
20809,
13,
14656,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
24590,
550,
257,
28587,
286,
21056,
13,
14656,
30,
46506,
327,
28270,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
4140,
796,
366,
20809,
13,
14656,
1
] |
What were the roles in 1961? | SELECT "Role" FROM table_77370 WHERE "Year" = '1961' | [
2061,
547,
262,
9176,
287,
20510,
30,
46506,
366,
47445,
1,
16034,
3084,
62,
3324,
20167,
33411,
366,
17688,
1,
796,
705,
1129,
5333,
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,
547,
262,
9176,
287,
20510,
30,
46506,
366,
47445,
1,
16034,
3084,
62,
3324,
20167,
33411,
366,
17688,
1,
796,
705,
1129,
5333,
6
] |
What venue was the 2000 AFC Asian Cup qualification held at? | SELECT venue FROM table_name_9 WHERE competition = "2000 afc asian cup qualification" | [
2061,
14359,
373,
262,
4751,
27987,
7740,
5454,
28587,
2714,
379,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
24,
33411,
5449,
796,
366,
11024,
6580,
66,
355,
666,
6508,
28587,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
14359,
373,
262,
4751,
27987,
7740,
5454,
28587,
2714,
379,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
24,
33411,
5449,
796,
366,
11024,
6580,
66,
355,
666,
6508,
28587,
1
] |
What was the date when the against was 3? | SELECT date FROM table_name_35 WHERE against = 3 | [
2061,
373,
262,
3128,
618,
262,
1028,
373,
513,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2327,
33411,
1028,
796,
513
] | [
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,
3128,
618,
262,
1028,
373,
513,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2327,
33411,
1028,
796,
513
] |
How many times does the rebuilt data contain cannot handle non-empty timestamp argument! 1929 and scrapped data contain cannot handle non-empty timestamp argument! 1954? | SELECT COUNT(number) FROM table_12113888_1 WHERE rebuilt = "Cannot handle non-empty timestamp argument! 1929" AND scrapped_sold = "Cannot handle non-empty timestamp argument! 1954" | [
2437,
867,
1661,
857,
262,
30080,
1366,
3994,
2314,
5412,
1729,
12,
28920,
41033,
4578,
0,
31883,
290,
35034,
1366,
3994,
2314,
5412,
1729,
12,
28920,
41033,
4578,
0,
24718,
30,
46506,
327,
28270,
7,
17618,
8,
16034,
3084,
62,
1065,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
857,
262,
30080,
1366,
3994,
2314,
5412,
1729,
12,
28920,
41033,
4578,
0,
31883,
290,
35034,
1366,
3994,
2314,
5412,
1729,
12,
28920,
41033,
4578,
0,
24718,
30,
46506,
327,
28270,
7,
17618,
8,
16034,
3084,
62,
1065,
1... |
What venue did the away team Collingwood play at? | SELECT "Venue" FROM table_51745 WHERE "Away team" = 'collingwood' | [
2061,
14359,
750,
262,
1497,
1074,
7778,
278,
3822,
711,
379,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
48170,
2231,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26000,
278,
3822,
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,
14359,
750,
262,
1497,
1074,
7778,
278,
3822,
711,
379,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
48170,
2231,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26000,
278,
3822,
6
] |
Which rank has a more than 0 silver, 4 bronze, and a total smaller than 10? | SELECT SUM("Rank") FROM table_59950 WHERE "Silver" > '0' AND "Bronze" = '4' AND "Total" < '10' | [
13828,
4279,
468,
257,
517,
621,
657,
8465,
11,
604,
22101,
11,
290,
257,
2472,
4833,
621,
838,
30,
46506,
35683,
7203,
27520,
4943,
16034,
3084,
62,
43452,
1120,
33411,
366,
26766,
1,
1875,
705,
15,
6,
5357,
366,
18760,
2736,
1,
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
] | [
13828,
4279,
468,
257,
517,
621,
657,
8465,
11,
604,
22101,
11,
290,
257,
2472,
4833,
621,
838,
30,
46506,
35683,
7203,
27520,
4943,
16034,
3084,
62,
43452,
1120,
33411,
366,
26766,
1,
1875,
705,
15,
6,
5357,
366,
18760,
2736,
1,
79... |
What is the result/margin when fox sports 1 broadcast the game played at mcg? | SELECT result_margin FROM table_24919137_2 WHERE broadcaster = "Fox Sports 1" AND venue = "MCG" | [
2061,
318,
262,
1255,
14,
36153,
618,
21831,
5701,
352,
7025,
262,
983,
2826,
379,
36650,
70,
30,
46506,
1255,
62,
36153,
16034,
3084,
62,
21626,
1129,
19708,
62,
17,
33411,
26661,
796,
366,
19399,
7092,
352,
1,
5357,
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
] | [
2061,
318,
262,
1255,
14,
36153,
618,
21831,
5701,
352,
7025,
262,
983,
2826,
379,
36650,
70,
30,
46506,
1255,
62,
36153,
16034,
3084,
62,
21626,
1129,
19708,
62,
17,
33411,
26661,
796,
366,
19399,
7092,
352,
1,
5357,
14359,
796,
366,... |
how many times does patient 27463 get a e 24 fs po intake since 08/2103? | SELECT COUNT(*) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27463)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'e 24 fs po' ... | [
4919,
867,
1661,
857,
5827,
2681,
38380,
651,
257,
304,
1987,
43458,
745,
10337,
1201,
8487,
14,
17,
15197,
30,
46506,
327,
28270,
7,
28104,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
857,
5827,
2681,
38380,
651,
257,
304,
1987,
43458,
745,
10337,
1201,
8487,
14,
17,
15197,
30,
46506,
327,
28270,
7,
28104,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
33967,
13,
291... |
Who is the second member more recently than 1790 when John Williams is the first member? | SELECT "Second member" FROM table_60785 WHERE "Year" > '1790' AND "First member" = 'john williams' | [
8241,
318,
262,
1218,
2888,
517,
2904,
621,
1596,
3829,
618,
1757,
6484,
318,
262,
717,
2888,
30,
46506,
366,
12211,
2888,
1,
16034,
3084,
62,
1899,
41172,
33411,
366,
17688,
1,
1875,
705,
1558,
3829,
6,
5357,
366,
5962,
2888,
1,
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
] | [
8241,
318,
262,
1218,
2888,
517,
2904,
621,
1596,
3829,
618,
1757,
6484,
318,
262,
717,
2888,
30,
46506,
366,
12211,
2888,
1,
16034,
3084,
62,
1899,
41172,
33411,
366,
17688,
1,
1875,
705,
1558,
3829,
6,
5357,
366,
5962,
2888,
1,
79... |
IN HOW MANY ISSUES WAS HARRISON FORD THE INTERVIEW SUBJECT? | SELECT COUNT("Date") FROM table_20224 WHERE "Interview subject" = 'Harrison Ford' | [
1268,
29630,
17254,
56,
3180,
12564,
1546,
21725,
367,
26465,
39960,
7473,
35,
3336,
23255,
28206,
28932,
23680,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
19004,
1731,
33411,
366,
39945,
2426,
1,
796,
705,
39,
22472,
8092... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1268,
29630,
17254,
56,
3180,
12564,
1546,
21725,
367,
26465,
39960,
7473,
35,
3336,
23255,
28206,
28932,
23680,
30,
46506,
327,
28270,
7203,
10430,
4943,
16034,
3084,
62,
19004,
1731,
33411,
366,
39945,
2426,
1,
796,
705,
39,
22472,
8092... |
What's the total long for an avg/g over 0.2, fewer than 2 loss, and a gain less than 8? | SELECT COUNT("Long") FROM table_12214 WHERE "Avg/G" > '0.2' AND "Loss" < '2' AND "Gain" < '8' | [
2061,
338,
262,
2472,
890,
329,
281,
42781,
14,
70,
625,
657,
13,
17,
11,
7380,
621,
362,
2994,
11,
290,
257,
4461,
1342,
621,
807,
30,
46506,
327,
28270,
7203,
14617,
4943,
16034,
3084,
62,
18376,
1415,
33411,
366,
48997,
14,
38,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
890,
329,
281,
42781,
14,
70,
625,
657,
13,
17,
11,
7380,
621,
362,
2994,
11,
290,
257,
4461,
1342,
621,
807,
30,
46506,
327,
28270,
7203,
14617,
4943,
16034,
3084,
62,
18376,
1415,
33411,
366,
48997,
14,
38,
... |
How many times is a total listed when the player is Jay Washington? | SELECT COUNT(totals) FROM table_28628309_9 WHERE player = "Jay Washington" | [
2437,
867,
1661,
318,
257,
2472,
5610,
618,
262,
2137,
318,
9180,
2669,
30,
46506,
327,
28270,
7,
83,
313,
874,
8,
16034,
3084,
62,
27033,
2078,
26895,
62,
24,
33411,
2137,
796,
366,
30568,
2669,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
318,
257,
2472,
5610,
618,
262,
2137,
318,
9180,
2669,
30,
46506,
327,
28270,
7,
83,
313,
874,
8,
16034,
3084,
62,
27033,
2078,
26895,
62,
24,
33411,
2137,
796,
366,
30568,
2669,
1
] |
Show the sum of account details for different statement details in a bar chart, and order in descending by the total number. | SELECT Statement_Details, SUM(Account_Details) FROM Accounts AS T1 JOIN Statements AS T2 ON T1.Statement_ID = T2.Statement_ID GROUP BY Statement_Details ORDER BY SUM(Account_Details) DESC | [
15307,
262,
2160,
286,
1848,
3307,
329,
1180,
2643,
3307,
287,
257,
2318,
8262,
11,
290,
1502,
287,
31491,
416,
262,
2472,
1271,
13,
46506,
21983,
62,
24259,
11,
35683,
7,
30116,
62,
24259,
8,
16034,
35584,
7054,
309,
16,
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... | [
15307,
262,
2160,
286,
1848,
3307,
329,
1180,
2643,
3307,
287,
257,
2318,
8262,
11,
290,
1502,
287,
31491,
416,
262,
2472,
1271,
13,
46506,
21983,
62,
24259,
11,
35683,
7,
30116,
62,
24259,
8,
16034,
35584,
7054,
309,
16,
32357,
1268,... |
What was the loss of the game that had an attendance of 18,769? | SELECT "Loss" FROM table_71942 WHERE "Attendance" = '18,769' | [
2061,
373,
262,
2994,
286,
262,
983,
326,
550,
281,
14858,
286,
1248,
11,
22,
3388,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
22,
1129,
3682,
33411,
366,
8086,
437,
590,
1,
796,
705,
1507,
11,
22,
3388,
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
] | [
2061,
373,
262,
2994,
286,
262,
983,
326,
550,
281,
14858,
286,
1248,
11,
22,
3388,
30,
46506,
366,
43,
793,
1,
16034,
3084,
62,
22,
1129,
3682,
33411,
366,
8086,
437,
590,
1,
796,
705,
1507,
11,
22,
3388,
6
] |
what is the number of patients whose marital status is single and ethnicity is american indian/alaska native? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" | [
10919,
318,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
2060,
290,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
2060,
290,
26289,
318,
45630,
272,
773,
666,
14,
282,
8480,
6868,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
... |
How many values are in the ends won cell corresponding to a PA of 39? | SELECT COUNT(Ends) AS won FROM table_17012578_37 WHERE pa = 39 | [
2437,
867,
3815,
389,
287,
262,
5645,
1839,
2685,
11188,
284,
257,
8147,
286,
5014,
30,
46506,
327,
28270,
7,
12915,
82,
8,
7054,
1839,
16034,
3084,
62,
1558,
486,
1495,
3695,
62,
2718,
33411,
14187,
796,
5014
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
287,
262,
5645,
1839,
2685,
11188,
284,
257,
8147,
286,
5014,
30,
46506,
327,
28270,
7,
12915,
82,
8,
7054,
1839,
16034,
3084,
62,
1558,
486,
1495,
3695,
62,
2718,
33411,
14187,
796,
5014
] |
Give me all the Moroccan restaurant in Texas | SELECT business.name FROM business, category AS CATEGORY_0, category AS CATEGORY_1 WHERE business.state = 'Texas' AND CATEGORY_0.business_id = business.business_id AND CATEGORY_0.category_name = 'Moroccan' AND CATEGORY_1.business_id = business.business_id AND CATEGORY_1.category_name = 'restaurant' | [
23318,
502,
477,
262,
49323,
7072,
287,
3936,
46506,
1597,
13,
3672,
16034,
1597,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
15,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
16,
33411,
1597,
13,
5219,
796,
705,
21607,
6,
5357,
327,
6158... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23318,
502,
477,
262,
49323,
7072,
287,
3936,
46506,
1597,
13,
3672,
16034,
1597,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
15,
11,
6536,
7054,
327,
6158,
38,
15513,
62,
16,
33411,
1597,
13,
5219,
796,
705,
21607,
6,
5357,
327,
6158... |
has there been any abscess microbiology test done for patient 025-28600 during the first hospital visit? | SELECT COUNT(*) FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-28600' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospital... | [
10134,
612,
587,
597,
2352,
919,
24559,
1435,
1332,
1760,
329,
5827,
657,
1495,
12,
2078,
8054,
1141,
262,
717,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
612,
587,
597,
2352,
919,
24559,
1435,
1332,
1760,
329,
5827,
657,
1495,
12,
2078,
8054,
1141,
262,
717,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357... |
Count the number of captains younger than 50 of each rank. Plot them as pie chart. | SELECT Rank, COUNT(*) FROM captain WHERE age < 50 GROUP BY Rank | [
12332,
262,
1271,
286,
37551,
7099,
621,
2026,
286,
1123,
4279,
13,
28114,
606,
355,
2508,
8262,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
10654,
33411,
2479,
1279,
2026,
44441,
11050,
10916
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
37551,
7099,
621,
2026,
286,
1123,
4279,
13,
28114,
606,
355,
2508,
8262,
13,
46506,
10916,
11,
327,
28270,
7,
28104,
16034,
10654,
33411,
2479,
1279,
2026,
44441,
11050,
10916
] |
What is the name of the Original artist when the week # is top 16 (8 men)? | SELECT "Original artist" FROM table_7252 WHERE "Week #" = 'top 16 (8 men)' | [
2061,
318,
262,
1438,
286,
262,
13745,
6802,
618,
262,
1285,
1303,
318,
1353,
1467,
357,
23,
1450,
19427,
46506,
366,
20556,
6802,
1,
16034,
3084,
62,
22,
22800,
33411,
366,
20916,
1303,
1,
796,
705,
4852,
1467,
357,
23,
1450,
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,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
13745,
6802,
618,
262,
1285,
1303,
318,
1353,
1467,
357,
23,
1450,
19427,
46506,
366,
20556,
6802,
1,
16034,
3084,
62,
22,
22800,
33411,
366,
20916,
1303,
1,
796,
705,
4852,
1467,
357,
23,
1450,
33047
] |
Which driver had a grid number of 18? | SELECT "Driver" FROM table_58111 WHERE "Grid" = '18' | [
13828,
4639,
550,
257,
10706,
1271,
286,
1248,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
3365,
16243,
33411,
366,
41339,
1,
796,
705,
1507,
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
] | [
13828,
4639,
550,
257,
10706,
1271,
286,
1248,
30,
46506,
366,
32103,
1,
16034,
3084,
62,
3365,
16243,
33411,
366,
41339,
1,
796,
705,
1507,
6
] |
What was the away team's score at the venue football park? | SELECT "Away team score" FROM table_20733 WHERE "Ground" = 'Football Park' | [
2061,
373,
262,
1497,
1074,
338,
4776,
379,
262,
14359,
4346,
3952,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
22745,
2091,
33411,
366,
35539,
1,
796,
705,
37316,
3250,
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,
373,
262,
1497,
1074,
338,
4776,
379,
262,
14359,
4346,
3952,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
22745,
2091,
33411,
366,
35539,
1,
796,
705,
37316,
3250,
6
] |
Which station is from China and has a frequency of 684khz? | SELECT "Station" FROM table_64209 WHERE "Country of origin" = 'china' AND "Frequency" = '684khz' | [
13828,
4429,
318,
422,
2807,
290,
468,
257,
8373,
286,
718,
5705,
14636,
89,
30,
46506,
366,
12367,
1,
16034,
3084,
62,
2414,
22567,
33411,
366,
33921,
286,
8159,
1,
796,
705,
354,
1437,
6,
5357,
366,
37,
28707,
1,
796,
705,
41580,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4429,
318,
422,
2807,
290,
468,
257,
8373,
286,
718,
5705,
14636,
89,
30,
46506,
366,
12367,
1,
16034,
3084,
62,
2414,
22567,
33411,
366,
33921,
286,
8159,
1,
796,
705,
354,
1437,
6,
5357,
366,
37,
28707,
1,
796,
705,
41580,
... |
Find the customer name and date of the orders that have the status 'Delivered'. | SELECT t1.customer_name, t2.order_date FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id WHERE order_status = "Delivered" | [
16742,
262,
6491,
1438,
290,
3128,
286,
262,
6266,
326,
423,
262,
3722,
705,
13856,
6396,
4458,
46506,
256,
16,
13,
23144,
263,
62,
3672,
11,
256,
17,
13,
2875,
62,
4475,
16034,
4297,
7054,
256,
16,
32357,
1268,
6491,
62,
6361,
7054... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6491,
1438,
290,
3128,
286,
262,
6266,
326,
423,
262,
3722,
705,
13856,
6396,
4458,
46506,
256,
16,
13,
23144,
263,
62,
3672,
11,
256,
17,
13,
2875,
62,
4475,
16034,
4297,
7054,
256,
16,
32357,
1268,
6491,
62,
6361,
7054... |
what has ali farhadi done in the past year | SELECT DISTINCT paper.paperid FROM author, paper, writes WHERE author.authorname = 'ali farhadi' AND paper.year = 2016 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
10919,
468,
34965,
1290,
71,
9189,
1760,
287,
262,
1613,
614,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
7344,
1290,
71,
9189,
6,
5357,
3348,
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... | [
10919,
468,
34965,
1290,
71,
9189,
1760,
287,
262,
1613,
614,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1772,
11,
3348,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
7344,
1290,
71,
9189,
6,
5357,
3348,
13,
... |
What game has a 6-12-8 record? | SELECT game FROM table_name_65 WHERE record = "6-12-8" | [
2061,
983,
468,
257,
718,
12,
1065,
12,
23,
1700,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
2996,
33411,
1700,
796,
366,
21,
12,
1065,
12,
23,
1
] | [
1,
1,
1,
1,
1,
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,
983,
468,
257,
718,
12,
1065,
12,
23,
1700,
30,
46506,
983,
16034,
3084,
62,
3672,
62,
2996,
33411,
1700,
796,
366,
21,
12,
1065,
12,
23,
1
] |
What is the Total of the Player with a To par of 13? | SELECT SUM("Total") FROM table_61342 WHERE "To par" = '–13' | [
2061,
318,
262,
7472,
286,
262,
7853,
351,
257,
1675,
1582,
286,
1511,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
47512,
3682,
33411,
366,
2514,
1582,
1,
796,
705,
1906,
1485,
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,
318,
262,
7472,
286,
262,
7853,
351,
257,
1675,
1582,
286,
1511,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
47512,
3682,
33411,
366,
2514,
1582,
1,
796,
705,
1906,
1485,
6
] |
What is the record when Clippers have the high points? | SELECT "Record" FROM table_55965 WHERE "High points" = 'clippers' | [
2061,
318,
262,
1700,
618,
28564,
423,
262,
1029,
2173,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
38605,
2996,
33411,
366,
11922,
2173,
1,
796,
705,
565,
16415,
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
] | [
2061,
318,
262,
1700,
618,
28564,
423,
262,
1029,
2173,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
38605,
2996,
33411,
366,
11922,
2173,
1,
796,
705,
565,
16415,
6
] |
Which 2010 featured the US Open? | SELECT "2010" FROM table_10289 WHERE "Tournament" = 'us open' | [
13828,
3050,
8096,
262,
1294,
4946,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
940,
27693,
33411,
366,
51,
5138,
1,
796,
705,
385,
1280,
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
] | [
13828,
3050,
8096,
262,
1294,
4946,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
940,
27693,
33411,
366,
51,
5138,
1,
796,
705,
385,
1280,
6
] |
Which unite had the type wwer-440/213? | SELECT "Unit" FROM table_15562 WHERE "Type" = 'wwer-440/213' | [
13828,
24558,
550,
262,
2099,
266,
15448,
12,
25644,
14,
26427,
30,
46506,
366,
26453,
1,
16034,
3084,
62,
1314,
43918,
33411,
366,
6030,
1,
796,
705,
1383,
263,
12,
25644,
14,
26427,
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
] | [
13828,
24558,
550,
262,
2099,
266,
15448,
12,
25644,
14,
26427,
30,
46506,
366,
26453,
1,
16034,
3084,
62,
1314,
43918,
33411,
366,
6030,
1,
796,
705,
1383,
263,
12,
25644,
14,
26427,
6
] |
Please compare the total enrollment for each type using a bar chart, and could you list in asc by the total number of enrollment please? | SELECT Type, SUM(Enrollment) FROM Institution GROUP BY Type ORDER BY SUM(Enrollment) | [
5492,
8996,
262,
2472,
20753,
329,
1123,
2099,
1262,
257,
2318,
8262,
11,
290,
714,
345,
1351,
287,
10570,
416,
262,
2472,
1271,
286,
20753,
3387,
30,
46506,
5994,
11,
35683,
7,
4834,
48108,
8,
16034,
29426,
44441,
11050,
5994,
38678,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5492,
8996,
262,
2472,
20753,
329,
1123,
2099,
1262,
257,
2318,
8262,
11,
290,
714,
345,
1351,
287,
10570,
416,
262,
2472,
1271,
286,
20753,
3387,
30,
46506,
5994,
11,
35683,
7,
4834,
48108,
8,
16034,
29426,
44441,
11050,
5994,
38678,
... |
what was the name of the drug that patient 006-76924 was prescribed within 2 days after having been diagnosed with a acute respiratory failure - drug related during this month? | SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-76924') AND diagnosis.diagnos... | [
10919,
373,
262,
1438,
286,
262,
2563,
326,
5827,
3571,
21,
12,
22,
3388,
1731,
373,
14798,
1626,
362,
1528,
706,
1719,
587,
14641,
351,
257,
14352,
22949,
5287,
532,
2563,
3519,
1141,
428,
1227,
30,
46506,
256,
17,
13,
30349,
3672,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
262,
1438,
286,
262,
2563,
326,
5827,
3571,
21,
12,
22,
3388,
1731,
373,
14798,
1626,
362,
1528,
706,
1719,
587,
14641,
351,
257,
14352,
22949,
5287,
532,
2563,
3519,
1141,
428,
1227,
30,
46506,
256,
17,
13,
30349,
3672,
... |
What is the winning score for Tournament of linde german masters with a margin of victory of 1 stroke? | SELECT winning_score FROM table_name_67 WHERE margin_of_victory = "1 stroke" AND tournament = "linde german masters" | [
2061,
318,
262,
5442,
4776,
329,
9595,
286,
300,
521,
68,
308,
2224,
18159,
351,
257,
10330,
286,
5373,
286,
352,
14000,
30,
46506,
5442,
62,
26675,
16034,
3084,
62,
3672,
62,
3134,
33411,
10330,
62,
1659,
62,
32433,
652,
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
] | [
2061,
318,
262,
5442,
4776,
329,
9595,
286,
300,
521,
68,
308,
2224,
18159,
351,
257,
10330,
286,
5373,
286,
352,
14000,
30,
46506,
5442,
62,
26675,
16034,
3084,
62,
3672,
62,
3134,
33411,
10330,
62,
1659,
62,
32433,
652,
796,
366,
... |
what is the title for director p.j. hogan? | SELECT title FROM table_name_15 WHERE director = "p.j. hogan" | [
10919,
318,
262,
3670,
329,
3437,
279,
13,
73,
13,
289,
9632,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
1314,
33411,
3437,
796,
366,
79,
13,
73,
13,
289,
9632,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
329,
3437,
279,
13,
73,
13,
289,
9632,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
1314,
33411,
3437,
796,
366,
79,
13,
73,
13,
289,
9632,
1
] |
Which Nationality has a Fate of sunk (mine), and a Tonnage (GRT) smaller than 2,266? | SELECT nationality FROM table_name_80 WHERE fate = "sunk (mine)" AND tonnage__grt_ < 2 OFFSET 266 | [
13828,
2351,
414,
468,
257,
20341,
286,
24790,
357,
3810,
828,
290,
257,
16859,
77,
496,
357,
10761,
51,
8,
4833,
621,
362,
11,
25540,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
1795,
33411,
10030,
796,
366,
82,
2954,
357,
3810,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2351,
414,
468,
257,
20341,
286,
24790,
357,
3810,
828,
290,
257,
16859,
77,
496,
357,
10761,
51,
8,
4833,
621,
362,
11,
25540,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
1795,
33411,
10030,
796,
366,
82,
2954,
357,
3810,
1... |
Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time? | SELECT "Rider" FROM table_61783 WHERE "Laps" < '22' AND "Grid" > '19' AND "Time" = 'retirement' AND "Bike" = 'kawasaki zx-6r' | [
8241,
373,
262,
17876,
10311,
262,
23043,
33846,
1168,
55,
12,
21,
81,
11,
326,
22075,
1342,
621,
2534,
24590,
11,
290,
262,
10706,
373,
3744,
621,
678,
11,
290,
10737,
373,
262,
640,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
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... | [
8241,
373,
262,
17876,
10311,
262,
23043,
33846,
1168,
55,
12,
21,
81,
11,
326,
22075,
1342,
621,
2534,
24590,
11,
290,
262,
10706,
373,
3744,
621,
678,
11,
290,
10737,
373,
262,
640,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
... |
How many opponents was a game with a record 17-6 played against? | SELECT COUNT("Opponent") FROM table_22676 WHERE "Record" = '17-6' | [
2437,
867,
7691,
373,
257,
983,
351,
257,
1700,
1596,
12,
21,
2826,
1028,
30,
46506,
327,
28270,
7203,
27524,
3471,
4943,
16034,
3084,
62,
1828,
42548,
33411,
366,
23739,
1,
796,
705,
1558,
12,
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
] | [
2437,
867,
7691,
373,
257,
983,
351,
257,
1700,
1596,
12,
21,
2826,
1028,
30,
46506,
327,
28270,
7203,
27524,
3471,
4943,
16034,
3084,
62,
1828,
42548,
33411,
366,
23739,
1,
796,
705,
1558,
12,
21,
6
] |
What date did the episode that had 1.023 million u.s. viewers originally air? | SELECT original_air_date FROM table_24223834_3 WHERE us_viewers__in_millions_ = "1.023" | [
2061,
3128,
750,
262,
4471,
326,
550,
352,
13,
45310,
1510,
334,
13,
82,
13,
10209,
6198,
1633,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
1731,
1828,
2548,
2682,
62,
18,
33411,
514,
62,
1177,
364,
834,
259,
62,
17805,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3128,
750,
262,
4471,
326,
550,
352,
13,
45310,
1510,
334,
13,
82,
13,
10209,
6198,
1633,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
1731,
1828,
2548,
2682,
62,
18,
33411,
514,
62,
1177,
364,
834,
259,
62,
17805,
5... |
What date has a catalogue of 540 3622? | SELECT "Date" FROM table_33164 WHERE "Catalogue" = '540 3622' | [
2061,
3128,
468,
257,
34614,
286,
38190,
4570,
1828,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2091,
23237,
33411,
366,
39075,
5119,
1,
796,
705,
35005,
4570,
1828,
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
] | [
2061,
3128,
468,
257,
34614,
286,
38190,
4570,
1828,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2091,
23237,
33411,
366,
39075,
5119,
1,
796,
705,
35005,
4570,
1828,
6
] |
count the number of patients who have had an glucose, body fluid test this year. | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'glucose, body fluid') AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME... | [
9127,
262,
1271,
286,
3871,
508,
423,
550,
281,
15701,
11,
1767,
11711,
1332,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
508,
423,
550,
281,
15701,
11,
1767,
11711,
1332,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
465... |
What date was the 1988 world group i edition with a result of 7 6 (7 5) , 6 3? | SELECT "Date" FROM table_60476 WHERE "Edition" = '1988 world group i' AND "Result" = '7–6 (7–5) , 6–3' | [
2061,
3128,
373,
262,
12122,
995,
1448,
1312,
8313,
351,
257,
1255,
286,
767,
718,
357,
22,
642,
8,
837,
718,
513,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1899,
35435,
33411,
366,
7407,
653,
1,
796,
705,
26709,
995,
1448,
1312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
373,
262,
12122,
995,
1448,
1312,
8313,
351,
257,
1255,
286,
767,
718,
357,
22,
642,
8,
837,
718,
513,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1899,
35435,
33411,
366,
7407,
653,
1,
796,
705,
26709,
995,
1448,
1312,
... |
I want to see trend the number of date in locaton to over date in locaton to by Location_Code, and sort by the Date_in_Locaton_To in asc. | SELECT Date_in_Locaton_To, COUNT(Date_in_Locaton_To) FROM Document_Locations GROUP BY Location_Code, Date_in_Locaton_To ORDER BY Date_in_Locaton_To | [
40,
765,
284,
766,
5182,
262,
1271,
286,
3128,
287,
1179,
13951,
284,
625,
3128,
287,
1179,
13951,
284,
416,
13397,
62,
10669,
11,
290,
3297,
416,
262,
7536,
62,
259,
62,
33711,
13951,
62,
2514,
287,
10570,
13,
46506,
7536,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
40,
765,
284,
766,
5182,
262,
1271,
286,
3128,
287,
1179,
13951,
284,
625,
3128,
287,
1179,
13951,
284,
416,
13397,
62,
10669,
11,
290,
3297,
416,
262,
7536,
62,
259,
62,
33711,
13951,
62,
2514,
287,
10570,
13,
46506,
7536,
62,
259,... |
Name the most 3 credits | SELECT MIN("3 credits") FROM table_19610 | [
5376,
262,
749,
513,
10824,
46506,
20625,
7203,
18,
10824,
4943,
16034,
3084,
62,
25272,
940
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
513,
10824,
46506,
20625,
7203,
18,
10824,
4943,
16034,
3084,
62,
25272,
940
] |
Users from different regions of Pakistan. | SELECT COUNT('*') AS total_users, Location FROM Users WHERE Location LIKE '%kistan%' GROUP BY Location ORDER BY total_users DESC | [
14490,
422,
1180,
7652,
286,
7648,
13,
46506,
327,
28270,
10786,
9,
11537,
7054,
2472,
62,
18417,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
74,
4103,
4,
6,
44441,
11050,
13397,
38678,
11050,
2472,
62,
18417,
22196,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14490,
422,
1180,
7652,
286,
7648,
13,
46506,
327,
28270,
10786,
9,
11537,
7054,
2472,
62,
18417,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
74,
4103,
4,
6,
44441,
11050,
13397,
38678,
11050,
2472,
62,
18417,
22196,
34
] |
What is the alphabetically ordered list of all distinct medications? | SELECT DISTINCT name FROM medication ORDER BY name | [
2061,
318,
262,
24830,
1146,
6149,
1351,
286,
477,
7310,
17638,
30,
46506,
360,
8808,
1268,
4177,
1438,
16034,
14103,
38678,
11050,
1438
] | [
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,
24830,
1146,
6149,
1351,
286,
477,
7310,
17638,
30,
46506,
360,
8808,
1268,
4177,
1438,
16034,
14103,
38678,
11050,
1438
] |
What is the pressure in ultra high vacuum? | SELECT pressure_in_hpa__mbar_ FROM table_170097_1 WHERE vacuum_range = "Ultra high vacuum" | [
2061,
318,
262,
3833,
287,
14764,
1029,
17076,
30,
46506,
3833,
62,
259,
62,
71,
8957,
834,
2022,
283,
62,
16034,
3084,
62,
1558,
405,
5607,
62,
16,
33411,
17076,
62,
9521,
796,
366,
36122,
1029,
17076,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3833,
287,
14764,
1029,
17076,
30,
46506,
3833,
62,
259,
62,
71,
8957,
834,
2022,
283,
62,
16034,
3084,
62,
1558,
405,
5607,
62,
16,
33411,
17076,
62,
9521,
796,
366,
36122,
1029,
17076,
1
] |
insulin requirements of > 100 u / day, and hba1c > 9.5 % | SELECT * FROM table_dev_40 WHERE insulin_requirement > 100 AND hemoglobin_a1c_hba1c > 9.5 | [
1040,
11599,
5359,
286,
1875,
1802,
334,
1220,
1110,
11,
290,
289,
7012,
16,
66,
1875,
860,
13,
20,
4064,
46506,
1635,
16034,
3084,
62,
7959,
62,
1821,
33411,
14588,
62,
8897,
24615,
1875,
1802,
5357,
16869,
49835,
62,
64,
16,
66,
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
] | [
1040,
11599,
5359,
286,
1875,
1802,
334,
1220,
1110,
11,
290,
289,
7012,
16,
66,
1875,
860,
13,
20,
4064,
46506,
1635,
16034,
3084,
62,
7959,
62,
1821,
33411,
14588,
62,
8897,
24615,
1875,
1802,
5357,
16869,
49835,
62,
64,
16,
66,
6... |
Name the party for virginia 12 | SELECT "Party" FROM table_74011 WHERE "District" = 'Virginia 12' | [
5376,
262,
2151,
329,
21772,
544,
1105,
46506,
366,
33553,
1,
16034,
3084,
62,
4524,
28555,
33411,
366,
44857,
1,
796,
705,
41017,
1105,
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
] | [
5376,
262,
2151,
329,
21772,
544,
1105,
46506,
366,
33553,
1,
16034,
3084,
62,
4524,
28555,
33411,
366,
44857,
1,
796,
705,
41017,
1105,
6
] |
What film festival had the Best Male Actor? | SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor" | [
2061,
2646,
10876,
550,
262,
6705,
12674,
27274,
30,
46506,
2646,
62,
69,
6743,
16034,
3084,
62,
2075,
2078,
1983,
1120,
62,
16,
33411,
6536,
796,
366,
13014,
12674,
27274,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
2646,
10876,
550,
262,
6705,
12674,
27274,
30,
46506,
2646,
62,
69,
6743,
16034,
3084,
62,
2075,
2078,
1983,
1120,
62,
16,
33411,
6536,
796,
366,
13014,
12674,
27274,
1
] |
what is date of birth and diagnoses short title of subject name jerry deberry? | SELECT demographic.dob, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Jerry Deberry" | [
10919,
318,
3128,
286,
4082,
290,
40567,
1790,
3670,
286,
2426,
1438,
474,
6996,
390,
8396,
30,
46506,
16728,
13,
67,
672,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
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
] | [
10919,
318,
3128,
286,
4082,
290,
40567,
1790,
3670,
286,
2426,
1438,
474,
6996,
390,
8396,
30,
46506,
16728,
13,
67,
672,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
... |
What is the figure for Tujunga when Pasadena is 134,941? | SELECT tujunga FROM table_name_39 WHERE pasadena = "134,941" | [
2061,
318,
262,
3785,
329,
16749,
73,
2150,
64,
618,
41010,
318,
22352,
11,
24,
3901,
30,
46506,
12777,
73,
2150,
64,
16034,
3084,
62,
3672,
62,
2670,
33411,
38836,
38047,
796,
366,
19880,
11,
24,
3901,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3785,
329,
16749,
73,
2150,
64,
618,
41010,
318,
22352,
11,
24,
3901,
30,
46506,
12777,
73,
2150,
64,
16034,
3084,
62,
3672,
62,
2670,
33411,
38836,
38047,
796,
366,
19880,
11,
24,
3901,
1
] |
who is the previous team to italy -lrb- ita -rrb- italy ii ? | SELECT "team" FROM table_204_397 WHERE id = (SELECT id FROM table_204_397 WHERE "team" = 'italy (ita) italy ii') - 1 | [
8727,
318,
262,
2180,
1074,
284,
340,
3400,
532,
14050,
65,
12,
340,
64,
532,
21062,
65,
12,
340,
3400,
21065,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
33372,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
2180,
1074,
284,
340,
3400,
532,
14050,
65,
12,
340,
64,
532,
21062,
65,
12,
340,
3400,
21065,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
33372,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
... |
Name the average gold for czech republic and bronze less than 1 when total is less than 14 | SELECT AVG(gold) FROM table_name_62 WHERE total < 14 AND bronze < 1 AND nation = "czech republic" | [
5376,
262,
2811,
3869,
329,
269,
15356,
17146,
290,
22101,
1342,
621,
352,
618,
2472,
318,
1342,
621,
1478,
46506,
35224,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
2472,
1279,
1478,
5357,
22101,
1279,
352,
5357,
3277,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
3869,
329,
269,
15356,
17146,
290,
22101,
1342,
621,
352,
618,
2472,
318,
1342,
621,
1478,
46506,
35224,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
2472,
1279,
1478,
5357,
22101,
1279,
352,
5357,
3277,
796,
... |
Which Works number has a Number larger than 807, and a Type of 0-6-0, and a Date of 1920? | SELECT AVG(works_number) FROM table_name_1 WHERE number > 807 AND type = "0-6-0" AND date = 1920 | [
13828,
10933,
1271,
468,
257,
7913,
4025,
621,
807,
2998,
11,
290,
257,
5994,
286,
657,
12,
21,
12,
15,
11,
290,
257,
7536,
286,
14062,
30,
46506,
35224,
7,
5225,
62,
17618,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
1271,
1875,
807... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10933,
1271,
468,
257,
7913,
4025,
621,
807,
2998,
11,
290,
257,
5994,
286,
657,
12,
21,
12,
15,
11,
290,
257,
7536,
286,
14062,
30,
46506,
35224,
7,
5225,
62,
17618,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
1271,
1875,
807... |
Which Points 2 has a Goal Average 1 larger than 1.17, a Goals Against larger than 48, and a Position larger than 6? | SELECT SUM("Points 2") FROM table_46447 WHERE "Goal Average 1" > '1.17' AND "Goals Against" > '48' AND "Position" > '6' | [
13828,
11045,
362,
468,
257,
25376,
13475,
352,
4025,
621,
352,
13,
1558,
11,
257,
28510,
12914,
4025,
621,
4764,
11,
290,
257,
23158,
4025,
621,
718,
30,
46506,
35683,
7203,
40710,
362,
4943,
16034,
3084,
62,
44578,
2857,
33411,
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... | [
13828,
11045,
362,
468,
257,
25376,
13475,
352,
4025,
621,
352,
13,
1558,
11,
257,
28510,
12914,
4025,
621,
4764,
11,
290,
257,
23158,
4025,
621,
718,
30,
46506,
35683,
7203,
40710,
362,
4943,
16034,
3084,
62,
44578,
2857,
33411,
366,
... |
What is the smallest draws for a player larger than 2 with a 100% wins? | SELECT MIN("Drawn") FROM table_4694 WHERE "Played" > '2' AND "% Won" > '100' | [
2061,
318,
262,
18197,
14293,
329,
257,
2137,
4025,
621,
362,
351,
257,
1802,
4,
7864,
30,
46506,
20625,
7203,
35,
5791,
4943,
16034,
3084,
62,
42947,
19,
33411,
366,
11002,
276,
1,
1875,
705,
17,
6,
5357,
36521,
23306,
1,
1875,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18197,
14293,
329,
257,
2137,
4025,
621,
362,
351,
257,
1802,
4,
7864,
30,
46506,
20625,
7203,
35,
5791,
4943,
16034,
3084,
62,
42947,
19,
33411,
366,
11002,
276,
1,
1875,
705,
17,
6,
5357,
36521,
23306,
1,
1875,
705... |
how many patients whose admission year is less than 2198 and drug name is risperidone oral solution? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2198" AND prescriptions.drug = "Risperidone Oral Solution" | [
4919,
867,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
22337,
290,
2563,
1438,
318,
6106,
525,
312,
505,
12886,
4610,
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... | [
4919,
867,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
22337,
290,
2563,
1438,
318,
6106,
525,
312,
505,
12886,
4610,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
126... |
Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai? | SELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = "k297ai" | [
13828,
15915,
7508,
468,
257,
13793,
47,
370,
4833,
621,
27795,
11,
290,
257,
4889,
1051,
286,
479,
26561,
1872,
30,
46506,
277,
535,
62,
10951,
16034,
3084,
62,
3672,
62,
2327,
33411,
1931,
79,
62,
86,
1279,
27795,
5357,
869,
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
] | [
13828,
15915,
7508,
468,
257,
13793,
47,
370,
4833,
621,
27795,
11,
290,
257,
4889,
1051,
286,
479,
26561,
1872,
30,
46506,
277,
535,
62,
10951,
16034,
3084,
62,
3672,
62,
2327,
33411,
1931,
79,
62,
86,
1279,
27795,
5357,
869,
62,
1... |
Which Language has a Number of 553 633? | SELECT language FROM table_name_64 WHERE number = "553 633" | [
13828,
15417,
468,
257,
7913,
286,
642,
4310,
718,
2091,
30,
46506,
3303,
16034,
3084,
62,
3672,
62,
2414,
33411,
1271,
796,
366,
48096,
718,
2091,
1
] | [
1,
1,
1,
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,
15417,
468,
257,
7913,
286,
642,
4310,
718,
2091,
30,
46506,
3303,
16034,
3084,
62,
3672,
62,
2414,
33411,
1271,
796,
366,
48096,
718,
2091,
1
] |
What is the lowest bronze a team with 9 silvers, a total larger than 13, and more than 13 gold medals has? | SELECT MIN("Bronze") FROM table_52434 WHERE "Silver" = '9' AND "Total" > '13' AND "Gold" > '13' | [
2061,
318,
262,
9016,
22101,
257,
1074,
351,
860,
3313,
690,
11,
257,
2472,
4025,
621,
1511,
11,
290,
517,
621,
1511,
3869,
28057,
468,
30,
46506,
20625,
7203,
18760,
2736,
4943,
16034,
3084,
62,
48057,
2682,
33411,
366,
26766,
1,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22101,
257,
1074,
351,
860,
3313,
690,
11,
257,
2472,
4025,
621,
1511,
11,
290,
517,
621,
1511,
3869,
28057,
468,
30,
46506,
20625,
7203,
18760,
2736,
4943,
16034,
3084,
62,
48057,
2682,
33411,
366,
26766,
1,
796... |
Do I need to take any courses before GEOG 145 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT... | [
5211,
314,
761,
284,
1011,
597,
10902,
878,
402,
4720,
38,
20299,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5211,
314,
761,
284,
1011,
597,
10902,
878,
402,
4720,
38,
20299,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37... |
What is the Flattening ratio associated with the Equatorial diameter of 49,528km? | SELECT flattening_ratio FROM table_name_79 WHERE equatorial_diameter = "49,528km" | [
2061,
318,
262,
1610,
1078,
3101,
8064,
3917,
351,
262,
7889,
21592,
14753,
286,
5125,
11,
49351,
13276,
30,
46506,
27172,
3101,
62,
10366,
952,
16034,
3084,
62,
3672,
62,
3720,
33411,
1602,
21592,
62,
67,
13173,
796,
366,
2920,
11,
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
] | [
2061,
318,
262,
1610,
1078,
3101,
8064,
3917,
351,
262,
7889,
21592,
14753,
286,
5125,
11,
49351,
13276,
30,
46506,
27172,
3101,
62,
10366,
952,
16034,
3084,
62,
3672,
62,
3720,
33411,
1602,
21592,
62,
67,
13173,
796,
366,
2920,
11,
4... |
When has an Event of ufc 123? | SELECT "Time" FROM table_60089 WHERE "Event" = 'ufc 123' | [
2215,
468,
281,
8558,
286,
334,
16072,
17031,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
8054,
4531,
33411,
366,
9237,
1,
796,
705,
3046,
66,
17031,
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
] | [
2215,
468,
281,
8558,
286,
334,
16072,
17031,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
8054,
4531,
33411,
366,
9237,
1,
796,
705,
3046,
66,
17031,
6
] |
How many free throws did Charles Pearman score? | SELECT MAX(free_throws) FROM table_28693349_2 WHERE player = "Charles Pearman" | [
2437,
867,
1479,
12542,
750,
7516,
11830,
805,
4776,
30,
46506,
25882,
7,
5787,
62,
400,
8516,
8,
16034,
3084,
62,
2078,
3388,
2091,
2920,
62,
17,
33411,
2137,
796,
366,
28711,
11830,
805,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1479,
12542,
750,
7516,
11830,
805,
4776,
30,
46506,
25882,
7,
5787,
62,
400,
8516,
8,
16034,
3084,
62,
2078,
3388,
2091,
2920,
62,
17,
33411,
2137,
796,
366,
28711,
11830,
805,
1
] |
What team was the visitor on 3/2? | SELECT visitor FROM table_name_72 WHERE date = "3/2" | [
2061,
1074,
373,
262,
21493,
319,
513,
14,
17,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
4761,
33411,
3128,
796,
366,
18,
14,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
373,
262,
21493,
319,
513,
14,
17,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
4761,
33411,
3128,
796,
366,
18,
14,
17,
1
] |
What is Tony O'Sullivan's county? | SELECT county FROM table_name_67 WHERE player = "tony o'sullivan" | [
2061,
318,
8832,
440,
6,
47572,
338,
7968,
30,
46506,
7968,
16034,
3084,
62,
3672,
62,
3134,
33411,
2137,
796,
366,
1122,
88,
267,
338,
16040,
1
] | [
1,
1,
1,
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,
8832,
440,
6,
47572,
338,
7968,
30,
46506,
7968,
16034,
3084,
62,
3672,
62,
3134,
33411,
2137,
796,
366,
1122,
88,
267,
338,
16040,
1
] |
What is the enrollment ratio for preschool in the region where enrollment ratio for tertiary is 29.55? | SELECT preschool__0_5_years_ FROM table_25042332_22 WHERE tertiary__18_24_years_ = "29.55" | [
2061,
318,
262,
20753,
8064,
329,
38725,
287,
262,
3814,
810,
20753,
8064,
329,
48358,
8042,
318,
2808,
13,
2816,
30,
46506,
38725,
834,
15,
62,
20,
62,
19002,
62,
16034,
3084,
62,
9031,
43356,
2624,
62,
1828,
33411,
48358,
8042,
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
] | [
2061,
318,
262,
20753,
8064,
329,
38725,
287,
262,
3814,
810,
20753,
8064,
329,
48358,
8042,
318,
2808,
13,
2816,
30,
46506,
38725,
834,
15,
62,
20,
62,
19002,
62,
16034,
3084,
62,
9031,
43356,
2624,
62,
1828,
33411,
48358,
8042,
834,... |
Take the first name of all the good customers as the X-axis and gender of all the good customers as Y-axis in a bar chart, could you sort from high to low by the first_name please? | SELECT first_name, gender_mf FROM Customers WHERE good_or_bad_customer = 'good' ORDER BY first_name DESC | [
12322,
262,
717,
1438,
286,
477,
262,
922,
4297,
355,
262,
1395,
12,
22704,
290,
5279,
286,
477,
262,
922,
4297,
355,
575,
12,
22704,
287,
257,
2318,
8262,
11,
714,
345,
3297,
422,
1029,
284,
1877,
416,
262,
717,
62,
3672,
3387,
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... | [
12322,
262,
717,
1438,
286,
477,
262,
922,
4297,
355,
262,
1395,
12,
22704,
290,
5279,
286,
477,
262,
922,
4297,
355,
575,
12,
22704,
287,
257,
2318,
8262,
11,
714,
345,
3297,
422,
1029,
284,
1877,
416,
262,
717,
62,
3672,
3387,
3... |
Name the general classification for steven kruijswijk | SELECT general_classification FROM table_29077342_19 WHERE winner = "Steven Kruijswijk" | [
5376,
262,
2276,
17923,
329,
2876,
574,
479,
622,
2926,
2032,
45961,
46506,
2276,
62,
4871,
2649,
16034,
3084,
62,
1959,
2998,
22,
31575,
62,
1129,
33411,
8464,
796,
366,
28292,
33909,
2926,
2032,
45961,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2276,
17923,
329,
2876,
574,
479,
622,
2926,
2032,
45961,
46506,
2276,
62,
4871,
2649,
16034,
3084,
62,
1959,
2998,
22,
31575,
62,
1129,
33411,
8464,
796,
366,
28292,
33909,
2926,
2032,
45961,
1
] |
patient 002-52932 has produced voided amount on 03/08/2100? | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-52932')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutpu... | [
26029,
3571,
17,
12,
49721,
2624,
468,
4635,
7608,
1384,
2033,
319,
7643,
14,
2919,
14,
2481,
405,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
582... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26029,
3571,
17,
12,
49721,
2624,
468,
4635,
7608,
1384,
2033,
319,
7643,
14,
2919,
14,
2481,
405,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
582... |
A bar graph listing the services and how many services provided by all stations
, order in ascending by the Y-axis. | SELECT services, COUNT(services) FROM station GROUP BY services ORDER BY COUNT(services) | [
32,
2318,
4823,
13487,
262,
2594,
290,
703,
867,
2594,
2810,
416,
477,
8985,
198,
198,
11,
1502,
287,
41988,
416,
262,
575,
12,
22704,
13,
46506,
2594,
11,
327,
28270,
7,
30416,
8,
16034,
4429,
44441,
11050,
2594,
38678,
11050,
327,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
4823,
13487,
262,
2594,
290,
703,
867,
2594,
2810,
416,
477,
8985,
198,
198,
11,
1502,
287,
41988,
416,
262,
575,
12,
22704,
13,
46506,
2594,
11,
327,
28270,
7,
30416,
8,
16034,
4429,
44441,
11050,
2594,
38678,
11050,
327,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.