instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
Which Score has a Record of 15 12 2? | SELECT "Score" FROM table_34181 WHERE "Record" = '15–12–2' | [
13828,
15178,
468,
257,
13266,
286,
1315,
1105,
362,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2682,
27057,
33411,
366,
23739,
1,
796,
705,
1314,
1906,
1065,
1906,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15178,
468,
257,
13266,
286,
1315,
1105,
362,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2682,
27057,
33411,
366,
23739,
1,
796,
705,
1314,
1906,
1065,
1906,
17,
6
] |
What is High Assists, when Date is 'November 1'? | SELECT high_assists FROM table_name_18 WHERE date = "november 1" | [
2061,
318,
3334,
2195,
1023,
11,
618,
7536,
318,
705,
21159,
352,
30960,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
1507,
33411,
3128,
796,
366,
77,
3239,
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
] | [
2061,
318,
3334,
2195,
1023,
11,
618,
7536,
318,
705,
21159,
352,
30960,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
1507,
33411,
3128,
796,
366,
77,
3239,
352,
1
] |
Name the msot episode that was adapted by leon griffiths | SELECT MAX(episode) FROM table_15739098_1 WHERE adapted_by = "Leon Griffiths" | [
5376,
262,
13845,
313,
4471,
326,
373,
16573,
416,
443,
261,
1036,
733,
47252,
46506,
25882,
7,
38668,
8,
16034,
3084,
62,
18458,
2670,
2931,
23,
62,
16,
33411,
16573,
62,
1525,
796,
366,
36185,
30469,
82,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13845,
313,
4471,
326,
373,
16573,
416,
443,
261,
1036,
733,
47252,
46506,
25882,
7,
38668,
8,
16034,
3084,
62,
18458,
2670,
2931,
23,
62,
16,
33411,
16573,
62,
1525,
796,
366,
36185,
30469,
82,
1
] |
What was the 1st round result that had US Valenciennes (d1) as Team 2? | SELECT 1 AS st_round FROM table_name_6 WHERE team_2 = "us valenciennes (d1)" | [
2061,
373,
262,
352,
301,
2835,
1255,
326,
550,
1294,
3254,
268,
979,
42573,
357,
67,
16,
8,
355,
4816,
362,
30,
46506,
352,
7054,
336,
62,
744,
16034,
3084,
62,
3672,
62,
21,
33411,
1074,
62,
17,
796,
366,
385,
1188,
268,
979,
42573,
357,
67,
16,
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
] | [
2061,
373,
262,
352,
301,
2835,
1255,
326,
550,
1294,
3254,
268,
979,
42573,
357,
67,
16,
8,
355,
4816,
362,
30,
46506,
352,
7054,
336,
62,
744,
16034,
3084,
62,
3672,
62,
21,
33411,
1074,
62,
17,
796,
366,
385,
1188,
268,
979,
42573,
357,
67,
16,
16725
] |
Tell me who taught ANTHRBIO 369 in the past ? | SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'ANTHRBIO' AND course.number = 369 AND NOT (semester.semester = 'WN' AND semester.year = 2016) | [
24446,
502,
508,
7817,
3537,
4221,
49,
3483,
46,
45620,
287,
262,
1613,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
2364,
1586,
62,
312,
796,
1781,
62,
2364,
1586,
13,
2364,
1586,
62,
312,
3268,
21479,
32357,
1268,
21187,
6177,
6011,
62,
259,
7249,
273,
13,
259,
7249,
273,
62,
312,
796,
21187,
13,
259,
7249,
273,
62,
312,
3268,
21479,
32357,
1268,
24878,
6177,
24878,
13,
325,
6880,
353,
62,
312,
796,
1781,
62,
2364,
1586,
13,
325,
6880,
353,
33411,
1781,
13,
10378,
1823,
796,
705,
1565,
4221,
49,
3483,
46,
6,
5357,
1781,
13,
17618,
796,
45620,
5357,
5626,
357,
325,
6880,
353,
13,
325,
6880,
353,
796,
705,
29767,
6,
5357,
24878,
13,
1941,
796,
1584,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
508,
7817,
3537,
4221,
49,
3483,
46,
45620,
287,
262,
1613,
5633,
46506,
360,
8808,
1268,
4177,
21187,
13,
3672,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
3268,
21479,
32357,
1268,
6011,
62,
259,
7249,
273,
6177,
6011,
62,
259,
7249,
273,
13,
2364,
1586,
62,
312,
796,
1781,
62,
2364,
1586,
13,
2364,
1586,
62,
312,
3268,
21479,
32357,
1268,
21187,
6177,
6011,
62,
259,
7249,
273,
13,
259,
7249,
273,
62,
312,
796,
21187,
13,
259,
7249,
273,
62,
312,
3268,
21479,
32357,
1268,
24878,
6177,
24878,
13,
325,
6880,
353,
62,
312,
796,
1781,
62,
2364,
1586,
13,
325,
6880,
353,
33411,
1781,
13,
10378,
1823,
796,
705,
1565,
4221,
49,
3483,
46,
6,
5357,
1781,
13,
17618,
796,
45620,
5357,
5626,
357,
325,
6880,
353,
13,
325,
6880,
353,
796,
705,
29767,
6,
5357,
24878,
13,
1941,
796,
1584,
8
] |
Which Ratio as % has a Ratio of 8/9? | SELECT "Ratio as %" FROM table_40436 WHERE "Ratio" = '8/9' | [
13828,
33956,
355,
4064,
468,
257,
33956,
286,
807,
14,
24,
30,
46506,
366,
29665,
952,
355,
4064,
1,
16034,
3084,
62,
26429,
2623,
33411,
366,
29665,
952,
1,
796,
705,
23,
14,
24,
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
] | [
13828,
33956,
355,
4064,
468,
257,
33956,
286,
807,
14,
24,
30,
46506,
366,
29665,
952,
355,
4064,
1,
16034,
3084,
62,
26429,
2623,
33411,
366,
29665,
952,
1,
796,
705,
23,
14,
24,
6
] |
how many patients have been treated with antibacterials - fourth generation cephalosporin in the same hospital visit after being diagnosed with atrial flutter since 2104? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'atrial flutter' AND STRFTIME('%y', diagnosis.diagnosistime) >= '2104') AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'antibacterials - fourth generation cephalosporin' AND STRFTIME('%y', treatment.treatmenttime) >= '2104') AS t2 WHERE t1.diagnosistime < t2.treatmenttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid | [
4919,
867,
3871,
423,
587,
5716,
351,
11310,
7321,
8231,
532,
5544,
5270,
269,
538,
14201,
418,
1819,
259,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
379,
4454,
781,
10381,
1201,
362,
13464,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
265,
4454,
781,
10381,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
18189,
705,
17,
13464,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
3513,
13,
42487,
2435,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
3513,
32357,
1268,
5827,
6177,
3513,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
3513,
13,
42487,
3672,
796,
705,
415,
571,
7321,
8231,
532,
5544,
5270,
269,
538,
14201,
418,
1819,
259,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
3513,
13,
42487,
2435,
8,
18189,
705,
17,
13464,
11537,
7054,
256,
17,
33411,
256,
16,
13,
47356,
418,
396,
524,
1279,
256,
17,
13,
42487,
2435,
5357,
256,
16,
13,
26029,
13948,
10057,
31712,
312,
796,
256,
17,
13,
26029,
13948,
10057,
31712,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
587,
5716,
351,
11310,
7321,
8231,
532,
5544,
5270,
269,
538,
14201,
418,
1819,
259,
287,
262,
976,
4436,
3187,
706,
852,
14641,
351,
379,
4454,
781,
10381,
1201,
362,
13464,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
538,
312,
8,
16034,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
265,
4454,
781,
10381,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
18189,
705,
17,
13464,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
3513,
13,
42487,
2435,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
3513,
32357,
1268,
5827,
6177,
3513,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
3513,
13,
42487,
3672,
796,
705,
415,
571,
7321,
8231,
532,
5544,
5270,
269,
538,
14201,
418,
1819,
259,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
3513,
13,
42487,
2435,
8,
18189,
705,
17,
13464,
11537,
7054,
256,
17,
33411,
256,
16,
13,
47356,
418,
396,
524,
1279,
256,
17,
13,
42487,
2435,
5357,
256,
16,
13,
26029,
13948,
10057,
31712,
312,
796,
256,
17,
13,
26029,
13948,
10057,
31712,
312
] |
What was the method when 4-2 was the record? | SELECT method FROM table_name_56 WHERE record = "4-2" | [
2061,
373,
262,
2446,
618,
604,
12,
17,
373,
262,
1700,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
3980,
33411,
1700,
796,
366,
19,
12,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2446,
618,
604,
12,
17,
373,
262,
1700,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
3980,
33411,
1700,
796,
366,
19,
12,
17,
1
] |
Average Reputation of SO Users n Manchester, United Kingdom with reputation more than 15. | SELECT AVG(Reputation) AS "average_reputation", COUNT(Id) AS "total_users" FROM Users WHERE LOWER(Location) LIKE '%manchester, united kingdom' AND Reputation >= 15 | [
26287,
1432,
7094,
286,
12809,
18987,
299,
9502,
11,
1578,
7526,
351,
8507,
517,
621,
1315,
13,
46506,
35224,
7,
6207,
7094,
8,
7054,
366,
23913,
62,
260,
1996,
341,
1600,
327,
28270,
7,
7390,
8,
7054,
366,
23350,
62,
18417,
1,
16034,
18987,
33411,
406,
36048,
7,
14749,
8,
34178,
705,
4,
805,
35983,
11,
16503,
13239,
6,
5357,
1432,
7094,
18189,
1315
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26287,
1432,
7094,
286,
12809,
18987,
299,
9502,
11,
1578,
7526,
351,
8507,
517,
621,
1315,
13,
46506,
35224,
7,
6207,
7094,
8,
7054,
366,
23913,
62,
260,
1996,
341,
1600,
327,
28270,
7,
7390,
8,
7054,
366,
23350,
62,
18417,
1,
16034,
18987,
33411,
406,
36048,
7,
14749,
8,
34178,
705,
4,
805,
35983,
11,
16503,
13239,
6,
5357,
1432,
7094,
18189,
1315
] |
How many teams did inge 6 have the high assists with? | SELECT COUNT(team) FROM table_30054758_3 WHERE high_assists = "Inge – 6" | [
2437,
867,
3466,
750,
5347,
68,
718,
423,
262,
1029,
13648,
351,
30,
46506,
327,
28270,
7,
15097,
8,
16034,
3084,
62,
6200,
4051,
38569,
62,
18,
33411,
1029,
62,
562,
1023,
796,
366,
818,
469,
784,
718,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
3466,
750,
5347,
68,
718,
423,
262,
1029,
13648,
351,
30,
46506,
327,
28270,
7,
15097,
8,
16034,
3084,
62,
6200,
4051,
38569,
62,
18,
33411,
1029,
62,
562,
1023,
796,
366,
818,
469,
784,
718,
1
] |
Which Time has a Reaction smaller than 0.20400000000000001, and a Rank of 1? | SELECT SUM("Time") FROM table_62974 WHERE "React" < '0.20400000000000001' AND "Rank" = '1' | [
13828,
3862,
468,
257,
39912,
4833,
621,
657,
13,
18638,
8269,
2388,
486,
11,
290,
257,
10916,
286,
352,
30,
46506,
35683,
7203,
7575,
4943,
16034,
3084,
62,
48602,
4524,
33411,
366,
3041,
529,
1,
1279,
705,
15,
13,
18638,
8269,
2388,
486,
6,
5357,
366,
27520,
1,
796,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3862,
468,
257,
39912,
4833,
621,
657,
13,
18638,
8269,
2388,
486,
11,
290,
257,
10916,
286,
352,
30,
46506,
35683,
7203,
7575,
4943,
16034,
3084,
62,
48602,
4524,
33411,
366,
3041,
529,
1,
1279,
705,
15,
13,
18638,
8269,
2388,
486,
6,
5357,
366,
27520,
1,
796,
705,
16,
6
] |
In what arena was the North Dakota the runner-up? | SELECT "Arena" FROM table_64554 WHERE "Runner-up" = 'north dakota' | [
818,
644,
13478,
373,
262,
2258,
13336,
262,
17490,
12,
929,
30,
46506,
366,
43199,
64,
1,
16034,
3084,
62,
49259,
4051,
33411,
366,
49493,
12,
929,
1,
796,
705,
43588,
288,
461,
4265,
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
] | [
818,
644,
13478,
373,
262,
2258,
13336,
262,
17490,
12,
929,
30,
46506,
366,
43199,
64,
1,
16034,
3084,
62,
49259,
4051,
33411,
366,
49493,
12,
929,
1,
796,
705,
43588,
288,
461,
4265,
6
] |
Show me the proportion of the flag of ships that are not steered by any captain with Midshipman rank using a pie chart. | SELECT Flag, COUNT(Flag) FROM Ship WHERE NOT Ship_ID IN (SELECT Ship_ID FROM captain WHERE Rank = 'Midshipman') GROUP BY Flag | [
15307,
502,
262,
9823,
286,
262,
6056,
286,
7937,
326,
389,
407,
49300,
416,
597,
10654,
351,
337,
2340,
1056,
805,
4279,
1262,
257,
2508,
8262,
13,
46506,
19762,
11,
327,
28270,
7,
34227,
8,
16034,
16656,
33411,
5626,
16656,
62,
2389,
3268,
357,
46506,
16656,
62,
2389,
16034,
10654,
33411,
10916,
796,
705,
44,
2340,
1056,
805,
11537,
44441,
11050,
19762
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
262,
9823,
286,
262,
6056,
286,
7937,
326,
389,
407,
49300,
416,
597,
10654,
351,
337,
2340,
1056,
805,
4279,
1262,
257,
2508,
8262,
13,
46506,
19762,
11,
327,
28270,
7,
34227,
8,
16034,
16656,
33411,
5626,
16656,
62,
2389,
3268,
357,
46506,
16656,
62,
2389,
16034,
10654,
33411,
10916,
796,
705,
44,
2340,
1056,
805,
11537,
44441,
11050,
19762
] |
Find the average age of male students (with sex M) from each city, show in descending by the x axis. | SELECT city_code, AVG(Age) FROM Student WHERE Sex = 'M' GROUP BY city_code ORDER BY city_code DESC | [
16742,
262,
2811,
2479,
286,
4257,
2444,
357,
4480,
1714,
337,
8,
422,
1123,
1748,
11,
905,
287,
31491,
416,
262,
2124,
16488,
13,
46506,
1748,
62,
8189,
11,
35224,
7,
23396,
8,
16034,
13613,
33411,
14419,
796,
705,
44,
6,
44441,
11050,
1748,
62,
8189,
38678,
11050,
1748,
62,
8189,
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
] | [
16742,
262,
2811,
2479,
286,
4257,
2444,
357,
4480,
1714,
337,
8,
422,
1123,
1748,
11,
905,
287,
31491,
416,
262,
2124,
16488,
13,
46506,
1748,
62,
8189,
11,
35224,
7,
23396,
8,
16034,
13613,
33411,
14419,
796,
705,
44,
6,
44441,
11050,
1748,
62,
8189,
38678,
11050,
1748,
62,
8189,
22196,
34
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a bar chart about the distribution of job_id and the sum of department_id , and group by attribute job_id, could you rank bars in descending order? | SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID DESC | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
714,
345,
4279,
9210,
287,
31491,
1502,
30,
46506,
449,
9864,
62,
2389,
11,
35683,
7,
7206,
30709,
10979,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366,
8423,
1,
6375,
5550,
30709,
10979,
62,
2389,
1279,
29,
2319,
44441,
11050,
449,
9864,
62,
2389,
38678,
11050,
449,
9864,
62,
2389,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
5011,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
714,
345,
4279,
9210,
287,
31491,
1502,
30,
46506,
449,
9864,
62,
2389,
11,
35683,
7,
7206,
30709,
10979,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366,
8423,
1,
6375,
5550,
30709,
10979,
62,
2389,
1279,
29,
2319,
44441,
11050,
449,
9864,
62,
2389,
38678,
11050,
449,
9864,
62,
2389,
22196,
34
] |
What is the total when the nation was Argentina, and a Goldwas smaller than 0? | SELECT COUNT(total) FROM table_name_4 WHERE nation = "argentina" AND gold < 0 | [
2061,
318,
262,
2472,
618,
262,
3277,
373,
16519,
11,
290,
257,
3561,
9776,
4833,
621,
657,
30,
46506,
327,
28270,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
3277,
796,
366,
853,
298,
1437,
1,
5357,
3869,
1279,
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
] | [
2061,
318,
262,
2472,
618,
262,
3277,
373,
16519,
11,
290,
257,
3561,
9776,
4833,
621,
657,
30,
46506,
327,
28270,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
3277,
796,
366,
853,
298,
1437,
1,
5357,
3869,
1279,
657
] |
Tell me the 13 january 2009 host | SELECT "Host" FROM table_4343 WHERE "Premiere" = '13 january 2009' | [
24446,
502,
262,
1511,
42897,
2838,
3717,
2583,
46506,
366,
17932,
1,
16034,
3084,
62,
19,
32118,
33411,
366,
24914,
13235,
1,
796,
705,
1485,
42897,
2838,
3717,
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
] | [
24446,
502,
262,
1511,
42897,
2838,
3717,
2583,
46506,
366,
17932,
1,
16034,
3084,
62,
19,
32118,
33411,
366,
24914,
13235,
1,
796,
705,
1485,
42897,
2838,
3717,
6
] |
What is the average bronze for less than 0 gold? | SELECT AVG(bronze) FROM table_name_64 WHERE gold < 0 | [
2061,
318,
262,
2811,
22101,
329,
1342,
621,
657,
3869,
30,
46506,
35224,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
3869,
1279,
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
] | [
2061,
318,
262,
2811,
22101,
329,
1342,
621,
657,
3869,
30,
46506,
35224,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
3869,
1279,
657
] |
intracranial bleed or intracranial hypertension during the index hospital admission | SELECT * FROM table_train_46 WHERE bleeding = 1 OR hypertension = 1 | [
600,
11510,
2596,
498,
30182,
393,
9913,
330,
2596,
498,
37454,
1141,
262,
6376,
4436,
13938,
46506,
1635,
16034,
3084,
62,
27432,
62,
3510,
33411,
16832,
796,
352,
6375,
37454,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
600,
11510,
2596,
498,
30182,
393,
9913,
330,
2596,
498,
37454,
1141,
262,
6376,
4436,
13938,
46506,
1635,
16034,
3084,
62,
27432,
62,
3510,
33411,
16832,
796,
352,
6375,
37454,
796,
352
] |
i need a flight from NEW YORK to TORONTO THURSDAY 5 24 arriving by 1200 | 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 AS DAYS_0, days AS DAYS_1, flight WHERE (((DAYS_1.day_name = 'THURSDAY' AND flight.arrival_time <= 1200 AND flight.flight_days = DAYS_1.days_code) AND date_day.day_number = 24 AND date_day.month_number = 5 AND date_day.year = 1991 AND DAYS_0.day_name = date_day.day_name AND flight.flight_days = DAYS_0.days_code) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'TORONTO' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'NEW YORK' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
72,
761,
257,
5474,
422,
12682,
28154,
284,
40691,
1340,
10468,
2320,
4261,
10305,
4792,
642,
1987,
14820,
416,
24938,
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,
7054,
24644,
50,
62,
15,
11,
1528,
7054,
24644,
50,
62,
16,
11,
5474,
33411,
14808,
7,
26442,
50,
62,
16,
13,
820,
62,
3672,
796,
705,
4221,
4261,
10305,
4792,
6,
5357,
5474,
13,
283,
43171,
62,
2435,
19841,
24938,
5357,
5474,
13,
22560,
62,
12545,
796,
24644,
50,
62,
16,
13,
12545,
62,
8189,
8,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
1987,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
642,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
24644,
50,
62,
15,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
24644,
50,
62,
15,
13,
12545,
62,
8189,
8,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
32961,
1340,
10468,
6,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
13965,
28154,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
761,
257,
5474,
422,
12682,
28154,
284,
40691,
1340,
10468,
2320,
4261,
10305,
4792,
642,
1987,
14820,
416,
24938,
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,
7054,
24644,
50,
62,
15,
11,
1528,
7054,
24644,
50,
62,
16,
11,
5474,
33411,
14808,
7,
26442,
50,
62,
16,
13,
820,
62,
3672,
796,
705,
4221,
4261,
10305,
4792,
6,
5357,
5474,
13,
283,
43171,
62,
2435,
19841,
24938,
5357,
5474,
13,
22560,
62,
12545,
796,
24644,
50,
62,
16,
13,
12545,
62,
8189,
8,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
1987,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
642,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
24644,
50,
62,
15,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
24644,
50,
62,
15,
13,
12545,
62,
8189,
8,
5357,
27993,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
32961,
1340,
10468,
6,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
13965,
28154,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] |
What conference does Gonzaga University play in? | SELECT "Primary conference" FROM table_20527 WHERE "Institution" = 'Gonzaga University' | [
2061,
4495,
857,
17109,
8126,
2059,
711,
287,
30,
46506,
366,
35170,
4495,
1,
16034,
3084,
62,
21261,
1983,
33411,
366,
6310,
2738,
1,
796,
705,
38,
13569,
8126,
2059,
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
] | [
2061,
4495,
857,
17109,
8126,
2059,
711,
287,
30,
46506,
366,
35170,
4495,
1,
16034,
3084,
62,
21261,
1983,
33411,
366,
6310,
2738,
1,
796,
705,
38,
13569,
8126,
2059,
6
] |
Who was the home team on February 3? | SELECT "Home" FROM table_44475 WHERE "Date" = 'february 3' | [
8241,
373,
262,
1363,
1074,
319,
3945,
513,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
30272,
2425,
33411,
366,
10430,
1,
796,
705,
69,
1765,
3728,
513,
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,
373,
262,
1363,
1074,
319,
3945,
513,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
30272,
2425,
33411,
366,
10430,
1,
796,
705,
69,
1765,
3728,
513,
6
] |
weight > 136.4 kg or < 42 kg | SELECT * FROM table_train_163 WHERE body_weight > 136.4 OR body_weight < 42 | [
6551,
1875,
21056,
13,
19,
14211,
393,
1279,
5433,
14211,
46506,
1635,
16034,
3084,
62,
27432,
62,
24136,
33411,
1767,
62,
6551,
1875,
21056,
13,
19,
6375,
1767,
62,
6551,
1279,
5433
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6551,
1875,
21056,
13,
19,
14211,
393,
1279,
5433,
14211,
46506,
1635,
16034,
3084,
62,
27432,
62,
24136,
33411,
1767,
62,
6551,
1875,
21056,
13,
19,
6375,
1767,
62,
6551,
1279,
5433
] |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and revenue , and group by attribute headquarter. | SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
13,
46506,
309,
16,
13,
5376,
11,
309,
17,
13,
3041,
4080,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385,
11,
309,
16,
13,
5376
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
6426,
837,
290,
1448,
416,
11688,
1182,
24385,
13,
46506,
309,
16,
13,
5376,
11,
309,
17,
13,
3041,
4080,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44441,
11050,
7123,
24385,
11,
309,
16,
13,
5376
] |
How many different roles are there in the club 'Bootup Baltimore'? | SELECT COUNT(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = "Bootup Baltimore" | [
2437,
867,
1180,
9176,
389,
612,
287,
262,
3430,
705,
36476,
929,
10346,
30960,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
9150,
8,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
256,
17,
6177,
256,
16,
13,
18664,
312,
796,
256,
17,
13,
18664,
312,
33411,
256,
16,
13,
18664,
3672,
796,
366,
36476,
929,
10346,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1180,
9176,
389,
612,
287,
262,
3430,
705,
36476,
929,
10346,
30960,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
17,
13,
9150,
8,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
256,
17,
6177,
256,
16,
13,
18664,
312,
796,
256,
17,
13,
18664,
312,
33411,
256,
16,
13,
18664,
3672,
796,
366,
36476,
929,
10346,
1
] |
When 48-30 is the record who has the highest amount of points? | SELECT high_points FROM table_23286158_10 WHERE record = "48-30" | [
2215,
4764,
12,
1270,
318,
262,
1700,
508,
468,
262,
4511,
2033,
286,
2173,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
1954,
27033,
21273,
62,
940,
33411,
1700,
796,
366,
2780,
12,
1270,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4764,
12,
1270,
318,
262,
1700,
508,
468,
262,
4511,
2033,
286,
2173,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
1954,
27033,
21273,
62,
940,
33411,
1700,
796,
366,
2780,
12,
1270,
1
] |
who is the the pole position with rnd being 16 | SELECT pole_position FROM table_14638077_2 WHERE rnd = 16 | [
8727,
318,
262,
262,
16825,
2292,
351,
374,
358,
852,
1467,
46506,
16825,
62,
9150,
16034,
3084,
62,
1415,
5066,
1795,
3324,
62,
17,
33411,
374,
358,
796,
1467
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
262,
262,
16825,
2292,
351,
374,
358,
852,
1467,
46506,
16825,
62,
9150,
16034,
3084,
62,
1415,
5066,
1795,
3324,
62,
17,
33411,
374,
358,
796,
1467
] |
look for the number of white patients who have procedure icd9 code 9907. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "WHITE" AND procedures.icd9_code = "9907" | [
5460,
329,
262,
1271,
286,
2330,
3871,
508,
423,
8771,
14158,
67,
24,
2438,
7388,
2998,
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,
38546,
414,
796,
366,
12418,
12709,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
2079,
2998,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5460,
329,
262,
1271,
286,
2330,
3871,
508,
423,
8771,
14158,
67,
24,
2438,
7388,
2998,
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,
38546,
414,
796,
366,
12418,
12709,
1,
5357,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
2079,
2998,
1
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of job_id and salary , and sort by the x-axis in ascending. | SELECT JOB_ID, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_ID | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
1693,
62,
312,
290,
9588,
837,
290,
3297,
416,
262,
2124,
12,
22704,
287,
41988,
13,
46506,
449,
9864,
62,
2389,
11,
42475,
13153,
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,
449,
9864,
62,
2389
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2318,
8262,
2523,
262,
6082,
286,
1693,
62,
312,
290,
9588,
837,
290,
3297,
416,
262,
2124,
12,
22704,
287,
41988,
13,
46506,
449,
9864,
62,
2389,
11,
42475,
13153,
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,
449,
9864,
62,
2389
] |
What are the ids and names of all start stations that were the beginning of at least 200 trips Show bar chart, sort start_station_id from high to low order. | SELECT start_station_name, start_station_id FROM trip ORDER BY start_station_id DESC | [
2061,
389,
262,
220,
2340,
290,
3891,
286,
477,
923,
8985,
326,
547,
262,
3726,
286,
379,
1551,
939,
13229,
5438,
2318,
8262,
11,
3297,
923,
62,
17529,
62,
312,
422,
1029,
284,
1877,
1502,
13,
46506,
923,
62,
17529,
62,
3672,
11,
923,
62,
17529,
62,
312,
16034,
5296,
38678,
11050,
923,
62,
17529,
62,
312,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
220,
2340,
290,
3891,
286,
477,
923,
8985,
326,
547,
262,
3726,
286,
379,
1551,
939,
13229,
5438,
2318,
8262,
11,
3297,
923,
62,
17529,
62,
312,
422,
1029,
284,
1877,
1502,
13,
46506,
923,
62,
17529,
62,
3672,
11,
923,
62,
17529,
62,
312,
16034,
5296,
38678,
11050,
923,
62,
17529,
62,
312,
22196,
34
] |
In what place did the golfer that scored 66-74=140 finish? | SELECT place FROM table_name_19 WHERE score = 66 - 74 = 140 | [
818,
644,
1295,
750,
262,
43791,
2232,
326,
7781,
7930,
12,
4524,
28,
15187,
5461,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
1129,
33411,
4776,
796,
7930,
532,
8915,
796,
12713
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
1295,
750,
262,
43791,
2232,
326,
7781,
7930,
12,
4524,
28,
15187,
5461,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
1129,
33411,
4776,
796,
7930,
532,
8915,
796,
12713
] |
what are the flights from BOSTON to BALTIMORE leaving tomorrow | 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 = 'BALTIMORE' AND date_day.day_number = 20 AND date_day.month_number = 1 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 = 'BOSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
10919,
389,
262,
13956,
422,
347,
10892,
1340,
284,
347,
31429,
3955,
6965,
4305,
9439,
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,
33,
31429,
3955,
6965,
6,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
1160,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
352,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
8202,
41924,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13956,
422,
347,
10892,
1340,
284,
347,
31429,
3955,
6965,
4305,
9439,
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,
33,
31429,
3955,
6965,
6,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
1160,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
352,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
8202,
41924,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] |
Visualize the relationship between Body_Builder_ID and Snatch . | SELECT Body_Builder_ID, Snatch FROM body_builder | [
36259,
1096,
262,
2776,
1022,
12290,
62,
32875,
62,
2389,
290,
5489,
963,
764,
46506,
12290,
62,
32875,
62,
2389,
11,
5489,
963,
16034,
1767,
62,
38272
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
262,
2776,
1022,
12290,
62,
32875,
62,
2389,
290,
5489,
963,
764,
46506,
12290,
62,
32875,
62,
2389,
11,
5489,
963,
16034,
1767,
62,
38272
] |
What call sign has ERP W greater than 197? | SELECT "Call sign" FROM table_40244 WHERE "ERP W" > '197' | [
2061,
869,
1051,
468,
13793,
47,
370,
3744,
621,
29903,
30,
46506,
366,
14134,
1051,
1,
16034,
3084,
62,
1821,
25707,
33411,
366,
1137,
47,
370,
1,
1875,
705,
24991,
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
] | [
2061,
869,
1051,
468,
13793,
47,
370,
3744,
621,
29903,
30,
46506,
366,
14134,
1051,
1,
16034,
3084,
62,
1821,
25707,
33411,
366,
1137,
47,
370,
1,
1875,
705,
24991,
6
] |
What is the capacity of the Pinto Valley mine in Gila county? | SELECT capacity__thousands_of_metric_tons_ FROM table_name_67 WHERE county = "gila" AND mine = "pinto valley" | [
2061,
318,
262,
5339,
286,
262,
350,
20424,
6916,
6164,
287,
402,
10102,
7968,
30,
46506,
5339,
834,
400,
19983,
62,
1659,
62,
4164,
1173,
62,
27288,
62,
16034,
3084,
62,
3672,
62,
3134,
33411,
7968,
796,
366,
70,
10102,
1,
5357,
6164,
796,
366,
79,
20424,
19272,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5339,
286,
262,
350,
20424,
6916,
6164,
287,
402,
10102,
7968,
30,
46506,
5339,
834,
400,
19983,
62,
1659,
62,
4164,
1173,
62,
27288,
62,
16034,
3084,
62,
3672,
62,
3134,
33411,
7968,
796,
366,
70,
10102,
1,
5357,
6164,
796,
366,
79,
20424,
19272,
1
] |
What's the name is the island with a population of just 64? | SELECT "Islands Name" FROM table_19034 WHERE "Population (2000)" = '64' | [
2061,
338,
262,
1438,
318,
262,
7022,
351,
257,
3265,
286,
655,
5598,
30,
46506,
366,
3792,
4447,
6530,
1,
16034,
3084,
62,
19782,
2682,
33411,
366,
45251,
357,
11024,
16725,
796,
705,
2414,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1438,
318,
262,
7022,
351,
257,
3265,
286,
655,
5598,
30,
46506,
366,
3792,
4447,
6530,
1,
16034,
3084,
62,
19782,
2682,
33411,
366,
45251,
357,
11024,
16725,
796,
705,
2414,
6
] |
What number was the first game? | SELECT MIN("Game") FROM table_29838 | [
2061,
1271,
373,
262,
717,
983,
30,
46506,
20625,
7203,
8777,
4943,
16034,
3084,
62,
27728,
2548
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1271,
373,
262,
717,
983,
30,
46506,
20625,
7203,
8777,
4943,
16034,
3084,
62,
27728,
2548
] |
What circuit saw Cabin Racing as the winning team? | SELECT circuit FROM table_name_41 WHERE winning_team = "cabin racing" | [
2061,
10349,
2497,
16804,
14954,
355,
262,
5442,
1074,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
3901,
33411,
5442,
62,
15097,
796,
366,
66,
6014,
11717,
1
] | [
1,
1,
1,
1,
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,
10349,
2497,
16804,
14954,
355,
262,
5442,
1074,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
3901,
33411,
5442,
62,
15097,
796,
366,
66,
6014,
11717,
1
] |
what is the number of parties that had more than 3 candidates in their party ? | SELECT COUNT("party") FROM table_203_354 WHERE "candidate(s)" > 3 | [
10919,
318,
262,
1271,
286,
4671,
326,
550,
517,
621,
513,
5871,
287,
511,
2151,
5633,
46506,
327,
28270,
7203,
10608,
4943,
16034,
3084,
62,
22416,
62,
32182,
33411,
366,
46188,
20540,
7,
82,
16725,
1875,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
4671,
326,
550,
517,
621,
513,
5871,
287,
511,
2151,
5633,
46506,
327,
28270,
7203,
10608,
4943,
16034,
3084,
62,
22416,
62,
32182,
33411,
366,
46188,
20540,
7,
82,
16725,
1875,
513
] |
How many writers where there for episode # 06? | SELECT COUNT("Writer") FROM table_3324 WHERE "Episode #" = '06' | [
2437,
867,
8786,
810,
612,
329,
4471,
1303,
9130,
30,
46506,
327,
28270,
7203,
34379,
4943,
16034,
3084,
62,
2091,
1731,
33411,
366,
23758,
1303,
1,
796,
705,
3312,
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
] | [
2437,
867,
8786,
810,
612,
329,
4471,
1303,
9130,
30,
46506,
327,
28270,
7203,
34379,
4943,
16034,
3084,
62,
2091,
1731,
33411,
366,
23758,
1303,
1,
796,
705,
3312,
6
] |
What were the dates for Round 8? | SELECT "Date" FROM table_19078 WHERE "Rd." = '8' | [
2061,
547,
262,
9667,
329,
10485,
807,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1129,
2998,
23,
33411,
366,
49,
67,
526,
796,
705,
23,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
9667,
329,
10485,
807,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1129,
2998,
23,
33411,
366,
49,
67,
526,
796,
705,
23,
6
] |
how much of a difference has patient 015-7988 made in its potassium levels last measured on the last hospital visit compared to the first value measured on the last hospital visit? | SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-7988' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) AND lab.labname = 'potassium' ORDER BY lab.labresulttime DESC LIMIT 1) - (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-7988' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) AND lab.labname = 'potassium' ORDER BY lab.labresulttime LIMIT 1) | [
4919,
881,
286,
257,
3580,
468,
5827,
5534,
20,
12,
3720,
3459,
925,
287,
663,
33156,
2974,
938,
8630,
319,
262,
938,
4436,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
13,
23912,
20274,
16034,
2248,
33411,
2248,
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,
25150,
12,
3720,
3459,
6,
5357,
5626,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
38678,
11050,
5827,
13,
49257,
324,
20124,
524,
22196,
34,
27564,
2043,
352,
4008,
5357,
2248,
13,
23912,
3672,
796,
705,
13059,
26663,
6,
38678,
11050,
2248,
13,
23912,
20274,
2435,
22196,
34,
27564,
2043,
352,
8,
532,
357,
46506,
2248,
13,
23912,
20274,
16034,
2248,
33411,
2248,
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,
25150,
12,
3720,
3459,
6,
5357,
5626,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
38678,
11050,
5827,
13,
49257,
324,
20124,
524,
22196,
34,
27564,
2043,
352,
4008,
5357,
2248,
13,
23912,
3672,
796,
705,
13059,
26663,
6,
38678,
11050,
2248,
13,
23912,
20274,
2435,
27564,
2043,
352,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
881,
286,
257,
3580,
468,
5827,
5534,
20,
12,
3720,
3459,
925,
287,
663,
33156,
2974,
938,
8630,
319,
262,
938,
4436,
3187,
3688,
284,
262,
717,
1988,
8630,
319,
262,
938,
4436,
3187,
30,
46506,
357,
46506,
2248,
13,
23912,
20274,
16034,
2248,
33411,
2248,
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,
25150,
12,
3720,
3459,
6,
5357,
5626,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
38678,
11050,
5827,
13,
49257,
324,
20124,
524,
22196,
34,
27564,
2043,
352,
4008,
5357,
2248,
13,
23912,
3672,
796,
705,
13059,
26663,
6,
38678,
11050,
2248,
13,
23912,
20274,
2435,
22196,
34,
27564,
2043,
352,
8,
532,
357,
46506,
2248,
13,
23912,
20274,
16034,
2248,
33411,
2248,
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,
25150,
12,
3720,
3459,
6,
5357,
5626,
5827,
13,
49257,
6381,
354,
7641,
524,
3180,
15697,
38678,
11050,
5827,
13,
49257,
324,
20124,
524,
22196,
34,
27564,
2043,
352,
4008,
5357,
2248,
13,
23912,
3672,
796,
705,
13059,
26663,
6,
38678,
11050,
2248,
13,
23912,
20274,
2435,
27564,
2043,
352,
8
] |
give me a flight from NEWARK to TAMPA 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 = 'TAMPA' 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 = 'NEWARK' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
26535,
502,
257,
5474,
422,
12682,
14175,
284,
33112,
4537,
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,
51,
2390,
4537,
6,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
1679,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
718,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
13965,
14175,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
5474,
422,
12682,
14175,
284,
33112,
4537,
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,
51,
2390,
4537,
6,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
1679,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
718,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
13965,
14175,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] |
Name the broadcast date for run timke of 25:04 | SELECT "Broadcast date" FROM table_24054 WHERE "Run time" = '25:04' | [
5376,
262,
7025,
3128,
329,
1057,
4628,
365,
286,
1679,
25,
3023,
46506,
366,
30507,
2701,
3128,
1,
16034,
3084,
62,
1731,
2713,
19,
33411,
366,
10987,
640,
1,
796,
705,
1495,
25,
3023,
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
] | [
5376,
262,
7025,
3128,
329,
1057,
4628,
365,
286,
1679,
25,
3023,
46506,
366,
30507,
2701,
3128,
1,
16034,
3084,
62,
1731,
2713,
19,
33411,
366,
10987,
640,
1,
796,
705,
1495,
25,
3023,
6
] |
in 2104, what were the five most frequently prescribed drugs for patients who had also been prescribed insulin human regular at the same time? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'insulin human regular' AND STRFTIME('%y', medication.drugstarttime) = '2104') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', medication.drugstarttime) = '2104') AS t2 ON t1.uniquepid = t2.uniquepid WHERE DATETIME(t1.drugstarttime) = DATETIME(t2.drugstarttime) GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 5 | [
259,
362,
13464,
11,
644,
547,
262,
1936,
749,
6777,
14798,
5010,
329,
3871,
508,
550,
635,
587,
14798,
14588,
1692,
3218,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,
30349,
3672,
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,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
14103,
13,
30349,
3672,
796,
705,
1040,
11599,
1692,
3218,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
14103,
13,
30349,
9688,
2435,
8,
796,
705,
17,
13464,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
14103,
13,
30349,
3672,
11,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
14103,
13,
30349,
9688,
2435,
8,
796,
705,
17,
13464,
11537,
7054,
256,
17,
6177,
256,
16,
13,
403,
1557,
538,
312,
796,
256,
17,
13,
403,
1557,
538,
312,
33411,
360,
1404,
2767,
12789,
7,
83,
16,
13,
30349,
9688,
2435,
8,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
30349,
9688,
2435,
8,
44441,
11050,
256,
17,
13,
30349,
3672,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
362,
13464,
11,
644,
547,
262,
1936,
749,
6777,
14798,
5010,
329,
3871,
508,
550,
635,
587,
14798,
14588,
1692,
3218,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,
30349,
3672,
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,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
14103,
13,
30349,
3672,
796,
705,
1040,
11599,
1692,
3218,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
14103,
13,
30349,
9688,
2435,
8,
796,
705,
17,
13464,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
14103,
13,
30349,
3672,
11,
14103,
13,
30349,
9688,
2435,
16034,
14103,
32357,
1268,
5827,
6177,
14103,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
14103,
13,
30349,
9688,
2435,
8,
796,
705,
17,
13464,
11537,
7054,
256,
17,
6177,
256,
16,
13,
403,
1557,
538,
312,
796,
256,
17,
13,
403,
1557,
538,
312,
33411,
360,
1404,
2767,
12789,
7,
83,
16,
13,
30349,
9688,
2435,
8,
796,
360,
1404,
2767,
12789,
7,
83,
17,
13,
30349,
9688,
2435,
8,
44441,
11050,
256,
17,
13,
30349,
3672,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
642
] |
What's bob tway's score? | SELECT score FROM table_name_51 WHERE player = "bob tway" | [
2061,
338,
29202,
665,
323,
338,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4349,
33411,
2137,
796,
366,
65,
672,
665,
323,
1
] | [
1,
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,
29202,
665,
323,
338,
4776,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4349,
33411,
2137,
796,
366,
65,
672,
665,
323,
1
] |
What is the To par of the Player with a Score of 71-69-68=208? | SELECT "To par" FROM table_13220 WHERE "Score" = '71-69-68=208' | [
2061,
318,
262,
1675,
1582,
286,
262,
7853,
351,
257,
15178,
286,
9166,
12,
3388,
12,
3104,
28,
21315,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
1485,
17572,
33411,
366,
26595,
1,
796,
705,
4869,
12,
3388,
12,
3104,
28,
21315,
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,
1675,
1582,
286,
262,
7853,
351,
257,
15178,
286,
9166,
12,
3388,
12,
3104,
28,
21315,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
1485,
17572,
33411,
366,
26595,
1,
796,
705,
4869,
12,
3388,
12,
3104,
28,
21315,
6
] |
list the top three most frequent diagnoses that the patients were diagnosed with within the same hospital visit after being diagnosed with extremity compartment syndrome - left lower extremity since 2104. | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'extremity compartment syndrome - left lower extremity' AND STRFTIME('%y', diagnosis.diagnosistime) >= '2104') AS t1 JOIN (SELECT patient.uniquepid, diagnosis.diagnosisname, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', diagnosis.diagnosistime) >= '2104') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.diagnosistime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid GROUP BY t2.diagnosisname) AS t3 WHERE t3.c1 <= 3 | [
4868,
262,
1353,
1115,
749,
10792,
40567,
326,
262,
3871,
547,
14641,
351,
1626,
262,
976,
4436,
3187,
706,
852,
14641,
351,
8963,
414,
26247,
14027,
532,
1364,
2793,
8963,
414,
1201,
362,
13464,
13,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
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,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
2302,
2787,
414,
26247,
14027,
532,
1364,
2793,
8963,
414,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
18189,
705,
17,
13464,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
5958,
3672,
11,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
18189,
705,
17,
13464,
11537,
7054,
256,
17,
6177,
256,
16,
13,
403,
1557,
538,
312,
796,
256,
17,
13,
403,
1557,
538,
312,
33411,
256,
16,
13,
47356,
418,
396,
524,
1279,
256,
17,
13,
47356,
418,
396,
524,
5357,
256,
16,
13,
26029,
13948,
10057,
31712,
312,
796,
256,
17,
13,
26029,
13948,
10057,
31712,
312,
44441,
11050,
256,
17,
13,
47356,
5958,
3672,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4868,
262,
1353,
1115,
749,
10792,
40567,
326,
262,
3871,
547,
14641,
351,
1626,
262,
976,
4436,
3187,
706,
852,
14641,
351,
8963,
414,
26247,
14027,
532,
1364,
2793,
8963,
414,
1201,
362,
13464,
13,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
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,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
13669,
13,
47356,
5958,
3672,
796,
705,
2302,
2787,
414,
26247,
14027,
532,
1364,
2793,
8963,
414,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
18189,
705,
17,
13464,
11537,
7054,
256,
16,
32357,
1268,
357,
46506,
5827,
13,
403,
1557,
538,
312,
11,
13669,
13,
47356,
5958,
3672,
11,
13669,
13,
47356,
418,
396,
524,
11,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
13669,
32357,
1268,
5827,
6177,
13669,
13,
26029,
20850,
31712,
312,
796,
5827,
13,
26029,
20850,
31712,
312,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
13669,
13,
47356,
418,
396,
524,
8,
18189,
705,
17,
13464,
11537,
7054,
256,
17,
6177,
256,
16,
13,
403,
1557,
538,
312,
796,
256,
17,
13,
403,
1557,
538,
312,
33411,
256,
16,
13,
47356,
418,
396,
524,
1279,
256,
17,
13,
47356,
418,
396,
524,
5357,
256,
16,
13,
26029,
13948,
10057,
31712,
312,
796,
256,
17,
13,
26029,
13948,
10057,
31712,
312,
44441,
11050,
256,
17,
13,
47356,
5958,
3672,
8,
7054,
256,
18,
33411,
256,
18,
13,
66,
16,
19841,
513
] |
how many goals did hinnigan score throughout this season ? | SELECT COUNT(*) FROM table_204_565 WHERE "goalscorers" = 'hinnigan' | [
4919,
867,
4661,
750,
289,
3732,
5516,
4776,
3690,
428,
1622,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
47372,
33411,
366,
2188,
874,
7295,
3808,
1,
796,
705,
71,
3732,
5516,
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
] | [
4919,
867,
4661,
750,
289,
3732,
5516,
4776,
3690,
428,
1622,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
47372,
33411,
366,
2188,
874,
7295,
3808,
1,
796,
705,
71,
3732,
5516,
6
] |
Show the location name and code with the least documents. | SELECT T2.location_name, T1.location_code FROM document_locations AS T1 JOIN ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY COUNT(*) LIMIT 1 | [
15307,
262,
4067,
1438,
290,
2438,
351,
262,
1551,
4963,
13,
46506,
309,
17,
13,
24886,
62,
3672,
11,
309,
16,
13,
24886,
62,
8189,
16034,
3188,
62,
17946,
602,
7054,
309,
16,
32357,
1268,
1006,
62,
17946,
602,
7054,
309,
17,
6177,
309,
16,
13,
24886,
62,
8189,
796,
309,
17,
13,
24886,
62,
8189,
44441,
11050,
309,
16,
13,
24886,
62,
8189,
38678,
11050,
327,
28270,
7,
28104,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
4067,
1438,
290,
2438,
351,
262,
1551,
4963,
13,
46506,
309,
17,
13,
24886,
62,
3672,
11,
309,
16,
13,
24886,
62,
8189,
16034,
3188,
62,
17946,
602,
7054,
309,
16,
32357,
1268,
1006,
62,
17946,
602,
7054,
309,
17,
6177,
309,
16,
13,
24886,
62,
8189,
796,
309,
17,
13,
24886,
62,
8189,
44441,
11050,
309,
16,
13,
24886,
62,
8189,
38678,
11050,
327,
28270,
7,
28104,
27564,
2043,
352
] |
What country was the golfer from who had a money amount of 45,000? | SELECT "Country" FROM table_45305 WHERE "Money ( $ )" = '45,000' | [
2061,
1499,
373,
262,
43791,
2232,
422,
508,
550,
257,
1637,
2033,
286,
4153,
11,
830,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2231,
22515,
33411,
366,
26788,
357,
720,
1267,
1,
796,
705,
2231,
11,
830,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
373,
262,
43791,
2232,
422,
508,
550,
257,
1637,
2033,
286,
4153,
11,
830,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2231,
22515,
33411,
366,
26788,
357,
720,
1267,
1,
796,
705,
2231,
11,
830,
6
] |
What tournament was being played on August 11, 1984? | SELECT "Tournament" FROM table_33890 WHERE "Date" = 'august 11, 1984' | [
2061,
7756,
373,
852,
2826,
319,
2932,
1367,
11,
12844,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
28460,
3829,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1367,
11,
12844,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7756,
373,
852,
2826,
319,
2932,
1367,
11,
12844,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
28460,
3829,
33411,
366,
10430,
1,
796,
705,
7493,
436,
1367,
11,
12844,
6
] |
What decade is the artist the replacements? | SELECT decade FROM table_name_92 WHERE artist = "the replacements" | [
2061,
5707,
318,
262,
6802,
262,
36205,
30,
46506,
5707,
16034,
3084,
62,
3672,
62,
5892,
33411,
6802,
796,
366,
1169,
36205,
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,
5707,
318,
262,
6802,
262,
36205,
30,
46506,
5707,
16034,
3084,
62,
3672,
62,
5892,
33411,
6802,
796,
366,
1169,
36205,
1
] |
what are the top four common diagnoses of patients of age 30s until 3 years ago? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 30 AND 39) AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-3 year') GROUP BY diagnoses_icd.icd9_code) AS t1 WHERE t1.c1 <= 4) | [
10919,
389,
262,
1353,
1440,
2219,
40567,
286,
3871,
286,
2479,
1542,
82,
1566,
513,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
16,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
496,
38651,
8845,
1677,
1542,
5357,
5014,
8,
5357,
360,
1404,
2767,
12789,
7,
47356,
4629,
62,
291,
67,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
18,
614,
11537,
44441,
11050,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
8,
7054,
256,
16,
33411,
256,
16,
13,
66,
16,
19841,
604,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1353,
1440,
2219,
40567,
286,
3871,
286,
2479,
1542,
82,
1566,
513,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
16,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
496,
38651,
8845,
1677,
1542,
5357,
5014,
8,
5357,
360,
1404,
2767,
12789,
7,
47356,
4629,
62,
291,
67,
13,
40926,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
18,
614,
11537,
44441,
11050,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
8,
7054,
256,
16,
33411,
256,
16,
13,
66,
16,
19841,
604,
8
] |
Which rider has a Manufacturer of honda with a time of +44.814? | SELECT "Rider" FROM table_36534 WHERE "Manufacturer" = 'honda' AND "Time/Retired" = '+44.814' | [
13828,
17876,
468,
257,
40218,
286,
289,
13533,
351,
257,
640,
286,
1343,
2598,
13,
23,
1415,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
24760,
2682,
33411,
366,
44445,
15051,
1,
796,
705,
71,
13533,
6,
5357,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
2598,
13,
23,
1415,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
17876,
468,
257,
40218,
286,
289,
13533,
351,
257,
640,
286,
1343,
2598,
13,
23,
1415,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
24760,
2682,
33411,
366,
44445,
15051,
1,
796,
705,
71,
13533,
6,
5357,
366,
7575,
14,
9781,
1202,
1,
796,
705,
10,
2598,
13,
23,
1415,
6
] |
on thursday i'd like a flight from ST. PETERSBURG to MIAMI | 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 = 'MIAMI' AND date_day.day_number = 24 AND date_day.month_number = 5 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 = 'ST. PETERSBURG' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
261,
294,
3479,
1312,
1549,
588,
257,
5474,
422,
3563,
13,
32043,
4877,
38926,
38,
284,
15789,
2390,
24352,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
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,
8895,
43870,
6,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
1987,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
642,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
2257,
13,
32043,
4877,
38926,
38,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
261,
294,
3479,
1312,
1549,
588,
257,
5474,
422,
3563,
13,
32043,
4877,
38926,
38,
284,
15789,
2390,
24352,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
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,
8895,
43870,
6,
5357,
3128,
62,
820,
13,
820,
62,
17618,
796,
1987,
5357,
3128,
62,
820,
13,
8424,
62,
17618,
796,
642,
5357,
3128,
62,
820,
13,
1941,
796,
10249,
5357,
1528,
13,
820,
62,
3672,
796,
3128,
62,
820,
13,
820,
62,
3672,
5357,
5474,
13,
22560,
62,
12545,
796,
1528,
13,
12545,
62,
8189,
5357,
5474,
13,
1462,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
958,
634,
62,
8189,
8,
5357,
27993,
62,
15,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
19205,
62,
8189,
5357,
27993,
62,
15,
13,
19205,
62,
3672,
796,
705,
2257,
13,
32043,
4877,
38926,
38,
6,
5357,
5474,
13,
6738,
62,
958,
634,
796,
31600,
15490,
62,
35009,
27389,
62,
15,
13,
958,
634,
62,
8189
] |
what was the output of patient 012-4131 for the first time, on last month/21? | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-4131')) AND intakeoutput.cellpath LIKE '%output%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') AND STRFTIME('%d', intakeoutput.intakeoutputtime) = '21' ORDER BY intakeoutput.intakeoutputtime LIMIT 1 | [
10919,
373,
262,
5072,
286,
5827,
5534,
17,
12,
19,
22042,
329,
262,
717,
640,
11,
319,
938,
1227,
14,
2481,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
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,
30206,
12,
19,
22042,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
22915,
4,
6,
5357,
360,
1404,
2767,
12789,
7,
600,
539,
22915,
13,
600,
539,
22915,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
1227,
3256,
705,
12,
16,
1227,
11537,
5357,
19269,
9792,
12789,
10786,
4,
67,
3256,
10337,
22915,
13,
600,
539,
22915,
2435,
8,
796,
705,
2481,
6,
38678,
11050,
10337,
22915,
13,
600,
539,
22915,
2435,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5072,
286,
5827,
5534,
17,
12,
19,
22042,
329,
262,
717,
640,
11,
319,
938,
1227,
14,
2481,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
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,
30206,
12,
19,
22042,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
22915,
4,
6,
5357,
360,
1404,
2767,
12789,
7,
600,
539,
22915,
13,
600,
539,
22915,
2435,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
9688,
286,
1227,
3256,
705,
12,
16,
1227,
11537,
5357,
19269,
9792,
12789,
10786,
4,
67,
3256,
10337,
22915,
13,
600,
539,
22915,
2435,
8,
796,
705,
2481,
6,
38678,
11050,
10337,
22915,
13,
600,
539,
22915,
2435,
27564,
2043,
352
] |
Which song was chosen during the audition week? | SELECT "Song choice" FROM table_74421 WHERE "Week #" = 'Audition' | [
13828,
3496,
373,
7147,
1141,
262,
31678,
1285,
30,
46506,
366,
44241,
3572,
1,
16034,
3084,
62,
22,
2598,
2481,
33411,
366,
20916,
1303,
1,
796,
705,
16353,
653,
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
] | [
13828,
3496,
373,
7147,
1141,
262,
31678,
1285,
30,
46506,
366,
44241,
3572,
1,
16034,
3084,
62,
22,
2598,
2481,
33411,
366,
20916,
1303,
1,
796,
705,
16353,
653,
6
] |
Which films does the actor Alla Sergiyko star in? | SELECT "Film Name" FROM table_16002 WHERE "Actors Name" = 'Alla Sergiyko' | [
13828,
7328,
857,
262,
8674,
1439,
64,
2930,
70,
7745,
7204,
3491,
287,
30,
46506,
366,
39750,
6530,
1,
16034,
3084,
62,
1433,
21601,
33411,
366,
32,
5217,
6530,
1,
796,
705,
3237,
64,
2930,
70,
7745,
7204,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7328,
857,
262,
8674,
1439,
64,
2930,
70,
7745,
7204,
3491,
287,
30,
46506,
366,
39750,
6530,
1,
16034,
3084,
62,
1433,
21601,
33411,
366,
32,
5217,
6530,
1,
796,
705,
3237,
64,
2930,
70,
7745,
7204,
6
] |
How many Against has a Ballarat FL of darley and Wins larger than 8? | SELECT COUNT(against) FROM table_name_4 WHERE ballarat_fl = "darley" AND wins > 8 | [
2437,
867,
12914,
468,
257,
6932,
34174,
9977,
286,
288,
283,
1636,
290,
24423,
4025,
621,
807,
30,
46506,
327,
28270,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
2613,
34174,
62,
2704,
796,
366,
27455,
1636,
1,
5357,
7864,
1875,
807
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
12914,
468,
257,
6932,
34174,
9977,
286,
288,
283,
1636,
290,
24423,
4025,
621,
807,
30,
46506,
327,
28270,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
19,
33411,
2613,
34174,
62,
2704,
796,
366,
27455,
1636,
1,
5357,
7864,
1875,
807
] |
Which Result has an Attendance of 60,705? | SELECT "Result" FROM table_40877 WHERE "Attendance" = '60,705' | [
13828,
25414,
468,
281,
46502,
590,
286,
3126,
11,
34801,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
26200,
3324,
33411,
366,
8086,
437,
590,
1,
796,
705,
1899,
11,
34801,
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
] | [
13828,
25414,
468,
281,
46502,
590,
286,
3126,
11,
34801,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
26200,
3324,
33411,
366,
8086,
437,
590,
1,
796,
705,
1899,
11,
34801,
6
] |
Name the college for andrej podkonicky | SELECT college_junior_club_team FROM table_2840500_8 WHERE player = "Andrej Podkonicky" | [
5376,
262,
4152,
329,
290,
260,
73,
24573,
74,
261,
17479,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
2078,
1821,
4059,
62,
23,
33411,
2137,
796,
366,
31258,
73,
17437,
74,
261,
17479,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4152,
329,
290,
260,
73,
24573,
74,
261,
17479,
46506,
4152,
62,
29741,
1504,
62,
18664,
62,
15097,
16034,
3084,
62,
2078,
1821,
4059,
62,
23,
33411,
2137,
796,
366,
31258,
73,
17437,
74,
261,
17479,
1
] |
what are the total number of distinct countries ? | SELECT COUNT(DISTINCT "country") FROM table_203_230 | [
10919,
389,
262,
2472,
1271,
286,
7310,
2678,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
366,
19315,
4943,
16034,
3084,
62,
22416,
62,
19214
] | [
1,
1,
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,
2472,
1271,
286,
7310,
2678,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
366,
19315,
4943,
16034,
3084,
62,
22416,
62,
19214
] |
during the 1951 world ice hockey championships , what was the difference between the first and last place teams for number of games won ? | SELECT (SELECT "won" FROM table_203_486 ORDER BY "place" LIMIT 1) - (SELECT "won" FROM table_203_486 ORDER BY "place" DESC LIMIT 1) | [
42122,
262,
27937,
995,
4771,
12217,
27459,
837,
644,
373,
262,
3580,
1022,
262,
717,
290,
938,
1295,
3466,
329,
1271,
286,
1830,
1839,
5633,
46506,
357,
46506,
366,
26502,
1,
16034,
3084,
62,
22416,
62,
34251,
38678,
11050,
366,
5372,
1,
27564,
2043,
352,
8,
532,
357,
46506,
366,
26502,
1,
16034,
3084,
62,
22416,
62,
34251,
38678,
11050,
366,
5372,
1,
22196,
34,
27564,
2043,
352,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
42122,
262,
27937,
995,
4771,
12217,
27459,
837,
644,
373,
262,
3580,
1022,
262,
717,
290,
938,
1295,
3466,
329,
1271,
286,
1830,
1839,
5633,
46506,
357,
46506,
366,
26502,
1,
16034,
3084,
62,
22416,
62,
34251,
38678,
11050,
366,
5372,
1,
27564,
2043,
352,
8,
532,
357,
46506,
366,
26502,
1,
16034,
3084,
62,
22416,
62,
34251,
38678,
11050,
366,
5372,
1,
22196,
34,
27564,
2043,
352,
8
] |
had patient 031-22988 been at an er until 2 years ago? | SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '031-22988' AND patient.hospitaladmitsource = 'emergency department' AND DATETIME(patient.unitadmittime) <= DATETIME(CURRENT_TIME(), '-2 year') | [
18108,
5827,
657,
3132,
12,
23539,
3459,
587,
379,
281,
1931,
1566,
362,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
43637,
12,
23539,
3459,
6,
5357,
5827,
13,
49257,
324,
24883,
1668,
796,
705,
24677,
4949,
5011,
6,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
20850,
324,
20124,
524,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
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
] | [
18108,
5827,
657,
3132,
12,
23539,
3459,
587,
379,
281,
1931,
1566,
362,
812,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
43637,
12,
23539,
3459,
6,
5357,
5827,
13,
49257,
324,
24883,
1668,
796,
705,
24677,
4949,
5011,
6,
5357,
360,
1404,
2767,
12789,
7,
26029,
13,
20850,
324,
20124,
524,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705,
12,
17,
614,
11537
] |
When was the season that had more teams larger than 14 in the super rugby league? | SELECT "Season" FROM table_56702 WHERE "# of Teams" > '14' AND "League" = 'super rugby' | [
2215,
373,
262,
1622,
326,
550,
517,
3466,
4025,
621,
1478,
287,
262,
2208,
22948,
4652,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
3980,
36680,
33411,
25113,
286,
24690,
1,
1875,
705,
1415,
6,
5357,
366,
24623,
1,
796,
705,
16668,
22948,
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
] | [
2215,
373,
262,
1622,
326,
550,
517,
3466,
4025,
621,
1478,
287,
262,
2208,
22948,
4652,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
3980,
36680,
33411,
25113,
286,
24690,
1,
1875,
705,
1415,
6,
5357,
366,
24623,
1,
796,
705,
16668,
22948,
6
] |
Posts that were deleted but not undeleted. | SELECT p.Id AS "post_link" FROM Posts AS p JOIN PostHistory AS h ON h.PostId = p.Id JOIN PostHistoryTypes AS pht ON pht.Id = h.PostHistoryTypeId WHERE h.PostHistoryTypeId = 12 AND NOT EXISTS(SELECT Id FROM PostHistory WHERE PostId = h.PostId AND PostHistoryTypeId = 13) ORDER BY p.CreationDate | [
21496,
326,
547,
13140,
475,
407,
3318,
11129,
1513,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
32357,
1268,
2947,
18122,
7054,
289,
6177,
289,
13,
6307,
7390,
796,
279,
13,
7390,
32357,
1268,
2947,
18122,
31431,
7054,
872,
83,
6177,
872,
83,
13,
7390,
796,
289,
13,
6307,
18122,
6030,
7390,
33411,
289,
13,
6307,
18122,
6030,
7390,
796,
1105,
5357,
5626,
7788,
1797,
4694,
7,
46506,
5121,
16034,
2947,
18122,
33411,
2947,
7390,
796,
289,
13,
6307,
7390,
5357,
2947,
18122,
6030,
7390,
796,
1511,
8,
38678,
11050,
279,
13,
12443,
341,
10430
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21496,
326,
547,
13140,
475,
407,
3318,
11129,
1513,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
12043,
7054,
279,
32357,
1268,
2947,
18122,
7054,
289,
6177,
289,
13,
6307,
7390,
796,
279,
13,
7390,
32357,
1268,
2947,
18122,
31431,
7054,
872,
83,
6177,
872,
83,
13,
7390,
796,
289,
13,
6307,
18122,
6030,
7390,
33411,
289,
13,
6307,
18122,
6030,
7390,
796,
1105,
5357,
5626,
7788,
1797,
4694,
7,
46506,
5121,
16034,
2947,
18122,
33411,
2947,
7390,
796,
289,
13,
6307,
7390,
5357,
2947,
18122,
6030,
7390,
796,
1511,
8,
38678,
11050,
279,
13,
12443,
341,
10430
] |
Bar chart x axis job y axis the average of age | SELECT job, AVG(age) FROM Person GROUP BY job | [
10374,
8262,
2124,
16488,
1693,
331,
16488,
262,
2811,
286,
2479,
46506,
1693,
11,
35224,
7,
496,
8,
16034,
7755,
44441,
11050,
1693
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
1693,
331,
16488,
262,
2811,
286,
2479,
46506,
1693,
11,
35224,
7,
496,
8,
16034,
7755,
44441,
11050,
1693
] |
By City in Reputation Range. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Location, Age, LastAccessDate, Reputation FROM Users WHERE LOWER(Location) LIKE LOWER('%##Country##%') AND Reputation > '##reputation:int##' ORDER BY Reputation DESC | [
3886,
2254,
287,
1432,
7094,
13667,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
13397,
11,
7129,
11,
4586,
15457,
10430,
11,
1432,
7094,
16034,
18987,
33411,
406,
36048,
7,
14749,
8,
34178,
406,
36048,
10786,
4,
2235,
33921,
2235,
4,
11537,
5357,
1432,
7094,
1875,
705,
2235,
260,
1996,
341,
25,
600,
2235,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3886,
2254,
287,
1432,
7094,
13667,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
13397,
11,
7129,
11,
4586,
15457,
10430,
11,
1432,
7094,
16034,
18987,
33411,
406,
36048,
7,
14749,
8,
34178,
406,
36048,
10786,
4,
2235,
33921,
2235,
4,
11537,
5357,
1432,
7094,
1875,
705,
2235,
260,
1996,
341,
25,
600,
2235,
6,
38678,
11050,
1432,
7094,
22196,
34
] |
what is admission time and discharge time of subject id 17595? | SELECT demographic.admittime, demographic.dischtime FROM demographic WHERE demographic.subject_id = "17595" | [
10919,
318,
13938,
640,
290,
17655,
640,
286,
2426,
4686,
1596,
35124,
30,
46506,
16728,
13,
324,
20124,
524,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1558,
35124,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
640,
290,
17655,
640,
286,
2426,
4686,
1596,
35124,
30,
46506,
16728,
13,
324,
20124,
524,
11,
16728,
13,
6381,
354,
2435,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1558,
35124,
1
] |
Which Partner has a Date of 8 february 2009? | SELECT "Partner" FROM table_5775 WHERE "Date" = '8 february 2009' | [
13828,
35532,
468,
257,
7536,
286,
807,
730,
65,
3728,
3717,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
3553,
2425,
33411,
366,
10430,
1,
796,
705,
23,
730,
65,
3728,
3717,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
35532,
468,
257,
7536,
286,
807,
730,
65,
3728,
3717,
30,
46506,
366,
7841,
1008,
1,
16034,
3084,
62,
3553,
2425,
33411,
366,
10430,
1,
796,
705,
23,
730,
65,
3728,
3717,
6
] |
Which chassis is from 1974 and was an entrant of Goldie Hexagon racing? | SELECT "Chassis" FROM table_68927 WHERE "Year" = '1974' AND "Entrant" = 'goldie hexagon racing' | [
13828,
24587,
318,
422,
16489,
290,
373,
281,
920,
5250,
286,
3561,
494,
22212,
1840,
11717,
30,
46506,
366,
1925,
20297,
1,
16034,
3084,
62,
40523,
1983,
33411,
366,
17688,
1,
796,
705,
40828,
6,
5357,
366,
14539,
5250,
1,
796,
705,
24267,
494,
17910,
1840,
11717,
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
] | [
13828,
24587,
318,
422,
16489,
290,
373,
281,
920,
5250,
286,
3561,
494,
22212,
1840,
11717,
30,
46506,
366,
1925,
20297,
1,
16034,
3084,
62,
40523,
1983,
33411,
366,
17688,
1,
796,
705,
40828,
6,
5357,
366,
14539,
5250,
1,
796,
705,
24267,
494,
17910,
1840,
11717,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, a bar chart shows the distribution of hire_date and the average of manager_id bin hire_date by time, list total number from high to low order. | SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY AVG(MANAGER_ID) DESC | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
1351,
2472,
1271,
422,
1029,
284,
1877,
1502,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35224,
7,
10725,
4760,
1137,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366,
8423,
1,
6375,
5550,
30709,
10979,
62,
2389,
1279,
29,
2319,
38678,
11050,
35224,
7,
10725,
4760,
1137,
62,
2389,
8,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
1351,
2472,
1271,
422,
1029,
284,
1877,
1502,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
35224,
7,
10725,
4760,
1137,
62,
2389,
8,
16034,
4409,
33411,
42475,
13153,
38651,
8845,
1677,
38055,
5357,
1105,
830,
5357,
22240,
40373,
62,
47,
4177,
1279,
29,
366,
8423,
1,
6375,
5550,
30709,
10979,
62,
2389,
1279,
29,
2319,
38678,
11050,
35224,
7,
10725,
4760,
1137,
62,
2389,
8,
22196,
34
] |
Give the number of patients that survived and had a lab test name of phosphate, urine. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.expire_flag = "0" AND lab.label = "Phosphate, Urine" | [
23318,
262,
1271,
286,
3871,
326,
11803,
290,
550,
257,
2248,
1332,
1438,
286,
46926,
11,
18922,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
2248,
13,
18242,
796,
366,
2725,
14222,
378,
11,
471,
7640,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
262,
1271,
286,
3871,
326,
11803,
290,
550,
257,
2248,
1332,
1438,
286,
46926,
11,
18922,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1,
5357,
2248,
13,
18242,
796,
366,
2725,
14222,
378,
11,
471,
7640,
1
] |
what is the airport for the country tunisia with the icao dtaa? | SELECT "Airport" FROM table_49755 WHERE "Country" = 'tunisia' AND "ICAO" = 'dtaa' | [
10919,
318,
262,
9003,
329,
262,
1499,
6278,
271,
544,
351,
262,
220,
3970,
78,
288,
83,
7252,
30,
46506,
366,
16170,
634,
1,
16034,
3084,
62,
2920,
38172,
33411,
366,
33921,
1,
796,
705,
28286,
271,
544,
6,
5357,
366,
25241,
46,
1,
796,
705,
28664,
7252,
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
] | [
10919,
318,
262,
9003,
329,
262,
1499,
6278,
271,
544,
351,
262,
220,
3970,
78,
288,
83,
7252,
30,
46506,
366,
16170,
634,
1,
16034,
3084,
62,
2920,
38172,
33411,
366,
33921,
1,
796,
705,
28286,
271,
544,
6,
5357,
366,
25241,
46,
1,
796,
705,
28664,
7252,
6
] |
For each player, show the team and the location of school they belong to. | SELECT T1.Team, T2.Location FROM player AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID | [
1890,
1123,
2137,
11,
905,
262,
1074,
290,
262,
4067,
286,
1524,
484,
5594,
284,
13,
46506,
309,
16,
13,
15592,
11,
309,
17,
13,
14749,
16034,
2137,
7054,
309,
16,
32357,
1268,
1524,
7054,
309,
17,
6177,
309,
16,
13,
26130,
62,
2389,
796,
309,
17,
13,
26130,
62,
2389
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
1123,
2137,
11,
905,
262,
1074,
290,
262,
4067,
286,
1524,
484,
5594,
284,
13,
46506,
309,
16,
13,
15592,
11,
309,
17,
13,
14749,
16034,
2137,
7054,
309,
16,
32357,
1268,
1524,
7054,
309,
17,
6177,
309,
16,
13,
26130,
62,
2389,
796,
309,
17,
13,
26130,
62,
2389
] |
What Owner Delivered the T415? | SELECT "Owner" FROM table_6592 WHERE "Delivered as" = 't415' | [
2061,
23853,
4216,
6396,
262,
309,
35038,
30,
46506,
366,
42419,
1,
16034,
3084,
62,
2996,
5892,
33411,
366,
13856,
6396,
355,
1,
796,
705,
83,
35038,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
23853,
4216,
6396,
262,
309,
35038,
30,
46506,
366,
42419,
1,
16034,
3084,
62,
2996,
5892,
33411,
366,
13856,
6396,
355,
1,
796,
705,
83,
35038,
6
] |
Total larger than 285, and a Finish of t30 belongs to what player? | SELECT "Player" FROM table_37036 WHERE "Total" > '285' AND "Finish" = 't30' | [
14957,
4025,
621,
33015,
11,
290,
257,
32585,
286,
256,
1270,
14448,
284,
644,
2137,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
20167,
2623,
33411,
366,
14957,
1,
1875,
705,
26279,
6,
5357,
366,
48658,
1,
796,
705,
83,
1270,
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
] | [
14957,
4025,
621,
33015,
11,
290,
257,
32585,
286,
256,
1270,
14448,
284,
644,
2137,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
20167,
2623,
33411,
366,
14957,
1,
1875,
705,
26279,
6,
5357,
366,
48658,
1,
796,
705,
83,
1270,
6
] |
what models are produced where the plant is scarborough? | SELECT models_produced FROM table_250309_1 WHERE plant = "Scarborough" | [
10919,
4981,
389,
4635,
810,
262,
4618,
318,
10153,
17913,
30,
46506,
4981,
62,
32783,
16034,
3084,
62,
9031,
26895,
62,
16,
33411,
4618,
796,
366,
44433,
17913,
1
] | [
1,
1,
1,
1,
1,
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,
4981,
389,
4635,
810,
262,
4618,
318,
10153,
17913,
30,
46506,
4981,
62,
32783,
16034,
3084,
62,
9031,
26895,
62,
16,
33411,
4618,
796,
366,
44433,
17913,
1
] |
Which Surface has a Tournament of st. petersburg , russia? | SELECT surface FROM table_name_53 WHERE tournament = "st. petersburg , russia" | [
13828,
20321,
468,
257,
9595,
286,
336,
13,
4273,
364,
7423,
837,
374,
31269,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
4310,
33411,
7756,
796,
366,
301,
13,
4273,
364,
7423,
837,
374,
31269,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20321,
468,
257,
9595,
286,
336,
13,
4273,
364,
7423,
837,
374,
31269,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
4310,
33411,
7756,
796,
366,
301,
13,
4273,
364,
7423,
837,
374,
31269,
1
] |
The match against Paul-Henri Mathieu had what outcome? | SELECT "Outcome" FROM table_60566 WHERE "Opponent" = 'paul-henri mathieu' | [
464,
2872,
1028,
3362,
12,
26055,
380,
16320,
22304,
550,
644,
8055,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
32417,
2791,
33411,
366,
27524,
3471,
1,
796,
705,
79,
2518,
12,
831,
380,
10688,
22304,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
2872,
1028,
3362,
12,
26055,
380,
16320,
22304,
550,
644,
8055,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
32417,
2791,
33411,
366,
27524,
3471,
1,
796,
705,
79,
2518,
12,
831,
380,
10688,
22304,
6
] |
What's the title in the number 10 in the season? | SELECT "Title" FROM table_29320 WHERE "No. in season" = '10' | [
2061,
338,
262,
3670,
287,
262,
1271,
838,
287,
262,
1622,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1959,
19504,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
940,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
3670,
287,
262,
1271,
838,
287,
262,
1622,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1959,
19504,
33411,
366,
2949,
13,
287,
1622,
1,
796,
705,
940,
6
] |
calculate the number of patients who received a microbiology sputum, expectorated test in 2104. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT microlab.patientunitstayid FROM microlab WHERE microlab.culturesite = 'sputum, expectorated' AND STRFTIME('%y', microlab.culturetakentime) = '2104') | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
2722,
257,
24559,
1435,
599,
315,
388,
11,
1607,
273,
515,
1332,
287,
362,
13464,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
4580,
23912,
13,
26029,
20850,
31712,
312,
16034,
4580,
23912,
33411,
4580,
23912,
13,
40820,
942,
578,
796,
705,
82,
1996,
388,
11,
1607,
273,
515,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
4580,
23912,
13,
25584,
83,
461,
298,
524,
8,
796,
705,
17,
13464,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
2722,
257,
24559,
1435,
599,
315,
388,
11,
1607,
273,
515,
1332,
287,
362,
13464,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
4580,
23912,
13,
26029,
20850,
31712,
312,
16034,
4580,
23912,
33411,
4580,
23912,
13,
40820,
942,
578,
796,
705,
82,
1996,
388,
11,
1607,
273,
515,
6,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
4580,
23912,
13,
25584,
83,
461,
298,
524,
8,
796,
705,
17,
13464,
11537
] |
Name the player for 199 height | SELECT "Player" FROM table_27342 WHERE "Height" = '199' | [
5376,
262,
2137,
329,
1594,
6001,
46506,
366,
14140,
1,
16034,
3084,
62,
1983,
31575,
33411,
366,
23106,
1,
796,
705,
19104,
6
] | [
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,
2137,
329,
1594,
6001,
46506,
366,
14140,
1,
16034,
3084,
62,
1983,
31575,
33411,
366,
23106,
1,
796,
705,
19104,
6
] |
Tell me the gender of the patient with patient id 76446. | SELECT demographic.gender FROM demographic WHERE demographic.subject_id = "76446" | [
24446,
502,
262,
5279,
286,
262,
5827,
351,
5827,
4686,
767,
2414,
3510,
13,
46506,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
22,
2414,
3510,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
5279,
286,
262,
5827,
351,
5827,
4686,
767,
2414,
3510,
13,
46506,
16728,
13,
8388,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
22,
2414,
3510,
1
] |
What type had a course of Grosseto To Rieti? | SELECT "Type" FROM table_68523 WHERE "Course" = 'grosseto to rieti' | [
2061,
2099,
550,
257,
1781,
286,
21796,
27206,
1675,
371,
1155,
72,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
35978,
1954,
33411,
366,
49046,
1,
796,
705,
47181,
27206,
284,
374,
1155,
72,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2099,
550,
257,
1781,
286,
21796,
27206,
1675,
371,
1155,
72,
30,
46506,
366,
6030,
1,
16034,
3084,
62,
35978,
1954,
33411,
366,
49046,
1,
796,
705,
47181,
27206,
284,
374,
1155,
72,
6
] |
Answer to Score Ratio Since Date. | SELECT SUM(A.Score) AS TotalScore, COUNT(A.Id) AS AnswerCount, SUM(A.Score) / (COUNT(A.Id) / 1.0) AS ScorePerAnswer, A.OwnerUserId AS "user_link" FROM Posts AS A WHERE A.CreationDate > '##date##' AND A.PostTypeId = 2 GROUP BY A.OwnerUserId HAVING SUM(A.Score) > 500 ORDER BY ScorePerAnswer DESC | [
33706,
284,
15178,
33956,
4619,
7536,
13,
46506,
35683,
7,
32,
13,
26595,
8,
7054,
7472,
26595,
11,
327,
28270,
7,
32,
13,
7390,
8,
7054,
23998,
12332,
11,
35683,
7,
32,
13,
26595,
8,
1220,
357,
34,
28270,
7,
32,
13,
7390,
8,
1220,
352,
13,
15,
8,
7054,
15178,
5990,
33706,
11,
317,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
12043,
7054,
317,
33411,
317,
13,
12443,
341,
10430,
1875,
705,
2235,
4475,
2235,
6,
5357,
317,
13,
6307,
6030,
7390,
796,
362,
44441,
11050,
317,
13,
42419,
12982,
7390,
367,
10116,
2751,
35683,
7,
32,
13,
26595,
8,
1875,
5323,
38678,
11050,
15178,
5990,
33706,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33706,
284,
15178,
33956,
4619,
7536,
13,
46506,
35683,
7,
32,
13,
26595,
8,
7054,
7472,
26595,
11,
327,
28270,
7,
32,
13,
7390,
8,
7054,
23998,
12332,
11,
35683,
7,
32,
13,
26595,
8,
1220,
357,
34,
28270,
7,
32,
13,
7390,
8,
1220,
352,
13,
15,
8,
7054,
15178,
5990,
33706,
11,
317,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
12043,
7054,
317,
33411,
317,
13,
12443,
341,
10430,
1875,
705,
2235,
4475,
2235,
6,
5357,
317,
13,
6307,
6030,
7390,
796,
362,
44441,
11050,
317,
13,
42419,
12982,
7390,
367,
10116,
2751,
35683,
7,
32,
13,
26595,
8,
1875,
5323,
38678,
11050,
15178,
5990,
33706,
22196,
34
] |
how many chiefs are from new york ? | SELECT COUNT("name") FROM table_203_760 WHERE "state" = 'new york' | [
4919,
867,
30217,
389,
422,
649,
331,
967,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
22416,
62,
40761,
33411,
366,
5219,
1,
796,
705,
3605,
331,
967,
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
] | [
4919,
867,
30217,
389,
422,
649,
331,
967,
5633,
46506,
327,
28270,
7203,
3672,
4943,
16034,
3084,
62,
22416,
62,
40761,
33411,
366,
5219,
1,
796,
705,
3605,
331,
967,
6
] |
What is the average grid with a number of laps smaller than 8? | SELECT AVG("Grid") FROM table_5144 WHERE "Laps" < '8' | [
2061,
318,
262,
2811,
10706,
351,
257,
1271,
286,
24590,
4833,
621,
807,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
20,
18444,
33411,
366,
43,
1686,
1,
1279,
705,
23,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
10706,
351,
257,
1271,
286,
24590,
4833,
621,
807,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
20,
18444,
33411,
366,
43,
1686,
1,
1279,
705,
23,
6
] |
Compute the average price of all the products. | SELECT AVG(price) FROM products | [
7293,
1133,
262,
2811,
2756,
286,
477,
262,
3186,
13,
46506,
35224,
7,
20888,
8,
16034,
3186
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7293,
1133,
262,
2811,
2756,
286,
477,
262,
3186,
13,
46506,
35224,
7,
20888,
8,
16034,
3186
] |
what is maximum age of patients whose marital status is widowed and admission location is phys referral/normal deli? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
5357,
16728,
13,
324,
3411,
62,
24886,
796,
366,
11909,
16309,
4526,
24302,
35296,
14,
35510,
42126,
28163,
40,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
2479,
286,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
5357,
16728,
13,
324,
3411,
62,
24886,
796,
366,
11909,
16309,
4526,
24302,
35296,
14,
35510,
42126,
28163,
40,
1
] |
What is the average start for the season with $7,220 in winnings? | SELECT avg_start FROM table_1637041_6 WHERE winnings = "$7,220" | [
2061,
318,
262,
2811,
923,
329,
262,
1622,
351,
720,
22,
11,
17572,
287,
1592,
23400,
30,
46506,
42781,
62,
9688,
16034,
3084,
62,
1433,
20167,
3901,
62,
21,
33411,
1592,
23400,
796,
17971,
22,
11,
17572,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
923,
329,
262,
1622,
351,
720,
22,
11,
17572,
287,
1592,
23400,
30,
46506,
42781,
62,
9688,
16034,
3084,
62,
1433,
20167,
3901,
62,
21,
33411,
1592,
23400,
796,
17971,
22,
11,
17572,
1
] |
Name the high points for pepsi center 19,155 | SELECT "High points" FROM table_73511 WHERE "Location Attendance" = 'Pepsi Center 19,155' | [
5376,
262,
1029,
2173,
329,
279,
538,
13396,
3641,
678,
11,
18742,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
22,
2327,
1157,
33411,
366,
14749,
46502,
590,
1,
796,
705,
47,
538,
13396,
3337,
678,
11,
18742,
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
] | [
5376,
262,
1029,
2173,
329,
279,
538,
13396,
3641,
678,
11,
18742,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
22,
2327,
1157,
33411,
366,
14749,
46502,
590,
1,
796,
705,
47,
538,
13396,
3337,
678,
11,
18742,
6
] |
What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese? | SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obese_children_and_adolescents = "12.4%" | [
2061,
318,
790,
5873,
286,
22652,
393,
20779,
6490,
618,
1105,
13,
19,
4,
286,
1751,
290,
25447,
389,
20779,
30,
46506,
22652,
834,
259,
565,
62,
672,
2771,
834,
324,
8376,
16034,
3084,
62,
23362,
3365,
34287,
62,
16,
33411,
20779,
62,
17197,
62,
392,
62,
324,
16850,
658,
796,
366,
1065,
13,
19,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
5873,
286,
22652,
393,
20779,
6490,
618,
1105,
13,
19,
4,
286,
1751,
290,
25447,
389,
20779,
30,
46506,
22652,
834,
259,
565,
62,
672,
2771,
834,
324,
8376,
16034,
3084,
62,
23362,
3365,
34287,
62,
16,
33411,
20779,
62,
17197,
62,
392,
62,
324,
16850,
658,
796,
366,
1065,
13,
19,
39658
] |
Where was the shot pct 78? | SELECT locale FROM table_21093403_1 WHERE shot_pct = 78 | [
8496,
373,
262,
2823,
279,
310,
8699,
30,
46506,
36693,
16034,
3084,
62,
21536,
6052,
31552,
62,
16,
33411,
2823,
62,
79,
310,
796,
8699
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
373,
262,
2823,
279,
310,
8699,
30,
46506,
36693,
16034,
3084,
62,
21536,
6052,
31552,
62,
16,
33411,
2823,
62,
79,
310,
796,
8699
] |
what is the tie no when the attendance is 126? | SELECT AVG("Tie no") FROM table_10433 WHERE "Attendance" = '126' | [
10919,
318,
262,
9839,
645,
618,
262,
14858,
318,
19710,
30,
46506,
35224,
7203,
51,
494,
645,
4943,
16034,
3084,
62,
13464,
2091,
33411,
366,
8086,
437,
590,
1,
796,
705,
19420,
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
] | [
10919,
318,
262,
9839,
645,
618,
262,
14858,
318,
19710,
30,
46506,
35224,
7203,
51,
494,
645,
4943,
16034,
3084,
62,
13464,
2091,
33411,
366,
8086,
437,
590,
1,
796,
705,
19420,
6
] |
alabama last put someone to death in 2013 what was its means of execution ? | SELECT "method" FROM table_203_9 WHERE "state" = 'alabama' | [
282,
8809,
938,
1234,
2130,
284,
1918,
287,
2211,
644,
373,
663,
1724,
286,
9706,
5633,
46506,
366,
24396,
1,
16034,
3084,
62,
22416,
62,
24,
33411,
366,
5219,
1,
796,
705,
282,
8809,
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
] | [
282,
8809,
938,
1234,
2130,
284,
1918,
287,
2211,
644,
373,
663,
1724,
286,
9706,
5633,
46506,
366,
24396,
1,
16034,
3084,
62,
22416,
62,
24,
33411,
366,
5219,
1,
796,
705,
282,
8809,
6
] |
how long did it take for sandeno to finish ? | SELECT "time" FROM table_204_902 WHERE "name" = 'kaitlin sandeno' | [
4919,
890,
750,
340,
1011,
329,
6450,
23397,
284,
5461,
5633,
46506,
366,
2435,
1,
16034,
3084,
62,
18638,
62,
24,
2999,
33411,
366,
3672,
1,
796,
705,
74,
4548,
2815,
6450,
23397,
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,
890,
750,
340,
1011,
329,
6450,
23397,
284,
5461,
5633,
46506,
366,
2435,
1,
16034,
3084,
62,
18638,
62,
24,
2999,
33411,
366,
3672,
1,
796,
705,
74,
4548,
2815,
6450,
23397,
6
] |
Finding specific users by their location and a tag score. http://meta.stackexchange.com/questions/193641/finding-specific-users-by-their-location-and-a-tag-score | SELECT ROW_NUMBER() OVER (ORDER BY SUM(Score) DESC) AS Position, u.Id AS "user_link", SUM(Score) AS totalscore FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id OR pt.PostId = p.ParentId INNER JOIN Tags AS t ON t.Id = pt.TagId INNER JOIN Users AS u ON u.Id = p.OwnerUserId WHERE TagName = '##tag1:string##' COLLATE SQL_Latin1_General_CP1_CI_AI AND Location LIKE '%' + '##location:string##' + '%' COLLATE SQL_Latin1_General_CP1_CI_AI GROUP BY u.Id ORDER BY SUM(Score) DESC LIMIT 300 | [
36276,
2176,
2985,
416,
511,
4067,
290,
257,
7621,
4776,
13,
2638,
1378,
28961,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
6138,
507,
14,
24943,
42759,
14,
41070,
12,
11423,
12,
18417,
12,
1525,
12,
24571,
12,
24886,
12,
392,
12,
64,
12,
12985,
12,
26675,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
35683,
7,
26595,
8,
22196,
34,
8,
7054,
23158,
11,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
35683,
7,
26595,
8,
7054,
26310,
7295,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
42975,
13,
6307,
7390,
796,
279,
13,
7390,
6375,
42975,
13,
6307,
7390,
796,
279,
13,
24546,
7390,
3268,
21479,
32357,
1268,
44789,
7054,
256,
6177,
256,
13,
7390,
796,
42975,
13,
24835,
7390,
3268,
21479,
32357,
1268,
18987,
7054,
334,
6177,
334,
13,
7390,
796,
279,
13,
42419,
12982,
7390,
33411,
17467,
5376,
796,
705,
2235,
12985,
16,
25,
8841,
2235,
6,
7375,
3069,
6158,
16363,
62,
49022,
16,
62,
12218,
62,
8697,
16,
62,
25690,
62,
20185,
5357,
13397,
34178,
705,
4,
6,
1343,
705,
2235,
24886,
25,
8841,
2235,
6,
1343,
705,
4,
6,
7375,
3069,
6158,
16363,
62,
49022,
16,
62,
12218,
62,
8697,
16,
62,
25690,
62,
20185,
44441,
11050,
334,
13,
7390,
38678,
11050,
35683,
7,
26595,
8,
22196,
34,
27564,
2043,
5867
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36276,
2176,
2985,
416,
511,
4067,
290,
257,
7621,
4776,
13,
2638,
1378,
28961,
13,
301,
330,
365,
87,
3803,
13,
785,
14,
6138,
507,
14,
24943,
42759,
14,
41070,
12,
11423,
12,
18417,
12,
1525,
12,
24571,
12,
24886,
12,
392,
12,
64,
12,
12985,
12,
26675,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
35683,
7,
26595,
8,
22196,
34,
8,
7054,
23158,
11,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
35683,
7,
26595,
8,
7054,
26310,
7295,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
42975,
13,
6307,
7390,
796,
279,
13,
7390,
6375,
42975,
13,
6307,
7390,
796,
279,
13,
24546,
7390,
3268,
21479,
32357,
1268,
44789,
7054,
256,
6177,
256,
13,
7390,
796,
42975,
13,
24835,
7390,
3268,
21479,
32357,
1268,
18987,
7054,
334,
6177,
334,
13,
7390,
796,
279,
13,
42419,
12982,
7390,
33411,
17467,
5376,
796,
705,
2235,
12985,
16,
25,
8841,
2235,
6,
7375,
3069,
6158,
16363,
62,
49022,
16,
62,
12218,
62,
8697,
16,
62,
25690,
62,
20185,
5357,
13397,
34178,
705,
4,
6,
1343,
705,
2235,
24886,
25,
8841,
2235,
6,
1343,
705,
4,
6,
7375,
3069,
6158,
16363,
62,
49022,
16,
62,
12218,
62,
8697,
16,
62,
25690,
62,
20185,
44441,
11050,
334,
13,
7390,
38678,
11050,
35683,
7,
26595,
8,
22196,
34,
27564,
2043,
5867
] |
Where was d: ~50nm, l: ~600nm geometry researched? | SELECT "Researched at" FROM table_4263 WHERE "Geometry" = 'D: ~50nm, L: ~600nm' | [
8496,
373,
288,
25,
5299,
1120,
21533,
11,
300,
25,
5299,
8054,
21533,
22939,
30066,
30,
46506,
366,
4965,
451,
1740,
379,
1,
16034,
3084,
62,
19,
29558,
33411,
366,
10082,
15748,
1,
796,
705,
35,
25,
5299,
1120,
21533,
11,
406,
25,
5299,
8054,
21533,
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
] | [
8496,
373,
288,
25,
5299,
1120,
21533,
11,
300,
25,
5299,
8054,
21533,
22939,
30066,
30,
46506,
366,
4965,
451,
1740,
379,
1,
16034,
3084,
62,
19,
29558,
33411,
366,
10082,
15748,
1,
796,
705,
35,
25,
5299,
1120,
21533,
11,
406,
25,
5299,
8054,
21533,
6
] |
Subsets and Splits