instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
let me know the long title of procedure and the number of days for which patient with patient id 25543 was hospitalized. | SELECT demographic.days_stay, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "25543" | [
1616,
502,
760,
262,
890,
3670,
286,
8771,
290,
262,
1271,
286,
1528,
329,
543,
5827,
351,
5827,
4686,
14280,
3559,
373,
31736,
13,
46506,
16728,
13,
12545,
62,
31712,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1616,
502,
760,
262,
890,
3670,
286,
8771,
290,
262,
1271,
286,
1528,
329,
543,
5827,
351,
5827,
4686,
14280,
3559,
373,
31736,
13,
46506,
16728,
13,
12545,
62,
31712,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
12... |
For Appl of Radiation , are there any advisory prerequisites ? | SELECT DISTINCT advisory_requirement FROM course WHERE name LIKE '%Appl of Radiation%' | [
1890,
39100,
286,
47532,
837,
389,
612,
597,
20852,
662,
34075,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
1438,
34178,
705,
4,
4677,
75,
286,
47532,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
39100,
286,
47532,
837,
389,
612,
597,
20852,
662,
34075,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
1438,
34178,
705,
4,
4677,
75,
286,
47532,
4,
6
] |
provide the number of patients whose procedure short title is aortocor bypas-2 cor art? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Aortocor bypas-2 cor art" | [
15234,
485,
262,
1271,
286,
3871,
3025,
8771,
1790,
3670,
318,
257,
419,
420,
273,
416,
44429,
12,
17,
1162,
1242,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
8771,
1790,
3670,
318,
257,
419,
420,
273,
416,
44429,
12,
17,
1162,
1242,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
What is the second team that has first team of Africa sports? | SELECT team_2 FROM table_name_25 WHERE team_1 = "africa sports" | [
2061,
318,
262,
1218,
1074,
326,
468,
717,
1074,
286,
5478,
5701,
30,
46506,
1074,
62,
17,
16034,
3084,
62,
3672,
62,
1495,
33411,
1074,
62,
16,
796,
366,
1878,
30997,
5701,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1218,
1074,
326,
468,
717,
1074,
286,
5478,
5701,
30,
46506,
1074,
62,
17,
16034,
3084,
62,
3672,
62,
1495,
33411,
1074,
62,
16,
796,
366,
1878,
30997,
5701,
1
] |
What are the apps for less than 61 goals and before rank 6? | SELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61 | [
2061,
389,
262,
6725,
329,
1342,
621,
8454,
4661,
290,
878,
4279,
718,
30,
46506,
35683,
7,
18211,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
4279,
1279,
718,
5357,
4661,
1279,
8454
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
6725,
329,
1342,
621,
8454,
4661,
290,
878,
4279,
718,
30,
46506,
35683,
7,
18211,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
4279,
1279,
718,
5357,
4661,
1279,
8454
] |
when is the last time patient 24921 has had tpn d11.0 on 09/20/last year? | SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24921)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label... | [
12518,
318,
262,
938,
640,
5827,
34620,
2481,
468,
550,
256,
21999,
288,
1157,
13,
15,
319,
7769,
14,
1238,
14,
12957,
614,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
318,
262,
938,
640,
5827,
34620,
2481,
468,
550,
256,
21999,
288,
1157,
13,
15,
319,
7769,
14,
1238,
14,
12957,
614,
30,
46506,
287,
79,
1133,
85,
658,
62,
33967,
13,
40926,
2435,
16034,
287,
79,
1133,
85,
658,
62,
33967,
3... |
sir stanley robinson and sir theodore brancker both served for which state ? | SELECT "state" FROM table_204_782 WHERE "name" = 'sir stanley robinson' | [
82,
343,
336,
272,
1636,
3857,
7899,
290,
15967,
262,
25102,
865,
272,
15280,
1111,
4983,
329,
543,
1181,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
18638,
62,
46519,
33411,
366,
3672,
1,
796,
705,
82,
343,
336,
272,
1636,
3857,
78... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
82,
343,
336,
272,
1636,
3857,
7899,
290,
15967,
262,
25102,
865,
272,
15280,
1111,
4983,
329,
543,
1181,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
18638,
62,
46519,
33411,
366,
3672,
1,
796,
705,
82,
343,
336,
272,
1636,
3857,
78... |
For each headquarter, what are the headquarter and how many companies are centered there Visualize by bar chart, and order names in descending order. | SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters ORDER BY Headquarters DESC | [
1890,
1123,
1182,
24385,
11,
644,
389,
262,
1182,
24385,
290,
703,
867,
2706,
389,
19254,
612,
15612,
1096,
416,
2318,
8262,
11,
290,
1502,
3891,
287,
31491,
1502,
13,
46506,
32193,
11,
327,
28270,
7,
28104,
16034,
1664,
44441,
11050,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1182,
24385,
11,
644,
389,
262,
1182,
24385,
290,
703,
867,
2706,
389,
19254,
612,
15612,
1096,
416,
2318,
8262,
11,
290,
1502,
3891,
287,
31491,
1502,
13,
46506,
32193,
11,
327,
28270,
7,
28104,
16034,
1664,
44441,
11050,
... |
what mine is in the town of timmins ? | SELECT "mine" FROM table_204_944 WHERE "town" = 'timmins' | [
10919,
6164,
318,
287,
262,
3240,
286,
4628,
42951,
5633,
46506,
366,
3810,
1,
16034,
3084,
62,
18638,
62,
24,
2598,
33411,
366,
12735,
1,
796,
705,
83,
8608,
1040,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
6164,
318,
287,
262,
3240,
286,
4628,
42951,
5633,
46506,
366,
3810,
1,
16034,
3084,
62,
18638,
62,
24,
2598,
33411,
366,
12735,
1,
796,
705,
83,
8608,
1040,
6
] |
What is the highest series # directed by ken whittingham? | SELECT MAX("Series #") FROM table_74174 WHERE "Directed by" = 'Ken Whittingham' | [
2061,
318,
262,
4511,
2168,
1303,
7924,
416,
479,
268,
348,
2535,
2763,
30,
46506,
25882,
7203,
27996,
1303,
4943,
16034,
3084,
62,
4524,
22985,
33411,
366,
13470,
276,
416,
1,
796,
705,
27827,
854,
2535,
2763,
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
] | [
2061,
318,
262,
4511,
2168,
1303,
7924,
416,
479,
268,
348,
2535,
2763,
30,
46506,
25882,
7203,
27996,
1303,
4943,
16034,
3084,
62,
4524,
22985,
33411,
366,
13470,
276,
416,
1,
796,
705,
27827,
854,
2535,
2763,
6
] |
had patient 018-115975 undergone any treatment of hyperkalemia - insulin / glucose procedure in another hospital in 2105? | SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '018-115975' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '018-115975' AND patient.hospitaldischargetime IS NULL)) AND ... | [
18108,
5827,
5534,
23,
12,
1157,
3270,
2425,
29900,
597,
3513,
286,
8718,
74,
282,
22859,
532,
14588,
1220,
15701,
8771,
287,
1194,
4436,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18108,
5827,
5534,
23,
12,
1157,
3270,
2425,
29900,
597,
3513,
286,
8718,
74,
282,
22859,
532,
14588,
1220,
15701,
8771,
287,
1194,
4436,
287,
362,
13348,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
3513,
33411,
3513,
13,
26029,
... |
For those employees who was hired before 2002-06-21, find hire_date and the average of manager_id bin hire_date by time, and visualize them by a bar chart, and could you list from low to high by the the average of manager id please? | SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(MANAGER_ID) | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1064,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
714,
345,
1351,
42... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1064,
11078,
62,
4475,
290,
262,
2811,
286,
4706,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
714,
345,
1351,
42... |
Are there any courses that I am required to take before course EEB 474 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT... | [
8491,
612,
597,
10902,
326,
314,
716,
2672,
284,
1011,
878,
1781,
27254,
33,
604,
4524,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8491,
612,
597,
10902,
326,
314,
716,
2672,
284,
1011,
878,
1781,
27254,
33,
604,
4524,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,... |
Which 2008 has a 2009 of A, and a Tournament of cincinnati masters? | SELECT "2008" FROM table_6700 WHERE "2009" = 'a' AND "Tournament" = 'cincinnati masters' | [
13828,
3648,
468,
257,
3717,
286,
317,
11,
290,
257,
9595,
286,
269,
15130,
18159,
30,
46506,
366,
11528,
1,
16034,
3084,
62,
3134,
405,
33411,
366,
10531,
1,
796,
705,
64,
6,
5357,
366,
51,
5138,
1,
796,
705,
66,
15130,
18159,
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
] | [
13828,
3648,
468,
257,
3717,
286,
317,
11,
290,
257,
9595,
286,
269,
15130,
18159,
30,
46506,
366,
11528,
1,
16034,
3084,
62,
3134,
405,
33411,
366,
10531,
1,
796,
705,
64,
6,
5357,
366,
51,
5138,
1,
796,
705,
66,
15130,
18159,
6
... |
count the number of patients less than 72 years who have stayed in hospital for more than 17 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "72" AND demographic.days_stay > "17" | [
9127,
262,
1271,
286,
3871,
1342,
621,
7724,
812,
508,
423,
9658,
287,
4436,
329,
517,
621,
1596,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
366,
47... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9127,
262,
1271,
286,
3871,
1342,
621,
7724,
812,
508,
423,
9658,
287,
4436,
329,
517,
621,
1596,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
366,
47... |
What's Great Britain's lane with a heat less than 3? | SELECT AVG("Lane") FROM table_65130 WHERE "Nationality" = 'great britain' AND "Heat" < '3' | [
2061,
338,
3878,
5491,
338,
11193,
351,
257,
4894,
1342,
621,
513,
30,
46506,
35224,
7203,
43,
1531,
4943,
16034,
3084,
62,
2996,
12952,
33411,
366,
16186,
414,
1,
796,
705,
18223,
275,
799,
391,
6,
5357,
366,
39596,
1,
1279,
705,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
3878,
5491,
338,
11193,
351,
257,
4894,
1342,
621,
513,
30,
46506,
35224,
7203,
43,
1531,
4943,
16034,
3084,
62,
2996,
12952,
33411,
366,
16186,
414,
1,
796,
705,
18223,
275,
799,
391,
6,
5357,
366,
39596,
1,
1279,
705,
1... |
what were the top five most frequent diagnoses that were given to patients within 2 months after the diagnosis of headache until 2104? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'headache' AND STRFTIME('%y', diagnosis.d... | [
10919,
547,
262,
1353,
1936,
749,
10792,
40567,
326,
547,
1813,
284,
3871,
1626,
362,
1933,
706,
262,
13669,
286,
24902,
1566,
362,
13464,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1353,
1936,
749,
10792,
40567,
326,
547,
1813,
284,
3871,
1626,
362,
1933,
706,
262,
13669,
286,
24902,
1566,
362,
13464,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
1... |
For taking a web technology course , where can I start as I am thinking about it ? | SELECT DISTINCT course.department, course.name, course.number FROM area, course WHERE area.area LIKE '%web technology%' AND course.course_id = area.course_id | [
1890,
2263,
257,
3992,
3037,
1781,
837,
810,
460,
314,
923,
355,
314,
716,
3612,
546,
340,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1989,
11,
1781,
33411,
1989,
13,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2263,
257,
3992,
3037,
1781,
837,
810,
460,
314,
923,
355,
314,
716,
3612,
546,
340,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1989,
11,
1781,
33411,
1989,
13,
2... |
Show me about the distribution of date_address_to and the amount of date_address_to , and group by attribute other_details and bin date_address_to by time in a bar chart. | SELECT date_address_to, COUNT(date_address_to) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC | [
15307,
502,
546,
262,
6082,
286,
3128,
62,
21975,
62,
1462,
290,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
584,
62,
36604,
290,
9874,
3128,
62,
21975,
62,
1462,
416,
640,
287,
257,
2318,
8262,
13,
46506,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
502,
546,
262,
6082,
286,
3128,
62,
21975,
62,
1462,
290,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
584,
62,
36604,
290,
9874,
3128,
62,
21975,
62,
1462,
416,
640,
287,
257,
2318,
8262,
13,
46506,... |
Name the President has a Media Officer of pete marshall/ nazar striletski? | SELECT "President" FROM table_8087 WHERE "Media Officer" = 'pete marshall/ nazar striletski' | [
5376,
262,
1992,
468,
257,
6343,
10391,
286,
4273,
68,
22397,
439,
14,
299,
29413,
2338,
5289,
4106,
30,
46506,
366,
10364,
1,
16034,
3084,
62,
1795,
5774,
33411,
366,
13152,
10391,
1,
796,
705,
6449,
68,
22397,
439,
14,
299,
29413,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1992,
468,
257,
6343,
10391,
286,
4273,
68,
22397,
439,
14,
299,
29413,
2338,
5289,
4106,
30,
46506,
366,
10364,
1,
16034,
3084,
62,
1795,
5774,
33411,
366,
13152,
10391,
1,
796,
705,
6449,
68,
22397,
439,
14,
299,
29413,
... |
What are all the school years where class AAAA is in Gregory-Portland? | SELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland | [
2061,
389,
477,
262,
1524,
812,
810,
1398,
25734,
32,
318,
287,
20653,
12,
45330,
30,
46506,
1524,
62,
1941,
16034,
3084,
62,
1415,
1899,
2624,
1065,
62,
20,
33411,
1398,
62,
64,
29697,
796,
20653,
532,
10727
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
1524,
812,
810,
1398,
25734,
32,
318,
287,
20653,
12,
45330,
30,
46506,
1524,
62,
1941,
16034,
3084,
62,
1415,
1899,
2624,
1065,
62,
20,
33411,
1398,
62,
64,
29697,
796,
20653,
532,
10727
] |
number of cities in new jersey where the korean population is greater than 15 % | SELECT COUNT("city") FROM table_204_190 WHERE "state" = 'new jersey' AND "percentage" > 15 | [
17618,
286,
4736,
287,
649,
22383,
810,
262,
479,
29456,
3265,
318,
3744,
621,
1315,
4064,
46506,
327,
28270,
7203,
19205,
4943,
16034,
3084,
62,
18638,
62,
19782,
33411,
366,
5219,
1,
796,
705,
3605,
22383,
6,
5357,
366,
25067,
496,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17618,
286,
4736,
287,
649,
22383,
810,
262,
479,
29456,
3265,
318,
3744,
621,
1315,
4064,
46506,
327,
28270,
7203,
19205,
4943,
16034,
3084,
62,
18638,
62,
19782,
33411,
366,
5219,
1,
796,
705,
3605,
22383,
6,
5357,
366,
25067,
496,
... |
a known history of type ii diabetes mellitus > 3 months | SELECT * FROM table_train_232 WHERE diabetic = 'ii' | [
64,
1900,
2106,
286,
2099,
21065,
12593,
33748,
17506,
1875,
513,
1933,
46506,
1635,
16034,
3084,
62,
27432,
62,
24339,
33411,
44016,
796,
705,
4178,
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
] | [
64,
1900,
2106,
286,
2099,
21065,
12593,
33748,
17506,
1875,
513,
1933,
46506,
1635,
16034,
3084,
62,
27432,
62,
24339,
33411,
44016,
796,
705,
4178,
6
] |
What was the distance of the course for stage 4? | SELECT "Distance" FROM table_15174 WHERE "Stage" = '4' | [
2061,
373,
262,
5253,
286,
262,
1781,
329,
3800,
604,
30,
46506,
366,
45767,
1,
16034,
3084,
62,
1314,
22985,
33411,
366,
29391,
1,
796,
705,
19,
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,
373,
262,
5253,
286,
262,
1781,
329,
3800,
604,
30,
46506,
366,
45767,
1,
16034,
3084,
62,
1314,
22985,
33411,
366,
29391,
1,
796,
705,
19,
6
] |
Can you tell me the total number of Wins that has the Draws larger than 0, and the Points of 11? | SELECT COUNT("Wins") FROM table_76291 WHERE "Draws" > '0' AND "Points" = '11' | [
6090,
345,
1560,
502,
262,
2472,
1271,
286,
24423,
326,
468,
262,
15315,
82,
4025,
621,
657,
11,
290,
262,
11045,
286,
1367,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
4304,
33551,
33411,
366,
25302,
82,
1,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
2472,
1271,
286,
24423,
326,
468,
262,
15315,
82,
4025,
621,
657,
11,
290,
262,
11045,
286,
1367,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
4304,
33551,
33411,
366,
25302,
82,
1,
1875,
... |
Name the number of judges for dr steemans ann van elsen | SELECT COUNT("Judges") FROM table_21144 WHERE "Host(s)" = 'Dré Steemans Ann Van Elsen' | [
5376,
262,
1271,
286,
10266,
329,
1553,
2876,
368,
504,
1529,
5719,
1288,
6248,
46506,
327,
28270,
7203,
26141,
3212,
4943,
16034,
3084,
62,
21895,
2598,
33411,
366,
17932,
7,
82,
16725,
796,
705,
6187,
2634,
2441,
368,
504,
5506,
6656,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
10266,
329,
1553,
2876,
368,
504,
1529,
5719,
1288,
6248,
46506,
327,
28270,
7203,
26141,
3212,
4943,
16034,
3084,
62,
21895,
2598,
33411,
366,
17932,
7,
82,
16725,
796,
705,
6187,
2634,
2441,
368,
504,
5506,
6656,... |
Draw a bar chart about the distribution of All_Road and All_Games_Percent , rank in asc by the y axis. | SELECT All_Road, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
1439,
62,
29197,
290,
1439,
62,
24474,
62,
31905,
837,
4279,
287,
10570,
416,
262,
331,
16488,
13,
46506,
1439,
62,
29197,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
38678,
110... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
1439,
62,
29197,
290,
1439,
62,
24474,
62,
31905,
837,
4279,
287,
10570,
416,
262,
331,
16488,
13,
46506,
1439,
62,
29197,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
38678,
110... |
How many apartment bookings in each year? Show me a bar chart binning booking end date by year. | SELECT booking_end_date, COUNT(booking_end_date) FROM Apartment_Bookings | [
2437,
867,
7962,
1492,
654,
287,
1123,
614,
30,
5438,
502,
257,
2318,
8262,
9874,
768,
25452,
886,
3128,
416,
614,
13,
46506,
25452,
62,
437,
62,
4475,
11,
327,
28270,
7,
2070,
278,
62,
437,
62,
4475,
8,
16034,
5949,
1823,
62,
104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7962,
1492,
654,
287,
1123,
614,
30,
5438,
502,
257,
2318,
8262,
9874,
768,
25452,
886,
3128,
416,
614,
13,
46506,
25452,
62,
437,
62,
4475,
11,
327,
28270,
7,
2070,
278,
62,
437,
62,
4475,
8,
16034,
5949,
1823,
62,
104... |
Which class has less than 3 in quantity with a type of 4-6-0? | SELECT "Class" FROM table_10414 WHERE "Type" = '4-6-0' AND "Quantity" < '3' | [
13828,
1398,
468,
1342,
621,
513,
287,
12040,
351,
257,
2099,
286,
604,
12,
21,
12,
15,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
13464,
1415,
33411,
366,
6030,
1,
796,
705,
19,
12,
21,
12,
15,
6,
5357,
366,
31208,
1,
1279,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1398,
468,
1342,
621,
513,
287,
12040,
351,
257,
2099,
286,
604,
12,
21,
12,
15,
30,
46506,
366,
9487,
1,
16034,
3084,
62,
13464,
1415,
33411,
366,
6030,
1,
796,
705,
19,
12,
21,
12,
15,
6,
5357,
366,
31208,
1,
1279,
705,... |
What are the average prominence of the mountains in country 'Morocco'? | SELECT AVG(prominence) FROM mountain WHERE country = 'Morocco' | [
2061,
389,
262,
2811,
31198,
286,
262,
12269,
287,
1499,
705,
20044,
420,
1073,
30960,
46506,
35224,
7,
16963,
18386,
8,
16034,
8598,
33411,
1499,
796,
705,
20044,
420,
1073,
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,
389,
262,
2811,
31198,
286,
262,
12269,
287,
1499,
705,
20044,
420,
1073,
30960,
46506,
35224,
7,
16963,
18386,
8,
16034,
8598,
33411,
1499,
796,
705,
20044,
420,
1073,
6
] |
What is the name of the airport in the city of Kota Kinabalu? | SELECT airport FROM table_name_85 WHERE city = "kota kinabalu" | [
2061,
318,
262,
1438,
286,
262,
9003,
287,
262,
1748,
286,
509,
4265,
16645,
44349,
84,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
5332,
33411,
1748,
796,
366,
74,
4265,
18967,
44349,
84,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
9003,
287,
262,
1748,
286,
509,
4265,
16645,
44349,
84,
30,
46506,
9003,
16034,
3084,
62,
3672,
62,
5332,
33411,
1748,
796,
366,
74,
4265,
18967,
44349,
84,
1
] |
Which High assists has a Score of w 71-56? | SELECT "High assists" FROM table_66223 WHERE "Score" = 'w 71-56' | [
13828,
3334,
13648,
468,
257,
15178,
286,
266,
9166,
12,
3980,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
2791,
22047,
33411,
366,
26595,
1,
796,
705,
86,
9166,
12,
3980,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3334,
13648,
468,
257,
15178,
286,
266,
9166,
12,
3980,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
2791,
22047,
33411,
366,
26595,
1,
796,
705,
86,
9166,
12,
3980,
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, give me the comparison about the sum of salary over the hire_date bin hire_date by weekday by a bar chart. | SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 | [
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,
1577,
502,
262,
7208,
546,
262,
2160,
286,
9588,
625,
262,
11078,
62,
4475,
987... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
262,
2160,
286,
9588,
625,
262,
11078,
62,
4475,
987... |
What is the monto where the total region is 11230? | SELECT COUNT("Monto") FROM table_17705 WHERE "Total Region" = '11230' | [
2061,
318,
262,
285,
5957,
810,
262,
2472,
3814,
318,
13539,
1270,
30,
46506,
327,
28270,
7203,
44,
5957,
4943,
16034,
3084,
62,
1558,
34801,
33411,
366,
14957,
17718,
1,
796,
705,
14686,
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
] | [
2061,
318,
262,
285,
5957,
810,
262,
2472,
3814,
318,
13539,
1270,
30,
46506,
327,
28270,
7203,
44,
5957,
4943,
16034,
3084,
62,
1558,
34801,
33411,
366,
14957,
17718,
1,
796,
705,
14686,
1270,
6
] |
Recent suggested edits by a specific user. | SELECT PostId AS "post_link", url = 'site://suggested-edits/' + CAST(Id AS TEXT), CreationDate, CASE WHEN NOT ApprovalDate IS NULL THEN 'Approved' WHEN NOT RejectionDate IS NULL THEN 'Rejected' END, OwnerUserId AS "user_link", Comment, ApprovalDate, RejectionDate FROM SuggestedEdits WHERE OwnerUserId = '##UserId##' ORD... | [
26446,
5220,
31671,
416,
257,
2176,
2836,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
19016,
796,
705,
15654,
1378,
47811,
276,
12,
276,
896,
14,
6,
1343,
327,
11262,
7,
7390,
7054,
40383,
828,
21582,
10430,
11,
42001,
420... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26446,
5220,
31671,
416,
257,
2176,
2836,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
19016,
796,
705,
15654,
1378,
47811,
276,
12,
276,
896,
14,
6,
1343,
327,
11262,
7,
7390,
7054,
40383,
828,
21582,
10430,
11,
42001,
420... |
Name the year for points less than 20 and chassis of dallara 3087 | SELECT year FROM table_name_62 WHERE points < 20 AND chassis = "dallara 3087" | [
5376,
262,
614,
329,
2173,
1342,
621,
1160,
290,
24587,
286,
288,
439,
3301,
1542,
5774,
46506,
614,
16034,
3084,
62,
3672,
62,
5237,
33411,
2173,
1279,
1160,
5357,
24587,
796,
366,
67,
439,
3301,
1542,
5774,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
329,
2173,
1342,
621,
1160,
290,
24587,
286,
288,
439,
3301,
1542,
5774,
46506,
614,
16034,
3084,
62,
3672,
62,
5237,
33411,
2173,
1279,
1160,
5357,
24587,
796,
366,
67,
439,
3301,
1542,
5774,
1
] |
Who is the player when the bbi is 5/27? | SELECT "Player" FROM table_29385 WHERE "BBI" = '5/27' | [
8241,
318,
262,
2137,
618,
262,
275,
8482,
318,
642,
14,
1983,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
1959,
27203,
33411,
366,
33,
3483,
1,
796,
705,
20,
14,
1983,
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
] | [
8241,
318,
262,
2137,
618,
262,
275,
8482,
318,
642,
14,
1983,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
1959,
27203,
33411,
366,
33,
3483,
1,
796,
705,
20,
14,
1983,
6
] |
how many songs end before 2 minutes ? | SELECT COUNT("song") FROM table_203_267 WHERE "length (m:ss)" < 2 | [
4919,
867,
7259,
886,
878,
362,
2431,
5633,
46506,
327,
28270,
7203,
34050,
4943,
16034,
3084,
62,
22416,
62,
25674,
33411,
366,
13664,
357,
76,
25,
824,
16725,
1279,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
7259,
886,
878,
362,
2431,
5633,
46506,
327,
28270,
7203,
34050,
4943,
16034,
3084,
62,
22416,
62,
25674,
33411,
366,
13664,
357,
76,
25,
824,
16725,
1279,
362
] |
What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97? | SELECT MAX(run_2) FROM table_name_54 WHERE athlete = "eric neilson" AND run_3 > 55.97 | [
2061,
318,
262,
4511,
1057,
362,
286,
16076,
1931,
291,
497,
346,
1559,
11,
508,
468,
257,
1057,
513,
4025,
621,
5996,
13,
5607,
30,
46506,
25882,
7,
5143,
62,
17,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
16076,
796,
366,
35626,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1057,
362,
286,
16076,
1931,
291,
497,
346,
1559,
11,
508,
468,
257,
1057,
513,
4025,
621,
5996,
13,
5607,
30,
46506,
25882,
7,
5143,
62,
17,
8,
16034,
3084,
62,
3672,
62,
4051,
33411,
16076,
796,
366,
35626,
... |
What is the average year that has a win less than 1, yamaha as the team, with points greater than 2? | SELECT AVG(year) FROM table_name_30 WHERE wins < 1 AND team = "yamaha" AND points > 2 | [
2061,
318,
262,
2811,
614,
326,
468,
257,
1592,
1342,
621,
352,
11,
331,
321,
12236,
355,
262,
1074,
11,
351,
2173,
3744,
621,
362,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1270,
33411,
7864,
1279,
352,
5357,
1074,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
326,
468,
257,
1592,
1342,
621,
352,
11,
331,
321,
12236,
355,
262,
1074,
11,
351,
2173,
3744,
621,
362,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
1270,
33411,
7864,
1279,
352,
5357,
1074,
... |
WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100? | SELECT MIN("$50 \u2013 1/2 oz.") FROM table_44057 WHERE "Year" = '1997' AND "$25 \u2013 1/4 oz." > '27,100' | [
32971,
3180,
3336,
46663,
6465,
720,
1120,
12,
16,
14,
17,
440,
57,
7375,
1268,
13315,
317,
8309,
32914,
5357,
720,
1495,
12,
16,
14,
19,
440,
57,
47211,
30373,
2320,
1565,
720,
1983,
11,
3064,
30,
46506,
20625,
7203,
3,
1120,
3467,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32971,
3180,
3336,
46663,
6465,
720,
1120,
12,
16,
14,
17,
440,
57,
7375,
1268,
13315,
317,
8309,
32914,
5357,
720,
1495,
12,
16,
14,
19,
440,
57,
47211,
30373,
2320,
1565,
720,
1983,
11,
3064,
30,
46506,
20625,
7203,
3,
1120,
3467,... |
What is the most amount of points for a team before 1983? | SELECT MAX("Points") FROM table_70583 WHERE "Year" < '1983' | [
2061,
318,
262,
749,
2033,
286,
2173,
329,
257,
1074,
878,
13540,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
2154,
46239,
33411,
366,
17688,
1,
1279,
705,
29279,
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,
318,
262,
749,
2033,
286,
2173,
329,
257,
1074,
878,
13540,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
2154,
46239,
33411,
366,
17688,
1,
1279,
705,
29279,
6
] |
What is Catalog, when the Region is UK, and when Label is Razor Records? | SELECT "Catalog" FROM table_42770 WHERE "Region" = 'uk' AND "Label" = 'razor records' | [
2061,
318,
44515,
11,
618,
262,
17718,
318,
3482,
11,
290,
618,
36052,
318,
36065,
13407,
30,
46506,
366,
49015,
1,
16034,
3084,
62,
42363,
2154,
33411,
366,
47371,
1,
796,
705,
2724,
6,
5357,
366,
33986,
1,
796,
705,
3247,
273,
440... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
44515,
11,
618,
262,
17718,
318,
3482,
11,
290,
618,
36052,
318,
36065,
13407,
30,
46506,
366,
49015,
1,
16034,
3084,
62,
42363,
2154,
33411,
366,
47371,
1,
796,
705,
2724,
6,
5357,
366,
33986,
1,
796,
705,
3247,
273,
440... |
What school corporation has a mascot of Bruins and joined in 1971? | SELECT "School Corp." FROM table_13815 WHERE "Year Joined" = '1971' AND "Mascot" = 'bruins' | [
2061,
1524,
12017,
468,
257,
37358,
286,
27607,
290,
5399,
287,
16382,
30,
46506,
366,
26130,
11421,
526,
16034,
3084,
62,
20107,
1314,
33411,
366,
17688,
16709,
1,
796,
705,
41208,
6,
5357,
366,
44,
3372,
313,
1,
796,
705,
65,
622,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
12017,
468,
257,
37358,
286,
27607,
290,
5399,
287,
16382,
30,
46506,
366,
26130,
11421,
526,
16034,
3084,
62,
20107,
1314,
33411,
366,
17688,
16709,
1,
796,
705,
41208,
6,
5357,
366,
44,
3372,
313,
1,
796,
705,
65,
622,
... |
what is the last competition ? | SELECT "competition" FROM table_204_98 ORDER BY "year" DESC LIMIT 1 | [
10919,
318,
262,
938,
5449,
5633,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
18638,
62,
4089,
38678,
11050,
366,
1941,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
938,
5449,
5633,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
18638,
62,
4089,
38678,
11050,
366,
1941,
1,
22196,
34,
27564,
2043,
352
] |
What was the type of ballot measures if the % of yes vote is 32.47%? | SELECT "type" FROM table_27952 WHERE "% YES" = '32.47%' | [
2061,
373,
262,
2099,
286,
11100,
5260,
611,
262,
4064,
286,
3763,
3015,
318,
3933,
13,
2857,
4,
30,
46506,
366,
4906,
1,
16034,
3084,
62,
1983,
49234,
33411,
36521,
21560,
1,
796,
705,
2624,
13,
2857,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2099,
286,
11100,
5260,
611,
262,
4064,
286,
3763,
3015,
318,
3933,
13,
2857,
4,
30,
46506,
366,
4906,
1,
16034,
3084,
62,
1983,
49234,
33411,
36521,
21560,
1,
796,
705,
2624,
13,
2857,
4,
6
] |
how many patients whose diagnoses long title is diabetes mellitus without mention of complication, type ii or unspecified type, uncontrolled and drug type is base? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Diabetes mellitus without mention of complication, type II or unspecified type, uncontrolle... | [
4919,
867,
3871,
3025,
40567,
890,
3670,
318,
12593,
33748,
17506,
1231,
3068,
286,
45185,
11,
2099,
21065,
393,
29547,
2099,
11,
47913,
290,
2563,
2099,
318,
2779,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
40567,
890,
3670,
318,
12593,
33748,
17506,
1231,
3068,
286,
45185,
11,
2099,
21065,
393,
29547,
2099,
11,
47913,
290,
2563,
2099,
318,
2779,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
... |
count the number of patients whose primary disease is atrial septal defect\mitral valve replacement;repair atrial-septal defect/sda and admission year is less than 2145? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ATRIAL SEPTAL DEFECT\MITRAL VALVE REPLACEMENT;REPAIR ATRIAL-SEPTAL DEFECT/SDA" AND demographic.admityear < "2145" | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
379,
4454,
384,
457,
282,
11855,
59,
2781,
1373,
22580,
9014,
26,
49932,
379,
4454,
12,
325,
457,
282,
11855,
14,
82,
6814,
290,
13938,
614,
318,
1342,
621,
362,
18781,
30,
46506,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
379,
4454,
384,
457,
282,
11855,
59,
2781,
1373,
22580,
9014,
26,
49932,
379,
4454,
12,
325,
457,
282,
11855,
14,
82,
6814,
290,
13938,
614,
318,
1342,
621,
362,
18781,
30,
46506,
3... |
Which Scrapped/Sold has a Builder of derby, and a Name as rebuilt of ben madigan? | SELECT scrapped_sold FROM table_name_74 WHERE builder = "derby" AND name_as_rebuilt = "ben madigan" | [
13828,
1446,
430,
1496,
14,
33873,
468,
257,
35869,
286,
47317,
11,
290,
257,
6530,
355,
30080,
286,
1888,
8805,
5516,
30,
46506,
35034,
62,
24120,
16034,
3084,
62,
3672,
62,
4524,
33411,
27098,
796,
366,
1082,
1525,
1,
5357,
1438,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1446,
430,
1496,
14,
33873,
468,
257,
35869,
286,
47317,
11,
290,
257,
6530,
355,
30080,
286,
1888,
8805,
5516,
30,
46506,
35034,
62,
24120,
16034,
3084,
62,
3672,
62,
4524,
33411,
27098,
796,
366,
1082,
1525,
1,
5357,
1438,
62... |
What is every original game for the artist Lynyrd Skynyrd? | SELECT original_game FROM table_21500850_1 WHERE artist = "Lynyrd Skynyrd" | [
2061,
318,
790,
2656,
983,
329,
262,
6802,
10350,
2417,
67,
3661,
2047,
2417,
67,
30,
46506,
2656,
62,
6057,
16034,
3084,
62,
23349,
25257,
1120,
62,
16,
33411,
6802,
796,
366,
37207,
2417,
67,
3661,
2047,
2417,
67,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
2656,
983,
329,
262,
6802,
10350,
2417,
67,
3661,
2047,
2417,
67,
30,
46506,
2656,
62,
6057,
16034,
3084,
62,
23349,
25257,
1120,
62,
16,
33411,
6802,
796,
366,
37207,
2417,
67,
3661,
2047,
2417,
67,
1
] |
What are the name and description for role code 'MG'? | SELECT role_name, role_description FROM ROLES WHERE role_code = "MG" | [
2061,
389,
262,
1438,
290,
6764,
329,
2597,
2438,
705,
20474,
30960,
46506,
2597,
62,
3672,
11,
2597,
62,
11213,
16034,
371,
3535,
1546,
33411,
2597,
62,
8189,
796,
366,
20474,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
290,
6764,
329,
2597,
2438,
705,
20474,
30960,
46506,
2597,
62,
3672,
11,
2597,
62,
11213,
16034,
371,
3535,
1546,
33411,
2597,
62,
8189,
796,
366,
20474,
1
] |
What is the lowest lane with a 0.216 react? | SELECT MIN(lane) FROM table_name_67 WHERE react = 0.216 | [
2061,
318,
262,
9016,
11193,
351,
257,
657,
13,
20666,
6324,
30,
46506,
20625,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
6324,
796,
657,
13,
20666
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
11193,
351,
257,
657,
13,
20666,
6324,
30,
46506,
20625,
7,
33533,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
6324,
796,
657,
13,
20666
] |
What is the transfer window for bel? | SELECT "Transfer window" FROM table_57823 WHERE "Country" = 'bel' | [
2061,
318,
262,
4351,
4324,
329,
894,
30,
46506,
366,
43260,
4324,
1,
16034,
3084,
62,
38907,
1954,
33411,
366,
33921,
1,
796,
705,
6667,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4351,
4324,
329,
894,
30,
46506,
366,
43260,
4324,
1,
16034,
3084,
62,
38907,
1954,
33411,
366,
33921,
1,
796,
705,
6667,
6
] |
What is the build date of the locomotives with a total produced less than 45 and a fb-2 model? | SELECT "Build date" FROM table_67583 WHERE "Total produced" < '45' AND "Model" = 'fb-2' | [
2061,
318,
262,
1382,
3128,
286,
262,
33334,
313,
1083,
351,
257,
2472,
4635,
1342,
621,
4153,
290,
257,
277,
65,
12,
17,
2746,
30,
46506,
366,
15580,
3128,
1,
16034,
3084,
62,
42444,
5999,
33411,
366,
14957,
4635,
1,
1279,
705,
223... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1382,
3128,
286,
262,
33334,
313,
1083,
351,
257,
2472,
4635,
1342,
621,
4153,
290,
257,
277,
65,
12,
17,
2746,
30,
46506,
366,
15580,
3128,
1,
16034,
3084,
62,
42444,
5999,
33411,
366,
14957,
4635,
1,
1279,
705,
223... |
which town comes after porcupine plain in alphabetical order ? | SELECT "name" FROM table_204_43 WHERE id = (SELECT id FROM table_204_43 WHERE "name" = 'porcupine plain') + 1 | [
4758,
3240,
2058,
706,
16964,
25244,
500,
8631,
287,
24830,
605,
1502,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
3559,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
3559,
33411,
366,
3672,
1,
796,
705,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
3240,
2058,
706,
16964,
25244,
500,
8631,
287,
24830,
605,
1502,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
3559,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
3559,
33411,
366,
3672,
1,
796,
705,
1... |
how many patients having private insurance and followed the procedure pericardiocentesis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.short_title = "Pericardiocentesis" | [
4919,
867,
3871,
1719,
2839,
5096,
290,
3940,
262,
8771,
583,
291,
22490,
29421,
9339,
30,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1719,
2839,
5096,
290,
3940,
262,
8771,
583,
291,
22490,
29421,
9339,
30,
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,
... |
What years is the private school in upper hutt? | SELECT "Years" FROM table_71489 WHERE "Area" = 'upper hutt' AND "Authority" = 'private' | [
2061,
812,
318,
262,
2839,
1524,
287,
6727,
289,
15318,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
45722,
4531,
33411,
366,
30547,
1,
796,
705,
45828,
289,
15318,
6,
5357,
366,
13838,
414,
1,
796,
705,
19734,
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,
812,
318,
262,
2839,
1524,
287,
6727,
289,
15318,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
45722,
4531,
33411,
366,
30547,
1,
796,
705,
45828,
289,
15318,
6,
5357,
366,
13838,
414,
1,
796,
705,
19734,
6
] |
Show the number of document types. | SELECT COUNT(*) FROM ref_document_types | [
15307,
262,
1271,
286,
3188,
3858,
13,
46506,
327,
28270,
7,
28104,
16034,
1006,
62,
22897,
62,
19199
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
3188,
3858,
13,
46506,
327,
28270,
7,
28104,
16034,
1006,
62,
22897,
62,
19199
] |
Show names and phones of customers who do not have address information. | SELECT customer_name, customer_phone FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM customer_address_history) | [
15307,
3891,
290,
9512,
286,
4297,
508,
466,
407,
423,
2209,
1321,
13,
46506,
6491,
62,
3672,
11,
6491,
62,
4862,
16034,
4297,
33411,
5626,
6491,
62,
312,
3268,
357,
46506,
6491,
62,
312,
16034,
6491,
62,
21975,
62,
23569,
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
] | [
15307,
3891,
290,
9512,
286,
4297,
508,
466,
407,
423,
2209,
1321,
13,
46506,
6491,
62,
3672,
11,
6491,
62,
4862,
16034,
4297,
33411,
5626,
6491,
62,
312,
3268,
357,
46506,
6491,
62,
312,
16034,
6491,
62,
21975,
62,
23569,
8
] |
Count the number of characteristics the product 'sesame' has. | SELECT COUNT(*) FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id WHERE t1.product_name = "sesame" | [
12332,
262,
1271,
286,
9695,
262,
1720,
705,
8448,
480,
6,
468,
13,
46506,
327,
28270,
7,
28104,
16034,
3186,
7054,
256,
16,
32357,
1268,
1720,
62,
22769,
3969,
7054,
256,
17,
6177,
256,
16,
13,
11167,
62,
312,
796,
256,
17,
13,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
262,
1271,
286,
9695,
262,
1720,
705,
8448,
480,
6,
468,
13,
46506,
327,
28270,
7,
28104,
16034,
3186,
7054,
256,
16,
32357,
1268,
1720,
62,
22769,
3969,
7054,
256,
17,
6177,
256,
16,
13,
11167,
62,
312,
796,
256,
17,
13,
1... |
All questions marked as duplicates of your own questions. | SELECT COUNT(*) FROM (SELECT Id FROM Posts WHERE PostTypeId != 1) AS T INNER JOIN (SELECT RelatedPostId FROM PostLinks WHERE PostLinks.LinkTypeId = 1) AS T2 ON T.Id = T2.RelatedPostId | [
3237,
2683,
7498,
355,
14184,
16856,
286,
534,
898,
2683,
13,
46506,
327,
28270,
7,
28104,
16034,
357,
46506,
5121,
16034,
12043,
33411,
2947,
6030,
7390,
14512,
352,
8,
7054,
309,
3268,
21479,
32357,
1268,
357,
46506,
19809,
6307,
7390,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3237,
2683,
7498,
355,
14184,
16856,
286,
534,
898,
2683,
13,
46506,
327,
28270,
7,
28104,
16034,
357,
46506,
5121,
16034,
12043,
33411,
2947,
6030,
7390,
14512,
352,
8,
7054,
309,
3268,
21479,
32357,
1268,
357,
46506,
19809,
6307,
7390,
... |
What is the low attendance was based in phoenix with a Record of 1 0 0? | SELECT MIN("Attendance") FROM table_56957 WHERE "Home" = 'phoenix' AND "Record" = '1–0–0' | [
2061,
318,
262,
1877,
14858,
373,
1912,
287,
872,
8538,
351,
257,
13266,
286,
352,
657,
657,
30,
46506,
20625,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
20,
3388,
3553,
33411,
366,
16060,
1,
796,
705,
746,
8538,
6,
5357,
366,
237... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1877,
14858,
373,
1912,
287,
872,
8538,
351,
257,
13266,
286,
352,
657,
657,
30,
46506,
20625,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
20,
3388,
3553,
33411,
366,
16060,
1,
796,
705,
746,
8538,
6,
5357,
366,
237... |
What's the London borough with 7797 Pakistani citizens? | SELECT "London Borough" FROM table_22846 WHERE "Pakistani Population" = '7797' | [
2061,
338,
262,
3576,
33534,
351,
767,
44673,
17807,
4290,
30,
46506,
366,
23421,
48114,
1,
16034,
3084,
62,
23815,
3510,
33411,
366,
29675,
16688,
20133,
1,
796,
705,
3324,
5607,
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,
3576,
33534,
351,
767,
44673,
17807,
4290,
30,
46506,
366,
23421,
48114,
1,
16034,
3084,
62,
23815,
3510,
33411,
366,
29675,
16688,
20133,
1,
796,
705,
3324,
5607,
6
] |
What is the highest erp w with a 90.5 frequency mhz? | SELECT MAX(erp_w) FROM table_name_38 WHERE frequency_mhz = 90.5 | [
2061,
318,
262,
4511,
1931,
79,
266,
351,
257,
4101,
13,
20,
8373,
285,
32179,
30,
46506,
25882,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
8373,
62,
76,
32179,
796,
4101,
13,
20
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1931,
79,
266,
351,
257,
4101,
13,
20,
8373,
285,
32179,
30,
46506,
25882,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
2548,
33411,
8373,
62,
76,
32179,
796,
4101,
13,
20
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, find last_name and department_id , and visualize them by a bar chart, rank by the y axis in ascending. | SELECT LAST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY DEPARTMENT_ID | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
938,
62,
3672,
290,
5011,
62,
312,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
4279,
416,
262,
331,
16488,
287,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1064,
938,
62,
3672,
290,
5011,
62,
312,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
4279,
416,
262,
331,
16488,
287,
... |
What is the total number of games lost when 22 have been played, the losing BP number is 2, and the club is Merthyr RFC? | SELECT lost FROM table_name_52 WHERE played = "22" AND losing_bp = "2" AND club = "merthyr rfc" | [
2061,
318,
262,
2472,
1271,
286,
1830,
2626,
618,
2534,
423,
587,
2826,
11,
262,
6078,
20997,
1271,
318,
362,
11,
290,
262,
3430,
318,
4638,
400,
2417,
30978,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
4309,
33411,
2826,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
1830,
2626,
618,
2534,
423,
587,
2826,
11,
262,
6078,
20997,
1271,
318,
362,
11,
290,
262,
3430,
318,
4638,
400,
2417,
30978,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
4309,
33411,
2826,
796,
366,
... |
Name the championship for outcome being winner for 7 5, 4 6, 6 1 | SELECT "Championship" FROM table_27016 WHERE "Outcome" = 'Winner' AND "Score" = '7–5, 4–6, 6–1' | [
5376,
262,
12184,
329,
8055,
852,
8464,
329,
767,
642,
11,
604,
718,
11,
718,
352,
46506,
366,
1925,
4350,
1056,
1,
16034,
3084,
62,
1983,
27037,
33411,
366,
7975,
2958,
1,
796,
705,
48056,
6,
5357,
366,
26595,
1,
796,
705,
22,
19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
12184,
329,
8055,
852,
8464,
329,
767,
642,
11,
604,
718,
11,
718,
352,
46506,
366,
1925,
4350,
1056,
1,
16034,
3084,
62,
1983,
27037,
33411,
366,
7975,
2958,
1,
796,
705,
48056,
6,
5357,
366,
26595,
1,
796,
705,
22,
19... |
What is the Notes of the Frequency with Format of talk radio? | SELECT notes FROM table_name_63 WHERE format = "talk radio" | [
2061,
318,
262,
11822,
286,
262,
31902,
351,
18980,
286,
1561,
5243,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
5066,
33411,
5794,
796,
366,
16620,
5243,
1
] | [
1,
1,
1,
1,
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,
11822,
286,
262,
31902,
351,
18980,
286,
1561,
5243,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
5066,
33411,
5794,
796,
366,
16620,
5243,
1
] |
Name the january when april is courtney rachel culkin | SELECT january FROM table_name_53 WHERE april = "courtney rachel culkin" | [
5376,
262,
42897,
2838,
618,
46593,
346,
318,
2184,
1681,
3444,
2978,
10845,
5116,
46506,
42897,
2838,
16034,
3084,
62,
3672,
62,
4310,
33411,
46593,
346,
796,
366,
22230,
1681,
3444,
2978,
10845,
5116,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
42897,
2838,
618,
46593,
346,
318,
2184,
1681,
3444,
2978,
10845,
5116,
46506,
42897,
2838,
16034,
3084,
62,
3672,
62,
4310,
33411,
46593,
346,
796,
366,
22230,
1681,
3444,
2978,
10845,
5116,
1
] |
Tell me the finalists for week # less than 2 | SELECT finalists FROM table_name_40 WHERE week__number < 2 | [
24446,
502,
262,
43736,
329,
1285,
1303,
1342,
621,
362,
46506,
43736,
16034,
3084,
62,
3672,
62,
1821,
33411,
1285,
834,
17618,
1279,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
43736,
329,
1285,
1303,
1342,
621,
362,
46506,
43736,
16034,
3084,
62,
3672,
62,
1821,
33411,
1285,
834,
17618,
1279,
362
] |
Create a bar chart showing total number of number of platforms across location, show from high to low by the total number of number of platforms. | SELECT Location, SUM(Number_of_Platforms) FROM station GROUP BY Location ORDER BY SUM(Number_of_Platforms) DESC | [
16447,
257,
2318,
8262,
4478,
2472,
1271,
286,
1271,
286,
9554,
1973,
4067,
11,
905,
422,
1029,
284,
1877,
416,
262,
2472,
1271,
286,
1271,
286,
9554,
13,
46506,
13397,
11,
35683,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2318,
8262,
4478,
2472,
1271,
286,
1271,
286,
9554,
1973,
4067,
11,
905,
422,
1029,
284,
1877,
416,
262,
2472,
1271,
286,
1271,
286,
9554,
13,
46506,
13397,
11,
35683,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,
4... |
what was the total time by france ? | SELECT "time" FROM table_203_160 WHERE "nation" = 'france' | [
10919,
373,
262,
2472,
640,
416,
1216,
590,
5633,
46506,
366,
2435,
1,
16034,
3084,
62,
22416,
62,
14198,
33411,
366,
25729,
1,
796,
705,
69,
8132,
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
] | [
10919,
373,
262,
2472,
640,
416,
1216,
590,
5633,
46506,
366,
2435,
1,
16034,
3084,
62,
22416,
62,
14198,
33411,
366,
25729,
1,
796,
705,
69,
8132,
6
] |
What is the released date for Super Mario 64 DS? | SELECT released_date FROM table_1616608_2 WHERE western_title = "Super Mario 64 DS" | [
2061,
318,
262,
2716,
3128,
329,
3115,
10682,
5598,
17400,
30,
46506,
2716,
62,
4475,
16034,
3084,
62,
1433,
1433,
28688,
62,
17,
33411,
8830,
62,
7839,
796,
366,
12442,
10682,
5598,
17400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2716,
3128,
329,
3115,
10682,
5598,
17400,
30,
46506,
2716,
62,
4475,
16034,
3084,
62,
1433,
1433,
28688,
62,
17,
33411,
8830,
62,
7839,
796,
366,
12442,
10682,
5598,
17400,
1
] |
what is procedure short title of subject name kelly gallardo? | SELECT procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Kelly Gallardo" | [
10919,
318,
8771,
1790,
3670,
286,
2426,
1438,
885,
12810,
7976,
13109,
30,
46506,
9021,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
1790,
3670,
286,
2426,
1438,
885,
12810,
7976,
13109,
30,
46506,
9021,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
... |
Who was the runner up when the won by 4 strokes? | SELECT runner_s__up FROM table_21649285_2 WHERE margin_of_victory = "4 strokes" | [
8241,
373,
262,
17490,
510,
618,
262,
1839,
416,
604,
29483,
30,
46506,
17490,
62,
82,
834,
929,
16034,
3084,
62,
20666,
2920,
26279,
62,
17,
33411,
10330,
62,
1659,
62,
32433,
652,
796,
366,
19,
29483,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17490,
510,
618,
262,
1839,
416,
604,
29483,
30,
46506,
17490,
62,
82,
834,
929,
16034,
3084,
62,
20666,
2920,
26279,
62,
17,
33411,
10330,
62,
1659,
62,
32433,
652,
796,
366,
19,
29483,
1
] |
How many bonus points did the Colomiers earn? | SELECT bonus_points FROM table_name_35 WHERE club = "colomiers" | [
2437,
867,
7202,
2173,
750,
262,
1623,
296,
3183,
5160,
30,
46506,
7202,
62,
13033,
16034,
3084,
62,
3672,
62,
2327,
33411,
3430,
796,
366,
4033,
296,
3183,
1
] | [
1,
1,
1,
1,
1,
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,
7202,
2173,
750,
262,
1623,
296,
3183,
5160,
30,
46506,
7202,
62,
13033,
16034,
3084,
62,
3672,
62,
2327,
33411,
3430,
796,
366,
4033,
296,
3183,
1
] |
when is the last time patient 9566 was prescribed a drug since 07/2105? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 9566) AND STRFTIME('%y-%m', prescriptions.startdate) >= '2105-07' ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
318,
262,
938,
640,
5827,
6957,
2791,
373,
14798,
257,
2563,
1201,
8753,
14,
17,
13348,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
1603... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
318,
262,
938,
640,
5827,
6957,
2791,
373,
14798,
257,
2563,
1201,
8753,
14,
17,
13348,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
1603... |
Get all posts that were posted by a user and edited by another. | SELECT Posts.Id AS "post_link", Posts.CreationDate AS "post_date", PostHistory.CreationDate AS "edit_date", PostHistoryTypes.Name AS "edit_type" FROM Posts JOIN PostHistory ON Posts.Id = PostHistory.PostId JOIN PostHistoryTypes ON PostHistory.PostHistoryTypeId = PostHistoryTypes.Id WHERE OwnerUserId = @UserId AND PostH... | [
3855,
477,
6851,
326,
547,
4481,
416,
257,
2836,
290,
13012,
416,
1194,
13,
46506,
12043,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
12043,
13,
12443,
341,
10430,
7054,
366,
7353,
62,
4475,
1600,
2947,
18122,
13,
12443,
341,
10430,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3855,
477,
6851,
326,
547,
4481,
416,
257,
2836,
290,
13012,
416,
1194,
13,
46506,
12043,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
12043,
13,
12443,
341,
10430,
7054,
366,
7353,
62,
4475,
1600,
2947,
18122,
13,
12443,
341,
10430,
70... |
What is the average year for a merzario a2 chassis? | SELECT AVG("Year") FROM table_67987 WHERE "Chassis" = 'merzario a2' | [
2061,
318,
262,
2811,
614,
329,
257,
4017,
89,
4982,
257,
17,
24587,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
3134,
44183,
33411,
366,
1925,
20297,
1,
796,
705,
647,
89,
4982,
257,
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,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
614,
329,
257,
4017,
89,
4982,
257,
17,
24587,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
3134,
44183,
33411,
366,
1925,
20297,
1,
796,
705,
647,
89,
4982,
257,
17,
6
] |
Which Krypton has Neon of 10? | SELECT "Krypton" FROM table_59864 WHERE "Neon" = '10' | [
13828,
44679,
261,
468,
27093,
286,
838,
30,
46506,
366,
42,
6012,
261,
1,
16034,
3084,
62,
3270,
39570,
33411,
366,
8199,
261,
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
] | [
13828,
44679,
261,
468,
27093,
286,
838,
30,
46506,
366,
42,
6012,
261,
1,
16034,
3084,
62,
3270,
39570,
33411,
366,
8199,
261,
1,
796,
705,
940,
6
] |
How many songs have mi-chemin as their Japanese name and romanji name? | SELECT COUNT(romaji_title) FROM table_10979230_4 WHERE japanese_title = "Mi-Chemin" | [
2437,
867,
7259,
423,
21504,
12,
2395,
1084,
355,
511,
4960,
1438,
290,
374,
5185,
7285,
1438,
30,
46506,
327,
28270,
7,
398,
26436,
62,
7839,
8,
16034,
3084,
62,
14454,
3720,
19214,
62,
19,
33411,
474,
2674,
2771,
62,
7839,
796,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7259,
423,
21504,
12,
2395,
1084,
355,
511,
4960,
1438,
290,
374,
5185,
7285,
1438,
30,
46506,
327,
28270,
7,
398,
26436,
62,
7839,
8,
16034,
3084,
62,
14454,
3720,
19214,
62,
19,
33411,
474,
2674,
2771,
62,
7839,
796,
36... |
Which are the classes that Dr. Megan Berkobien teaches next semester ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Megan Berkobien%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.o... | [
13828,
389,
262,
6097,
326,
1583,
13,
27616,
35595,
672,
2013,
17324,
1306,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
262,
6097,
326,
1583,
13,
27616,
35595,
672,
2013,
17324,
1306,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
1... |
Name the college/junior/club team for left wing | SELECT "College/junior/club team" FROM table_72578 WHERE "Position" = 'Left Wing' | [
5376,
262,
4152,
14,
29741,
1504,
14,
18664,
1074,
329,
1364,
8539,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
1,
16034,
3084,
62,
45151,
3695,
33411,
366,
26545,
1,
796,
705,
18819,
13405,
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
] | [
5376,
262,
4152,
14,
29741,
1504,
14,
18664,
1074,
329,
1364,
8539,
46506,
366,
38951,
14,
29741,
1504,
14,
18664,
1074,
1,
16034,
3084,
62,
45151,
3695,
33411,
366,
26545,
1,
796,
705,
18819,
13405,
6
] |
Which venue has a Result of w, and a Goal of deacon 5/5? | SELECT venue FROM table_name_84 WHERE result = "w" AND goals = "deacon 5/5" | [
13828,
14359,
468,
257,
25414,
286,
266,
11,
290,
257,
25376,
286,
390,
7807,
642,
14,
20,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5705,
33411,
1255,
796,
366,
86,
1,
5357,
4661,
796,
366,
2934,
7807,
642,
14,
20,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14359,
468,
257,
25414,
286,
266,
11,
290,
257,
25376,
286,
390,
7807,
642,
14,
20,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
5705,
33411,
1255,
796,
366,
86,
1,
5357,
4661,
796,
366,
2934,
7807,
642,
14,
20,
1
] |
How many faculty lines are there in 'San Francisco State University' in year 2004? | SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2004 AND T2.campus = "San Francisco State University" | [
2437,
867,
12829,
3951,
389,
612,
287,
705,
15017,
6033,
1812,
2059,
6,
287,
614,
5472,
30,
46506,
12829,
16034,
12829,
7054,
309,
16,
32357,
1268,
23003,
7054,
309,
17,
6177,
309,
16,
13,
43842,
796,
309,
17,
13,
312,
33411,
309,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
12829,
3951,
389,
612,
287,
705,
15017,
6033,
1812,
2059,
6,
287,
614,
5472,
30,
46506,
12829,
16034,
12829,
7054,
309,
16,
32357,
1268,
23003,
7054,
309,
17,
6177,
309,
16,
13,
43842,
796,
309,
17,
13,
312,
33411,
309,
1... |
what were the four most commonly diagnosed diagnoses for patients who were previously diagnosed with s/p exploratory laparoscopy within 2 months since 2102? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 's/p exploratory laparoscopy' AND STRFTIM... | [
10919,
547,
262,
1440,
749,
8811,
14641,
40567,
329,
3871,
508,
547,
4271,
14641,
351,
264,
14,
79,
39180,
2870,
14779,
283,
17500,
11081,
1626,
362,
1933,
1201,
362,
15377,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1440,
749,
8811,
14641,
40567,
329,
3871,
508,
547,
4271,
14641,
351,
264,
14,
79,
39180,
2870,
14779,
283,
17500,
11081,
1626,
362,
1933,
1201,
362,
15377,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
... |
Which country has a place smaller than 8 and points smaller than 5? | SELECT "Country" FROM table_31573 WHERE "Place" < '8' AND "Points" < '5' | [
13828,
1499,
468,
257,
1295,
4833,
621,
807,
290,
2173,
4833,
621,
642,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
27936,
4790,
33411,
366,
27271,
1,
1279,
705,
23,
6,
5357,
366,
40710,
1,
1279,
705,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1499,
468,
257,
1295,
4833,
621,
807,
290,
2173,
4833,
621,
642,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
27936,
4790,
33411,
366,
27271,
1,
1279,
705,
23,
6,
5357,
366,
40710,
1,
1279,
705,
20,
6
] |
What is the power, in kW, of channel TV-23, callsign DYCG-TV? | SELECT "Power kW (ERP)" FROM table_28305 WHERE "Ch. #" = 'TV-23' AND "Callsign" = 'DYCG-TV' | [
2061,
318,
262,
1176,
11,
287,
50223,
11,
286,
6518,
3195,
12,
1954,
11,
3848,
570,
360,
56,
39816,
12,
6849,
30,
46506,
366,
13434,
50223,
357,
1137,
47,
16725,
16034,
3084,
62,
2078,
22515,
33411,
366,
1925,
13,
1303,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1176,
11,
287,
50223,
11,
286,
6518,
3195,
12,
1954,
11,
3848,
570,
360,
56,
39816,
12,
6849,
30,
46506,
366,
13434,
50223,
357,
1137,
47,
16725,
16034,
3084,
62,
2078,
22515,
33411,
366,
1925,
13,
1303,
1,
796,
705,... |
On what date(s) was the winning team Prema Powerteam? | SELECT date FROM table_25213146_2 WHERE winning_team = "Prema Powerteam" | [
2202,
644,
3128,
7,
82,
8,
373,
262,
5442,
1074,
3771,
2611,
4333,
15097,
30,
46506,
3128,
16034,
3084,
62,
22800,
1485,
20964,
62,
17,
33411,
5442,
62,
15097,
796,
366,
6719,
2611,
4333,
15097,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
7,
82,
8,
373,
262,
5442,
1074,
3771,
2611,
4333,
15097,
30,
46506,
3128,
16034,
3084,
62,
22800,
1485,
20964,
62,
17,
33411,
5442,
62,
15097,
796,
366,
6719,
2611,
4333,
15097,
1
] |
For those records from the products and each product's manufacturer, a scatter chart shows the correlation between price and code , and group by attribute founder. | SELECT T1.Price, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
2756,
290,
2438,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
18124,
11,
309,
16,
13,
10669,
16034,
18675,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
2756,
290,
2438,
837,
290,
1448,
416,
11688,
9119,
13,
46506,
309,
16,
13,
18124,
11,
309,
16,
13,
10669,
16034,
18675,
7054,
... |
What is the birthplace of the player who is 190 CM tall, plays the D position, and wears number 11? | SELECT birthplace FROM table_name_79 WHERE position = "d" AND height__cm_ = 190 AND jersey_number = 11 | [
2061,
318,
262,
48145,
286,
262,
2137,
508,
318,
19884,
16477,
7331,
11,
5341,
262,
360,
2292,
11,
290,
17326,
1271,
1367,
30,
46506,
48145,
16034,
3084,
62,
3672,
62,
3720,
33411,
2292,
796,
366,
67,
1,
5357,
6001,
834,
11215,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
48145,
286,
262,
2137,
508,
318,
19884,
16477,
7331,
11,
5341,
262,
360,
2292,
11,
290,
17326,
1271,
1367,
30,
46506,
48145,
16034,
3084,
62,
3672,
62,
3720,
33411,
2292,
796,
366,
67,
1,
5357,
6001,
834,
11215,
62,
... |
What is City of License, when Frequency is greater than 1380? | SELECT city_of_license FROM table_name_80 WHERE frequency > 1380 | [
2061,
318,
2254,
286,
13789,
11,
618,
31902,
318,
3744,
621,
1511,
1795,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
1795,
33411,
8373,
1875,
1511,
1795
] | [
1,
1,
1,
1,
1,
1,
1,
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,
2254,
286,
13789,
11,
618,
31902,
318,
3744,
621,
1511,
1795,
30,
46506,
1748,
62,
1659,
62,
43085,
16034,
3084,
62,
3672,
62,
1795,
33411,
8373,
1875,
1511,
1795
] |
What home team has Southampton as the away team? | SELECT home_team FROM table_name_71 WHERE away_team = "southampton" | [
2061,
1363,
1074,
468,
30035,
355,
262,
1497,
1074,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
4869,
33411,
1497,
62,
15097,
796,
366,
35782,
23427,
1
] | [
1,
1,
1,
1,
1,
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,
1363,
1074,
468,
30035,
355,
262,
1497,
1074,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
4869,
33411,
1497,
62,
15097,
796,
366,
35782,
23427,
1
] |
If the aggregate is 3-4, what is the first leg? | SELECT home__1st_leg_ FROM table_17968233_2 WHERE aggregate = "3-4" | [
1532,
262,
19406,
318,
513,
12,
19,
11,
644,
318,
262,
717,
1232,
30,
46506,
1363,
834,
16,
301,
62,
1455,
62,
16034,
3084,
62,
21738,
3104,
25429,
62,
17,
33411,
19406,
796,
366,
18,
12,
19,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
19406,
318,
513,
12,
19,
11,
644,
318,
262,
717,
1232,
30,
46506,
1363,
834,
16,
301,
62,
1455,
62,
16034,
3084,
62,
21738,
3104,
25429,
62,
17,
33411,
19406,
796,
366,
18,
12,
19,
1
] |
A pie chart showing the proportion of different competition types. | SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type | [
32,
2508,
8262,
4478,
262,
9823,
286,
1180,
5449,
3858,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
7293,
15620,
62,
4906,
8,
16034,
5449,
44441,
11050,
27348,
62,
4906
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2508,
8262,
4478,
262,
9823,
286,
1180,
5449,
3858,
13,
46506,
27348,
62,
4906,
11,
327,
28270,
7,
7293,
15620,
62,
4906,
8,
16034,
5449,
44441,
11050,
27348,
62,
4906
] |
Visualize a bar chart for what is the average age for each dorm and what are the names of each dorm? | SELECT dorm_name, AVG(T1.Age) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid GROUP BY T3.dorm_name | [
36259,
1096,
257,
2318,
8262,
329,
644,
318,
262,
2811,
2479,
329,
1123,
18586,
290,
644,
389,
262,
3891,
286,
1123,
18586,
30,
46506,
18586,
62,
3672,
11,
35224,
7,
51,
16,
13,
23396,
8,
16034,
13613,
7054,
309,
16,
32357,
1268,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
36259,
1096,
257,
2318,
8262,
329,
644,
318,
262,
2811,
2479,
329,
1123,
18586,
290,
644,
389,
262,
3891,
286,
1123,
18586,
30,
46506,
18586,
62,
3672,
11,
35224,
7,
51,
16,
13,
23396,
8,
16034,
13613,
7054,
309,
16,
32357,
1268,
18... |
Scatter chart. what are the different account ids that have made financial transactions, as well as how many transactions correspond to each? | SELECT account_id, COUNT(*) FROM Financial_Transactions GROUP BY account_id | [
3351,
1436,
8262,
13,
644,
389,
262,
1180,
1848,
220,
2340,
326,
423,
925,
3176,
8945,
11,
355,
880,
355,
703,
867,
8945,
6053,
284,
1123,
30,
46506,
1848,
62,
312,
11,
327,
28270,
7,
28104,
16034,
11302,
62,
8291,
4658,
44441,
1105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3351,
1436,
8262,
13,
644,
389,
262,
1180,
1848,
220,
2340,
326,
423,
925,
3176,
8945,
11,
355,
880,
355,
703,
867,
8945,
6053,
284,
1123,
30,
46506,
1848,
62,
312,
11,
327,
28270,
7,
28104,
16034,
11302,
62,
8291,
4658,
44441,
1105... |
DId the school with an enrollment of 50 have football? | SELECT "Football?" FROM table_37986 WHERE "School Enrollment (2008\u201310)" = '50' | [
35,
7390,
262,
1524,
351,
281,
20753,
286,
2026,
423,
4346,
30,
46506,
366,
37316,
1701,
16034,
3084,
62,
2718,
49087,
33411,
366,
26130,
2039,
48108,
357,
11528,
59,
84,
6390,
940,
16725,
796,
705,
1120,
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
] | [
35,
7390,
262,
1524,
351,
281,
20753,
286,
2026,
423,
4346,
30,
46506,
366,
37316,
1701,
16034,
3084,
62,
2718,
49087,
33411,
366,
26130,
2039,
48108,
357,
11528,
59,
84,
6390,
940,
16725,
796,
705,
1120,
6
] |
What is the duration of the oldest actor? | SELECT duration FROM actor ORDER BY age DESC LIMIT 1 | [
2061,
318,
262,
9478,
286,
262,
13325,
8674,
30,
46506,
9478,
16034,
8674,
38678,
11050,
2479,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9478,
286,
262,
13325,
8674,
30,
46506,
9478,
16034,
8674,
38678,
11050,
2479,
22196,
34,
27564,
2043,
352
] |
What is the Result of the 2013 (86th) Ceremony? | SELECT result FROM table_name_77 WHERE year__ceremony_ = "2013 (86th)" | [
2061,
318,
262,
25414,
286,
262,
2211,
357,
4521,
400,
8,
26532,
9926,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3324,
33411,
614,
834,
344,
2787,
1647,
62,
796,
366,
6390,
357,
4521,
400,
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
] | [
2061,
318,
262,
25414,
286,
262,
2211,
357,
4521,
400,
8,
26532,
9926,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
3324,
33411,
614,
834,
344,
2787,
1647,
62,
796,
366,
6390,
357,
4521,
400,
16725
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.