instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
what were the three most frequently ordered microbiology tests for patients that had previous laxatives - doss (colace) within 2 months in 2105? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'laxatives - doss (colace)' AND STRFTIME('%y'... | [
10919,
547,
262,
1115,
749,
6777,
6149,
24559,
1435,
5254,
329,
3871,
326,
550,
2180,
36919,
2929,
532,
288,
793,
357,
4033,
558,
8,
1626,
362,
1933,
287,
362,
13348,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6777,
6149,
24559,
1435,
5254,
329,
3871,
326,
550,
2180,
36919,
2929,
532,
288,
793,
357,
4033,
558,
8,
1626,
362,
1933,
287,
362,
13348,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
256,
... |
which state other than goa had 3 candidates ? | SELECT "state" FROM table_203_562 WHERE "state" <> 'goa' AND "no. of candidates" = 3 | [
4758,
1181,
584,
621,
467,
64,
550,
513,
5871,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
22416,
62,
43918,
33411,
366,
5219,
1,
1279,
29,
705,
2188,
64,
6,
5357,
366,
3919,
13,
286,
5871,
1,
796,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1181,
584,
621,
467,
64,
550,
513,
5871,
5633,
46506,
366,
5219,
1,
16034,
3084,
62,
22416,
62,
43918,
33411,
366,
5219,
1,
1279,
29,
705,
2188,
64,
6,
5357,
366,
3919,
13,
286,
5871,
1,
796,
513
] |
What's the average year for the Role of alvin seville simon seville david 'dave' seville, and a Title of the chipmunk adventure? | SELECT AVG(year) FROM table_name_30 WHERE role = "alvin seville simon seville david 'dave' seville" AND title = "the chipmunk adventure" | [
2061,
338,
262,
2811,
614,
329,
262,
20934,
286,
435,
7114,
384,
4244,
985,
261,
384,
4244,
21970,
705,
67,
1015,
6,
384,
4244,
11,
290,
257,
11851,
286,
262,
11594,
76,
2954,
8855,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
338,
262,
2811,
614,
329,
262,
20934,
286,
435,
7114,
384,
4244,
985,
261,
384,
4244,
21970,
705,
67,
1015,
6,
384,
4244,
11,
290,
257,
11851,
286,
262,
11594,
76,
2954,
8855,
30,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3... |
Top users by reputation from Romania. | SELECT Reputation, DisplayName, Location FROM Users WHERE Location LIKE '%Romania%' AND Reputation > 101 ORDER BY Reputation DESC | [
9126,
2985,
416,
8507,
422,
23356,
13,
46506,
1432,
7094,
11,
16531,
5376,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
32454,
544,
4,
6,
5357,
1432,
7094,
1875,
8949,
38678,
11050,
1432,
7094,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9126,
2985,
416,
8507,
422,
23356,
13,
46506,
1432,
7094,
11,
16531,
5376,
11,
13397,
16034,
18987,
33411,
13397,
34178,
705,
4,
32454,
544,
4,
6,
5357,
1432,
7094,
1875,
8949,
38678,
11050,
1432,
7094,
22196,
34
] |
Give me the dates when the max temperature was higher than 85, and count them by a bar chart, sort by the the number of date in descending please. | SELECT date, COUNT(date) FROM weather WHERE max_temperature_f > 85 ORDER BY COUNT(date) DESC | [
23318,
502,
262,
9667,
618,
262,
3509,
5951,
373,
2440,
621,
7600,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
3297,
416,
262,
262,
1271,
286,
3128,
287,
31491,
3387,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
9667,
618,
262,
3509,
5951,
373,
2440,
621,
7600,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
3297,
416,
262,
262,
1271,
286,
3128,
287,
31491,
3387,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,... |
what is drug code and drug route of drug name gastroview (diatrizoate meglumine & sodium)? | SELECT prescriptions.formulary_drug_cd, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Gastroview (Diatrizoate Meglumine & Sodium)" | [
10919,
318,
2563,
2438,
290,
2563,
6339,
286,
2563,
1438,
33131,
1177,
357,
67,
5375,
380,
10872,
378,
502,
4743,
388,
500,
1222,
21072,
19427,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
38629,
16034,
34092,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2438,
290,
2563,
6339,
286,
2563,
1438,
33131,
1177,
357,
67,
5375,
380,
10872,
378,
502,
4743,
388,
500,
1222,
21072,
19427,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
38629,
16034,
34092,
... |
what is the province when the rank is higher than 24 and the name is laforge-2? | SELECT province FROM table_name_42 WHERE rank > 24 AND name = "laforge-2" | [
10919,
318,
262,
8473,
618,
262,
4279,
318,
2440,
621,
1987,
290,
262,
1438,
318,
8591,
30293,
12,
17,
30,
46506,
8473,
16034,
3084,
62,
3672,
62,
3682,
33411,
4279,
1875,
1987,
5357,
1438,
796,
366,
5031,
30293,
12,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
8473,
618,
262,
4279,
318,
2440,
621,
1987,
290,
262,
1438,
318,
8591,
30293,
12,
17,
30,
46506,
8473,
16034,
3084,
62,
3672,
62,
3682,
33411,
4279,
1875,
1987,
5357,
1438,
796,
366,
5031,
30293,
12,
17,
1
] |
What is the hometown of the player who attended Ohio State? | SELECT hometown FROM table_name_35 WHERE college = "ohio state" | [
2061,
318,
262,
20994,
286,
262,
2137,
508,
9141,
6835,
1812,
30,
46506,
20994,
16034,
3084,
62,
3672,
62,
2327,
33411,
4152,
796,
366,
1219,
952,
1181,
1
] | [
1,
1,
1,
1,
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,
20994,
286,
262,
2137,
508,
9141,
6835,
1812,
30,
46506,
20994,
16034,
3084,
62,
3672,
62,
2327,
33411,
4152,
796,
366,
1219,
952,
1181,
1
] |
What opening date has a capacity of 100? | SELECT opening_date FROM table_name_53 WHERE capacity = 100 | [
2061,
4756,
3128,
468,
257,
5339,
286,
1802,
30,
46506,
4756,
62,
4475,
16034,
3084,
62,
3672,
62,
4310,
33411,
5339,
796,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4756,
3128,
468,
257,
5339,
286,
1802,
30,
46506,
4756,
62,
4475,
16034,
3084,
62,
3672,
62,
4310,
33411,
5339,
796,
1802
] |
how many of the asian patients had unspecified neutropenia? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "ASIAN" AND diagnoses.long_title = "Neutropenia, unspecified" | [
4919,
867,
286,
262,
355,
666,
3871,
550,
29547,
22190,
1773,
268,
544,
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,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
286,
262,
355,
666,
3871,
550,
29547,
22190,
1773,
268,
544,
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,
... |
What is the course title of the prerequisite of course Mobile Computing? | SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'Mobile Computing') | [
2061,
318,
262,
1781,
3670,
286,
262,
43119,
286,
1781,
12173,
38589,
30,
46506,
3670,
16034,
1781,
33411,
1781,
62,
312,
3268,
357,
46506,
309,
16,
13,
3866,
42180,
62,
312,
16034,
662,
42180,
7054,
309,
16,
32357,
1268,
1781,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1781,
3670,
286,
262,
43119,
286,
1781,
12173,
38589,
30,
46506,
3670,
16034,
1781,
33411,
1781,
62,
312,
3268,
357,
46506,
309,
16,
13,
3866,
42180,
62,
312,
16034,
662,
42180,
7054,
309,
16,
32357,
1268,
1781,
7054,
... |
How many votes did kennedy win when coakley won 66.2% | SELECT MIN("Kennedy votes") FROM table_26595 WHERE "Coakley %" = '66.2%' | [
2437,
867,
5690,
750,
479,
1697,
4716,
1592,
618,
763,
461,
1636,
1839,
7930,
13,
17,
4,
46506,
20625,
7203,
39324,
4716,
5690,
4943,
16034,
3084,
62,
2075,
35124,
33411,
366,
7222,
461,
1636,
4064,
1,
796,
705,
2791,
13,
17,
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,
1,
1
] | [
2437,
867,
5690,
750,
479,
1697,
4716,
1592,
618,
763,
461,
1636,
1839,
7930,
13,
17,
4,
46506,
20625,
7203,
39324,
4716,
5690,
4943,
16034,
3084,
62,
2075,
35124,
33411,
366,
7222,
461,
1636,
4064,
1,
796,
705,
2791,
13,
17,
4,
6
] |
Name the outcome for opponents of jonas bj rkman john mcenroe | SELECT outcome FROM table_name_60 WHERE opponents_in_the_final = "jonas björkman john mcenroe" | [
5376,
262,
8055,
329,
7691,
286,
474,
261,
292,
275,
73,
374,
74,
805,
45610,
36650,
268,
20646,
46506,
8055,
16034,
3084,
62,
3672,
62,
1899,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
46286,
292,
275,
73,
30570,
74,
805,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8055,
329,
7691,
286,
474,
261,
292,
275,
73,
374,
74,
805,
45610,
36650,
268,
20646,
46506,
8055,
16034,
3084,
62,
3672,
62,
1899,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
46286,
292,
275,
73,
30570,
74,
805,... |
Who was the leader in Points with Assists of 2 tied (5) and Steals of 3 tied (2)? | SELECT "Points" FROM table_70773 WHERE "Steals" = '3 tied (2)' AND "Assists" = '2 tied (5)' | [
8241,
373,
262,
3554,
287,
11045,
351,
2195,
1023,
286,
362,
8165,
357,
20,
8,
290,
2441,
874,
286,
513,
8165,
357,
17,
19427,
46506,
366,
40710,
1,
16034,
3084,
62,
2154,
46871,
33411,
366,
7447,
874,
1,
796,
705,
18,
8165,
357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
3554,
287,
11045,
351,
2195,
1023,
286,
362,
8165,
357,
20,
8,
290,
2441,
874,
286,
513,
8165,
357,
17,
19427,
46506,
366,
40710,
1,
16034,
3084,
62,
2154,
46871,
33411,
366,
7447,
874,
1,
796,
705,
18,
8165,
357,
... |
give me the number of patients with po route of drug administration born before 1846. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "1846" AND prescriptions.route = "PO" | [
26535,
502,
262,
1271,
286,
3871,
351,
745,
6339,
286,
2563,
3662,
4642,
878,
1248,
3510,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
351,
745,
6339,
286,
2563,
3662,
4642,
878,
1248,
3510,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18... |
Average number of views of questions by creation date. | SELECT DATE(CreationDate), AvgViews = ROUND(AVG(CAST(ViewCount AS FLOAT)), 2) FROM Posts WHERE PostTypeId = 1 AND DATE(CreationDate) BETWEEN @startDate AND @endDate AND ClosedDate IS NULL AND CommunityOwnedDate IS NULL GROUP BY DATE(CreationDate) ORDER BY DATE(CreationDate) | [
26287,
1271,
286,
5009,
286,
2683,
416,
6282,
3128,
13,
46506,
360,
6158,
7,
12443,
341,
10430,
828,
33455,
7680,
82,
796,
371,
15919,
7,
10116,
38,
7,
44647,
7,
7680,
12332,
7054,
9977,
46,
1404,
36911,
362,
8,
16034,
12043,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26287,
1271,
286,
5009,
286,
2683,
416,
6282,
3128,
13,
46506,
360,
6158,
7,
12443,
341,
10430,
828,
33455,
7680,
82,
796,
371,
15919,
7,
10116,
38,
7,
44647,
7,
7680,
12332,
7054,
9977,
46,
1404,
36911,
362,
8,
16034,
12043,
33411,
... |
What is the constituency number with a reserved for ( SC / ST /None) of none, for Katol? | SELECT constituency_number FROM table_name_65 WHERE reserved_for___sc___st__none_ = "none" AND name = "katol" | [
2061,
318,
262,
28280,
1271,
351,
257,
10395,
329,
357,
6374,
1220,
3563,
1220,
14202,
8,
286,
4844,
11,
329,
8595,
349,
30,
46506,
28280,
62,
17618,
16034,
3084,
62,
3672,
62,
2996,
33411,
10395,
62,
1640,
17569,
1416,
17569,
301,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28280,
1271,
351,
257,
10395,
329,
357,
6374,
1220,
3563,
1220,
14202,
8,
286,
4844,
11,
329,
8595,
349,
30,
46506,
28280,
62,
17618,
16034,
3084,
62,
3672,
62,
2996,
33411,
10395,
62,
1640,
17569,
1416,
17569,
301,
83... |
Which Score has Points of 36, and a Game of 30? | SELECT "Score" FROM table_75441 WHERE "Points" = '36' AND "Game" = '30' | [
13828,
15178,
468,
11045,
286,
4570,
11,
290,
257,
3776,
286,
1542,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2425,
39710,
33411,
366,
40710,
1,
796,
705,
2623,
6,
5357,
366,
8777,
1,
796,
705,
1270,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15178,
468,
11045,
286,
4570,
11,
290,
257,
3776,
286,
1542,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2425,
39710,
33411,
366,
40710,
1,
796,
705,
2623,
6,
5357,
366,
8777,
1,
796,
705,
1270,
6
] |
for a Goals Against smaller than 9, and a Goal Differential of 0, and a Draws smaller than 2, and a Wins of 1, what's the goal total? | SELECT SUM(goals_for) FROM table_name_81 WHERE goals_against < 9 AND goal_differential = "0" AND draws < 2 AND wins = 1 | [
1640,
257,
28510,
12914,
4833,
621,
860,
11,
290,
257,
25376,
20615,
498,
286,
657,
11,
290,
257,
15315,
82,
4833,
621,
362,
11,
290,
257,
24423,
286,
352,
11,
644,
338,
262,
3061,
2472,
30,
46506,
35683,
7,
2188,
874,
62,
1640,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1640,
257,
28510,
12914,
4833,
621,
860,
11,
290,
257,
25376,
20615,
498,
286,
657,
11,
290,
257,
15315,
82,
4833,
621,
362,
11,
290,
257,
24423,
286,
352,
11,
644,
338,
262,
3061,
2472,
30,
46506,
35683,
7,
2188,
874,
62,
1640,
8... |
what is the number of patients whose marital status is married and diagnoses icd9 code is 25541? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "MARRIED" AND diagnoses.icd9_code = "25541" | [
10919,
318,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
6405,
290,
40567,
14158,
67,
24,
2438,
318,
14280,
3901,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
6405,
290,
40567,
14158,
67,
24,
2438,
318,
14280,
3901,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
4... |
PHP vs javascript vs nodejs. | SELECT DATEADD(mm, (YEAR(Posts.CreationDate) - 1900) * 12 + MONTH(Posts.CreationDate) - 1, 0) AS Month, Tags.TagName, COUNT(*) AS Questions FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE Tags.TagName IN ... | [
11909,
47,
3691,
44575,
3691,
10139,
8457,
13,
46506,
360,
6158,
29266,
7,
3020,
11,
357,
56,
17133,
7,
21496,
13,
12443,
341,
10430,
8,
532,
21489,
8,
1635,
1105,
1343,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
532,
352,
11,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
11909,
47,
3691,
44575,
3691,
10139,
8457,
13,
46506,
360,
6158,
29266,
7,
3020,
11,
357,
56,
17133,
7,
21496,
13,
12443,
341,
10430,
8,
532,
21489,
8,
1635,
1105,
1343,
25000,
4221,
7,
21496,
13,
12443,
341,
10430,
8,
532,
352,
11,... |
What is the date of birth of the goalkeeper from the 1st season? | SELECT date_of_birth FROM table_name_13 WHERE position_s_ = "goalkeeper" AND seasons = "1st" | [
2061,
318,
262,
3128,
286,
4082,
286,
262,
26318,
422,
262,
352,
301,
1622,
30,
46506,
3128,
62,
1659,
62,
24280,
16034,
3084,
62,
3672,
62,
1485,
33411,
2292,
62,
82,
62,
796,
366,
35231,
13884,
1,
5357,
7028,
796,
366,
16,
301,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
4082,
286,
262,
26318,
422,
262,
352,
301,
1622,
30,
46506,
3128,
62,
1659,
62,
24280,
16034,
3084,
62,
3672,
62,
1485,
33411,
2292,
62,
82,
62,
796,
366,
35231,
13884,
1,
5357,
7028,
796,
366,
16,
301,
... |
how much different is patient 016-8658's weight last measured on the first hospital visit compared to the value first measured on the first hospital visit? | SELECT (SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-8658' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1) AND NOT patient.admissionweight IS NULL ORD... | [
4919,
881,
1180,
318,
5827,
5534,
21,
12,
23,
38431,
338,
3463,
938,
8630,
319,
262,
717,
4436,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
5827,
13,
324,
3411,
6551,
16034,
5827,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
881,
1180,
318,
5827,
5534,
21,
12,
23,
38431,
338,
3463,
938,
8630,
319,
262,
717,
4436,
3187,
3688,
284,
262,
1988,
717,
8630,
319,
262,
717,
4436,
3187,
30,
46506,
357,
46506,
5827,
13,
324,
3411,
6551,
16034,
5827,
33411,
... |
how many patients had been staying in careunit csru? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.careunit = 'csru') | [
4919,
867,
3871,
550,
587,
10589,
287,
1337,
20850,
50115,
622,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
550,
587,
10589,
287,
1337,
20850,
50115,
622,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
13,
18108,
76,
... |
Emilya Valenti has what draw average? | SELECT AVG("Draw") FROM table_65809 WHERE "Artist" = 'emilya valenti' | [
48640,
64,
17284,
72,
468,
644,
3197,
2811,
30,
46506,
35224,
7203,
25302,
4943,
16034,
3084,
62,
2996,
34583,
33411,
366,
43020,
1,
796,
705,
368,
813,
64,
1188,
298,
72,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
48640,
64,
17284,
72,
468,
644,
3197,
2811,
30,
46506,
35224,
7203,
25302,
4943,
16034,
3084,
62,
2996,
34583,
33411,
366,
43020,
1,
796,
705,
368,
813,
64,
1188,
298,
72,
6
] |
Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoise? | SELECT "Constructor" FROM table_11679 WHERE "Grid" < '24' AND "Laps" > '77' AND "Driver" = 'jean-pierre beltoise' | [
13828,
28407,
273,
468,
257,
24846,
4833,
621,
1987,
11,
517,
621,
8541,
24590,
11,
290,
257,
12434,
286,
474,
11025,
12,
79,
31058,
894,
1462,
786,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
1157,
37601,
33411,
366,
41339,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28407,
273,
468,
257,
24846,
4833,
621,
1987,
11,
517,
621,
8541,
24590,
11,
290,
257,
12434,
286,
474,
11025,
12,
79,
31058,
894,
1462,
786,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
1157,
37601,
33411,
366,
41339,
1,
... |
Visualize the general trend of maximal price over the year. | SELECT Year, MAX(Price) FROM wine GROUP BY Year | [
36259,
1096,
262,
2276,
5182,
286,
40708,
2756,
625,
262,
614,
13,
46506,
6280,
11,
25882,
7,
18124,
8,
16034,
8237,
44441,
11050,
6280
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
262,
2276,
5182,
286,
40708,
2756,
625,
262,
614,
13,
46506,
6280,
11,
25882,
7,
18124,
8,
16034,
8237,
44441,
11050,
6280
] |
What are the players that attented long beach state? | SELECT "Player" FROM table_336 WHERE "School/Club Team/Country" = 'Long Beach State' | [
2061,
389,
262,
1938,
326,
708,
4714,
890,
10481,
1181,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
29211,
33411,
366,
26130,
14,
42350,
4816,
14,
33921,
1,
796,
705,
14617,
8511,
1812,
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,
389,
262,
1938,
326,
708,
4714,
890,
10481,
1181,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
29211,
33411,
366,
26130,
14,
42350,
4816,
14,
33921,
1,
796,
705,
14617,
8511,
1812,
6
] |
at the area of 113.12, what was the population? | SELECT "Population" FROM table_1597 WHERE "Area km 2" = '113.12' | [
265,
262,
1989,
286,
17318,
13,
1065,
11,
644,
373,
262,
3265,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
1314,
5607,
33411,
366,
30547,
10571,
362,
1,
796,
705,
16616,
13,
1065,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
265,
262,
1989,
286,
17318,
13,
1065,
11,
644,
373,
262,
3265,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
1314,
5607,
33411,
366,
30547,
10571,
362,
1,
796,
705,
16616,
13,
1065,
6
] |
what is the number of patients whose days of hospital stay is greater than 27 and procedure icd9 code is 5012? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "27" AND procedures.icd9_code = "5012" | [
10919,
318,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
2681,
290,
8771,
14158,
67,
24,
2438,
318,
24555,
17,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
2681,
290,
8771,
14158,
67,
24,
2438,
318,
24555,
17,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
2... |
what are the four most frequent medications that patients were prescribed with within the same hospital visit after receiving peripheral nerve graft last year? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FR... | [
10919,
389,
262,
1440,
749,
10792,
17638,
326,
3871,
547,
14798,
351,
1626,
262,
976,
4436,
3187,
706,
6464,
25514,
16384,
38455,
938,
614,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1440,
749,
10792,
17638,
326,
3871,
547,
14798,
351,
1626,
262,
976,
4436,
3187,
706,
6464,
25514,
16384,
38455,
938,
614,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,
... |
Find the names of all English songs. | SELECT song_name FROM song WHERE languages = "english" | [
16742,
262,
3891,
286,
477,
3594,
7259,
13,
46506,
3496,
62,
3672,
16034,
3496,
33411,
8950,
796,
366,
39126,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
3891,
286,
477,
3594,
7259,
13,
46506,
3496,
62,
3672,
16034,
3496,
33411,
8950,
796,
366,
39126,
1
] |
how many times has fc shakhtyor salihorsk played in the uefa europa league competition ? | SELECT COUNT(*) FROM table_203_242 WHERE "competition" = 'uefa europa league' | [
4919,
867,
1661,
468,
277,
66,
427,
11322,
774,
273,
3664,
4449,
669,
74,
2826,
287,
262,
334,
891,
64,
11063,
8957,
4652,
5449,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
27877,
33411,
366,
5589,
15620,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1661,
468,
277,
66,
427,
11322,
774,
273,
3664,
4449,
669,
74,
2826,
287,
262,
334,
891,
64,
11063,
8957,
4652,
5449,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
27877,
33411,
366,
5589,
15620,
1,
796,
... |
How many HUC example codes have 1 level? | SELECT COUNT(example_code__huc_) FROM table_name_48 WHERE level = 1 | [
2437,
867,
367,
9598,
1672,
12416,
423,
352,
1241,
30,
46506,
327,
28270,
7,
20688,
62,
8189,
834,
71,
1229,
62,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
1241,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
367,
9598,
1672,
12416,
423,
352,
1241,
30,
46506,
327,
28270,
7,
20688,
62,
8189,
834,
71,
1229,
62,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
1241,
796,
352
] |
Who wrote the episode that was set in winter 1541/february 13, 1542? | SELECT written_by FROM table_10413597_5 WHERE setting = "Winter 1541/February 13, 1542" | [
8241,
2630,
262,
4471,
326,
373,
900,
287,
7374,
1315,
3901,
14,
69,
1765,
3728,
1511,
11,
1315,
3682,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
13464,
1485,
43239,
62,
20,
33411,
4634,
796,
366,
35376,
1315,
3901,
14,
21816,
1511,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2630,
262,
4471,
326,
373,
900,
287,
7374,
1315,
3901,
14,
69,
1765,
3728,
1511,
11,
1315,
3682,
30,
46506,
3194,
62,
1525,
16034,
3084,
62,
13464,
1485,
43239,
62,
20,
33411,
4634,
796,
366,
35376,
1315,
3901,
14,
21816,
1511,
... |
How many laps were there when the Time/Retired was +14.403? | SELECT laps FROM table_name_45 WHERE time_retired = "+14.403" | [
2437,
867,
24590,
547,
612,
618,
262,
3862,
14,
9781,
1202,
373,
1343,
1415,
13,
31552,
30,
46506,
24590,
16034,
3084,
62,
3672,
62,
2231,
33411,
640,
62,
1186,
1202,
796,
43825,
1415,
13,
31552,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24590,
547,
612,
618,
262,
3862,
14,
9781,
1202,
373,
1343,
1415,
13,
31552,
30,
46506,
24590,
16034,
3084,
62,
3672,
62,
2231,
33411,
640,
62,
1186,
1202,
796,
43825,
1415,
13,
31552,
1
] |
What was the score on april 4, 1993? | SELECT score FROM table_name_33 WHERE date = "april 4, 1993" | [
2061,
373,
262,
4776,
319,
46593,
346,
604,
11,
9656,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
499,
22379,
604,
11,
9656,
1
] | [
1,
1,
1,
1,
1,
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,
4776,
319,
46593,
346,
604,
11,
9656,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
2091,
33411,
3128,
796,
366,
499,
22379,
604,
11,
9656,
1
] |
give me the number of patients whose death status is 0 and diagnoses long title is tobacco use disorder? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "0" AND diagnoses.long_title = "Tobacco use disorder" | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
40567,
890,
3670,
318,
11219,
779,
8967,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
40567,
890,
3670,
318,
11219,
779,
8967,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6... |
Name the least dismissals for sammy carter | SELECT MIN(dismissals) FROM table_23316034_23 WHERE player = "Sammy Carter" | [
5376,
262,
1551,
6735,
874,
329,
6072,
1820,
1097,
353,
46506,
20625,
7,
67,
1042,
747,
874,
8,
16034,
3084,
62,
25429,
14198,
2682,
62,
1954,
33411,
2137,
796,
366,
16305,
1820,
10831,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1551,
6735,
874,
329,
6072,
1820,
1097,
353,
46506,
20625,
7,
67,
1042,
747,
874,
8,
16034,
3084,
62,
25429,
14198,
2682,
62,
1954,
33411,
2137,
796,
366,
16305,
1820,
10831,
1
] |
what is the maximum number of points? | SELECT MAX("Points") FROM table_1029 | [
10919,
318,
262,
5415,
1271,
286,
2173,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
940,
1959
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
5415,
1271,
286,
2173,
30,
46506,
25882,
7203,
40710,
4943,
16034,
3084,
62,
940,
1959
] |
What is the sum of the values for Melbourne, when Episode Number Production Number is 19 2-06, and when Sydney is less than 389,000? | SELECT SUM(melbourne) FROM table_name_93 WHERE episode_number_production_number = "19 2-06" AND sydney < 389 OFFSET 000 | [
2061,
318,
262,
2160,
286,
262,
3815,
329,
14819,
11,
618,
7922,
7913,
19174,
7913,
318,
678,
362,
12,
3312,
11,
290,
618,
11852,
318,
1342,
621,
49633,
11,
830,
30,
46506,
35683,
7,
17694,
12544,
8,
16034,
3084,
62,
3672,
62,
6052,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2160,
286,
262,
3815,
329,
14819,
11,
618,
7922,
7913,
19174,
7913,
318,
678,
362,
12,
3312,
11,
290,
618,
11852,
318,
1342,
621,
49633,
11,
830,
30,
46506,
35683,
7,
17694,
12544,
8,
16034,
3084,
62,
3672,
62,
6052,... |
How many partys have a candidate first elected in 1923? | SELECT COUNT(party) FROM table_1342256_33 WHERE first_elected = 1923 | [
2437,
867,
636,
893,
423,
257,
4540,
717,
7018,
287,
37272,
30,
46506,
327,
28270,
7,
10608,
8,
16034,
3084,
62,
1485,
3682,
11645,
62,
2091,
33411,
717,
62,
28604,
796,
37272
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
636,
893,
423,
257,
4540,
717,
7018,
287,
37272,
30,
46506,
327,
28270,
7,
10608,
8,
16034,
3084,
62,
1485,
3682,
11645,
62,
2091,
33411,
717,
62,
28604,
796,
37272
] |
What is the position of a player from North Carolina? | SELECT "Position" FROM table_56988 WHERE "School" = 'north carolina' | [
2061,
318,
262,
2292,
286,
257,
2137,
422,
2258,
5913,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
20,
3388,
3459,
33411,
366,
26130,
1,
796,
705,
43588,
1097,
47196,
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,
2292,
286,
257,
2137,
422,
2258,
5913,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
20,
3388,
3459,
33411,
366,
26130,
1,
796,
705,
43588,
1097,
47196,
6
] |
A line chart for what are the number of the enrollment dates of all the tests that have result 'Pass'? | SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Pass" GROUP BY date_of_enrolment | [
32,
1627,
8262,
329,
644,
389,
262,
1271,
286,
262,
20753,
9667,
286,
477,
262,
5254,
326,
423,
1255,
705,
14478,
30960,
46506,
3128,
62,
1659,
62,
268,
3225,
434,
11,
327,
28270,
7,
4475,
62,
1659,
62,
268,
3225,
434,
8,
16034,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
32,
1627,
8262,
329,
644,
389,
262,
1271,
286,
262,
20753,
9667,
286,
477,
262,
5254,
326,
423,
1255,
705,
14478,
30960,
46506,
3128,
62,
1659,
62,
268,
3225,
434,
11,
327,
28270,
7,
4475,
62,
1659,
62,
268,
3225,
434,
8,
16034,
1... |
What years did Tymerlan Huseynov, whose average is larger than 0.361, play? | SELECT career FROM table_name_94 WHERE average > 0.361 AND player = "tymerlan huseynov" | [
2061,
812,
750,
7039,
647,
9620,
367,
1904,
2047,
709,
11,
3025,
2811,
318,
4025,
621,
657,
13,
35195,
11,
711,
30,
46506,
3451,
16034,
3084,
62,
3672,
62,
5824,
33411,
2811,
1875,
657,
13,
35195,
5357,
2137,
796,
366,
774,
647,
962... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
812,
750,
7039,
647,
9620,
367,
1904,
2047,
709,
11,
3025,
2811,
318,
4025,
621,
657,
13,
35195,
11,
711,
30,
46506,
3451,
16034,
3084,
62,
3672,
62,
5824,
33411,
2811,
1875,
657,
13,
35195,
5357,
2137,
796,
366,
774,
647,
962... |
The Europe listing of 00 0 0 (0) also has what listed as the total? | SELECT "Total" FROM table_68716 WHERE "Europe" = '00 0 0 (0)' | [
464,
2031,
13487,
286,
3571,
657,
657,
357,
15,
8,
635,
468,
644,
5610,
355,
262,
2472,
30,
46506,
366,
14957,
1,
16034,
3084,
62,
39925,
1433,
33411,
366,
16112,
1,
796,
705,
405,
657,
657,
357,
15,
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
] | [
464,
2031,
13487,
286,
3571,
657,
657,
357,
15,
8,
635,
468,
644,
5610,
355,
262,
2472,
30,
46506,
366,
14957,
1,
16034,
3084,
62,
39925,
1433,
33411,
366,
16112,
1,
796,
705,
405,
657,
657,
357,
15,
33047
] |
Show the average amount of transactions for different investors. | SELECT investor_id, AVG(amount_of_transaction) FROM transactions GROUP BY investor_id | [
15307,
262,
2811,
2033,
286,
8945,
329,
1180,
7713,
13,
46506,
15811,
62,
312,
11,
35224,
7,
17287,
62,
1659,
62,
7645,
2673,
8,
16034,
8945,
44441,
11050,
15811,
62,
312
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
2811,
2033,
286,
8945,
329,
1180,
7713,
13,
46506,
15811,
62,
312,
11,
35224,
7,
17287,
62,
1659,
62,
7645,
2673,
8,
16034,
8945,
44441,
11050,
15811,
62,
312
] |
How many people attended when opponent was twins? | SELECT COUNT("Attendance") FROM table_72044 WHERE "Opponent" = 'twins' | [
2437,
867,
661,
9141,
618,
6125,
373,
20345,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
23906,
2598,
33411,
366,
27524,
3471,
1,
796,
705,
4246,
1040,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
661,
9141,
618,
6125,
373,
20345,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
23906,
2598,
33411,
366,
27524,
3471,
1,
796,
705,
4246,
1040,
6
] |
tell me the average hospital cost that includes mechanical ventilation - permissive hypercapnea in 2105? | SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'mechanical ventilation - permissive hypercap... | [
33331,
502,
262,
2811,
4436,
1575,
326,
3407,
12370,
34834,
532,
583,
33532,
8718,
11128,
39718,
287,
362,
13348,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
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... | [
33331,
502,
262,
2811,
4436,
1575,
326,
3407,
12370,
34834,
532,
583,
33532,
8718,
11128,
39718,
287,
362,
13348,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
15... |
What is the sum of Year 2007(s), when the Year 2005 is greater than 29,377? | SELECT SUM("Year 2007") FROM table_75898 WHERE "Year 2005" > '29,377' | [
2061,
318,
262,
2160,
286,
6280,
4343,
7,
82,
828,
618,
262,
6280,
5075,
318,
3744,
621,
2808,
11,
26514,
30,
46506,
35683,
7203,
17688,
4343,
4943,
16034,
3084,
62,
38569,
4089,
33411,
366,
17688,
5075,
1,
1875,
705,
1959,
11,
26514,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
6280,
4343,
7,
82,
828,
618,
262,
6280,
5075,
318,
3744,
621,
2808,
11,
26514,
30,
46506,
35683,
7203,
17688,
4343,
4943,
16034,
3084,
62,
38569,
4089,
33411,
366,
17688,
5075,
1,
1875,
705,
1959,
11,
26514,... |
When did indiana play? | SELECT date FROM table_name_8 WHERE opponent = "indiana" | [
2215,
750,
773,
7484,
711,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
23,
33411,
6125,
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
] | [
2215,
750,
773,
7484,
711,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
23,
33411,
6125,
796,
366,
521,
7484,
1
] |
Name the Finish which has a Total of 287? | SELECT "Finish" FROM table_12206 WHERE "Total" = '287' | [
5376,
262,
32585,
543,
468,
257,
7472,
286,
38721,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
1065,
22136,
33411,
366,
14957,
1,
796,
705,
27800,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
32585,
543,
468,
257,
7472,
286,
38721,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
1065,
22136,
33411,
366,
14957,
1,
796,
705,
27800,
6
] |
How many Against have Played smaller than 18? | SELECT COUNT("Against") FROM table_6419 WHERE "Played" < '18' | [
2437,
867,
12914,
423,
33101,
4833,
621,
1248,
30,
46506,
327,
28270,
7203,
39276,
4943,
16034,
3084,
62,
2414,
1129,
33411,
366,
11002,
276,
1,
1279,
705,
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
] | [
2437,
867,
12914,
423,
33101,
4833,
621,
1248,
30,
46506,
327,
28270,
7203,
39276,
4943,
16034,
3084,
62,
2414,
1129,
33411,
366,
11002,
276,
1,
1279,
705,
1507,
6
] |
count the number of black/cape verdean patients who have procedure icd9 code 5188. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND procedures.icd9_code = "5188" | [
9127,
262,
1271,
286,
2042,
14,
36435,
3326,
2934,
272,
3871,
508,
423,
8771,
14158,
67,
24,
2438,
642,
20356,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2042,
14,
36435,
3326,
2934,
272,
3871,
508,
423,
8771,
14158,
67,
24,
2438,
642,
20356,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,... |
How many musicals has each nominee been nominated for. Show a pie chart. | SELECT Nominee, COUNT(*) FROM musical GROUP BY Nominee | [
2437,
867,
10530,
82,
468,
1123,
10429,
587,
19332,
329,
13,
5438,
257,
2508,
8262,
13,
46506,
21198,
500,
68,
11,
327,
28270,
7,
28104,
16034,
10530,
44441,
11050,
21198,
500,
68
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
10530,
82,
468,
1123,
10429,
587,
19332,
329,
13,
5438,
257,
2508,
8262,
13,
46506,
21198,
500,
68,
11,
327,
28270,
7,
28104,
16034,
10530,
44441,
11050,
21198,
500,
68
] |
What are the names and account balances of customers with the letter a in their names? | SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' | [
2061,
389,
262,
3891,
290,
1848,
25223,
286,
4297,
351,
262,
3850,
257,
287,
511,
3891,
30,
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
] | [
2061,
389,
262,
3891,
290,
1848,
25223,
286,
4297,
351,
262,
3850,
257,
287,
511,
3891,
30,
46506,
9378,
62,
3672,
11,
697,
62,
6893,
16034,
6491,
33411,
9378,
62,
3672,
34178,
705,
4,
64,
4,
6
] |
What is the sum of draws with 274-357 goals? | SELECT SUM("Drawn") FROM table_53853 WHERE "Goals" = '274-357' | [
2061,
318,
262,
2160,
286,
14293,
351,
39768,
12,
27277,
4661,
30,
46506,
35683,
7203,
35,
5791,
4943,
16034,
3084,
62,
49561,
4310,
33411,
366,
5247,
874,
1,
796,
705,
28857,
12,
27277,
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,
2160,
286,
14293,
351,
39768,
12,
27277,
4661,
30,
46506,
35683,
7203,
35,
5791,
4943,
16034,
3084,
62,
49561,
4310,
33411,
366,
5247,
874,
1,
796,
705,
28857,
12,
27277,
6
] |
what flights from any city land at MKE | SELECT DISTINCT flight.flight_id FROM airport, airport_service, city, flight WHERE airport.airport_code = 'MKE' AND city.city_code = airport_service.city_code AND flight.from_airport = airport_service.airport_code AND flight.to_airport = airport.airport_code | [
10919,
13956,
422,
597,
1748,
1956,
379,
20553,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
9003,
13,
958,
634,
62,
8189,
796,
705,
44,
7336,
6,
5357,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
13956,
422,
597,
1748,
1956,
379,
20553,
33635,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
11,
5474,
33411,
9003,
13,
958,
634,
62,
8189,
796,
705,
44,
7336,
6,
5357,
1... |
how many hours have elapsed since the last time patient 022-187132 received a treatment during the current hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-18713... | [
4919,
867,
2250,
423,
42118,
1201,
262,
938,
640,
5827,
657,
1828,
12,
23451,
19924,
2722,
257,
3513,
1141,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2250,
423,
42118,
1201,
262,
938,
640,
5827,
657,
1828,
12,
23451,
19924,
2722,
257,
3513,
1141,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
... |
Find the name of the customer who made the order of the largest amount of goods. | SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t3.order_quantity = (SELECT MAX(order_quantity) FROM order_items) | [
16742,
262,
1438,
286,
262,
6491,
508,
925,
262,
1502,
286,
262,
4387,
2033,
286,
7017,
13,
46506,
256,
16,
13,
23144,
263,
62,
3672,
16034,
4297,
7054,
256,
16,
32357,
1268,
6491,
62,
6361,
7054,
256,
17,
6177,
256,
16,
13,
23144,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1438,
286,
262,
6491,
508,
925,
262,
1502,
286,
262,
4387,
2033,
286,
7017,
13,
46506,
256,
16,
13,
23144,
263,
62,
3672,
16034,
4297,
7054,
256,
16,
32357,
1268,
6491,
62,
6361,
7054,
256,
17,
6177,
256,
16,
13,
23144,
... |
What are the minutes of the Player from Real Madrid Club with a Rank of 7 or larger? | SELECT SUM(minutes) FROM table_name_73 WHERE rank > 7 AND club = "real madrid" | [
2061,
389,
262,
2431,
286,
262,
7853,
422,
6416,
14708,
6289,
351,
257,
10916,
286,
767,
393,
4025,
30,
46506,
35683,
7,
1084,
1769,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
4279,
1875,
767,
5357,
3430,
796,
366,
5305,
8805,
6058,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2431,
286,
262,
7853,
422,
6416,
14708,
6289,
351,
257,
10916,
286,
767,
393,
4025,
30,
46506,
35683,
7,
1084,
1769,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
4279,
1875,
767,
5357,
3430,
796,
366,
5305,
8805,
6058,
... |
Callsign of 6nan has what purpose? | SELECT "Purpose" FROM table_5964 WHERE "Callsign" = '6nan' | [
34,
5691,
570,
286,
718,
12647,
468,
644,
4007,
30,
46506,
366,
30026,
3455,
1,
16034,
3084,
62,
3270,
2414,
33411,
366,
34,
5691,
570,
1,
796,
705,
21,
12647,
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
] | [
34,
5691,
570,
286,
718,
12647,
468,
644,
4007,
30,
46506,
366,
30026,
3455,
1,
16034,
3084,
62,
3270,
2414,
33411,
366,
34,
5691,
570,
1,
796,
705,
21,
12647,
6
] |
is since 1 year ago patient 42473 diagnosed with hx of past noncompliance? | SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'hx of past noncompliance') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 42473) AND DATETIME(diagnose... | [
271,
1201,
352,
614,
2084,
5827,
48252,
4790,
14641,
351,
289,
87,
286,
1613,
1729,
47587,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
271,
1201,
352,
614,
2084,
5827,
48252,
4790,
14641,
351,
289,
87,
286,
1613,
1729,
47587,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
40567,
62,
291,
67,
33411,
40567,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,... |
what 's the earliest flight from PHOENIX to SALT LAKE CITY | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHOENIX' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SALT ... | [
10919,
705,
82,
262,
14555,
5474,
422,
9370,
46,
1677,
10426,
284,
311,
31429,
9131,
7336,
27993,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
705,
82,
262,
14555,
5474,
422,
9370,
46,
1677,
10426,
284,
311,
31429,
9131,
7336,
27993,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
... |
What's the original season in 11th place? | SELECT original_season FROM table_name_15 WHERE placing = "11th place" | [
2061,
338,
262,
2656,
1622,
287,
1367,
400,
1295,
30,
46506,
2656,
62,
6230,
16034,
3084,
62,
3672,
62,
1314,
33411,
12560,
796,
366,
1157,
400,
1295,
1
] | [
1,
1,
1,
1,
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,
2656,
1622,
287,
1367,
400,
1295,
30,
46506,
2656,
62,
6230,
16034,
3084,
62,
3672,
62,
1314,
33411,
12560,
796,
366,
1157,
400,
1295,
1
] |
Who is the losing pitcher when the winning pitcher is roy oswalt? | SELECT losing_pitcher FROM table_12125069_2 WHERE winning_pitcher = "Roy Oswalt" | [
8241,
318,
262,
6078,
18086,
618,
262,
5442,
18086,
318,
10611,
267,
2032,
2501,
30,
46506,
6078,
62,
15544,
2044,
16034,
3084,
62,
1065,
1065,
1120,
3388,
62,
17,
33411,
5442,
62,
15544,
2044,
796,
366,
32027,
30317,
2501,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
6078,
18086,
618,
262,
5442,
18086,
318,
10611,
267,
2032,
2501,
30,
46506,
6078,
62,
15544,
2044,
16034,
3084,
62,
1065,
1065,
1120,
3388,
62,
17,
33411,
5442,
62,
15544,
2044,
796,
366,
32027,
30317,
2501,
1
] |
What is the average for the gymnast with a 9.9 start value and a total of 9.612? | SELECT AVG("Average") FROM table_51705 WHERE "Start Value" = '9.9' AND "Total" = '9.612' | [
2061,
318,
262,
2811,
329,
262,
38581,
459,
351,
257,
860,
13,
24,
923,
1988,
290,
257,
2472,
286,
860,
13,
43610,
30,
46506,
35224,
7203,
26287,
4943,
16034,
3084,
62,
48170,
2713,
33411,
366,
10434,
11052,
1,
796,
705,
24,
13,
24,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
329,
262,
38581,
459,
351,
257,
860,
13,
24,
923,
1988,
290,
257,
2472,
286,
860,
13,
43610,
30,
46506,
35224,
7203,
26287,
4943,
16034,
3084,
62,
48170,
2713,
33411,
366,
10434,
11052,
1,
796,
705,
24,
13,
24,... |
What are the ids of all moviest hat have not been reviewed by Britanny Harris? | SELECT mid FROM rating EXCEPT SELECT T1.mid FROM rating AS T1 JOIN reviewer AS T2 ON T1.rid = T2.rid WHERE T2.name = "Brittany Harris" | [
2061,
389,
262,
220,
2340,
286,
477,
1409,
6386,
6877,
423,
407,
587,
11765,
416,
2490,
7737,
10026,
30,
46506,
3095,
16034,
7955,
7788,
42006,
33493,
309,
16,
13,
13602,
16034,
7955,
7054,
309,
16,
32357,
1268,
37823,
7054,
309,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
477,
1409,
6386,
6877,
423,
407,
587,
11765,
416,
2490,
7737,
10026,
30,
46506,
3095,
16034,
7955,
7788,
42006,
33493,
309,
16,
13,
13602,
16034,
7955,
7054,
309,
16,
32357,
1268,
37823,
7054,
309,
17,
... |
In which year did he compete in the Universiade? | SELECT "Year" FROM table_77018 WHERE "Competition" = 'universiade' | [
818,
543,
614,
750,
339,
9320,
287,
262,
26986,
72,
671,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
3324,
29159,
33411,
366,
7293,
15620,
1,
796,
705,
403,
1191,
72,
671,
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
] | [
818,
543,
614,
750,
339,
9320,
287,
262,
26986,
72,
671,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
3324,
29159,
33411,
366,
7293,
15620,
1,
796,
705,
403,
1191,
72,
671,
6
] |
Overall pick 240 was a pick in which round? | SELECT "Round" FROM table_16060 WHERE "Overall" = '240' | [
16350,
2298,
14956,
373,
257,
2298,
287,
543,
2835,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
14198,
1899,
33411,
366,
16350,
1,
796,
705,
16102,
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
] | [
16350,
2298,
14956,
373,
257,
2298,
287,
543,
2835,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
14198,
1899,
33411,
366,
16350,
1,
796,
705,
16102,
6
] |
How many papers has david blei published in nips ? | SELECT DISTINCT COUNT(paper.paperid) FROM author, paper, venue, writes WHERE author.authorname = 'david blei' AND venue.venueid = paper.venueid AND venue.venuename = 'nips' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | [
2437,
867,
9473,
468,
21970,
7245,
72,
3199,
287,
299,
2419,
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,
67,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
9473,
468,
21970,
7245,
72,
3199,
287,
299,
2419,
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,
67,
8... |
What is the average amount of goals that have a goal difference or 8 and the losses are smaller than 12? | SELECT AVG("Goals for") FROM table_33103 WHERE "Goal Difference" = '8' AND "Losses" < '12' | [
2061,
318,
262,
2811,
2033,
286,
4661,
326,
423,
257,
3061,
3580,
393,
807,
290,
262,
9089,
389,
4833,
621,
1105,
30,
46506,
35224,
7203,
5247,
874,
329,
4943,
16034,
3084,
62,
2091,
15197,
33411,
366,
49045,
43795,
1,
796,
705,
23,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2033,
286,
4661,
326,
423,
257,
3061,
3580,
393,
807,
290,
262,
9089,
389,
4833,
621,
1105,
30,
46506,
35224,
7203,
5247,
874,
329,
4943,
16034,
3084,
62,
2091,
15197,
33411,
366,
49045,
43795,
1,
796,
705,
23,
... |
What's the format of the season that ended on June 25? | SELECT format FROM table_1949994_7 WHERE end_date = "June 25" | [
2061,
338,
262,
5794,
286,
262,
1622,
326,
4444,
319,
2795,
1679,
30,
46506,
5794,
16034,
3084,
62,
22913,
2079,
5824,
62,
22,
33411,
886,
62,
4475,
796,
366,
15749,
1679,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
5794,
286,
262,
1622,
326,
4444,
319,
2795,
1679,
30,
46506,
5794,
16034,
3084,
62,
22913,
2079,
5824,
62,
22,
33411,
886,
62,
4475,
796,
366,
15749,
1679,
1
] |
Which club has a try bonus of 9 and 43 tries against? | SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "9" | [
13828,
3430,
468,
257,
1949,
7202,
286,
860,
290,
5946,
8404,
1028,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
2548,
33411,
8404,
62,
32826,
796,
366,
3559,
1,
5357,
1949,
62,
4189,
385,
796,
366,
24,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3430,
468,
257,
1949,
7202,
286,
860,
290,
5946,
8404,
1028,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
2548,
33411,
8404,
62,
32826,
796,
366,
3559,
1,
5357,
1949,
62,
4189,
385,
796,
366,
24,
1
] |
Which manufacturer has 8 laps? | SELECT "Manufacturer" FROM table_45527 WHERE "Laps" = '8' | [
13828,
11554,
468,
807,
24590,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
30505,
1983,
33411,
366,
43,
1686,
1,
796,
705,
23,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
11554,
468,
807,
24590,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
30505,
1983,
33411,
366,
43,
1686,
1,
796,
705,
23,
6
] |
How many draws have a Cambridge United career of 2008 2009 and less than 13 losses? | SELECT COUNT(drawn) FROM table_name_2 WHERE cambridge_united_career = "2008–2009" AND lost < 13 | [
2437,
867,
14293,
423,
257,
14457,
1578,
3451,
286,
3648,
3717,
290,
1342,
621,
1511,
9089,
30,
46506,
327,
28270,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
12172,
9458,
62,
41187,
62,
6651,
263,
796,
366,
11528,
1906,
10531,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14293,
423,
257,
14457,
1578,
3451,
286,
3648,
3717,
290,
1342,
621,
1511,
9089,
30,
46506,
327,
28270,
7,
41549,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
12172,
9458,
62,
41187,
62,
6651,
263,
796,
366,
11528,
1906,
10531,... |
How many civilians died in the conflict that left 231 members of the military dead? | SELECT "Civilian deaths" FROM table_61261 WHERE "Military deaths" = '231' | [
2437,
867,
10380,
3724,
287,
262,
5358,
326,
1364,
34598,
1866,
286,
262,
2422,
2636,
30,
46506,
366,
32610,
666,
7040,
1,
16034,
3084,
62,
43610,
5333,
33411,
366,
37837,
7040,
1,
796,
705,
25667,
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
] | [
2437,
867,
10380,
3724,
287,
262,
5358,
326,
1364,
34598,
1866,
286,
262,
2422,
2636,
30,
46506,
366,
32610,
666,
7040,
1,
16034,
3084,
62,
43610,
5333,
33411,
366,
37837,
7040,
1,
796,
705,
25667,
6
] |
Name the winner for jan 24 | SELECT winner FROM table_25938117_1 WHERE date = "Jan 24" | [
5376,
262,
8464,
329,
42897,
1987,
46506,
8464,
16034,
3084,
62,
25191,
2548,
17657,
62,
16,
33411,
3128,
796,
366,
12128,
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
] | [
5376,
262,
8464,
329,
42897,
1987,
46506,
8464,
16034,
3084,
62,
25191,
2548,
17657,
62,
16,
33411,
3128,
796,
366,
12128,
1987,
1
] |
Who was the visiting team when the record was 51 12 4? | SELECT "Visitor" FROM table_6086 WHERE "Record" = '51–12–4' | [
8241,
373,
262,
10013,
1074,
618,
262,
1700,
373,
6885,
1105,
604,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
1899,
4521,
33411,
366,
23739,
1,
796,
705,
4349,
1906,
1065,
1906,
19,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
10013,
1074,
618,
262,
1700,
373,
6885,
1105,
604,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
1899,
4521,
33411,
366,
23739,
1,
796,
705,
4349,
1906,
1065,
1906,
19,
6
] |
Tell me the date for emery and home of ottawa with attendance more than 19,575 | SELECT "Date" FROM table_10094 WHERE "Decision" = 'emery' AND "Attendance" > '19,575' AND "Home" = 'ottawa' | [
24446,
502,
262,
3128,
329,
3165,
88,
290,
1363,
286,
267,
926,
6909,
351,
14858,
517,
621,
678,
11,
36189,
46506,
366,
10430,
1,
16034,
3084,
62,
3064,
5824,
33411,
366,
10707,
1166,
1,
796,
705,
368,
1924,
6,
5357,
366,
8086,
437,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
3128,
329,
3165,
88,
290,
1363,
286,
267,
926,
6909,
351,
14858,
517,
621,
678,
11,
36189,
46506,
366,
10430,
1,
16034,
3084,
62,
3064,
5824,
33411,
366,
10707,
1166,
1,
796,
705,
368,
1924,
6,
5357,
366,
8086,
437,... |
Year of 2006-07 had what studio host? | SELECT "Studio host" FROM table_34205 WHERE "Year" = '2006-07' | [
17688,
286,
4793,
12,
2998,
550,
644,
8034,
2583,
30,
46506,
366,
41501,
2583,
1,
16034,
3084,
62,
2682,
21261,
33411,
366,
17688,
1,
796,
705,
13330,
12,
2998,
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
] | [
17688,
286,
4793,
12,
2998,
550,
644,
8034,
2583,
30,
46506,
366,
41501,
2583,
1,
16034,
3084,
62,
2682,
21261,
33411,
366,
17688,
1,
796,
705,
13330,
12,
2998,
6
] |
What is the title of the Series 40 Season 5 show? | SELECT "Title" FROM table_30095 WHERE "Season #" = '5' | [
2061,
318,
262,
3670,
286,
262,
7171,
2319,
7369,
642,
905,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
6200,
3865,
33411,
366,
18960,
1303,
1,
796,
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
] | [
2061,
318,
262,
3670,
286,
262,
7171,
2319,
7369,
642,
905,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
6200,
3865,
33411,
366,
18960,
1303,
1,
796,
705,
20,
6
] |
What is the Plyff team that plays the Billings Outlaws? | SELECT plyff FROM table_name_21 WHERE opponent = "billings outlaws" | [
2061,
318,
262,
36526,
487,
1074,
326,
5341,
262,
3941,
654,
3806,
29317,
30,
46506,
35960,
487,
16034,
3084,
62,
3672,
62,
2481,
33411,
6125,
796,
366,
35546,
654,
23716,
82,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
36526,
487,
1074,
326,
5341,
262,
3941,
654,
3806,
29317,
30,
46506,
35960,
487,
16034,
3084,
62,
3672,
62,
2481,
33411,
6125,
796,
366,
35546,
654,
23716,
82,
1
] |
What is the highest round number for donnie caraway? | SELECT MAX("Round") FROM table_77233 WHERE "Name" = 'donnie caraway' | [
2061,
318,
262,
4511,
2835,
1271,
329,
836,
11952,
1097,
8272,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
3324,
25429,
33411,
366,
5376,
1,
796,
705,
9099,
11952,
1097,
8272,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
2835,
1271,
329,
836,
11952,
1097,
8272,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
3324,
25429,
33411,
366,
5376,
1,
796,
705,
9099,
11952,
1097,
8272,
6
] |
What were the official itv ratings in millions for the episode with a total of 8.53 million itv viewers | SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE total_itv_viewers__millions_ = "8.53" | [
2061,
547,
262,
1743,
340,
85,
10109,
287,
5242,
329,
262,
4471,
351,
257,
2472,
286,
807,
13,
4310,
1510,
340,
85,
10209,
46506,
1743,
62,
270,
85,
62,
8821,
834,
17805,
507,
62,
16034,
3084,
62,
27367,
1129,
24839,
62,
22,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
1743,
340,
85,
10109,
287,
5242,
329,
262,
4471,
351,
257,
2472,
286,
807,
13,
4310,
1510,
340,
85,
10209,
46506,
1743,
62,
270,
85,
62,
8821,
834,
17805,
507,
62,
16034,
3084,
62,
27367,
1129,
24839,
62,
22,
33411,
... |
What is the manufacturer with a 14 grid? | SELECT "Manufacturer" FROM table_48801 WHERE "Grid" = '14' | [
2061,
318,
262,
11554,
351,
257,
1478,
10706,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
33646,
486,
33411,
366,
41339,
1,
796,
705,
1415,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
11554,
351,
257,
1478,
10706,
30,
46506,
366,
44445,
15051,
1,
16034,
3084,
62,
33646,
486,
33411,
366,
41339,
1,
796,
705,
1415,
6
] |
What is Date, when Matches is less than 32, and when Round is Fifth Round Proper? | SELECT "Date" FROM table_40196 WHERE "Matches" < '32' AND "Round" = 'fifth round proper' | [
2061,
318,
7536,
11,
618,
6550,
2052,
318,
1342,
621,
3933,
11,
290,
618,
10485,
318,
19383,
10485,
45989,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
21844,
4846,
33411,
366,
19044,
2052,
1,
1279,
705,
2624,
6,
5357,
366,
22685,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7536,
11,
618,
6550,
2052,
318,
1342,
621,
3933,
11,
290,
618,
10485,
318,
19383,
10485,
45989,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
21844,
4846,
33411,
366,
19044,
2052,
1,
1279,
705,
2624,
6,
5357,
366,
22685,
1,
... |
What is the to par for the player with winnings of 49,500? | SELECT "To par" FROM table_12713 WHERE "Money ( \u00a3 )" = '49,500' | [
2061,
318,
262,
284,
1582,
329,
262,
2137,
351,
1592,
23400,
286,
5125,
11,
4059,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
16799,
1485,
33411,
366,
26788,
357,
3467,
84,
405,
64,
18,
1267,
1,
796,
705,
2920,
11,
4059,
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,
318,
262,
284,
1582,
329,
262,
2137,
351,
1592,
23400,
286,
5125,
11,
4059,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
16799,
1485,
33411,
366,
26788,
357,
3467,
84,
405,
64,
18,
1267,
1,
796,
705,
2920,
11,
4059,
6
] |
How many times was the candidates paul tsongas (d) 60.6% paul w. cronin (r) 39.4%? | SELECT COUNT("Incumbent") FROM table_18353 WHERE "Candidates" = 'Paul Tsongas (D) 60.6% Paul W. Cronin (R) 39.4%' | [
2437,
867,
1661,
373,
262,
5871,
279,
2518,
256,
34050,
292,
357,
67,
8,
3126,
13,
21,
4,
279,
2518,
266,
13,
1067,
261,
259,
357,
81,
8,
5014,
13,
19,
4,
30,
46506,
327,
28270,
7203,
25517,
2178,
298,
4943,
16034,
3084,
62,
150... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
373,
262,
5871,
279,
2518,
256,
34050,
292,
357,
67,
8,
3126,
13,
21,
4,
279,
2518,
266,
13,
1067,
261,
259,
357,
81,
8,
5014,
13,
19,
4,
30,
46506,
327,
28270,
7203,
25517,
2178,
298,
4943,
16034,
3084,
62,
150... |
What is their record on April 2? | SELECT "Record" FROM table_6117 WHERE "Date" = 'april 2' | [
2061,
318,
511,
1700,
319,
3035,
362,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
21,
17657,
33411,
366,
10430,
1,
796,
705,
499,
22379,
362,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
511,
1700,
319,
3035,
362,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
21,
17657,
33411,
366,
10430,
1,
796,
705,
499,
22379,
362,
6
] |
Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385? | SELECT "Rider" FROM table_41269 WHERE "Laps" > '5' AND "Grid" > '29' AND "Bike" = 'honda cbr600rr' AND "Time" = '+1:27.385' | [
8241,
373,
262,
17876,
351,
517,
621,
642,
24590,
319,
257,
10706,
5749,
621,
2808,
319,
257,
20059,
10078,
49,
8054,
21095,
290,
640,
379,
1343,
16,
25,
1983,
13,
27203,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
39226,
3388,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17876,
351,
517,
621,
642,
24590,
319,
257,
10706,
5749,
621,
2808,
319,
257,
20059,
10078,
49,
8054,
21095,
290,
640,
379,
1343,
16,
25,
1983,
13,
27203,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
39226,
3388,
33... |
How many items were listed under world rank under the nation of Nigeria? | SELECT COUNT("World rank") FROM table_25054 WHERE "Nation" = 'Nigeria' | [
2437,
867,
3709,
547,
5610,
739,
995,
4279,
739,
262,
3277,
286,
19398,
30,
46506,
327,
28270,
7203,
10603,
4279,
4943,
16034,
3084,
62,
9031,
4051,
33411,
366,
46108,
1,
796,
705,
45,
328,
5142,
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
] | [
2437,
867,
3709,
547,
5610,
739,
995,
4279,
739,
262,
3277,
286,
19398,
30,
46506,
327,
28270,
7203,
10603,
4279,
4943,
16034,
3084,
62,
9031,
4051,
33411,
366,
46108,
1,
796,
705,
45,
328,
5142,
6
] |
Who was the Man of the Match when they played the Romford Raiders at home? | SELECT "Man of the Match" FROM table_51077 WHERE "Venue" = 'home' AND "Opponent" = 'romford raiders' | [
8241,
373,
262,
1869,
286,
262,
13225,
618,
484,
2826,
262,
3570,
3841,
16120,
379,
1363,
30,
46506,
366,
5124,
286,
262,
13225,
1,
16034,
3084,
62,
33690,
3324,
33411,
366,
37522,
518,
1,
796,
705,
11195,
6,
5357,
366,
27524,
3471,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1869,
286,
262,
13225,
618,
484,
2826,
262,
3570,
3841,
16120,
379,
1363,
30,
46506,
366,
5124,
286,
262,
13225,
1,
16034,
3084,
62,
33690,
3324,
33411,
366,
37522,
518,
1,
796,
705,
11195,
6,
5357,
366,
27524,
3471,
... |
Who was the away team on 30 January 1988, when the home team was Everton? | SELECT away_team FROM table_name_45 WHERE home_team = "everton" AND date = "30 january 1988" | [
8241,
373,
262,
1497,
1074,
319,
1542,
3269,
12122,
11,
618,
262,
1363,
1074,
373,
27227,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2231,
33411,
1363,
62,
15097,
796,
366,
964,
1122,
1,
5357,
3128,
796,
366,
1270,
42897,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
1497,
1074,
319,
1542,
3269,
12122,
11,
618,
262,
1363,
1074,
373,
27227,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2231,
33411,
1363,
62,
15097,
796,
366,
964,
1122,
1,
5357,
3128,
796,
366,
1270,
42897,
... |
Which Grand Prix was won by a car constructed by Jordan - Mugen-Honda? | SELECT "Grand Prix" FROM table_187 WHERE "Winning Constructor" = 'Jordan - Mugen-Honda' | [
13828,
5675,
23832,
373,
1839,
416,
257,
1097,
12006,
416,
8078,
532,
25841,
268,
12,
39,
13533,
30,
46506,
366,
23581,
23832,
1,
16034,
3084,
62,
23451,
33411,
366,
16643,
768,
28407,
273,
1,
796,
705,
34522,
532,
25841,
268,
12,
39,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5675,
23832,
373,
1839,
416,
257,
1097,
12006,
416,
8078,
532,
25841,
268,
12,
39,
13533,
30,
46506,
366,
23581,
23832,
1,
16034,
3084,
62,
23451,
33411,
366,
16643,
768,
28407,
273,
1,
796,
705,
34522,
532,
25841,
268,
12,
39,... |
Name the lower index kcal/ nm3 for 61.32 | SELECT lower_index_kcal__nm_3 FROM table_1868929_1 WHERE upper_index_mj__nm_3 = "61.32" | [
5376,
262,
2793,
6376,
49504,
14,
28642,
18,
329,
8454,
13,
2624,
46506,
2793,
62,
9630,
62,
74,
9948,
834,
21533,
62,
18,
16034,
3084,
62,
1507,
40523,
1959,
62,
16,
33411,
6727,
62,
9630,
62,
76,
73,
834,
21533,
62,
18,
796,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2793,
6376,
49504,
14,
28642,
18,
329,
8454,
13,
2624,
46506,
2793,
62,
9630,
62,
74,
9948,
834,
21533,
62,
18,
16034,
3084,
62,
1507,
40523,
1959,
62,
16,
33411,
6727,
62,
9630,
62,
76,
73,
834,
21533,
62,
18,
796,
366... |
Tell me the result for 15 july | SELECT "Result" FROM table_31804 WHERE "Date" = '15 july' | [
24446,
502,
262,
1255,
329,
1315,
474,
2062,
46506,
366,
23004,
1,
16034,
3084,
62,
36042,
3023,
33411,
366,
10430,
1,
796,
705,
1314,
474,
2062,
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
] | [
24446,
502,
262,
1255,
329,
1315,
474,
2062,
46506,
366,
23004,
1,
16034,
3084,
62,
36042,
3023,
33411,
366,
10430,
1,
796,
705,
1314,
474,
2062,
6
] |
What is the average lane of the athlete from japan with a time of 4:37.35 and a heat less than 3? | SELECT AVG("Lane") FROM table_63042 WHERE "Nationality" = 'japan' AND "Time" = '4:37.35' AND "Heat" < '3' | [
2061,
318,
262,
2811,
11193,
286,
262,
16076,
422,
474,
2674,
351,
257,
640,
286,
604,
25,
2718,
13,
2327,
290,
257,
4894,
1342,
621,
513,
30,
46506,
35224,
7203,
43,
1531,
4943,
16034,
3084,
62,
30005,
3682,
33411,
366,
16186,
414,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11193,
286,
262,
16076,
422,
474,
2674,
351,
257,
640,
286,
604,
25,
2718,
13,
2327,
290,
257,
4894,
1342,
621,
513,
30,
46506,
35224,
7203,
43,
1531,
4943,
16034,
3084,
62,
30005,
3682,
33411,
366,
16186,
414,
... |
Name the city of license which has age Watt of 160 watts | SELECT "City of License" FROM table_15539 WHERE "age Watt" = '160 watts' | [
5376,
262,
1748,
286,
5964,
543,
468,
2479,
30263,
286,
13454,
36416,
46506,
366,
14941,
286,
13789,
1,
16034,
3084,
62,
18742,
2670,
33411,
366,
496,
30263,
1,
796,
705,
14198,
36416,
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
] | [
5376,
262,
1748,
286,
5964,
543,
468,
2479,
30263,
286,
13454,
36416,
46506,
366,
14941,
286,
13789,
1,
16034,
3084,
62,
18742,
2670,
33411,
366,
496,
30263,
1,
796,
705,
14198,
36416,
6
] |
What was the date of the game when the Lightning had a record of 9 8 1? | SELECT date FROM table_name_58 WHERE record = "9–8–1" | [
2061,
373,
262,
3128,
286,
262,
983,
618,
262,
12469,
550,
257,
1700,
286,
860,
807,
352,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3365,
33411,
1700,
796,
366,
24,
1906,
23,
1906,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
262,
983,
618,
262,
12469,
550,
257,
1700,
286,
860,
807,
352,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3365,
33411,
1700,
796,
366,
24,
1906,
23,
1906,
16,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.