instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
which network comes after cootel in alphabetical order ? | SELECT "network" FROM table_203_202 WHERE id = (SELECT id FROM table_203_202 WHERE "network" = 'cootel') + 1 | [
4758,
3127,
2058,
706,
763,
313,
417,
287,
24830,
605,
1502,
5633,
46506,
366,
27349,
1,
16034,
3084,
62,
22416,
62,
19004,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
19004,
33411,
366,
27349,
1,
796,
705,
66,
1025,
417,
11537,
1343,
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
] | [
4758,
3127,
2058,
706,
763,
313,
417,
287,
24830,
605,
1502,
5633,
46506,
366,
27349,
1,
16034,
3084,
62,
22416,
62,
19004,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
19004,
33411,
366,
27349,
1,
796,
705,
66,
1025,
417,
11537,
1343,
352
] |
How many wins in OT are associated with a W(GWS)* of 0, a Season of 2009 10, and a L(OT) less than 0? | SELECT COUNT("W(OT)") FROM table_5907 WHERE "W(GWS)*" = '0' AND "Season" = '2009–10' AND "L(OT)" < '0' | [
2437,
867,
7864,
287,
21676,
389,
3917,
351,
257,
370,
7,
38,
19416,
27493,
286,
657,
11,
257,
7369,
286,
3717,
838,
11,
290,
257,
406,
7,
2394,
8,
1342,
621,
657,
30,
46506,
327,
28270,
7203,
54,
7,
2394,
8,
4943,
16034,
3084,
62,
3270,
2998,
33411,
366,
54,
7,
38,
19416,
27493,
1,
796,
705,
15,
6,
5357,
366,
18960,
1,
796,
705,
10531,
1906,
940,
6,
5357,
366,
43,
7,
2394,
16725,
1279,
705,
15,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7864,
287,
21676,
389,
3917,
351,
257,
370,
7,
38,
19416,
27493,
286,
657,
11,
257,
7369,
286,
3717,
838,
11,
290,
257,
406,
7,
2394,
8,
1342,
621,
657,
30,
46506,
327,
28270,
7203,
54,
7,
2394,
8,
4943,
16034,
3084,
62,
3270,
2998,
33411,
366,
54,
7,
38,
19416,
27493,
1,
796,
705,
15,
6,
5357,
366,
18960,
1,
796,
705,
10531,
1906,
940,
6,
5357,
366,
43,
7,
2394,
16725,
1279,
705,
15,
6
] |
Name the report for circuit of kyalami for south african republic trophy | SELECT report FROM table_name_8 WHERE circuit = "kyalami" AND race_name = "south african republic trophy" | [
5376,
262,
989,
329,
10349,
286,
479,
88,
282,
6277,
329,
5366,
6580,
37189,
17146,
16383,
46506,
989,
16034,
3084,
62,
3672,
62,
23,
33411,
10349,
796,
366,
2584,
282,
6277,
1,
5357,
3234,
62,
3672,
796,
366,
35782,
6580,
37189,
17146,
16383,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
989,
329,
10349,
286,
479,
88,
282,
6277,
329,
5366,
6580,
37189,
17146,
16383,
46506,
989,
16034,
3084,
62,
3672,
62,
23,
33411,
10349,
796,
366,
2584,
282,
6277,
1,
5357,
3234,
62,
3672,
796,
366,
35782,
6580,
37189,
17146,
16383,
1
] |
what is the days of hospital stay and admission time of subject id 14755? | SELECT demographic.days_stay, demographic.admittime FROM demographic WHERE demographic.subject_id = "14755" | [
10919,
318,
262,
1528,
286,
4436,
2652,
290,
13938,
640,
286,
2426,
4686,
1478,
38172,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1415,
38172,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
286,
4436,
2652,
290,
13938,
640,
286,
2426,
4686,
1478,
38172,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1415,
38172,
1
] |
Who does Rockstar Games use as a developer? | SELECT developer FROM table_name_97 WHERE publisher = "rockstar games" | [
8241,
857,
4631,
7364,
5776,
779,
355,
257,
8517,
30,
46506,
8517,
16034,
3084,
62,
3672,
62,
5607,
33411,
9991,
796,
366,
10823,
7364,
1830,
1
] | [
1,
1,
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,
857,
4631,
7364,
5776,
779,
355,
257,
8517,
30,
46506,
8517,
16034,
3084,
62,
3672,
62,
5607,
33411,
9991,
796,
366,
10823,
7364,
1830,
1
] |
What are the hometowns of gymnasts and the corresponding number of gymnasts. | SELECT Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown | [
2061,
389,
262,
20994,
82,
286,
38581,
5773,
290,
262,
11188,
1271,
286,
38581,
5773,
13,
46506,
367,
19191,
11,
327,
28270,
7,
28104,
16034,
38581,
459,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
38,
4948,
77,
459,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389,
44441,
11050,
309,
17,
13,
39,
19191
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20994,
82,
286,
38581,
5773,
290,
262,
11188,
1271,
286,
38581,
5773,
13,
46506,
367,
19191,
11,
327,
28270,
7,
28104,
16034,
38581,
459,
7054,
309,
16,
32357,
1268,
661,
7054,
309,
17,
6177,
309,
16,
13,
38,
4948,
77,
459,
62,
2389,
796,
309,
17,
13,
8061,
62,
2389,
44441,
11050,
309,
17,
13,
39,
19191
] |
does any microbiology test have been carried out on the abscess of patient 025-28600 since 30 months ago? | SELECT COUNT(*) FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-28600')) AND microlab.culturesite = 'abscess' AND DATETIME(microlab.culturetakentime) >= DATETIME(CURRENT_TIME(), '-30 month') | [
22437,
597,
24559,
1435,
1332,
423,
587,
5281,
503,
319,
262,
2352,
919,
286,
5827,
657,
1495,
12,
2078,
8054,
1201,
1542,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
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,
36629,
12,
2078,
8054,
6,
4008,
5357,
4580,
23912,
13,
40820,
942,
578,
796,
705,
8937,
919,
6,
5357
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22437,
597,
24559,
1435,
1332,
423,
587,
5281,
503,
319,
262,
2352,
919,
286,
5827,
657,
1495,
12,
2078,
8054,
1201,
1542,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
4580,
23912,
33411,
4580,
23912,
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,
36629,
12,
2078,
8054,
6,
4008,
5357,
4580,
23912,
13,
40820,
942,
578,
796,
705,
8937,
919,
6,
5357
] |
what is the number of patients whose diagnoses long title is acute glomerulonephritis with other specified pathological lesion in kidney and drug route is iv drip? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Acute glomerulonephritis with other specified pathological lesion in kidney" AND prescriptions.route = "IV DRIP" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
14352,
1278,
12057,
377,
505,
746,
27398,
351,
584,
7368,
42306,
10287,
295,
287,
21919,
290,
2563,
6339,
318,
21628,
36296,
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,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
6511,
62,
7839,
796,
366,
12832,
1133,
1278,
12057,
377
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
14352,
1278,
12057,
377,
505,
746,
27398,
351,
584,
7368,
42306,
10287,
295,
287,
21919,
290,
2563,
6339,
318,
21628,
36296,
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,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
6511,
62,
7839,
796,
366,
12832,
1133,
1278,
12057,
377
] |
what was the name of the drug, which patient 20801 had been prescribed two times until 09/2105? | SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 20801) AND STRFTIME('%y-%m', prescriptions.startdate) <= '2105-09' GROUP BY prescriptions.drug) AS t1 WHERE t1.c1 = 2 | [
10919,
373,
262,
1438,
286,
262,
2563,
11,
543,
5827,
27121,
486,
550,
587,
14798,
734,
1661,
1566,
7769,
14,
17,
13348,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688,
4475,
8,
7054,
269,
16,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
27121,
486,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
34092,
13,
9688,
4475,
8,
19841,
705,
17,
13348,
12,
2931,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
1438,
286,
262,
2563,
11,
543,
5827,
27121,
486,
550,
587,
14798,
734,
1661,
1566,
7769,
14,
17,
13348,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
327,
28270,
7,
18302,
24370,
13,
9688,
4475,
8,
7054,
269,
16,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
27121,
486,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
12,
4,
76,
3256,
34092,
13,
9688,
4475,
8,
19841,
705,
17,
13348,
12,
2931,
6
] |
What is the lowest to par of a player from australia with a score of 76-70-75-72=293? | SELECT MIN("To par") FROM table_58996 WHERE "Country" = 'australia' AND "Score" = '76-70-75-72=293' | [
2061,
318,
262,
9016,
284,
1582,
286,
257,
2137,
422,
38132,
1373,
544,
351,
257,
4776,
286,
8684,
12,
2154,
12,
2425,
12,
4761,
28,
31675,
30,
46506,
20625,
7203,
2514,
1582,
4943,
16034,
3084,
62,
3365,
38565,
33411,
366,
33921,
1,
796,
705,
64,
436,
1373,
544,
6,
5357,
366,
26595,
1,
796,
705,
4304,
12,
2154,
12,
2425,
12,
4761,
28,
31675,
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
] | [
2061,
318,
262,
9016,
284,
1582,
286,
257,
2137,
422,
38132,
1373,
544,
351,
257,
4776,
286,
8684,
12,
2154,
12,
2425,
12,
4761,
28,
31675,
30,
46506,
20625,
7203,
2514,
1582,
4943,
16034,
3084,
62,
3365,
38565,
33411,
366,
33921,
1,
796,
705,
64,
436,
1373,
544,
6,
5357,
366,
26595,
1,
796,
705,
4304,
12,
2154,
12,
2425,
12,
4761,
28,
31675,
6
] |
What is the service chage of the boat howitzers with a 12-pdr light destination? | SELECT "Service Charge" FROM table_35342 WHERE "Designation" = '12-pdr light' | [
2061,
318,
262,
2139,
442,
496,
286,
262,
8848,
703,
4224,
364,
351,
257,
1105,
12,
79,
7109,
1657,
10965,
30,
46506,
366,
16177,
20260,
1,
16034,
3084,
62,
2327,
31575,
33411,
366,
23067,
341,
1,
796,
705,
1065,
12,
79,
7109,
1657,
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,
318,
262,
2139,
442,
496,
286,
262,
8848,
703,
4224,
364,
351,
257,
1105,
12,
79,
7109,
1657,
10965,
30,
46506,
366,
16177,
20260,
1,
16034,
3084,
62,
2327,
31575,
33411,
366,
23067,
341,
1,
796,
705,
1065,
12,
79,
7109,
1657,
6
] |
What was the away team score at Hawthorn's home game? | SELECT away_team AS score FROM table_name_28 WHERE home_team = "hawthorn" | [
2061,
373,
262,
1497,
1074,
4776,
379,
41457,
1211,
338,
1363,
983,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2078,
33411,
1363,
62,
15097,
796,
366,
26615,
400,
1211,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1497,
1074,
4776,
379,
41457,
1211,
338,
1363,
983,
30,
46506,
1497,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2078,
33411,
1363,
62,
15097,
796,
366,
26615,
400,
1211,
1
] |
08-09 gp/jgp 2nd is 213 and ws points will be what maximum | SELECT MAX("WS Points") FROM table_73597 WHERE "08-09 GP/JGP 2nd" = '213' | [
2919,
12,
2931,
27809,
14,
73,
31197,
362,
358,
318,
28658,
290,
266,
82,
2173,
481,
307,
644,
5415,
46506,
25882,
7203,
19416,
11045,
4943,
16034,
3084,
62,
22,
2327,
5607,
33411,
366,
2919,
12,
2931,
14714,
14,
41,
16960,
362,
358,
1,
796,
705,
26427,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2919,
12,
2931,
27809,
14,
73,
31197,
362,
358,
318,
28658,
290,
266,
82,
2173,
481,
307,
644,
5415,
46506,
25882,
7203,
19416,
11045,
4943,
16034,
3084,
62,
22,
2327,
5607,
33411,
366,
2919,
12,
2931,
14714,
14,
41,
16960,
362,
358,
1,
796,
705,
26427,
6
] |
What year was Luis Gutierrez election | SELECT MIN("First elected") FROM table_18106 WHERE "Incumbent" = 'Luis Gutierrez' | [
2061,
614,
373,
20894,
48283,
3071,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
15801,
33411,
366,
25517,
2178,
298,
1,
796,
705,
25596,
271,
48283,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
20894,
48283,
3071,
46506,
20625,
7203,
5962,
7018,
4943,
16034,
3084,
62,
1507,
15801,
33411,
366,
25517,
2178,
298,
1,
796,
705,
25596,
271,
48283,
6
] |
What is the Result of the AFG Arena, St. Gallen Competition with a Score of 1 0? | SELECT result FROM table_name_92 WHERE venue = "afg arena, st. gallen" AND score = "1–0" | [
2061,
318,
262,
25414,
286,
262,
12341,
38,
10937,
11,
520,
13,
7096,
268,
27348,
351,
257,
15178,
286,
352,
657,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
5892,
33411,
14359,
796,
366,
1878,
70,
13478,
11,
336,
13,
7976,
268,
1,
5357,
4776,
796,
366,
16,
1906,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
25414,
286,
262,
12341,
38,
10937,
11,
520,
13,
7096,
268,
27348,
351,
257,
15178,
286,
352,
657,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
5892,
33411,
14359,
796,
366,
1878,
70,
13478,
11,
336,
13,
7976,
268,
1,
5357,
4776,
796,
366,
16,
1906,
15,
1
] |
Dunbar's number and the social graph. | SELECT COUNT(*) AS arity, A.OwnerUserId, Q.OwnerUserId FROM Posts AS A INNER JOIN Posts AS Q ON A.ParentId = Q.Id AND A.PostTypeId = 2 AND Q.PostTypeId = 1 AND Q.Score > 0 AND A.Score > 0 AND NOT A.OwnerUserId IS NULL AND NOT Q.OwnerUserId IS NULL GROUP BY A.OwnerUserId, Q.OwnerUserId | [
30128,
5657,
338,
1271,
290,
262,
1919,
4823,
13,
46506,
327,
28270,
7,
28104,
7054,
610,
414,
11,
317,
13,
42419,
12982,
7390,
11,
1195,
13,
42419,
12982,
7390,
16034,
12043,
7054,
317,
3268,
21479,
32357,
1268,
12043,
7054,
1195,
6177,
317,
13,
24546,
7390,
796,
1195,
13,
7390,
5357,
317,
13,
6307,
6030,
7390,
796,
362,
5357,
1195,
13,
6307,
6030,
7390,
796,
352,
5357,
1195,
13,
26595,
1875,
657,
5357,
317,
13,
26595,
1875,
657,
5357,
5626,
317,
13,
42419,
12982,
7390,
3180,
15697,
5357,
5626,
1195,
13,
42419,
12982,
7390,
3180,
15697,
44441,
11050,
317,
13,
42419
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
30128,
5657,
338,
1271,
290,
262,
1919,
4823,
13,
46506,
327,
28270,
7,
28104,
7054,
610,
414,
11,
317,
13,
42419,
12982,
7390,
11,
1195,
13,
42419,
12982,
7390,
16034,
12043,
7054,
317,
3268,
21479,
32357,
1268,
12043,
7054,
1195,
6177,
317,
13,
24546,
7390,
796,
1195,
13,
7390,
5357,
317,
13,
6307,
6030,
7390,
796,
362,
5357,
1195,
13,
6307,
6030,
7390,
796,
352,
5357,
1195,
13,
26595,
1875,
657,
5357,
317,
13,
26595,
1875,
657,
5357,
5626,
317,
13,
42419,
12982,
7390,
3180,
15697,
5357,
5626,
1195,
13,
42419,
12982,
7390,
3180,
15697,
44441,
11050,
317,
13,
42419
] |
Who had the highest rank with a 1st (m) of 129 and less than 255.6 points? | SELECT MAX("Rank") FROM table_37571 WHERE "1st (m)" = '129' AND "Points" < '255.6' | [
8241,
550,
262,
4511,
4279,
351,
257,
352,
301,
357,
76,
8,
286,
20248,
290,
1342,
621,
14280,
13,
21,
2173,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
22318,
4869,
33411,
366,
16,
301,
357,
76,
16725,
796,
705,
18741,
6,
5357,
366,
40710,
1,
1279,
705,
13381,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
262,
4511,
4279,
351,
257,
352,
301,
357,
76,
8,
286,
20248,
290,
1342,
621,
14280,
13,
21,
2173,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
22318,
4869,
33411,
366,
16,
301,
357,
76,
16725,
796,
705,
18741,
6,
5357,
366,
40710,
1,
1279,
705,
13381,
13,
21,
6
] |
What is the water area (sqmi) for the township at latitude 48.423224? | SELECT water__sqmi_ FROM table_18600760_20 WHERE latitude = "48.423224" | [
2061,
318,
262,
1660,
1989,
357,
31166,
11632,
8,
329,
262,
42823,
379,
32477,
4764,
13,
43356,
24137,
30,
46506,
1660,
834,
31166,
11632,
62,
16034,
3084,
62,
1507,
8054,
40761,
62,
1238,
33411,
32477,
796,
366,
2780,
13,
43356,
24137,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1660,
1989,
357,
31166,
11632,
8,
329,
262,
42823,
379,
32477,
4764,
13,
43356,
24137,
30,
46506,
1660,
834,
31166,
11632,
62,
16034,
3084,
62,
1507,
8054,
40761,
62,
1238,
33411,
32477,
796,
366,
2780,
13,
43356,
24137,
1
] |
what's the result with district being kansas 1 | SELECT result FROM table_1342359_15 WHERE district = "Kansas 1" | [
10919,
338,
262,
1255,
351,
4783,
852,
479,
6618,
352,
46506,
1255,
16034,
3084,
62,
19880,
1954,
3270,
62,
1314,
33411,
4783,
796,
366,
43451,
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
] | [
10919,
338,
262,
1255,
351,
4783,
852,
479,
6618,
352,
46506,
1255,
16034,
3084,
62,
19880,
1954,
3270,
62,
1314,
33411,
4783,
796,
366,
43451,
352,
1
] |
What is the BB Pop for the song with RIAA of G that was in a year earlier than 1961? | SELECT bb_pop FROM table_name_8 WHERE riaa = "g" AND year < 1961 | [
2061,
318,
262,
12597,
8099,
329,
262,
3496,
351,
371,
3539,
32,
286,
402,
326,
373,
287,
257,
614,
2961,
621,
20510,
30,
46506,
275,
65,
62,
12924,
16034,
3084,
62,
3672,
62,
23,
33411,
374,
544,
64,
796,
366,
70,
1,
5357,
614,
1279,
20510
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12597,
8099,
329,
262,
3496,
351,
371,
3539,
32,
286,
402,
326,
373,
287,
257,
614,
2961,
621,
20510,
30,
46506,
275,
65,
62,
12924,
16034,
3084,
62,
3672,
62,
23,
33411,
374,
544,
64,
796,
366,
70,
1,
5357,
614,
1279,
20510
] |
What is the fleet number of the locomotive with 1 quantity made? | SELECT fleet_number_s_ FROM table_name_59 WHERE quantity_made = "1" | [
2061,
318,
262,
11026,
1271,
286,
262,
33334,
19138,
351,
352,
12040,
925,
30,
46506,
11026,
62,
17618,
62,
82,
62,
16034,
3084,
62,
3672,
62,
3270,
33411,
12040,
62,
9727,
796,
366,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
11026,
1271,
286,
262,
33334,
19138,
351,
352,
12040,
925,
30,
46506,
11026,
62,
17618,
62,
82,
62,
16034,
3084,
62,
3672,
62,
3270,
33411,
12040,
62,
9727,
796,
366,
16,
1
] |
What is the college/junior team of player tyler myers, who has a pick less than 44? | SELECT "College/Junior Team" FROM table_76775 WHERE "Pick" < '44' AND "Player" = 'tyler myers' | [
2061,
318,
262,
4152,
14,
29741,
1504,
1074,
286,
2137,
1259,
1754,
616,
364,
11,
508,
468,
257,
2298,
1342,
621,
5846,
30,
46506,
366,
38951,
14,
22396,
1504,
4816,
1,
16034,
3084,
62,
32059,
2425,
33411,
366,
31686,
1,
1279,
705,
2598,
6,
5357,
366,
14140,
1,
796,
705,
774,
1754,
616,
364,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4152,
14,
29741,
1504,
1074,
286,
2137,
1259,
1754,
616,
364,
11,
508,
468,
257,
2298,
1342,
621,
5846,
30,
46506,
366,
38951,
14,
22396,
1504,
4816,
1,
16034,
3084,
62,
32059,
2425,
33411,
366,
31686,
1,
1279,
705,
2598,
6,
5357,
366,
14140,
1,
796,
705,
774,
1754,
616,
364,
6
] |
Who built the Jim Crawford car? | SELECT "Constructor" FROM table_74645 WHERE "Driver" = 'jim crawford' | [
8241,
3170,
262,
5395,
24499,
1097,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
22,
3510,
2231,
33411,
366,
32103,
1,
796,
705,
73,
320,
27784,
3841,
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
] | [
8241,
3170,
262,
5395,
24499,
1097,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
22,
3510,
2231,
33411,
366,
32103,
1,
796,
705,
73,
320,
27784,
3841,
6
] |
What is the lens zoom and aperture for the coolpix 5400? | SELECT "Lens (35mm equiv) zoom, aperture" FROM table_4400 WHERE "Model" = 'coolpix 5400' | [
2061,
318,
262,
10317,
19792,
290,
32729,
329,
262,
3608,
79,
844,
642,
7029,
30,
46506,
366,
49479,
357,
2327,
3020,
1602,
452,
8,
19792,
11,
32729,
1,
16034,
3084,
62,
2598,
405,
33411,
366,
17633,
1,
796,
705,
24494,
79,
844,
642,
7029,
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,
318,
262,
10317,
19792,
290,
32729,
329,
262,
3608,
79,
844,
642,
7029,
30,
46506,
366,
49479,
357,
2327,
3020,
1602,
452,
8,
19792,
11,
32729,
1,
16034,
3084,
62,
2598,
405,
33411,
366,
17633,
1,
796,
705,
24494,
79,
844,
642,
7029,
6
] |
give me the number of patients whose age is less than 70? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "70" | [
26535,
502,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
4317,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
366,
2154,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
4317,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
366,
2154,
1
] |
What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long? | SELECT COUNT("Avg.") FROM table_34231 WHERE "Yards" > '20' AND "Player" = 'darrius heyward-bey' AND "Long" < '80' | [
2061,
318,
7491,
48969,
14690,
904,
12,
21993,
338,
2811,
351,
517,
621,
1160,
5695,
290,
1342,
621,
4019,
890,
30,
46506,
327,
28270,
7203,
48997,
19570,
16034,
3084,
62,
2682,
25667,
33411,
366,
56,
1371,
1,
1875,
705,
1238,
6,
5357,
366,
14140,
1,
796,
705,
27455,
48969,
17207,
904,
12,
23454,
6,
5357,
366,
14617,
1,
1279,
705,
1795,
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
] | [
2061,
318,
7491,
48969,
14690,
904,
12,
21993,
338,
2811,
351,
517,
621,
1160,
5695,
290,
1342,
621,
4019,
890,
30,
46506,
327,
28270,
7203,
48997,
19570,
16034,
3084,
62,
2682,
25667,
33411,
366,
56,
1371,
1,
1875,
705,
1238,
6,
5357,
366,
14140,
1,
796,
705,
27455,
48969,
17207,
904,
12,
23454,
6,
5357,
366,
14617,
1,
1279,
705,
1795,
6
] |
how many patients with candidal esophagitis as their diagnosis short title have the drug route iv? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Candidal esophagitis" AND prescriptions.route = "IV" | [
4919,
867,
3871,
351,
2960,
282,
1658,
2522,
363,
11815,
355,
511,
13669,
1790,
3670,
423,
262,
2563,
6339,
21628,
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,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
41572,
11624,
1658,
2522,
363,
11815,
1,
5357,
34092,
13,
38629,
796,
366,
3824,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
351,
2960,
282,
1658,
2522,
363,
11815,
355,
511,
13669,
1790,
3670,
423,
262,
2563,
6339,
21628,
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,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
41572,
11624,
1658,
2522,
363,
11815,
1,
5357,
34092,
13,
38629,
796,
366,
3824,
1
] |
find the number of patients who had umbilical vein catheterization and died on or before 2126. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2126.0" AND procedures.short_title = "Umbilical vein cath" | [
19796,
262,
1271,
286,
3871,
508,
550,
20810,
346,
605,
27208,
3797,
43332,
1634,
290,
3724,
319,
393,
878,
362,
19420,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
19420,
13,
15,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
52,
2022,
346,
605,
27208,
32171,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
262,
1271,
286,
3871,
508,
550,
20810,
346,
605,
27208,
3797,
43332,
1634,
290,
3724,
319,
393,
878,
362,
19420,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
19420,
13,
15,
1,
5357,
9021,
13,
19509,
62,
7839,
796,
366,
52,
2022,
346,
605,
27208,
32171,
1
] |
What shows for 2002 when the 2004 is A, and the 2005 is 1r? | SELECT "2002" FROM table_45219 WHERE "2004" = 'a' AND "2005" = '1r' | [
2061,
2523,
329,
6244,
618,
262,
5472,
318,
317,
11,
290,
262,
5075,
318,
352,
81,
30,
46506,
366,
16942,
1,
16034,
3084,
62,
2231,
28896,
33411,
366,
15724,
1,
796,
705,
64,
6,
5357,
366,
14315,
1,
796,
705,
16,
81,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2523,
329,
6244,
618,
262,
5472,
318,
317,
11,
290,
262,
5075,
318,
352,
81,
30,
46506,
366,
16942,
1,
16034,
3084,
62,
2231,
28896,
33411,
366,
15724,
1,
796,
705,
64,
6,
5357,
366,
14315,
1,
796,
705,
16,
81,
6
] |
What other classes has Dr. Andrew Campbell taught in the past ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course_offering.semester < (SELECT SEMESTERalias0.semester_id FROM semester AS SEMESTERalias0 WHERE SEMESTERalias0.semester = 'WN' AND SEMESTERalias0.year = 2016) AND course.course_id = course_offering.course_id AND instructor.name LIKE '%Andrew Campbell%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.offering_id | [
2061,
584,
6097,
468,
1583,
13,
6858,
14327,
7817,
287,
262,
1613,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
33411,
1781,
62,
2364,
1586,
13,
325,
6880,
353,
1279,
357,
46506,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
62,
312,
16034,
24878,
7054,
48603,
1546,
5781,
26011,
15,
33411,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
796,
705,
29767,
6,
5357,
48603,
1546,
5781,
26011,
15,
13,
1941,
796,
1584
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
584,
6097,
468,
1583,
13,
6858,
14327,
7817,
287,
262,
1613,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
33411,
1781,
62,
2364,
1586,
13,
325,
6880,
353,
1279,
357,
46506,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
62,
312,
16034,
24878,
7054,
48603,
1546,
5781,
26011,
15,
33411,
48603,
1546,
5781,
26011,
15,
13,
325,
6880,
353,
796,
705,
29767,
6,
5357,
48603,
1546,
5781,
26011,
15,
13,
1941,
796,
1584
] |
What was the Tournament on May 2? | SELECT tournament FROM table_name_12 WHERE week = "may 2" | [
2061,
373,
262,
9595,
319,
1737,
362,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1065,
33411,
1285,
796,
366,
11261,
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
] | [
2061,
373,
262,
9595,
319,
1737,
362,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
1065,
33411,
1285,
796,
366,
11261,
362,
1
] |
What is the record of Tampa Bay Buccaneers? | SELECT record FROM table_name_69 WHERE opponent = "tampa bay buccaneers" | [
2061,
318,
262,
1700,
286,
15528,
4696,
37006,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3388,
33411,
6125,
796,
366,
83,
13299,
15489,
809,
535,
33547,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
286,
15528,
4696,
37006,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3388,
33411,
6125,
796,
366,
83,
13299,
15489,
809,
535,
33547,
1
] |
What is Score, when Attendance is 3,416? | SELECT score FROM table_name_29 WHERE attendance = "3,416" | [
2061,
318,
15178,
11,
618,
46502,
590,
318,
513,
11,
35218,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1959,
33411,
14858,
796,
366,
18,
11,
35218,
1
] | [
1,
1,
1,
1,
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,
15178,
11,
618,
46502,
590,
318,
513,
11,
35218,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1959,
33411,
14858,
796,
366,
18,
11,
35218,
1
] |
was there a urea nitrogen lab test performed on patient 15945 in 12/2105? | SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'urea nitrogen') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15945) AND STRFTIME('%y-%m', labevents.charttime) = '2105-12' | [
9776,
612,
257,
334,
21468,
23417,
2248,
1332,
6157,
319,
5827,
26422,
2231,
287,
1105,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
18242,
796,
705,
495,
64,
23417,
11537,
5357,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
26422,
2231,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
12
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9776,
612,
257,
334,
21468,
23417,
2248,
1332,
6157,
319,
5827,
26422,
2231,
287,
1105,
14,
17,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
18242,
796,
705,
495,
64,
23417,
11537,
5357,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
26422,
2231,
8,
5357,
19269,
9792,
12789,
10786,
4,
88,
12
] |
What is Deutsche Telekom's accreditation type? | SELECT "Accreditation type" FROM table_45494 WHERE "Network brand name" = 'deutsche telekom' | [
2061,
318,
36763,
14318,
74,
296,
338,
697,
42845,
2099,
30,
46506,
366,
17320,
42845,
2099,
1,
16034,
3084,
62,
2231,
39449,
33411,
366,
26245,
4508,
1438,
1,
796,
705,
2934,
30433,
5735,
74,
296,
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,
36763,
14318,
74,
296,
338,
697,
42845,
2099,
30,
46506,
366,
17320,
42845,
2099,
1,
16034,
3084,
62,
2231,
39449,
33411,
366,
26245,
4508,
1438,
1,
796,
705,
2934,
30433,
5735,
74,
296,
6
] |
show me the flights from DENVER to ATLANTA on friday | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND date_day.day_number = 25 AND date_day.month_number = 6 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DENVER' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
12860,
502,
262,
13956,
422,
37692,
5959,
284,
5161,
25697,
5603,
319,
1216,
2567,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
357,
34,
9050,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13956,
422,
37692,
5959,
284,
5161,
25697,
5603,
319,
1216,
2567,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
357,
34,
9050,
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
] |
how many times did scheider appear in the golden gloves event ? | SELECT COUNT(*) FROM table_200_31 WHERE "event" = 'golden gloves' | [
4919,
867,
1661,
750,
3897,
1304,
1656,
287,
262,
10861,
18051,
1785,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
2167,
62,
3132,
33411,
366,
15596,
1,
796,
705,
24267,
268,
18051,
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
] | [
4919,
867,
1661,
750,
3897,
1304,
1656,
287,
262,
10861,
18051,
1785,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
2167,
62,
3132,
33411,
366,
15596,
1,
796,
705,
24267,
268,
18051,
6
] |
how many ranks do not have notes ? | SELECT COUNT(*) FROM table_204_893 WHERE "notes" IS NULL | [
4919,
867,
9803,
466,
407,
423,
4710,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
49682,
33411,
366,
17815,
1,
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
] | [
4919,
867,
9803,
466,
407,
423,
4710,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
49682,
33411,
366,
17815,
1,
3180,
15697
] |
Which railroad is 112.6 kilometers from kingston? | SELECT "Name" FROM table_20629 WHERE "Km from Kingston" = '112.6' | [
13828,
24337,
318,
13539,
13,
21,
18212,
422,
5822,
3743,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
22136,
1959,
33411,
366,
42,
76,
422,
34612,
1,
796,
705,
14686,
13,
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
] | [
13828,
24337,
318,
13539,
13,
21,
18212,
422,
5822,
3743,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
22136,
1959,
33411,
366,
42,
76,
422,
34612,
1,
796,
705,
14686,
13,
21,
6
] |
What is the Third in the 1993-94 season where Philippe Caux was a lead? | SELECT third FROM table_name_39 WHERE lead = "philippe caux" AND season = "1993-94" | [
2061,
318,
262,
10467,
287,
262,
9656,
12,
5824,
1622,
810,
39393,
327,
14644,
373,
257,
1085,
30,
46506,
2368,
16034,
3084,
62,
3672,
62,
2670,
33411,
1085,
796,
366,
746,
8908,
68,
269,
14644,
1,
5357,
1622,
796,
366,
24465,
12,
5824,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10467,
287,
262,
9656,
12,
5824,
1622,
810,
39393,
327,
14644,
373,
257,
1085,
30,
46506,
2368,
16034,
3084,
62,
3672,
62,
2670,
33411,
1085,
796,
366,
746,
8908,
68,
269,
14644,
1,
5357,
1622,
796,
366,
24465,
12,
5824,
1
] |
which spanish tribunal was the only one to not have any autos da fe during this time period ? | SELECT "tribunal" FROM table_203_303 WHERE "number of autos da fe" = 0 | [
4758,
599,
7115,
30105,
373,
262,
691,
530,
284,
407,
423,
597,
44619,
12379,
730,
1141,
428,
640,
2278,
5633,
46506,
366,
83,
822,
18835,
1,
16034,
3084,
62,
22416,
62,
22572,
33411,
366,
17618,
286,
44619,
12379,
730,
1,
796,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
599,
7115,
30105,
373,
262,
691,
530,
284,
407,
423,
597,
44619,
12379,
730,
1141,
428,
640,
2278,
5633,
46506,
366,
83,
822,
18835,
1,
16034,
3084,
62,
22416,
62,
22572,
33411,
366,
17618,
286,
44619,
12379,
730,
1,
796,
657
] |
Please show the themes of competitions with host cities having populations larger than 1000. | SELECT T2.theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.city_id = T2.host_city_id WHERE T1.population > 1000 | [
5492,
905,
262,
13460,
286,
24174,
351,
2583,
4736,
1719,
9684,
4025,
621,
8576,
13,
46506,
309,
17,
13,
43810,
16034,
1748,
7054,
309,
16,
32357,
1268,
5318,
62,
5589,
15620,
7054,
309,
17,
6177,
309,
16,
13,
19205,
62,
312,
796,
309,
17,
13,
4774,
62,
19205,
62,
312,
33411,
309,
16,
13,
39748,
1875,
8576
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
905,
262,
13460,
286,
24174,
351,
2583,
4736,
1719,
9684,
4025,
621,
8576,
13,
46506,
309,
17,
13,
43810,
16034,
1748,
7054,
309,
16,
32357,
1268,
5318,
62,
5589,
15620,
7054,
309,
17,
6177,
309,
16,
13,
19205,
62,
312,
796,
309,
17,
13,
4774,
62,
19205,
62,
312,
33411,
309,
16,
13,
39748,
1875,
8576
] |
what are the three most common drugs prescribed to patients with age 40s within 2 months after they were diagnosed with anemia nos, since 4 years ago? | 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 = 'anemia nos') AND DATETIME(diagnoses_icd.charttime) >= DATETIME(CURRENT_TIME(), '-4 year')) AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE admissions.age BETWEEN 40 AND 49 AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-4 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.startdate AND DATETIME(t2.startdate) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 month') GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 3 | [
10919,
389,
262,
1115,
749,
2219,
5010,
14798,
284,
3871,
351,
2479,
2319,
82,
1626,
362,
1933,
706,
484,
547,
14641,
351,
281,
22859,
43630,
11,
1201,
604,
812,
2084,
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
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
1115,
749,
2219,
5010,
14798,
284,
3871,
351,
2479,
2319,
82,
1626,
362,
1933,
706,
484,
547,
14641,
351,
281,
22859,
43630,
11,
1201,
604,
812,
2084,
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
] |
What is the release date of the mm series, which has the title tom thumb in trouble? | SELECT "Release date" FROM table_62780 WHERE "Series" = 'mm' AND "Title" = 'tom thumb in trouble' | [
2061,
318,
262,
2650,
3128,
286,
262,
8085,
2168,
11,
543,
468,
262,
3670,
16667,
15683,
287,
5876,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
49856,
1795,
33411,
366,
27996,
1,
796,
705,
3020,
6,
5357,
366,
19160,
1,
796,
705,
39532,
15683,
287,
5876,
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,
318,
262,
2650,
3128,
286,
262,
8085,
2168,
11,
543,
468,
262,
3670,
16667,
15683,
287,
5876,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
49856,
1795,
33411,
366,
27996,
1,
796,
705,
3020,
6,
5357,
366,
19160,
1,
796,
705,
39532,
15683,
287,
5876,
6
] |
What is the highest Population, when Per Capita Income is '$17,168', and when Number of Households is greater than 3,287? | SELECT MAX("Population") FROM table_60729 WHERE "Per capita income" = '$17,168' AND "Number of households" > '3,287' | [
2061,
318,
262,
4511,
20133,
11,
618,
2448,
4476,
5350,
19003,
318,
705,
3,
1558,
11,
14656,
3256,
290,
618,
7913,
286,
37306,
82,
318,
3744,
621,
513,
11,
27800,
30,
46506,
25882,
7203,
45251,
4943,
16034,
3084,
62,
31980,
1959,
33411,
366,
5990,
21344,
3739,
1,
796,
705,
3,
1558,
11,
14656,
6,
5357,
366,
15057,
286,
12503,
1,
1875,
705,
18,
11,
27800,
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
] | [
2061,
318,
262,
4511,
20133,
11,
618,
2448,
4476,
5350,
19003,
318,
705,
3,
1558,
11,
14656,
3256,
290,
618,
7913,
286,
37306,
82,
318,
3744,
621,
513,
11,
27800,
30,
46506,
25882,
7203,
45251,
4943,
16034,
3084,
62,
31980,
1959,
33411,
366,
5990,
21344,
3739,
1,
796,
705,
3,
1558,
11,
14656,
6,
5357,
366,
15057,
286,
12503,
1,
1875,
705,
18,
11,
27800,
6
] |
how many days have it been since the first time that patient 97330 had received a white blood cells lab test during their current hospital visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', labevents.charttime)) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'white blood cells') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 97330 AND admissions.dischtime IS NULL) ORDER BY labevents.charttime LIMIT 1 | [
4919,
867,
1528,
423,
340,
587,
1201,
262,
717,
640,
326,
5827,
860,
4790,
1270,
550,
2722,
257,
2330,
2910,
4778,
2248,
1332,
1141,
511,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
2248,
31534,
13,
40926,
2435,
4008,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
18242,
796,
705,
11186,
2910,
4778,
11537,
5357,
2248,
31534,
13
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
423,
340,
587,
1201,
262,
717,
640,
326,
5827,
860,
4790,
1270,
550,
2722,
257,
2330,
2910,
4778,
2248,
1332,
1141,
511,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
2248,
31534,
13,
40926,
2435,
4008,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,
312,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
18242,
796,
705,
11186,
2910,
4778,
11537,
5357,
2248,
31534,
13
] |
What was the crowd attendance for the game with an away team score of 14.10 (94)? | SELECT SUM("Crowd") FROM table_57794 WHERE "Away team score" = '14.10 (94)' | [
2061,
373,
262,
4315,
14858,
329,
262,
983,
351,
281,
1497,
1074,
4776,
286,
1478,
13,
940,
357,
5824,
19427,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
49447,
5824,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1415,
13,
940,
357,
5824,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4315,
14858,
329,
262,
983,
351,
281,
1497,
1074,
4776,
286,
1478,
13,
940,
357,
5824,
19427,
46506,
35683,
7203,
34,
3986,
4943,
16034,
3084,
62,
49447,
5824,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1415,
13,
940,
357,
5824,
33047
] |
provide marital status as well as preferred language of the patient with patient id 2560. | SELECT demographic.marital_status, demographic.language FROM demographic WHERE demographic.subject_id = "2560" | [
15234,
485,
29555,
3722,
355,
880,
355,
9871,
3303,
286,
262,
5827,
351,
5827,
4686,
1679,
1899,
13,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
16129,
16034,
16728,
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
] | [
15234,
485,
29555,
3722,
355,
880,
355,
9871,
3303,
286,
262,
5827,
351,
5827,
4686,
1679,
1899,
13,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
16129,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
Who is the opponent in the fight of 1 round when the record is 18-7? | SELECT opponent FROM table_name_81 WHERE round = "1" AND record = "18-7" | [
8241,
318,
262,
6125,
287,
262,
1907,
286,
352,
2835,
618,
262,
1700,
318,
1248,
12,
22,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
6659,
33411,
2835,
796,
366,
16,
1,
5357,
1700,
796,
366,
1507,
12,
22,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
6125,
287,
262,
1907,
286,
352,
2835,
618,
262,
1700,
318,
1248,
12,
22,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
6659,
33411,
2835,
796,
366,
16,
1,
5357,
1700,
796,
366,
1507,
12,
22,
1
] |
provide the number of patients with procedure icd9 code 3606 who were admitted in hospital for more than 23 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "23" AND procedures.icd9_code = "3606" | [
15234,
485,
262,
1271,
286,
3871,
351,
8771,
14158,
67,
24,
2438,
11470,
21,
508,
547,
6848,
287,
4436,
329,
517,
621,
2242,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
12545,
62,
31712,
1875,
366,
1954,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
15277,
21,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
14158,
67,
24,
2438,
11470,
21,
508,
547,
6848,
287,
4436,
329,
517,
621,
2242,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
13,
12545,
62,
31712,
1875,
366,
1954,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
15277,
21,
1
] |
Find the number of items that did not receive any review. | SELECT COUNT(*) FROM item WHERE NOT i_id IN (SELECT i_id FROM review) | [
16742,
262,
1271,
286,
3709,
326,
750,
407,
3328,
597,
2423,
13,
46506,
327,
28270,
7,
28104,
16034,
2378,
33411,
5626,
1312,
62,
312,
3268,
357,
46506,
1312,
62,
312,
16034,
2423,
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
] | [
16742,
262,
1271,
286,
3709,
326,
750,
407,
3328,
597,
2423,
13,
46506,
327,
28270,
7,
28104,
16034,
2378,
33411,
5626,
1312,
62,
312,
3268,
357,
46506,
1312,
62,
312,
16034,
2423,
8
] |
What is the region of the Catalog that is in cd format and has a label a&m/canyon? | SELECT "Region" FROM table_14781 WHERE "Format" = 'cd' AND "Label" = 'a&m/canyon' | [
2061,
318,
262,
3814,
286,
262,
44515,
326,
318,
287,
22927,
5794,
290,
468,
257,
6167,
257,
5,
76,
14,
66,
21330,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
1415,
49703,
33411,
366,
26227,
1,
796,
705,
10210,
6,
5357,
366,
33986,
1,
796,
705,
64,
5,
76,
14,
66,
21330,
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,
318,
262,
3814,
286,
262,
44515,
326,
318,
287,
22927,
5794,
290,
468,
257,
6167,
257,
5,
76,
14,
66,
21330,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
1415,
49703,
33411,
366,
26227,
1,
796,
705,
10210,
6,
5357,
366,
33986,
1,
796,
705,
64,
5,
76,
14,
66,
21330,
6
] |
What is Name, when Best is 1:15.673? | SELECT "Name" FROM table_49036 WHERE "Best" = '1:15.673' | [
2061,
318,
6530,
11,
618,
6705,
318,
352,
25,
1314,
13,
45758,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
31503,
2623,
33411,
366,
13014,
1,
796,
705,
16,
25,
1314,
13,
45758,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
6530,
11,
618,
6705,
318,
352,
25,
1314,
13,
45758,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
31503,
2623,
33411,
366,
13014,
1,
796,
705,
16,
25,
1314,
13,
45758,
6
] |
What director grossed $200,512,643 | SELECT director FROM table_name_96 WHERE gross = "$200,512,643" | [
2061,
3437,
10319,
276,
720,
2167,
11,
25836,
11,
41813,
46506,
3437,
16034,
3084,
62,
3672,
62,
4846,
33411,
10319,
796,
17971,
2167,
11,
25836,
11,
41813,
1
] | [
1,
1,
1,
1,
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,
3437,
10319,
276,
720,
2167,
11,
25836,
11,
41813,
46506,
3437,
16034,
3084,
62,
3672,
62,
4846,
33411,
10319,
796,
17971,
2167,
11,
25836,
11,
41813,
1
] |
What is the away team score when the home team scored 11.11 (77)? | SELECT "Away team score" FROM table_55060 WHERE "Home team score" = '11.11 (77)' | [
2061,
318,
262,
1497,
1074,
4776,
618,
262,
1363,
1074,
7781,
1367,
13,
1157,
357,
3324,
19427,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
22730,
1899,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1157,
13,
1157,
357,
3324,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1497,
1074,
4776,
618,
262,
1363,
1074,
7781,
1367,
13,
1157,
357,
3324,
19427,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
22730,
1899,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1157,
13,
1157,
357,
3324,
33047
] |
List the states which have between 2 to 4 staffs living there. | SELECT T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.state_province_county HAVING COUNT(*) BETWEEN 2 AND 4 | [
8053,
262,
2585,
543,
423,
1022,
362,
284,
604,
3085,
82,
2877,
612,
13,
46506,
309,
16,
13,
5219,
62,
15234,
924,
62,
9127,
88,
16034,
3060,
16746,
7054,
309,
16,
32357,
1268,
9983,
7054,
309,
17,
6177,
309,
16,
13,
21975,
62,
312,
796,
309,
17,
13,
28120,
62,
21975,
62,
312,
44441,
11050,
309,
16,
13,
5219,
62,
15234,
924,
62,
9127,
88,
367,
10116,
2751,
327,
28270,
7,
28104,
38651,
8845,
1677,
362,
5357,
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
] | [
8053,
262,
2585,
543,
423,
1022,
362,
284,
604,
3085,
82,
2877,
612,
13,
46506,
309,
16,
13,
5219,
62,
15234,
924,
62,
9127,
88,
16034,
3060,
16746,
7054,
309,
16,
32357,
1268,
9983,
7054,
309,
17,
6177,
309,
16,
13,
21975,
62,
312,
796,
309,
17,
13,
28120,
62,
21975,
62,
312,
44441,
11050,
309,
16,
13,
5219,
62,
15234,
924,
62,
9127,
88,
367,
10116,
2751,
327,
28270,
7,
28104,
38651,
8845,
1677,
362,
5357,
604
] |
Which Leading Scorer has an Opponent of @ seattle, and a Record of 14-16? | SELECT Leading AS scorer FROM table_name_59 WHERE opponent = "@ seattle" AND record = "14-16" | [
13828,
43225,
1446,
11934,
468,
281,
9385,
3471,
286,
2488,
384,
1999,
11,
290,
257,
13266,
286,
1478,
12,
1433,
30,
46506,
43225,
7054,
30664,
16034,
3084,
62,
3672,
62,
3270,
33411,
6125,
796,
44212,
384,
1999,
1,
5357,
1700,
796,
366,
1415,
12,
1433,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
43225,
1446,
11934,
468,
281,
9385,
3471,
286,
2488,
384,
1999,
11,
290,
257,
13266,
286,
1478,
12,
1433,
30,
46506,
43225,
7054,
30664,
16034,
3084,
62,
3672,
62,
3270,
33411,
6125,
796,
44212,
384,
1999,
1,
5357,
1700,
796,
366,
1415,
12,
1433,
1
] |
Name the genre for release-year of firsst charted less than 1980 and origin of jamaica | SELECT genre FROM table_name_92 WHERE release_year_of_first_charted_record < 1980 AND country_of_origin = "jamaica" | [
5376,
262,
12121,
329,
2650,
12,
1941,
286,
277,
17062,
301,
8262,
276,
1342,
621,
7169,
290,
8159,
286,
474,
1689,
3970,
46506,
12121,
16034,
3084,
62,
3672,
62,
5892,
33411,
2650,
62,
1941,
62,
1659,
62,
11085,
62,
354,
19112,
62,
22105,
1279,
7169,
5357,
1499,
62,
1659,
62,
47103,
796,
366,
73,
1689,
3970,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12121,
329,
2650,
12,
1941,
286,
277,
17062,
301,
8262,
276,
1342,
621,
7169,
290,
8159,
286,
474,
1689,
3970,
46506,
12121,
16034,
3084,
62,
3672,
62,
5892,
33411,
2650,
62,
1941,
62,
1659,
62,
11085,
62,
354,
19112,
62,
22105,
1279,
7169,
5357,
1499,
62,
1659,
62,
47103,
796,
366,
73,
1689,
3970,
1
] |
when was the first time patient 025-10988's heartrate was greater than 97.0 since 4 days ago. | 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 = '025-10988')) AND vitalperiodic.heartrate > 97.0 AND NOT vitalperiodic.heartrate IS NULL AND DATETIME(vitalperiodic.observationtime) >= DATETIME(CURRENT_TIME(), '-4 day') ORDER BY vitalperiodic.observationtime LIMIT 1 | [
12518,
373,
262,
717,
640,
5827,
657,
1495,
12,
14454,
3459,
338,
2612,
4873,
373,
3744,
621,
10111,
13,
15,
1201,
604,
1528,
2084,
13,
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,
36629,
12,
14454,
3459,
6,
4008,
5357,
9204,
41007,
291,
13,
11499,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
373,
262,
717,
640,
5827,
657,
1495,
12,
14454,
3459,
338,
2612,
4873,
373,
3744,
621,
10111,
13,
15,
1201,
604,
1528,
2084,
13,
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,
36629,
12,
14454,
3459,
6,
4008,
5357,
9204,
41007,
291,
13,
11499,
4873
] |
What are the highest points that Emmitt Smith had? | SELECT MAX(points) FROM table_name_96 WHERE player = "emmitt smith" | [
2061,
389,
262,
4511,
2173,
326,
2295,
20124,
4176,
550,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
2137,
796,
366,
368,
20124,
895,
342,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
4511,
2173,
326,
2295,
20124,
4176,
550,
30,
46506,
25882,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
4846,
33411,
2137,
796,
366,
368,
20124,
895,
342,
1
] |
Which Games has a Season of 2003/2004, and a Red Cards smaller than 5? | SELECT AVG("Games") FROM table_44064 WHERE "Season" = '2003/2004' AND "Red Cards" < '5' | [
13828,
5776,
468,
257,
7369,
286,
5816,
14,
15724,
11,
290,
257,
2297,
15824,
4833,
621,
642,
30,
46506,
35224,
7203,
24474,
4943,
16034,
3084,
62,
25644,
2414,
33411,
366,
18960,
1,
796,
705,
16088,
14,
15724,
6,
5357,
366,
7738,
15824,
1,
1279,
705,
20,
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
] | [
13828,
5776,
468,
257,
7369,
286,
5816,
14,
15724,
11,
290,
257,
2297,
15824,
4833,
621,
642,
30,
46506,
35224,
7203,
24474,
4943,
16034,
3084,
62,
25644,
2414,
33411,
366,
18960,
1,
796,
705,
16088,
14,
15724,
6,
5357,
366,
7738,
15824,
1,
1279,
705,
20,
6
] |
Which Character has a Category of favourite naya sadasya? | SELECT "Character" FROM table_58880 WHERE "Category" = 'favourite naya sadasya' | [
13828,
15684,
468,
257,
21743,
286,
12507,
299,
11729,
6507,
292,
3972,
30,
46506,
366,
27275,
1,
16034,
3084,
62,
39118,
1795,
33411,
366,
27313,
1,
796,
705,
69,
29023,
578,
299,
11729,
6507,
292,
3972,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15684,
468,
257,
21743,
286,
12507,
299,
11729,
6507,
292,
3972,
30,
46506,
366,
27275,
1,
16034,
3084,
62,
39118,
1795,
33411,
366,
27313,
1,
796,
705,
69,
29023,
578,
299,
11729,
6507,
292,
3972,
6
] |
What is the exercise when the equipment is heart rate monitor, water and towel? | SELECT "Exercise" FROM table_74123 WHERE "Equipment" = 'Heart rate monitor, water and towel' | [
2061,
318,
262,
5517,
618,
262,
5112,
318,
2612,
2494,
5671,
11,
1660,
290,
24808,
30,
46506,
366,
3109,
23697,
1,
16034,
3084,
62,
4524,
10163,
33411,
366,
23588,
4667,
1,
796,
705,
28541,
2494,
5671,
11,
1660,
290,
24808,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5517,
618,
262,
5112,
318,
2612,
2494,
5671,
11,
1660,
290,
24808,
30,
46506,
366,
3109,
23697,
1,
16034,
3084,
62,
4524,
10163,
33411,
366,
23588,
4667,
1,
796,
705,
28541,
2494,
5671,
11,
1660,
290,
24808,
6
] |
My edits in post histories. Identify all my edits, even if they didn't have to go through review. If they went through review they'll only show up if they got accepted. The list will not include rollbacks, just real edits. The result includes post type (Q/A), OP, post title and edit comment. There is a link to the post and a link to the diff in its revision history. See http://meta.stackexchange.com/a/284183/188688 for context and a place to post comments. | SELECT ht.Name AS Edit, h.CreationDate AS Date, pt.Name AS Type, op.DisplayName AS "original_poster", h.PostId AS "post_link", CONCAT('site://posts/', h.PostId, '/revisions#rev-arrow-', LOWER(h.RevisionGUID), '|', h.Comment) AS Revisions FROM PostHistory AS h JOIN PostHistoryTypes AS ht ON h.PostHistoryTypeId = ht.Id JOIN Posts AS p ON h.PostId = p.Id JOIN PostTypes AS pt ON p.PostTypeId = pt.Id LEFT JOIN Users AS op ON p.OwnerUserId = op.Id WHERE ht.Id BETWEEN 4 AND 6 AND h.UserId = '##UserId##' ORDER BY h.CreationDate DESC | [
3666,
31671,
287,
1281,
25985,
13,
11440,
1958,
477,
616,
31671,
11,
772,
611,
484,
1422,
470,
423,
284,
467,
832,
2423,
13,
1002,
484,
1816,
832,
2423,
484,
1183,
691,
905,
510,
611,
484,
1392,
6292,
13,
383,
1351,
481,
407,
2291,
4836,
10146,
11,
655,
1103,
31671,
13,
383,
1255,
3407,
1281,
2099,
357,
48,
14,
32,
828,
13349,
11,
1281,
3670,
290,
4370,
2912,
13,
1318,
318,
257,
2792,
284,
262,
1281,
290,
257,
2792,
284,
262,
814,
287,
663,
18440,
2106,
13,
4091,
2638,
1378,
28961,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
64
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
31671,
287,
1281,
25985,
13,
11440,
1958,
477,
616,
31671,
11,
772,
611,
484,
1422,
470,
423,
284,
467,
832,
2423,
13,
1002,
484,
1816,
832,
2423,
484,
1183,
691,
905,
510,
611,
484,
1392,
6292,
13,
383,
1351,
481,
407,
2291,
4836,
10146,
11,
655,
1103,
31671,
13,
383,
1255,
3407,
1281,
2099,
357,
48,
14,
32,
828,
13349,
11,
1281,
3670,
290,
4370,
2912,
13,
1318,
318,
257,
2792,
284,
262,
1281,
290,
257,
2792,
284,
262,
814,
287,
663,
18440,
2106,
13,
4091,
2638,
1378,
28961,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
64
] |
Which address has both members younger than 30 and members older than 40? | SELECT address FROM member WHERE age < 30 INTERSECT SELECT address FROM member WHERE age > 40 | [
13828,
2209,
468,
1111,
1866,
7099,
621,
1542,
290,
1866,
4697,
621,
2319,
30,
46506,
2209,
16034,
2888,
33411,
2479,
1279,
1542,
17828,
4877,
9782,
33493,
2209,
16034,
2888,
33411,
2479,
1875,
2319
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2209,
468,
1111,
1866,
7099,
621,
1542,
290,
1866,
4697,
621,
2319,
30,
46506,
2209,
16034,
2888,
33411,
2479,
1279,
1542,
17828,
4877,
9782,
33493,
2209,
16034,
2888,
33411,
2479,
1875,
2319
] |
Name the state class for iowa admitted to the union december 28, 1846 | SELECT "State (class)" FROM table_25105 WHERE "Reason for change" = 'Iowa admitted to the Union December 28, 1846' | [
5376,
262,
1181,
1398,
329,
1312,
8455,
6848,
284,
262,
6441,
390,
3273,
2579,
11,
1248,
3510,
46506,
366,
9012,
357,
4871,
16725,
16034,
3084,
62,
1495,
13348,
33411,
366,
45008,
329,
1487,
1,
796,
705,
45186,
6848,
284,
262,
4479,
3426,
2579,
11,
1248,
3510,
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
] | [
5376,
262,
1181,
1398,
329,
1312,
8455,
6848,
284,
262,
6441,
390,
3273,
2579,
11,
1248,
3510,
46506,
366,
9012,
357,
4871,
16725,
16034,
3084,
62,
1495,
13348,
33411,
366,
45008,
329,
1487,
1,
796,
705,
45186,
6848,
284,
262,
4479,
3426,
2579,
11,
1248,
3510,
6
] |
calculate the number of patients who have been in the 481 wards during the last year. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 481 AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
423,
587,
287,
262,
4764,
16,
32710,
1141,
262,
938,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
904,
312,
796,
4764,
16,
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,
16,
614,
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
] | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
423,
587,
287,
262,
4764,
16,
32710,
1141,
262,
938,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
904,
312,
796,
4764,
16,
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,
16,
614,
11537
] |
the artist ash only had one song that appeared in the o.c. what is the name of that song ? | SELECT "song" FROM table_203_357 WHERE "artist" = 'ash' | [
1169,
6802,
12530,
691,
550,
530,
3496,
326,
4120,
287,
262,
267,
13,
66,
13,
644,
318,
262,
1438,
286,
326,
3496,
5633,
46506,
366,
34050,
1,
16034,
3084,
62,
22416,
62,
27277,
33411,
366,
49016,
1,
796,
705,
1077,
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
] | [
1169,
6802,
12530,
691,
550,
530,
3496,
326,
4120,
287,
262,
267,
13,
66,
13,
644,
318,
262,
1438,
286,
326,
3496,
5633,
46506,
366,
34050,
1,
16034,
3084,
62,
22416,
62,
27277,
33411,
366,
49016,
1,
796,
705,
1077,
6
] |
What are the dates that have an average sea level pressure between 303 and 31, and count them by a bar chart, show y-axis from high to low order. | SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 ORDER BY COUNT(date) DESC | [
2061,
389,
262,
9667,
326,
423,
281,
2811,
5417,
1241,
3833,
1022,
30727,
290,
3261,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
905,
331,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
1612,
62,
8583,
62,
5715,
62,
36151,
62,
45457,
38651,
8845,
1677,
1542,
13,
18,
5357,
3261,
38678,
11050,
327,
28270,
7,
4475,
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
] | [
2061,
389,
262,
9667,
326,
423,
281,
2811,
5417,
1241,
3833,
1022,
30727,
290,
3261,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
905,
331,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
1612,
62,
8583,
62,
5715,
62,
36151,
62,
45457,
38651,
8845,
1677,
1542,
13,
18,
5357,
3261,
38678,
11050,
327,
28270,
7,
4475,
8,
22196,
34
] |
had the labetalol, hydrocodone 5 mg-acetaminophen 325 mg tablet or morphine sulfate been prescribed for patient 007-849 during the current hospital visit? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-849' AND patient.hospitaldischargetime IS NULL)) AND medication.drugname IN ('labetalol', 'hydrocodone 5 mg-acetaminophen 325 mg tablet', 'morphine sulfate') | [
18108,
262,
2248,
316,
282,
349,
11,
7409,
12204,
375,
505,
642,
10527,
12,
23253,
5669,
47806,
29524,
10527,
14147,
393,
43948,
22443,
378,
587,
14798,
329,
5827,
3571,
22,
12,
23,
2920,
1141,
262,
1459,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
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,
25816,
12,
23,
2920,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18108,
262,
2248,
316,
282,
349,
11,
7409,
12204,
375,
505,
642,
10527,
12,
23253,
5669,
47806,
29524,
10527,
14147,
393,
43948,
22443,
378,
587,
14798,
329,
5827,
3571,
22,
12,
23,
2920,
1141,
262,
1459,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
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,
25816,
12,
23,
2920,
6
] |
how many games were played in september or november ? | SELECT COUNT(*) FROM table_204_467 WHERE "date" IN (9, 11) | [
4919,
867,
1830,
547,
2826,
287,
384,
457,
1491,
393,
645,
303,
1916,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24669,
33411,
366,
4475,
1,
3268,
357,
24,
11,
1367,
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
] | [
4919,
867,
1830,
547,
2826,
287,
384,
457,
1491,
393,
645,
303,
1916,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24669,
33411,
366,
4475,
1,
3268,
357,
24,
11,
1367,
8
] |
What venue is located in Indiana and hosted at Purdue University? | SELECT venue FROM table_name_54 WHERE state = "indiana" AND host = "purdue university" | [
2061,
14359,
318,
5140,
287,
10278,
290,
12007,
379,
34699,
2059,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
4051,
33411,
1181,
796,
366,
521,
7484,
1,
5357,
2583,
796,
366,
79,
30345,
6403,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
14359,
318,
5140,
287,
10278,
290,
12007,
379,
34699,
2059,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
4051,
33411,
1181,
796,
366,
521,
7484,
1,
5357,
2583,
796,
366,
79,
30345,
6403,
1
] |
Find people in any location who put TensorFlow in their profile.. | SELECT * FROM Users WHERE 1 = 1 AND UPPER(Location) LIKE '%%' AND UPPER(AboutMe) LIKE '%TENSORFLOW%' ORDER BY Reputation DESC | [
16742,
661,
287,
597,
4067,
508,
1234,
309,
22854,
37535,
287,
511,
7034,
492,
46506,
1635,
16034,
18987,
33411,
352,
796,
352,
5357,
471,
10246,
1137,
7,
14749,
8,
34178,
705,
16626,
6,
5357,
471,
10246,
1137,
7,
8585,
5308,
8,
34178,
705,
4,
51,
16938,
1581,
3697,
3913,
4,
6,
38678,
11050,
1432,
7094,
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
] | [
16742,
661,
287,
597,
4067,
508,
1234,
309,
22854,
37535,
287,
511,
7034,
492,
46506,
1635,
16034,
18987,
33411,
352,
796,
352,
5357,
471,
10246,
1137,
7,
14749,
8,
34178,
705,
16626,
6,
5357,
471,
10246,
1137,
7,
8585,
5308,
8,
34178,
705,
4,
51,
16938,
1581,
3697,
3913,
4,
6,
38678,
11050,
1432,
7094,
22196,
34
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of last_name and department_id , and I want to show in asc by the LAST_NAME. | SELECT LAST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY LAST_NAME | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
938,
62,
3672,
290,
5011,
62,
312,
837,
290,
314,
765,
284,
905,
287,
10570,
416,
262,
41894,
62,
20608,
13,
46506,
41894,
62,
20608,
11,
5550,
30709,
10979,
62,
2389,
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,
38678,
11050,
41894,
62,
20608
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
938,
62,
3672,
290,
5011,
62,
312,
837,
290,
314,
765,
284,
905,
287,
10570,
416,
262,
41894,
62,
20608,
13,
46506,
41894,
62,
20608,
11,
5550,
30709,
10979,
62,
2389,
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,
38678,
11050,
41894,
62,
20608
] |
Give me the comparison about the amount of Sex over the Sex , and group by attribute Sex by a bar chart. | SELECT Sex, COUNT(Sex) FROM people GROUP BY Sex | [
23318,
502,
262,
7208,
546,
262,
2033,
286,
14419,
625,
262,
14419,
837,
290,
1448,
416,
11688,
14419,
416,
257,
2318,
8262,
13,
46506,
14419,
11,
327,
28270,
7,
23398,
8,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
262,
2033,
286,
14419,
625,
262,
14419,
837,
290,
1448,
416,
11688,
14419,
416,
257,
2318,
8262,
13,
46506,
14419,
11,
327,
28270,
7,
23398,
8,
16034,
661,
44441,
11050,
14419
] |
Which L2-Cache has a Frequency of 1333 mhz, and a Model Number of c3 1.3a? | SELECT l2_cache FROM table_name_42 WHERE frequency = "1333 mhz" AND model_number = "c3 1.3a" | [
13828,
406,
17,
12,
30562,
468,
257,
31902,
286,
1511,
2091,
285,
32179,
11,
290,
257,
9104,
7913,
286,
269,
18,
352,
13,
18,
64,
30,
46506,
300,
17,
62,
23870,
16034,
3084,
62,
3672,
62,
3682,
33411,
8373,
796,
366,
1485,
2091,
285,
32179,
1,
5357,
2746,
62,
17618,
796,
366,
66,
18,
352,
13,
18,
64,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
406,
17,
12,
30562,
468,
257,
31902,
286,
1511,
2091,
285,
32179,
11,
290,
257,
9104,
7913,
286,
269,
18,
352,
13,
18,
64,
30,
46506,
300,
17,
62,
23870,
16034,
3084,
62,
3672,
62,
3682,
33411,
8373,
796,
366,
1485,
2091,
285,
32179,
1,
5357,
2746,
62,
17618,
796,
366,
66,
18,
352,
13,
18,
64,
1
] |
Which year is the lowest for genre of action-adventure? | SELECT MIN(year) FROM table_name_36 WHERE genre = "action-adventure" | [
13828,
614,
318,
262,
9016,
329,
12121,
286,
2223,
12,
324,
5388,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
12121,
796,
366,
2673,
12,
324,
5388,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
318,
262,
9016,
329,
12121,
286,
2223,
12,
324,
5388,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
12121,
796,
366,
2673,
12,
324,
5388,
1
] |
give the number of patients whose diagnosis long title is myopia and lab test fluid is ascites. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Myopia" AND lab.fluid = "Ascites" | [
26535,
262,
1271,
286,
3871,
3025,
13669,
890,
3670,
318,
616,
24464,
290,
2248,
1332,
11711,
318,
10570,
2737,
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,
6511,
62,
7839,
796,
366,
3666,
24464,
1,
5357,
2248,
13,
35522,
312,
796,
366,
32,
1416,
2737,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
262,
1271,
286,
3871,
3025,
13669,
890,
3670,
318,
616,
24464,
290,
2248,
1332,
11711,
318,
10570,
2737,
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,
6511,
62,
7839,
796,
366,
3666,
24464,
1,
5357,
2248,
13,
35522,
312,
796,
366,
32,
1416,
2737,
1
] |
What is the total erp w of class c3, which has a frequency mhz less than 89.9? | SELECT COUNT(erp_w) FROM table_name_58 WHERE class = "c3" AND frequency_mhz < 89.9 | [
2061,
318,
262,
2472,
1931,
79,
266,
286,
1398,
269,
18,
11,
543,
468,
257,
8373,
285,
32179,
1342,
621,
9919,
13,
24,
30,
46506,
327,
28270,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
1398,
796,
366,
66,
18,
1,
5357,
8373,
62,
76,
32179,
1279,
9919,
13,
24
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1931,
79,
266,
286,
1398,
269,
18,
11,
543,
468,
257,
8373,
285,
32179,
1342,
621,
9919,
13,
24,
30,
46506,
327,
28270,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
1398,
796,
366,
66,
18,
1,
5357,
8373,
62,
76,
32179,
1279,
9919,
13,
24
] |
Top User of a Given Tag in New Zealand. | WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", TagName, COUNT(*) AS UpVotes FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INNER JOIN Users AS u ON u.Id = p.OwnerUserId WHERE LOWER(Location) LIKE '%new zealand%' AND TagName = '##tagName:string##' GROUP BY u.Id, TagName) SELECT * FROM USER_BY_TAG WHERE rank <= 1000 ORDER BY UpVotes DESC | [
9126,
11787,
286,
257,
11259,
17467,
287,
968,
8936,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
17467,
5376,
11,
327,
28270,
7,
28104,
7054,
3205,
53,
6421,
16034,
44789,
7054,
256,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
42975,
13,
24835,
7390,
796,
256,
13,
7390,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
24546,
7390,
796,
42975,
13,
6307,
7390
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9126,
11787,
286,
257,
11259,
17467,
287,
968,
8936,
13,
54,
10554,
1294,
1137,
62,
17513,
62,
42197,
7054,
357,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
17467,
5376,
11,
327,
28270,
7,
28104,
7054,
3205,
53,
6421,
16034,
44789,
7054,
256,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
42975,
13,
24835,
7390,
796,
256,
13,
7390,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
279,
13,
24546,
7390,
796,
42975,
13,
6307,
7390
] |
Count the number of patients born before 2101 with a short title diagnosis of ac posthemorrhag anemia. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2101" AND diagnoses.short_title = "Ac posthemorrhag anemia" | [
12332,
262,
1271,
286,
3871,
4642,
878,
2310,
486,
351,
257,
1790,
3670,
13669,
286,
936,
1281,
4411,
273,
17179,
363,
281,
22859,
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,
33411,
16728,
13,
67,
672,
62,
1941,
1279,
366,
2481,
486,
1,
5357,
40567,
13,
19509,
62,
7839,
796,
366,
12832,
1281,
4411,
273,
17179,
363,
281,
22859,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
3871,
4642,
878,
2310,
486,
351,
257,
1790,
3670,
13669,
286,
936,
1281,
4411,
273,
17179,
363,
281,
22859,
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,
33411,
16728,
13,
67,
672,
62,
1941,
1279,
366,
2481,
486,
1,
5357,
40567,
13,
19509,
62,
7839,
796,
366,
12832,
1281,
4411,
273,
17179,
363,
281,
22859,
1
] |
Which Player has Goals larger than 10, and a Debut year smaller than 1993, and Years at club of 1990 1993? | SELECT player FROM table_name_71 WHERE goals > 10 AND debut_year < 1993 AND years_at_club = "1990–1993" | [
13828,
7853,
468,
28510,
4025,
621,
838,
11,
290,
257,
1024,
4360,
614,
4833,
621,
9656,
11,
290,
13212,
379,
3430,
286,
6303,
9656,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4869,
33411,
4661,
1875,
838,
5357,
8886,
62,
1941,
1279,
9656,
5357,
812,
62,
265,
62,
18664,
796,
366,
19891,
1906,
24465,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7853,
468,
28510,
4025,
621,
838,
11,
290,
257,
1024,
4360,
614,
4833,
621,
9656,
11,
290,
13212,
379,
3430,
286,
6303,
9656,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
4869,
33411,
4661,
1875,
838,
5357,
8886,
62,
1941,
1279,
9656,
5357,
812,
62,
265,
62,
18664,
796,
366,
19891,
1906,
24465,
1
] |
What was the final score in week 3 ? | SELECT final_score FROM table_name_46 WHERE week = 3 | [
2061,
373,
262,
2457,
4776,
287,
1285,
513,
5633,
46506,
2457,
62,
26675,
16034,
3084,
62,
3672,
62,
3510,
33411,
1285,
796,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2457,
4776,
287,
1285,
513,
5633,
46506,
2457,
62,
26675,
16034,
3084,
62,
3672,
62,
3510,
33411,
1285,
796,
513
] |
How many games total were played against @ Boston Bruins this season? | SELECT SUM(game) FROM table_name_77 WHERE opponent = "@ boston bruins" | [
2437,
867,
1830,
2472,
547,
2826,
1028,
2488,
6182,
27607,
428,
1622,
30,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
6125,
796,
44212,
275,
5744,
18145,
1040,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1830,
2472,
547,
2826,
1028,
2488,
6182,
27607,
428,
1622,
30,
46506,
35683,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
6125,
796,
44212,
275,
5744,
18145,
1040,
1
] |
What part number(s) has a frequency of 2.4 ghz? | SELECT part_number_s_ FROM table_name_20 WHERE frequency = "2.4 ghz" | [
2061,
636,
1271,
7,
82,
8,
468,
257,
8373,
286,
362,
13,
19,
24997,
89,
30,
46506,
636,
62,
17618,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1238,
33411,
8373,
796,
366,
17,
13,
19,
24997,
89,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
636,
1271,
7,
82,
8,
468,
257,
8373,
286,
362,
13,
19,
24997,
89,
30,
46506,
636,
62,
17618,
62,
82,
62,
16034,
3084,
62,
3672,
62,
1238,
33411,
8373,
796,
366,
17,
13,
19,
24997,
89,
1
] |
Which T.C. has a Year larger than 2007, and a D.C. of 21st? | SELECT "T.C." FROM table_43070 WHERE "Year" > '2007' AND "D.C." = '21st' | [
13828,
309,
13,
34,
13,
468,
257,
6280,
4025,
621,
4343,
11,
290,
257,
360,
13,
34,
13,
286,
2310,
301,
30,
46506,
366,
51,
13,
34,
526,
16034,
3084,
62,
31794,
2154,
33411,
366,
17688,
1,
1875,
705,
12726,
6,
5357,
366,
35,
13,
34,
526,
796,
705,
2481,
301,
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
] | [
13828,
309,
13,
34,
13,
468,
257,
6280,
4025,
621,
4343,
11,
290,
257,
360,
13,
34,
13,
286,
2310,
301,
30,
46506,
366,
51,
13,
34,
526,
16034,
3084,
62,
31794,
2154,
33411,
366,
17688,
1,
1875,
705,
12726,
6,
5357,
366,
35,
13,
34,
526,
796,
705,
2481,
301,
6
] |
What's the Game SIte with an Opponent of San Diego Chargers? | SELECT game_site FROM table_name_97 WHERE opponent = "san diego chargers" | [
2061,
338,
262,
3776,
25861,
660,
351,
281,
9385,
3471,
286,
2986,
9500,
23559,
30,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
5607,
33411,
6125,
796,
366,
12807,
4656,
2188,
2609,
364,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3776,
25861,
660,
351,
281,
9385,
3471,
286,
2986,
9500,
23559,
30,
46506,
983,
62,
15654,
16034,
3084,
62,
3672,
62,
5607,
33411,
6125,
796,
366,
12807,
4656,
2188,
2609,
364,
1
] |
Who was the opponent with a score of 40-20? | SELECT opponent FROM table_name_89 WHERE result = "40-20" | [
8241,
373,
262,
6125,
351,
257,
4776,
286,
2319,
12,
1238,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
4531,
33411,
1255,
796,
366,
1821,
12,
1238,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
351,
257,
4776,
286,
2319,
12,
1238,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
4531,
33411,
1255,
796,
366,
1821,
12,
1238,
1
] |
How many points against did the club with points have? | SELECT "points" AS _against FROM table_name_21 WHERE "points" = "points" | [
2437,
867,
2173,
1028,
750,
262,
3430,
351,
2173,
423,
30,
46506,
366,
13033,
1,
7054,
4808,
32826,
16034,
3084,
62,
3672,
62,
2481,
33411,
366,
13033,
1,
796,
366,
13033,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2173,
1028,
750,
262,
3430,
351,
2173,
423,
30,
46506,
366,
13033,
1,
7054,
4808,
32826,
16034,
3084,
62,
3672,
62,
2481,
33411,
366,
13033,
1,
796,
366,
13033,
1
] |
Which Date has a Distance of 500 m? | SELECT date FROM table_name_3 WHERE distance = "500 m" | [
13828,
7536,
468,
257,
34600,
286,
5323,
285,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
18,
33411,
5253,
796,
366,
4059,
285,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7536,
468,
257,
34600,
286,
5323,
285,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
18,
33411,
5253,
796,
366,
4059,
285,
1
] |
Questions & Answers with 'Thanks in advance'. | SELECT p.CreationDate, CASE WHEN (2 = p.PostTypeId) THEN 'Answer' ELSE 'Question' END AS PostType, p.Score, CASE WHEN (2 = p.PostTypeId) THEN t.Title ELSE p.Title END AS QuestionTitle, p.Body, p.Id AS "post_link" FROM Posts AS p LEFT OUTER JOIN Posts AS t ON (p.ParentId = t.Id) WHERE 1 = 1 AND p.CreationDate >= DATEADD(DAY, -10, GETDATE()) AND (UPPER(p.Body) LIKE UPPER('%thanks in advanced%')) ORDER BY p.Score DESC | [
35741,
1222,
42612,
351,
705,
9690,
287,
5963,
4458,
46506,
279,
13,
12443,
341,
10430,
11,
42001,
42099,
357,
17,
796,
279,
13,
6307,
6030,
7390,
8,
42243,
705,
33706,
6,
17852,
5188,
705,
24361,
6,
23578,
7054,
2947,
6030,
11,
279,
13,
26595,
11,
42001,
42099,
357,
17,
796,
279,
13,
6307,
6030,
7390,
8,
42243,
256,
13,
19160,
17852,
5188,
279,
13,
19160,
23578,
7054,
18233,
19160,
11,
279,
13,
25842,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
12509,
9792,
16289,
1137,
32357,
1268,
12043,
7054,
256,
6177,
357,
79,
13
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1222,
42612,
351,
705,
9690,
287,
5963,
4458,
46506,
279,
13,
12443,
341,
10430,
11,
42001,
42099,
357,
17,
796,
279,
13,
6307,
6030,
7390,
8,
42243,
705,
33706,
6,
17852,
5188,
705,
24361,
6,
23578,
7054,
2947,
6030,
11,
279,
13,
26595,
11,
42001,
42099,
357,
17,
796,
279,
13,
6307,
6030,
7390,
8,
42243,
256,
13,
19160,
17852,
5188,
279,
13,
19160,
23578,
7054,
18233,
19160,
11,
279,
13,
25842,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
12509,
9792,
16289,
1137,
32357,
1268,
12043,
7054,
256,
6177,
357,
79,
13
] |
which prison is for former policemen , abovyan or vardashen ? | SELECT "name" FROM table_204_414 WHERE "notes" = 'for former policemen and military officers' AND "name" IN ('abovyan', 'vardashen') | [
4758,
3770,
318,
329,
1966,
33777,
837,
450,
709,
4121,
393,
410,
446,
292,
831,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
37309,
33411,
366,
17815,
1,
796,
705,
1640,
1966,
33777,
290,
2422,
3790,
6,
5357,
366,
3672,
1,
3268,
19203,
397,
709,
4121,
3256,
705,
10187,
292,
831,
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
] | [
4758,
3770,
318,
329,
1966,
33777,
837,
450,
709,
4121,
393,
410,
446,
292,
831,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
37309,
33411,
366,
17815,
1,
796,
705,
1640,
1966,
33777,
290,
2422,
3790,
6,
5357,
366,
3672,
1,
3268,
19203,
397,
709,
4121,
3256,
705,
10187,
292,
831,
11537
] |
provide the number of patients whose discharge location is disch-tran to psych hosp and diagnoses icd9 code is 3310? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND diagnoses.icd9_code = "3310" | [
15234,
485,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
595,
354,
12,
2213,
272,
284,
3795,
10496,
290,
40567,
14158,
67,
24,
2438,
318,
4747,
940,
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,
6381,
10136,
62,
24886,
796,
366,
26288,
3398,
12,
5446,
1565,
5390,
6599,
56,
3398,
367,
47053,
1,
5357,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
2091,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17655,
4067,
318,
595,
354,
12,
2213,
272,
284,
3795,
10496,
290,
40567,
14158,
67,
24,
2438,
318,
4747,
940,
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,
6381,
10136,
62,
24886,
796,
366,
26288,
3398,
12,
5446,
1565,
5390,
6599,
56,
3398,
367,
47053,
1,
5357,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
2091,
940,
1
] |
When carmelo anthony (42) has the highest amount of points how many measurements of highest rebounds are there? | SELECT COUNT(high_rebounds) FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (42)" | [
2215,
1097,
17694,
78,
26794,
1647,
357,
3682,
8,
468,
262,
4511,
2033,
286,
2173,
703,
867,
13871,
286,
4511,
18841,
389,
612,
30,
46506,
327,
28270,
7,
8929,
62,
34806,
3733,
8,
16034,
3084,
62,
1954,
2078,
3365,
2920,
62,
1157,
33411,
1029,
62,
13033,
796,
366,
34,
1670,
22126,
9953,
357,
3682,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
1097,
17694,
78,
26794,
1647,
357,
3682,
8,
468,
262,
4511,
2033,
286,
2173,
703,
867,
13871,
286,
4511,
18841,
389,
612,
30,
46506,
327,
28270,
7,
8929,
62,
34806,
3733,
8,
16034,
3084,
62,
1954,
2078,
3365,
2920,
62,
1157,
33411,
1029,
62,
13033,
796,
366,
34,
1670,
22126,
9953,
357,
3682,
16725
] |
what are the three most commonly ordered specimen tests for patients who have been diagnosed with hyperlipidemia previously within 2 months in 2105? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hyperlipidemia' AND STRFTIME('%y', diagnosis.diagnosistime) = '2105') AS t1 JOIN (SELECT patient.uniquepid, microlab.culturesite, microlab.culturetakentime FROM microlab JOIN patient ON microlab.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', microlab.culturetakentime) = '2105') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.culturetakentime AND DATETIME(t2.culturetakentime) BETWEEN DATETIME(t1.diagnosistime) AND DATETIME(t1.diagnosistime, '+2 month') GROUP BY t2.culturesite) AS t3 WHERE t3.c1 <= 3 | [
10919,
389,
262,
1115,
749,
8811,
6149,
31674,
5254,
329,
3871,
508,
423,
587,
14641,
351,
8718,
40712,
312,
22859,
4271,
1626,
362,
1933,
287,
362,
13348,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,
13,
40820,
942,
578,
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,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
1115,
749,
8811,
6149,
31674,
5254,
329,
3871,
508,
423,
587,
14641,
351,
8718,
40712,
312,
22859,
4271,
1626,
362,
1933,
287,
362,
13348,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
17,
13,
40820,
942,
578,
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,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712
] |
How many documents are there of each type. Show bar chart. | SELECT Document_Type_Code, COUNT(*) FROM Documents GROUP BY Document_Type_Code | [
2437,
867,
4963,
389,
612,
286,
1123,
2099,
13,
5438,
2318,
8262,
13,
46506,
16854,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
44441,
11050,
16854,
62,
6030,
62,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4963,
389,
612,
286,
1123,
2099,
13,
5438,
2318,
8262,
13,
46506,
16854,
62,
6030,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
33267,
44441,
11050,
16854,
62,
6030,
62,
10669
] |
What college did Leon Perry attend? | SELECT "College" FROM table_48790 WHERE "Player" = 'leon perry' | [
2061,
4152,
750,
10592,
14105,
5262,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
2780,
37750,
33411,
366,
14140,
1,
796,
705,
38970,
583,
563,
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
] | [
2061,
4152,
750,
10592,
14105,
5262,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
2780,
37750,
33411,
366,
14140,
1,
796,
705,
38970,
583,
563,
6
] |
Which flight had an aircraft of vickers viscount type 794? | SELECT flight FROM table_name_26 WHERE aircraft = "vickers viscount type 794" | [
13828,
5474,
550,
281,
6215,
286,
410,
21630,
1490,
9127,
2099,
767,
5824,
30,
46506,
5474,
16034,
3084,
62,
3672,
62,
2075,
33411,
6215,
796,
366,
85,
21630,
1490,
9127,
2099,
767,
5824,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5474,
550,
281,
6215,
286,
410,
21630,
1490,
9127,
2099,
767,
5824,
30,
46506,
5474,
16034,
3084,
62,
3672,
62,
2075,
33411,
6215,
796,
366,
85,
21630,
1490,
9127,
2099,
767,
5824,
1
] |
What is the date of the episode that is before 307, run time equals 5:48 and has P.T. Barnum as the topic? | SELECT podcast_date FROM table_name_92 WHERE episode_number < 307 AND historical_references = "p.t. barnum" AND run_time = "5:48" | [
2061,
318,
262,
3128,
286,
262,
4471,
326,
318,
878,
38369,
11,
1057,
640,
21767,
642,
25,
2780,
290,
468,
350,
13,
51,
13,
11842,
388,
355,
262,
7243,
30,
46506,
9905,
62,
4475,
16034,
3084,
62,
3672,
62,
5892,
33411,
4471,
62,
17618,
1279,
38369,
5357,
6754,
62,
5420,
4972,
796,
366,
79,
13,
83,
13,
25203,
388,
1,
5357,
1057,
62,
2435,
796,
366,
20,
25,
2780,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
262,
4471,
326,
318,
878,
38369,
11,
1057,
640,
21767,
642,
25,
2780,
290,
468,
350,
13,
51,
13,
11842,
388,
355,
262,
7243,
30,
46506,
9905,
62,
4475,
16034,
3084,
62,
3672,
62,
5892,
33411,
4471,
62,
17618,
1279,
38369,
5357,
6754,
62,
5420,
4972,
796,
366,
79,
13,
83,
13,
25203,
388,
1,
5357,
1057,
62,
2435,
796,
366,
20,
25,
2780,
1
] |
What is the sum number of Pl GP when the Reg GP was 0, the Rd number was bigger than 8, and the pick number was bigger than 146? | SELECT COUNT(pl_gp) FROM table_name_90 WHERE reg_gp = 0 AND rd__number > 8 AND pick__number > 146 | [
2061,
318,
262,
2160,
1271,
286,
1345,
14714,
618,
262,
3310,
14714,
373,
657,
11,
262,
20769,
1271,
373,
5749,
621,
807,
11,
290,
262,
2298,
1271,
373,
5749,
621,
22986,
30,
46506,
327,
28270,
7,
489,
62,
31197,
8,
16034,
3084,
62,
3672,
62,
3829,
33411,
842,
62,
31197,
796,
657,
5357,
374,
67,
834,
17618,
1875,
807,
5357,
2298,
834,
17618,
1875,
22986
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
1345,
14714,
618,
262,
3310,
14714,
373,
657,
11,
262,
20769,
1271,
373,
5749,
621,
807,
11,
290,
262,
2298,
1271,
373,
5749,
621,
22986,
30,
46506,
327,
28270,
7,
489,
62,
31197,
8,
16034,
3084,
62,
3672,
62,
3829,
33411,
842,
62,
31197,
796,
657,
5357,
374,
67,
834,
17618,
1875,
807,
5357,
2298,
834,
17618,
1875,
22986
] |
Subsets and Splits