instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Which Date has a Record of 58 10? | SELECT date FROM table_name_78 WHERE record = "58–10" | [
13828,
7536,
468,
257,
13266,
286,
7618,
838,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3695,
33411,
1700,
796,
366,
3365,
1906,
940,
1
] | [
1,
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,
7536,
468,
257,
13266,
286,
7618,
838,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3695,
33411,
1700,
796,
366,
3365,
1906,
940,
1
] |
For all games with los angeles as visitor, what is the highest attendance of all? | SELECT MAX(attendance) FROM table_name_12 WHERE visitor = "los angeles" | [
1890,
477,
1830,
351,
22346,
18304,
274,
355,
21493,
11,
644,
318,
262,
4511,
14858,
286,
477,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
21493,
796,
366,
33280,
18304,
274,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
1830,
351,
22346,
18304,
274,
355,
21493,
11,
644,
318,
262,
4511,
14858,
286,
477,
30,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
1065,
33411,
21493,
796,
366,
33280,
18304,
274,
1
] |
What is the Accreditation Status, when the Product Name is LG RCS-e Client? | SELECT accreditation_status FROM table_name_83 WHERE product_name = "lg rcs-e client" | [
2061,
318,
262,
6366,
42845,
12678,
11,
618,
262,
8721,
6530,
318,
17370,
371,
7902,
12,
68,
20985,
30,
46506,
697,
42845,
62,
13376,
16034,
3084,
62,
3672,
62,
5999,
33411,
1720,
62,
3672,
796,
366,
75,
70,
374,
6359,
12,
68,
5456,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6366,
42845,
12678,
11,
618,
262,
8721,
6530,
318,
17370,
371,
7902,
12,
68,
20985,
30,
46506,
697,
42845,
62,
13376,
16034,
3084,
62,
3672,
62,
5999,
33411,
1720,
62,
3672,
796,
366,
75,
70,
374,
6359,
12,
68,
5456,... |
what is the rank when silver is 0, bronze is more than 1 and the total is more than 3? | SELECT rank FROM table_name_32 WHERE silver = 0 AND bronze > 1 AND total > 3 | [
10919,
318,
262,
4279,
618,
8465,
318,
657,
11,
22101,
318,
517,
621,
352,
290,
262,
2472,
318,
517,
621,
513,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
2624,
33411,
8465,
796,
657,
5357,
22101,
1875,
352,
5357,
2472,
1875,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
4279,
618,
8465,
318,
657,
11,
22101,
318,
517,
621,
352,
290,
262,
2472,
318,
517,
621,
513,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
2624,
33411,
8465,
796,
657,
5357,
22101,
1875,
352,
5357,
2472,
1875,
513
] |
which album released by the band schnell fenster produced the most singles appearing on the australian peak chart ? | SELECT "album" FROM table_202_184 GROUP BY "album" ORDER BY COUNT("title") DESC LIMIT 1 | [
4758,
5062,
2716,
416,
262,
4097,
264,
1349,
695,
277,
268,
1706,
4635,
262,
749,
25287,
12655,
319,
262,
38132,
1373,
666,
9103,
8262,
5633,
46506,
366,
40916,
1,
16034,
3084,
62,
19004,
62,
22883,
44441,
11050,
366,
40916,
1,
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,
1,
1,
1,
1,
1
] | [
4758,
5062,
2716,
416,
262,
4097,
264,
1349,
695,
277,
268,
1706,
4635,
262,
749,
25287,
12655,
319,
262,
38132,
1373,
666,
9103,
8262,
5633,
46506,
366,
40916,
1,
16034,
3084,
62,
19004,
62,
22883,
44441,
11050,
366,
40916,
1,
38678,
... |
Questions that would be orphaned by automated burnination of the [row] rag. | SELECT Id FROM Posts WHERE Tags = '<row>' | [
35741,
326,
561,
307,
26051,
276,
416,
16359,
4245,
1883,
286,
262,
685,
808,
60,
34232,
13,
46506,
5121,
16034,
12043,
33411,
44789,
796,
705,
27,
808,
29,
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
] | [
35741,
326,
561,
307,
26051,
276,
416,
16359,
4245,
1883,
286,
262,
685,
808,
60,
34232,
13,
46506,
5121,
16034,
12043,
33411,
44789,
796,
705,
27,
808,
29,
6
] |
what paper did ras bodik and ameet soni write together ? | SELECT DISTINCT WRITES_0.paperid FROM author AS AUTHOR_0, author AS AUTHOR_1, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.authorname = 'ras bodik' AND AUTHOR_1.authorname = 'ameet soni' AND WRITES_0.authorid = AUTHOR_0.authorid AND WRITES_1.authorid = AUTHOR_1.authorid AND WRITES_1.paperid = WRITES_0.paperid | [
10919,
3348,
750,
374,
292,
16429,
1134,
290,
716,
68,
316,
3367,
72,
3551,
1978,
5633,
46506,
360,
8808,
1268,
4177,
11342,
2043,
1546,
62,
15,
13,
20189,
312,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
16,
11,
67... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3348,
750,
374,
292,
16429,
1134,
290,
716,
68,
316,
3367,
72,
3551,
1978,
5633,
46506,
360,
8808,
1268,
4177,
11342,
2043,
1546,
62,
15,
13,
20189,
312,
16034,
1772,
7054,
44746,
62,
15,
11,
1772,
7054,
44746,
62,
16,
11,
67... |
Please give me a bar chart for the total enrollment in each county, could you rank County in descending order? | SELECT County, SUM(Enrollment) FROM School GROUP BY County ORDER BY County DESC | [
5492,
1577,
502,
257,
2318,
8262,
329,
262,
2472,
20753,
287,
1123,
7968,
11,
714,
345,
4279,
3418,
287,
31491,
1502,
30,
46506,
3418,
11,
35683,
7,
4834,
48108,
8,
16034,
3961,
44441,
11050,
3418,
38678,
11050,
3418,
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
] | [
5492,
1577,
502,
257,
2318,
8262,
329,
262,
2472,
20753,
287,
1123,
7968,
11,
714,
345,
4279,
3418,
287,
31491,
1502,
30,
46506,
3418,
11,
35683,
7,
4834,
48108,
8,
16034,
3961,
44441,
11050,
3418,
38678,
11050,
3418,
22196,
34
] |
what was the reason Richard K. Meade ( d ) became a successor? | SELECT reason_for_change FROM table_228439_4 WHERE successor = "Richard K. Meade ( D )" | [
10919,
373,
262,
1738,
6219,
509,
13,
2185,
671,
357,
288,
1267,
2627,
257,
17270,
30,
46506,
1738,
62,
1640,
62,
3803,
16034,
3084,
62,
1828,
5705,
2670,
62,
19,
33411,
17270,
796,
366,
22245,
509,
13,
2185,
671,
357,
360,
1267,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1738,
6219,
509,
13,
2185,
671,
357,
288,
1267,
2627,
257,
17270,
30,
46506,
1738,
62,
1640,
62,
3803,
16034,
3084,
62,
1828,
5705,
2670,
62,
19,
33411,
17270,
796,
366,
22245,
509,
13,
2185,
671,
357,
360,
1267,
1
... |
How many games drawn with a Points difference of 31 - 33, and under 4 games lost? | SELECT SUM("Drawn") FROM table_36758 WHERE "Points difference" = '31 - 33' AND "Lost" < '4' | [
2437,
867,
1830,
7428,
351,
257,
11045,
3580,
286,
3261,
532,
4747,
11,
290,
739,
604,
1830,
2626,
30,
46506,
35683,
7203,
35,
5791,
4943,
16034,
3084,
62,
2623,
38569,
33411,
366,
40710,
3580,
1,
796,
705,
3132,
532,
4747,
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
] | [
2437,
867,
1830,
7428,
351,
257,
11045,
3580,
286,
3261,
532,
4747,
11,
290,
739,
604,
1830,
2626,
30,
46506,
35683,
7203,
35,
5791,
4943,
16034,
3084,
62,
2623,
38569,
33411,
366,
40710,
3580,
1,
796,
705,
3132,
532,
4747,
6,
5357,
... |
Return a scatter chart about the correlation between Team_ID and School_ID , and group by attribute All_Games. | SELECT Team_ID, School_ID FROM basketball_match GROUP BY All_Games | [
13615,
257,
41058,
8262,
546,
262,
16096,
1022,
4816,
62,
2389,
290,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
1439,
62,
24474,
13,
46506,
4816,
62,
2389,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
24474
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
41058,
8262,
546,
262,
16096,
1022,
4816,
62,
2389,
290,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
1439,
62,
24474,
13,
46506,
4816,
62,
2389,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
24474
] |
provide the number of patients whose primary disease is upper gi bleed and year of death is less than or equal to 2126? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "UPPER GI BLEED" AND demographic.dod_year <= "2126.0" | [
15234,
485,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
6727,
308,
72,
30182,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
19420,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
6727,
308,
72,
30182,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
19420,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... |
What are December 10's high points? | SELECT "High points" FROM table_29775 WHERE "Date" = 'December 10' | [
2061,
389,
3426,
838,
338,
1029,
2173,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
26561,
2425,
33411,
366,
10430,
1,
796,
705,
20588,
838,
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,
389,
3426,
838,
338,
1029,
2173,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
26561,
2425,
33411,
366,
10430,
1,
796,
705,
20588,
838,
6
] |
Percentage rate of my answers accepted with score zero. | SELECT (CAST(COUNT(a.Id) AS FLOAT) / (SELECT COUNT(*) FROM Posts WHERE OwnerUserId = @UserId AND PostTypeId = 2) * 100) AS AcceptedPercentage, COUNT(a.Id) AS "Total Answers" FROM Posts AS q INNER JOIN Posts AS a ON q.AcceptedAnswerId = a.Id WHERE a.OwnerUserId = @UserId AND a.PostTypeId = 2 AND a.Score = 0 AND a.OwnerU... | [
31905,
496,
2494,
286,
616,
7429,
6292,
351,
4776,
6632,
13,
46506,
357,
44647,
7,
34,
28270,
7,
64,
13,
7390,
8,
7054,
9977,
46,
1404,
8,
1220,
357,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
23853,
12982,
7390,
796,
2488,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
31905,
496,
2494,
286,
616,
7429,
6292,
351,
4776,
6632,
13,
46506,
357,
44647,
7,
34,
28270,
7,
64,
13,
7390,
8,
7054,
9977,
46,
1404,
8,
1220,
357,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
23853,
12982,
7390,
796,
2488,
1... |
What was the score for the opponent florida panthers? | SELECT COUNT(score) FROM table_27501030_3 WHERE opponent = "Florida Panthers" | [
2061,
373,
262,
4776,
329,
262,
6125,
781,
273,
3755,
15857,
7084,
30,
46506,
327,
28270,
7,
26675,
8,
16034,
3084,
62,
23195,
20943,
1270,
62,
18,
33411,
6125,
796,
366,
31135,
17782,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
329,
262,
6125,
781,
273,
3755,
15857,
7084,
30,
46506,
327,
28270,
7,
26675,
8,
16034,
3084,
62,
23195,
20943,
1270,
62,
18,
33411,
6125,
796,
366,
31135,
17782,
1
] |
Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)? | SELECT week_3_sept_14 FROM table_name_87 WHERE week_6_oct_5 = "kansas (4-1)" | [
13828,
6119,
513,
2362,
1478,
468,
257,
6119,
718,
2556,
642,
286,
479,
6618,
357,
19,
12,
16,
19427,
46506,
1285,
62,
18,
62,
325,
457,
62,
1415,
16034,
3084,
62,
3672,
62,
5774,
33411,
1285,
62,
21,
62,
38441,
62,
20,
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
] | [
13828,
6119,
513,
2362,
1478,
468,
257,
6119,
718,
2556,
642,
286,
479,
6618,
357,
19,
12,
16,
19427,
46506,
1285,
62,
18,
62,
325,
457,
62,
1415,
16034,
3084,
62,
3672,
62,
5774,
33411,
1285,
62,
21,
62,
38441,
62,
20,
796,
366,
... |
Show all main industry and total market value in each industry, order by the x-axis from high to low. | SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry ORDER BY Main_Industry DESC | [
15307,
477,
1388,
2831,
290,
2472,
1910,
1988,
287,
1123,
2831,
11,
1502,
416,
262,
2124,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
8774,
62,
35848,
563,
11,
35683,
7,
27470,
62,
11395,
8,
16034,
1664,
44441,
11050,
8774,
62,
35848,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
1388,
2831,
290,
2472,
1910,
1988,
287,
1123,
2831,
11,
1502,
416,
262,
2124,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
8774,
62,
35848,
563,
11,
35683,
7,
27470,
62,
11395,
8,
16034,
1664,
44441,
11050,
8774,
62,
35848,... |
What is the team 1 with n mes olympique (d2) as team 2? | SELECT team_1 FROM table_name_66 WHERE team_2 = "nîmes olympique (d2)" | [
2061,
318,
262,
1074,
352,
351,
299,
18842,
267,
6760,
2350,
357,
67,
17,
8,
355,
1074,
362,
30,
46506,
1074,
62,
16,
16034,
3084,
62,
3672,
62,
2791,
33411,
1074,
62,
17,
796,
366,
77,
34803,
6880,
267,
6760,
2350,
357,
67,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1074,
352,
351,
299,
18842,
267,
6760,
2350,
357,
67,
17,
8,
355,
1074,
362,
30,
46506,
1074,
62,
16,
16034,
3084,
62,
3672,
62,
2791,
33411,
1074,
62,
17,
796,
366,
77,
34803,
6880,
267,
6760,
2350,
357,
67,
17,
... |
What is the winning amount that has May 30, 2009 as the date premiered? | SELECT "Winning Amount" FROM table_63433 WHERE "Date Premiered (2009)" = 'may 30' | [
2061,
318,
262,
5442,
2033,
326,
468,
1737,
1542,
11,
3717,
355,
262,
3128,
44119,
30,
46506,
366,
16643,
768,
26308,
1,
16034,
3084,
62,
21,
2682,
2091,
33411,
366,
10430,
6929,
494,
445,
357,
10531,
16725,
796,
705,
11261,
1542,
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,
262,
5442,
2033,
326,
468,
1737,
1542,
11,
3717,
355,
262,
3128,
44119,
30,
46506,
366,
16643,
768,
26308,
1,
16034,
3084,
62,
21,
2682,
2091,
33411,
366,
10430,
6929,
494,
445,
357,
10531,
16725,
796,
705,
11261,
1542,
6
] |
when was patient 92642 prescribed docusate sodium and acetaminophen at the same time for the last time until 62 months ago? | SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'docusate sodium' AND admissions.subject_id = 92642 AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-62 month')) ... | [
12518,
373,
5827,
860,
2075,
3682,
14798,
2205,
385,
378,
21072,
290,
25174,
5669,
47806,
379,
262,
976,
640,
329,
262,
938,
640,
1566,
8190,
1933,
2084,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
32796,
62,
312... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
5827,
860,
2075,
3682,
14798,
2205,
385,
378,
21072,
290,
25174,
5669,
47806,
379,
262,
976,
640,
329,
262,
938,
640,
1566,
8190,
1933,
2084,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
32796,
62,
312... |
what is drug route of subject id 2560? | SELECT prescriptions.route FROM prescriptions WHERE prescriptions.subject_id = "2560" | [
10919,
318,
2563,
6339,
286,
2426,
4686,
1679,
1899,
30,
46506,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] | [
1,
1,
1,
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,
2563,
6339,
286,
2426,
4686,
1679,
1899,
30,
46506,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
Find the ids of orders whose status is 'Success'. | SELECT actual_order_id FROM actual_orders WHERE order_status_code = 'Success' | [
16742,
262,
220,
2340,
286,
6266,
3025,
3722,
318,
705,
33244,
4458,
46506,
4036,
62,
2875,
62,
312,
16034,
4036,
62,
6361,
33411,
1502,
62,
13376,
62,
8189,
796,
705,
33244,
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
] | [
16742,
262,
220,
2340,
286,
6266,
3025,
3722,
318,
705,
33244,
4458,
46506,
4036,
62,
2875,
62,
312,
16034,
4036,
62,
6361,
33411,
1502,
62,
13376,
62,
8189,
796,
705,
33244,
6
] |
what's the last diagnosis patient 016-19759 got in this year? | SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-19759')) AND DATETIME(diagnosis.diagnosistime, 'start of year... | [
10919,
338,
262,
938,
13669,
5827,
5534,
21,
12,
1129,
38314,
1392,
287,
428,
614,
30,
46506,
13669,
13,
47356,
5958,
3672,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
338,
262,
938,
13669,
5827,
5534,
21,
12,
1129,
38314,
1392,
287,
428,
614,
30,
46506,
13669,
13,
47356,
5958,
3672,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
... |
What is the age of the friend of Zach with longest year relationship? | SELECT T1.age FROM person AS T1 JOIN personfriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Zach' AND T2.year = (SELECT MAX(year) FROM personfriend WHERE name = 'Zach') | [
2061,
318,
262,
2479,
286,
262,
1545,
286,
18825,
351,
14069,
614,
2776,
30,
46506,
309,
16,
13,
496,
16034,
1048,
7054,
309,
16,
32357,
1268,
1048,
6726,
7054,
309,
17,
6177,
309,
16,
13,
3672,
796,
309,
17,
13,
6726,
33411,
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... | [
2061,
318,
262,
2479,
286,
262,
1545,
286,
18825,
351,
14069,
614,
2776,
30,
46506,
309,
16,
13,
496,
16034,
1048,
7054,
309,
16,
32357,
1268,
1048,
6726,
7054,
309,
17,
6177,
309,
16,
13,
3672,
796,
309,
17,
13,
6726,
33411,
309,
... |
Tell me the pick for canada centre | SELECT pick FROM table_name_74 WHERE position = "centre" AND nationality = "canada" | [
24446,
502,
262,
2298,
329,
460,
4763,
7372,
46506,
2298,
16034,
3084,
62,
3672,
62,
4524,
33411,
2292,
796,
366,
1087,
260,
1,
5357,
29835,
796,
366,
5171,
4763,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2298,
329,
460,
4763,
7372,
46506,
2298,
16034,
3084,
62,
3672,
62,
4524,
33411,
2292,
796,
366,
1087,
260,
1,
5357,
29835,
796,
366,
5171,
4763,
1
] |
what is the number of patients whose age is less than 31 and diagnoses icd9 code is 2809? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "31" AND diagnoses.icd9_code = "2809" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
3261,
290,
40567,
14158,
67,
24,
2438,
318,
21355,
24,
30,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
3261,
290,
40567,
14158,
67,
24,
2438,
318,
21355,
24,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... |
out of total number of patients who had a lab test for total protein in urine, how many of them belonged to christian scientist belief? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "CHRISTIAN SCIENTIST" AND lab.label = "Total Protein, Urine" | [
448,
286,
2472,
1271,
286,
3871,
508,
550,
257,
2248,
1332,
329,
2472,
7532,
287,
18922,
11,
703,
867,
286,
606,
19611,
284,
33826,
666,
11444,
4901,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
448,
286,
2472,
1271,
286,
3871,
508,
550,
257,
2248,
1332,
329,
2472,
7532,
287,
18922,
11,
703,
867,
286,
606,
19611,
284,
33826,
666,
11444,
4901,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
1603... |
Report the number of patients who were admitted via physician referral/normal delivery and had a pleural fluid lab test done. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND lab.fluid = "Pleural" | [
19100,
262,
1271,
286,
3871,
508,
547,
6848,
2884,
14325,
31413,
14,
11265,
7585,
290,
550,
257,
3339,
1523,
11711,
2248,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19100,
262,
1271,
286,
3871,
508,
547,
6848,
2884,
14325,
31413,
14,
11265,
7585,
290,
550,
257,
3339,
1523,
11711,
2248,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21... |
What is the average crowd size for princes park? | SELECT AVG("Crowd") FROM table_51855 WHERE "Venue" = 'princes park' | [
2061,
318,
262,
2811,
4315,
2546,
329,
42676,
3952,
30,
46506,
35224,
7203,
34,
3986,
4943,
16034,
3084,
62,
44085,
2816,
33411,
366,
37522,
518,
1,
796,
705,
1050,
17386,
3952,
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,
318,
262,
2811,
4315,
2546,
329,
42676,
3952,
30,
46506,
35224,
7203,
34,
3986,
4943,
16034,
3084,
62,
44085,
2816,
33411,
366,
37522,
518,
1,
796,
705,
1050,
17386,
3952,
6
] |
Who is the runner up for the champion of john mcenroe 6 2, 6 3? | SELECT "Runner-up" FROM table_24489 WHERE "Champion" = 'John McEnroe 6–2, 6–3' | [
8241,
318,
262,
17490,
510,
329,
262,
8783,
286,
45610,
36650,
268,
20646,
718,
362,
11,
718,
513,
30,
46506,
366,
49493,
12,
929,
1,
16034,
3084,
62,
1731,
35890,
33411,
366,
1925,
6734,
1,
796,
705,
7554,
1982,
4834,
20646,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
17490,
510,
329,
262,
8783,
286,
45610,
36650,
268,
20646,
718,
362,
11,
718,
513,
30,
46506,
366,
49493,
12,
929,
1,
16034,
3084,
62,
1731,
35890,
33411,
366,
1925,
6734,
1,
796,
705,
7554,
1982,
4834,
20646,
718,
1... |
Name the competition for khartoum | SELECT competition FROM table_name_54 WHERE venue = "khartoum" | [
5376,
262,
5449,
329,
479,
18647,
280,
76,
46506,
5449,
16034,
3084,
62,
3672,
62,
4051,
33411,
14359,
796,
366,
14636,
433,
280,
76,
1
] | [
1,
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,
5449,
329,
479,
18647,
280,
76,
46506,
5449,
16034,
3084,
62,
3672,
62,
4051,
33411,
14359,
796,
366,
14636,
433,
280,
76,
1
] |
What stain is used commonly for elastic fibers? | SELECT stain FROM table_13570_1 WHERE common_use = "Elastic fibers" | [
2061,
18746,
318,
973,
8811,
329,
27468,
26742,
30,
46506,
18746,
16034,
3084,
62,
17059,
2154,
62,
16,
33411,
2219,
62,
1904,
796,
366,
9527,
3477,
26742,
1
] | [
1,
1,
1,
1,
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,
18746,
318,
973,
8811,
329,
27468,
26742,
30,
46506,
18746,
16034,
3084,
62,
17059,
2154,
62,
16,
33411,
2219,
62,
1904,
796,
366,
9527,
3477,
26742,
1
] |
How many ILO codes are there with revising conventions of 'this convention, work in fishing convention'? | SELECT COUNT("ILO code") FROM table_2208 WHERE "revising convention(s)" = 'this convention, Work in Fishing Convention' | [
2437,
867,
14639,
46,
12416,
389,
612,
351,
2710,
1710,
21396,
286,
705,
5661,
9831,
11,
670,
287,
12478,
9831,
30960,
46506,
327,
28270,
7203,
4146,
46,
2438,
4943,
16034,
3084,
62,
17572,
23,
33411,
366,
18218,
1710,
9831,
7,
82,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
14639,
46,
12416,
389,
612,
351,
2710,
1710,
21396,
286,
705,
5661,
9831,
11,
670,
287,
12478,
9831,
30960,
46506,
327,
28270,
7203,
4146,
46,
2438,
4943,
16034,
3084,
62,
17572,
23,
33411,
366,
18218,
1710,
9831,
7,
82,
16... |
If the proto-semitic is *bayt-, what are the geez? | SELECT geez FROM table_26919_7 WHERE proto_semitic = "*bayt-" | [
1532,
262,
44876,
12,
325,
2781,
291,
318,
1635,
24406,
83,
20995,
644,
389,
262,
308,
33105,
30,
46506,
308,
33105,
16034,
3084,
62,
26276,
1129,
62,
22,
33411,
44876,
62,
325,
2781,
291,
796,
366,
9,
24406,
83,
21215
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
44876,
12,
325,
2781,
291,
318,
1635,
24406,
83,
20995,
644,
389,
262,
308,
33105,
30,
46506,
308,
33105,
16034,
3084,
62,
26276,
1129,
62,
22,
33411,
44876,
62,
325,
2781,
291,
796,
366,
9,
24406,
83,
21215
] |
Who placed in t5 and scored 73-69-68=210? | SELECT player FROM table_name_76 WHERE place = "t5" AND score = 73 - 69 - 68 = 210 | [
8241,
4624,
287,
256,
20,
290,
7781,
8854,
12,
3388,
12,
3104,
28,
21536,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4304,
33411,
1295,
796,
366,
83,
20,
1,
5357,
4776,
796,
8854,
532,
8644,
532,
8257,
796,
20064
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4624,
287,
256,
20,
290,
7781,
8854,
12,
3388,
12,
3104,
28,
21536,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4304,
33411,
1295,
796,
366,
83,
20,
1,
5357,
4776,
796,
8854,
532,
8644,
532,
8257,
796,
20064
] |
What is the Prince XML value for the engine that has a Gecko value of 'no' and webkit value of 'nightly build'? | SELECT prince_xml FROM table_name_63 WHERE gecko = "no" AND webkit = "nightly build" | [
2061,
318,
262,
9005,
23735,
1988,
329,
262,
3113,
326,
468,
257,
2269,
37549,
1988,
286,
705,
3919,
6,
290,
3992,
15813,
1988,
286,
705,
3847,
306,
1382,
30960,
46506,
19716,
62,
19875,
16034,
3084,
62,
3672,
62,
5066,
33411,
4903,
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
] | [
2061,
318,
262,
9005,
23735,
1988,
329,
262,
3113,
326,
468,
257,
2269,
37549,
1988,
286,
705,
3919,
6,
290,
3992,
15813,
1988,
286,
705,
3847,
306,
1382,
30960,
46506,
19716,
62,
19875,
16034,
3084,
62,
3672,
62,
5066,
33411,
4903,
3... |
who is the only title to get 4:26 ? | SELECT "title" FROM table_204_238 WHERE "time" = '4:26' | [
8727,
318,
262,
691,
3670,
284,
651,
604,
25,
2075,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
23721,
33411,
366,
2435,
1,
796,
705,
19,
25,
2075,
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
] | [
8727,
318,
262,
691,
3670,
284,
651,
604,
25,
2075,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
23721,
33411,
366,
2435,
1,
796,
705,
19,
25,
2075,
6
] |
Is a morning class available for HISTORY 348 ? | SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'HISTORY' AND course.number = 348 AND semester.semester = 'WN' AND semester.semester_id = course_... | [
3792,
257,
3329,
1398,
1695,
329,
367,
42480,
44084,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
1279,
705,
1065,
25,
405,
25,
405,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3792,
257,
3329,
1398,
1695,
329,
367,
42480,
44084,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
62,
2364,
1586,
13,
9688,
62,
2435,
1279,
705,
1065,
25,
405,
25,
405,
... |
What are the first names and last names of the students that minor in the department with DNO 140. | SELECT T2.fname, T2.lname FROM minor_in AS T1 JOIN student AS T2 ON T1.stuid = T2.stuid WHERE T1.dno = 140 | [
2061,
389,
262,
717,
3891,
290,
938,
3891,
286,
262,
2444,
326,
4159,
287,
262,
5011,
351,
360,
15285,
12713,
13,
46506,
309,
17,
13,
69,
3672,
11,
309,
17,
13,
75,
3672,
16034,
4159,
62,
259,
7054,
309,
16,
32357,
1268,
3710,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
717,
3891,
290,
938,
3891,
286,
262,
2444,
326,
4159,
287,
262,
5011,
351,
360,
15285,
12713,
13,
46506,
309,
17,
13,
69,
3672,
11,
309,
17,
13,
75,
3672,
16034,
4159,
62,
259,
7054,
309,
16,
32357,
1268,
3710,
705... |
What is the name of the podcast on November 21, 2004? | SELECT "Title" FROM table_32994 WHERE "Podcast Date" = 'november 21, 2004' | [
2061,
318,
262,
1438,
286,
262,
9905,
319,
3389,
2310,
11,
5472,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
37967,
5824,
33411,
366,
47,
7107,
7536,
1,
796,
705,
77,
3239,
2310,
11,
5472,
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,
1438,
286,
262,
9905,
319,
3389,
2310,
11,
5472,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
37967,
5824,
33411,
366,
47,
7107,
7536,
1,
796,
705,
77,
3239,
2310,
11,
5472,
6
] |
What round was jerry corcoran drafted in as pick number 114? | SELECT MAX("Round") FROM table_7901 WHERE "Pick" > '114' AND "Player" = 'jerry corcoran' | [
2061,
2835,
373,
474,
6996,
1162,
10215,
272,
15937,
287,
355,
2298,
1271,
17342,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
3720,
486,
33411,
366,
31686,
1,
1875,
705,
16562,
6,
5357,
366,
14140,
1,
796,
705,
73,
6996,
116... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2835,
373,
474,
6996,
1162,
10215,
272,
15937,
287,
355,
2298,
1271,
17342,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
3720,
486,
33411,
366,
31686,
1,
1875,
705,
16562,
6,
5357,
366,
14140,
1,
796,
705,
73,
6996,
116... |
i'll need a RENTAL CAR at the ATLANTA airport can you show me what 's available | SELECT DISTINCT ground_service.transport_type FROM airport, airport_service, city, ground_service WHERE airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code AND city.city_name = 'ATLANTA' AND ground_service.airport_code = airport.airport_code AND ground_service.transport_ty... | [
72,
1183,
761,
257,
371,
3525,
1847,
17368,
379,
262,
5161,
25697,
5603,
9003,
460,
345,
905,
502,
644,
705,
82,
1695,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
174... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1183,
761,
257,
371,
3525,
1847,
17368,
379,
262,
5161,
25697,
5603,
9003,
460,
345,
905,
502,
644,
705,
82,
1695,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
174... |
what is the number of patients whose diagnoses long title is infection and inflammatory reaction due to other vascular device, implant, and graft? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Infection and inflammatory reaction due to other vascular device, implant, and graft" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
10280,
290,
23760,
6317,
2233,
284,
584,
39495,
3335,
11,
29016,
11,
290,
38455,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
890,
3670,
318,
10280,
290,
23760,
6317,
2233,
284,
584,
39495,
3335,
11,
29016,
11,
290,
38455,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728... |
tipuani municipality when tacacoma municipality is 6? | SELECT "Tipuani Municipality" FROM table_27404 WHERE "Tacacoma Municipality" = '6' | [
22504,
84,
3216,
27264,
618,
26142,
330,
6086,
27264,
318,
718,
30,
46506,
366,
28434,
84,
3216,
27338,
1483,
1,
16034,
3084,
62,
1983,
26429,
33411,
366,
51,
330,
330,
6086,
27338,
1483,
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
] | [
22504,
84,
3216,
27264,
618,
26142,
330,
6086,
27264,
318,
718,
30,
46506,
366,
28434,
84,
3216,
27338,
1483,
1,
16034,
3084,
62,
1983,
26429,
33411,
366,
51,
330,
330,
6086,
27338,
1483,
1,
796,
705,
21,
6
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a line chart about the change of employee_id over hire_date , could you sort by the X-axis in desc? | SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY HIRE_DATE DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
1627,
8262,
546,
262,
1487,
286,
6538,
62,
312,
625,
11078,
62,
4475,
837,
714,
345,
3297,
416,
262,
1395,
12,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
1627,
8262,
546,
262,
1487,
286,
6538,
62,
312,
625,
11078,
62,
4475,
837,
714,
345,
3297,
416,
262,
1395,
12,
... |
My median and average answer score at given date. Reports median and average answer score. The MedianAnswerScore2 is more precise version of median. | SELECT COUNT(Posts.Id) AS Answers, (SELECT MAX(Score) FROM (SELECT percent AS Score FROM Posts AS PU WHERE PostTypeId = 2 AND CommunityOwnedDate IS NULL AND PU.OwnerUserId = '##UserId##' ORDER BY Score LIMIT 50) AS t) AS MedianAnswerScore FROM Posts WHERE PostTypeId = 2 AND CommunityOwnedDate IS NULL AND OwnerUserId = ... | [
3666,
14288,
290,
2811,
3280,
4776,
379,
1813,
3128,
13,
17905,
14288,
290,
2811,
3280,
4776,
13,
383,
26178,
33706,
26595,
17,
318,
517,
7141,
2196,
286,
14288,
13,
46506,
327,
28270,
7,
21496,
13,
7390,
8,
7054,
42612,
11,
357,
4650... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3666,
14288,
290,
2811,
3280,
4776,
379,
1813,
3128,
13,
17905,
14288,
290,
2811,
3280,
4776,
13,
383,
26178,
33706,
26595,
17,
318,
517,
7141,
2196,
286,
14288,
13,
46506,
327,
28270,
7,
21496,
13,
7390,
8,
7054,
42612,
11,
357,
4650... |
what is the score when the tie no is 28? | SELECT score FROM table_name_97 WHERE tie_no = 28 | [
10919,
318,
262,
4776,
618,
262,
9839,
645,
318,
2579,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
5607,
33411,
9839,
62,
3919,
796,
2579
] | [
1,
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,
4776,
618,
262,
9839,
645,
318,
2579,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
5607,
33411,
9839,
62,
3919,
796,
2579
] |
Which player made the highest number of assists during the game played at the FleetCenter, with end score of W 120-87? | SELECT "High assists" FROM table_47733 WHERE "Location Attendance" = 'fleetcenter' AND "Score" = 'w 120-87' | [
13828,
2137,
925,
262,
4511,
1271,
286,
13648,
1141,
262,
983,
2826,
379,
262,
20001,
23656,
11,
351,
886,
4776,
286,
370,
7982,
12,
5774,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
32883,
2091,
33411,
366,
14749,
46502,
590,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
925,
262,
4511,
1271,
286,
13648,
1141,
262,
983,
2826,
379,
262,
20001,
23656,
11,
351,
886,
4776,
286,
370,
7982,
12,
5774,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
32883,
2091,
33411,
366,
14749,
46502,
590,
1... |
What was Kashmira Shah's position on August 14? | SELECT "Position" FROM table_1850 WHERE "Main contestant" = 'Kashmira Shah' AND "Date performed" = 'August 14' | [
2061,
373,
20578,
76,
8704,
18381,
338,
2292,
319,
2932,
1478,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
1507,
1120,
33411,
366,
13383,
44047,
1,
796,
705,
42,
1077,
76,
8704,
18381,
6,
5357,
366,
10430,
6157,
1,
796,
705,
17908,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20578,
76,
8704,
18381,
338,
2292,
319,
2932,
1478,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
1507,
1120,
33411,
366,
13383,
44047,
1,
796,
705,
42,
1077,
76,
8704,
18381,
6,
5357,
366,
10430,
6157,
1,
796,
705,
17908,
1... |
give me the flights on 12 27 with the fares from INDIANAPOLIS to ORLANDO | 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 AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AN... | [
26535,
502,
262,
13956,
319,
1105,
2681,
351,
262,
33164,
422,
24413,
16868,
2969,
3535,
1797,
284,
6375,
28182,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13956,
319,
1105,
2681,
351,
262,
33164,
422,
24413,
16868,
2969,
3535,
1797,
284,
6375,
28182,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
... |
What place is player Brad Faxon from? | SELECT place FROM table_name_33 WHERE player = "brad faxon" | [
2061,
1295,
318,
2137,
8114,
376,
897,
261,
422,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
2091,
33411,
2137,
796,
366,
1671,
324,
35168,
261,
1
] | [
1,
1,
1,
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,
1295,
318,
2137,
8114,
376,
897,
261,
422,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
2091,
33411,
2137,
796,
366,
1671,
324,
35168,
261,
1
] |
in 2005 , how many divisions had at least a population of at least 15,000 ? | SELECT COUNT("name") FROM table_204_891 WHERE "population (2005)" >= 15000 | [
259,
5075,
837,
703,
867,
17397,
550,
379,
1551,
257,
3265,
286,
379,
1551,
1315,
11,
830,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
4531,
16,
33411,
366,
39748,
357,
14315,
16725,
18189,
1315,
830
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
5075,
837,
703,
867,
17397,
550,
379,
1551,
257,
3265,
286,
379,
1551,
1315,
11,
830,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
18638,
62,
4531,
16,
33411,
366,
39748,
357,
14315,
16725,
18189,
1315,
830
] |
what's the first operational with programming being not programmable single purpose | SELECT first_operational FROM table_13636_1 WHERE programming = "Not programmable—single purpose" | [
10919,
338,
262,
717,
13919,
351,
8300,
852,
407,
1430,
44102,
2060,
4007,
46506,
717,
62,
3575,
864,
16034,
3084,
62,
20809,
2623,
62,
16,
33411,
8300,
796,
366,
3673,
1430,
44102,
960,
29762,
4007,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
338,
262,
717,
13919,
351,
8300,
852,
407,
1430,
44102,
2060,
4007,
46506,
717,
62,
3575,
864,
16034,
3084,
62,
20809,
2623,
62,
16,
33411,
8300,
796,
366,
3673,
1430,
44102,
960,
29762,
4007,
1
] |
when was patient 2498 last given an intake on 08/28/2104? | SELECT inputevents_cv.charttime 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 = 2498)) AND STRFTIME('%y-%m-%d', inputevents_cv.charttime) = '2104-08-28' ORDER BY inputevent... | [
12518,
373,
5827,
1987,
4089,
938,
1813,
281,
10337,
319,
8487,
14,
2078,
14,
17,
13464,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
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... | [
12518,
373,
5827,
1987,
4089,
938,
1813,
281,
10337,
319,
8487,
14,
2078,
14,
17,
13464,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
85,
658,
62,
3... |
how many countries participated ? | SELECT COUNT("club") FROM table_204_542 | [
4919,
867,
2678,
14888,
5633,
46506,
327,
28270,
7203,
18664,
4943,
16034,
3084,
62,
18638,
62,
20,
3682
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2678,
14888,
5633,
46506,
327,
28270,
7203,
18664,
4943,
16034,
3084,
62,
18638,
62,
20,
3682
] |
How many rounds did the match last when his record was 6-6? | SELECT "Round" FROM table_45605 WHERE "Record" = '6-6' | [
2437,
867,
9196,
750,
262,
2872,
938,
618,
465,
1700,
373,
718,
12,
21,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
2231,
32417,
33411,
366,
23739,
1,
796,
705,
21,
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
] | [
2437,
867,
9196,
750,
262,
2872,
938,
618,
465,
1700,
373,
718,
12,
21,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
2231,
32417,
33411,
366,
23739,
1,
796,
705,
21,
12,
21,
6
] |
when was patient 30614 last prescribed a medication using the po route in 12/2103? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 30614) AND prescriptions.route = 'po' AND STRFTIME('%y-%m', prescriptions.startdate) = '2103-12' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
373,
5827,
37255,
1415,
938,
14798,
257,
14103,
1262,
262,
745,
6339,
287,
1105,
14,
17,
15197,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
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... | [
12518,
373,
5827,
37255,
1415,
938,
14798,
257,
14103,
1262,
262,
745,
6339,
287,
1105,
14,
17,
15197,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
3... |
what position is number 22? | SELECT "Position" FROM table_27676 WHERE "Number" = '22' | [
10919,
2292,
318,
1271,
2534,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
1983,
42548,
33411,
366,
15057,
1,
796,
705,
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
] | [
10919,
2292,
318,
1271,
2534,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
1983,
42548,
33411,
366,
15057,
1,
796,
705,
1828,
6
] |
What was the score when playing Milwaukee? | SELECT score FROM table_23186738_10 WHERE team = "Milwaukee" | [
2061,
373,
262,
4776,
618,
2712,
16629,
30,
46506,
4776,
16034,
3084,
62,
1954,
1507,
3134,
2548,
62,
940,
33411,
1074,
796,
366,
24857,
15428,
1
] | [
1,
1,
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,
4776,
618,
2712,
16629,
30,
46506,
4776,
16034,
3084,
62,
1954,
1507,
3134,
2548,
62,
940,
33411,
1074,
796,
366,
24857,
15428,
1
] |
What was the score after february 4 in the game 61? | SELECT score FROM table_name_30 WHERE february > 4 AND game = 61 | [
2061,
373,
262,
4776,
706,
730,
65,
3728,
604,
287,
262,
983,
8454,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1270,
33411,
730,
65,
3728,
1875,
604,
5357,
983,
796,
8454
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
706,
730,
65,
3728,
604,
287,
262,
983,
8454,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1270,
33411,
730,
65,
3728,
1875,
604,
5357,
983,
796,
8454
] |
what are commonly cited papers by tom mitchell and oren etzioni ? | SELECT DISTINCT author.authorname, cite.citedpaperid, COUNT(cite.citedpaperid) FROM author, cite, paper, writes WHERE author.authorname IN ('tom mitchell', 'oren etzioni') AND paper.paperid = cite.citedpaperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid GROUP BY cite.citedpaperid, author.au... | [
10919,
389,
8811,
9181,
9473,
416,
16667,
10255,
12398,
290,
267,
918,
2123,
89,
295,
72,
5633,
46506,
360,
8808,
1268,
4177,
1772,
13,
18439,
1211,
480,
11,
21729,
13,
66,
863,
20189,
312,
11,
327,
28270,
7,
66,
578,
13,
66,
863,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
8811,
9181,
9473,
416,
16667,
10255,
12398,
290,
267,
918,
2123,
89,
295,
72,
5633,
46506,
360,
8808,
1268,
4177,
1772,
13,
18439,
1211,
480,
11,
21729,
13,
66,
863,
20189,
312,
11,
327,
28270,
7,
66,
578,
13,
66,
863,
... |
Mean Expertise Contribution (MEC) in a tag. | WITH answers AS (SELECT a.OwnerUserId AS UserId, 1.0 / RANK() OVER (PARTITION BY q.Id ORDER BY a.Score DESC) AS utility, 1.0 * q.AnswerCount AS debatableness, 1.0 / RANK() OVER (PARTITION BY q.Id ORDER BY a.Score DESC) * q.AnswerCount / @tag_debate AS EC FROM Posts AS q JOIN Posts AS a ON q.Id = a.ParentId JOIN PostTag... | [
5308,
272,
25516,
786,
2345,
3890,
357,
44,
2943,
8,
287,
257,
7621,
13,
54,
10554,
7429,
7054,
357,
46506,
257,
13,
42419,
12982,
7390,
7054,
11787,
7390,
11,
352,
13,
15,
1220,
371,
15154,
3419,
28729,
357,
30709,
17941,
11050,
1066... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5308,
272,
25516,
786,
2345,
3890,
357,
44,
2943,
8,
287,
257,
7621,
13,
54,
10554,
7429,
7054,
357,
46506,
257,
13,
42419,
12982,
7390,
7054,
11787,
7390,
11,
352,
13,
15,
1220,
371,
15154,
3419,
28729,
357,
30709,
17941,
11050,
1066... |
when was patient 021-111547 prescribed a enoxaparin and methylprednisolone 40 mg inj at the same time for the first time? | SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'enoxaparin' AND patient.uniquepid = '021-111547') AS t1 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM med... | [
12518,
373,
5827,
657,
2481,
12,
1157,
1314,
2857,
14798,
257,
551,
1140,
499,
17714,
290,
27664,
28764,
21361,
349,
505,
2319,
10527,
2529,
379,
262,
976,
640,
329,
262,
717,
640,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
16034,
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... | [
12518,
373,
5827,
657,
2481,
12,
1157,
1314,
2857,
14798,
257,
551,
1140,
499,
17714,
290,
27664,
28764,
21361,
349,
505,
2319,
10527,
2529,
379,
262,
976,
640,
329,
262,
717,
640,
30,
46506,
256,
16,
13,
30349,
9688,
2435,
16034,
357... |
Who is number 4 when Harper is number 10 and Abigail is number 5? | SELECT no_4 FROM table_name_24 WHERE no_10 = "harper" AND no_5 = "abigail" | [
8241,
318,
1271,
604,
618,
12686,
318,
1271,
838,
290,
2275,
328,
603,
318,
1271,
642,
30,
46506,
645,
62,
19,
16034,
3084,
62,
3672,
62,
1731,
33411,
645,
62,
940,
796,
366,
9869,
525,
1,
5357,
645,
62,
20,
796,
366,
397,
328,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
604,
618,
12686,
318,
1271,
838,
290,
2275,
328,
603,
318,
1271,
642,
30,
46506,
645,
62,
19,
16034,
3084,
62,
3672,
62,
1731,
33411,
645,
62,
940,
796,
366,
9869,
525,
1,
5357,
645,
62,
20,
796,
366,
397,
328,
... |
What is the score for the date of 16 december 1978, with a tie no of 9? | SELECT "Score" FROM table_79355 WHERE "Date" = '16 december 1978' AND "Tie no" = '9' | [
2061,
318,
262,
4776,
329,
262,
3128,
286,
1467,
390,
3273,
15524,
11,
351,
257,
9839,
645,
286,
860,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3720,
28567,
33411,
366,
10430,
1,
796,
705,
1433,
390,
3273,
15524,
6,
5357,
366,
51,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
329,
262,
3128,
286,
1467,
390,
3273,
15524,
11,
351,
257,
9839,
645,
286,
860,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3720,
28567,
33411,
366,
10430,
1,
796,
705,
1433,
390,
3273,
15524,
6,
5357,
366,
51,
... |
What is the number of points for the Entrant of wolfgang seidel and a Cooper t45 chassis later than 1960? | SELECT COUNT("Points") FROM table_15423 WHERE "Entrant" = 'wolfgang seidel' AND "Chassis" = 'cooper t45' AND "Year" > '1960' | [
2061,
318,
262,
1271,
286,
2173,
329,
262,
7232,
5250,
286,
17481,
28284,
384,
5943,
290,
257,
10382,
256,
2231,
24587,
1568,
621,
9507,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
21526,
1954,
33411,
366,
14539,
5250,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
329,
262,
7232,
5250,
286,
17481,
28284,
384,
5943,
290,
257,
10382,
256,
2231,
24587,
1568,
621,
9507,
30,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
21526,
1954,
33411,
366,
14539,
5250,
1,... |
Visualize a bar chart about the distribution of ACC_Regular_Season and ACC_Percent , I want to sort by the names from low to high. | SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match ORDER BY ACC_Regular_Season | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
40164,
62,
18960,
290,
15859,
62,
31905,
837,
314,
765,
284,
3297,
416,
262,
3891,
422,
1877,
284,
1029,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
15859,
62,
31905,
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
] | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
40164,
62,
18960,
290,
15859,
62,
31905,
837,
314,
765,
284,
3297,
416,
262,
3891,
422,
1877,
284,
1029,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
15859,
62,
31905,
16034... |
Which Heat has a Nation of australia, and a Rank larger than 7? | SELECT MAX(heat) FROM table_name_36 WHERE nation = "australia" AND rank > 7 | [
13828,
12308,
468,
257,
8741,
286,
38132,
1373,
544,
11,
290,
257,
10916,
4025,
621,
767,
30,
46506,
25882,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
3277,
796,
366,
64,
436,
1373,
544,
1,
5357,
4279,
1875,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12308,
468,
257,
8741,
286,
38132,
1373,
544,
11,
290,
257,
10916,
4025,
621,
767,
30,
46506,
25882,
7,
25080,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
3277,
796,
366,
64,
436,
1373,
544,
1,
5357,
4279,
1875,
767
] |
Who was the second rider when papayero raced as Horse 1 in the city of rancagua? | SELECT "Rider 2" FROM table_10580 WHERE "City" = 'rancagua' AND "Horse 1" = 'papayero' | [
8241,
373,
262,
1218,
17876,
618,
20461,
2794,
78,
32897,
355,
18455,
352,
287,
262,
1748,
286,
32205,
363,
6413,
30,
46506,
366,
49,
1304,
362,
1,
16034,
3084,
62,
13348,
1795,
33411,
366,
14941,
1,
796,
705,
81,
1192,
363,
6413,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1218,
17876,
618,
20461,
2794,
78,
32897,
355,
18455,
352,
287,
262,
1748,
286,
32205,
363,
6413,
30,
46506,
366,
49,
1304,
362,
1,
16034,
3084,
62,
13348,
1795,
33411,
366,
14941,
1,
796,
705,
81,
1192,
363,
6413,
6... |
What is the average value for Draws, when Against is '2177', and when Byes is less than 4? | SELECT AVG("Draws") FROM table_60203 WHERE "Against" = '2177' AND "Byes" < '4' | [
2061,
318,
262,
2811,
1988,
329,
15315,
82,
11,
618,
12914,
318,
705,
17,
22413,
3256,
290,
618,
2750,
274,
318,
1342,
621,
604,
30,
46506,
35224,
7203,
25302,
82,
4943,
16034,
3084,
62,
1899,
22416,
33411,
366,
39276,
1,
796,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1988,
329,
15315,
82,
11,
618,
12914,
318,
705,
17,
22413,
3256,
290,
618,
2750,
274,
318,
1342,
621,
604,
30,
46506,
35224,
7203,
25302,
82,
4943,
16034,
3084,
62,
1899,
22416,
33411,
366,
39276,
1,
796,
705,
... |
What event did he fight masato shiozawa? | SELECT "Event" FROM table_14419 WHERE "Opponent" = 'masato shiozawa' | [
2061,
1785,
750,
339,
1907,
12422,
5549,
427,
952,
89,
6909,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
18444,
1129,
33411,
366,
27524,
3471,
1,
796,
705,
5356,
5549,
427,
952,
89,
6909,
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,
1785,
750,
339,
1907,
12422,
5549,
427,
952,
89,
6909,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
18444,
1129,
33411,
366,
27524,
3471,
1,
796,
705,
5356,
5549,
427,
952,
89,
6909,
6
] |
what is the last flight from BOSTON to ATLANTA | 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, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANT... | [
10919,
318,
262,
938,
5474,
422,
347,
10892,
1340,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
5474,
422,
347,
10892,
1340,
284,
41051,
8643,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... |
What Tournament was the 2010 Olympic Games? | SELECT "Tournament" FROM table_53868 WHERE "2010" = 'olympic games' | [
2061,
9595,
373,
262,
3050,
11514,
5776,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
49561,
3104,
33411,
366,
10333,
1,
796,
705,
3366,
3149,
291,
1830,
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
] | [
2061,
9595,
373,
262,
3050,
11514,
5776,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
49561,
3104,
33411,
366,
10333,
1,
796,
705,
3366,
3149,
291,
1830,
6
] |
creatinine > 1.6 mg / dl | SELECT * FROM table_train_152 WHERE creatinine_clearance_cl > 1.6 | [
20123,
259,
500,
1875,
352,
13,
21,
10527,
1220,
288,
75,
46506,
1635,
16034,
3084,
62,
27432,
62,
17827,
33411,
1827,
259,
500,
62,
20063,
590,
62,
565,
1875,
352,
13,
21
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
20123,
259,
500,
1875,
352,
13,
21,
10527,
1220,
288,
75,
46506,
1635,
16034,
3084,
62,
27432,
62,
17827,
33411,
1827,
259,
500,
62,
20063,
590,
62,
565,
1875,
352,
13,
21
] |
Which Tankers have a Hazmat of , and Platforms of , and a Staffing of volunteer? | SELECT tankers FROM table_name_9 WHERE hazmat = "–" AND platforms = "–" AND staffing = "volunteer" | [
13828,
15447,
364,
423,
257,
17064,
6759,
286,
837,
290,
19193,
82,
286,
837,
290,
257,
9983,
278,
286,
13904,
30,
46506,
6873,
364,
16034,
3084,
62,
3672,
62,
24,
33411,
11595,
6759,
796,
366,
1906,
1,
5357,
9554,
796,
366,
1906,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15447,
364,
423,
257,
17064,
6759,
286,
837,
290,
19193,
82,
286,
837,
290,
257,
9983,
278,
286,
13904,
30,
46506,
6873,
364,
16034,
3084,
62,
3672,
62,
24,
33411,
11595,
6759,
796,
366,
1906,
1,
5357,
9554,
796,
366,
1906,
1... |
What are the positions for Menlo College? | SELECT "Position" FROM table_25173 WHERE "College" = 'Menlo College' | [
2061,
389,
262,
6116,
329,
6065,
5439,
5535,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
1495,
25399,
33411,
366,
38951,
1,
796,
705,
10418,
5439,
5535,
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
] | [
2061,
389,
262,
6116,
329,
6065,
5439,
5535,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
1495,
25399,
33411,
366,
38951,
1,
796,
705,
10418,
5439,
5535,
6
] |
Visualize a bar chart about the distribution of Name and Weight . | SELECT Name, Weight FROM people | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
6530,
290,
14331,
764,
46506,
6530,
11,
14331,
16034,
661
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
6530,
290,
14331,
764,
46506,
6530,
11,
14331,
16034,
661
] |
count the number of patients whose diagnosis short title is ath ext ntv at w claudct. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Ath ext ntv at w claudct" | [
9127,
262,
1271,
286,
3871,
3025,
13669,
1790,
3670,
318,
5782,
1070,
299,
14981,
379,
266,
537,
3885,
310,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13669,
1790,
3670,
318,
5782,
1070,
299,
14981,
379,
266,
537,
3885,
310,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6... |
For each denomination, return the denomination and the count of schools with that denomination Visualize by bar chart, and rank total number from high to low order please. | SELECT Denomination, COUNT(*) FROM school GROUP BY Denomination ORDER BY COUNT(*) DESC | [
1890,
1123,
47491,
11,
1441,
262,
47491,
290,
262,
954,
286,
4266,
351,
326,
47491,
15612,
1096,
416,
2318,
8262,
11,
290,
4279,
2472,
1271,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
5601,
27744,
11,
327,
28270,
7,
28104,
16034,
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,
1,
1,
1,
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,
1123,
47491,
11,
1441,
262,
47491,
290,
262,
954,
286,
4266,
351,
326,
47491,
15612,
1096,
416,
2318,
8262,
11,
290,
4279,
2472,
1271,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
5601,
27744,
11,
327,
28270,
7,
28104,
16034,
15... |
give me the number of patients whose admission type is elective and lab test fluid is cerebrospinal fluid (csf)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16... |
How many courses are provided in each year? Visualize with a line chart, sort in descending by the x axis. | SELECT year, COUNT(*) FROM section ORDER BY year DESC | [
2437,
867,
10902,
389,
2810,
287,
1123,
614,
30,
15612,
1096,
351,
257,
1627,
8262,
11,
3297,
287,
31491,
416,
262,
2124,
16488,
13,
46506,
614,
11,
327,
28270,
7,
28104,
16034,
2665,
38678,
11050,
614,
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
] | [
2437,
867,
10902,
389,
2810,
287,
1123,
614,
30,
15612,
1096,
351,
257,
1627,
8262,
11,
3297,
287,
31491,
416,
262,
2124,
16488,
13,
46506,
614,
11,
327,
28270,
7,
28104,
16034,
2665,
38678,
11050,
614,
22196,
34
] |
when was the first time that patient 027-10308 was given a albumin lab test? | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-10308')) AND lab.labname = 'albumin' ORDER BY lab.labresulttime LIMIT 1 | [
12518,
373,
262,
717,
640,
326,
5827,
657,
1983,
12,
940,
21495,
373,
1813,
257,
5062,
259,
2248,
1332,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
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... | [
12518,
373,
262,
717,
640,
326,
5827,
657,
1983,
12,
940,
21495,
373,
1813,
257,
5062,
259,
2248,
1332,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
... |
What is every entry on Monday August 22 when the entry for Wednesday August 24 is 22' 50.05 99.141mph? | SELECT "Mon 22 Aug" FROM table_74450 WHERE "Wed 24 Aug" = '22'' 50.05 99.141mph' | [
2061,
318,
790,
5726,
319,
3321,
2932,
2534,
618,
262,
5726,
329,
3583,
2932,
1987,
318,
2534,
6,
2026,
13,
2713,
7388,
13,
23756,
23335,
30,
46506,
366,
9069,
2534,
2447,
1,
16034,
3084,
62,
22,
2598,
1120,
33411,
366,
19864,
1987,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5726,
319,
3321,
2932,
2534,
618,
262,
5726,
329,
3583,
2932,
1987,
318,
2534,
6,
2026,
13,
2713,
7388,
13,
23756,
23335,
30,
46506,
366,
9069,
2534,
2447,
1,
16034,
3084,
62,
22,
2598,
1120,
33411,
366,
19864,
1987,
... |
screening hemoglobin a1c ( hba1c ) > 8 % | SELECT * FROM table_train_116 WHERE hemoglobin_a1c_hba1c > 8 | [
9612,
278,
16869,
49835,
257,
16,
66,
357,
289,
7012,
16,
66,
1267,
1875,
807,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
18298,
33411,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
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
] | [
9612,
278,
16869,
49835,
257,
16,
66,
357,
289,
7012,
16,
66,
1267,
1875,
807,
4064,
46506,
1635,
16034,
3084,
62,
27432,
62,
18298,
33411,
16869,
49835,
62,
64,
16,
66,
62,
71,
7012,
16,
66,
1875,
807
] |
Show the relationship between service type code and number of services and group by service type description with a group scatter chart. | SELECT Service_Type_Code, COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY Service_Type_Description | [
15307,
262,
2776,
1022,
2139,
2099,
2438,
290,
1271,
286,
2594,
290,
1448,
416,
2139,
2099,
6764,
351,
257,
1448,
41058,
8262,
13,
46506,
4809,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
6524,
62,
16177,
62,
31431,
7054,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
2776,
1022,
2139,
2099,
2438,
290,
1271,
286,
2594,
290,
1448,
416,
2139,
2099,
6764,
351,
257,
1448,
41058,
8262,
13,
46506,
4809,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
6524,
62,
16177,
62,
31431,
7054,
30... |
Show the album names and ids for albums that contain tracks with unit price bigger than 1 Visualize by bar chart, and list by the x axis in ascending. | SELECT T1.Title, T1.AlbumId FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 ORDER BY T1.Title | [
15307,
262,
5062,
3891,
290,
220,
2340,
329,
16788,
326,
3994,
8339,
351,
4326,
2756,
5749,
621,
352,
15612,
1096,
416,
2318,
8262,
11,
290,
1351,
416,
262,
2124,
16488,
287,
41988,
13,
46506,
309,
16,
13,
19160,
11,
309,
16,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5062,
3891,
290,
220,
2340,
329,
16788,
326,
3994,
8339,
351,
4326,
2756,
5749,
621,
352,
15612,
1096,
416,
2318,
8262,
11,
290,
1351,
416,
262,
2124,
16488,
287,
41988,
13,
46506,
309,
16,
13,
19160,
11,
309,
16,
13,
23... |
The Milwaukee Mile circuit has what type of session? | SELECT "Session" FROM table_8537 WHERE "Circuit" = 'milwaukee mile' | [
464,
16629,
26004,
10349,
468,
644,
2099,
286,
6246,
30,
46506,
366,
36044,
1,
16034,
3084,
62,
5332,
2718,
33411,
366,
31560,
5013,
1,
796,
705,
25433,
15428,
10591,
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
] | [
464,
16629,
26004,
10349,
468,
644,
2099,
286,
6246,
30,
46506,
366,
36044,
1,
16034,
3084,
62,
5332,
2718,
33411,
366,
31560,
5013,
1,
796,
705,
25433,
15428,
10591,
6
] |
What is the smallest Draws with a Result of runner-up, and Losses larger than 1? | SELECT MIN(draws) FROM table_name_60 WHERE result = "runner-up" AND losses > 1 | [
2061,
318,
262,
18197,
15315,
82,
351,
257,
25414,
286,
17490,
12,
929,
11,
290,
22014,
274,
4025,
621,
352,
30,
46506,
20625,
7,
19334,
82,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
1255,
796,
366,
16737,
12,
929,
1,
5357,
9089,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15315,
82,
351,
257,
25414,
286,
17490,
12,
929,
11,
290,
22014,
274,
4025,
621,
352,
30,
46506,
20625,
7,
19334,
82,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
1255,
796,
366,
16737,
12,
929,
1,
5357,
9089,
... |
Which driver has a G tyre, rounds of 2-12 and a M7A chassis? | SELECT driver FROM table_name_18 WHERE tyre = "g" AND rounds = "2-12" AND chassis = "m7a" | [
13828,
4639,
468,
257,
402,
48216,
11,
9196,
286,
362,
12,
1065,
290,
257,
337,
22,
32,
24587,
30,
46506,
4639,
16034,
3084,
62,
3672,
62,
1507,
33411,
48216,
796,
366,
70,
1,
5357,
9196,
796,
366,
17,
12,
1065,
1,
5357,
24587,
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
] | [
13828,
4639,
468,
257,
402,
48216,
11,
9196,
286,
362,
12,
1065,
290,
257,
337,
22,
32,
24587,
30,
46506,
4639,
16034,
3084,
62,
3672,
62,
1507,
33411,
48216,
796,
366,
70,
1,
5357,
9196,
796,
366,
17,
12,
1065,
1,
5357,
24587,
79... |
what is the population of Valencia, Spain? | SELECT AVG(population) FROM table_name_56 WHERE country = "spain" AND urban_area = "valencia" | [
10919,
318,
262,
3265,
286,
35773,
11,
8602,
30,
46506,
35224,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
1499,
796,
366,
2777,
391,
1,
5357,
7876,
62,
20337,
796,
366,
2100,
29634,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3265,
286,
35773,
11,
8602,
30,
46506,
35224,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
1499,
796,
366,
2777,
391,
1,
5357,
7876,
62,
20337,
796,
366,
2100,
29634,
1
] |
If the district is Chittorgarh, what is the area? | SELECT area__km²_ FROM table_2168295_1 WHERE district = "Chittorgarh" | [
1532,
262,
4783,
318,
609,
715,
2398,
283,
71,
11,
644,
318,
262,
1989,
30,
46506,
1989,
834,
13276,
31185,
62,
16034,
3084,
62,
17,
14656,
25710,
62,
16,
33411,
4783,
796,
366,
1925,
715,
2398,
283,
71,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
4783,
318,
609,
715,
2398,
283,
71,
11,
644,
318,
262,
1989,
30,
46506,
1989,
834,
13276,
31185,
62,
16034,
3084,
62,
17,
14656,
25710,
62,
16,
33411,
4783,
796,
366,
1925,
715,
2398,
283,
71,
1
] |
Which ice level reporter has Harry Neale for the colour commentator after the year 2004? | SELECT "Ice level reporters" FROM table_10712 WHERE "Colour commentator(s)" = 'harry neale' AND "Year" > '2004' | [
13828,
4771,
1241,
9095,
468,
5850,
3169,
1000,
329,
262,
9568,
28823,
706,
262,
614,
5472,
30,
46506,
366,
23709,
1241,
7638,
1,
16034,
3084,
62,
15982,
1065,
33411,
366,
5216,
454,
28823,
7,
82,
16725,
796,
705,
71,
6532,
497,
1000,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4771,
1241,
9095,
468,
5850,
3169,
1000,
329,
262,
9568,
28823,
706,
262,
614,
5472,
30,
46506,
366,
23709,
1241,
7638,
1,
16034,
3084,
62,
15982,
1065,
33411,
366,
5216,
454,
28823,
7,
82,
16725,
796,
705,
71,
6532,
497,
1000,... |
Find the names of the chip models that are not used by any phone with full accreditation type. | SELECT model_name FROM chip_model EXCEPT SELECT chip_model FROM phone WHERE accreditation_type = 'Full' | [
16742,
262,
3891,
286,
262,
11594,
4981,
326,
389,
407,
973,
416,
597,
3072,
351,
1336,
697,
42845,
2099,
13,
46506,
2746,
62,
3672,
16034,
11594,
62,
19849,
7788,
42006,
33493,
11594,
62,
19849,
16034,
3072,
33411,
697,
42845,
62,
4906... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
286,
262,
11594,
4981,
326,
389,
407,
973,
416,
597,
3072,
351,
1336,
697,
42845,
2099,
13,
46506,
2746,
62,
3672,
16034,
11594,
62,
19849,
7788,
42006,
33493,
11594,
62,
19849,
16034,
3072,
33411,
697,
42845,
62,
4906... |
Comments including the word 'fixed'. | SELECT CreationDate, Id AS "comment_link" FROM Comments WHERE LOWER(Text) LIKE '%fixed%' AND CreationDate >= '2018-01-01' ORDER BY LENGTH(Text) LIMIT 1000 | [
23903,
1390,
262,
1573,
705,
34021,
4458,
46506,
21582,
10430,
11,
5121,
7054,
366,
23893,
62,
8726,
1,
16034,
19502,
33411,
406,
36048,
7,
8206,
8,
34178,
705,
4,
34021,
4,
6,
5357,
21582,
10430,
18189,
705,
7908,
12,
486,
12,
486,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23903,
1390,
262,
1573,
705,
34021,
4458,
46506,
21582,
10430,
11,
5121,
7054,
366,
23893,
62,
8726,
1,
16034,
19502,
33411,
406,
36048,
7,
8206,
8,
34178,
705,
4,
34021,
4,
6,
5357,
21582,
10430,
18189,
705,
7908,
12,
486,
12,
486,
... |
What is the entry for Part 1 for class 7d? | SELECT part_1 FROM table_name_81 WHERE class = "7d" | [
2061,
318,
262,
5726,
329,
2142,
352,
329,
1398,
767,
67,
30,
46506,
636,
62,
16,
16034,
3084,
62,
3672,
62,
6659,
33411,
1398,
796,
366,
22,
67,
1
] | [
1,
1,
1,
1,
1,
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,
5726,
329,
2142,
352,
329,
1398,
767,
67,
30,
46506,
636,
62,
16,
16034,
3084,
62,
3672,
62,
6659,
33411,
1398,
796,
366,
22,
67,
1
] |
show me flights monday night after 2000 for DALLAS to BOSTON | 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 ((date_day.day_number = 21 AND date_day.month_number = 2 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time... | [
12860,
502,
13956,
285,
3204,
1755,
706,
4751,
329,
360,
7036,
1921,
284,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
13956,
285,
3204,
1755,
706,
4751,
329,
360,
7036,
1921,
284,
347,
10892,
1340,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15... |
How many judges were there for the eliminated couple? | SELECT judges FROM table_26375386_23 WHERE result = "Eliminated" | [
2437,
867,
10266,
547,
612,
329,
262,
15254,
3155,
30,
46506,
10266,
16034,
3084,
62,
2075,
22318,
21734,
62,
1954,
33411,
1255,
796,
366,
36,
2475,
3898,
1
] | [
1,
1,
1,
1,
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,
10266,
547,
612,
329,
262,
15254,
3155,
30,
46506,
10266,
16034,
3084,
62,
2075,
22318,
21734,
62,
1954,
33411,
1255,
796,
366,
36,
2475,
3898,
1
] |
How many of the Spanish speaking patients belonged to greek orthodox belief? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "SPAN" AND demographic.religion = "GREEK ORTHODOX" | [
2437,
867,
286,
262,
7897,
5486,
3871,
19611,
284,
308,
10316,
28299,
4901,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
4303,
1565,
1,
5357,
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
] | [
2437,
867,
286,
262,
7897,
5486,
3871,
19611,
284,
308,
10316,
28299,
4901,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
4303,
1565,
1,
5357,
16728,
13,... |
what date is at the top of the list ? | SELECT "date" FROM table_204_814 WHERE id = 1 | [
10919,
3128,
318,
379,
262,
1353,
286,
262,
1351,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
23,
1415,
33411,
4686,
796,
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
] | [
10919,
3128,
318,
379,
262,
1353,
286,
262,
1351,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
23,
1415,
33411,
4686,
796,
352
] |
find the number of patients who were electively admitted to hospital before the year 2176. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.admityear < "2176" | [
19796,
262,
1271,
286,
3871,
508,
547,
1742,
2280,
6848,
284,
4436,
878,
262,
614,
362,
24096,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
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
] | [
19796,
262,
1271,
286,
3871,
508,
547,
1742,
2280,
6848,
284,
4436,
878,
262,
614,
362,
24096,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
3... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.