instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
If high assists are under Canty (6) how much would the record be? | SELECT record FROM table_17118657_10 WHERE high_assists = "Canty (6)" | [
1532,
1029,
13648,
389,
739,
16821,
88,
357,
21,
8,
703,
881,
561,
262,
1700,
307,
30,
46506,
1700,
16034,
3084,
62,
1558,
16817,
37680,
62,
940,
33411,
1029,
62,
562,
1023,
796,
366,
34,
46098,
357,
21,
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
] | [
1532,
1029,
13648,
389,
739,
16821,
88,
357,
21,
8,
703,
881,
561,
262,
1700,
307,
30,
46506,
1700,
16034,
3084,
62,
1558,
16817,
37680,
62,
940,
33411,
1029,
62,
562,
1023,
796,
366,
34,
46098,
357,
21,
16725
] |
Which Opponent in the final has a Partner of dustin brown? | SELECT "Opponent in the final" FROM table_5776 WHERE "Partner" = 'dustin brown' | [
13828,
9385,
3471,
287,
262,
2457,
468,
257,
35532,
286,
8977,
259,
7586,
30,
46506,
366,
27524,
3471,
287,
262,
2457,
1,
16034,
3084,
62,
20,
39509,
33411,
366,
7841,
1008,
1,
796,
705,
48859,
259,
7586,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9385,
3471,
287,
262,
2457,
468,
257,
35532,
286,
8977,
259,
7586,
30,
46506,
366,
27524,
3471,
287,
262,
2457,
1,
16034,
3084,
62,
20,
39509,
33411,
366,
7841,
1008,
1,
796,
705,
48859,
259,
7586,
6
] |
Which Circuit has an Event of international procar meeting? | SELECT circuit FROM table_name_10 WHERE event = "international procar meeting" | [
13828,
13588,
468,
281,
8558,
286,
3230,
386,
7718,
3249,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
940,
33411,
1785,
796,
366,
45609,
386,
7718,
3249,
1
] | [
1,
1,
1,
1,
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,
13588,
468,
281,
8558,
286,
3230,
386,
7718,
3249,
30,
46506,
10349,
16034,
3084,
62,
3672,
62,
940,
33411,
1785,
796,
366,
45609,
386,
7718,
3249,
1
] |
What is the entrant in 1999? | SELECT entrant FROM table_name_64 WHERE year = 1999 | [
2061,
318,
262,
920,
5250,
287,
7358,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
2414,
33411,
614,
796,
7358
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
920,
5250,
287,
7358,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
2414,
33411,
614,
796,
7358
] |
Name the date of report for tier 1 ratio being 3.9% | SELECT "Date of report" FROM table_24963 WHERE "Tier 1 ratio" = '3.9%' | [
5376,
262,
3128,
286,
989,
329,
14249,
352,
8064,
852,
513,
13,
24,
4,
46506,
366,
10430,
286,
989,
1,
16034,
3084,
62,
1731,
4846,
18,
33411,
366,
35252,
352,
8064,
1,
796,
705,
18,
13,
24,
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
] | [
5376,
262,
3128,
286,
989,
329,
14249,
352,
8064,
852,
513,
13,
24,
4,
46506,
366,
10430,
286,
989,
1,
16034,
3084,
62,
1731,
4846,
18,
33411,
366,
35252,
352,
8064,
1,
796,
705,
18,
13,
24,
4,
6
] |
Computer Model papers | SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Computer Model' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid | [
34556,
9104,
9473,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
34556,
9104,
6,
5357,
3348,
2539,
34675,
13,
2539,
346... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
34556,
9104,
9473,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
34556,
9104,
6,
5357,
3348,
2539,
34675,
13,
2539,
346... |
What was the away team when the score was 3:1? | SELECT "Away" FROM table_50438 WHERE "Score" = '3:1' | [
2061,
373,
262,
1497,
1074,
618,
262,
4776,
373,
513,
25,
16,
30,
46506,
366,
32,
1014,
1,
16034,
3084,
62,
33580,
2548,
33411,
366,
26595,
1,
796,
705,
18,
25,
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
] | [
2061,
373,
262,
1497,
1074,
618,
262,
4776,
373,
513,
25,
16,
30,
46506,
366,
32,
1014,
1,
16034,
3084,
62,
33580,
2548,
33411,
366,
26595,
1,
796,
705,
18,
25,
16,
6
] |
provide the number of patients on base type drug prescription who have been diagnosed with uncontrolled diabetes mellitus without mention of complication, type ii or unspecified type. | 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... | [
15234,
485,
262,
1271,
286,
3871,
319,
2779,
2099,
2563,
15077,
508,
423,
587,
14641,
351,
47913,
12593,
33748,
17506,
1231,
3068,
286,
45185,
11,
2099,
21065,
393,
29547,
2099,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
319,
2779,
2099,
2563,
15077,
508,
423,
587,
14641,
351,
47913,
12593,
33748,
17506,
1231,
3068,
286,
45185,
11,
2099,
21065,
393,
29547,
2099,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,... |
Which date has a Record of 22-22? | SELECT date FROM table_name_24 WHERE record = "22-22" | [
13828,
3128,
468,
257,
13266,
286,
2534,
12,
1828,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
1700,
796,
366,
1828,
12,
1828,
1
] | [
1,
1,
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,
3128,
468,
257,
13266,
286,
2534,
12,
1828,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1731,
33411,
1700,
796,
366,
1828,
12,
1828,
1
] |
How large was the crowd when they played at princes park? | SELECT SUM(crowd) FROM table_name_56 WHERE venue = "princes park" | [
2437,
1588,
373,
262,
4315,
618,
484,
2826,
379,
42676,
3952,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
14359,
796,
366,
1050,
17386,
3952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1588,
373,
262,
4315,
618,
484,
2826,
379,
42676,
3952,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
14359,
796,
366,
1050,
17386,
3952,
1
] |
Which Position has a Played larger than 9? | SELECT SUM(position) FROM table_name_32 WHERE played > 9 | [
13828,
23158,
468,
257,
33101,
4025,
621,
860,
30,
46506,
35683,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
2826,
1875,
860
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
23158,
468,
257,
33101,
4025,
621,
860,
30,
46506,
35683,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2624,
33411,
2826,
1875,
860
] |
how many patients of white ethnicity are diagnosed with primary disease sigmoid diverticulitis, colovestical fistula/sda? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.diagnosis = "SIGMOID DIVERTICULITIS, COLOVESTICAL FISTULA/SDA" | [
4919,
867,
3871,
286,
2330,
26289,
389,
14641,
351,
4165,
4369,
264,
17225,
1868,
12312,
13370,
377,
11815,
11,
951,
709,
395,
605,
18606,
4712,
14,
82,
6814,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
286,
2330,
26289,
389,
14641,
351,
4165,
4369,
264,
17225,
1868,
12312,
13370,
377,
11815,
11,
951,
709,
395,
605,
18606,
4712,
14,
82,
6814,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
... |
what is the number of patients whose days of hospital stay is greater than 13 and procedure short title is endosc destr stomach les? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "13" AND procedures.short_title = "Endosc destr stomach les" | [
10919,
318,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1511,
290,
8771,
1790,
3670,
318,
886,
17500,
2244,
81,
11384,
10287,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
1511,
290,
8771,
1790,
3670,
318,
886,
17500,
2244,
81,
11384,
10287,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
... |
Who directed the episode that had 12.88 million viewers? | SELECT directed_by FROM table_25923164_1 WHERE us_viewers__million_ = "12.88" | [
8241,
7924,
262,
4471,
326,
550,
1105,
13,
3459,
1510,
10209,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
25191,
1954,
23237,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
1065,
13,
3459,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7924,
262,
4471,
326,
550,
1105,
13,
3459,
1510,
10209,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
25191,
1954,
23237,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
1065,
13,
3459,
1
] |
count the number of patients whose item id is 50824 and lab test abnormal status is abnormal. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "50824" AND lab.flag = "abnormal" | [
9127,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
2026,
23,
1731,
290,
2248,
1332,
18801,
3722,
318,
18801,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
2026,
23,
1731,
290,
2248,
1332,
18801,
3722,
318,
18801,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6... |
For those employees who was hired before 2002-06-21, find hire_date and the sum of salary bin hire_date by time, and visualize them by a bar chart, and order by the y-axis from low to high please. | SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(SALARY) | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1502,
416,
262,
331,
12,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1502,
416,
262,
331,
12,
22... |
A bar graph listing the local authorities and how many local authorities provided by all stations. | SELECT local_authority, COUNT(local_authority) FROM station GROUP BY local_authority | [
32,
2318,
4823,
13487,
262,
1957,
4773,
290,
703,
867,
1957,
4773,
2810,
416,
477,
8985,
13,
46506,
1957,
62,
9800,
414,
11,
327,
28270,
7,
12001,
62,
9800,
414,
8,
16034,
4429,
44441,
11050,
1957,
62,
9800,
414
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
4823,
13487,
262,
1957,
4773,
290,
703,
867,
1957,
4773,
2810,
416,
477,
8985,
13,
46506,
1957,
62,
9800,
414,
11,
327,
28270,
7,
12001,
62,
9800,
414,
8,
16034,
4429,
44441,
11050,
1957,
62,
9800,
414
] |
when was the last time that heart rate was measured for patient 28443 on 12/25/2105? | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart ra... | [
12518,
373,
262,
938,
640,
326,
2612,
2494,
373,
8630,
329,
5827,
2579,
34938,
319,
1105,
14,
1495,
14,
17,
13348,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
326,
2612,
2494,
373,
8630,
329,
5827,
2579,
34938,
319,
1105,
14,
1495,
14,
17,
13348,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,... |
what is the least yards when the average is 7 and the long is less than 7? | SELECT MIN("Yards") FROM table_55649 WHERE "Avg." = '7' AND "Long" < '7' | [
10919,
318,
262,
1551,
5695,
618,
262,
2811,
318,
767,
290,
262,
890,
318,
1342,
621,
767,
30,
46506,
20625,
7203,
56,
1371,
4943,
16034,
3084,
62,
2816,
33300,
33411,
366,
48997,
526,
796,
705,
22,
6,
5357,
366,
14617,
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
] | [
10919,
318,
262,
1551,
5695,
618,
262,
2811,
318,
767,
290,
262,
890,
318,
1342,
621,
767,
30,
46506,
20625,
7203,
56,
1371,
4943,
16034,
3084,
62,
2816,
33300,
33411,
366,
48997,
526,
796,
705,
22,
6,
5357,
366,
14617,
1,
1279,
705... |
count the number of times patient 83901 had a stool out stool output in the last month. | SELECT COUNT(*) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83901)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'stool out stool' A... | [
9127,
262,
1271,
286,
1661,
5827,
807,
2670,
486,
550,
257,
38753,
503,
38753,
5072,
287,
262,
938,
1227,
13,
46506,
327,
28270,
7,
28104,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
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,
1661,
5827,
807,
2670,
486,
550,
257,
38753,
503,
38753,
5072,
287,
262,
938,
1227,
13,
46506,
327,
28270,
7,
28104,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
436,
323,
62,
312,
3268,
3... |
Who was the supervisor in the year 1846? | SELECT "Supervisor" FROM table_78256 WHERE "Years" = '1846' | [
8241,
373,
262,
21277,
287,
262,
614,
1248,
3510,
30,
46506,
366,
12442,
13131,
1,
16034,
3084,
62,
3695,
11645,
33411,
366,
40630,
1,
796,
705,
1507,
3510,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
21277,
287,
262,
614,
1248,
3510,
30,
46506,
366,
12442,
13131,
1,
16034,
3084,
62,
3695,
11645,
33411,
366,
40630,
1,
796,
705,
1507,
3510,
6
] |
how many won 83 points for? | SELECT won FROM table_20396710_1 WHERE points_for = "83" | [
4919,
867,
1839,
9698,
2173,
329,
30,
46506,
1839,
16034,
3084,
62,
1238,
2670,
3134,
940,
62,
16,
33411,
2173,
62,
1640,
796,
366,
5999,
1
] | [
1,
1,
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,
1839,
9698,
2173,
329,
30,
46506,
1839,
16034,
3084,
62,
1238,
2670,
3134,
940,
62,
16,
33411,
2173,
62,
1640,
796,
366,
5999,
1
] |
count the number of patients who are male and their diagnoses icd9 code is 28521. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.icd9_code = "28521" | [
9127,
262,
1271,
286,
3871,
508,
389,
4257,
290,
511,
40567,
14158,
67,
24,
2438,
318,
33015,
2481,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
389,
4257,
290,
511,
40567,
14158,
67,
24,
2438,
318,
33015,
2481,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
167... |
how many products are there for each manufacturer? | SELECT T2.Name, COUNT(*) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name | [
4919,
867,
3186,
389,
612,
329,
1123,
11554,
30,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3186,
389,
612,
329,
1123,
11554,
30,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669,
44... |
what is the total number of games in the swat series ? | SELECT COUNT("title") FROM table_203_633 | [
10919,
318,
262,
2472,
1271,
286,
1830,
287,
262,
44284,
2168,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
22416,
62,
21,
2091
] | [
1,
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,
2472,
1271,
286,
1830,
287,
262,
44284,
2168,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
22416,
62,
21,
2091
] |
What was the total number of medals received by James Logan High School when it received less than 1 silver medal? | SELECT COUNT("Total Medals") FROM table_71412 WHERE "Ensemble" = 'james logan high school' AND "Silver Medals" < '1' | [
2061,
373,
262,
2472,
1271,
286,
28057,
2722,
416,
3700,
22221,
3334,
3961,
618,
340,
2722,
1342,
621,
352,
8465,
18279,
30,
46506,
327,
28270,
7203,
14957,
42171,
4943,
16034,
3084,
62,
45722,
1065,
33411,
366,
4834,
15140,
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
] | [
2061,
373,
262,
2472,
1271,
286,
28057,
2722,
416,
3700,
22221,
3334,
3961,
618,
340,
2722,
1342,
621,
352,
8465,
18279,
30,
46506,
327,
28270,
7203,
14957,
42171,
4943,
16034,
3084,
62,
45722,
1065,
33411,
366,
4834,
15140,
1,
796,
705... |
How many votes have a Seat of house A, and a Percentage of 75.44%, and a District smaller than 11? | SELECT COUNT(vote) FROM table_name_52 WHERE seat = "house a" AND percentage = "75.44%" AND district < 11 | [
2437,
867,
5690,
423,
257,
26682,
286,
2156,
317,
11,
290,
257,
36013,
286,
5441,
13,
2598,
7441,
290,
257,
5665,
4833,
621,
1367,
30,
46506,
327,
28270,
7,
27257,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
5852,
796,
366,
4803,
257... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5690,
423,
257,
26682,
286,
2156,
317,
11,
290,
257,
36013,
286,
5441,
13,
2598,
7441,
290,
257,
5665,
4833,
621,
1367,
30,
46506,
327,
28270,
7,
27257,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
5852,
796,
366,
4803,
257... |
How much Overall has a Pick # of 26? | SELECT SUM(overall) FROM table_name_25 WHERE pick__number = 26 | [
2437,
881,
14674,
468,
257,
12346,
1303,
286,
2608,
30,
46506,
35683,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
1495,
33411,
2298,
834,
17618,
796,
2608
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
14674,
468,
257,
12346,
1303,
286,
2608,
30,
46506,
35683,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
1495,
33411,
2298,
834,
17618,
796,
2608
] |
How many numbers were listed under losing bonus when there were 68 tries for? | SELECT COUNT(losing_bonus) FROM table_13399573_3 WHERE tries_for = "68" | [
2437,
867,
3146,
547,
5610,
739,
6078,
7202,
618,
612,
547,
8257,
8404,
329,
30,
46506,
327,
28270,
7,
75,
2752,
62,
4189,
385,
8,
16034,
3084,
62,
16945,
2079,
48638,
62,
18,
33411,
8404,
62,
1640,
796,
366,
3104,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3146,
547,
5610,
739,
6078,
7202,
618,
612,
547,
8257,
8404,
329,
30,
46506,
327,
28270,
7,
75,
2752,
62,
4189,
385,
8,
16034,
3084,
62,
16945,
2079,
48638,
62,
18,
33411,
8404,
62,
1640,
796,
366,
3104,
1
] |
Most popular StackOverflow tags in time range. | SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS TimePeriodRank, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS TimePeriodQuestions, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id... | [
6943,
2968,
23881,
5886,
11125,
15940,
287,
640,
2837,
13,
46506,
997,
13,
24835,
5376,
7054,
17467,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
3862,
5990,
2101,
27520,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6943,
2968,
23881,
5886,
11125,
15940,
287,
640,
2837,
13,
46506,
997,
13,
24835,
5376,
7054,
17467,
11,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
2494,
13,
32184,
22196,
34,
8,
7054,
3862,
5990,
2101,
27520,
11... |
what is the daily minimum dose of d5ns ivf that patient 006-50368 takes since 20 months ago? | SELECT MIN(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-50368')) AND intakeoutput.celllabel = 'd5ns ... | [
10919,
318,
262,
4445,
5288,
10742,
286,
288,
20,
5907,
21628,
69,
326,
5827,
3571,
21,
12,
1120,
27412,
2753,
1201,
1160,
1933,
2084,
30,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
4445,
5288,
10742,
286,
288,
20,
5907,
21628,
69,
326,
5827,
3571,
21,
12,
1120,
27412,
2753,
1201,
1160,
1933,
2084,
30,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411... |
What is the number of patients younger than 31 years who prefer english? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "ENGL" AND demographic.age < "31" | [
2061,
318,
262,
1271,
286,
3871,
7099,
621,
3261,
812,
508,
4702,
46932,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
1677,
8763,
1,
5357,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
3871,
7099,
621,
3261,
812,
508,
4702,
46932,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
16129,
796,
366,
1677,
8763,
1,
5357,
16728,
13,
... |
was the potassium value last measured on the first hospital visit of patient 7073 less than second to last measured on the first hospital visit? | SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7073 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label =... | [
9776,
262,
33156,
1988,
938,
8630,
319,
262,
717,
4436,
3187,
286,
5827,
767,
2998,
18,
1342,
621,
1218,
284,
938,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
2248,
31534,
33411,
22... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9776,
262,
33156,
1988,
938,
8630,
319,
262,
717,
4436,
3187,
286,
5827,
767,
2998,
18,
1342,
621,
1218,
284,
938,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
2248,
31534,
13,
2100,
84,
44709,
16034,
2248,
31534,
33411,
22... |
how many patients have received dx ultrasound-heart after the first contrast aortogram procedure in the same hospital visit? | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_... | [
4919,
867,
3871,
423,
2722,
44332,
37721,
12,
11499,
706,
262,
717,
6273,
257,
419,
21857,
8771,
287,
262,
976,
4436,
3187,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
423,
2722,
44332,
37721,
12,
11499,
706,
262,
717,
6273,
257,
419,
21857,
8771,
287,
262,
976,
4436,
3187,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
8,
16034,
357,
46506,
25349,
13... |
Who scored the High points in the game with High rebounds by Nick Collison (14)? | SELECT "High points" FROM table_57594 WHERE "High rebounds" = 'nick collison (14)' | [
8241,
7781,
262,
3334,
2173,
287,
262,
983,
351,
3334,
18841,
416,
8047,
7778,
1653,
357,
1415,
19427,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
36189,
5824,
33411,
366,
11922,
18841,
1,
796,
705,
17172,
2927,
1653,
357,
1415,
33047
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
7781,
262,
3334,
2173,
287,
262,
983,
351,
3334,
18841,
416,
8047,
7778,
1653,
357,
1415,
19427,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
36189,
5824,
33411,
366,
11922,
18841,
1,
796,
705,
17172,
2927,
1653,
357,
1415,
33047
... |
count services by services, and split by local authorities with a stacked bar chart, and show by the bars from low to high. | SELECT local_authority, COUNT(local_authority) FROM station GROUP BY services, local_authority ORDER BY local_authority | [
9127,
2594,
416,
2594,
11,
290,
6626,
416,
1957,
4773,
351,
257,
24167,
2318,
8262,
11,
290,
905,
416,
262,
9210,
422,
1877,
284,
1029,
13,
46506,
1957,
62,
9800,
414,
11,
327,
28270,
7,
12001,
62,
9800,
414,
8,
16034,
4429,
44441,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2594,
416,
2594,
11,
290,
6626,
416,
1957,
4773,
351,
257,
24167,
2318,
8262,
11,
290,
905,
416,
262,
9210,
422,
1877,
284,
1029,
13,
46506,
1957,
62,
9800,
414,
11,
327,
28270,
7,
12001,
62,
9800,
414,
8,
16034,
4429,
44441,
... |
Name the administrative division for 95391 | SELECT administrative_division FROM table_14986292_1 WHERE population__2010_census_ = 95391 | [
5376,
262,
11553,
7297,
329,
6957,
37710,
46506,
11553,
62,
21426,
16034,
3084,
62,
1415,
49087,
32759,
62,
16,
33411,
3265,
834,
10333,
62,
66,
7314,
62,
796,
6957,
37710
] | [
1,
1,
1,
1,
1,
1,
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,
11553,
7297,
329,
6957,
37710,
46506,
11553,
62,
21426,
16034,
3084,
62,
1415,
49087,
32759,
62,
16,
33411,
3265,
834,
10333,
62,
66,
7314,
62,
796,
6957,
37710
] |
WHo has a Home of philadelphia and a Series of flyers lead 1 0? | SELECT "Visitor" FROM table_36395 WHERE "Home" = 'philadelphia' AND "Series" = 'flyers lead 1–0' | [
12418,
78,
468,
257,
5995,
286,
5206,
8273,
290,
257,
7171,
286,
45112,
1085,
352,
657,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2623,
31010,
33411,
366,
16060,
1,
796,
705,
28864,
8273,
6,
5357,
366,
27996,
1,
796,
705,
122... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12418,
78,
468,
257,
5995,
286,
5206,
8273,
290,
257,
7171,
286,
45112,
1085,
352,
657,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2623,
31010,
33411,
366,
16060,
1,
796,
705,
28864,
8273,
6,
5357,
366,
27996,
1,
796,
705,
122... |
What was the interview score for Hawaii? | SELECT "Interview" FROM table_72234 WHERE "Country" = 'Hawaii' | [
2061,
373,
262,
2720,
4776,
329,
13708,
30,
46506,
366,
39945,
1,
16034,
3084,
62,
22,
1828,
2682,
33411,
366,
33921,
1,
796,
705,
33055,
42648,
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,
373,
262,
2720,
4776,
329,
13708,
30,
46506,
366,
39945,
1,
16034,
3084,
62,
22,
1828,
2682,
33411,
366,
33921,
1,
796,
705,
33055,
42648,
6
] |
List the number of years where ritchie ocampo was the mutya ng pilipinas winner. | SELECT COUNT(year) FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Ritchie Ocampo" | [
8053,
262,
1271,
286,
812,
810,
374,
48423,
267,
16544,
78,
373,
262,
285,
3935,
64,
23370,
5560,
541,
24252,
8464,
13,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
25707,
1270,
4531,
19,
62,
1238,
33411,
285,
3935,
64,
62,
782,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
1271,
286,
812,
810,
374,
48423,
267,
16544,
78,
373,
262,
285,
3935,
64,
23370,
5560,
541,
24252,
8464,
13,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
25707,
1270,
4531,
19,
62,
1238,
33411,
285,
3935,
64,
62,
782,
... |
What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals? | SELECT COUNT("Bronze") FROM table_53221 WHERE "Silver" > '8' AND "Total" = '50' | [
2061,
318,
262,
2472,
1271,
286,
22101,
28057,
286,
262,
1074,
351,
517,
621,
807,
3313,
690,
290,
257,
2472,
286,
2026,
28057,
30,
46506,
327,
28270,
7203,
18760,
2736,
4943,
16034,
3084,
62,
4310,
26115,
33411,
366,
26766,
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
] | [
2061,
318,
262,
2472,
1271,
286,
22101,
28057,
286,
262,
1074,
351,
517,
621,
807,
3313,
690,
290,
257,
2472,
286,
2026,
28057,
30,
46506,
327,
28270,
7203,
18760,
2736,
4943,
16034,
3084,
62,
4310,
26115,
33411,
366,
26766,
1,
1875,
... |
During the game at Candlestick Park, who was the visiting team? | SELECT visiting_team FROM table_name_99 WHERE stadium = "candlestick park" | [
7191,
262,
983,
379,
15518,
32712,
624,
3250,
11,
508,
373,
262,
10013,
1074,
30,
46506,
10013,
62,
15097,
16034,
3084,
62,
3672,
62,
2079,
33411,
10308,
796,
366,
46188,
32712,
624,
3952,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7191,
262,
983,
379,
15518,
32712,
624,
3250,
11,
508,
373,
262,
10013,
1074,
30,
46506,
10013,
62,
15097,
16034,
3084,
62,
3672,
62,
2079,
33411,
10308,
796,
366,
46188,
32712,
624,
3952,
1
] |
Name the score for game for 25 | SELECT "Score" FROM table_21309 WHERE "Game" = '25' | [
5376,
262,
4776,
329,
983,
329,
1679,
46506,
366,
26595,
1,
16034,
3084,
62,
2481,
26895,
33411,
366,
8777,
1,
796,
705,
1495,
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
] | [
5376,
262,
4776,
329,
983,
329,
1679,
46506,
366,
26595,
1,
16034,
3084,
62,
2481,
26895,
33411,
366,
8777,
1,
796,
705,
1495,
6
] |
What is the description where the date is 1911? | SELECT "Description" FROM table_51257 WHERE "Date" = '1911' | [
2061,
318,
262,
6764,
810,
262,
3128,
318,
32216,
30,
46506,
366,
11828,
1,
16034,
3084,
62,
25836,
3553,
33411,
366,
10430,
1,
796,
705,
1129,
1157,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6764,
810,
262,
3128,
318,
32216,
30,
46506,
366,
11828,
1,
16034,
3084,
62,
25836,
3553,
33411,
366,
10430,
1,
796,
705,
1129,
1157,
6
] |
What is the smallest numbered episode in the series listed? | SELECT MIN(_number) FROM table_27547668_3 | [
2061,
318,
262,
18197,
25840,
4471,
287,
262,
2168,
5610,
30,
46506,
20625,
28264,
17618,
8,
16034,
3084,
62,
23195,
2857,
35809,
62,
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
] | [
2061,
318,
262,
18197,
25840,
4471,
287,
262,
2168,
5610,
30,
46506,
20625,
28264,
17618,
8,
16034,
3084,
62,
23195,
2857,
35809,
62,
18
] |
What's the highest amount of Games recorded that have more than 10 assists? | SELECT MAX(games) FROM table_name_64 WHERE assists > 10 | [
2061,
338,
262,
4511,
2033,
286,
5776,
6264,
326,
423,
517,
621,
838,
13648,
30,
46506,
25882,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
13648,
1875,
838
] | [
1,
1,
1,
1,
1,
1,
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,
4511,
2033,
286,
5776,
6264,
326,
423,
517,
621,
838,
13648,
30,
46506,
25882,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
2414,
33411,
13648,
1875,
838
] |
Which League Cup that has a Total of 19 and a League smaller than 15? | SELECT AVG(league) AS Cup FROM table_name_87 WHERE total = 19 AND league < 15 | [
13828,
4041,
5454,
326,
468,
257,
7472,
286,
678,
290,
257,
4041,
4833,
621,
1315,
30,
46506,
35224,
7,
19316,
8,
7054,
5454,
16034,
3084,
62,
3672,
62,
5774,
33411,
2472,
796,
678,
5357,
4652,
1279,
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
] | [
13828,
4041,
5454,
326,
468,
257,
7472,
286,
678,
290,
257,
4041,
4833,
621,
1315,
30,
46506,
35224,
7,
19316,
8,
7054,
5454,
16034,
3084,
62,
3672,
62,
5774,
33411,
2472,
796,
678,
5357,
4652,
1279,
1315
] |
What is the score of the game with Manu gin bili (44) as the leading scorer? | SELECT score FROM table_name_27 WHERE leading_scorer = "manu ginóbili (44)" | [
2061,
318,
262,
4776,
286,
262,
983,
351,
1869,
84,
39733,
275,
2403,
357,
2598,
8,
355,
262,
3756,
30664,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1983,
33411,
3756,
62,
1416,
11934,
796,
366,
805,
84,
39733,
10205,
65,
2403,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
286,
262,
983,
351,
1869,
84,
39733,
275,
2403,
357,
2598,
8,
355,
262,
3756,
30664,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1983,
33411,
3756,
62,
1416,
11934,
796,
366,
805,
84,
39733,
10205,
65,
2403,
35... |
What genre is the song recorded in 1929? | SELECT genre FROM table_name_26 WHERE year_recorded = "1929" | [
2061,
12121,
318,
262,
3496,
6264,
287,
31883,
30,
46506,
12121,
16034,
3084,
62,
3672,
62,
2075,
33411,
614,
62,
47398,
796,
366,
1129,
1959,
1
] | [
1,
1,
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,
12121,
318,
262,
3496,
6264,
287,
31883,
30,
46506,
12121,
16034,
3084,
62,
3672,
62,
2075,
33411,
614,
62,
47398,
796,
366,
1129,
1959,
1
] |
How many years have they offered SPANISH 113 ? | SELECT DISTINCT semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'SPANISH' AND course.number = 113 AND semester.semester_id = course_offering.semester ORDER BY semester.year LIMIT 1 | [
2437,
867,
812,
423,
484,
4438,
6226,
1565,
18422,
17318,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
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... | [
2437,
867,
812,
423,
484,
4438,
6226,
1565,
18422,
17318,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62... |
What is the weight of the shell that reached its maximum height at 40 in 12.6 seconds? | SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40°__seconds_ = 12.6 | [
2061,
318,
262,
3463,
286,
262,
7582,
326,
4251,
663,
5415,
6001,
379,
2319,
287,
1105,
13,
21,
4201,
30,
46506,
7582,
834,
23160,
62,
16034,
3084,
62,
3672,
62,
21,
33411,
640,
62,
1462,
62,
701,
834,
76,
834,
265,
62,
1821,
7200... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3463,
286,
262,
7582,
326,
4251,
663,
5415,
6001,
379,
2319,
287,
1105,
13,
21,
4201,
30,
46506,
7582,
834,
23160,
62,
16034,
3084,
62,
3672,
62,
21,
33411,
640,
62,
1462,
62,
701,
834,
76,
834,
265,
62,
1821,
7200... |
Count of users by posts. | WITH Raw AS (SELECT PostTypeId, OwnerUserId AS UserId, COUNT(*) AS PostCount FROM Posts WHERE PostTypeId <= 2 GROUP BY PostTypeId, OwnerUserId), Raw2 AS (SELECT PostTypeId, PostCount, COUNT(*) AS UserCount FROM Raw GROUP BY PostTypeId, PostCount) SELECT Raw2.PostCount, PostTypes.Name, Raw2.UserCount FROM Raw2, PostType... | [
12332,
286,
2985,
416,
6851,
13,
54,
10554,
16089,
7054,
357,
46506,
2947,
6030,
7390,
11,
23853,
12982,
7390,
7054,
11787,
7390,
11,
327,
28270,
7,
28104,
7054,
2947,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
19841,
362,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12332,
286,
2985,
416,
6851,
13,
54,
10554,
16089,
7054,
357,
46506,
2947,
6030,
7390,
11,
23853,
12982,
7390,
7054,
11787,
7390,
11,
327,
28270,
7,
28104,
7054,
2947,
12332,
16034,
12043,
33411,
2947,
6030,
7390,
19841,
362,
44441,
11050... |
A bar chart about the name and age for all male people who don't have a wedding. | SELECT Name, Age FROM people WHERE Is_Male = 'T' AND NOT People_ID IN (SELECT Male_ID FROM wedding) | [
32,
2318,
8262,
546,
262,
1438,
290,
2479,
329,
477,
4257,
661,
508,
836,
470,
423,
257,
10614,
13,
46506,
6530,
11,
7129,
16034,
661,
33411,
1148,
62,
25486,
796,
705,
51,
6,
5357,
5626,
4380,
62,
2389,
3268,
357,
46506,
12674,
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
] | [
32,
2318,
8262,
546,
262,
1438,
290,
2479,
329,
477,
4257,
661,
508,
836,
470,
423,
257,
10614,
13,
46506,
6530,
11,
7129,
16034,
661,
33411,
1148,
62,
25486,
796,
705,
51,
6,
5357,
5626,
4380,
62,
2389,
3268,
357,
46506,
12674,
62,... |
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, what is the relationship between employee_id and manager_id ? | SELECT EMPLOYEE_ID, MANAGER_ID 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,
644,
318,
262,
2776,
1022,
6538,
62,
312,
290,
4706,
62,
312,
5633,
46506,
1722... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
644,
318,
262,
2776,
1022,
6538,
62,
312,
290,
4706,
62,
312,
5633,
46506,
1722... |
What is the race winer of the portuguese grand prix? | SELECT race AS Winner FROM table_1140067_2 WHERE race = "Portuguese Grand Prix" | [
2061,
318,
262,
3234,
1592,
263,
286,
262,
2493,
1018,
20506,
4490,
1293,
87,
30,
46506,
3234,
7054,
25358,
16034,
3084,
62,
1157,
7029,
3134,
62,
17,
33411,
3234,
796,
366,
13924,
1018,
20506,
5675,
23832,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3234,
1592,
263,
286,
262,
2493,
1018,
20506,
4490,
1293,
87,
30,
46506,
3234,
7054,
25358,
16034,
3084,
62,
1157,
7029,
3134,
62,
17,
33411,
3234,
796,
366,
13924,
1018,
20506,
5675,
23832,
1
] |
When was John McEnroe's minimum year? | SELECT MIN(year) FROM table_22597626_1 | [
2215,
373,
1757,
1982,
4834,
20646,
338,
5288,
614,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
18182,
24,
4304,
2075,
62,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
1757,
1982,
4834,
20646,
338,
5288,
614,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
18182,
24,
4304,
2075,
62,
16
] |
how many of the patients aged below 74 were discharged after short term hospital care? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SHORT TERM HOSPITAL" AND demographic.age < "74" | [
4919,
867,
286,
262,
3871,
9722,
2174,
8915,
547,
26476,
706,
1790,
3381,
4436,
1337,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
9693... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
3871,
9722,
2174,
8915,
547,
26476,
706,
1790,
3381,
4436,
1337,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
24886,
796,
366,
9693... |
When the home team scored 7.19 (61) what was the score of the away team? | SELECT "Away team score" FROM table_10477 WHERE "Home team score" = '7.19 (61)' | [
2215,
262,
1363,
1074,
7781,
767,
13,
1129,
357,
5333,
8,
644,
373,
262,
4776,
286,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
940,
32883,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
22,
13,
1129,
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
] | [
2215,
262,
1363,
1074,
7781,
767,
13,
1129,
357,
5333,
8,
644,
373,
262,
4776,
286,
262,
1497,
1074,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
940,
32883,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
22,
13,
1129,
3... |
age < 18 or > 80 years | SELECT * FROM table_train_275 WHERE age < 18 OR age > 80 | [
496,
1279,
1248,
393,
1875,
4019,
812,
46506,
1635,
16034,
3084,
62,
27432,
62,
23195,
33411,
2479,
1279,
1248,
6375,
2479,
1875,
4019
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
496,
1279,
1248,
393,
1875,
4019,
812,
46506,
1635,
16034,
3084,
62,
27432,
62,
23195,
33411,
2479,
1279,
1248,
6375,
2479,
1875,
4019
] |
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 founder, and rank Y from low to high order. | SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T2.Revenue | [
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,
9119,
11,
290,
4279,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
309,
16,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
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,
9119,
11,
290,
4279,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
309,
16,
13,... |
For a short scale of one quadrillion a thousand trillion, what is the Long scale? | SELECT "Long scale" FROM table_45079 WHERE "Short scale" = 'one quadrillion a thousand trillion' | [
1890,
257,
1790,
5046,
286,
530,
15094,
81,
1131,
257,
7319,
12989,
11,
644,
318,
262,
5882,
5046,
30,
46506,
366,
14617,
5046,
1,
16034,
3084,
62,
17885,
3720,
33411,
366,
16438,
5046,
1,
796,
705,
505,
15094,
81,
1131,
257,
7319,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
1790,
5046,
286,
530,
15094,
81,
1131,
257,
7319,
12989,
11,
644,
318,
262,
5882,
5046,
30,
46506,
366,
14617,
5046,
1,
16034,
3084,
62,
17885,
3720,
33411,
366,
16438,
5046,
1,
796,
705,
505,
15094,
81,
1131,
257,
7319,
... |
What was the lowest attendance was the opponent was chelsea? | SELECT MIN(attendance) FROM table_name_68 WHERE opponent = "chelsea" | [
2061,
373,
262,
9016,
14858,
373,
262,
6125,
373,
1125,
75,
8583,
30,
46506,
20625,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
6125,
796,
366,
29232,
8583,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9016,
14858,
373,
262,
6125,
373,
1125,
75,
8583,
30,
46506,
20625,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
6125,
796,
366,
29232,
8583,
1
] |
Who had the high assists against detroit? | SELECT high_assists FROM table_27712702_11 WHERE team = "Detroit" | [
8241,
550,
262,
1029,
13648,
1028,
1062,
7775,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
27019,
1065,
36680,
62,
1157,
33411,
1074,
796,
366,
40404,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
262,
1029,
13648,
1028,
1062,
7775,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
27019,
1065,
36680,
62,
1157,
33411,
1074,
796,
366,
40404,
1
] |
What director has lt as the series, with 6982 as the production num.? | SELECT "Director" FROM table_66387 WHERE "Series" = 'lt' AND "Production Num." = '6982' | [
2061,
3437,
468,
300,
83,
355,
262,
2168,
11,
351,
39861,
17,
355,
262,
3227,
997,
40791,
46506,
366,
28702,
1,
16034,
3084,
62,
2791,
32220,
33411,
366,
27996,
1,
796,
705,
2528,
6,
5357,
366,
35027,
31835,
526,
796,
705,
3388,
646... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3437,
468,
300,
83,
355,
262,
2168,
11,
351,
39861,
17,
355,
262,
3227,
997,
40791,
46506,
366,
28702,
1,
16034,
3084,
62,
2791,
32220,
33411,
366,
27996,
1,
796,
705,
2528,
6,
5357,
366,
35027,
31835,
526,
796,
705,
3388,
646... |
what kind of Giro di Lombardiahas a Tour of Flanders of tom boonen ( bel ), and a Paris Roubaix of fabian cancellara ( sui )? | SELECT "Giro di Lombardia" FROM table_62554 WHERE "Tour of Flanders" = 'tom boonen ( bel )' AND "Paris\u2013Roubaix" = 'fabian cancellara ( sui )' | [
10919,
1611,
286,
402,
7058,
2566,
28503,
446,
9520,
292,
257,
9852,
286,
376,
32358,
286,
16667,
1489,
34481,
357,
894,
10612,
290,
257,
6342,
13876,
7012,
844,
286,
7843,
666,
22040,
3301,
357,
424,
72,
1267,
30,
46506,
366,
38,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
1611,
286,
402,
7058,
2566,
28503,
446,
9520,
292,
257,
9852,
286,
376,
32358,
286,
16667,
1489,
34481,
357,
894,
10612,
290,
257,
6342,
13876,
7012,
844,
286,
7843,
666,
22040,
3301,
357,
424,
72,
1267,
30,
46506,
366,
38,
705... |
Who was the opponent with a score of 30-12? | SELECT "Opponent" FROM table_56495 WHERE "Result" = '30-12' | [
8241,
373,
262,
6125,
351,
257,
4776,
286,
1542,
12,
1065,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
20,
2414,
3865,
33411,
366,
23004,
1,
796,
705,
1270,
12,
1065,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
6125,
351,
257,
4776,
286,
1542,
12,
1065,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
20,
2414,
3865,
33411,
366,
23004,
1,
796,
705,
1270,
12,
1065,
6
] |
What status doe the area with a census ranking of 2,290 of 5,008 have? | SELECT status FROM table_171356_2 WHERE census_ranking = "2,290 of 5,008" | [
2061,
3722,
466,
68,
262,
1989,
351,
257,
21649,
12759,
286,
362,
11,
24369,
286,
642,
11,
25257,
423,
30,
46506,
3722,
16034,
3084,
62,
1558,
1485,
3980,
62,
17,
33411,
21649,
62,
28405,
796,
366,
17,
11,
24369,
286,
642,
11,
25257... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3722,
466,
68,
262,
1989,
351,
257,
21649,
12759,
286,
362,
11,
24369,
286,
642,
11,
25257,
423,
30,
46506,
3722,
16034,
3084,
62,
1558,
1485,
3980,
62,
17,
33411,
21649,
62,
28405,
796,
366,
17,
11,
24369,
286,
642,
11,
25257... |
What is Venue, when Balls is '148'? | SELECT "Venue" FROM table_62481 WHERE "Balls" = '148' | [
2061,
318,
9932,
518,
11,
618,
39332,
318,
705,
18294,
30960,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
21,
1731,
6659,
33411,
366,
33,
5691,
1,
796,
705,
18294,
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,
9932,
518,
11,
618,
39332,
318,
705,
18294,
30960,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
21,
1731,
6659,
33411,
366,
33,
5691,
1,
796,
705,
18294,
6
] |
What year was Kirkland founded? | SELECT founded FROM table_13759592_2 WHERE location = "Kirkland" | [
2061,
614,
373,
13855,
1044,
9393,
30,
46506,
9393,
16034,
3084,
62,
1485,
38314,
45839,
62,
17,
33411,
4067,
796,
366,
42,
14232,
1044,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
13855,
1044,
9393,
30,
46506,
9393,
16034,
3084,
62,
1485,
38314,
45839,
62,
17,
33411,
4067,
796,
366,
42,
14232,
1044,
1
] |
What date was the Competition of europe/africa zone, group i, round robin, with a result of loss, in Antalya, and a Score of 1 2? | SELECT "Date" FROM table_11814 WHERE "Competition" = 'europe/africa zone, group i, round robin' AND "Result" = 'loss' AND "Location" = 'antalya' AND "Score" = '1–2' | [
2061,
3128,
373,
262,
27348,
286,
11063,
431,
14,
1878,
30997,
6516,
11,
1448,
1312,
11,
2835,
3857,
259,
11,
351,
257,
1255,
286,
2994,
11,
287,
3738,
3400,
64,
11,
290,
257,
15178,
286,
352,
362,
30,
46506,
366,
10430,
1,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
3128,
373,
262,
27348,
286,
11063,
431,
14,
1878,
30997,
6516,
11,
1448,
1312,
11,
2835,
3857,
259,
11,
351,
257,
1255,
286,
2994,
11,
287,
3738,
3400,
64,
11,
290,
257,
15178,
286,
352,
362,
30,
46506,
366,
10430,
1,
16034,
... |
Reported Offenses larger than 216, and a U.S. Rate smaller than 3274, and a Texas Rate smaller than 2688.9, and a Crime of violent crime has what killeen rate? | SELECT SUM(killeen_rate) FROM table_name_8 WHERE reported_offenses > 216 AND us_rate < 3274 AND texas_rate < 2688.9 AND crime = "violent crime" | [
6207,
9741,
3242,
4541,
4025,
621,
26881,
11,
290,
257,
471,
13,
50,
13,
14806,
4833,
621,
513,
28857,
11,
290,
257,
3936,
14806,
4833,
621,
2608,
3459,
13,
24,
11,
290,
257,
10003,
286,
6590,
4065,
468,
644,
479,
8270,
268,
2494,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
6207,
9741,
3242,
4541,
4025,
621,
26881,
11,
290,
257,
471,
13,
50,
13,
14806,
4833,
621,
513,
28857,
11,
290,
257,
3936,
14806,
4833,
621,
2608,
3459,
13,
24,
11,
290,
257,
10003,
286,
6590,
4065,
468,
644,
479,
8270,
268,
2494,
... |
What's the constituency number for Damoh with more than 173,217 electorates? | SELECT "Constituency number" FROM table_62887 WHERE "Number of electorates (2009)" > '173,217' AND "Name" = 'damoh' | [
2061,
338,
262,
28280,
1271,
329,
5245,
1219,
351,
517,
621,
28174,
11,
24591,
43191,
689,
30,
46506,
366,
34184,
34272,
1387,
1271,
1,
16034,
3084,
62,
48200,
5774,
33411,
366,
15057,
286,
43191,
689,
357,
10531,
16725,
1875,
705,
2539... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28280,
1271,
329,
5245,
1219,
351,
517,
621,
28174,
11,
24591,
43191,
689,
30,
46506,
366,
34184,
34272,
1387,
1271,
1,
16034,
3084,
62,
48200,
5774,
33411,
366,
15057,
286,
43191,
689,
357,
10531,
16725,
1875,
705,
2539... |
Can you tell me the highest Against that has the Status of six nations, and the Date of 02/03/2002? | SELECT MAX(against) FROM table_name_35 WHERE status = "six nations" AND date = "02/03/2002" | [
6090,
345,
1560,
502,
262,
4511,
12914,
326,
468,
262,
12678,
286,
2237,
7027,
11,
290,
262,
7536,
286,
7816,
14,
3070,
14,
16942,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
3722,
796,
366,
19412,
7027,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4511,
12914,
326,
468,
262,
12678,
286,
2237,
7027,
11,
290,
262,
7536,
286,
7816,
14,
3070,
14,
16942,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
3722,
796,
366,
19412,
7027,
1... |
Posts using the most popular tags. | SELECT PostTags.PostId AS "post_link", SUM(Tags.Count) AS TotalCount FROM PostTags, Tags WHERE PostTags.TagId = Tags.Id GROUP BY PostTags.PostId ORDER BY TotalCount DESC, PostTags.PostId LIMIT 100 | [
21496,
1262,
262,
749,
2968,
15940,
13,
46506,
2947,
36142,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
35683,
7,
36142,
13,
12332,
8,
7054,
7472,
12332,
16034,
2947,
36142,
11,
44789,
33411,
2947,
36142,
13,
24835,
7390,
796,
4478... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1262,
262,
749,
2968,
15940,
13,
46506,
2947,
36142,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
35683,
7,
36142,
13,
12332,
8,
7054,
7472,
12332,
16034,
2947,
36142,
11,
44789,
33411,
2947,
36142,
13,
24835,
7390,
796,
4478... |
Find the name of route that has the highest number of deliveries. | SELECT t1.route_name FROM Delivery_Routes AS t1 JOIN Delivery_Route_Locations AS t2 ON t1.route_id = t2.route_id GROUP BY t1.route_id ORDER BY COUNT(*) DESC LIMIT 1 | [
16742,
262,
1438,
286,
6339,
326,
468,
262,
4511,
1271,
286,
31167,
13,
46506,
256,
16,
13,
38629,
62,
3672,
16034,
28682,
62,
49,
448,
274,
7054,
256,
16,
32357,
1268,
28682,
62,
43401,
62,
43,
20968,
7054,
256,
17,
6177,
256,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1438,
286,
6339,
326,
468,
262,
4511,
1271,
286,
31167,
13,
46506,
256,
16,
13,
38629,
62,
3672,
16034,
28682,
62,
49,
448,
274,
7054,
256,
16,
32357,
1268,
28682,
62,
43401,
62,
43,
20968,
7054,
256,
17,
6177,
256,
16,
... |
Which (M -1 cm -1) has a molar mass of 1008 g/mol? | SELECT ε__m__1_cm__1__ FROM table_name_79 WHERE mass__g_mol_ = "1008" | [
13828,
357,
44,
532,
16,
12067,
532,
16,
8,
468,
257,
285,
6192,
2347,
286,
1802,
23,
308,
14,
43132,
30,
46506,
7377,
113,
834,
76,
834,
16,
62,
11215,
834,
16,
834,
16034,
3084,
62,
3672,
62,
3720,
33411,
2347,
834,
70,
62,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
357,
44,
532,
16,
12067,
532,
16,
8,
468,
257,
285,
6192,
2347,
286,
1802,
23,
308,
14,
43132,
30,
46506,
7377,
113,
834,
76,
834,
16,
62,
11215,
834,
16,
834,
16034,
3084,
62,
3672,
62,
3720,
33411,
2347,
834,
70,
62,
43... |
What event did Will Fry win? | SELECT event FROM table_name_72 WHERE winner = "will fry" | [
2061,
1785,
750,
2561,
25305,
1592,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4761,
33411,
8464,
796,
366,
10594,
32959,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1785,
750,
2561,
25305,
1592,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4761,
33411,
8464,
796,
366,
10594,
32959,
1
] |
what is the number of patients whose age is less than 82 and item id is 51379? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "82" AND lab.itemid = "51379" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
9415,
290,
2378,
4686,
318,
642,
1485,
3720,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
9415,
290,
2378,
4686,
318,
642,
1485,
3720,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
617... |
what is the date of the last game on this chart ? | SELECT "date" FROM table_203_344 ORDER BY id DESC LIMIT 1 | [
10919,
318,
262,
3128,
286,
262,
938,
983,
319,
428,
8262,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
33535,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
3128,
286,
262,
938,
983,
319,
428,
8262,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
22416,
62,
33535,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
What is the state where the title is listed as count? | SELECT "State" FROM table_49407 WHERE "Title" = 'count' | [
2061,
318,
262,
1181,
810,
262,
3670,
318,
5610,
355,
954,
30,
46506,
366,
9012,
1,
16034,
3084,
62,
2920,
30120,
33411,
366,
19160,
1,
796,
705,
9127,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1181,
810,
262,
3670,
318,
5610,
355,
954,
30,
46506,
366,
9012,
1,
16034,
3084,
62,
2920,
30120,
33411,
366,
19160,
1,
796,
705,
9127,
6
] |
How many races were for a distance of 2020 m? | SELECT COUNT(group) FROM table_1358608_4 WHERE distance = "2020 m" | [
2437,
867,
9558,
547,
329,
257,
5253,
286,
12131,
285,
30,
46506,
327,
28270,
7,
8094,
8,
16034,
3084,
62,
1485,
3365,
28688,
62,
19,
33411,
5253,
796,
366,
42334,
285,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
9558,
547,
329,
257,
5253,
286,
12131,
285,
30,
46506,
327,
28270,
7,
8094,
8,
16034,
3084,
62,
1485,
3365,
28688,
62,
19,
33411,
5253,
796,
366,
42334,
285,
1
] |
give me the flights from PHOENIX to MILWAUKEE | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHOENIX' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAU... | [
26535,
502,
262,
13956,
422,
9370,
46,
1677,
10426,
284,
31515,
15543,
52,
7336,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
13956,
422,
9370,
46,
1677,
10426,
284,
31515,
15543,
52,
7336,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
... |
What was the peak date of Kelis's song? | SELECT "Peak date" FROM table_79260 WHERE "Main artist" = 'kelis' | [
2061,
373,
262,
9103,
3128,
286,
15150,
271,
338,
3496,
30,
46506,
366,
6435,
461,
3128,
1,
16034,
3084,
62,
3720,
21719,
33411,
366,
13383,
6802,
1,
796,
705,
7750,
271,
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,
373,
262,
9103,
3128,
286,
15150,
271,
338,
3496,
30,
46506,
366,
6435,
461,
3128,
1,
16034,
3084,
62,
3720,
21719,
33411,
366,
13383,
6802,
1,
796,
705,
7750,
271,
6
] |
Bar chart of how many openning year from each openning year, I want to show names in ascending order please. | SELECT Openning_year, COUNT(Openning_year) FROM cinema GROUP BY Openning_year ORDER BY Openning_year | [
10374,
8262,
286,
703,
867,
1280,
768,
614,
422,
1123,
1280,
768,
614,
11,
314,
765,
284,
905,
3891,
287,
41988,
1502,
3387,
13,
46506,
4946,
768,
62,
1941,
11,
327,
28270,
7,
11505,
768,
62,
1941,
8,
16034,
22041,
44441,
11050,
494... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
703,
867,
1280,
768,
614,
422,
1123,
1280,
768,
614,
11,
314,
765,
284,
905,
3891,
287,
41988,
1502,
3387,
13,
46506,
4946,
768,
62,
1941,
11,
327,
28270,
7,
11505,
768,
62,
1941,
8,
16034,
22041,
44441,
11050,
494... |
What is the transfer window for the moving from of S o Paulo? | SELECT "Transfer window" FROM table_12991 WHERE "Moving from" = 'são paulo' | [
2061,
318,
262,
4351,
4324,
329,
262,
3867,
422,
286,
311,
267,
34410,
30,
46506,
366,
43260,
4324,
1,
16034,
3084,
62,
1065,
2079,
16,
33411,
366,
33622,
422,
1,
796,
705,
82,
28749,
279,
2518,
78,
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,
4351,
4324,
329,
262,
3867,
422,
286,
311,
267,
34410,
30,
46506,
366,
43260,
4324,
1,
16034,
3084,
62,
1065,
2079,
16,
33411,
366,
33622,
422,
1,
796,
705,
82,
28749,
279,
2518,
78,
6
] |
how many patients with other phototherapy procedure were hospitalized for more than 4 days? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "4" AND procedures.short_title = "Other phototherapy" | [
4919,
867,
3871,
351,
584,
2825,
18952,
8771,
547,
31736,
329,
517,
621,
604,
1528,
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,
76... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
351,
584,
2825,
18952,
8771,
547,
31736,
329,
517,
621,
604,
1528,
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,
76... |
What is the record when they played New York? | SELECT "Record" FROM table_63674 WHERE "Opponent" = 'new york' | [
2061,
318,
262,
1700,
618,
484,
2826,
968,
1971,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
21,
2623,
4524,
33411,
366,
27524,
3471,
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
] | [
2061,
318,
262,
1700,
618,
484,
2826,
968,
1971,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
21,
2623,
4524,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
6
] |
Who is the player in t8 place with a 75-71=146 score? | SELECT player FROM table_name_68 WHERE place = "t8" AND score = 75 - 71 = 146 | [
8241,
318,
262,
2137,
287,
256,
23,
1295,
351,
257,
5441,
12,
4869,
28,
20964,
4776,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3104,
33411,
1295,
796,
366,
83,
23,
1,
5357,
4776,
796,
5441,
532,
9166,
796,
22986
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
2137,
287,
256,
23,
1295,
351,
257,
5441,
12,
4869,
28,
20964,
4776,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3104,
33411,
1295,
796,
366,
83,
23,
1,
5357,
4776,
796,
5441,
532,
9166,
796,
22986
] |
What award has a year earlier than 2004 and the episode shows ? | SELECT "Award" FROM table_66170 WHERE "Year" < '2004' AND "Episode" = '—' | [
2061,
5764,
468,
257,
614,
2961,
621,
5472,
290,
262,
4471,
2523,
5633,
46506,
366,
32,
904,
1,
16034,
3084,
62,
2791,
17279,
33411,
366,
17688,
1,
1279,
705,
15724,
6,
5357,
366,
23758,
1,
796,
705,
960,
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,
5764,
468,
257,
614,
2961,
621,
5472,
290,
262,
4471,
2523,
5633,
46506,
366,
32,
904,
1,
16034,
3084,
62,
2791,
17279,
33411,
366,
17688,
1,
1279,
705,
15724,
6,
5357,
366,
23758,
1,
796,
705,
960,
6
] |
provide the number of patients whose year of death is less than or equal to 2155 and procedure long title is allogeneic hematopoietic stem cell transpant without purging? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2155.0" AND procedures.long_title = "Allogeneic hematopoietic stem cell transpant without purging" | [
15234,
485,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
18742,
290,
8771,
890,
3670,
318,
477,
20878,
291,
339,
6759,
404,
78,
1155,
291,
10717,
2685,
1007,
79,
415,
1231,
1308,
2667,
30,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
18742,
290,
8771,
890,
3670,
318,
477,
20878,
291,
339,
6759,
404,
78,
1155,
291,
10717,
2685,
1007,
79,
415,
1231,
1308,
2667,
30,
46506,
... |
what is the number of patients whose religion is jehovah's witness and lab test name is ph? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "JEHOVAH'S WITNESS" AND lab.label = "pH" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5737,
318,
11223,
33023,
338,
4973,
290,
2248,
1332,
1438,
318,
872,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
5737,
318,
11223,
33023,
338,
4973,
290,
2248,
1332,
1438,
318,
872,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6... |
Who was the away team at Melbourne's home game? | SELECT away_team FROM table_name_62 WHERE home_team = "melbourne" | [
8241,
373,
262,
1497,
1074,
379,
14819,
338,
1363,
983,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
5237,
33411,
1363,
62,
15097,
796,
366,
17694,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1497,
1074,
379,
14819,
338,
1363,
983,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
5237,
33411,
1363,
62,
15097,
796,
366,
17694,
12544,
1
] |
How many head coaches named Darius Mikaeili? | SELECT COUNT("Head coach") FROM table_29473 WHERE "Team captain" = 'Darius Mikaeili' | [
2437,
867,
1182,
11070,
3706,
47129,
17722,
3609,
2403,
30,
46506,
327,
28270,
7203,
13847,
3985,
4943,
16034,
3084,
62,
1959,
37804,
33411,
366,
15592,
10654,
1,
796,
705,
35,
19897,
17722,
3609,
2403,
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
] | [
2437,
867,
1182,
11070,
3706,
47129,
17722,
3609,
2403,
30,
46506,
327,
28270,
7203,
13847,
3985,
4943,
16034,
3084,
62,
1959,
37804,
33411,
366,
15592,
10654,
1,
796,
705,
35,
19897,
17722,
3609,
2403,
6
] |
What is the series for race 7 | SELECT "Series" FROM table_4197 WHERE "Races" = '7' | [
2061,
318,
262,
2168,
329,
3234,
767,
46506,
366,
27996,
1,
16034,
3084,
62,
19,
24991,
33411,
366,
49,
2114,
1,
796,
705,
22,
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
] | [
2061,
318,
262,
2168,
329,
3234,
767,
46506,
366,
27996,
1,
16034,
3084,
62,
19,
24991,
33411,
366,
49,
2114,
1,
796,
705,
22,
6
] |
What is the date of appointment when the date of vacancy is 15 march 2011? | SELECT "Date of appointment" FROM table_29235 WHERE "Date of vacancy" = '15 March 2011' | [
2061,
318,
262,
3128,
286,
12557,
618,
262,
3128,
286,
39836,
318,
1315,
9960,
2813,
30,
46506,
366,
10430,
286,
12557,
1,
16034,
3084,
62,
1959,
22370,
33411,
366,
10430,
286,
39836,
1,
796,
705,
1314,
2805,
2813,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
12557,
618,
262,
3128,
286,
39836,
318,
1315,
9960,
2813,
30,
46506,
366,
10430,
286,
12557,
1,
16034,
3084,
62,
1959,
22370,
33411,
366,
10430,
286,
39836,
1,
796,
705,
1314,
2805,
2813,
6
] |
Tell me the total quantity of products bought by the customer called 'Rodrick Heaney'. | SELECT SUM(t3.order_quantity) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = "Rodrick Heaney" | [
24446,
502,
262,
2472,
12040,
286,
3186,
5839,
416,
262,
6491,
1444,
705,
27917,
5557,
679,
22297,
4458,
46506,
35683,
7,
83,
18,
13,
2875,
62,
40972,
414,
8,
16034,
4297,
7054,
256,
16,
32357,
1268,
6491,
62,
6361,
7054,
256,
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,
1,
1,
1,
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,
2472,
12040,
286,
3186,
5839,
416,
262,
6491,
1444,
705,
27917,
5557,
679,
22297,
4458,
46506,
35683,
7,
83,
18,
13,
2875,
62,
40972,
414,
8,
16034,
4297,
7054,
256,
16,
32357,
1268,
6491,
62,
6361,
7054,
256,
17,
6... |
what is the total number of interludes on the list ? | SELECT COUNT(*) FROM table_204_906 WHERE "performer" = 'interlude' | [
10919,
318,
262,
2472,
1271,
286,
987,
75,
8401,
319,
262,
1351,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
3312,
33411,
366,
525,
16354,
1,
796,
705,
3849,
38792,
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
] | [
10919,
318,
262,
2472,
1271,
286,
987,
75,
8401,
319,
262,
1351,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
3312,
33411,
366,
525,
16354,
1,
796,
705,
3849,
38792,
6
] |
answers that are possibly link only which were posted by new users. | SELECT p.Id AS "post_link", LEN(p.Body) AS BodyLength, p.ParentId, parentUser.DisplayName AS ParentOwner, p.Body FROM Posts AS p INNER JOIN Users AS u ON u.Id = p.OwnerUserId INNER JOIN Posts AS parentPost ON parentPost.Id = p.ParentId INNER JOIN Users AS parentUser ON parentUser.Id = parentPost.OwnerUserId WHERE p.Pos... | [
504,
86,
364,
326,
389,
5457,
2792,
691,
543,
547,
4481,
416,
649,
2985,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
406,
1677,
7,
79,
13,
25842,
8,
7054,
12290,
24539,
11,
279,
13,
24546,
7390,
11,
2560,
12982,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
504,
86,
364,
326,
389,
5457,
2792,
691,
543,
547,
4481,
416,
649,
2985,
13,
46506,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
406,
1677,
7,
79,
13,
25842,
8,
7054,
12290,
24539,
11,
279,
13,
24546,
7390,
11,
2560,
12982,
13,... |
What were the scores for matches with irving wright hazel hotchkiss wightman? | SELECT "Score" FROM table_24241 WHERE "Opponents" = 'Irving Wright Hazel Hotchkiss Wightman' | [
2061,
547,
262,
8198,
329,
7466,
351,
4173,
1075,
1319,
432,
11595,
417,
3024,
354,
41304,
266,
432,
805,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1731,
28872,
33411,
366,
27524,
3906,
1,
796,
705,
23820,
1075,
12206,
42805,
6964,
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
] | [
2061,
547,
262,
8198,
329,
7466,
351,
4173,
1075,
1319,
432,
11595,
417,
3024,
354,
41304,
266,
432,
805,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
1731,
28872,
33411,
366,
27524,
3906,
1,
796,
705,
23820,
1075,
12206,
42805,
6964,
3... |
Next Winter is Prof. Simon Wojczyszyn teaching 445 ? | SELECT COUNT(*) > 0 FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 445 AND instructor.name LIKE '%Simon Wojczyszyn%' AND offering_instructor.instructor_id = instructor.instructor_id AND offerin... | [
10019,
10633,
318,
4415,
13,
11288,
370,
13210,
26691,
893,
89,
2047,
7743,
48655,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
24878,
33411,
1781,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10019,
10633,
318,
4415,
13,
11288,
370,
13210,
26691,
893,
89,
2047,
7743,
48655,
5633,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21187,
11,
6011,
62,
259,
7249,
273,
11,
24878,
33411,
1781,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.