instruction
stringlengths 0
1.06k
| response
stringlengths 2
3.61k
| input_ids
sequence | attention_mask
sequence | labels
sequence |
---|---|---|---|---|
What is the English title for the film directed by George Miller? | SELECT "English title" FROM table_15531 WHERE "Director" = 'george miller' | [
2061,
318,
262,
3594,
3670,
329,
262,
2646,
7924,
416,
4502,
7920,
30,
46506,
366,
15823,
3670,
1,
16034,
3084,
62,
18742,
3132,
33411,
366,
28702,
1,
796,
705,
469,
3643,
3939,
263,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3594,
3670,
329,
262,
2646,
7924,
416,
4502,
7920,
30,
46506,
366,
15823,
3670,
1,
16034,
3084,
62,
18742,
3132,
33411,
366,
28702,
1,
796,
705,
469,
3643,
3939,
263,
6
] |
When there are more than 12 total medals and less than 5 gold medals, how many bronze medals are there? | SELECT COUNT("Bronze") FROM table_58283 WHERE "Total" > '12' AND "Gold" < '5' | [
2215,
612,
389,
517,
621,
1105,
2472,
28057,
290,
1342,
621,
642,
3869,
28057,
11,
703,
867,
22101,
28057,
389,
612,
30,
46506,
327,
28270,
7203,
18760,
2736,
4943,
16034,
3084,
62,
3365,
30290,
33411,
366,
14957,
1,
1875,
705,
1065,
6,
5357,
366,
13306,
1,
1279,
705,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
612,
389,
517,
621,
1105,
2472,
28057,
290,
1342,
621,
642,
3869,
28057,
11,
703,
867,
22101,
28057,
389,
612,
30,
46506,
327,
28270,
7203,
18760,
2736,
4943,
16034,
3084,
62,
3365,
30290,
33411,
366,
14957,
1,
1875,
705,
1065,
6,
5357,
366,
13306,
1,
1279,
705,
20,
6
] |
what is the total number of teams located in minsk ? | SELECT COUNT("team") FROM table_203_208 WHERE "location" = 'minsk' | [
10919,
318,
262,
2472,
1271,
286,
3466,
5140,
287,
949,
8135,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
21315,
33411,
366,
24886,
1,
796,
705,
76,
35803,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
3466,
5140,
287,
949,
8135,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
22416,
62,
21315,
33411,
366,
24886,
1,
796,
705,
76,
35803,
6
] |
How many casinos are associated with a FY2009 $mil value of exactly $279? | SELECT COUNT("Casinos") FROM table_27686 WHERE "FY09 $millions" = '$279' | [
2437,
867,
39855,
389,
3917,
351,
257,
23639,
10531,
720,
25433,
1988,
286,
3446,
720,
26050,
30,
46506,
327,
28270,
7203,
35155,
11996,
4943,
16034,
3084,
62,
1983,
33808,
33411,
366,
43833,
2931,
720,
17805,
507,
1,
796,
705,
3,
26050,
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
] | [
2437,
867,
39855,
389,
3917,
351,
257,
23639,
10531,
720,
25433,
1988,
286,
3446,
720,
26050,
30,
46506,
327,
28270,
7203,
35155,
11996,
4943,
16034,
3084,
62,
1983,
33808,
33411,
366,
43833,
2931,
720,
17805,
507,
1,
796,
705,
3,
26050,
6
] |
what is the two year survival rate for fracture patella-closed patients who were prescribed with pantoprazole sodium? | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t4.charttime) > 2 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.subject_id, t2.charttime FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'fracture patella-closed') GROUP BY admissions.subject_id HAVING MIN(diagnoses_icd.charttime) = diagnoses_icd.charttime) AS t1 WHERE STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', t1.charttime) > 2 * 365) AS t2 JOIN (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'pantoprazole sodium') AS t3 ON t2.subject_id = t3.subject_id WHERE t2.charttime < t3.startdate) AS t4 JOIN patients ON t4.subject_id = patients.subject_id | [
10919,
318,
262,
734,
614,
9441,
2494,
329,
31846,
279,
7528,
64,
12,
20225,
3871,
508,
547,
14798,
351,
15857,
404,
3247,
2305,
21072,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
3871,
13,
67,
375,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
256,
19,
13,
40926,
2435,
8,
1875,
362,
1635,
21268,
42243,
352,
17852,
5188,
657,
23578,
8,
1635,
1802,
1220,
327,
28270,
7,
28104,
16034,
357,
46506,
256,
17,
13,
32796,
62,
312,
11,
256,
17,
13,
40926,
2435,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
734,
614,
9441,
2494,
329,
31846,
279,
7528,
64,
12,
20225,
3871,
508,
547,
14798,
351,
15857,
404,
3247,
2305,
21072,
30,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
42099,
19269,
9792,
12789,
10786,
4,
73,
3256,
3871,
13,
67,
375,
8,
532,
19269,
9792,
12789,
10786,
4,
73,
3256,
256,
19,
13,
40926,
2435,
8,
1875,
362,
1635,
21268,
42243,
352,
17852,
5188,
657,
23578,
8,
1635,
1802,
1220,
327,
28270,
7,
28104,
16034,
357,
46506,
256,
17,
13,
32796,
62,
312,
11,
256,
17,
13,
40926,
2435,
16034
] |
What are the ids for transactions that have an amount greater than the average amount of a transaction? | SELECT transaction_id FROM financial_transactions WHERE transaction_amount > (SELECT AVG(transaction_amount) FROM financial_transactions) | [
2061,
389,
262,
220,
2340,
329,
8945,
326,
423,
281,
2033,
3744,
621,
262,
2811,
2033,
286,
257,
8611,
30,
46506,
8611,
62,
312,
16034,
3176,
62,
7645,
4658,
33411,
8611,
62,
17287,
1875,
357,
46506,
35224,
7,
7645,
2673,
62,
17287,
8,
16034,
3176,
62,
7645,
4658,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
220,
2340,
329,
8945,
326,
423,
281,
2033,
3744,
621,
262,
2811,
2033,
286,
257,
8611,
30,
46506,
8611,
62,
312,
16034,
3176,
62,
7645,
4658,
33411,
8611,
62,
17287,
1875,
357,
46506,
35224,
7,
7645,
2673,
62,
17287,
8,
16034,
3176,
62,
7645,
4658,
8
] |
Who was the stage winner of the letua cycling team on stage 2? | SELECT stage AS winner FROM table_27112708_2 WHERE team_classification = "LeTua Cycling Team" AND stage = 2 | [
8241,
373,
262,
3800,
8464,
286,
262,
1309,
6413,
16259,
1074,
319,
3800,
362,
30,
46506,
3800,
7054,
8464,
16034,
3084,
62,
1983,
14686,
32583,
62,
17,
33411,
1074,
62,
4871,
2649,
796,
366,
3123,
51,
6413,
25550,
4816,
1,
5357,
3800,
796,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
3800,
8464,
286,
262,
1309,
6413,
16259,
1074,
319,
3800,
362,
30,
46506,
3800,
7054,
8464,
16034,
3084,
62,
1983,
14686,
32583,
62,
17,
33411,
1074,
62,
4871,
2649,
796,
366,
3123,
51,
6413,
25550,
4816,
1,
5357,
3800,
796,
362
] |
What is the result of the match in round 1r against tunisia and on a hard surface? | SELECT "Result" FROM table_60098 WHERE "Round" = '1r' AND "Surface" = 'hard' AND "Against" = 'tunisia' | [
2061,
318,
262,
1255,
286,
262,
2872,
287,
2835,
352,
81,
1028,
6278,
271,
544,
290,
319,
257,
1327,
4417,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
8054,
4089,
33411,
366,
22685,
1,
796,
705,
16,
81,
6,
5357,
366,
14214,
2550,
1,
796,
705,
10424,
6,
5357,
366,
39276,
1,
796,
705,
28286,
271,
544,
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
] | [
2061,
318,
262,
1255,
286,
262,
2872,
287,
2835,
352,
81,
1028,
6278,
271,
544,
290,
319,
257,
1327,
4417,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
8054,
4089,
33411,
366,
22685,
1,
796,
705,
16,
81,
6,
5357,
366,
14214,
2550,
1,
796,
705,
10424,
6,
5357,
366,
39276,
1,
796,
705,
28286,
271,
544,
6
] |
until 1 year ago, what was the three most frequent procedure for patients 60 or above? | SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age >= 60) AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-1 year') GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 3 | [
28446,
352,
614,
2084,
11,
644,
373,
262,
1115,
749,
10792,
8771,
329,
3871,
3126,
393,
2029,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
496,
18189,
3126,
8,
5357,
360,
1404,
2767,
12789,
7,
42487,
13,
42487,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
28446,
352,
614,
2084,
11,
644,
373,
262,
1115,
749,
10792,
8771,
329,
3871,
3126,
393,
2029,
30,
46506,
256,
16,
13,
42487,
3672,
16034,
357,
46506,
3513,
13,
42487,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
496,
18189,
3126,
8,
5357,
360,
1404,
2767,
12789,
7,
42487,
13,
42487,
2435,
8,
19841,
360,
1404,
2767,
12789,
7,
34,
39237,
62
] |
What is Score, when Attendance is 2,444? | SELECT score FROM table_name_33 WHERE attendance = "2,444" | [
2061,
318,
15178,
11,
618,
46502,
590,
318,
362,
11,
30272,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2091,
33411,
14858,
796,
366,
17,
11,
30272,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
15178,
11,
618,
46502,
590,
318,
362,
11,
30272,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2091,
33411,
14858,
796,
366,
17,
11,
30272,
1
] |
had patient 035-166 been given any p.o. medication on 04/14/last year? | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-166')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput.celllabel = 'p.o.' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m-%d', intakeoutput.intakeoutputtime) = '04-14' | [
18108,
5827,
657,
2327,
12,
23055,
587,
1813,
597,
279,
13,
78,
13,
14103,
319,
8702,
14,
1415,
14,
12957,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44215,
12,
23055,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
600,
539,
4,
6,
5357,
10337
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
18108,
5827,
657,
2327,
12,
23055,
587,
1813,
597,
279,
13,
78,
13,
14103,
319,
8702,
14,
1415,
14,
12957,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44215,
12,
23055,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4,
600,
539,
4,
6,
5357,
10337
] |
Which player had a total of 295? | SELECT "Player" FROM table_60883 WHERE "Total" = '295' | [
13828,
2137,
550,
257,
2472,
286,
34772,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
1899,
49287,
33411,
366,
14957,
1,
796,
705,
25710,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2137,
550,
257,
2472,
286,
34772,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
1899,
49287,
33411,
366,
14957,
1,
796,
705,
25710,
6
] |
Calculate the minimum age of Asian patients who remained admitted in the hospital for 26 days. | SELECT MIN(demographic.age) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.days_stay = "26" | [
9771,
3129,
378,
262,
5288,
2479,
286,
7740,
3871,
508,
6150,
6848,
287,
262,
4436,
329,
2608,
1528,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
16868,
1,
5357,
16728,
13,
12545,
62,
31712,
796,
366,
2075,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9771,
3129,
378,
262,
5288,
2479,
286,
7740,
3871,
508,
6150,
6848,
287,
262,
4436,
329,
2608,
1528,
13,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
1921,
16868,
1,
5357,
16728,
13,
12545,
62,
31712,
796,
366,
2075,
1
] |
Guess NAA flags on SU by comments. | SELECT 'http://superuser.com/questions/' + CAST(c.PostId AS TEXT) FROM Comments AS c INNER JOIN Posts AS p ON (p.Id = c.PostId) WHERE c.Text LIKE '%This does not provide an answer to the question.%' AND c.Score >= 0 AND p.Score <= 0 AND NOT EXISTS(SELECT * FROM PostHistory AS h WHERE PostHistoryTypeId IN (12, 13) AND h.PostId = c.PostId) | [
8205,
408,
399,
3838,
9701,
319,
13558,
416,
3651,
13,
46506,
705,
4023,
1378,
16668,
7220,
13,
785,
14,
6138,
507,
14,
6,
1343,
327,
11262,
7,
66,
13,
6307,
7390,
7054,
40383,
8,
16034,
19502,
7054,
269,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
357,
79,
13,
7390,
796,
269,
13,
6307,
7390,
8,
33411,
269,
13,
8206,
34178,
705,
4,
1212,
857,
407,
2148,
281,
3280,
284,
262,
1808,
13,
4,
6,
5357,
269,
13,
26595,
18189,
657,
5357,
279,
13,
26595,
19841,
657,
5357,
5626,
7788,
1797,
4694,
7,
46506,
1635,
16034,
2947,
18122,
7054,
289
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8205,
408,
399,
3838,
9701,
319,
13558,
416,
3651,
13,
46506,
705,
4023,
1378,
16668,
7220,
13,
785,
14,
6138,
507,
14,
6,
1343,
327,
11262,
7,
66,
13,
6307,
7390,
7054,
40383,
8,
16034,
19502,
7054,
269,
3268,
21479,
32357,
1268,
12043,
7054,
279,
6177,
357,
79,
13,
7390,
796,
269,
13,
6307,
7390,
8,
33411,
269,
13,
8206,
34178,
705,
4,
1212,
857,
407,
2148,
281,
3280,
284,
262,
1808,
13,
4,
6,
5357,
269,
13,
26595,
18189,
657,
5357,
279,
13,
26595,
19841,
657,
5357,
5626,
7788,
1797,
4694,
7,
46506,
1635,
16034,
2947,
18122,
7054,
289
] |
Find the number of followers for each user. | SELECT COUNT(*) FROM follows GROUP BY f1 | [
16742,
262,
1271,
286,
10569,
329,
1123,
2836,
13,
46506,
327,
28270,
7,
28104,
16034,
5679,
44441,
11050,
277,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1271,
286,
10569,
329,
1123,
2836,
13,
46506,
327,
28270,
7,
28104,
16034,
5679,
44441,
11050,
277,
16
] |
Which result has a Score of 30-44? | SELECT "Result" FROM table_55549 WHERE "Score" = '30-44' | [
13828,
1255,
468,
257,
15178,
286,
1542,
12,
2598,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
31046,
2920,
33411,
366,
26595,
1,
796,
705,
1270,
12,
2598,
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
] | [
13828,
1255,
468,
257,
15178,
286,
1542,
12,
2598,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
31046,
2920,
33411,
366,
26595,
1,
796,
705,
1270,
12,
2598,
6
] |
Which Party has a Member of david jull? | SELECT party FROM table_name_75 WHERE member = "david jull" | [
13828,
3615,
468,
257,
10239,
286,
21970,
474,
724,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
2425,
33411,
2888,
796,
366,
67,
8490,
474,
724,
1
] | [
1,
1,
1,
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,
3615,
468,
257,
10239,
286,
21970,
474,
724,
30,
46506,
2151,
16034,
3084,
62,
3672,
62,
2425,
33411,
2888,
796,
366,
67,
8490,
474,
724,
1
] |
Show the locations shared by shops with open year later than 2012 and shops with open year before 2008. | SELECT LOCATION FROM shop WHERE Open_Year > 2012 INTERSECT SELECT LOCATION FROM shop WHERE Open_Year < 2008 | [
15307,
262,
7064,
4888,
416,
12437,
351,
1280,
614,
1568,
621,
2321,
290,
12437,
351,
1280,
614,
878,
3648,
13,
46506,
37347,
6234,
16034,
6128,
33411,
4946,
62,
17688,
1875,
2321,
17828,
4877,
9782,
33493,
37347,
6234,
16034,
6128,
33411,
4946,
62,
17688,
1279,
3648
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
7064,
4888,
416,
12437,
351,
1280,
614,
1568,
621,
2321,
290,
12437,
351,
1280,
614,
878,
3648,
13,
46506,
37347,
6234,
16034,
6128,
33411,
4946,
62,
17688,
1875,
2321,
17828,
4877,
9782,
33493,
37347,
6234,
16034,
6128,
33411,
4946,
62,
17688,
1279,
3648
] |
In what country was the car with the z 171cc engine? | SELECT "Country" FROM table_42313 WHERE "Engine Make/Capacity" = 'čz 171cc' | [
818,
644,
1499,
373,
262,
1097,
351,
262,
1976,
28369,
535,
3113,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
43356,
1485,
33411,
366,
13798,
6889,
14,
15610,
4355,
1,
796,
705,
46195,
89,
28369,
535,
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
] | [
818,
644,
1499,
373,
262,
1097,
351,
262,
1976,
28369,
535,
3113,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
43356,
1485,
33411,
366,
13798,
6889,
14,
15610,
4355,
1,
796,
705,
46195,
89,
28369,
535,
6
] |
What is the highest round in which a player was picked for the Center position? | SELECT MAX(round) FROM table_name_24 WHERE position = "center" | [
2061,
318,
262,
4511,
2835,
287,
543,
257,
2137,
373,
6497,
329,
262,
3337,
2292,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
2292,
796,
366,
16159,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
287,
543,
257,
2137,
373,
6497,
329,
262,
3337,
2292,
30,
46506,
25882,
7,
744,
8,
16034,
3084,
62,
3672,
62,
1731,
33411,
2292,
796,
366,
16159,
1
] |
Find the name and account balance of the customer whose name includes the letter a . Show a pie chart. | SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' | [
16742,
262,
1438,
290,
1848,
5236,
286,
262,
6491,
3025,
1438,
3407,
262,
3850,
257,
764,
5438,
257,
2508,
8262,
13,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,
62,
3672,
34178,
705,
4,
64,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
290,
1848,
5236,
286,
262,
6491,
3025,
1438,
3407,
262,
3850,
257,
764,
5438,
257,
2508,
8262,
13,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,
62,
3672,
34178,
705,
4,
64,
4,
6
] |
What is indiana college's average pick? | SELECT AVG(pick) FROM table_name_51 WHERE college = "indiana" | [
2061,
318,
773,
7484,
4152,
338,
2811,
2298,
30,
46506,
35224,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
4152,
796,
366,
521,
7484,
1
] | [
1,
1,
1,
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,
773,
7484,
4152,
338,
2811,
2298,
30,
46506,
35224,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
4152,
796,
366,
521,
7484,
1
] |
What is the P max (bar) of the pistol with a P1 diameter of 12.09 mm? | SELECT "P max ( bar )" FROM table_29167 WHERE "P1 diameter (mm)" = '12.09' | [
2061,
318,
262,
350,
3509,
357,
5657,
8,
286,
262,
16790,
351,
257,
350,
16,
14753,
286,
1105,
13,
2931,
8085,
30,
46506,
366,
47,
3509,
357,
2318,
1267,
1,
16034,
3084,
62,
1959,
21940,
33411,
366,
47,
16,
14753,
357,
3020,
16725,
796,
705,
1065,
13,
2931,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
350,
3509,
357,
5657,
8,
286,
262,
16790,
351,
257,
350,
16,
14753,
286,
1105,
13,
2931,
8085,
30,
46506,
366,
47,
3509,
357,
2318,
1267,
1,
16034,
3084,
62,
1959,
21940,
33411,
366,
47,
16,
14753,
357,
3020,
16725,
796,
705,
1065,
13,
2931,
6
] |
Developers who are interested in JavaScript. | SELECT DisplayName, Reputation FROM Users ORDER BY Reputation DESC | [
19246,
364,
508,
389,
4609,
287,
11933,
13,
46506,
16531,
5376,
11,
1432,
7094,
16034,
18987,
38678,
11050,
1432,
7094,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19246,
364,
508,
389,
4609,
287,
11933,
13,
46506,
16531,
5376,
11,
1432,
7094,
16034,
18987,
38678,
11050,
1432,
7094,
22196,
34
] |
Which region (year) has Abigail at number 7, Sophia at number 1 and Aaliyah at number 5? | SELECT "Region (year)" FROM table_48021 WHERE "No. 7" = 'abigail' AND "No. 1" = 'sophia' AND "No. 5" = 'aaliyah' | [
13828,
3814,
357,
1941,
8,
468,
2275,
328,
603,
379,
1271,
767,
11,
39953,
379,
1271,
352,
290,
317,
7344,
46848,
379,
1271,
642,
30,
46506,
366,
47371,
357,
1941,
16725,
16034,
3084,
62,
22148,
2481,
33411,
366,
2949,
13,
767,
1,
796,
705,
397,
328,
603,
6,
5357,
366,
2949,
13,
352,
1,
796,
705,
82,
2522,
544,
6,
5357,
366,
2949,
13,
642,
1,
796,
705,
64,
7344,
46848,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3814,
357,
1941,
8,
468,
2275,
328,
603,
379,
1271,
767,
11,
39953,
379,
1271,
352,
290,
317,
7344,
46848,
379,
1271,
642,
30,
46506,
366,
47371,
357,
1941,
16725,
16034,
3084,
62,
22148,
2481,
33411,
366,
2949,
13,
767,
1,
796,
705,
397,
328,
603,
6,
5357,
366,
2949,
13,
352,
1,
796,
705,
82,
2522,
544,
6,
5357,
366,
2949,
13,
642,
1,
796,
705,
64,
7344,
46848,
6
] |
Who manufactured the car with the jawa 249cc engine that was made in the years 1956-1963? | SELECT "Manufacturer" FROM table_42316 WHERE "Engine Make/Capacity" = 'jawa 249cc' AND "Year" = '1956-1963' | [
8241,
15943,
262,
1097,
351,
262,
474,
6909,
34620,
535,
3113,
326,
373,
925,
287,
262,
812,
25190,
12,
45192,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
43356,
1433,
33411,
366,
13798,
6889,
14,
15610,
4355,
1,
796,
705,
73,
6909,
34620,
535,
6,
5357,
366,
17688,
1,
796,
705,
1129,
3980,
12,
45192,
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
] | [
8241,
15943,
262,
1097,
351,
262,
474,
6909,
34620,
535,
3113,
326,
373,
925,
287,
262,
812,
25190,
12,
45192,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
43356,
1433,
33411,
366,
13798,
6889,
14,
15610,
4355,
1,
796,
705,
73,
6909,
34620,
535,
6,
5357,
366,
17688,
1,
796,
705,
1129,
3980,
12,
45192,
6
] |
Which team had more than 10 wins with a champion of Mat Mladin? | SELECT "Team" FROM table_8697 WHERE "Wins" > '10' AND "Champion" = 'mat mladin' | [
13828,
1074,
550,
517,
621,
838,
7864,
351,
257,
8783,
286,
6550,
337,
9435,
259,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
23,
40035,
33411,
366,
54,
1040,
1,
1875,
705,
940,
6,
5357,
366,
1925,
6734,
1,
796,
705,
6759,
285,
9435,
259,
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
] | [
13828,
1074,
550,
517,
621,
838,
7864,
351,
257,
8783,
286,
6550,
337,
9435,
259,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
23,
40035,
33411,
366,
54,
1040,
1,
1875,
705,
940,
6,
5357,
366,
1925,
6734,
1,
796,
705,
6759,
285,
9435,
259,
6
] |
Which Attendance has an Opponent of carolina panthers? | SELECT attendance FROM table_name_27 WHERE opponent = "carolina panthers" | [
13828,
46502,
590,
468,
281,
9385,
3471,
286,
1097,
47196,
15857,
7084,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
1983,
33411,
6125,
796,
366,
7718,
47196,
15857,
7084,
1
] | [
1,
1,
1,
1,
1,
1,
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,
46502,
590,
468,
281,
9385,
3471,
286,
1097,
47196,
15857,
7084,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
1983,
33411,
6125,
796,
366,
7718,
47196,
15857,
7084,
1
] |
what is the react when the country is sweden and the lane is higher than 6? | SELECT SUM("React") FROM table_44191 WHERE "Country" = 'sweden' AND "Lane" > '6' | [
10919,
318,
262,
6324,
618,
262,
1499,
318,
1509,
31829,
290,
262,
11193,
318,
2440,
621,
718,
30,
46506,
35683,
7203,
3041,
529,
4943,
16034,
3084,
62,
2598,
26492,
33411,
366,
33921,
1,
796,
705,
2032,
31829,
6,
5357,
366,
43,
1531,
1,
1875,
705,
21,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
6324,
618,
262,
1499,
318,
1509,
31829,
290,
262,
11193,
318,
2440,
621,
718,
30,
46506,
35683,
7203,
3041,
529,
4943,
16034,
3084,
62,
2598,
26492,
33411,
366,
33921,
1,
796,
705,
2032,
31829,
6,
5357,
366,
43,
1531,
1,
1875,
705,
21,
6
] |
Show the smallest enrollment of each state, and could you rank in ascending by the total number? | SELECT state, MIN(enr) FROM College GROUP BY state ORDER BY MIN(enr) | [
15307,
262,
18197,
20753,
286,
1123,
1181,
11,
290,
714,
345,
4279,
287,
41988,
416,
262,
2472,
1271,
30,
46506,
1181,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181,
38678,
11050,
20625,
7,
268,
81,
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
] | [
15307,
262,
18197,
20753,
286,
1123,
1181,
11,
290,
714,
345,
4279,
287,
41988,
416,
262,
2472,
1271,
30,
46506,
1181,
11,
20625,
7,
268,
81,
8,
16034,
5535,
44441,
11050,
1181,
38678,
11050,
20625,
7,
268,
81,
8
] |
how many papers does dan klein have in emnlp ? | SELECT DISTINCT COUNT(paper.paperid) FROM author, paper, venue, writes WHERE author.authorname = 'dan klein' AND venue.venueid = paper.venueid AND venue.venuename = 'emnlp' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
4919,
867,
9473,
857,
46078,
479,
33663,
423,
287,
795,
21283,
79,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1772,
11,
3348,
11,
14359,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
25604,
479,
33663,
6,
5357,
14359,
13,
4080,
312,
796,
3348,
13,
4080,
312,
5357,
14359,
13,
574,
84,
12453,
796,
705,
368,
21283,
79,
6,
5357,
6797,
13,
9800,
312,
796,
1772,
13,
9800,
312,
5357,
6797,
13,
20189,
312,
796,
3348,
13,
20189,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
9473,
857,
46078,
479,
33663,
423,
287,
795,
21283,
79,
5633,
46506,
360,
8808,
1268,
4177,
327,
28270,
7,
20189,
13,
20189,
312,
8,
16034,
1772,
11,
3348,
11,
14359,
11,
6797,
33411,
1772,
13,
18439,
1211,
480,
796,
705,
25604,
479,
33663,
6,
5357,
14359,
13,
4080,
312,
796,
3348,
13,
4080,
312,
5357,
14359,
13,
574,
84,
12453,
796,
705,
368,
21283,
79,
6,
5357,
6797,
13,
9800,
312,
796,
1772,
13,
9800,
312,
5357,
6797,
13,
20189,
312,
796,
3348,
13,
20189,
312
] |
count the number of patients whose marital status is single and lab test name is tacrofk. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "SINGLE" AND lab.label = "tacroFK" | [
9127,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
2060,
290,
2248,
1332,
1438,
318,
26142,
305,
69,
74,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
50,
2751,
2538,
1,
5357,
2248,
13,
18242,
796,
366,
83,
330,
305,
26236,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29555,
3722,
318,
2060,
290,
2248,
1332,
1438,
318,
26142,
305,
69,
74,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
50,
2751,
2538,
1,
5357,
2248,
13,
18242,
796,
366,
83,
330,
305,
26236,
1
] |
How many points did robert stenberg have? | SELECT MIN(points) FROM table_25647137_2 WHERE player = "Robert Stenberg" | [
2437,
867,
2173,
750,
686,
4835,
336,
23140,
423,
30,
46506,
20625,
7,
13033,
8,
16034,
3084,
62,
1495,
33981,
19708,
62,
17,
33411,
2137,
796,
366,
19156,
520,
23140,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2173,
750,
686,
4835,
336,
23140,
423,
30,
46506,
20625,
7,
13033,
8,
16034,
3084,
62,
1495,
33981,
19708,
62,
17,
33411,
2137,
796,
366,
19156,
520,
23140,
1
] |
Name the D 45 O that has D 46 O of d 26 | SELECT d_45_o FROM table_name_30 WHERE d_46_o = "d 26" | [
5376,
262,
360,
4153,
440,
326,
468,
360,
6337,
440,
286,
288,
2608,
46506,
288,
62,
2231,
62,
78,
16034,
3084,
62,
3672,
62,
1270,
33411,
288,
62,
3510,
62,
78,
796,
366,
67,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
360,
4153,
440,
326,
468,
360,
6337,
440,
286,
288,
2608,
46506,
288,
62,
2231,
62,
78,
16034,
3084,
62,
3672,
62,
1270,
33411,
288,
62,
3510,
62,
78,
796,
366,
67,
2608,
1
] |
Name the average ERP W and call sign of w237br | SELECT AVG(erp_w) FROM table_name_36 WHERE call_sign = "w237br" | [
5376,
262,
2811,
13793,
47,
370,
290,
869,
1051,
286,
266,
24693,
1671,
46506,
35224,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
869,
62,
12683,
796,
366,
86,
24693,
1671,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
13793,
47,
370,
290,
869,
1051,
286,
266,
24693,
1671,
46506,
35224,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
2623,
33411,
869,
62,
12683,
796,
366,
86,
24693,
1671,
1
] |
What is the low score for TO par +2 in japan? | SELECT MIN("Score") FROM table_76936 WHERE "To par" = '+2' AND "Country" = 'japan' | [
2061,
318,
262,
1877,
4776,
329,
5390,
1582,
1343,
17,
287,
474,
2674,
30,
46506,
20625,
7203,
26595,
4943,
16034,
3084,
62,
22,
3388,
2623,
33411,
366,
2514,
1582,
1,
796,
705,
10,
17,
6,
5357,
366,
33921,
1,
796,
705,
73,
2674,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1877,
4776,
329,
5390,
1582,
1343,
17,
287,
474,
2674,
30,
46506,
20625,
7203,
26595,
4943,
16034,
3084,
62,
22,
3388,
2623,
33411,
366,
2514,
1582,
1,
796,
705,
10,
17,
6,
5357,
366,
33921,
1,
796,
705,
73,
2674,
6
] |
Name the number of leaders for % of popular vote being 11.05% | SELECT COUNT(leader) FROM table_19283982_4 WHERE _percentage_of_popular_vote = "11.05%" | [
5376,
262,
1271,
286,
2766,
329,
4064,
286,
2968,
3015,
852,
1367,
13,
2713,
4,
46506,
327,
28270,
7,
27940,
8,
16034,
3084,
62,
1129,
2078,
2670,
6469,
62,
19,
33411,
4808,
25067,
496,
62,
1659,
62,
47568,
62,
27257,
796,
366,
1157,
13,
2713,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1271,
286,
2766,
329,
4064,
286,
2968,
3015,
852,
1367,
13,
2713,
4,
46506,
327,
28270,
7,
27940,
8,
16034,
3084,
62,
1129,
2078,
2670,
6469,
62,
19,
33411,
4808,
25067,
496,
62,
1659,
62,
47568,
62,
27257,
796,
366,
1157,
13,
2713,
39658
] |
Next Winter , which ULCS classes are offered ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id WHERE program_course.category LIKE '%ULCS%' AND semester.semester = 'Winter' AND semester.year = 2017 | [
10019,
10633,
837,
543,
471,
29814,
6097,
389,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
3268,
21479,
32357,
1268,
24878,
6177,
24878,
13,
325,
6880,
353,
62,
312,
796,
1781,
62,
2364,
1586,
13,
325,
6880,
353,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
33411,
1430
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
837,
543,
471,
29814,
6097,
389,
4438,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
3268,
21479,
32357,
1268,
24878,
6177,
24878,
13,
325,
6880,
353,
62,
312,
796,
1781,
62,
2364,
1586,
13,
325,
6880,
353,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
33411,
1430
] |
Show the number of customer address history for each city in a bar chart, and show by the x axis from high to low. | SELECT T3.city, COUNT(T3.city) FROM Customer_Address_History AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id JOIN Addresses AS T3 ON T1.address_id = T3.address_id GROUP BY T3.city ORDER BY T3.city DESC | [
15307,
262,
1271,
286,
6491,
2209,
2106,
329,
1123,
1748,
287,
257,
2318,
8262,
11,
290,
905,
416,
262,
2124,
16488,
422,
1029,
284,
1877,
13,
46506,
309,
18,
13,
19205,
11,
327,
28270,
7,
51,
18,
13,
19205,
8,
16034,
22092,
62,
20231,
62,
18122,
7054,
309,
16,
32357,
1268,
36707,
7054,
309,
17,
6177,
309,
16,
13,
23144,
263,
62,
312,
796,
309,
17,
13,
23144,
263,
62,
312,
32357,
1268,
3060,
16746,
7054,
309,
18,
6177,
309,
16,
13,
21975,
62,
312,
796,
309,
18,
13,
21975,
62,
312,
44441,
11050,
309,
18,
13,
19205,
38678,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
1271,
286,
6491,
2209,
2106,
329,
1123,
1748,
287,
257,
2318,
8262,
11,
290,
905,
416,
262,
2124,
16488,
422,
1029,
284,
1877,
13,
46506,
309,
18,
13,
19205,
11,
327,
28270,
7,
51,
18,
13,
19205,
8,
16034,
22092,
62,
20231,
62,
18122,
7054,
309,
16,
32357,
1268,
36707,
7054,
309,
17,
6177,
309,
16,
13,
23144,
263,
62,
312,
796,
309,
17,
13,
23144,
263,
62,
312,
32357,
1268,
3060,
16746,
7054,
309,
18,
6177,
309,
16,
13,
21975,
62,
312,
796,
309,
18,
13,
21975,
62,
312,
44441,
11050,
309,
18,
13,
19205,
38678,
11050
] |
What is the Country, when Place is 'T4', and when Player is 'Scott Simpson'? | SELECT "Country" FROM table_48770 WHERE "Place" = 't4' AND "Player" = 'scott simpson' | [
2061,
318,
262,
12946,
11,
618,
8474,
318,
705,
51,
19,
3256,
290,
618,
7853,
318,
705,
19040,
20531,
30960,
46506,
366,
33921,
1,
16034,
3084,
62,
35133,
2154,
33411,
366,
27271,
1,
796,
705,
83,
19,
6,
5357,
366,
14140,
1,
796,
705,
1416,
1252,
985,
8430,
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
] | [
2061,
318,
262,
12946,
11,
618,
8474,
318,
705,
51,
19,
3256,
290,
618,
7853,
318,
705,
19040,
20531,
30960,
46506,
366,
33921,
1,
16034,
3084,
62,
35133,
2154,
33411,
366,
27271,
1,
796,
705,
83,
19,
6,
5357,
366,
14140,
1,
796,
705,
1416,
1252,
985,
8430,
6
] |
For those records from the products and each product's manufacturer, visualize a scatter chart about the correlation between code and revenue . | SELECT T1.Code, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
6426,
764,
46506,
309,
16,
13,
10669,
11,
309,
17,
13,
3041,
4080,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38350,
257,
41058,
8262,
546,
262,
16096,
1022,
2438,
290,
6426,
764,
46506,
309,
16,
13,
10669,
11,
309,
17,
13,
3041,
4080,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
6177,
309,
16,
13,
44445,
15051,
796,
309,
17,
13,
10669
] |
what is the number of patients whose primary disease is newborn and year of death is less than or equal to 2122? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "NEWBORN" AND demographic.dod_year <= "2122.0" | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
23856,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
18376,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
13965,
33,
30649,
1,
5357,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
18376,
13,
15,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
23856,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
18376,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
13965,
33,
30649,
1,
5357,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
18376,
13,
15,
1
] |
Name the date for the italian grand prix | SELECT date FROM table_name_67 WHERE race = "italian grand prix" | [
5376,
262,
3128,
329,
262,
340,
7199,
4490,
1293,
87,
46506,
3128,
16034,
3084,
62,
3672,
62,
3134,
33411,
3234,
796,
366,
1287,
666,
4490,
1293,
87,
1
] | [
1,
1,
1,
1,
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,
329,
262,
340,
7199,
4490,
1293,
87,
46506,
3128,
16034,
3084,
62,
3672,
62,
3134,
33411,
3234,
796,
366,
1287,
666,
4490,
1293,
87,
1
] |
For events that have more than one participant, count the event details for a bar chart, and I want to show in desc by the Event_Details please. | SELECT Event_Details, COUNT(Event_Details) FROM Events AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY Event_Details ORDER BY Event_Details DESC | [
1890,
2995,
326,
423,
517,
621,
530,
18399,
11,
954,
262,
1785,
3307,
329,
257,
2318,
8262,
11,
290,
314,
765,
284,
905,
287,
1715,
416,
262,
8558,
62,
24259,
3387,
13,
46506,
8558,
62,
24259,
11,
327,
28270,
7,
9237,
62,
24259,
8,
16034,
18715,
7054,
309,
16,
32357,
1268,
26122,
62,
259,
62,
37103,
7054,
309,
17,
6177,
309,
16,
13,
9237,
62,
2389,
796,
309,
17,
13,
9237,
62,
2389,
44441,
11050,
8558,
62,
24259,
38678,
11050,
8558,
62,
24259,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
2995,
326,
423,
517,
621,
530,
18399,
11,
954,
262,
1785,
3307,
329,
257,
2318,
8262,
11,
290,
314,
765,
284,
905,
287,
1715,
416,
262,
8558,
62,
24259,
3387,
13,
46506,
8558,
62,
24259,
11,
327,
28270,
7,
9237,
62,
24259,
8,
16034,
18715,
7054,
309,
16,
32357,
1268,
26122,
62,
259,
62,
37103,
7054,
309,
17,
6177,
309,
16,
13,
9237,
62,
2389,
796,
309,
17,
13,
9237,
62,
2389,
44441,
11050,
8558,
62,
24259,
38678,
11050,
8558,
62,
24259,
22196,
34
] |
Retrieve the average age of members of the club 'Tennis Club'. | SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club" | [
9781,
30227,
262,
2811,
2479,
286,
1866,
286,
262,
3430,
705,
51,
10679,
6289,
4458,
46506,
35224,
7,
83,
18,
13,
496,
8,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
256,
17,
6177,
256,
16,
13,
18664,
312,
796,
256,
17,
13,
18664,
312,
32357,
1268,
3710,
7054,
256,
18,
6177,
256,
17,
13,
301,
27112,
796,
256,
18,
13,
301,
27112,
33411,
256,
16,
13,
18664,
3672,
796,
366,
51,
10679,
6289,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9781,
30227,
262,
2811,
2479,
286,
1866,
286,
262,
3430,
705,
51,
10679,
6289,
4458,
46506,
35224,
7,
83,
18,
13,
496,
8,
16034,
3430,
7054,
256,
16,
32357,
1268,
2888,
62,
1659,
62,
18664,
7054,
256,
17,
6177,
256,
16,
13,
18664,
312,
796,
256,
17,
13,
18664,
312,
32357,
1268,
3710,
7054,
256,
18,
6177,
256,
17,
13,
301,
27112,
796,
256,
18,
13,
301,
27112,
33411,
256,
16,
13,
18664,
3672,
796,
366,
51,
10679,
6289,
1
] |
What is the average Played when the against is 51, and the drawn is more than 1? | SELECT AVG("Played") FROM table_7229 WHERE "Against" = '51' AND "Drawn" > '1' | [
2061,
318,
262,
2811,
33101,
618,
262,
1028,
318,
6885,
11,
290,
262,
7428,
318,
517,
621,
352,
30,
46506,
35224,
7203,
11002,
276,
4943,
16034,
3084,
62,
22,
23539,
33411,
366,
39276,
1,
796,
705,
4349,
6,
5357,
366,
35,
5791,
1,
1875,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
33101,
618,
262,
1028,
318,
6885,
11,
290,
262,
7428,
318,
517,
621,
352,
30,
46506,
35224,
7203,
11002,
276,
4943,
16034,
3084,
62,
22,
23539,
33411,
366,
39276,
1,
796,
705,
4349,
6,
5357,
366,
35,
5791,
1,
1875,
705,
16,
6
] |
Which Other classes are offered during the Winter semester ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id WHERE program_course.category LIKE '%Other%' AND semester.semester = 'Winter' AND semester.year = 2017 | [
13828,
3819,
6097,
389,
4438,
1141,
262,
10633,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
3268,
21479,
32357,
1268,
24878,
6177,
24878,
13,
325,
6880,
353,
62,
312,
796,
1781,
62,
2364,
1586,
13,
325,
6880,
353,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
33411,
1430
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3819,
6097,
389,
4438,
1141,
262,
10633,
24878,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
3268,
21479,
32357,
1268,
24878,
6177,
24878,
13,
325,
6880,
353,
62,
312,
796,
1781,
62,
2364,
1586,
13,
325,
6880,
353,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
17319,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
33411,
1430
] |
Which Away team has Carlton for it's Home team? | SELECT "Away team" FROM table_33022 WHERE "Home team" = 'carlton' | [
13828,
21986,
1074,
468,
44348,
329,
340,
338,
5995,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
26073,
1828,
33411,
366,
16060,
1074,
1,
796,
705,
66,
7063,
1122,
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,
21986,
1074,
468,
44348,
329,
340,
338,
5995,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
26073,
1828,
33411,
366,
16060,
1074,
1,
796,
705,
66,
7063,
1122,
6
] |
how many total medals did norway win ? | SELECT "total" FROM table_203_630 WHERE "nation" = 'norway' | [
4919,
867,
2472,
28057,
750,
4249,
1014,
1592,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
30005,
33411,
366,
25729,
1,
796,
705,
13099,
1014,
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
] | [
4919,
867,
2472,
28057,
750,
4249,
1014,
1592,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
30005,
33411,
366,
25729,
1,
796,
705,
13099,
1014,
6
] |
What is the largest Attendance with a Loss of darling (0 1)? | SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (0–1)" | [
2061,
318,
262,
4387,
46502,
590,
351,
257,
22014,
286,
40003,
357,
15,
352,
19427,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
2994,
796,
366,
27455,
1359,
357,
15,
1906,
16,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
46502,
590,
351,
257,
22014,
286,
40003,
357,
15,
352,
19427,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
2994,
796,
366,
27455,
1359,
357,
15,
1906,
16,
16725
] |
how much neo*iv*gentamicin is prescribed the last time the previous month to patient 40435? | SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 40435) AND prescriptions.drug = 'neo*iv*gentamicin' AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') ORDER BY prescriptions.startdate DESC LIMIT 1 | [
4919,
881,
19102,
9,
452,
9,
6783,
18127,
259,
318,
14798,
262,
938,
640,
262,
2180,
1227,
284,
5827,
32320,
2327,
30,
46506,
34092,
13,
34436,
62,
2100,
62,
40914,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
32320,
2327,
8,
5357,
34092,
13,
30349,
796,
705,
710,
78,
9,
452,
9,
6783,
18127,
259,
6,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
881,
19102,
9,
452,
9,
6783,
18127,
259,
318,
14798,
262,
938,
640,
262,
2180,
1227,
284,
5827,
32320,
2327,
30,
46506,
34092,
13,
34436,
62,
2100,
62,
40914,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
32320,
2327,
8,
5357,
34092,
13,
30349,
796,
705,
710,
78,
9,
452,
9,
6783,
18127,
259,
6,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
1227,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237
] |
What is the smallest rank with a Total smaller than 1? | SELECT MIN(rank) FROM table_name_69 WHERE total < 1 | [
2061,
318,
262,
18197,
4279,
351,
257,
7472,
4833,
621,
352,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
2472,
1279,
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
] | [
2061,
318,
262,
18197,
4279,
351,
257,
7472,
4833,
621,
352,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3388,
33411,
2472,
1279,
352
] |
On April 22 when the Los Angeles Kings where visitors what was the record? | SELECT "Record" FROM table_4972 WHERE "Visitor" = 'los angeles kings' AND "Date" = 'april 22' | [
2202,
3035,
2534,
618,
262,
5401,
5652,
10578,
810,
9692,
644,
373,
262,
1700,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2920,
4761,
33411,
366,
15854,
2072,
1,
796,
705,
33280,
18304,
274,
21557,
6,
5357,
366,
10430,
1,
796,
705,
499,
22379,
2534,
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
] | [
2202,
3035,
2534,
618,
262,
5401,
5652,
10578,
810,
9692,
644,
373,
262,
1700,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2920,
4761,
33411,
366,
15854,
2072,
1,
796,
705,
33280,
18304,
274,
21557,
6,
5357,
366,
10430,
1,
796,
705,
499,
22379,
2534,
6
] |
What is the smallest Wins with a Position of 20th, and Poles smaller than 0? | SELECT MIN("Wins") FROM table_58632 WHERE "Position" = '20th' AND "Poles" < '0' | [
2061,
318,
262,
18197,
24423,
351,
257,
23158,
286,
1160,
400,
11,
290,
45631,
4833,
621,
657,
30,
46506,
20625,
7203,
54,
1040,
4943,
16034,
3084,
62,
29796,
2624,
33411,
366,
26545,
1,
796,
705,
1238,
400,
6,
5357,
366,
47,
4316,
1,
1279,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
18197,
24423,
351,
257,
23158,
286,
1160,
400,
11,
290,
45631,
4833,
621,
657,
30,
46506,
20625,
7203,
54,
1040,
4943,
16034,
3084,
62,
29796,
2624,
33411,
366,
26545,
1,
796,
705,
1238,
400,
6,
5357,
366,
47,
4316,
1,
1279,
705,
15,
6
] |
Name the average 2008 for beijing and 2005 more than 2 | SELECT AVG(2008) FROM table_name_21 WHERE year = "beijing" AND 2005 > 2 | [
5376,
262,
2811,
3648,
329,
307,
11030,
290,
5075,
517,
621,
362,
46506,
35224,
7,
11528,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
614,
796,
366,
1350,
11030,
1,
5357,
5075,
1875,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2811,
3648,
329,
307,
11030,
290,
5075,
517,
621,
362,
46506,
35224,
7,
11528,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
614,
796,
366,
1350,
11030,
1,
5357,
5075,
1875,
362
] |
i need a flight from PITTSBURGH to NEW YORK departing after 1700 | 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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'NEW YORK' AND flight.departure_time > 1700 AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
72,
761,
257,
5474,
422,
49040,
4694,
38926,
17511,
284,
12682,
28154,
37717,
706,
35665,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
13965,
28154,
6,
5357,
5474
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
761,
257,
5474,
422,
49040,
4694,
38926,
17511,
284,
12682,
28154,
37717,
706,
35665,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
5474,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993,
62,
16,
13,
19205,
62,
3672,
796,
705,
13965,
28154,
6,
5357,
5474
] |
Are there more 400 / 500 -level RACKHAM classes with less workloads ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload FROM course INNER JOIN program_course WHERE ((course.number < 400 + 100 AND course.number >= 400) OR (course.number < 500 + 100 AND course.number >= 500)) AND course.department = 'RACKHAM' AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM course AS COURSEalias1 INNER JOIN program_course AS PROGRAM_COURSEalias1 WHERE ((COURSEalias1.number < 400 + 100 AND COURSEalias1.number >= 400) OR (COURSEalias1.number < 500 + 100 AND COURSEalias1.number >= 500)) AND COURSEalias1.department = 'RACKHAM') | [
8491,
612,
517,
7337,
1220,
5323,
532,
5715,
371,
8120,
33363,
6097,
351,
1342,
26211,
82,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
33411,
14808,
17319,
13,
17618,
1279,
7337,
1343,
1802,
5357,
1781,
13,
17618,
18189,
7337,
8,
6375,
357,
17319,
13,
17618,
1279,
5323,
1343,
1802,
5357,
1781,
13,
17618,
18189,
5323,
4008,
5357,
1781,
13,
10378,
1823,
796,
705,
49,
8120,
33363,
6,
5357,
1430,
62,
17319,
13,
1818,
2220
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
517,
7337,
1220,
5323,
532,
5715,
371,
8120,
33363,
6097,
351,
1342,
26211,
82,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
33411,
14808,
17319,
13,
17618,
1279,
7337,
1343,
1802,
5357,
1781,
13,
17618,
18189,
7337,
8,
6375,
357,
17319,
13,
17618,
1279,
5323,
1343,
1802,
5357,
1781,
13,
17618,
18189,
5323,
4008,
5357,
1781,
13,
10378,
1823,
796,
705,
49,
8120,
33363,
6,
5357,
1430,
62,
17319,
13,
1818,
2220
] |
what were the three most frequent diagnoses for the patients of 40s since 6 years ago? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 40 AND 49) AND DATETIME(diagnoses_icd.charttime) >= DATETIME(CURRENT_TIME(), '-6 year') GROUP BY diagnoses_icd.icd9_code) AS t1 WHERE t1.c1 <= 3) | [
10919,
547,
262,
1115,
749,
10792,
40567,
329,
262,
3871,
286,
2319,
82,
1201,
718,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
16,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
40567
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1115,
749,
10792,
40567,
329,
262,
3871,
286,
2319,
82,
1201,
718,
812,
2084,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
291,
67,
62,
47356,
4629,
13,
291,
67,
24,
62,
8189,
3268,
357,
46506,
256,
16,
13,
291,
67,
24,
62,
8189,
16034,
357,
46506,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
269,
16,
16034,
40567
] |
i would like to fly from SALT LAKE CITY back to ST. PETERSBURG on wednesday | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ST. PETERSBURG' AND date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SALT LAKE CITY' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code | [
72,
561,
588,
284,
6129,
422,
311,
31429,
9131,
7336,
27993,
736,
284,
3563,
13,
32043,
4877,
38926,
38,
319,
29445,
3462,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
72,
561,
588,
284,
6129,
422,
311,
31429,
9131,
7336,
27993,
736,
284,
3563,
13,
32043,
4877,
38926,
38,
319,
29445,
3462,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
16,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
7054,
27993,
62,
16,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
357,
34,
9050,
62,
16,
13,
19205,
62,
8189,
796,
31600,
15490,
62,
35009,
27389,
62,
16,
13,
19205,
62,
8189,
5357,
27993
] |
What tournament has 1r as a 2004, and 1r as a 2007? | SELECT tournament FROM table_name_77 WHERE 2004 = "1r" AND 2007 = "1r" | [
2061,
7756,
468,
352,
81,
355,
257,
5472,
11,
290,
352,
81,
355,
257,
4343,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
3324,
33411,
5472,
796,
366,
16,
81,
1,
5357,
4343,
796,
366,
16,
81,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7756,
468,
352,
81,
355,
257,
5472,
11,
290,
352,
81,
355,
257,
4343,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
3324,
33411,
5472,
796,
366,
16,
81,
1,
5357,
4343,
796,
366,
16,
81,
1
] |
Which date's visitor was jazz, when the leading scorer was Mehmet Okur (22)? | SELECT date FROM table_name_4 WHERE visitor = "jazz" AND leading_scorer = "mehmet okur (22)" | [
13828,
3128,
338,
21493,
373,
21274,
11,
618,
262,
3756,
30664,
373,
37070,
4164,
6762,
333,
357,
1828,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
19,
33411,
21493,
796,
366,
73,
8101,
1,
5357,
3756,
62,
1416,
11934,
796,
366,
1326,
71,
4164,
12876,
333,
357,
1828,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3128,
338,
21493,
373,
21274,
11,
618,
262,
3756,
30664,
373,
37070,
4164,
6762,
333,
357,
1828,
19427,
46506,
3128,
16034,
3084,
62,
3672,
62,
19,
33411,
21493,
796,
366,
73,
8101,
1,
5357,
3756,
62,
1416,
11934,
796,
366,
1326,
71,
4164,
12876,
333,
357,
1828,
16725
] |
Which Home team has a Score of 1 1, and an Away team of tottenham hotspur? | SELECT "Home team" FROM table_36004 WHERE "Score" = '1–1' AND "Away team" = 'tottenham hotspur' | [
13828,
5995,
1074,
468,
257,
15178,
286,
352,
352,
11,
290,
281,
21986,
1074,
286,
284,
32407,
2763,
33915,
14225,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
2623,
22914,
33411,
366,
26595,
1,
796,
705,
16,
1906,
16,
6,
5357,
366,
32,
1014,
1074,
1,
796,
705,
83,
21889,
33915,
14225,
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
] | [
13828,
5995,
1074,
468,
257,
15178,
286,
352,
352,
11,
290,
281,
21986,
1074,
286,
284,
32407,
2763,
33915,
14225,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
2623,
22914,
33411,
366,
26595,
1,
796,
705,
16,
1906,
16,
6,
5357,
366,
32,
1014,
1074,
1,
796,
705,
83,
21889,
33915,
14225,
6
] |
Which tournament was played on October 1, 2006? | SELECT tournament FROM table_name_7 WHERE date = "october 1, 2006" | [
13828,
7756,
373,
2826,
319,
3267,
352,
11,
4793,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
22,
33411,
3128,
796,
366,
38441,
2023,
352,
11,
4793,
1
] | [
1,
1,
1,
1,
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,
7756,
373,
2826,
319,
3267,
352,
11,
4793,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
22,
33411,
3128,
796,
366,
38441,
2023,
352,
11,
4793,
1
] |
what is the total number of input patient 027-22704 has received until 1091 days ago? | SELECT SUM(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 = '027-22704')) AND intakeoutput.cellpath LIKE '%intake%' AND DATETIME(intakeoutput.intakeoutputtime) <= DATETIME(CURRENT_TIME(), '-1091 day') | [
10919,
318,
262,
2472,
1271,
286,
5128,
5827,
657,
1983,
12,
1828,
32869,
468,
2722,
1566,
838,
6420,
1528,
2084,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44698,
12,
1828,
32869,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5128,
5827,
657,
1983,
12,
1828,
32869,
468,
2722,
1566,
838,
6420,
1528,
2084,
30,
46506,
35683,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057,
31712,
312,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
44698,
12,
1828,
32869,
6,
4008,
5357,
10337,
22915,
13,
3846,
6978,
34178,
705,
4
] |
What was the minimum % funded of the project that was closed on 2012-05-18? | SELECT MIN("% funded") FROM table_29345 WHERE "Closing date" = '2012-05-18' | [
2061,
373,
262,
5288,
4064,
10588,
286,
262,
1628,
326,
373,
4838,
319,
2321,
12,
2713,
12,
1507,
30,
46506,
20625,
7203,
4,
10588,
4943,
16034,
3084,
62,
1959,
27712,
33411,
366,
2601,
2752,
3128,
1,
796,
705,
6999,
12,
2713,
12,
1507,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
5288,
4064,
10588,
286,
262,
1628,
326,
373,
4838,
319,
2321,
12,
2713,
12,
1507,
30,
46506,
20625,
7203,
4,
10588,
4943,
16034,
3084,
62,
1959,
27712,
33411,
366,
2601,
2752,
3128,
1,
796,
705,
6999,
12,
2713,
12,
1507,
6
] |
What is the Name of the private Castle of the 16th century which is occupied? | SELECT name FROM table_name_26 WHERE ownership = "private" AND condition = "occupied" AND date = "16th century" | [
2061,
318,
262,
6530,
286,
262,
2839,
11312,
286,
262,
1467,
400,
4289,
543,
318,
12030,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2075,
33411,
9238,
796,
366,
19734,
1,
5357,
4006,
796,
366,
28756,
1,
5357,
3128,
796,
366,
1433,
400,
4289,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6530,
286,
262,
2839,
11312,
286,
262,
1467,
400,
4289,
543,
318,
12030,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2075,
33411,
9238,
796,
366,
19734,
1,
5357,
4006,
796,
366,
28756,
1,
5357,
3128,
796,
366,
1433,
400,
4289,
1
] |
how does brazil rank in average receipts per visitor in 2009 ? | SELECT "average\nreceipt\nper visitor\n2009\n(usd/turista)" FROM table_203_54 WHERE "selected\nlatin american\ncountries" = 'brazil' | [
4919,
857,
275,
7098,
4279,
287,
2811,
29946,
583,
21493,
287,
3717,
5633,
46506,
366,
23913,
59,
77,
260,
344,
10257,
59,
77,
525,
21493,
59,
77,
10531,
59,
77,
7,
385,
67,
14,
36590,
12523,
16725,
16034,
3084,
62,
22416,
62,
4051,
33411,
366,
34213,
59,
21283,
10680,
45630,
272,
59,
77,
9127,
1678,
1,
796,
705,
65,
7098,
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
] | [
4919,
857,
275,
7098,
4279,
287,
2811,
29946,
583,
21493,
287,
3717,
5633,
46506,
366,
23913,
59,
77,
260,
344,
10257,
59,
77,
525,
21493,
59,
77,
10531,
59,
77,
7,
385,
67,
14,
36590,
12523,
16725,
16034,
3084,
62,
22416,
62,
4051,
33411,
366,
34213,
59,
21283,
10680,
45630,
272,
59,
77,
9127,
1678,
1,
796,
705,
65,
7098,
6
] |
Where is lincoln high school located? | SELECT "Hometown" FROM table_17108 WHERE "School" = 'Lincoln High School' | [
8496,
318,
300,
11690,
1029,
1524,
5140,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
1558,
15711,
33411,
366,
26130,
1,
796,
705,
43,
11690,
3334,
3961,
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
] | [
8496,
318,
300,
11690,
1029,
1524,
5140,
30,
46506,
366,
39,
19191,
1,
16034,
3084,
62,
1558,
15711,
33411,
366,
26130,
1,
796,
705,
43,
11690,
3334,
3961,
6
] |
Which seniors have a year before 2007, Fourths (Under 14's) of kiewa-sandy creek, and a Reserve of mitta united? | SELECT "Seniors" FROM table_77630 WHERE "YEAR" < '2007' AND "Fourths (Under 14's)" = 'kiewa-sandy creek' AND "Reserves" = 'mitta united' | [
13828,
23481,
423,
257,
614,
878,
4343,
11,
6675,
9998,
357,
9203,
1478,
338,
8,
286,
479,
769,
64,
12,
82,
10757,
39459,
11,
290,
257,
12224,
286,
285,
48519,
16503,
30,
46506,
366,
10445,
12706,
1,
16034,
3084,
62,
3324,
30005,
33411,
366,
56,
17133,
1,
1279,
705,
12726,
6,
5357,
366,
15137,
9998,
357,
9203,
1478,
338,
16725,
796,
705,
74,
769,
64,
12,
82,
10757,
39459,
6,
5357,
366,
4965,
11184,
1,
796,
705,
20124,
64,
16503,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
23481,
423,
257,
614,
878,
4343,
11,
6675,
9998,
357,
9203,
1478,
338,
8,
286,
479,
769,
64,
12,
82,
10757,
39459,
11,
290,
257,
12224,
286,
285,
48519,
16503,
30,
46506,
366,
10445,
12706,
1,
16034,
3084,
62,
3324,
30005,
33411,
366,
56,
17133,
1,
1279,
705,
12726,
6,
5357,
366,
15137,
9998,
357,
9203,
1478,
338,
16725,
796,
705,
74,
769,
64,
12,
82,
10757,
39459,
6,
5357,
366,
4965,
11184,
1,
796,
705,
20124,
64,
16503,
6
] |
What is the rank of the match on October 19? | SELECT "Rank #" FROM table_47361 WHERE "Date" = 'october 19' | [
2061,
318,
262,
4279,
286,
262,
2872,
319,
3267,
678,
30,
46506,
366,
27520,
1303,
1,
16034,
3084,
62,
2857,
35195,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
678,
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,
4279,
286,
262,
2872,
319,
3267,
678,
30,
46506,
366,
27520,
1303,
1,
16034,
3084,
62,
2857,
35195,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
678,
6
] |
Which away team has Away team score of 20.12 (132)? | SELECT "Away team" FROM table_10270 WHERE "Away team score" = '20.12 (132)' | [
13828,
1497,
1074,
468,
21986,
1074,
4776,
286,
1160,
13,
1065,
357,
19924,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
940,
20233,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1238,
13,
1065,
357,
19924,
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
] | [
13828,
1497,
1074,
468,
21986,
1074,
4776,
286,
1160,
13,
1065,
357,
19924,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
940,
20233,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
1238,
13,
1065,
357,
19924,
33047
] |
What's the diameter of the 2006 equestrian Reverse? | SELECT "Diameter" FROM table_67205 WHERE "Year" = '2006' AND "Reverse" = 'equestrian' | [
2061,
338,
262,
14753,
286,
262,
4793,
1602,
395,
4484,
31849,
30,
46506,
366,
35,
13173,
1,
16034,
3084,
62,
3134,
21261,
33411,
366,
17688,
1,
796,
705,
13330,
6,
5357,
366,
49,
964,
325,
1,
796,
705,
4853,
395,
4484,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
14753,
286,
262,
4793,
1602,
395,
4484,
31849,
30,
46506,
366,
35,
13173,
1,
16034,
3084,
62,
3134,
21261,
33411,
366,
17688,
1,
796,
705,
13330,
6,
5357,
366,
49,
964,
325,
1,
796,
705,
4853,
395,
4484,
6
] |
What school did the player attend who's hometown was Montvale, NJ? | SELECT school FROM table_11677100_18 WHERE hometown = "Montvale, NJ" | [
2061,
1524,
750,
262,
2137,
5262,
508,
338,
20994,
373,
5575,
41161,
11,
18732,
30,
46506,
1524,
16034,
3084,
62,
1157,
40179,
3064,
62,
1507,
33411,
20994,
796,
366,
26031,
41161,
11,
18732,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
262,
2137,
5262,
508,
338,
20994,
373,
5575,
41161,
11,
18732,
30,
46506,
1524,
16034,
3084,
62,
1157,
40179,
3064,
62,
1507,
33411,
20994,
796,
366,
26031,
41161,
11,
18732,
1
] |
what's the incumbent with district being massachusetts 2 | SELECT incumbent FROM table_1341604_22 WHERE district = "Massachusetts 2" | [
10919,
338,
262,
23526,
351,
4783,
852,
2347,
9770,
362,
46506,
23526,
16034,
3084,
62,
19880,
1433,
3023,
62,
1828,
33411,
4783,
796,
366,
20273,
9770,
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
] | [
10919,
338,
262,
23526,
351,
4783,
852,
2347,
9770,
362,
46506,
23526,
16034,
3084,
62,
19880,
1433,
3023,
62,
1828,
33411,
4783,
796,
366,
20273,
9770,
362,
1
] |
Who had the high rebounds on February 24? | SELECT high_rebounds FROM table_name_36 WHERE date = "february 24" | [
8241,
550,
262,
1029,
18841,
319,
3945,
1987,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
69,
1765,
3728,
1987,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
262,
1029,
18841,
319,
3945,
1987,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
3672,
62,
2623,
33411,
3128,
796,
366,
69,
1765,
3728,
1987,
1
] |
The building with 48 floors has an address in Las Vegas of what? | SELECT street_address FROM table_name_2 WHERE floors = 48 | [
464,
2615,
351,
4764,
18570,
468,
281,
2209,
287,
10123,
9621,
286,
644,
30,
46506,
4675,
62,
21975,
16034,
3084,
62,
3672,
62,
17,
33411,
18570,
796,
4764
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
2615,
351,
4764,
18570,
468,
281,
2209,
287,
10123,
9621,
286,
644,
30,
46506,
4675,
62,
21975,
16034,
3084,
62,
3672,
62,
17,
33411,
18570,
796,
4764
] |
For the Fall or Winter term , are there any 100 -level classes ? | SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number BETWEEN 100 AND 100 + 100 AND semester.semester IN ('FA', 'WN') AND semester.semester_id = course_offering.semester AND semester.year = 2016 | [
1890,
262,
7218,
393,
10633,
3381,
837,
389,
612,
597,
1802,
532,
5715,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
5357,
1781,
13,
10378,
1823,
796,
705,
36,
2943,
50,
6,
5357,
1781,
13,
17618,
38651,
8845,
1677,
1802,
5357,
1802,
1343,
1802,
5357,
24878,
13,
325,
6880,
353,
3268,
19203,
7708,
3256,
705,
29767,
11537,
5357,
24878
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
7218,
393,
10633,
3381,
837,
389,
612,
597,
1802,
532,
5715,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
24878,
13,
325,
6880,
353,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
5357,
1781,
13,
10378,
1823,
796,
705,
36,
2943,
50,
6,
5357,
1781,
13,
17618,
38651,
8845,
1677,
1802,
5357,
1802,
1343,
1802,
5357,
24878,
13,
325,
6880,
353,
3268,
19203,
7708,
3256,
705,
29767,
11537,
5357,
24878
] |
On April 28, what was the average number of people attending? | SELECT AVG(attendance) FROM table_name_6 WHERE date = "april 28" | [
2202,
3035,
2579,
11,
644,
373,
262,
2811,
1271,
286,
661,
11969,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
3128,
796,
366,
499,
22379,
2579,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3035,
2579,
11,
644,
373,
262,
2811,
1271,
286,
661,
11969,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
21,
33411,
3128,
796,
366,
499,
22379,
2579,
1
] |
What is the Date of the Rodez, France Tournament? | SELECT "Date" FROM table_12587 WHERE "Tournament" = 'rodez, france' | [
2061,
318,
262,
7536,
286,
262,
371,
1098,
89,
11,
4881,
9595,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1065,
44617,
33411,
366,
51,
5138,
1,
796,
705,
305,
2934,
89,
11,
1216,
590,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7536,
286,
262,
371,
1098,
89,
11,
4881,
9595,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1065,
44617,
33411,
366,
51,
5138,
1,
796,
705,
305,
2934,
89,
11,
1216,
590,
6
] |
What was the aggregate score that had a 1-2 second leg score? | SELECT "Aggregate" FROM table_78933 WHERE "2nd leg" = '1-2' | [
2061,
373,
262,
19406,
4776,
326,
550,
257,
352,
12,
17,
1218,
1232,
4776,
30,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
40401,
2091,
33411,
366,
17,
358,
1232,
1,
796,
705,
16,
12,
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,
373,
262,
19406,
4776,
326,
550,
257,
352,
12,
17,
1218,
1232,
4776,
30,
46506,
366,
46384,
49373,
1,
16034,
3084,
62,
40401,
2091,
33411,
366,
17,
358,
1232,
1,
796,
705,
16,
12,
17,
6
] |
What is the year that has points larger than 20? | SELECT COUNT("Year") FROM table_6513 WHERE "Points" > '20' | [
2061,
318,
262,
614,
326,
468,
2173,
4025,
621,
1160,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
2996,
1485,
33411,
366,
40710,
1,
1875,
705,
1238,
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
] | [
2061,
318,
262,
614,
326,
468,
2173,
4025,
621,
1160,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
2996,
1485,
33411,
366,
40710,
1,
1875,
705,
1238,
6
] |
What player has defensive back as the position, with a round less than 2? | SELECT "Player" FROM table_79059 WHERE "Position" = 'defensive back' AND "Round" < '2' | [
2061,
2137,
468,
6110,
736,
355,
262,
2292,
11,
351,
257,
2835,
1342,
621,
362,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3720,
46712,
33411,
366,
26545,
1,
796,
705,
4299,
2021,
736,
6,
5357,
366,
22685,
1,
1279,
705,
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
] | [
2061,
2137,
468,
6110,
736,
355,
262,
2292,
11,
351,
257,
2835,
1342,
621,
362,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3720,
46712,
33411,
366,
26545,
1,
796,
705,
4299,
2021,
736,
6,
5357,
366,
22685,
1,
1279,
705,
17,
6
] |
How many high schools have storm mascots? | SELECT high_school FROM table_22058547_1 WHERE mascot = "Storm" | [
2437,
867,
1029,
4266,
423,
6388,
23977,
1747,
30,
46506,
1029,
62,
14347,
16034,
3084,
62,
17572,
38905,
2857,
62,
16,
33411,
37358,
796,
366,
32173,
1
] | [
1,
1,
1,
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,
1029,
4266,
423,
6388,
23977,
1747,
30,
46506,
1029,
62,
14347,
16034,
3084,
62,
17572,
38905,
2857,
62,
16,
33411,
37358,
796,
366,
32173,
1
] |
who was the only contestant from switzerland to place in the top 50 ? | SELECT "athlete" FROM table_204_669 WHERE "nationality" = 'switzerland' AND "rank" <= 50 | [
8727,
373,
262,
691,
44047,
422,
1509,
13947,
284,
1295,
287,
262,
1353,
2026,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
18638,
62,
36657,
33411,
366,
14648,
414,
1,
796,
705,
2032,
13947,
6,
5357,
366,
43027,
1,
19841,
2026
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
262,
691,
44047,
422,
1509,
13947,
284,
1295,
287,
262,
1353,
2026,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
18638,
62,
36657,
33411,
366,
14648,
414,
1,
796,
705,
2032,
13947,
6,
5357,
366,
43027,
1,
19841,
2026
] |
in total, count the number of times patient 15945 had been prescribed atorvastatin in 12/this year. | SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15945) AND prescriptions.drug = 'atorvastatin' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', prescriptions.startdate) = '12' | [
259,
2472,
11,
954,
262,
1271,
286,
1661,
5827,
26422,
2231,
550,
587,
14798,
379,
273,
85,
459,
10680,
287,
1105,
14,
5661,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
26422,
2231,
8,
5357,
34092,
13,
30349,
796,
705,
1352,
85,
459,
10680,
6,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
2472,
11,
954,
262,
1271,
286,
1661,
5827,
26422,
2231,
550,
587,
14798,
379,
273,
85,
459,
10680,
287,
1105,
14,
5661,
614,
13,
46506,
327,
28270,
7,
28104,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
26422,
2231,
8,
5357,
34092,
13,
30349,
796,
705,
1352,
85,
459,
10680,
6,
5357,
360,
1404,
2767,
12789,
7,
18302,
24370,
13,
9688,
4475,
11,
705,
9688,
286,
614,
11537,
796,
360,
1404,
2767,
12789,
7,
34,
39237,
62,
34694,
22784,
705
] |
Where is channel 83 broadcasted? | SELECT "Territory" FROM table_66905 WHERE "Channel" = '83' | [
8496,
318,
6518,
9698,
7025,
276,
30,
46506,
366,
15156,
799,
652,
1,
16034,
3084,
62,
36657,
2713,
33411,
366,
29239,
1,
796,
705,
5999,
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
] | [
8496,
318,
6518,
9698,
7025,
276,
30,
46506,
366,
15156,
799,
652,
1,
16034,
3084,
62,
36657,
2713,
33411,
366,
29239,
1,
796,
705,
5999,
6
] |
Name the record with attendance of 73,996 | SELECT "Record" FROM table_15111 WHERE "Attendance" = '73,996' | [
5376,
262,
1700,
351,
14858,
286,
8854,
11,
38565,
46506,
366,
23739,
1,
16034,
3084,
62,
1314,
16243,
33411,
366,
8086,
437,
590,
1,
796,
705,
4790,
11,
38565,
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
] | [
5376,
262,
1700,
351,
14858,
286,
8854,
11,
38565,
46506,
366,
23739,
1,
16034,
3084,
62,
1314,
16243,
33411,
366,
8086,
437,
590,
1,
796,
705,
4790,
11,
38565,
6
] |
Average frequency with ERP W of 62? | SELECT AVG("Frequency MHz") FROM table_47008 WHERE "ERP W" = '62' | [
26287,
8373,
351,
13793,
47,
370,
286,
8190,
30,
46506,
35224,
7203,
37,
28707,
19805,
4943,
16034,
3084,
62,
2857,
25257,
33411,
366,
1137,
47,
370,
1,
796,
705,
5237,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26287,
8373,
351,
13793,
47,
370,
286,
8190,
30,
46506,
35224,
7203,
37,
28707,
19805,
4943,
16034,
3084,
62,
2857,
25257,
33411,
366,
1137,
47,
370,
1,
796,
705,
5237,
6
] |
What Country has a number smaller than 3 in 2004 and larger than 1 in 2005? | SELECT COUNT(2006) FROM table_name_31 WHERE 2004 < 3 AND 2005 > 1 | [
2061,
12946,
468,
257,
1271,
4833,
621,
513,
287,
5472,
290,
4025,
621,
352,
287,
5075,
30,
46506,
327,
28270,
7,
13330,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
5472,
1279,
513,
5357,
5075,
1875,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
12946,
468,
257,
1271,
4833,
621,
513,
287,
5472,
290,
4025,
621,
352,
287,
5075,
30,
46506,
327,
28270,
7,
13330,
8,
16034,
3084,
62,
3672,
62,
3132,
33411,
5472,
1279,
513,
5357,
5075,
1875,
352
] |
Show the employee ids for all employees with role name 'Human Resource' or 'Manager'. | SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager" | [
15307,
262,
6538,
220,
2340,
329,
477,
4409,
351,
2597,
1438,
705,
20490,
20857,
6,
393,
705,
13511,
4458,
46506,
309,
16,
13,
7033,
1453,
62,
312,
16034,
30260,
7054,
309,
16,
32357,
1268,
371,
3535,
1546,
7054,
309,
17,
6177,
309,
16,
13,
18090,
62,
8189,
796,
309,
17,
13,
18090,
62,
8189,
33411,
309,
17,
13,
18090,
62,
3672,
796,
366,
20490,
20857,
1,
6375,
309,
17,
13,
18090,
62,
3672,
796,
366,
13511,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
6538,
220,
2340,
329,
477,
4409,
351,
2597,
1438,
705,
20490,
20857,
6,
393,
705,
13511,
4458,
46506,
309,
16,
13,
7033,
1453,
62,
312,
16034,
30260,
7054,
309,
16,
32357,
1268,
371,
3535,
1546,
7054,
309,
17,
6177,
309,
16,
13,
18090,
62,
8189,
796,
309,
17,
13,
18090,
62,
8189,
33411,
309,
17,
13,
18090,
62,
3672,
796,
366,
20490,
20857,
1,
6375,
309,
17,
13,
18090,
62,
3672,
796,
366,
13511,
1
] |
What is the number of appearances where the most recent final result is 1999, beat Genk 3-1? | SELECT COUNT("# appearances") FROM table_19468 WHERE "Most recent final" = '1999, beat Genk 3-1' | [
2061,
318,
262,
1271,
286,
11057,
810,
262,
749,
2274,
2457,
1255,
318,
7358,
11,
4405,
5215,
74,
513,
12,
16,
30,
46506,
327,
28270,
7203,
2,
11057,
4943,
16034,
3084,
62,
22913,
3104,
33411,
366,
6943,
2274,
2457,
1,
796,
705,
18946,
11,
4405,
5215,
74,
513,
12,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
11057,
810,
262,
749,
2274,
2457,
1255,
318,
7358,
11,
4405,
5215,
74,
513,
12,
16,
30,
46506,
327,
28270,
7203,
2,
11057,
4943,
16034,
3084,
62,
22913,
3104,
33411,
366,
6943,
2274,
2457,
1,
796,
705,
18946,
11,
4405,
5215,
74,
513,
12,
16,
6
] |
The results for gt2 winning team is all lars-erik nielsen allan simonsen richard westbrook. | SELECT "Results" FROM table_943 WHERE "GT2 Winning Team" = 'Lars-Erik Nielsen Allan Simonsen Richard Westbrook' | [
464,
2482,
329,
308,
83,
17,
5442,
1074,
318,
477,
300,
945,
12,
263,
1134,
37628,
25328,
477,
272,
985,
684,
268,
5527,
446,
7421,
19094,
13,
46506,
366,
25468,
1,
16034,
3084,
62,
24,
3559,
33411,
366,
19555,
17,
40983,
4816,
1,
796,
705,
43,
945,
12,
36,
12602,
31154,
31908,
3184,
684,
268,
6219,
35345,
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
] | [
464,
2482,
329,
308,
83,
17,
5442,
1074,
318,
477,
300,
945,
12,
263,
1134,
37628,
25328,
477,
272,
985,
684,
268,
5527,
446,
7421,
19094,
13,
46506,
366,
25468,
1,
16034,
3084,
62,
24,
3559,
33411,
366,
19555,
17,
40983,
4816,
1,
796,
705,
43,
945,
12,
36,
12602,
31154,
31908,
3184,
684,
268,
6219,
35345,
6
] |
what is the nickname that joined 1902 1? | SELECT "Nickname" FROM table_28510 WHERE "Joined" = '1902 1' | [
10919,
318,
262,
21814,
326,
5399,
45611,
352,
30,
46506,
366,
23609,
3672,
1,
16034,
3084,
62,
26279,
940,
33411,
366,
24363,
1,
796,
705,
1129,
2999,
352,
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
] | [
10919,
318,
262,
21814,
326,
5399,
45611,
352,
30,
46506,
366,
23609,
3672,
1,
16034,
3084,
62,
26279,
940,
33411,
366,
24363,
1,
796,
705,
1129,
2999,
352,
6
] |
How many ships for the nation with grand total of 20? | SELECT s_motor_ship___s_naval_trawler FROM table_name_13 WHERE grand_total = 20 | [
2437,
867,
7937,
329,
262,
3277,
351,
4490,
2472,
286,
1160,
30,
46506,
264,
62,
76,
20965,
62,
6720,
17569,
82,
62,
77,
9226,
62,
83,
39464,
16034,
3084,
62,
3672,
62,
1485,
33411,
4490,
62,
23350,
796,
1160
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7937,
329,
262,
3277,
351,
4490,
2472,
286,
1160,
30,
46506,
264,
62,
76,
20965,
62,
6720,
17569,
82,
62,
77,
9226,
62,
83,
39464,
16034,
3084,
62,
3672,
62,
1485,
33411,
4490,
62,
23350,
796,
1160
] |
how many patients whose diagnoses short title is fx surg nck humerus-clos and drug route is iv? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Fx surg nck humerus-clos" AND prescriptions.route = "IV" | [
4919,
867,
3871,
3025,
40567,
1790,
3670,
318,
277,
87,
19797,
299,
694,
1311,
263,
385,
12,
565,
418,
290,
2563,
6339,
318,
21628,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
37,
87,
19797,
299,
694,
1311,
263,
385,
12,
565,
418,
1,
5357
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3025,
40567,
1790,
3670,
318,
277,
87,
19797,
299,
694,
1311,
263,
385,
12,
565,
418,
290,
2563,
6339,
318,
21628,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,
18108,
76,
62,
312,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34092,
13,
18108,
76,
62,
312,
33411,
40567,
13,
19509,
62,
7839,
796,
366,
37,
87,
19797,
299,
694,
1311,
263,
385,
12,
565,
418,
1,
5357
] |
when was the last time that patient 26817 was prescribed medication when they visited the hospital first time? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26817 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) ORDER BY prescriptions.startdate DESC LIMIT 1 | [
12518,
373,
262,
938,
640,
326,
5827,
36678,
1558,
373,
14798,
14103,
618,
484,
8672,
262,
4436,
717,
640,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
36678,
1558,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
38678,
11050,
25349,
13,
324,
20124,
524,
27564,
2043,
352,
8,
38678,
11050,
34092,
13,
9688,
4475,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12518,
373,
262,
938,
640,
326,
5827,
36678,
1558,
373,
14798,
14103,
618,
484,
8672,
262,
4436,
717,
640,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
36678,
1558,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
38678,
11050,
25349,
13,
324,
20124,
524,
27564,
2043,
352,
8,
38678,
11050,
34092,
13,
9688,
4475,
22196,
34,
27564,
2043,
352
] |
Which physicians are trained in procedures that are more expensive than 5000, and count them by a bar chart, display by the how many name from low to high. | SELECT T1.Name, COUNT(T1.Name) FROM Physician AS T1 JOIN Trained_In AS T2 ON T1.EmployeeID = T2.Physician JOIN Procedures AS T3 ON T3.Code = T2.Treatment WHERE T3.Cost > 5000 GROUP BY T1.Name ORDER BY COUNT(T1.Name) | [
13828,
17206,
389,
8776,
287,
9021,
326,
389,
517,
5789,
621,
23336,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
3359,
416,
262,
703,
867,
1438,
422,
1877,
284,
1029,
13,
46506,
309,
16,
13,
5376,
11,
327,
28270,
7,
51,
16,
13,
5376,
8,
16034,
8687,
6749,
7054,
309,
16,
32357,
1268,
833,
1328,
62,
818,
7054,
309,
17,
6177,
309,
16,
13,
29733,
1453,
2389,
796,
309,
17,
13,
43215,
6749,
32357,
1268,
43698,
7054,
309,
18,
6177,
309,
18,
13,
10669,
796,
309,
17,
13,
51,
21731,
33411,
309,
18,
13,
13729,
1875,
23336,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17206,
389,
8776,
287,
9021,
326,
389,
517,
5789,
621,
23336,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
3359,
416,
262,
703,
867,
1438,
422,
1877,
284,
1029,
13,
46506,
309,
16,
13,
5376,
11,
327,
28270,
7,
51,
16,
13,
5376,
8,
16034,
8687,
6749,
7054,
309,
16,
32357,
1268,
833,
1328,
62,
818,
7054,
309,
17,
6177,
309,
16,
13,
29733,
1453,
2389,
796,
309,
17,
13,
43215,
6749,
32357,
1268,
43698,
7054,
309,
18,
6177,
309,
18,
13,
10669,
796,
309,
17,
13,
51,
21731,
33411,
309,
18,
13,
13729,
1875,
23336,
44441,
11050
] |
Which party has a voting total greater than 4,478? | SELECT "Party" FROM table_62851 WHERE "Votes" > '4,478' | [
13828,
2151,
468,
257,
6709,
2472,
3744,
621,
604,
11,
29059,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
48200,
4349,
33411,
366,
53,
6421,
1,
1875,
705,
19,
11,
29059,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2151,
468,
257,
6709,
2472,
3744,
621,
604,
11,
29059,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
48200,
4349,
33411,
366,
53,
6421,
1,
1875,
705,
19,
11,
29059,
6
] |
what is the number of patients whose year of birth is less than 2056 and lab test fluid is pleural? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2056" AND lab.fluid = "Pleural" | [
10919,
318,
262,
1271,
286,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
3980,
290,
2248,
1332,
11711,
318,
3339,
1523,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1238,
3980,
1,
5357,
2248,
13,
35522,
312,
796,
366,
47,
293,
1523,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
286,
4082,
318,
1342,
621,
1160,
3980,
290,
2248,
1332,
11711,
318,
3339,
1523,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
62,
312,
33411,
16728,
13,
67,
672,
62,
1941,
1279,
366,
1238,
3980,
1,
5357,
2248,
13,
35522,
312,
796,
366,
47,
293,
1523,
1
] |
What is the method of resolution for the fight that had a time of 5:00 and a record of 5-0? | SELECT "Method" FROM table_7134 WHERE "Time" = '5:00' AND "Record" = '5-0' | [
2061,
318,
262,
2446,
286,
6323,
329,
262,
1907,
326,
550,
257,
640,
286,
642,
25,
405,
290,
257,
1700,
286,
642,
12,
15,
30,
46506,
366,
17410,
1,
16034,
3084,
62,
22,
19880,
33411,
366,
7575,
1,
796,
705,
20,
25,
405,
6,
5357,
366,
23739,
1,
796,
705,
20,
12,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2446,
286,
6323,
329,
262,
1907,
326,
550,
257,
640,
286,
642,
25,
405,
290,
257,
1700,
286,
642,
12,
15,
30,
46506,
366,
17410,
1,
16034,
3084,
62,
22,
19880,
33411,
366,
7575,
1,
796,
705,
20,
25,
405,
6,
5357,
366,
23739,
1,
796,
705,
20,
12,
15,
6
] |
End of preview. Expand
in Dataset Viewer.
- Downloads last month
- 32