instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Draw a bar chart for what are the id and name of the mountains that have at least 2 photos?, sort by the bars in descending. | SELECT T1.name, T1.id FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id ORDER BY T1.name DESC | [
25302,
257,
2318,
8262,
329,
644,
389,
262,
4686,
290,
1438,
286,
262,
12269,
326,
423,
379,
1551,
362,
5205,
21747,
3297,
416,
262,
9210,
287,
31491,
13,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
312,
16034,
8598,
7054,
309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
25302,
257,
2318,
8262,
329,
644,
389,
262,
4686,
290,
1438,
286,
262,
12269,
326,
423,
379,
1551,
362,
5205,
21747,
3297,
416,
262,
9210,
287,
31491,
13,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
312,
16034,
8598,
7054,
309,
16,
... |
Which state does congressman jim demint represent? | SELECT state FROM table_20803065_1 WHERE senator = "Jim DeMint" | [
13828,
1181,
857,
29545,
474,
320,
1357,
600,
2380,
30,
46506,
1181,
16034,
3084,
62,
1238,
1795,
1270,
2996,
62,
16,
33411,
12329,
796,
366,
18050,
1024,
44,
600,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1181,
857,
29545,
474,
320,
1357,
600,
2380,
30,
46506,
1181,
16034,
3084,
62,
1238,
1795,
1270,
2996,
62,
16,
33411,
12329,
796,
366,
18050,
1024,
44,
600,
1
] |
when did patient 012-40970 come into the hospital through the step-down unit (sdu) until 2 years ago for the first time? | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '012-40970' AND patient.hospitaladmitsource = 'step-down unit (sdu)' AND DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-2 year') ORDER BY patient.hospitaladmittime LIMIT 1 | [
12518,
750,
5827,
5534,
17,
12,
29416,
2154,
1282,
656,
262,
4436,
832,
262,
2239,
12,
2902,
4326,
357,
82,
646,
8,
1566,
362,
812,
2084,
329,
262,
717,
640,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
5534,
17,
12,
29416,
2154,
1282,
656,
262,
4436,
832,
262,
2239,
12,
2902,
4326,
357,
82,
646,
8,
1566,
362,
812,
2084,
329,
262,
717,
640,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,... |
What are names of patients who made an appointment? | SELECT name FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn | [
2061,
389,
3891,
286,
3871,
508,
925,
281,
12557,
30,
46506,
1438,
16034,
12557,
7054,
309,
16,
32357,
1268,
5827,
7054,
309,
17,
6177,
309,
16,
13,
26029,
796,
309,
17,
13,
824,
77
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3891,
286,
3871,
508,
925,
281,
12557,
30,
46506,
1438,
16034,
12557,
7054,
309,
16,
32357,
1268,
5827,
7054,
309,
17,
6177,
309,
16,
13,
26029,
796,
309,
17,
13,
824,
77
] |
Show different locations and the number of performances at each location Visualize by bar chart, and display by the Y-axis in descending. | SELECT Location, COUNT(*) FROM performance GROUP BY Location ORDER BY COUNT(*) DESC | [
15307,
1180,
7064,
290,
262,
1271,
286,
13289,
379,
1123,
4067,
15612,
1096,
416,
2318,
8262,
11,
290,
3359,
416,
262,
575,
12,
22704,
287,
31491,
13,
46506,
13397,
11,
327,
28270,
7,
28104,
16034,
2854,
44441,
11050,
13397,
38678,
1105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
1180,
7064,
290,
262,
1271,
286,
13289,
379,
1123,
4067,
15612,
1096,
416,
2318,
8262,
11,
290,
3359,
416,
262,
575,
12,
22704,
287,
31491,
13,
46506,
13397,
11,
327,
28270,
7,
28104,
16034,
2854,
44441,
11050,
13397,
38678,
1105... |
has patient 59049 had a lab test of neutrophils during this year? | SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'neutrophils') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 59049) AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TI... | [
10134,
5827,
642,
3829,
2920,
550,
257,
2248,
1332,
286,
22190,
10051,
4487,
1141,
428,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10134,
5827,
642,
3829,
2920,
550,
257,
2248,
1332,
286,
22190,
10051,
4487,
1141,
428,
614,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,... |
Top asp.net users from Pakistan. | SELECT * FROM Users AS us WHERE us.DisplayName LIKE '%haider%' AND Location LIKE '%islamabad%' | [
9126,
355,
79,
13,
3262,
2985,
422,
7648,
13,
46506,
1635,
16034,
18987,
7054,
514,
33411,
514,
13,
23114,
5376,
34178,
705,
4,
3099,
1304,
4,
6,
5357,
13397,
34178,
705,
4,
271,
2543,
17325,
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
] | [
9126,
355,
79,
13,
3262,
2985,
422,
7648,
13,
46506,
1635,
16034,
18987,
7054,
514,
33411,
514,
13,
23114,
5376,
34178,
705,
4,
3099,
1304,
4,
6,
5357,
13397,
34178,
705,
4,
271,
2543,
17325,
4,
6
] |
for goals less than 48 and 8 games played what is the count of losses? | SELECT MAX("Losses") FROM table_14496 WHERE "Games Played" = '8' AND "Goals For" < '48' | [
1640,
4661,
1342,
621,
4764,
290,
807,
1830,
2826,
644,
318,
262,
954,
286,
9089,
30,
46506,
25882,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
1415,
37747,
33411,
366,
24474,
33101,
1,
796,
705,
23,
6,
5357,
366,
5247,
874,
1114,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4661,
1342,
621,
4764,
290,
807,
1830,
2826,
644,
318,
262,
954,
286,
9089,
30,
46506,
25882,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
1415,
37747,
33411,
366,
24474,
33101,
1,
796,
705,
23,
6,
5357,
366,
5247,
874,
1114,
1,... |
What event did Mark Teltscher win? | SELECT event FROM table_name_9 WHERE winner = "mark teltscher" | [
2061,
1785,
750,
2940,
12088,
912,
2044,
1592,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
24,
33411,
8464,
796,
366,
4102,
13632,
912,
2044,
1
] | [
1,
1,
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,
1785,
750,
2940,
12088,
912,
2044,
1592,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
24,
33411,
8464,
796,
366,
4102,
13632,
912,
2044,
1
] |
Tell me the average year for my queen | SELECT AVG(year) FROM table_name_65 WHERE english_title = "my queen" | [
24446,
502,
262,
2811,
614,
329,
616,
16599,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2996,
33411,
46932,
62,
7839,
796,
366,
1820,
16599,
1
] | [
1,
1,
1,
1,
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,
2811,
614,
329,
616,
16599,
46506,
35224,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2996,
33411,
46932,
62,
7839,
796,
366,
1820,
16599,
1
] |
Most repeated comments on Super User. | SELECT COUNT(*) AS Number, Text, AVG(CAST(Score AS FLOAT(6, 2))) AS AvgScore FROM Comments GROUP BY Text HAVING COUNT(*) >= 5 ORDER BY Number DESC, AvgScore DESC LIMIT 1000 | [
6943,
5100,
3651,
319,
3115,
11787,
13,
46506,
327,
28270,
7,
28104,
7054,
7913,
11,
8255,
11,
35224,
7,
44647,
7,
26595,
7054,
9977,
46,
1404,
7,
21,
11,
362,
22305,
7054,
33455,
26595,
16034,
19502,
44441,
11050,
8255,
367,
10116,
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
] | [
6943,
5100,
3651,
319,
3115,
11787,
13,
46506,
327,
28270,
7,
28104,
7054,
7913,
11,
8255,
11,
35224,
7,
44647,
7,
26595,
7054,
9977,
46,
1404,
7,
21,
11,
362,
22305,
7054,
33455,
26595,
16034,
19502,
44441,
11050,
8255,
367,
10116,
2... |
Show me the total number by studio in a histogram, and rank by the Y in descending please. | SELECT Studio, COUNT(*) FROM film GROUP BY Studio ORDER BY COUNT(*) DESC | [
15307,
502,
262,
2472,
1271,
416,
8034,
287,
257,
1554,
21857,
11,
290,
4279,
416,
262,
575,
287,
31491,
3387,
13,
46506,
11733,
11,
327,
28270,
7,
28104,
16034,
2646,
44441,
11050,
11733,
38678,
11050,
327,
28270,
7,
28104,
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
] | [
15307,
502,
262,
2472,
1271,
416,
8034,
287,
257,
1554,
21857,
11,
290,
4279,
416,
262,
575,
287,
31491,
3387,
13,
46506,
11733,
11,
327,
28270,
7,
28104,
16034,
2646,
44441,
11050,
11733,
38678,
11050,
327,
28270,
7,
28104,
22196,
34
] |
What's the number of starts in the year with 19.3 average finish? | SELECT MIN(starts) FROM table_1909647_2 WHERE avg_finish = "19.3" | [
2061,
338,
262,
1271,
286,
4940,
287,
262,
614,
351,
678,
13,
18,
2811,
5461,
30,
46506,
20625,
7,
301,
5889,
8,
16034,
3084,
62,
1129,
2931,
33981,
62,
17,
33411,
42781,
62,
15643,
680,
796,
366,
1129,
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
] | [
2061,
338,
262,
1271,
286,
4940,
287,
262,
614,
351,
678,
13,
18,
2811,
5461,
30,
46506,
20625,
7,
301,
5889,
8,
16034,
3084,
62,
1129,
2931,
33981,
62,
17,
33411,
42781,
62,
15643,
680,
796,
366,
1129,
13,
18,
1
] |
what is minimum days of hospital stay of patients whose primary disease is left colon cancer? | SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "LEFT COLON CANCER" | [
10919,
318,
5288,
1528,
286,
4436,
2652,
286,
3871,
3025,
4165,
4369,
318,
1364,
7633,
4890,
30,
46506,
20625,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
2538,
9792,
20444,
1340,
15628... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
1528,
286,
4436,
2652,
286,
3871,
3025,
4165,
4369,
318,
1364,
7633,
4890,
30,
46506,
20625,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
2538,
9792,
20444,
1340,
15628... |
Count posts that have imgur images (probably false positives). Count posts that have imgur images (probably false positives) | SELECT COUNT(*) FROM Posts WHERE Body LIKE '%imgur%' | [
12332,
6851,
326,
423,
33705,
333,
4263,
357,
26949,
3991,
38548,
737,
2764,
6851,
326,
423,
33705,
333,
4263,
357,
26949,
3991,
38548,
8,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
12290,
34178,
705,
4,
19791,
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
] | [
12332,
6851,
326,
423,
33705,
333,
4263,
357,
26949,
3991,
38548,
737,
2764,
6851,
326,
423,
33705,
333,
4263,
357,
26949,
3991,
38548,
8,
46506,
327,
28270,
7,
28104,
16034,
12043,
33411,
12290,
34178,
705,
4,
19791,
4,
6
] |
What is the Original air date for the episode with a Production code of 07-00-107? | SELECT "Original air date" FROM table_41602 WHERE "Production code" = '07-00-107' | [
2061,
318,
262,
13745,
1633,
3128,
329,
262,
4471,
351,
257,
19174,
2438,
286,
8753,
12,
405,
12,
15982,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
35218,
2999,
33411,
366,
35027,
2438,
1,
796,
705,
2998,
12,
405,
12,
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
] | [
2061,
318,
262,
13745,
1633,
3128,
329,
262,
4471,
351,
257,
19174,
2438,
286,
8753,
12,
405,
12,
15982,
30,
46506,
366,
20556,
1633,
3128,
1,
16034,
3084,
62,
35218,
2999,
33411,
366,
35027,
2438,
1,
796,
705,
2998,
12,
405,
12,
15... |
How many Ranks have ray pickrell as a Rider? | SELECT COUNT("Rank") FROM table_74744 WHERE "Rider" = 'ray pickrell' | [
2437,
867,
371,
2283,
423,
26842,
2298,
11252,
355,
257,
16414,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
48882,
2598,
33411,
366,
49,
1304,
1,
796,
705,
2433,
2298,
11252,
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
] | [
2437,
867,
371,
2283,
423,
26842,
2298,
11252,
355,
257,
16414,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
48882,
2598,
33411,
366,
49,
1304,
1,
796,
705,
2433,
2298,
11252,
6
] |
What is the highest number of games with 1 loss and points less than 18? | SELECT MAX(games) FROM table_name_9 WHERE lost = 1 AND points < 18 | [
2061,
318,
262,
4511,
1271,
286,
1830,
351,
352,
2994,
290,
2173,
1342,
621,
1248,
30,
46506,
25882,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
2626,
796,
352,
5357,
2173,
1279,
1248
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
1830,
351,
352,
2994,
290,
2173,
1342,
621,
1248,
30,
46506,
25882,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
2626,
796,
352,
5357,
2173,
1279,
1248
] |
How many average laps did brm complete in grids larger than 12? | SELECT AVG(laps) FROM table_name_70 WHERE constructor = "brm" AND grid = 12 | [
2437,
867,
2811,
24590,
750,
865,
76,
1844,
287,
50000,
4025,
621,
1105,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
23772,
796,
366,
1671,
76,
1,
5357,
10706,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2811,
24590,
750,
865,
76,
1844,
287,
50000,
4025,
621,
1105,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
23772,
796,
366,
1671,
76,
1,
5357,
10706,
796,
1105
] |
how many days have elapsed since patient 022-78423 had his first propofol prescription during the current hospital encounter? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', medication.drugstarttime)) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-784... | [
4919,
867,
1528,
423,
42118,
1201,
5827,
657,
1828,
12,
37688,
1954,
550,
465,
717,
2632,
1659,
349,
15077,
1141,
262,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
423,
42118,
1201,
5827,
657,
1828,
12,
37688,
1954,
550,
465,
717,
2632,
1659,
349,
15077,
1141,
262,
1459,
4436,
8791,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
... |
Can you tell me the average Figures that has the Placings of 34, and the Total larger than 1247.51? | SELECT AVG(figures) FROM table_name_63 WHERE placings = 34 AND total > 1247.51 | [
6090,
345,
1560,
502,
262,
2811,
36574,
326,
468,
262,
1345,
330,
654,
286,
4974,
11,
290,
262,
7472,
4025,
621,
1105,
2857,
13,
4349,
30,
46506,
35224,
7,
5647,
942,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
21957,
654,
796,
4974,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6090,
345,
1560,
502,
262,
2811,
36574,
326,
468,
262,
1345,
330,
654,
286,
4974,
11,
290,
262,
7472,
4025,
621,
1105,
2857,
13,
4349,
30,
46506,
35224,
7,
5647,
942,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
21957,
654,
796,
4974,... |
How many laps was qualifier of 138.212? | SELECT laps FROM table_name_4 WHERE qual = "138.212" | [
2437,
867,
24590,
373,
39265,
286,
21503,
13,
21777,
30,
46506,
24590,
16034,
3084,
62,
3672,
62,
19,
33411,
4140,
796,
366,
20107,
13,
21777,
1
] | [
1,
1,
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,
373,
39265,
286,
21503,
13,
21777,
30,
46506,
24590,
16034,
3084,
62,
3672,
62,
19,
33411,
4140,
796,
366,
20107,
13,
21777,
1
] |
How many Silver medals did the Nation of Croatia receive with a Total medal of more than 1? | SELECT MIN(silver) FROM table_name_3 WHERE bronze = 1 AND total > 1 AND nation = "croatia" | [
2437,
867,
7698,
28057,
750,
262,
8741,
286,
28975,
3328,
351,
257,
7472,
18279,
286,
517,
621,
352,
30,
46506,
20625,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
22101,
796,
352,
5357,
2472,
1875,
352,
5357,
3277,
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
] | [
2437,
867,
7698,
28057,
750,
262,
8741,
286,
28975,
3328,
351,
257,
7472,
18279,
286,
517,
621,
352,
30,
46506,
20625,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
22101,
796,
352,
5357,
2472,
1875,
352,
5357,
3277,
796,
366,
... |
In how many game was the attendance at Staples Center 18,997? | SELECT COUNT("Game") FROM table_1579 WHERE "Location Attendance" = 'Staples Center 18,997' | [
818,
703,
867,
983,
373,
262,
14858,
379,
44419,
3337,
1248,
11,
39647,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
1314,
3720,
33411,
366,
14749,
46502,
590,
1,
796,
705,
1273,
28624,
3337,
1248,
11,
39647,
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
] | [
818,
703,
867,
983,
373,
262,
14858,
379,
44419,
3337,
1248,
11,
39647,
30,
46506,
327,
28270,
7203,
8777,
4943,
16034,
3084,
62,
1314,
3720,
33411,
366,
14749,
46502,
590,
1,
796,
705,
1273,
28624,
3337,
1248,
11,
39647,
6
] |
tell me the diagnosis price for oliguria - kidney transplant? | SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 'oliguria - kidney transplant') | [
33331,
502,
262,
13669,
2756,
329,
24869,
34484,
532,
21919,
23319,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
47356,
5958,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33331,
502,
262,
13669,
2756,
329,
24869,
34484,
532,
21919,
23319,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
4906,
796,
705,
47356,
5958,
6,
5357,
1575,
13,
15596,
312,
3268,
357,
46506,
13... |
what were the top three most frequent microbiology tests ordered for patients after having received oxygen therapy (> 60%) during the same hospital visit since 2 years ago? | SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'oxygen th... | [
10919,
547,
262,
1353,
1115,
749,
10792,
24559,
1435,
5254,
6149,
329,
3871,
706,
1719,
2722,
11863,
9102,
45160,
3126,
4407,
1141,
262,
976,
4436,
3187,
1201,
362,
812,
2084,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1353,
1115,
749,
10792,
24559,
1435,
5254,
6149,
329,
3871,
706,
1719,
2722,
11863,
9102,
45160,
3126,
4407,
1141,
262,
976,
4436,
3187,
1201,
362,
812,
2084,
30,
46506,
256,
18,
13,
40820,
942,
578,
16034,
357,
46506,
... |
Name the total number of pommel horses for vault of 9.475 and rank more than 16 | SELECT COUNT("Pommel Horse") FROM table_10188 WHERE "Rank" > '16' AND "Vault" = '9.475' | [
5376,
262,
2472,
1271,
286,
279,
48990,
14260,
329,
22563,
286,
860,
13,
32576,
290,
4279,
517,
621,
1467,
46506,
327,
28270,
7203,
47,
48990,
18455,
4943,
16034,
3084,
62,
8784,
3459,
33411,
366,
27520,
1,
1875,
705,
1433,
6,
5357,
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
] | [
5376,
262,
2472,
1271,
286,
279,
48990,
14260,
329,
22563,
286,
860,
13,
32576,
290,
4279,
517,
621,
1467,
46506,
327,
28270,
7203,
47,
48990,
18455,
4943,
16034,
3084,
62,
8784,
3459,
33411,
366,
27520,
1,
1875,
705,
1433,
6,
5357,
3... |
show me the difference between patient 19096's total input and output on 07/09/this year. | SELECT (SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 19096)) AND DATETIME(inputevents_cv.charttime, 'start of year') = DATETIME(CURRENT... | [
12860,
502,
262,
3580,
1022,
5827,
41507,
21,
338,
2472,
5128,
290,
5072,
319,
8753,
14,
2931,
14,
5661,
614,
13,
46506,
357,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
339... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
3580,
1022,
5827,
41507,
21,
338,
2472,
5128,
290,
5072,
319,
8753,
14,
2931,
14,
5661,
614,
13,
46506,
357,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
339... |
What are the number of the titles of all movies that have rating star is between 3 and 5? | SELECT title, COUNT(title) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars BETWEEN 3 AND 5 GROUP BY title | [
2061,
389,
262,
1271,
286,
262,
8714,
286,
477,
6918,
326,
423,
7955,
3491,
318,
1022,
513,
290,
642,
30,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
1271,
286,
262,
8714,
286,
477,
6918,
326,
423,
7955,
3491,
318,
1022,
513,
290,
642,
30,
46506,
3670,
11,
327,
28270,
7,
7839,
8,
16034,
12028,
7054,
309,
16,
32357,
1268,
15875,
7054,
309,
17,
6177,
309,
16,
13,
... |
When has a Status of five nations, and a Against of 7? | SELECT date FROM table_name_71 WHERE status = "five nations" AND against = 7 | [
2215,
468,
257,
12678,
286,
1936,
7027,
11,
290,
257,
12914,
286,
767,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4869,
33411,
3722,
796,
366,
13261,
7027,
1,
5357,
1028,
796,
767
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
257,
12678,
286,
1936,
7027,
11,
290,
257,
12914,
286,
767,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
4869,
33411,
3722,
796,
366,
13261,
7027,
1,
5357,
1028,
796,
767
] |
What pick in round 5 did the 49ers pick Jim Pilot? | SELECT SUM("Pick") FROM table_49895 WHERE "Player" = 'jim pilot' AND "Round" > '5' | [
2061,
2298,
287,
2835,
642,
750,
262,
5125,
364,
2298,
5395,
21697,
30,
46506,
35683,
7203,
31686,
4943,
16034,
3084,
62,
36260,
3865,
33411,
366,
14140,
1,
796,
705,
73,
320,
8022,
6,
5357,
366,
22685,
1,
1875,
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
] | [
2061,
2298,
287,
2835,
642,
750,
262,
5125,
364,
2298,
5395,
21697,
30,
46506,
35683,
7203,
31686,
4943,
16034,
3084,
62,
36260,
3865,
33411,
366,
14140,
1,
796,
705,
73,
320,
8022,
6,
5357,
366,
22685,
1,
1875,
705,
20,
6
] |
What percentage of browsers were using Safari during the period in which 2.05% were using Chrome? | SELECT "Safari" FROM table_65830 WHERE "Chrome" = '2.05%' | [
2061,
5873,
286,
22616,
547,
1262,
23298,
1141,
262,
2278,
287,
543,
362,
13,
2713,
4,
547,
1262,
13282,
30,
46506,
366,
50,
1878,
2743,
1,
16034,
3084,
62,
38431,
1270,
33411,
366,
1925,
5998,
1,
796,
705,
17,
13,
2713,
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
] | [
2061,
5873,
286,
22616,
547,
1262,
23298,
1141,
262,
2278,
287,
543,
362,
13,
2713,
4,
547,
1262,
13282,
30,
46506,
366,
50,
1878,
2743,
1,
16034,
3084,
62,
38431,
1270,
33411,
366,
1925,
5998,
1,
796,
705,
17,
13,
2713,
4,
6
] |
which nation holds first rank ? | SELECT "nation" FROM table_204_383 WHERE "rank" = 1 | [
4758,
3277,
6622,
717,
4279,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
34741,
33411,
366,
43027,
1,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
3277,
6622,
717,
4279,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
34741,
33411,
366,
43027,
1,
796,
352
] |
What is the largest value for goals in rank over 3 with goal ration of 0.54? | SELECT MAX(goals) FROM table_name_53 WHERE rank > 3 AND goal_ratio = 0.54 | [
2061,
318,
262,
4387,
1988,
329,
4661,
287,
4279,
625,
513,
351,
3061,
36535,
286,
657,
13,
4051,
30,
46506,
25882,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
4279,
1875,
513,
5357,
3061,
62,
10366,
952,
796,
657,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
1988,
329,
4661,
287,
4279,
625,
513,
351,
3061,
36535,
286,
657,
13,
4051,
30,
46506,
25882,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
4310,
33411,
4279,
1875,
513,
5357,
3061,
62,
10366,
952,
796,
657,
13,
... |
What is the lowest total medals when there were 0 gold medals, 0 silver medals, and more than 1 bronze medal? | SELECT MIN(total) FROM table_name_77 WHERE bronze > 1 AND silver = 0 AND gold < 0 | [
2061,
318,
262,
9016,
2472,
28057,
618,
612,
547,
657,
3869,
28057,
11,
657,
8465,
28057,
11,
290,
517,
621,
352,
22101,
18279,
30,
46506,
20625,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
22101,
1875,
352,
5357,
8465,
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
] | [
2061,
318,
262,
9016,
2472,
28057,
618,
612,
547,
657,
3869,
28057,
11,
657,
8465,
28057,
11,
290,
517,
621,
352,
22101,
18279,
30,
46506,
20625,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
22101,
1875,
352,
5357,
8465,
796,
... |
Question does not make sense since there was no record of 88-74 | SELECT "Date" FROM table_69965 WHERE "Record" = '88-74' | [
24361,
857,
407,
787,
2565,
1201,
612,
373,
645,
1700,
286,
9193,
12,
4524,
46506,
366,
10430,
1,
16034,
3084,
62,
47325,
2996,
33411,
366,
23739,
1,
796,
705,
3459,
12,
4524,
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
] | [
24361,
857,
407,
787,
2565,
1201,
612,
373,
645,
1700,
286,
9193,
12,
4524,
46506,
366,
10430,
1,
16034,
3084,
62,
47325,
2996,
33411,
366,
23739,
1,
796,
705,
3459,
12,
4524,
6
] |
What is Driver Kimi R ikk nen's number on the grid? | SELECT "Grid" FROM table_31741 WHERE "Driver" = 'kimi räikkönen' | [
2061,
318,
12434,
6502,
72,
371,
220,
36073,
299,
268,
338,
1271,
319,
262,
10706,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
34125,
3901,
33411,
366,
32103,
1,
796,
705,
74,
25236,
374,
11033,
36073,
9101,
38572,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
12434,
6502,
72,
371,
220,
36073,
299,
268,
338,
1271,
319,
262,
10706,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
34125,
3901,
33411,
366,
32103,
1,
796,
705,
74,
25236,
374,
11033,
36073,
9101,
38572,
6
] |
Which Score has smaller than 1994, and a Partner of elizabeth sayers smylie? | SELECT score FROM table_name_54 WHERE year < 1994 AND partner = "elizabeth sayers smylie" | [
13828,
15178,
468,
4833,
621,
9162,
11,
290,
257,
35532,
286,
1288,
9924,
910,
364,
895,
2645,
494,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4051,
33411,
614,
1279,
9162,
5357,
5212,
796,
366,
417,
9924,
910,
364,
895,
2645,
494,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15178,
468,
4833,
621,
9162,
11,
290,
257,
35532,
286,
1288,
9924,
910,
364,
895,
2645,
494,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4051,
33411,
614,
1279,
9162,
5357,
5212,
796,
366,
417,
9924,
910,
364,
895,
2645,
494,
... |
What year did Willis McGahee play fewer than 15 games with the Baltimore Ravens? | SELECT MIN("Year") FROM table_71252 WHERE "Team" = 'baltimore ravens' AND "Games" < '15' | [
2061,
614,
750,
32748,
11130,
64,
21067,
711,
7380,
621,
1315,
1830,
351,
262,
10346,
20091,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
49517,
4309,
33411,
366,
15592,
1,
796,
705,
65,
2501,
9401,
37735,
82,
6,
5357,
366,
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
] | [
2061,
614,
750,
32748,
11130,
64,
21067,
711,
7380,
621,
1315,
1830,
351,
262,
10346,
20091,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
49517,
4309,
33411,
366,
15592,
1,
796,
705,
65,
2501,
9401,
37735,
82,
6,
5357,
366,
2... |
Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23? | SELECT "Rider" FROM table_61102 WHERE "Laps" = '14' AND "Grid" > '23' AND "Bike" = 'honda cbr1000rr' AND "Time" = '+1''04.877' | [
8241,
373,
262,
17876,
508,
1816,
1478,
24590,
319,
257,
20059,
10078,
49,
12825,
21062,
11,
351,
257,
640,
286,
1343,
16,
6,
3023,
13,
42802,
319,
257,
10706,
4025,
621,
2242,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
5333,
153... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
508,
1816,
1478,
24590,
319,
257,
20059,
10078,
49,
12825,
21062,
11,
351,
257,
640,
286,
1343,
16,
6,
3023,
13,
42802,
319,
257,
10706,
4025,
621,
2242,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
5333,
153... |
What is the score of the final in $10,000 tarakan , indonesia f2? | SELECT "Score in Final" FROM table_61185 WHERE "Tournament" = '$10,000 – tarakan , indonesia f2' | [
2061,
318,
262,
4776,
286,
262,
2457,
287,
720,
940,
11,
830,
13422,
461,
272,
837,
773,
1952,
544,
277,
17,
30,
46506,
366,
26595,
287,
8125,
1,
16034,
3084,
62,
21,
1157,
5332,
33411,
366,
51,
5138,
1,
796,
705,
3,
940,
11,
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,
1
] | [
2061,
318,
262,
4776,
286,
262,
2457,
287,
720,
940,
11,
830,
13422,
461,
272,
837,
773,
1952,
544,
277,
17,
30,
46506,
366,
26595,
287,
8125,
1,
16034,
3084,
62,
21,
1157,
5332,
33411,
366,
51,
5138,
1,
796,
705,
3,
940,
11,
83... |
How many artists do not have any album? | SELECT COUNT(*) FROM ARTIST WHERE NOT artistid IN (SELECT artistid FROM ALBUM) | [
2437,
867,
7912,
466,
407,
423,
597,
5062,
30,
46506,
327,
28270,
7,
28104,
16034,
24278,
8808,
33411,
5626,
6802,
312,
3268,
357,
46506,
6802,
312,
16034,
8355,
33,
5883,
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
] | [
2437,
867,
7912,
466,
407,
423,
597,
5062,
30,
46506,
327,
28270,
7,
28104,
16034,
24278,
8808,
33411,
5626,
6802,
312,
3268,
357,
46506,
6802,
312,
16034,
8355,
33,
5883,
8
] |
what is the lowest number of blocks | SELECT MIN("Blocks") FROM table_23171 | [
10919,
318,
262,
9016,
1271,
286,
7021,
46506,
20625,
7203,
45356,
4943,
16034,
3084,
62,
1954,
27192
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
9016,
1271,
286,
7021,
46506,
20625,
7203,
45356,
4943,
16034,
3084,
62,
1954,
27192
] |
after street glory , what song is listed ? | SELECT "title" FROM table_203_38 WHERE "#" = (SELECT "#" FROM table_203_38 WHERE "title" = '"street glory"') + 1 | [
8499,
4675,
13476,
837,
644,
3496,
318,
5610,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
2548,
33411,
25113,
1,
796,
357,
46506,
25113,
1,
16034,
3084,
62,
22416,
62,
2548,
33411,
366,
7839,
1,
796,
705,
1,
25662,
13476,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8499,
4675,
13476,
837,
644,
3496,
318,
5610,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
22416,
62,
2548,
33411,
25113,
1,
796,
357,
46506,
25113,
1,
16034,
3084,
62,
22416,
62,
2548,
33411,
366,
7839,
1,
796,
705,
1,
25662,
13476,
... |
When the driver is innes ireland and they drove under 53 laps, what was the Time/Retired? | SELECT time_retired FROM table_name_10 WHERE laps < 53 AND driver = "innes ireland" | [
2215,
262,
4639,
318,
287,
2516,
35918,
1044,
290,
484,
10357,
739,
7192,
24590,
11,
644,
373,
262,
3862,
14,
9781,
1202,
30,
46506,
640,
62,
1186,
1202,
16034,
3084,
62,
3672,
62,
940,
33411,
24590,
1279,
7192,
5357,
4639,
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
] | [
2215,
262,
4639,
318,
287,
2516,
35918,
1044,
290,
484,
10357,
739,
7192,
24590,
11,
644,
373,
262,
3862,
14,
9781,
1202,
30,
46506,
640,
62,
1186,
1202,
16034,
3084,
62,
3672,
62,
940,
33411,
24590,
1279,
7192,
5357,
4639,
796,
366,
... |
What is the judge's total for Roxanne and Daniel? | SELECT "Judges" FROM table_2131 WHERE "Couple" = 'Roxanne and Daniel' | [
2061,
318,
262,
5052,
338,
2472,
329,
34821,
21952,
290,
7806,
30,
46506,
366,
26141,
3212,
1,
16034,
3084,
62,
17,
22042,
33411,
366,
34,
43846,
1,
796,
705,
49,
1140,
21952,
290,
7806,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5052,
338,
2472,
329,
34821,
21952,
290,
7806,
30,
46506,
366,
26141,
3212,
1,
16034,
3084,
62,
17,
22042,
33411,
366,
34,
43846,
1,
796,
705,
49,
1140,
21952,
290,
7806,
6
] |
how many oth extraoc mus-tend op procedures have taken place during the last year? | SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'oth extraoc mus-tend op') AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') | [
4919,
867,
267,
400,
3131,
420,
1928,
12,
83,
437,
1034,
9021,
423,
2077,
1295,
1141,
262,
938,
614,
30,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
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... | [
4919,
867,
267,
400,
3131,
420,
1928,
12,
83,
437,
1034,
9021,
423,
2077,
1295,
1141,
262,
938,
614,
30,
46506,
327,
28270,
7,
28104,
16034,
9021,
62,
291,
67,
33411,
9021,
62,
291,
67,
13,
291,
67,
24,
62,
8189,
796,
357,
46506,
... |
What order has the Species Authority of hydrochaeris hydrochaeris (linnaeus, 1766)? | SELECT order FROM table_name_84 WHERE species_authority = "hydrochaeris hydrochaeris (linnaeus, 1766)" | [
2061,
1502,
468,
262,
28540,
11416,
286,
17173,
11693,
263,
271,
17173,
11693,
263,
271,
357,
2815,
2616,
27650,
11,
1596,
2791,
19427,
46506,
1502,
16034,
3084,
62,
3672,
62,
5705,
33411,
4693,
62,
9800,
414,
796,
366,
15511,
305,
1169... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1502,
468,
262,
28540,
11416,
286,
17173,
11693,
263,
271,
17173,
11693,
263,
271,
357,
2815,
2616,
27650,
11,
1596,
2791,
19427,
46506,
1502,
16034,
3084,
62,
3672,
62,
5705,
33411,
4693,
62,
9800,
414,
796,
366,
15511,
305,
1169... |
What was marlboro brm's lowest points by using brm p160b? | SELECT MIN(points) FROM table_name_60 WHERE entrant = "marlboro brm" AND chassis = "brm p160b" | [
2061,
373,
1667,
75,
21513,
865,
76,
338,
9016,
2173,
416,
1262,
865,
76,
279,
14198,
65,
30,
46506,
20625,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
920,
5250,
796,
366,
3876,
75,
21513,
865,
76,
1,
5357,
24587,
796,
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
] | [
2061,
373,
1667,
75,
21513,
865,
76,
338,
9016,
2173,
416,
1262,
865,
76,
279,
14198,
65,
30,
46506,
20625,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
920,
5250,
796,
366,
3876,
75,
21513,
865,
76,
1,
5357,
24587,
796,
3... |
What is the outcome of a score that is 6 1, 6 4? | SELECT "Outcome" FROM table_70919 WHERE "Score" = '6–1, 6–4' | [
2061,
318,
262,
8055,
286,
257,
4776,
326,
318,
718,
352,
11,
718,
604,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
31495,
1129,
33411,
366,
26595,
1,
796,
705,
21,
1906,
16,
11,
718,
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,
1,
1,
1,
1
] | [
2061,
318,
262,
8055,
286,
257,
4776,
326,
318,
718,
352,
11,
718,
604,
30,
46506,
366,
7975,
2958,
1,
16034,
3084,
62,
31495,
1129,
33411,
366,
26595,
1,
796,
705,
21,
1906,
16,
11,
718,
1906,
19,
6
] |
What is the Result with a Venue that is filbert street? | SELECT "Result" FROM table_39882 WHERE "Venue" = 'filbert street' | [
2061,
318,
262,
25414,
351,
257,
9932,
518,
326,
318,
1226,
4835,
4675,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2670,
42980,
33411,
366,
37522,
518,
1,
796,
705,
10379,
4835,
4675,
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,
25414,
351,
257,
9932,
518,
326,
318,
1226,
4835,
4675,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2670,
42980,
33411,
366,
37522,
518,
1,
796,
705,
10379,
4835,
4675,
6
] |
Find out the average age of widow patients who are or more than 41 years of age. | SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.age >= "41" | [
16742,
503,
262,
2811,
2479,
286,
27075,
3871,
508,
389,
393,
517,
621,
6073,
812,
286,
2479,
13,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
503,
262,
2811,
2479,
286,
27075,
3871,
508,
389,
393,
517,
621,
6073,
812,
286,
2479,
13,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
54,
2389,
3913,
1961,
1,
535... |
What is the high rebound for June 9? | SELECT high_rebounds FROM table_27723526_17 WHERE date = "June 9" | [
2061,
318,
262,
1029,
23623,
329,
2795,
860,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
27019,
22370,
2075,
62,
1558,
33411,
3128,
796,
366,
15749,
860,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1029,
23623,
329,
2795,
860,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
27019,
22370,
2075,
62,
1558,
33411,
3128,
796,
366,
15749,
860,
1
] |
Bar chart x axis time y axis id, and I want to order X-axis in descending order. | SELECT Time, ID FROM swimmer ORDER BY Time DESC | [
10374,
8262,
2124,
16488,
640,
331,
16488,
4686,
11,
290,
314,
765,
284,
1502,
1395,
12,
22704,
287,
31491,
1502,
13,
46506,
3862,
11,
4522,
16034,
9422,
647,
38678,
11050,
3862,
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
] | [
10374,
8262,
2124,
16488,
640,
331,
16488,
4686,
11,
290,
314,
765,
284,
1502,
1395,
12,
22704,
287,
31491,
1502,
13,
46506,
3862,
11,
4522,
16034,
9422,
647,
38678,
11050,
3862,
22196,
34
] |
What is Tina Sachdev's position? | SELECT position FROM table_name_60 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev" | [
2061,
318,
35903,
20678,
7959,
338,
2292,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
1899,
33411,
763,
62,
3642,
395,
415,
834,
3972,
283,
62,
14259,
62,
79,
3972,
283,
62,
796,
366,
83,
1437,
264,
620,
7959,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
35903,
20678,
7959,
338,
2292,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
1899,
33411,
763,
62,
3642,
395,
415,
834,
3972,
283,
62,
14259,
62,
79,
3972,
283,
62,
796,
366,
83,
1437,
264,
620,
7959,
1
] |
what were the numbers of patients who received antiplatelet agent - aspirin within the same month following the diagnosis of chest pain in the last year? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'chest pain' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year... | [
10919,
547,
262,
3146,
286,
3871,
508,
2722,
3098,
6816,
1616,
5797,
532,
49550,
1626,
262,
976,
1227,
1708,
262,
13669,
286,
7721,
2356,
287,
262,
938,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3146,
286,
3871,
508,
2722,
3098,
6816,
1616,
5797,
532,
49550,
1626,
262,
976,
1227,
1708,
262,
13669,
286,
7721,
2356,
287,
262,
938,
614,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
403,
1557,
53... |
what is the total number of competitions held in 2013 ? | SELECT COUNT("competition") FROM table_204_364 WHERE "year" = 2013 | [
10919,
318,
262,
2472,
1271,
286,
24174,
2714,
287,
2211,
5633,
46506,
327,
28270,
7203,
5589,
15620,
4943,
16034,
3084,
62,
18638,
62,
26780,
33411,
366,
1941,
1,
796,
2211
] | [
1,
1,
1,
1,
1,
1,
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,
24174,
2714,
287,
2211,
5633,
46506,
327,
28270,
7203,
5589,
15620,
4943,
16034,
3084,
62,
18638,
62,
26780,
33411,
366,
1941,
1,
796,
2211
] |
Which Pocona Municipality (%) is the lowest one that has a Puerto Villarroel Municipality (%) smaller than 14.6, and a Chimor Municipality (%) of 5.1, and an Entre R os Municipality (%) smaller than 0.9? | SELECT MIN(pocona_municipality___percentage_) FROM table_name_61 WHERE puerto_villarroel_municipality___percentage_ < 14.6 AND chimoré_municipality___percentage_ = 5.1 AND entre_ríos_municipality___percentage_ < 0.9 | [
13828,
39375,
4450,
27338,
1483,
11509,
318,
262,
9016,
530,
326,
468,
257,
15295,
9757,
34852,
417,
27338,
1483,
11509,
4833,
621,
1478,
13,
21,
11,
290,
257,
28466,
273,
27338,
1483,
11509,
286,
642,
13,
16,
11,
290,
281,
7232,
260,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
39375,
4450,
27338,
1483,
11509,
318,
262,
9016,
530,
326,
468,
257,
15295,
9757,
34852,
417,
27338,
1483,
11509,
4833,
621,
1478,
13,
21,
11,
290,
257,
28466,
273,
27338,
1483,
11509,
286,
642,
13,
16,
11,
290,
281,
7232,
260,... |
What is Date, when Team is 'Orlando'? | SELECT date FROM table_name_72 WHERE team = "orlando" | [
2061,
318,
7536,
11,
618,
4816,
318,
705,
5574,
11993,
30960,
46506,
3128,
16034,
3084,
62,
3672,
62,
4761,
33411,
1074,
796,
366,
273,
11993,
1
] | [
1,
1,
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,
4816,
318,
705,
5574,
11993,
30960,
46506,
3128,
16034,
3084,
62,
3672,
62,
4761,
33411,
1074,
796,
366,
273,
11993,
1
] |
count the number of patients whose admission type is emergency and diagnoses long title is other malignant lymphomas, unspecified site, extranodal and solid organ sites? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.long_title = "Other malignant lymphomas, unspecified site, extranodal and solid organ sites" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
40567,
890,
3670,
318,
584,
6428,
25114,
28837,
16911,
11,
29547,
2524,
11,
1070,
2596,
375,
282,
290,
4735,
1618,
5043,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
40567,
890,
3670,
318,
584,
6428,
25114,
28837,
16911,
11,
29547,
2524,
11,
1070,
2596,
375,
282,
290,
4735,
1618,
5043,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16... |
Revisions with [general-aviation] taken out. | SELECT PostHistory.PostId AS "post_link", PostHistory.CreationDate AS CreationDate, PostHistory.Text AS InitialTags, Posts.Tags AS CurrentTags, Posts.OwnerUserId AS "user_link" FROM PostHistory INNER JOIN Posts ON PostHistory.PostId = Posts.Id WHERE PostHistory.PostHistoryTypeId = 3 AND PostHistory.Text LIKE '%<general... | [
18009,
3279,
351,
685,
24622,
12,
615,
3920,
60,
2077,
503,
13,
46506,
2947,
18122,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
2947,
18122,
13,
12443,
341,
10430,
7054,
21582,
10430,
11,
2947,
18122,
13,
8206,
7054,
20768,
36142,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18009,
3279,
351,
685,
24622,
12,
615,
3920,
60,
2077,
503,
13,
46506,
2947,
18122,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
2947,
18122,
13,
12443,
341,
10430,
7054,
21582,
10430,
11,
2947,
18122,
13,
8206,
7054,
20768,
36142,
... |
Name the season for runner up of judean rebels | SELECT "Season" FROM table_66751 WHERE "Runner Up" = 'judean rebels' | [
5376,
262,
1622,
329,
17490,
510,
286,
474,
2507,
272,
12669,
46506,
366,
18960,
1,
16034,
3084,
62,
2791,
48365,
33411,
366,
49493,
3205,
1,
796,
705,
73,
2507,
272,
12669,
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
] | [
5376,
262,
1622,
329,
17490,
510,
286,
474,
2507,
272,
12669,
46506,
366,
18960,
1,
16034,
3084,
62,
2791,
48365,
33411,
366,
49493,
3205,
1,
796,
705,
73,
2507,
272,
12669,
6
] |
Which player had a draft before 1975 and before round 6? | SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6 | [
13828,
2137,
550,
257,
4538,
878,
15231,
290,
878,
2835,
718,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3720,
33411,
4538,
1279,
15231,
5357,
2835,
1279,
718
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2137,
550,
257,
4538,
878,
15231,
290,
878,
2835,
718,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
3720,
33411,
4538,
1279,
15231,
5357,
2835,
1279,
718
] |
What nation has a Record of 5.06m(16ft7in)? | SELECT "Nation" FROM table_40860 WHERE "Record" = '5.06m(16ft7in)' | [
2061,
3277,
468,
257,
13266,
286,
642,
13,
3312,
76,
7,
1433,
701,
22,
259,
19427,
46506,
366,
46108,
1,
16034,
3084,
62,
26200,
1899,
33411,
366,
23739,
1,
796,
705,
20,
13,
3312,
76,
7,
1433,
701,
22,
259,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3277,
468,
257,
13266,
286,
642,
13,
3312,
76,
7,
1433,
701,
22,
259,
19427,
46506,
366,
46108,
1,
16034,
3084,
62,
26200,
1899,
33411,
366,
23739,
1,
796,
705,
20,
13,
3312,
76,
7,
1433,
701,
22,
259,
33047
] |
Hiw many losses have 30 for the goals with points greater than 24? | SELECT COUNT("Losses") FROM table_58695 WHERE "Goals for" = '30' AND "Points" > '24' | [
39,
14246,
867,
9089,
423,
1542,
329,
262,
4661,
351,
2173,
3744,
621,
1987,
30,
46506,
327,
28270,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
3365,
37381,
33411,
366,
5247,
874,
329,
1,
796,
705,
1270,
6,
5357,
366,
40710,
1,
1875,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
39,
14246,
867,
9089,
423,
1542,
329,
262,
4661,
351,
2173,
3744,
621,
1987,
30,
46506,
327,
28270,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
3365,
37381,
33411,
366,
5247,
874,
329,
1,
796,
705,
1270,
6,
5357,
366,
40710,
1,
1875,... |
Which Tournament has a Opponent of piero luisi? | SELECT "Tournament" FROM table_12279 WHERE "Opponent" = 'piero luisi' | [
13828,
9595,
468,
257,
9385,
3471,
286,
17748,
78,
300,
84,
23267,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
1065,
26050,
33411,
366,
27524,
3471,
1,
796,
705,
79,
959,
78,
300,
84,
23267,
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
] | [
13828,
9595,
468,
257,
9385,
3471,
286,
17748,
78,
300,
84,
23267,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
1065,
26050,
33411,
366,
27524,
3471,
1,
796,
705,
79,
959,
78,
300,
84,
23267,
6
] |
How many patients born before the year 2197 were diagnosed with t1-t6 fx-cl/cord inj nec? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2197" AND diagnoses.short_title = "T1-t6 fx-cl/cord inj NEC" | [
2437,
867,
3871,
4642,
878,
262,
614,
362,
24991,
547,
14641,
351,
256,
16,
12,
83,
21,
277,
87,
12,
565,
14,
66,
585,
2529,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3871,
4642,
878,
262,
614,
362,
24991,
547,
14641,
351,
256,
16,
12,
83,
21,
277,
87,
12,
565,
14,
66,
585,
2529,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
what is the cheapest fare between ATLANTA and SAN FRANCISCO | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city... | [
10919,
318,
262,
28918,
14505,
1022,
5161,
25697,
5603,
290,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
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... | [
10919,
318,
262,
28918,
14505,
1022,
5161,
25697,
5603,
290,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
1... |
What is Graeme Bonar's lowest pick number? | SELECT MIN(pick__number) FROM table_2850912_3 WHERE player = "Graeme Bonar" | [
2061,
318,
7037,
34755,
7979,
283,
338,
9016,
2298,
1271,
30,
46506,
20625,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
2078,
29022,
1065,
62,
18,
33411,
2137,
796,
366,
46971,
34755,
7979,
283,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7037,
34755,
7979,
283,
338,
9016,
2298,
1271,
30,
46506,
20625,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
2078,
29022,
1065,
62,
18,
33411,
2137,
796,
366,
46971,
34755,
7979,
283,
1
] |
Name the representating for ingenj r andr es luftf rd | SELECT "Representing" FROM table_57015 WHERE "Original title" = 'ingenjör andrées luftfärd' | [
5376,
262,
2380,
803,
329,
27016,
73,
374,
290,
81,
1658,
300,
84,
701,
69,
374,
67,
46506,
366,
40171,
278,
1,
16034,
3084,
62,
3553,
25150,
33411,
366,
20556,
3670,
1,
796,
705,
36795,
73,
30570,
290,
29350,
274,
300,
84,
701,
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
] | [
5376,
262,
2380,
803,
329,
27016,
73,
374,
290,
81,
1658,
300,
84,
701,
69,
374,
67,
46506,
366,
40171,
278,
1,
16034,
3084,
62,
3553,
25150,
33411,
366,
20556,
3670,
1,
796,
705,
36795,
73,
30570,
290,
29350,
274,
300,
84,
701,
6... |
what is age and lab test fluid of subject id 2560? | SELECT demographic.age, lab.fluid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560" | [
10919,
318,
2479,
290,
2248,
1332,
11711,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
496,
11,
2248,
13,
35522,
312,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
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
] | [
10919,
318,
2479,
290,
2248,
1332,
11711,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
496,
11,
2248,
13,
35522,
312,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
6... |
Which Team/Chassis has less than 65 points? | SELECT team_chassis FROM table_name_66 WHERE pts < 65 | [
13828,
4816,
14,
1925,
20297,
468,
1342,
621,
6135,
2173,
30,
46506,
1074,
62,
354,
20297,
16034,
3084,
62,
3672,
62,
2791,
33411,
43344,
1279,
6135
] | [
1,
1,
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,
4816,
14,
1925,
20297,
468,
1342,
621,
6135,
2173,
30,
46506,
1074,
62,
354,
20297,
16034,
3084,
62,
3672,
62,
2791,
33411,
43344,
1279,
6135
] |
When osku palermaa is on the europe team how many match numbers are there? | SELECT COUNT("Match no.") FROM table_1988 WHERE "Team Europe" = 'Osku Palermaa' | [
2215,
267,
8135,
84,
6340,
263,
2611,
64,
318,
319,
262,
11063,
431,
1074,
703,
867,
2872,
3146,
389,
612,
30,
46506,
327,
28270,
7203,
23850,
645,
19570,
16034,
3084,
62,
26709,
33411,
366,
15592,
2031,
1,
796,
705,
46,
8135,
84,
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
] | [
2215,
267,
8135,
84,
6340,
263,
2611,
64,
318,
319,
262,
11063,
431,
1074,
703,
867,
2872,
3146,
389,
612,
30,
46506,
327,
28270,
7203,
23850,
645,
19570,
16034,
3084,
62,
26709,
33411,
366,
15592,
2031,
1,
796,
705,
46,
8135,
84,
3... |
List all statement ids and statement details. | SELECT statement_id, statement_details FROM statements | [
8053,
477,
2643,
220,
2340,
290,
2643,
3307,
13,
46506,
2643,
62,
312,
11,
2643,
62,
36604,
16034,
6299
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
477,
2643,
220,
2340,
290,
2643,
3307,
13,
46506,
2643,
62,
312,
11,
2643,
62,
36604,
16034,
6299
] |
How many viewers did the episode directed by David Nutter draw in? | SELECT us_viewers__million_ FROM table_14929574_3 WHERE directed_by = "David Nutter" | [
2437,
867,
10209,
750,
262,
4471,
7924,
416,
3271,
399,
10381,
3197,
287,
30,
46506,
514,
62,
1177,
364,
834,
14100,
62,
16034,
3084,
62,
19442,
1959,
46900,
62,
18,
33411,
7924,
62,
1525,
796,
366,
11006,
399,
10381,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10209,
750,
262,
4471,
7924,
416,
3271,
399,
10381,
3197,
287,
30,
46506,
514,
62,
1177,
364,
834,
14100,
62,
16034,
3084,
62,
19442,
1959,
46900,
62,
18,
33411,
7924,
62,
1525,
796,
366,
11006,
399,
10381,
1
] |
Show the relationship between average age and maximum age in a scatter chart. | SELECT AVG(Age), MAX(Age) FROM Student GROUP BY Major | [
15307,
262,
2776,
1022,
2811,
2479,
290,
5415,
2479,
287,
257,
41058,
8262,
13,
46506,
35224,
7,
23396,
828,
25882,
7,
23396,
8,
16034,
13613,
44441,
11050,
8386
] | [
1,
1,
1,
1,
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,
2776,
1022,
2811,
2479,
290,
5415,
2479,
287,
257,
41058,
8262,
13,
46506,
35224,
7,
23396,
828,
25882,
7,
23396,
8,
16034,
13613,
44441,
11050,
8386
] |
tell me the name of the drug that was prescribed within 2 days after patient 87232 had been diagnosed with chr syst/diastl hrt fail during this month? | SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 87232 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'chr sy... | [
33331,
502,
262,
1438,
286,
262,
2563,
326,
373,
14798,
1626,
362,
1528,
706,
5827,
10083,
24339,
550,
587,
14641,
351,
442,
81,
827,
301,
14,
10989,
459,
75,
289,
17034,
2038,
1141,
428,
1227,
30,
46506,
256,
17,
13,
30349,
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... | [
33331,
502,
262,
1438,
286,
262,
2563,
326,
373,
14798,
1626,
362,
1528,
706,
5827,
10083,
24339,
550,
587,
14641,
351,
442,
81,
827,
301,
14,
10989,
459,
75,
289,
17034,
2038,
1141,
428,
1227,
30,
46506,
256,
17,
13,
30349,
16034,
... |
what is the cost of a surgery called skin & subq incision nec? | SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'procedures_icd' AND cost.event_id IN (SELECT procedures_icd.row_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'skin & subq incision nec')) | [
10919,
318,
262,
1575,
286,
257,
8185,
1444,
4168,
1222,
850,
80,
753,
1166,
27576,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
1676,
771,
942,
62,
291,
67,
6,
5357,
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... | [
10919,
318,
262,
1575,
286,
257,
8185,
1444,
4168,
1222,
850,
80,
753,
1166,
27576,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
1676,
771,
942,
62,
291,
67,
6,
5357,
15... |
Find the number of courses offered by Psychology department in each year with a group line chart grouping by semester. | SELECT year, COUNT(year) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY semester, year ORDER BY T1.title | [
16742,
262,
1271,
286,
10902,
4438,
416,
18430,
5011,
287,
1123,
614,
351,
257,
1448,
1627,
8262,
36115,
416,
24878,
13,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
2665,
7054,
309,
17,
6177,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1271,
286,
10902,
4438,
416,
18430,
5011,
287,
1123,
614,
351,
257,
1448,
1627,
8262,
36115,
416,
24878,
13,
46506,
614,
11,
327,
28270,
7,
1941,
8,
16034,
1781,
7054,
309,
16,
32357,
1268,
2665,
7054,
309,
17,
6177,
309,
... |
which reps were only appointed by franklin pierce ? | SELECT "representative" FROM table_203_778 WHERE "appointed by" = 'franklin pierce' | [
4758,
20982,
547,
691,
9899,
416,
14346,
2815,
279,
9798,
5633,
46506,
366,
15603,
876,
1,
16034,
3084,
62,
22416,
62,
39761,
33411,
366,
32924,
416,
1,
796,
705,
8310,
962,
2815,
279,
9798,
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
] | [
4758,
20982,
547,
691,
9899,
416,
14346,
2815,
279,
9798,
5633,
46506,
366,
15603,
876,
1,
16034,
3084,
62,
22416,
62,
39761,
33411,
366,
32924,
416,
1,
796,
705,
8310,
962,
2815,
279,
9798,
6
] |
How many times was the reader's vote na and the lifetime achievement na? | SELECT COUNT("Year") FROM table_46012 WHERE "Reader's Vote" = 'na' AND "Lifetime Achievement" = 'na' | [
2437,
867,
1661,
373,
262,
9173,
338,
3015,
12385,
290,
262,
10869,
13293,
12385,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
3510,
30206,
33411,
366,
33634,
338,
19175,
1,
796,
705,
2616,
6,
5357,
366,
43,
361,
8079,
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
] | [
2437,
867,
1661,
373,
262,
9173,
338,
3015,
12385,
290,
262,
10869,
13293,
12385,
30,
46506,
327,
28270,
7203,
17688,
4943,
16034,
3084,
62,
3510,
30206,
33411,
366,
33634,
338,
19175,
1,
796,
705,
2616,
6,
5357,
366,
43,
361,
8079,
4... |
What was the result of the April 16 game? | SELECT "Result" FROM table_75337 WHERE "Date" = 'april 16' | [
2061,
373,
262,
1255,
286,
262,
3035,
1467,
983,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2425,
31496,
33411,
366,
10430,
1,
796,
705,
499,
22379,
1467,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1255,
286,
262,
3035,
1467,
983,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2425,
31496,
33411,
366,
10430,
1,
796,
705,
499,
22379,
1467,
6
] |
Episode smaller than 210 had what segment c? | SELECT segment_c FROM table_name_67 WHERE episode < 210 | [
23758,
4833,
621,
20064,
550,
644,
10618,
269,
30,
46506,
10618,
62,
66,
16034,
3084,
62,
3672,
62,
3134,
33411,
4471,
1279,
20064
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23758,
4833,
621,
20064,
550,
644,
10618,
269,
30,
46506,
10618,
62,
66,
16034,
3084,
62,
3672,
62,
3134,
33411,
4471,
1279,
20064
] |
What season was the team autosport academy? | SELECT MAX(season) FROM table_29471472_1 WHERE team = "Autosport Academy" | [
2061,
1622,
373,
262,
1074,
44619,
634,
21531,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
1959,
2857,
1415,
4761,
62,
16,
33411,
1074,
796,
366,
16541,
418,
634,
8581,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1622,
373,
262,
1074,
44619,
634,
21531,
30,
46506,
25882,
7,
6230,
8,
16034,
3084,
62,
1959,
2857,
1415,
4761,
62,
16,
33411,
1074,
796,
366,
16541,
418,
634,
8581,
1
] |
What is the procedure long title and for how many days did subject id 76446 stay in the hospital? | SELECT demographic.days_stay, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "76446" | [
2061,
318,
262,
8771,
890,
3670,
290,
329,
703,
867,
1528,
750,
2426,
4686,
767,
2414,
3510,
2652,
287,
262,
4436,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
617... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
8771,
890,
3670,
290,
329,
703,
867,
1528,
750,
2426,
4686,
767,
2414,
3510,
2652,
287,
262,
4436,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
617... |
For what award was there a nomination for Best Actress? | SELECT "Award" FROM table_78587 WHERE "Category" = 'best actress' | [
1890,
644,
5764,
373,
612,
257,
11872,
329,
6705,
47144,
30,
46506,
366,
32,
904,
1,
16034,
3084,
62,
3695,
44617,
33411,
366,
27313,
1,
796,
705,
13466,
14549,
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
] | [
1890,
644,
5764,
373,
612,
257,
11872,
329,
6705,
47144,
30,
46506,
366,
32,
904,
1,
16034,
3084,
62,
3695,
44617,
33411,
366,
27313,
1,
796,
705,
13466,
14549,
6
] |
What is the Theme Song of ? | SELECT "Theme Song(s)" FROM table_79253 WHERE "Japanese Title" = '働きマン' | [
2061,
318,
262,
26729,
10940,
286,
5633,
46506,
366,
47863,
10940,
7,
82,
16725,
16034,
3084,
62,
3720,
28592,
33411,
366,
25324,
11851,
1,
796,
705,
161,
225,
235,
33778,
20115,
6527,
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,
26729,
10940,
286,
5633,
46506,
366,
47863,
10940,
7,
82,
16725,
16034,
3084,
62,
3720,
28592,
33411,
366,
25324,
11851,
1,
796,
705,
161,
225,
235,
33778,
20115,
6527,
6
] |
What school has the player of mike rosario? | SELECT "School" FROM table_52323 WHERE "Player" = 'mike rosario' | [
2061,
1524,
468,
262,
2137,
286,
285,
522,
686,
82,
4982,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
49803,
1954,
33411,
366,
14140,
1,
796,
705,
76,
522,
686,
82,
4982,
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,
1524,
468,
262,
2137,
286,
285,
522,
686,
82,
4982,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
49803,
1954,
33411,
366,
14140,
1,
796,
705,
76,
522,
686,
82,
4982,
6
] |
When momoiro clover z is the vocalist what is the japanese translation? | SELECT japanese_translation FROM table_2144389_9 WHERE vocalist = "Momoiro Clover Z" | [
2215,
1995,
78,
7058,
537,
2502,
1976,
318,
262,
12435,
396,
644,
318,
262,
474,
2674,
2771,
11059,
30,
46506,
474,
2674,
2771,
62,
41519,
16034,
3084,
62,
17,
18444,
29769,
62,
24,
33411,
12435,
396,
796,
366,
44,
17902,
7058,
41154,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1995,
78,
7058,
537,
2502,
1976,
318,
262,
12435,
396,
644,
318,
262,
474,
2674,
2771,
11059,
30,
46506,
474,
2674,
2771,
62,
41519,
16034,
3084,
62,
17,
18444,
29769,
62,
24,
33411,
12435,
396,
796,
366,
44,
17902,
7058,
41154,... |
What country has 370 supermarkets? | SELECT "Country" FROM table_48911 WHERE "Supermarkets" = '370' | [
2061,
1499,
468,
28687,
40875,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2780,
35549,
33411,
366,
12442,
34162,
1,
796,
705,
20167,
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
] | [
2061,
1499,
468,
28687,
40875,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2780,
35549,
33411,
366,
12442,
34162,
1,
796,
705,
20167,
6
] |
Show me the proportion of cities of the branch table. | SELECT City, COUNT(City) FROM branch GROUP BY City | [
15307,
502,
262,
9823,
286,
4736,
286,
262,
8478,
3084,
13,
46506,
2254,
11,
327,
28270,
7,
14941,
8,
16034,
8478,
44441,
11050,
2254
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
502,
262,
9823,
286,
4736,
286,
262,
8478,
3084,
13,
46506,
2254,
11,
327,
28270,
7,
14941,
8,
16034,
8478,
44441,
11050,
2254
] |
What episode did Pamela Anderson guest host. | SELECT COUNT(episode_number) FROM table_1590967_7 WHERE guest_host = "Pamela Anderson" | [
2061,
4471,
750,
43341,
9918,
8319,
2583,
13,
46506,
327,
28270,
7,
38668,
62,
17618,
8,
16034,
3084,
62,
19707,
2931,
3134,
62,
22,
33411,
8319,
62,
4774,
796,
366,
47,
321,
10304,
9918,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4471,
750,
43341,
9918,
8319,
2583,
13,
46506,
327,
28270,
7,
38668,
62,
17618,
8,
16034,
3084,
62,
19707,
2931,
3134,
62,
22,
33411,
8319,
62,
4774,
796,
366,
47,
321,
10304,
9918,
1
] |
Which First has Bats of r, and Throws of l, and a DOB of 12 october 1977? | SELECT first FROM table_name_86 WHERE bats = "r" AND throws = "l" AND dob = "12 october 1977" | [
13828,
3274,
468,
347,
1381,
286,
374,
11,
290,
536,
8516,
286,
300,
11,
290,
257,
8410,
33,
286,
1105,
19318,
2023,
15589,
30,
46506,
717,
16034,
3084,
62,
3672,
62,
4521,
33411,
19553,
796,
366,
81,
1,
5357,
12542,
796,
366,
75,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3274,
468,
347,
1381,
286,
374,
11,
290,
536,
8516,
286,
300,
11,
290,
257,
8410,
33,
286,
1105,
19318,
2023,
15589,
30,
46506,
717,
16034,
3084,
62,
3672,
62,
4521,
33411,
19553,
796,
366,
81,
1,
5357,
12542,
796,
366,
75,
... |
how many coupless totalled 14.5 | SELECT COUNT("Couple") FROM table_2139 WHERE "Total" = '14.5' | [
4919,
867,
2284,
14570,
2006,
4262,
1478,
13,
20,
46506,
327,
28270,
7203,
34,
43846,
4943,
16034,
3084,
62,
17,
20219,
33411,
366,
14957,
1,
796,
705,
1415,
13,
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
] | [
4919,
867,
2284,
14570,
2006,
4262,
1478,
13,
20,
46506,
327,
28270,
7203,
34,
43846,
4943,
16034,
3084,
62,
17,
20219,
33411,
366,
14957,
1,
796,
705,
1415,
13,
20,
6
] |
What's the sum of the totals for Russia with more than 1 gold and less than 10 bronze? | SELECT SUM("Total") FROM table_69925 WHERE "Gold" > '1' AND "Nation" = 'russia' AND "Bronze" < '10' | [
2061,
338,
262,
2160,
286,
262,
26310,
329,
3284,
351,
517,
621,
352,
3869,
290,
1342,
621,
838,
22101,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
47325,
1495,
33411,
366,
13306,
1,
1875,
705,
16,
6,
5357,
366,
46108,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
262,
26310,
329,
3284,
351,
517,
621,
352,
3869,
290,
1342,
621,
838,
22101,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
47325,
1495,
33411,
366,
13306,
1,
1875,
705,
16,
6,
5357,
366,
46108,
1,
... |
What try bonus has 18 as the played of and 204 as the points? | SELECT try_bonus FROM table_name_83 WHERE played = "18" AND points_for = "204" | [
2061,
1949,
7202,
468,
1248,
355,
262,
2826,
286,
290,
26956,
355,
262,
2173,
30,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
3672,
62,
5999,
33411,
2826,
796,
366,
1507,
1,
5357,
2173,
62,
1640,
796,
366,
18638,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1949,
7202,
468,
1248,
355,
262,
2826,
286,
290,
26956,
355,
262,
2173,
30,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
3672,
62,
5999,
33411,
2826,
796,
366,
1507,
1,
5357,
2173,
62,
1640,
796,
366,
18638,
1
] |
What language does the Ary Digital network broadcast in? | SELECT "Language" FROM table_33682 WHERE "Network" = 'ary digital' | [
2061,
3303,
857,
262,
39477,
10231,
3127,
7025,
287,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
2091,
43950,
33411,
366,
26245,
1,
796,
705,
560,
4875,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3303,
857,
262,
39477,
10231,
3127,
7025,
287,
30,
46506,
366,
32065,
1,
16034,
3084,
62,
2091,
43950,
33411,
366,
26245,
1,
796,
705,
560,
4875,
6
] |
what is the number of patients whose admission type is elective and diagnoses short title is await organ transplnt st? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND diagnoses.short_title = "Await organ transplnt st" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
40567,
1790,
3670,
318,
25507,
1618,
37100,
429,
336,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
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... | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
1742,
425,
290,
40567,
1790,
3670,
318,
25507,
1618,
37100,
429,
336,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... |
Which VIETNAMESE has a CHINESE of / p x m ? | SELECT vietnamese FROM table_name_35 WHERE chinese = "婆須密 / póxūmì" | [
13828,
13889,
2767,
45,
29559,
36,
468,
257,
5870,
1268,
33635,
286,
1220,
279,
2124,
285,
5633,
46506,
410,
1155,
22678,
16034,
3084,
62,
3672,
62,
2327,
33411,
442,
3762,
796,
366,
161,
102,
228,
165,
254,
230,
43380,
228,
1220,
279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13889,
2767,
45,
29559,
36,
468,
257,
5870,
1268,
33635,
286,
1220,
279,
2124,
285,
5633,
46506,
410,
1155,
22678,
16034,
3084,
62,
3672,
62,
2327,
33411,
442,
3762,
796,
366,
161,
102,
228,
165,
254,
230,
43380,
228,
1220,
279... |
seizure disorder | SELECT * FROM table_train_247 WHERE seizure_disorder = 1 | [
325,
528,
495,
8967,
46506,
1635,
16034,
3084,
62,
27432,
62,
23753,
33411,
22338,
62,
6381,
2875,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
325,
528,
495,
8967,
46506,
1635,
16034,
3084,
62,
27432,
62,
23753,
33411,
22338,
62,
6381,
2875,
796,
352
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.