instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
list | attention_mask
list | labels
list |
---|---|---|---|---|
Find the number of checking accounts for each account name.
|
SELECT COUNT(*), T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid GROUP BY T1.name
|
[
16742,
262,
1271,
286,
10627,
5504,
329,
1123,
1848,
1438,
13,
46506,
327,
28270,
46491,
828,
309,
16,
13,
3672,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
312,
796,
309,
17,
13,
66,
436,
312,
44441,
11050,
309,
16,
13,
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
] |
[
16742,
262,
1271,
286,
10627,
5504,
329,
1123,
1848,
1438,
13,
46506,
327,
28270,
46491,
828,
309,
16,
13,
3672,
16034,
5504,
7054,
309,
16,
32357,
1268,
10627,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
312,
796,
309,
17,
13,
66,
436,
312,
44441,
11050,
309,
16,
13,
3672
] |
How many Laps with a Grid smaller than 3 did Driver NIki Lauda have?
|
SELECT AVG(laps) FROM table_name_42 WHERE driver = "niki lauda" AND grid < 3
|
[
2437,
867,
406,
1686,
351,
257,
24846,
4833,
621,
513,
750,
12434,
24947,
4106,
406,
3885,
64,
423,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
4639,
796,
366,
77,
5580,
28907,
64,
1,
5357,
10706,
1279,
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,
1,
1
] |
[
2437,
867,
406,
1686,
351,
257,
24846,
4833,
621,
513,
750,
12434,
24947,
4106,
406,
3885,
64,
423,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
4639,
796,
366,
77,
5580,
28907,
64,
1,
5357,
10706,
1279,
513
] |
What is the minimum rnd at Laguna Seca?
|
SELECT MIN("Rnd") FROM table_29641 WHERE "Circuit" = 'Laguna Seca'
|
[
2061,
318,
262,
5288,
374,
358,
379,
21003,
9613,
1882,
64,
30,
46506,
20625,
7203,
49,
358,
4943,
16034,
3084,
62,
1959,
42759,
33411,
366,
31560,
5013,
1,
796,
705,
43,
363,
9613,
1882,
64,
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,
5288,
374,
358,
379,
21003,
9613,
1882,
64,
30,
46506,
20625,
7203,
49,
358,
4943,
16034,
3084,
62,
1959,
42759,
33411,
366,
31560,
5013,
1,
796,
705,
43,
363,
9613,
1882,
64,
6
] |
how much patient 010-32698 weighs in 02/this year for the first time?
|
SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-32698') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', patient.unitadmittime) = '02' ORDER BY patient.unitadmittime LIMIT 1
|
[
4919,
881,
5827,
5534,
15,
12,
39195,
4089,
24034,
287,
7816,
14,
5661,
614,
329,
262,
717,
640,
30,
46506,
5827,
13,
324,
3411,
6551,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
20943,
12,
39195,
4089,
11537,
5357,
5626,
5827,
13,
324,
3411,
6551,
3180,
15697,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
20850,
324,
20124,
524,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
15,
614,
11537,
5357,
19269,
9792,
12789,
10786,
4,
76,
3256,
5827,
13,
20850,
324,
20124,
524,
8,
796,
705,
2999,
6,
38678,
11050,
5827,
13,
20850,
324,
20124,
524,
27564,
2043,
352
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
881,
5827,
5534,
15,
12,
39195,
4089,
24034,
287,
7816,
14,
5661,
614,
329,
262,
717,
640,
30,
46506,
5827,
13,
324,
3411,
6551,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
20943,
12,
39195,
4089,
11537,
5357,
5626,
5827,
13,
324,
3411,
6551,
3180,
15697,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
20850,
324,
20124,
524,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
15,
614,
11537,
5357,
19269,
9792,
12789,
10786,
4,
76,
3256,
5827,
13,
20850,
324,
20124,
524,
8,
796,
705,
2999,
6,
38678,
11050,
5827,
13,
20850,
324,
20124,
524,
27564,
2043,
352
] |
Visualize the relationship between People_ID and Weight , and group by attribute Sex.
|
SELECT People_ID, Weight FROM people GROUP BY Sex
|
[
36259,
1096,
262,
2776,
1022,
4380,
62,
2389,
290,
14331,
837,
290,
1448,
416,
11688,
14419,
13,
46506,
4380,
62,
2389,
11,
14331,
16034,
661,
44441,
11050,
14419
] |
[
1,
1,
1,
1,
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,
262,
2776,
1022,
4380,
62,
2389,
290,
14331,
837,
290,
1448,
416,
11688,
14419,
13,
46506,
4380,
62,
2389,
11,
14331,
16034,
661,
44441,
11050,
14419
] |
Which players scored the most points when the opposing team was Seattle and how many points did they score?
|
SELECT "High points" FROM table_18883 WHERE "Team" = 'Seattle'
|
[
13828,
1938,
7781,
262,
749,
2173,
618,
262,
12330,
1074,
373,
7312,
290,
703,
867,
2173,
750,
484,
4776,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
1507,
49287,
33411,
366,
15592,
1,
796,
705,
34007,
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
] |
[
13828,
1938,
7781,
262,
749,
2173,
618,
262,
12330,
1074,
373,
7312,
290,
703,
867,
2173,
750,
484,
4776,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
1507,
49287,
33411,
366,
15592,
1,
796,
705,
34007,
6
] |
Which position has a sophomore class?
|
SELECT position FROM table_name_31 WHERE class = "sophomore"
|
[
13828,
2292,
468,
257,
24505,
1398,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3132,
33411,
1398,
796,
366,
82,
2522,
22113,
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,
2292,
468,
257,
24505,
1398,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3132,
33411,
1398,
796,
366,
82,
2522,
22113,
1
] |
What are panoz motor sports' lowest number of laps before 2002?
|
SELECT MIN("Laps") FROM table_53584 WHERE "Team" = 'panoz motor sports' AND "Year" < '2002'
|
[
2061,
389,
3425,
8590,
5584,
5701,
6,
9016,
1271,
286,
24590,
878,
6244,
30,
46506,
20625,
7203,
43,
1686,
4943,
16034,
3084,
62,
44465,
5705,
33411,
366,
15592,
1,
796,
705,
79,
5733,
89,
5584,
5701,
6,
5357,
366,
17688,
1,
1279,
705,
16942,
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
] |
[
2061,
389,
3425,
8590,
5584,
5701,
6,
9016,
1271,
286,
24590,
878,
6244,
30,
46506,
20625,
7203,
43,
1686,
4943,
16034,
3084,
62,
44465,
5705,
33411,
366,
15592,
1,
796,
705,
79,
5733,
89,
5584,
5701,
6,
5357,
366,
17688,
1,
1279,
705,
16942,
6
] |
Position of 7th of 24, and a Goals smaller than 24 is what league?
|
SELECT league FROM table_name_13 WHERE position = "7th of 24" AND goals < 24
|
[
26545,
286,
767,
400,
286,
1987,
11,
290,
257,
28510,
4833,
621,
1987,
318,
644,
4652,
30,
46506,
4652,
16034,
3084,
62,
3672,
62,
1485,
33411,
2292,
796,
366,
22,
400,
286,
1987,
1,
5357,
4661,
1279,
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
] |
[
26545,
286,
767,
400,
286,
1987,
11,
290,
257,
28510,
4833,
621,
1987,
318,
644,
4652,
30,
46506,
4652,
16034,
3084,
62,
3672,
62,
1485,
33411,
2292,
796,
366,
22,
400,
286,
1987,
1,
5357,
4661,
1279,
1987
] |
My Community User Rejected Edits.
|
SELECT COUNT(UserId) FROM SuggestedEditVotes INNER JOIN SuggestedEdits ON SuggestedEdits.Id = SuggestedEditVotes.SuggestedEditId WHERE TargetUserId = '##UserId##' AND VoteTypeId = 3 AND NOT SuggestedEdits.RejectionDate IS NULL
|
[
3666,
8108,
11787,
797,
35408,
1717,
896,
13,
46506,
327,
28270,
7,
12982,
7390,
8,
16034,
35042,
276,
18378,
53,
6421,
3268,
21479,
32357,
1268,
35042,
276,
7407,
896,
6177,
35042,
276,
7407,
896,
13,
7390,
796,
35042,
276,
18378,
53,
6421,
13,
43857,
276,
18378,
7390,
33411,
12744,
12982,
7390,
796,
705,
2235,
12982,
7390,
2235,
6,
5357,
19175,
6030,
7390,
796,
513,
5357,
5626,
35042,
276,
7407,
896,
13,
3041,
29192,
10430,
3180,
15697
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8108,
11787,
797,
35408,
1717,
896,
13,
46506,
327,
28270,
7,
12982,
7390,
8,
16034,
35042,
276,
18378,
53,
6421,
3268,
21479,
32357,
1268,
35042,
276,
7407,
896,
6177,
35042,
276,
7407,
896,
13,
7390,
796,
35042,
276,
18378,
53,
6421,
13,
43857,
276,
18378,
7390,
33411,
12744,
12982,
7390,
796,
705,
2235,
12982,
7390,
2235,
6,
5357,
19175,
6030,
7390,
796,
513,
5357,
5626,
35042,
276,
7407,
896,
13,
3041,
29192,
10430,
3180,
15697
] |
what number of patients born before the year 2129 had lab test for albumin?
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2129" AND lab.label = "Albumin"
|
[
10919,
1271,
286,
3871,
4642,
878,
262,
614,
362,
18741,
550,
2248,
1332,
329,
5062,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
67,
672,
62,
1941,
1279,
366,
17,
18741,
1,
5357,
2248,
13,
18242,
796,
366,
2348,
4435,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
10919,
1271,
286,
3871,
4642,
878,
262,
614,
362,
18741,
550,
2248,
1332,
329,
5062,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
67,
672,
62,
1941,
1279,
366,
17,
18741,
1,
5357,
2248,
13,
18242,
796,
366,
2348,
4435,
259,
1
] |
What is the area where population in 2010 is 38062?
|
SELECT "Area (km\u00b2)" FROM table_27772 WHERE "Population (2010)" = '38062'
|
[
2061,
318,
262,
1989,
810,
3265,
287,
3050,
318,
29101,
5237,
30,
46506,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
1983,
43571,
33411,
366,
45251,
357,
10333,
16725,
796,
705,
23734,
5237,
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
] |
[
2061,
318,
262,
1989,
810,
3265,
287,
3050,
318,
29101,
5237,
30,
46506,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
1983,
43571,
33411,
366,
45251,
357,
10333,
16725,
796,
705,
23734,
5237,
6
] |
what was the last gabapentin 100 mg po caps prescription time for patient 016-38131 in this month.
|
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-38131')) AND medication.drugname = 'gabapentin 100 mg po caps' AND DATETIME(medication.drugstarttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') ORDER BY medication.drugstarttime DESC LIMIT 1
|
[
10919,
373,
262,
938,
308,
397,
499,
31371,
1802,
10527,
745,
11022,
15077,
640,
329,
5827,
5534,
21,
12,
2548,
22042,
287,
428,
1227,
13,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
2548,
22042,
6,
4008,
5357,
14103,
13,
30349,
3672,
796,
705,
70,
397,
499,
31371,
1802,
10527,
745,
11022,
6,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
1227,
3256,
705,
12,
15,
1227,
11537,
38678,
11050,
14103,
13,
30349,
9688,
2435,
22196,
34,
27564,
2043,
352
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
308,
397,
499,
31371,
1802,
10527,
745,
11022,
15077,
640,
329,
5827,
5534,
21,
12,
2548,
22042,
287,
428,
1227,
13,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
2548,
22042,
6,
4008,
5357,
14103,
13,
30349,
3672,
796,
705,
70,
397,
499,
31371,
1802,
10527,
745,
11022,
6,
5357,
360,
1404,
2767,
12789,
7,
1150,
3299,
13,
30349,
9688,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
1227,
3256,
705,
12,
15,
1227,
11537,
38678,
11050,
14103,
13,
30349,
9688,
2435,
22196,
34,
27564,
2043,
352
] |
What place did the golfer who had a score of 69-68-69-70=276 finish in?
|
SELECT "Place" FROM table_59898 WHERE "Score" = '69-68-69-70=276'
|
[
2061,
1295,
750,
262,
43791,
2232,
508,
550,
257,
4776,
286,
8644,
12,
3104,
12,
3388,
12,
2154,
28,
27988,
5461,
287,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
41292,
4089,
33411,
366,
26595,
1,
796,
705,
3388,
12,
3104,
12,
3388,
12,
2154,
28,
27988,
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
] |
[
2061,
1295,
750,
262,
43791,
2232,
508,
550,
257,
4776,
286,
8644,
12,
3104,
12,
3388,
12,
2154,
28,
27988,
5461,
287,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
41292,
4089,
33411,
366,
26595,
1,
796,
705,
3388,
12,
3104,
12,
3388,
12,
2154,
28,
27988,
6
] |
What was the final score on March 26?
|
SELECT score FROM table_11959669_7 WHERE date = "March 26"
|
[
2061,
373,
262,
2457,
4776,
319,
2805,
2608,
30,
46506,
4776,
16034,
3084,
62,
16315,
3270,
36657,
62,
22,
33411,
3128,
796,
366,
16192,
2608,
1
] |
[
1,
1,
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,
2457,
4776,
319,
2805,
2608,
30,
46506,
4776,
16034,
3084,
62,
16315,
3270,
36657,
62,
22,
33411,
3128,
796,
366,
16192,
2608,
1
] |
What's the to par for Jim Thorpe in T5 Place?
|
SELECT "To par" FROM table_47690 WHERE "Place" = 't5' AND "Player" = 'jim thorpe'
|
[
2061,
338,
262,
284,
1582,
329,
5395,
13002,
431,
287,
309,
20,
8474,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2857,
35844,
33411,
366,
27271,
1,
796,
705,
83,
20,
6,
5357,
366,
14140,
1,
796,
705,
73,
320,
41899,
431,
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
] |
[
2061,
338,
262,
284,
1582,
329,
5395,
13002,
431,
287,
309,
20,
8474,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2857,
35844,
33411,
366,
27271,
1,
796,
705,
83,
20,
6,
5357,
366,
14140,
1,
796,
705,
73,
320,
41899,
431,
6
] |
What championship had a margin of playoff 2?
|
SELECT championship FROM table_13026799_1 WHERE margin = "Playoff 2"
|
[
2061,
12184,
550,
257,
10330,
286,
13119,
362,
30,
46506,
12184,
16034,
3084,
62,
12952,
25674,
2079,
62,
16,
33411,
10330,
796,
366,
11002,
2364,
362,
1
] |
[
1,
1,
1,
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,
12184,
550,
257,
10330,
286,
13119,
362,
30,
46506,
12184,
16034,
3084,
62,
12952,
25674,
2079,
62,
16,
33411,
10330,
796,
366,
11002,
2364,
362,
1
] |
what were the five most frequent prescriptions of medications for patients who were also prescribed proparacaine hcl 0.5% opth. at the same time a year before?
|
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'proparacaine hcl 0.5% opth.' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE DATETIME(t1.startdate) = DATETIME(t2.startdate) GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 5
|
[
10919,
547,
262,
1936,
749,
10792,
34092,
286,
17638,
329,
3871,
508,
547,
635,
14798,
386,
1845,
330,
5718,
289,
565,
657,
13,
20,
4,
1034,
400,
13,
379,
262,
976,
640,
257,
614,
878,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
34092,
13,
30349,
796,
705,
1676,
1845,
330,
5718,
289,
565,
657,
13,
20,
4,
1034,
400,
2637,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
16,
614,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
30349,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
16,
614,
6,
4008,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
83,
16,
13,
9688,
4475,
8,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
9688,
4475,
8,
44441,
11050,
256,
17,
13,
30349,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
642
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
1936,
749,
10792,
34092,
286,
17638,
329,
3871,
508,
547,
635,
14798,
386,
1845,
330,
5718,
289,
565,
657,
13,
20,
4,
1034,
400,
13,
379,
262,
976,
640,
257,
614,
878,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
34092,
13,
30349,
796,
705,
1676,
1845,
330,
5718,
289,
565,
657,
13,
20,
4,
1034,
400,
2637,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
16,
614,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
30349,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
614,
3256,
705,
12,
16,
614,
6,
4008,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
83,
16,
13,
9688,
4475,
8,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
9688,
4475,
8,
44441,
11050,
256,
17,
13,
30349,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
642
] |
Which finish has 1 as the rank?
|
SELECT "Finish" FROM table_67143 WHERE "Rank" = '1'
|
[
13828,
5461,
468,
352,
355,
262,
4279,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
3134,
21139,
33411,
366,
27520,
1,
796,
705,
16,
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
] |
[
13828,
5461,
468,
352,
355,
262,
4279,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
3134,
21139,
33411,
366,
27520,
1,
796,
705,
16,
6
] |
currently pregnant or breastfeeding
|
SELECT * FROM table_train_58 WHERE pregnancy_or_lactation = 1
|
[
41745,
10423,
393,
32613,
46506,
1635,
16034,
3084,
62,
27432,
62,
3365,
33411,
10241,
62,
273,
62,
75,
529,
341,
796,
352
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
41745,
10423,
393,
32613,
46506,
1635,
16034,
3084,
62,
27432,
62,
3365,
33411,
10241,
62,
273,
62,
75,
529,
341,
796,
352
] |
How many goals were scored by club team fm (losc) vilnius
|
SELECT goals_scored FROM table_18018214_3 WHERE club = "FM (LOSC) Vilnius"
|
[
2437,
867,
4661,
547,
7781,
416,
3430,
1074,
277,
76,
357,
75,
17500,
8,
39796,
77,
3754,
46506,
4661,
62,
1416,
1850,
16034,
3084,
62,
1507,
486,
6469,
1415,
62,
18,
33411,
3430,
796,
366,
23264,
357,
45376,
34,
8,
34037,
77,
3754,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4661,
547,
7781,
416,
3430,
1074,
277,
76,
357,
75,
17500,
8,
39796,
77,
3754,
46506,
4661,
62,
1416,
1850,
16034,
3084,
62,
1507,
486,
6469,
1415,
62,
18,
33411,
3430,
796,
366,
23264,
357,
45376,
34,
8,
34037,
77,
3754,
1
] |
provide the number of patients whose age is less than 44 and drug route is nu?
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "44" AND prescriptions.route = "NU"
|
[
15234,
485,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
5846,
290,
2563,
6339,
318,
14364,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
2598,
1,
5357,
34092,
13,
38629,
796,
366,
45,
52,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
318,
1342,
621,
5846,
290,
2563,
6339,
318,
14364,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
2598,
1,
5357,
34092,
13,
38629,
796,
366,
45,
52,
1
] |
provide the number of patients whose drug code is meto25?
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "METO25"
|
[
15234,
485,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
1138,
78,
1495,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
796,
366,
47123,
46,
1495,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2438,
318,
1138,
78,
1495,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
796,
366,
47123,
46,
1495,
1
] |
select top(5) * from users.
|
SELECT * FROM Users LIMIT 5
|
[
19738,
1353,
7,
20,
8,
1635,
422,
2985,
13,
46506,
1635,
16034,
18987,
27564,
2043,
642
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
19738,
1353,
7,
20,
8,
1635,
422,
2985,
13,
46506,
1635,
16034,
18987,
27564,
2043,
642
] |
How many field goals were made by someone playing position of right end?
|
SELECT COUNT(field_goals) FROM table_14342592_5 WHERE position = "Right end"
|
[
2437,
867,
2214,
4661,
547,
925,
416,
2130,
2712,
2292,
286,
826,
886,
30,
46506,
327,
28270,
7,
3245,
62,
2188,
874,
8,
16034,
3084,
62,
1415,
2682,
1495,
5892,
62,
20,
33411,
2292,
796,
366,
11028,
886,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2214,
4661,
547,
925,
416,
2130,
2712,
2292,
286,
826,
886,
30,
46506,
327,
28270,
7,
3245,
62,
2188,
874,
8,
16034,
3084,
62,
1415,
2682,
1495,
5892,
62,
20,
33411,
2292,
796,
366,
11028,
886,
1
] |
Who was the home team when the record was 36 21 8?
|
SELECT home FROM table_name_23 WHERE record = "36–21–8"
|
[
8241,
373,
262,
1363,
1074,
618,
262,
1700,
373,
4570,
2310,
807,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
1954,
33411,
1700,
796,
366,
2623,
1906,
2481,
1906,
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
] |
[
8241,
373,
262,
1363,
1074,
618,
262,
1700,
373,
4570,
2310,
807,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
1954,
33411,
1700,
796,
366,
2623,
1906,
2481,
1906,
23,
1
] |
when did patient 028-55868 first have the maximum systemicdiastolic value?
|
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-55868')) AND NOT vitalperiodic.systemicdiastolic IS NULL ORDER BY vitalperiodic.systemicdiastolic DESC, vitalperiodic.observationtime LIMIT 1
|
[
12518,
750,
5827,
657,
2078,
12,
40486,
3104,
717,
423,
262,
5415,
21971,
10989,
459,
4160,
1988,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
46957,
12,
40486,
3104,
6,
4008,
5357,
5626,
9204,
41007,
291,
13,
10057,
291,
10989,
459,
4160,
3180,
15697,
38678,
11050,
9204,
41007,
291,
13,
10057,
291,
10989,
459,
4160,
22196,
34,
11,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
27564,
2043,
352
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
657,
2078,
12,
40486,
3104,
717,
423,
262,
5415,
21971,
10989,
459,
4160,
1988,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
46957,
12,
40486,
3104,
6,
4008,
5357,
5626,
9204,
41007,
291,
13,
10057,
291,
10989,
459,
4160,
3180,
15697,
38678,
11050,
9204,
41007,
291,
13,
10057,
291,
10989,
459,
4160,
22196,
34,
11,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
27564,
2043,
352
] |
What is the name with a Score of 6 3, 6 3?
|
SELECT "Name" FROM table_62821 WHERE "Score" = '6–3, 6–3'
|
[
2061,
318,
262,
1438,
351,
257,
15178,
286,
718,
513,
11,
718,
513,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
48200,
2481,
33411,
366,
26595,
1,
796,
705,
21,
1906,
18,
11,
718,
1906,
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
] |
[
2061,
318,
262,
1438,
351,
257,
15178,
286,
718,
513,
11,
718,
513,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
48200,
2481,
33411,
366,
26595,
1,
796,
705,
21,
1906,
18,
11,
718,
1906,
18,
6
] |
what is the difference in weight between the 060 ea and the challenger ?
|
SELECT ABS((SELECT "weight" FROM table_204_850 WHERE "name" = '060-ea') - (SELECT "weight" FROM table_204_850 WHERE "name" = 'challenger'))
|
[
10919,
318,
262,
3580,
287,
3463,
1022,
262,
657,
1899,
304,
64,
290,
262,
32127,
5633,
46506,
29950,
19510,
46506,
366,
6551,
1,
16034,
3084,
62,
18638,
62,
25764,
33411,
366,
3672,
1,
796,
705,
41322,
12,
18213,
11537,
532,
357,
46506,
366,
6551,
1,
16034,
3084,
62,
18638,
62,
25764,
33411,
366,
3672,
1,
796,
705,
36747,
6540,
6,
4008
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3580,
287,
3463,
1022,
262,
657,
1899,
304,
64,
290,
262,
32127,
5633,
46506,
29950,
19510,
46506,
366,
6551,
1,
16034,
3084,
62,
18638,
62,
25764,
33411,
366,
3672,
1,
796,
705,
41322,
12,
18213,
11537,
532,
357,
46506,
366,
6551,
1,
16034,
3084,
62,
18638,
62,
25764,
33411,
366,
3672,
1,
796,
705,
36747,
6540,
6,
4008
] |
Please compare the total enrollment for each type using a bar chart, display by the x axis in asc please.
|
SELECT Type, SUM(Enrollment) FROM Institution GROUP BY Type ORDER BY Type
|
[
5492,
8996,
262,
2472,
20753,
329,
1123,
2099,
1262,
257,
2318,
8262,
11,
3359,
416,
262,
2124,
16488,
287,
10570,
3387,
13,
46506,
5994,
11,
35683,
7,
4834,
48108,
8,
16034,
29426,
44441,
11050,
5994,
38678,
11050,
5994
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3359,
416,
262,
2124,
16488,
287,
10570,
3387,
13,
46506,
5994,
11,
35683,
7,
4834,
48108,
8,
16034,
29426,
44441,
11050,
5994,
38678,
11050,
5994
] |
What is the smallest total for a nation with more than 1 silver?
|
SELECT MIN(total) FROM table_name_75 WHERE silver > 1
|
[
2061,
318,
262,
18197,
2472,
329,
257,
3277,
351,
517,
621,
352,
8465,
30,
46506,
20625,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
8465,
1875,
352
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2061,
318,
262,
18197,
2472,
329,
257,
3277,
351,
517,
621,
352,
8465,
30,
46506,
20625,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
8465,
1875,
352
] |
show me the patient ids who are diagnosed with b-complex defic nec in 2101.
|
SELECT admissions.subject_id FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'b-complex defic nec') AND STRFTIME('%y', diagnoses_icd.charttime) = '2101')
|
[
12860,
502,
262,
5827,
220,
2340,
508,
389,
14641,
351,
275,
12,
41887,
12630,
27576,
287,
2310,
486,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
796,
705,
65,
12,
41887,
12630,
27576,
11537,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
40567,
62,
291,
67,
13,
40926,
2435,
8,
796,
705,
2481,
486,
11537
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
5827,
220,
2340,
508,
389,
14641,
351,
275,
12,
41887,
12630,
27576,
287,
2310,
486,
13,
46506,
25349,
13,
32796,
62,
312,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
796,
705,
65,
12,
41887,
12630,
27576,
11537,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
40567,
62,
291,
67,
13,
40926,
2435,
8,
796,
705,
2481,
486,
11537
] |
in 2102 what was the four most frequent medications prescribed during the same month to the male patients with age 50s after they were diagnosed with late effect acute polio?
|
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'late effect acute polio') AND STRFTIME('%y', diagnoses_icd.charttime) = '2102') AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE admissions.subject_id IN (SELECT patients.subject_id FROM patients WHERE patients.gender = 'm') AND admissions.age BETWEEN 50 AND 59 AND STRFTIME('%y', prescriptions.startdate) = '2102') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.startdate AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.startdate, 'start of month') GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 4
|
[
259,
362,
15377,
644,
373,
262,
1440,
749,
10792,
17638,
14798,
1141,
262,
976,
1227,
284,
262,
4257,
3871,
351,
2479,
2026,
82,
706,
484,
547,
14641,
351,
2739,
1245,
14352,
42664,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
32357,
1268,
25349,
6177,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
796,
705,
17660,
1245,
14352,
42664,
11537,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
40567,
62,
291,
67,
13,
40926,
2435,
8,
796,
705,
17,
15377,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
30349,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
25349,
13,
32796,
62,
312,
3268,
357,
46506,
3871,
13,
32796,
62,
312,
16034,
3871,
33411,
3871,
13,
8388,
796,
705,
76,
11537,
5357,
25349,
13,
496,
38651,
8845,
1677,
2026,
5357,
7863,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
34092,
13,
9688,
4475,
8,
796,
705,
17,
15377,
11537,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
256,
16,
13,
40926,
2435,
1279,
256,
17,
13,
9688,
4475,
5357,
360,
1404,
2767,
12789,
7,
83,
16,
13,
40926,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
9688,
4475,
11,
705,
9688,
286,
1227,
11537,
44441,
11050,
256,
17,
13,
30349,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
604
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
362,
15377,
644,
373,
262,
1440,
749,
10792,
17638,
14798,
1141,
262,
976,
1227,
284,
262,
4257,
3871,
351,
2479,
2026,
82,
706,
484,
547,
14641,
351,
2739,
1245,
14352,
42664,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
40567,
62,
291,
67,
13,
40926,
2435,
16034,
40567,
62,
291,
67,
32357,
1268,
25349,
6177,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
796,
705,
17660,
1245,
14352,
42664,
11537,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
40567,
62,
291,
67,
13,
40926,
2435,
8,
796,
705,
17,
15377,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
30349,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
25349,
13,
32796,
62,
312,
3268,
357,
46506,
3871,
13,
32796,
62,
312,
16034,
3871,
33411,
3871,
13,
8388,
796,
705,
76,
11537,
5357,
25349,
13,
496,
38651,
8845,
1677,
2026,
5357,
7863,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
34092,
13,
9688,
4475,
8,
796,
705,
17,
15377,
11537,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
256,
16,
13,
40926,
2435,
1279,
256,
17,
13,
9688,
4475,
5357,
360,
1404,
2767,
12789,
7,
83,
16,
13,
40926,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
9688,
4475,
11,
705,
9688,
286,
1227,
11537,
44441,
11050,
256,
17,
13,
30349,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
604
] |
A bar chart shows the distribution of All_Road and School_ID , and show from high to low by the Y-axis.
|
SELECT All_Road, School_ID FROM basketball_match ORDER BY School_ID DESC
|
[
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
29197,
290,
3961,
62,
2389,
837,
290,
905,
422,
1029,
284,
1877,
416,
262,
575,
12,
22704,
13,
46506,
1439,
62,
29197,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
3961,
62,
2389,
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,
1,
1,
1,
1,
1,
1
] |
[
32,
2318,
8262,
2523,
262,
6082,
286,
1439,
62,
29197,
290,
3961,
62,
2389,
837,
290,
905,
422,
1029,
284,
1877,
416,
262,
575,
12,
22704,
13,
46506,
1439,
62,
29197,
11,
3961,
62,
2389,
16034,
9669,
62,
15699,
38678,
11050,
3961,
62,
2389,
22196,
34
] |
What was the earliest year that Scuderia Ferrari was an entrant with 0 points?
|
SELECT MIN(year) FROM table_name_88 WHERE points = "0" AND entrant = "scuderia ferrari"
|
[
2061,
373,
262,
14555,
614,
326,
1446,
463,
5142,
23502,
373,
281,
920,
5250,
351,
657,
2173,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
2173,
796,
366,
15,
1,
5357,
920,
5250,
796,
366,
1416,
463,
5142,
277,
8056,
2743,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14555,
614,
326,
1446,
463,
5142,
23502,
373,
281,
920,
5250,
351,
657,
2173,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
2173,
796,
366,
15,
1,
5357,
920,
5250,
796,
366,
1416,
463,
5142,
277,
8056,
2743,
1
] |
On 5 May 2011, what was the lead percentage?
|
SELECT "Lead" FROM table_52879 WHERE "Date(s) conducted" = '5 may 2011'
|
[
2202,
642,
1737,
2813,
11,
644,
373,
262,
1085,
5873,
30,
46506,
366,
20451,
1,
16034,
3084,
62,
49351,
3720,
33411,
366,
10430,
7,
82,
8,
5952,
1,
796,
705,
20,
743,
2813,
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
] |
[
2202,
642,
1737,
2813,
11,
644,
373,
262,
1085,
5873,
30,
46506,
366,
20451,
1,
16034,
3084,
62,
49351,
3720,
33411,
366,
10430,
7,
82,
8,
5952,
1,
796,
705,
20,
743,
2813,
6
] |
how many times did they finish ninth ?
|
SELECT COUNT(*) FROM table_204_738 WHERE "position" = 9
|
[
4919,
867,
1661,
750,
484,
5461,
19646,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
22,
2548,
33411,
366,
9150,
1,
796,
860
] |
[
1,
1,
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,
750,
484,
5461,
19646,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
22,
2548,
33411,
366,
9150,
1,
796,
860
] |
What was the final score for the game on May 4?
|
SELECT score FROM table_name_91 WHERE date = "may 4"
|
[
2061,
373,
262,
2457,
4776,
329,
262,
983,
319,
1737,
604,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
3128,
796,
366,
11261,
604,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2061,
373,
262,
2457,
4776,
329,
262,
983,
319,
1737,
604,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
6420,
33411,
3128,
796,
366,
11261,
604,
1
] |
What are names of patients who made an appointment, and count them by a bar chart
|
SELECT Name, COUNT(Name) FROM Appointment AS T1 JOIN Patient AS T2 ON T1.Patient = T2.SSN GROUP BY Name
|
[
2061,
389,
3891,
286,
3871,
508,
925,
281,
12557,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
2034,
49805,
7054,
309,
16,
32357,
1268,
35550,
7054,
309,
17,
6177,
309,
16,
13,
12130,
1153,
796,
309,
17,
13,
5432,
45,
44441,
11050,
6530
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
286,
3871,
508,
925,
281,
12557,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
2034,
49805,
7054,
309,
16,
32357,
1268,
35550,
7054,
309,
17,
6177,
309,
16,
13,
12130,
1153,
796,
309,
17,
13,
5432,
45,
44441,
11050,
6530
] |
What is the name of teh studio that created the most films?
|
SELECT studio FROM film GROUP BY studio ORDER BY COUNT(*) DESC LIMIT 1
|
[
2061,
318,
262,
1438,
286,
573,
71,
8034,
326,
2727,
262,
749,
7328,
30,
46506,
8034,
16034,
2646,
44441,
11050,
8034,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2061,
318,
262,
1438,
286,
573,
71,
8034,
326,
2727,
262,
749,
7328,
30,
46506,
8034,
16034,
2646,
44441,
11050,
8034,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
Which average Long has a Gain smaller than 16, and a Loss smaller than 6?
|
SELECT AVG("Long") FROM table_37486 WHERE "Gain" < '16' AND "Loss" < '6'
|
[
13828,
2811,
5882,
468,
257,
21686,
4833,
621,
1467,
11,
290,
257,
22014,
4833,
621,
718,
30,
46506,
35224,
7203,
14617,
4943,
16034,
3084,
62,
2718,
34251,
33411,
366,
38,
391,
1,
1279,
705,
1433,
6,
5357,
366,
43,
793,
1,
1279,
705,
21,
6
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
13828,
2811,
5882,
468,
257,
21686,
4833,
621,
1467,
11,
290,
257,
22014,
4833,
621,
718,
30,
46506,
35224,
7203,
14617,
4943,
16034,
3084,
62,
2718,
34251,
33411,
366,
38,
391,
1,
1279,
705,
1433,
6,
5357,
366,
43,
793,
1,
1279,
705,
21,
6
] |
What is the sum of 2010-11 when the rank is greater than 11?
|
SELECT COUNT("2010-11") FROM table_9465 WHERE "Rank" > '11'
|
[
2061,
318,
262,
2160,
286,
3050,
12,
1157,
618,
262,
4279,
318,
3744,
621,
1367,
30,
46506,
327,
28270,
7203,
10333,
12,
1157,
4943,
16034,
3084,
62,
5824,
2996,
33411,
366,
27520,
1,
1875,
705,
1157,
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
] |
[
2061,
318,
262,
2160,
286,
3050,
12,
1157,
618,
262,
4279,
318,
3744,
621,
1367,
30,
46506,
327,
28270,
7203,
10333,
12,
1157,
4943,
16034,
3084,
62,
5824,
2996,
33411,
366,
27520,
1,
1875,
705,
1157,
6
] |
I want to see trend of the number of yearid by yearid, show x axis in desc order.
|
SELECT yearid, COUNT(yearid) FROM hall_of_fame ORDER BY yearid DESC
|
[
40,
765,
284,
766,
5182,
286,
262,
1271,
286,
614,
312,
416,
614,
312,
11,
905,
2124,
16488,
287,
1715,
1502,
13,
46506,
614,
312,
11,
327,
28270,
7,
1941,
312,
8,
16034,
6899,
62,
1659,
62,
69,
480,
38678,
11050,
614,
312,
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,
1,
1,
1,
1,
1
] |
[
40,
765,
284,
766,
5182,
286,
262,
1271,
286,
614,
312,
416,
614,
312,
11,
905,
2124,
16488,
287,
1715,
1502,
13,
46506,
614,
312,
11,
327,
28270,
7,
1941,
312,
8,
16034,
6899,
62,
1659,
62,
69,
480,
38678,
11050,
614,
312,
22196,
34
] |
What is the highest of ayr united?
|
SELECT MIN(highest) FROM table_11206787_5 WHERE team = "Ayr United"
|
[
2061,
318,
262,
4511,
286,
257,
2417,
16503,
30,
46506,
20625,
7,
35323,
8,
16034,
3084,
62,
16,
10232,
3134,
5774,
62,
20,
33411,
1074,
796,
366,
32,
2417,
1578,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
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,
4511,
286,
257,
2417,
16503,
30,
46506,
20625,
7,
35323,
8,
16034,
3084,
62,
16,
10232,
3134,
5774,
62,
20,
33411,
1074,
796,
366,
32,
2417,
1578,
1
] |
For those employees who was hired before 2002-06-21, visualize a bar chart about the distribution of hire_date and the sum of salary bin hire_date by time, and I want to show by the Y in descending.
|
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(SALARY) DESC
|
[
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
11,
290,
314,
765,
284,
905,
416,
262,
575,
287,
31491,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35683,
7,
50,
1847,
13153,
8,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,
16942,
12,
3312,
12,
2481,
6,
38678,
11050,
35683,
7,
50,
1847,
13153,
8,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
11,
290,
314,
765,
284,
905,
416,
262,
575,
287,
31491,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35683,
7,
50,
1847,
13153,
8,
16034,
4409,
33411,
36210,
2200,
62,
35,
6158,
1279,
705,
16942,
12,
3312,
12,
2481,
6,
38678,
11050,
35683,
7,
50,
1847,
13153,
8,
22196,
34
] |
What is the 2012 value with A in 2007 and qf in 2011?
|
SELECT 2012 FROM table_name_11 WHERE 2007 = "a" AND 2011 = "qf"
|
[
2061,
318,
262,
2321,
1988,
351,
317,
287,
4343,
290,
10662,
69,
287,
2813,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
1157,
33411,
4343,
796,
366,
64,
1,
5357,
2813,
796,
366,
80,
69,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2321,
1988,
351,
317,
287,
4343,
290,
10662,
69,
287,
2813,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
1157,
33411,
4343,
796,
366,
64,
1,
5357,
2813,
796,
366,
80,
69,
1
] |
What is the Film/Show, when the Year is 2010?
|
SELECT "Film/Show" FROM table_68099 WHERE "Year" = '2010'
|
[
2061,
318,
262,
13741,
14,
15307,
11,
618,
262,
6280,
318,
3050,
30,
46506,
366,
39750,
14,
15307,
1,
16034,
3084,
62,
37397,
2079,
33411,
366,
17688,
1,
796,
705,
10333,
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,
13741,
14,
15307,
11,
618,
262,
6280,
318,
3050,
30,
46506,
366,
39750,
14,
15307,
1,
16034,
3084,
62,
37397,
2079,
33411,
366,
17688,
1,
796,
705,
10333,
6
] |
provide the number of patients with diagnoses icd9 code 5723 who had other body fluid lab test done.
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "5723" AND lab.fluid = "Other Body Fluid"
|
[
15234,
485,
262,
1271,
286,
3871,
351,
40567,
14158,
67,
24,
2438,
7632,
1954,
508,
550,
584,
1767,
11711,
2248,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
3553,
1954,
1,
5357,
2248,
13,
35522,
312,
796,
366,
6395,
12290,
1610,
27112,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
40567,
14158,
67,
24,
2438,
7632,
1954,
508,
550,
584,
1767,
11711,
2248,
1332,
1760,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
3553,
1954,
1,
5357,
2248,
13,
35522,
312,
796,
366,
6395,
12290,
1610,
27112,
1
] |
When the home team north melbourne was playing what did they score?
|
SELECT "Home team score" FROM table_51609 WHERE "Home team" = 'north melbourne'
|
[
2215,
262,
1363,
1074,
5093,
7758,
12544,
373,
2712,
644,
750,
484,
4776,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
47493,
2931,
33411,
366,
16060,
1074,
1,
796,
705,
43588,
7758,
12544,
6
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2215,
262,
1363,
1074,
5093,
7758,
12544,
373,
2712,
644,
750,
484,
4776,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
47493,
2931,
33411,
366,
16060,
1074,
1,
796,
705,
43588,
7758,
12544,
6
] |
How much are all winners share ($) in the year 2004?
|
SELECT "Winners share ($)" FROM table_19999 WHERE "Year" = '2004'
|
[
2437,
881,
389,
477,
14591,
2648,
45491,
287,
262,
614,
5472,
30,
46506,
366,
16643,
2741,
2648,
7198,
16725,
16034,
3084,
62,
1129,
17032,
33411,
366,
17688,
1,
796,
705,
15724,
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
] |
[
2437,
881,
389,
477,
14591,
2648,
45491,
287,
262,
614,
5472,
30,
46506,
366,
16643,
2741,
2648,
7198,
16725,
16034,
3084,
62,
1129,
17032,
33411,
366,
17688,
1,
796,
705,
15724,
6
] |
What is the original title of the film from years after 1985 from the UK?
|
SELECT "Original title" FROM table_15528 WHERE "Year" > '1985' AND "Country" = 'uk'
|
[
2061,
318,
262,
2656,
3670,
286,
262,
2646,
422,
812,
706,
12863,
422,
262,
3482,
30,
46506,
366,
20556,
3670,
1,
16034,
3084,
62,
18742,
2078,
33411,
366,
17688,
1,
1875,
705,
29110,
6,
5357,
366,
33921,
1,
796,
705,
2724,
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,
2656,
3670,
286,
262,
2646,
422,
812,
706,
12863,
422,
262,
3482,
30,
46506,
366,
20556,
3670,
1,
16034,
3084,
62,
18742,
2078,
33411,
366,
17688,
1,
1875,
705,
29110,
6,
5357,
366,
33921,
1,
796,
705,
2724,
6
] |
What is the companion for the author Dave Stone?
|
SELECT "Companion(s)" FROM table_61123 WHERE "Author" = 'dave stone'
|
[
2061,
318,
262,
15185,
329,
262,
1772,
9935,
8026,
30,
46506,
366,
41309,
295,
7,
82,
16725,
16034,
3084,
62,
5333,
10163,
33411,
366,
13838,
1,
796,
705,
67,
1015,
7815,
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,
15185,
329,
262,
1772,
9935,
8026,
30,
46506,
366,
41309,
295,
7,
82,
16725,
16034,
3084,
62,
5333,
10163,
33411,
366,
13838,
1,
796,
705,
67,
1015,
7815,
6
] |
WHAT WAS THE HOME TEAM'S SCORE WHEN THEY HAD A CROWD GREATER THAN 20,000 AND PLAYED AGAINST COLLINGWOOD?
|
SELECT "Home team score" FROM table_33336 WHERE "Crowd" > '20,000' AND "Away team" = 'collingwood'
|
[
32971,
21725,
3336,
41779,
33536,
6,
50,
6374,
6965,
42099,
33302,
367,
2885,
317,
8740,
3913,
35,
19928,
23261,
2320,
1565,
1160,
11,
830,
5357,
28180,
1961,
36218,
38604,
7375,
3069,
2751,
49466,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
24840,
21,
33411,
366,
34,
3986,
1,
1875,
705,
1238,
11,
830,
6,
5357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
32971,
21725,
3336,
41779,
33536,
6,
50,
6374,
6965,
42099,
33302,
367,
2885,
317,
8740,
3913,
35,
19928,
23261,
2320,
1565,
1160,
11,
830,
5357,
28180,
1961,
36218,
38604,
7375,
3069,
2751,
49466,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
24840,
21,
33411,
366,
34,
3986,
1,
1875,
705,
1238,
11,
830,
6,
5357,
366,
32,
1014,
1074,
1,
796,
705,
26000,
278,
3822,
6
] |
What are the different card types, and how many cards are there of each, I want to order total number in descending order.
|
SELECT card_type_code, COUNT(*) FROM Customers_Cards GROUP BY card_type_code ORDER BY COUNT(*) DESC
|
[
2061,
389,
262,
1180,
2657,
3858,
11,
290,
703,
867,
4116,
389,
612,
286,
1123,
11,
314,
765,
284,
1502,
2472,
1271,
287,
31491,
1502,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
36707,
62,
34,
1371,
44441,
11050,
2657,
62,
4906,
62,
8189,
38678,
11050,
327,
28270,
7,
28104,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2061,
389,
262,
1180,
2657,
3858,
11,
290,
703,
867,
4116,
389,
612,
286,
1123,
11,
314,
765,
284,
1502,
2472,
1271,
287,
31491,
1502,
13,
46506,
2657,
62,
4906,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
36707,
62,
34,
1371,
44441,
11050,
2657,
62,
4906,
62,
8189,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] |
What is the Score of the match on August 23, 2004?
|
SELECT score FROM table_name_71 WHERE date = "august 23, 2004"
|
[
2061,
318,
262,
15178,
286,
262,
2872,
319,
2932,
2242,
11,
5472,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4869,
33411,
3128,
796,
366,
7493,
436,
2242,
11,
5472,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2061,
318,
262,
15178,
286,
262,
2872,
319,
2932,
2242,
11,
5472,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4869,
33411,
3128,
796,
366,
7493,
436,
2242,
11,
5472,
1
] |
Give me a histogram for how many documents are there of each type?, and sort from low to high by the Y.
|
SELECT Document_Type_Code, COUNT(*) FROM Documents GROUP BY Document_Type_Code ORDER BY COUNT(*)
|
[
23318,
502,
257,
1554,
21857,
329,
703,
867,
4963,
389,
612,
286,
1123,
2099,
21747,
290,
3297,
422,
1877,
284,
1029,
416,
262,
575,
13,
46506,
16854,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
44441,
11050,
16854,
62,
6030,
62,
10669,
38678,
11050,
327,
28270,
7,
28104
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
1554,
21857,
329,
703,
867,
4963,
389,
612,
286,
1123,
2099,
21747,
290,
3297,
422,
1877,
284,
1029,
416,
262,
575,
13,
46506,
16854,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
44441,
11050,
16854,
62,
6030,
62,
10669,
38678,
11050,
327,
28270,
7,
28104
] |
who write the episode that have 14.39 million viewers
|
SELECT written_by FROM table_19417244_2 WHERE us_viewers__millions_ = "14.39"
|
[
8727,
3551,
262,
4471,
326,
423,
1478,
13,
2670,
1510,
10209,
46506,
3194,
62,
1525,
16034,
3084,
62,
22913,
1558,
25707,
62,
17,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
1415,
13,
2670,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3551,
262,
4471,
326,
423,
1478,
13,
2670,
1510,
10209,
46506,
3194,
62,
1525,
16034,
3084,
62,
22913,
1558,
25707,
62,
17,
33411,
514,
62,
1177,
364,
834,
17805,
507,
62,
796,
366,
1415,
13,
2670,
1
] |
What is the location for the game on October 20 with it's corresponding attendance?
|
SELECT "Location Attendance" FROM table_4102 WHERE "Date" = 'October 20'
|
[
2061,
318,
262,
4067,
329,
262,
983,
319,
3267,
1160,
351,
340,
338,
11188,
14858,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
19,
15377,
33411,
366,
10430,
1,
796,
705,
18517,
1160,
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,
4067,
329,
262,
983,
319,
3267,
1160,
351,
340,
338,
11188,
14858,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
19,
15377,
33411,
366,
10430,
1,
796,
705,
18517,
1160,
6
] |
What is the Date of the Kroger Classic Tournament?
|
SELECT date FROM table_name_64 WHERE tournament = "kroger classic"
|
[
2061,
318,
262,
7536,
286,
262,
30088,
1362,
13449,
9595,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2414,
33411,
7756,
796,
366,
74,
305,
1362,
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,
1,
1,
1,
1,
1
] |
[
2061,
318,
262,
7536,
286,
262,
30088,
1362,
13449,
9595,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2414,
33411,
7756,
796,
366,
74,
305,
1362,
6833,
1
] |
What is Record, when Opponent is 'New York Knicks'?
|
SELECT record FROM table_name_11 WHERE opponent = "new york knicks"
|
[
2061,
318,
13266,
11,
618,
9385,
3471,
318,
705,
3791,
1971,
24397,
30960,
46506,
1700,
16034,
3084,
62,
3672,
62,
1157,
33411,
6125,
796,
366,
3605,
331,
967,
638,
3378,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
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,
13266,
11,
618,
9385,
3471,
318,
705,
3791,
1971,
24397,
30960,
46506,
1700,
16034,
3084,
62,
3672,
62,
1157,
33411,
6125,
796,
366,
3605,
331,
967,
638,
3378,
1
] |
What was the date of the week 9 game?
|
SELECT date FROM table_name_76 WHERE week = 9
|
[
2061,
373,
262,
3128,
286,
262,
1285,
860,
983,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4304,
33411,
1285,
796,
860
] |
[
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,
286,
262,
1285,
860,
983,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4304,
33411,
1285,
796,
860
] |
Give me the comparison about meter_100 over the meter_600 by a bar chart, and list from low to high by the x-axis please.
|
SELECT meter_600, meter_100 FROM swimmer ORDER BY meter_600
|
[
23318,
502,
262,
7208,
546,
16430,
62,
3064,
625,
262,
16430,
62,
8054,
416,
257,
2318,
8262,
11,
290,
1351,
422,
1877,
284,
1029,
416,
262,
2124,
12,
22704,
3387,
13,
46506,
16430,
62,
8054,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
8054
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
7208,
546,
16430,
62,
3064,
625,
262,
16430,
62,
8054,
416,
257,
2318,
8262,
11,
290,
1351,
422,
1877,
284,
1029,
416,
262,
2124,
12,
22704,
3387,
13,
46506,
16430,
62,
8054,
11,
16430,
62,
3064,
16034,
9422,
647,
38678,
11050,
16430,
62,
8054
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of hire_date and the average of department_id bin hire_date by time.
|
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
|
[
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35224,
7,
7206,
30709,
10979,
62,
2389,
8,
16034,
4409,
33411,
5626,
5550,
30709,
10979,
62,
2389,
3268,
357,
46506,
5550,
30709,
10979,
62,
2389,
16034,
13346,
33411,
17254,
4760,
1137,
62,
2389,
38651,
8845,
1677,
1802,
5357,
939,
8
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35224,
7,
7206,
30709,
10979,
62,
2389,
8,
16034,
4409,
33411,
5626,
5550,
30709,
10979,
62,
2389,
3268,
357,
46506,
5550,
30709,
10979,
62,
2389,
16034,
13346,
33411,
17254,
4760,
1137,
62,
2389,
38651,
8845,
1677,
1802,
5357,
939,
8
] |
when was patient 18677 prescribed the drug pantoprazole and omeprazole at the same time for the last time since 10/2103?
|
SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'pantoprazole' AND admissions.subject_id = 18677 AND STRFTIME('%y-%m', prescriptions.startdate) >= '2103-10') AS t1 JOIN (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'omeprazole' AND admissions.subject_id = 18677 AND STRFTIME('%y-%m', prescriptions.startdate) >= '2103-10') AS t2 ON t1.subject_id = t2.subject_id WHERE DATETIME(t1.startdate) = DATETIME(t2.startdate) ORDER BY t1.startdate DESC LIMIT 1
|
[
12518,
373,
5827,
1248,
40179,
14798,
262,
2563,
15857,
404,
3247,
2305,
290,
39030,
538,
3247,
2305,
379,
262,
976,
640,
329,
262,
938,
640,
1201,
838,
14,
17,
15197,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
34092,
13,
30349,
796,
705,
79,
415,
404,
3247,
2305,
6,
5357,
25349,
13,
32796,
62,
312,
796,
1248,
40179,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
34092,
13,
9688,
4475,
8,
18189,
705,
17,
15197,
12,
940,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
34092,
13,
30349,
796,
705,
462,
79,
3247,
2305,
6,
5357,
25349,
13,
32796,
62,
312,
796,
1248,
40179,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
34092,
13,
9688,
4475,
8,
18189,
705,
17,
15197,
12,
940,
11537,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
83,
16,
13,
9688,
4475,
8,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
9688,
4475,
8,
38678,
11050,
256,
16,
13,
9688,
4475,
22196,
34,
27564,
2043,
352
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1248,
40179,
14798,
262,
2563,
15857,
404,
3247,
2305,
290,
39030,
538,
3247,
2305,
379,
262,
976,
640,
329,
262,
938,
640,
1201,
838,
14,
17,
15197,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
34092,
13,
30349,
796,
705,
79,
415,
404,
3247,
2305,
6,
5357,
25349,
13,
32796,
62,
312,
796,
1248,
40179,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
34092,
13,
9688,
4475,
8,
18189,
705,
17,
15197,
12,
940,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
25349,
13,
32796,
62,
312,
11,
34092,
13,
9688,
4475,
16034,
34092,
32357,
1268,
25349,
6177,
34092,
13,
18108,
76,
62,
312,
796,
25349,
13,
18108,
76,
62,
312,
33411,
34092,
13,
30349,
796,
705,
462,
79,
3247,
2305,
6,
5357,
25349,
13,
32796,
62,
312,
796,
1248,
40179,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
34092,
13,
9688,
4475,
8,
18189,
705,
17,
15197,
12,
940,
11537,
7054,
256,
17,
6177,
256,
16,
13,
32796,
62,
312,
796,
256,
17,
13,
32796,
62,
312,
33411,
360,
1404,
2767,
12789,
7,
83,
16,
13,
9688,
4475,
8,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
9688,
4475,
8,
38678,
11050,
256,
16,
13,
9688,
4475,
22196,
34,
27564,
2043,
352
] |
Name the region for 39.2% vehicle
|
SELECT region FROM table_25042332_27 WHERE vehicle = "39.2%"
|
[
5376,
262,
3814,
329,
5014,
13,
17,
4,
4038,
46506,
3814,
16034,
3084,
62,
9031,
43356,
2624,
62,
1983,
33411,
4038,
796,
366,
2670,
13,
17,
39658
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
5376,
262,
3814,
329,
5014,
13,
17,
4,
4038,
46506,
3814,
16034,
3084,
62,
9031,
43356,
2624,
62,
1983,
33411,
4038,
796,
366,
2670,
13,
17,
39658
] |
What model has a total produced more than 5 and a prime move of 12-251c?
|
SELECT "Model" FROM table_70737 WHERE "Total produced" > '5' AND "Prime mover" = '12-251c'
|
[
2061,
2746,
468,
257,
2472,
4635,
517,
621,
642,
290,
257,
6994,
1445,
286,
1105,
12,
28072,
66,
30,
46506,
366,
17633,
1,
16034,
3084,
62,
24038,
2718,
33411,
366,
14957,
4635,
1,
1875,
705,
20,
6,
5357,
366,
26405,
285,
2502,
1,
796,
705,
1065,
12,
28072,
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
] |
[
2061,
2746,
468,
257,
2472,
4635,
517,
621,
642,
290,
257,
6994,
1445,
286,
1105,
12,
28072,
66,
30,
46506,
366,
17633,
1,
16034,
3084,
62,
24038,
2718,
33411,
366,
14957,
4635,
1,
1875,
705,
20,
6,
5357,
366,
26405,
285,
2502,
1,
796,
705,
1065,
12,
28072,
66,
6
] |
what is primary disease and drug type of subject id 2560?
|
SELECT demographic.diagnosis, prescriptions.drug_type FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.subject_id = "2560"
|
[
10919,
318,
4165,
4369,
290,
2563,
2099,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
47356,
5958,
11,
34092,
13,
30349,
62,
4906,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
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,
1,
1,
1,
1,
1,
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,
4165,
4369,
290,
2563,
2099,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
47356,
5958,
11,
34092,
13,
30349,
62,
4906,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
Questions (total, answered, unanswered, users) by Date.
|
SELECT DATE(p.CreationDate) AS date, COUNT(DISTINCT p.OwnerUserId) AS users, SUM(1) AS total, SUM(CASE WHEN COALESCE(p.AcceptedAnswerId, 0) = 0 THEN 1 ELSE 0 END) AS unanswered, SUM(CASE WHEN COALESCE(p.AcceptedAnswerId, 0) = 0 THEN 0 ELSE 1 END) AS answered FROM Posts AS p GROUP BY DATE(p.CreationDate) ORDER BY DATE(p.CreationDate)
|
[
35741,
357,
23350,
11,
9373,
11,
34001,
11,
2985,
8,
416,
7536,
13,
46506,
360,
6158,
7,
79,
13,
12443,
341,
10430,
8,
7054,
3128,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
279,
13,
42419,
12982,
7390,
8,
7054,
2985,
11,
35683,
7,
16,
8,
7054,
2472,
11,
35683,
7,
34,
11159,
42099,
7375,
1847,
1546,
5222,
7,
79,
13,
38855,
276,
33706,
7390,
11,
657,
8,
796,
657,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
34001,
11,
35683,
7,
34,
11159,
42099,
7375,
1847,
1546,
5222,
7,
79,
13,
38855,
276,
33706,
7390,
11,
657,
8,
796,
657,
42243,
657,
17852,
5188,
352,
23578,
8,
7054,
9373,
16034,
12043,
7054,
279,
44441,
11050,
360,
6158,
7,
79,
13,
12443,
341,
10430,
8,
38678,
11050,
360,
6158,
7,
79,
13,
12443,
341,
10430,
8
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
357,
23350,
11,
9373,
11,
34001,
11,
2985,
8,
416,
7536,
13,
46506,
360,
6158,
7,
79,
13,
12443,
341,
10430,
8,
7054,
3128,
11,
327,
28270,
7,
35,
8808,
1268,
4177,
279,
13,
42419,
12982,
7390,
8,
7054,
2985,
11,
35683,
7,
16,
8,
7054,
2472,
11,
35683,
7,
34,
11159,
42099,
7375,
1847,
1546,
5222,
7,
79,
13,
38855,
276,
33706,
7390,
11,
657,
8,
796,
657,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
34001,
11,
35683,
7,
34,
11159,
42099,
7375,
1847,
1546,
5222,
7,
79,
13,
38855,
276,
33706,
7390,
11,
657,
8,
796,
657,
42243,
657,
17852,
5188,
352,
23578,
8,
7054,
9373,
16034,
12043,
7054,
279,
44441,
11050,
360,
6158,
7,
79,
13,
12443,
341,
10430,
8,
38678,
11050,
360,
6158,
7,
79,
13,
12443,
341,
10430,
8
] |
Which school has the mascot of the Colonials?
|
SELECT institution FROM table_16403890_1 WHERE team_nickname = "Colonials"
|
[
13828,
1524,
468,
262,
37358,
286,
262,
14049,
8231,
30,
46506,
9901,
16034,
3084,
62,
1433,
1821,
2548,
3829,
62,
16,
33411,
1074,
62,
17172,
3672,
796,
366,
5216,
261,
8231,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
468,
262,
37358,
286,
262,
14049,
8231,
30,
46506,
9901,
16034,
3084,
62,
1433,
1821,
2548,
3829,
62,
16,
33411,
1074,
62,
17172,
3672,
796,
366,
5216,
261,
8231,
1
] |
Did the race get reported where the winning team was Newman Wachs racing and the pole belonged to Carl Skerlong
|
SELECT "Report" FROM table_20119 WHERE "Pole Position" = 'Carl Skerlong' AND "Winning team" = 'Newman Wachs Racing'
|
[
11633,
262,
3234,
651,
2098,
810,
262,
5442,
1074,
373,
27698,
370,
620,
82,
11717,
290,
262,
16825,
19611,
284,
8124,
3661,
263,
6511,
46506,
366,
19100,
1,
16034,
3084,
62,
1264,
1129,
33411,
366,
47,
2305,
23158,
1,
796,
705,
26886,
3661,
263,
6511,
6,
5357,
366,
16643,
768,
1074,
1,
796,
705,
3791,
805,
370,
620,
82,
14954,
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
] |
[
11633,
262,
3234,
651,
2098,
810,
262,
5442,
1074,
373,
27698,
370,
620,
82,
11717,
290,
262,
16825,
19611,
284,
8124,
3661,
263,
6511,
46506,
366,
19100,
1,
16034,
3084,
62,
1264,
1129,
33411,
366,
47,
2305,
23158,
1,
796,
705,
26886,
3661,
263,
6511,
6,
5357,
366,
16643,
768,
1074,
1,
796,
705,
3791,
805,
370,
620,
82,
14954,
6
] |
Find the number of the enrollment date for all the tests that have 'Pass' result, sort in asc by the Y.
|
SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Pass" ORDER BY COUNT(date_of_enrolment)
|
[
16742,
262,
1271,
286,
262,
20753,
3128,
329,
477,
262,
5254,
326,
423,
705,
14478,
6,
1255,
11,
3297,
287,
10570,
416,
262,
575,
13,
46506,
3128,
62,
1659,
62,
268,
3225,
434,
11,
327,
28270,
7,
4475,
62,
1659,
62,
268,
3225,
434,
8,
16034,
13613,
62,
49046,
62,
4834,
3225,
434,
7054,
309,
16,
32357,
1268,
13613,
62,
51,
3558,
62,
51,
1685,
7054,
309,
17,
6177,
309,
16,
13,
2301,
33397,
62,
312,
796,
309,
17,
13,
2301,
33397,
62,
312,
33411,
309,
17,
13,
9288,
62,
20274,
796,
366,
14478,
1,
38678,
11050,
327,
28270,
7,
4475,
62,
1659,
62,
268,
3225,
434,
8
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
16742,
262,
1271,
286,
262,
20753,
3128,
329,
477,
262,
5254,
326,
423,
705,
14478,
6,
1255,
11,
3297,
287,
10570,
416,
262,
575,
13,
46506,
3128,
62,
1659,
62,
268,
3225,
434,
11,
327,
28270,
7,
4475,
62,
1659,
62,
268,
3225,
434,
8,
16034,
13613,
62,
49046,
62,
4834,
3225,
434,
7054,
309,
16,
32357,
1268,
13613,
62,
51,
3558,
62,
51,
1685,
7054,
309,
17,
6177,
309,
16,
13,
2301,
33397,
62,
312,
796,
309,
17,
13,
2301,
33397,
62,
312,
33411,
309,
17,
13,
9288,
62,
20274,
796,
366,
14478,
1,
38678,
11050,
327,
28270,
7,
4475,
62,
1659,
62,
268,
3225,
434,
8
] |
what was the total fee for ramires ' transfer ?
|
SELECT "fee" FROM table_204_539 WHERE "name" = 'ramires'
|
[
10919,
373,
262,
2472,
6838,
329,
15770,
2387,
705,
4351,
5633,
46506,
366,
39071,
1,
16034,
3084,
62,
18638,
62,
20,
2670,
33411,
366,
3672,
1,
796,
705,
859,
2387,
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
] |
[
10919,
373,
262,
2472,
6838,
329,
15770,
2387,
705,
4351,
5633,
46506,
366,
39071,
1,
16034,
3084,
62,
18638,
62,
20,
2670,
33411,
366,
3672,
1,
796,
705,
859,
2387,
6
] |
count the number of patients whose age is less than 51 and drug name is metoprolol tartrate?
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "51" AND prescriptions.drug = "Metoprolol Tartrate"
|
[
9127,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
6885,
290,
2563,
1438,
318,
1138,
404,
3225,
349,
35842,
4873,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
4349,
1,
5357,
34092,
13,
30349,
796,
366,
9171,
404,
3225,
349,
37109,
4873,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2479,
318,
1342,
621,
6885,
290,
2563,
1438,
318,
1138,
404,
3225,
349,
35842,
4873,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
16728,
13,
496,
1279,
366,
4349,
1,
5357,
34092,
13,
30349,
796,
366,
9171,
404,
3225,
349,
37109,
4873,
1
] |
count the number of patients who have received a glucocorticoid administration - inhaled procedure within the same month after receiving a c. difficile toxin treatment until 2 years ago.
|
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'c. difficile toxin' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-2 year')) AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'glucocorticoid administration - inhaled' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-2 year')) AS t2 WHERE t1.treatmenttime < t2.treatmenttime AND DATETIME(t1.treatmenttime, 'start of month') = DATETIME(t2.treatmenttime, 'start of month')
|
[
9127,
262,
1271,
286,
3871,
508,
423,
2722,
257,
14182,
420,
419,
291,
1868,
3662,
532,
25783,
3021,
8771,
1626,
262,
976,
1227,
706,
6464,
257,
269,
13,
814,
291,
576,
43026,
3513,
1566,
362,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
3513,
13,
42487,
2435,
16034,
3513,
32357,
1268,
5827,
6177,
3513,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
3513,
13,
42487,
3672,
796,
705,
66,
13,
814,
291,
576,
43026,
6,
5357,
360,
1404,
2767,
12789,
7,
42487,
13,
42487,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
614,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
3513,
13,
42487,
2435,
16034,
3513,
32357,
1268,
5827,
6177,
3513,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
3513,
13,
42487,
3672,
796,
705,
4743,
1229,
420,
419,
291,
1868,
3662,
532,
25783,
3021,
6,
5357,
360,
1404,
2767,
12789,
7,
42487,
13,
42487,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
614,
6,
4008,
7054,
256,
17,
33411,
256,
16,
13,
42487,
2435,
1279,
256,
17,
13,
42487,
2435,
5357,
360,
1404,
2767,
12789,
7,
83,
16,
13,
42487,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
42487,
2435,
11,
705,
9688,
286,
1227,
11537
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2722,
257,
14182,
420,
419,
291,
1868,
3662,
532,
25783,
3021,
8771,
1626,
262,
976,
1227,
706,
6464,
257,
269,
13,
814,
291,
576,
43026,
3513,
1566,
362,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
3513,
13,
42487,
2435,
16034,
3513,
32357,
1268,
5827,
6177,
3513,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
3513,
13,
42487,
3672,
796,
705,
66,
13,
814,
291,
576,
43026,
6,
5357,
360,
1404,
2767,
12789,
7,
42487,
13,
42487,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
614,
6,
4008,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
3513,
13,
42487,
2435,
16034,
3513,
32357,
1268,
5827,
6177,
3513,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
3513,
13,
42487,
3672,
796,
705,
4743,
1229,
420,
419,
291,
1868,
3662,
532,
25783,
3021,
6,
5357,
360,
1404,
2767,
12789,
7,
42487,
13,
42487,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
614,
6,
4008,
7054,
256,
17,
33411,
256,
16,
13,
42487,
2435,
1279,
256,
17,
13,
42487,
2435,
5357,
360,
1404,
2767,
12789,
7,
83,
16,
13,
42487,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
42487,
2435,
11,
705,
9688,
286,
1227,
11537
] |
triglyceride < 150 mg / dl ( 1.70 mmol / l )
|
SELECT * FROM table_test_13 WHERE triglyceride_tg < 150
|
[
2213,
328,
38577,
485,
1279,
6640,
10527,
1220,
288,
75,
357,
352,
13,
2154,
47340,
1220,
300,
1267,
46506,
1635,
16034,
3084,
62,
9288,
62,
1485,
33411,
47937,
485,
62,
25297,
1279,
6640
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2213,
328,
38577,
485,
1279,
6640,
10527,
1220,
288,
75,
357,
352,
13,
2154,
47340,
1220,
300,
1267,
46506,
1635,
16034,
3084,
62,
9288,
62,
1485,
33411,
47937,
485,
62,
25297,
1279,
6640
] |
How many divisions have been won when the playoff result is conference quarterfinals.
|
SELECT COUNT(division) FROM table_1427998_1 WHERE playoffs = "Conference Quarterfinals"
|
[
2437,
867,
17397,
423,
587,
1839,
618,
262,
13119,
1255,
318,
4495,
3860,
32089,
13,
46506,
327,
28270,
7,
21426,
8,
16034,
3084,
62,
1415,
1983,
34808,
62,
16,
33411,
12980,
796,
366,
3103,
4288,
17264,
32089,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17397,
423,
587,
1839,
618,
262,
13119,
1255,
318,
4495,
3860,
32089,
13,
46506,
327,
28270,
7,
21426,
8,
16034,
3084,
62,
1415,
1983,
34808,
62,
16,
33411,
12980,
796,
366,
3103,
4288,
17264,
32089,
1
] |
Give the hometowns from which two or more gymnasts are from.
|
SELECT T2.hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.gymnast_id = T2.people_id GROUP BY T2.hometown HAVING COUNT(*) >= 2
|
[
23318,
262,
20994,
82,
422,
543,
734,
393,
517,
38581,
5773,
389,
422,
13,
46506,
309,
17,
13,
71,
19191,
16034,
38581,
459,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
1360,
10295,
459,
62,
312,
796,
309,
17,
13,
15332,
62,
312,
44441,
11050,
309,
17,
13,
71,
19191,
367,
10116,
2751,
327,
28270,
7,
28104,
18189,
362
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
20994,
82,
422,
543,
734,
393,
517,
38581,
5773,
389,
422,
13,
46506,
309,
17,
13,
71,
19191,
16034,
38581,
459,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
1360,
10295,
459,
62,
312,
796,
309,
17,
13,
15332,
62,
312,
44441,
11050,
309,
17,
13,
71,
19191,
367,
10116,
2751,
327,
28270,
7,
28104,
18189,
362
] |
Show me about the distribution of meter_300 and ID in a bar chart, and show in descending by the meter_300.
|
SELECT meter_300, ID FROM swimmer ORDER BY meter_300 DESC
|
[
15307,
502,
546,
262,
6082,
286,
16430,
62,
6200,
290,
4522,
287,
257,
2318,
8262,
11,
290,
905,
287,
31491,
416,
262,
16430,
62,
6200,
13,
46506,
16430,
62,
6200,
11,
4522,
16034,
9422,
647,
38678,
11050,
16430,
62,
6200,
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,
1,
1
] |
[
15307,
502,
546,
262,
6082,
286,
16430,
62,
6200,
290,
4522,
287,
257,
2318,
8262,
11,
290,
905,
287,
31491,
416,
262,
16430,
62,
6200,
13,
46506,
16430,
62,
6200,
11,
4522,
16034,
9422,
647,
38678,
11050,
16430,
62,
6200,
22196,
34
] |
What percentage of users were using Safari during the period in which 30.82% were using Firefox?
|
SELECT "Safari" FROM table_66074 WHERE "Firefox" = '30.82%'
|
[
2061,
5873,
286,
2985,
547,
1262,
23298,
1141,
262,
2278,
287,
543,
1542,
13,
6469,
4,
547,
1262,
16802,
30,
46506,
366,
50,
1878,
2743,
1,
16034,
3084,
62,
39885,
4524,
33411,
366,
13543,
12792,
1,
796,
705,
1270,
13,
6469,
4,
6
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2061,
5873,
286,
2985,
547,
1262,
23298,
1141,
262,
2278,
287,
543,
1542,
13,
6469,
4,
547,
1262,
16802,
30,
46506,
366,
50,
1878,
2743,
1,
16034,
3084,
62,
39885,
4524,
33411,
366,
13543,
12792,
1,
796,
705,
1270,
13,
6469,
4,
6
] |
who is the first finisher from russia ?
|
SELECT "name" FROM table_204_554 WHERE "nation" = 'russia' ORDER BY "rank" LIMIT 1
|
[
8727,
318,
262,
717,
957,
4828,
422,
374,
31269,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
44218,
33411,
366,
25729,
1,
796,
705,
81,
31269,
6,
38678,
11050,
366,
43027,
1,
27564,
2043,
352
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
8727,
318,
262,
717,
957,
4828,
422,
374,
31269,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
44218,
33411,
366,
25729,
1,
796,
705,
81,
31269,
6,
38678,
11050,
366,
43027,
1,
27564,
2043,
352
] |
What is the highest population within the municipality of Porsgrunn?
|
SELECT MAX(population) FROM table_name_28 WHERE municipality = "porsgrunn"
|
[
2061,
318,
262,
4511,
3265,
1626,
262,
27264,
286,
350,
669,
2164,
20935,
30,
46506,
25882,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
27264,
796,
366,
79,
669,
2164,
20935,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4511,
3265,
1626,
262,
27264,
286,
350,
669,
2164,
20935,
30,
46506,
25882,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
2078,
33411,
27264,
796,
366,
79,
669,
2164,
20935,
1
] |
Which Position has Losses of 11, and a Played larger than 22?
|
SELECT SUM(position) FROM table_name_45 WHERE losses = 11 AND played > 22
|
[
13828,
23158,
468,
22014,
274,
286,
1367,
11,
290,
257,
33101,
4025,
621,
2534,
30,
46506,
35683,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
9089,
796,
1367,
5357,
2826,
1875,
2534
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23158,
468,
22014,
274,
286,
1367,
11,
290,
257,
33101,
4025,
621,
2534,
30,
46506,
35683,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
9089,
796,
1367,
5357,
2826,
1875,
2534
] |
What is the highest Pick, when Position is 'G/F'?
|
SELECT MAX(pick) FROM table_name_39 WHERE position = "g/f"
|
[
2061,
318,
262,
4511,
12346,
11,
618,
23158,
318,
705,
38,
14,
37,
30960,
46506,
25882,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
2670,
33411,
2292,
796,
366,
70,
14,
69,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4511,
12346,
11,
618,
23158,
318,
705,
38,
14,
37,
30960,
46506,
25882,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
2670,
33411,
2292,
796,
366,
70,
14,
69,
1
] |
What is the total round with pick of 109?
|
SELECT SUM(round) FROM table_name_37 WHERE pick = 109
|
[
2061,
318,
262,
2472,
2835,
351,
2298,
286,
16003,
30,
46506,
35683,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
2298,
796,
16003
] |
[
1,
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,
2472,
2835,
351,
2298,
286,
16003,
30,
46506,
35683,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
2298,
796,
16003
] |
What is the total word count with a subframe count greater than 3?
|
SELECT SUM("Word #") FROM table_78075 WHERE "Subframe #" > '3'
|
[
2061,
318,
262,
2472,
1573,
954,
351,
257,
850,
14535,
954,
3744,
621,
513,
30,
46506,
35683,
7203,
26449,
1303,
4943,
16034,
3084,
62,
40873,
2425,
33411,
366,
7004,
14535,
1303,
1,
1875,
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
] |
[
2061,
318,
262,
2472,
1573,
954,
351,
257,
850,
14535,
954,
3744,
621,
513,
30,
46506,
35683,
7203,
26449,
1303,
4943,
16034,
3084,
62,
40873,
2425,
33411,
366,
7004,
14535,
1303,
1,
1875,
705,
18,
6
] |
what is the number of patients whose death status is 0 and lab test name is bilirubin?
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.expire_flag = "0" AND lab.label = "Bilirubin"
|
[
10919,
318,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
2248,
1332,
1438,
318,
47027,
343,
549,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
2248,
13,
18242,
796,
366,
33,
346,
343,
549,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
10919,
318,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
2248,
1332,
1438,
318,
47027,
343,
549,
259,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
2248,
13,
18242,
796,
366,
33,
346,
343,
549,
259,
1
] |
What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll?
|
SELECT "Title" FROM table_3112 WHERE "Written by" = 'Bob Rosenfarb' AND "Directed by" = 'Richard Correll'
|
[
2061,
373,
262,
3670,
286,
262,
4471,
3194,
416,
5811,
15564,
16370,
65,
290,
7924,
416,
6219,
2744,
11252,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
3132,
1065,
33411,
366,
25354,
416,
1,
796,
705,
18861,
15564,
16370,
65,
6,
5357,
366,
13470,
276,
416,
1,
796,
705,
22245,
2744,
11252,
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
] |
[
2061,
373,
262,
3670,
286,
262,
4471,
3194,
416,
5811,
15564,
16370,
65,
290,
7924,
416,
6219,
2744,
11252,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
3132,
1065,
33411,
366,
25354,
416,
1,
796,
705,
18861,
15564,
16370,
65,
6,
5357,
366,
13470,
276,
416,
1,
796,
705,
22245,
2744,
11252,
6
] |
Name the platforms for cityengine
|
SELECT platforms FROM table_19495707_1 WHERE application = "CityEngine"
|
[
5376,
262,
9554,
329,
1748,
18392,
46506,
9554,
16034,
3084,
62,
1129,
33781,
24038,
62,
16,
33411,
3586,
796,
366,
14941,
13798,
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,
9554,
329,
1748,
18392,
46506,
9554,
16034,
3084,
62,
1129,
33781,
24038,
62,
16,
33411,
3586,
796,
366,
14941,
13798,
1
] |
What was the time for Peter Berwick of Team Suzuki?
|
SELECT time FROM table_name_75 WHERE team = "suzuki" AND rider = "peter berwick"
|
[
2061,
373,
262,
640,
329,
5613,
4312,
16239,
286,
4816,
35807,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
2425,
33411,
1074,
796,
366,
2385,
89,
11308,
1,
5357,
17876,
796,
366,
79,
2357,
18157,
16239,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
329,
5613,
4312,
16239,
286,
4816,
35807,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
2425,
33411,
1074,
796,
366,
2385,
89,
11308,
1,
5357,
17876,
796,
366,
79,
2357,
18157,
16239,
1
] |
What is the Score of the game with a Record of 12 12?
|
SELECT "Score" FROM table_7558 WHERE "Record" = '12–12'
|
[
2061,
318,
262,
15178,
286,
262,
983,
351,
257,
13266,
286,
1105,
1105,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2425,
3365,
33411,
366,
23739,
1,
796,
705,
1065,
1906,
1065,
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
] |
[
2061,
318,
262,
15178,
286,
262,
983,
351,
257,
13266,
286,
1105,
1105,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2425,
3365,
33411,
366,
23739,
1,
796,
705,
1065,
1906,
1065,
6
] |
Who has a license of proprietary (available on inquiry)?
|
SELECT "Name" FROM table_54561 WHERE "License" = 'proprietary (available on inquiry)'
|
[
8241,
468,
257,
5964,
286,
20622,
357,
15182,
319,
12069,
19427,
46506,
366,
5376,
1,
16034,
3084,
62,
45326,
5333,
33411,
366,
34156,
1,
796,
705,
1676,
3448,
8527,
357,
15182,
319,
12069,
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
] |
[
8241,
468,
257,
5964,
286,
20622,
357,
15182,
319,
12069,
19427,
46506,
366,
5376,
1,
16034,
3084,
62,
45326,
5333,
33411,
366,
34156,
1,
796,
705,
1676,
3448,
8527,
357,
15182,
319,
12069,
33047
] |
what is the only week with more than 80,000 attendance
|
SELECT "week" FROM table_204_207 WHERE "attendance" > 80000
|
[
10919,
318,
262,
691,
1285,
351,
517,
621,
4019,
11,
830,
14858,
46506,
366,
10464,
1,
16034,
3084,
62,
18638,
62,
22745,
33411,
366,
1078,
437,
590,
1,
1875,
807,
2388
] |
[
1,
1,
1,
1,
1,
1,
1,
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,
691,
1285,
351,
517,
621,
4019,
11,
830,
14858,
46506,
366,
10464,
1,
16034,
3084,
62,
18638,
62,
22745,
33411,
366,
1078,
437,
590,
1,
1875,
807,
2388
] |
What is the score for the opponent Vancouver Canucks?
|
SELECT score FROM table_name_23 WHERE opponent = "vancouver canucks"
|
[
2061,
318,
262,
4776,
329,
262,
6125,
10930,
31252,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1954,
33411,
6125,
796,
366,
85,
10264,
460,
6238,
1
] |
[
1,
1,
1,
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,
6125,
10930,
31252,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1954,
33411,
6125,
796,
366,
85,
10264,
460,
6238,
1
] |
What is the Kanji for the Ayanami dd-45?
|
SELECT kanji FROM table_name_84 WHERE name = "ayanami dd-45"
|
[
2061,
318,
262,
14248,
7285,
329,
262,
317,
4121,
6277,
49427,
12,
2231,
30,
46506,
43998,
7285,
16034,
3084,
62,
3672,
62,
5705,
33411,
1438,
796,
366,
22931,
6277,
49427,
12,
2231,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14248,
7285,
329,
262,
317,
4121,
6277,
49427,
12,
2231,
30,
46506,
43998,
7285,
16034,
3084,
62,
3672,
62,
5705,
33411,
1438,
796,
366,
22931,
6277,
49427,
12,
2231,
1
] |
Which album had the note tape [tape echo]?
|
SELECT "Album" FROM table_49455 WHERE "Note" = 'tape [tape echo]'
|
[
13828,
5062,
550,
262,
3465,
9154,
685,
83,
1758,
9809,
60,
30,
46506,
366,
2348,
4435,
1,
16034,
3084,
62,
2920,
30505,
33411,
366,
6425,
1,
796,
705,
83,
1758,
685,
83,
1758,
9809,
49946
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5062,
550,
262,
3465,
9154,
685,
83,
1758,
9809,
60,
30,
46506,
366,
2348,
4435,
1,
16034,
3084,
62,
2920,
30505,
33411,
366,
6425,
1,
796,
705,
83,
1758,
685,
83,
1758,
9809,
49946
] |
Find the name of instructors who are advising more than one student.
|
SELECT T1.name FROM instructor AS T1 JOIN advisor AS T2 ON T1.id = T2.i_id GROUP BY T2.i_id HAVING COUNT(*) > 1
|
[
16742,
262,
1438,
286,
33667,
508,
389,
30341,
517,
621,
530,
3710,
13,
46506,
309,
16,
13,
3672,
16034,
21187,
7054,
309,
16,
32357,
1268,
20685,
7054,
309,
17,
6177,
309,
16,
13,
312,
796,
309,
17,
13,
72,
62,
312,
44441,
11050,
309,
17,
13,
72,
62,
312,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
352
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
16742,
262,
1438,
286,
33667,
508,
389,
30341,
517,
621,
530,
3710,
13,
46506,
309,
16,
13,
3672,
16034,
21187,
7054,
309,
16,
32357,
1268,
20685,
7054,
309,
17,
6177,
309,
16,
13,
312,
796,
309,
17,
13,
72,
62,
312,
44441,
11050,
309,
17,
13,
72,
62,
312,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
352
] |
flights from CHARLOTTE to BALTIMORE
|
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 = 'CHARLOTTE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
|
[
2704,
2337,
422,
28521,
43,
2394,
9328,
284,
347,
31429,
3955,
1581,
33635,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
38019,
43,
2394,
9328,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
33,
31429,
3955,
6965,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2704,
2337,
422,
28521,
43,
2394,
9328,
284,
347,
31429,
3955,
1581,
33635,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
38019,
43,
2394,
9328,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
33,
31429,
3955,
6965,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189
] |
is there a flight leaving 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 = 'ATLANTA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
|
[
271,
612,
257,
5474,
4305,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
8202,
41924,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
271,
612,
257,
5474,
4305,
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,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
8202,
41924,
6,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
1404,
25697,
5603,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189
] |
What Nationality is the Pick that is 116?
|
SELECT nationality FROM table_name_92 WHERE pick = 116
|
[
2061,
2351,
414,
318,
262,
12346,
326,
318,
18693,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
5892,
33411,
2298,
796,
18693
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] |
[
2061,
2351,
414,
318,
262,
12346,
326,
318,
18693,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
5892,
33411,
2298,
796,
18693
] |
count the number of patients whose gender is m and diagnoses icd9 code is 4275?
|
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.icd9_code = "4275"
|
[
9127,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
40567,
14158,
67,
24,
2438,
318,
604,
23195,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
19,
23195,
1
] |
[
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5279,
318,
285,
290,
40567,
14158,
67,
24,
2438,
318,
604,
23195,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
19,
23195,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.