instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What are the years of film market estimation for the market of Japan, ordered by year descending, and count them by a bar chart | SELECT Year, COUNT(Year) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T2.Country = "Japan" ORDER BY T1.Year DESC | [
2061,
389,
262,
812,
286,
2646,
1910,
31850,
329,
262,
1910,
286,
2869,
11,
6149,
416,
614,
31491,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
6280,
11,
327,
28270,
7,
17688,
8,
16034,
2646,
62,
10728,
62,
395,
18991,
7054,
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... | [
2061,
389,
262,
812,
286,
2646,
1910,
31850,
329,
262,
1910,
286,
2869,
11,
6149,
416,
614,
31491,
11,
290,
954,
606,
416,
257,
2318,
8262,
46506,
6280,
11,
327,
28270,
7,
17688,
8,
16034,
2646,
62,
10728,
62,
395,
18991,
7054,
309,... |
Who were the director/s of episodes written by Mike Daniels? | SELECT directed_by FROM table_18274425_1 WHERE written_by = "Mike Daniels" | [
8241,
547,
262,
3437,
14,
82,
286,
8640,
3194,
416,
4995,
28162,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
1507,
1983,
2598,
1495,
62,
16,
33411,
3194,
62,
1525,
796,
366,
16073,
28162,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
3437,
14,
82,
286,
8640,
3194,
416,
4995,
28162,
30,
46506,
7924,
62,
1525,
16034,
3084,
62,
1507,
1983,
2598,
1495,
62,
16,
33411,
3194,
62,
1525,
796,
366,
16073,
28162,
1
] |
Min, average, max, variance and standard deviation answer length per user < 10K rep.. | SELECT u.Id AS "user_link", COUNT(*) AS "answer_count", MIN(LENGTH(p.Body)) AS "min", AVG(LENGTH(p.Body)) AS "average", MAX(LENGTH(p.Body)) AS "max", VAR(LENGTH(p.Body)) AS "variance", STDEV(LENGTH(p.Body)) AS "stdev" FROM Users AS u, Posts AS p WHERE p.OwnerUserId = u.Id AND p.PostTypeId = 2 AND u.Reputation < 10000 G... | [
9452,
11,
2811,
11,
3509,
11,
24198,
290,
3210,
28833,
3280,
4129,
583,
2836,
1279,
838,
42,
1128,
492,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
28104,
7054,
366,
41484,
62,
9127,
1600,
20625,
7,
43,
494... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9452,
11,
2811,
11,
3509,
11,
24198,
290,
3210,
28833,
3280,
4129,
583,
2836,
1279,
838,
42,
1128,
492,
46506,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
327,
28270,
7,
28104,
7054,
366,
41484,
62,
9127,
1600,
20625,
7,
43,
494... |
What draft pick number was Ric Jackman? | SELECT MIN(pick) FROM table_2840500_1 WHERE player = "Ric Jackman" | [
2061,
4538,
2298,
1271,
373,
15868,
3619,
805,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
2078,
1821,
4059,
62,
16,
33411,
2137,
796,
366,
49,
291,
3619,
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
] | [
2061,
4538,
2298,
1271,
373,
15868,
3619,
805,
30,
46506,
20625,
7,
27729,
8,
16034,
3084,
62,
2078,
1821,
4059,
62,
16,
33411,
2137,
796,
366,
49,
291,
3619,
805,
1
] |
Which result has a Score of 1 1? | SELECT "Result" FROM table_55387 WHERE "Score" = '1–1' | [
13828,
1255,
468,
257,
15178,
286,
352,
352,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2816,
32220,
33411,
366,
26595,
1,
796,
705,
16,
1906,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1255,
468,
257,
15178,
286,
352,
352,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2816,
32220,
33411,
366,
26595,
1,
796,
705,
16,
1906,
16,
6
] |
when was patient 018-81471 discharged from the hospital for the first time? | SELECT patient.hospitaldischargetime FROM patient WHERE patient.uniquepid = '018-81471' ORDER BY patient.hospitaldischargetime LIMIT 1 | [
12518,
373,
5827,
5534,
23,
12,
23,
1415,
4869,
26476,
422,
262,
4436,
329,
262,
717,
640,
30,
46506,
5827,
13,
49257,
6381,
354,
7641,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
29159,
12,
23,
1415,
4869,
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
] | [
12518,
373,
5827,
5534,
23,
12,
23,
1415,
4869,
26476,
422,
262,
4436,
329,
262,
717,
640,
30,
46506,
5827,
13,
49257,
6381,
354,
7641,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
29159,
12,
23,
1415,
4869,
6,
... |
what is the unabbreviated version of the spon ab w compl nec-unsp? | SELECT d_icd_diagnoses.long_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'spon ab w compl nec-unsp' UNION SELECT d_icd_procedures.long_title FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'spon ab w compl nec-unsp' | [
10919,
318,
262,
40986,
4679,
8903,
515,
2196,
286,
262,
599,
261,
450,
266,
2299,
27576,
12,
403,
2777,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
6511,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
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,
40986,
4679,
8903,
515,
2196,
286,
262,
599,
261,
450,
266,
2299,
27576,
12,
403,
2777,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
6511,
62,
7839,
16034,
288,
62,
291,
67,
62,
47356,
4629,
33411,
288,
62,
2... |
Which Start has a Duration of 6 months 2 days? | SELECT start FROM table_name_55 WHERE duration = "6 months 2 days" | [
13828,
7253,
468,
257,
22920,
286,
718,
1933,
362,
1528,
30,
46506,
923,
16034,
3084,
62,
3672,
62,
2816,
33411,
9478,
796,
366,
21,
1933,
362,
1528,
1
] | [
1,
1,
1,
1,
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,
7253,
468,
257,
22920,
286,
718,
1933,
362,
1528,
30,
46506,
923,
16034,
3084,
62,
3672,
62,
2816,
33411,
9478,
796,
366,
21,
1933,
362,
1528,
1
] |
when was the last time patient 76637 was discharged since 2102? | SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 76637 AND STRFTIME('%y', admissions.dischtime) >= '2102' ORDER BY admissions.dischtime DESC LIMIT 1 | [
12518,
373,
262,
938,
640,
5827,
767,
2791,
2718,
373,
26476,
1201,
362,
15377,
30,
46506,
25349,
13,
6381,
354,
2435,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
2791,
2718,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
5827,
767,
2791,
2718,
373,
26476,
1201,
362,
15377,
30,
46506,
25349,
13,
6381,
354,
2435,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
767,
2791,
2718,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
... |
What is School Year, when Cross Country is Lexington, when Soccer is Ashland, and when Volleyball is Wooster? | SELECT school_year FROM table_name_9 WHERE cross_country = "lexington" AND soccer = "ashland" AND volleyball = "wooster" | [
2061,
318,
3961,
6280,
11,
618,
6372,
12946,
318,
39540,
11,
618,
15872,
318,
7844,
1044,
11,
290,
618,
4709,
1636,
1894,
318,
22173,
6197,
30,
46506,
1524,
62,
1941,
16034,
3084,
62,
3672,
62,
24,
33411,
3272,
62,
19315,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
3961,
6280,
11,
618,
6372,
12946,
318,
39540,
11,
618,
15872,
318,
7844,
1044,
11,
290,
618,
4709,
1636,
1894,
318,
22173,
6197,
30,
46506,
1524,
62,
1941,
16034,
3084,
62,
3672,
62,
24,
33411,
3272,
62,
19315,
796,
366,
... |
List all customer status codes and the number of customers having each status code in a bar chart, could you rank bar in descending order? | SELECT customer_status_code, COUNT(*) FROM Customers GROUP BY customer_status_code ORDER BY customer_status_code DESC | [
8053,
477,
6491,
3722,
12416,
290,
262,
1271,
286,
4297,
1719,
1123,
3722,
2438,
287,
257,
2318,
8262,
11,
714,
345,
4279,
2318,
287,
31491,
1502,
30,
46506,
6491,
62,
13376,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
36707,
44441,
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
] | [
8053,
477,
6491,
3722,
12416,
290,
262,
1271,
286,
4297,
1719,
1123,
3722,
2438,
287,
257,
2318,
8262,
11,
714,
345,
4279,
2318,
287,
31491,
1502,
30,
46506,
6491,
62,
13376,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
36707,
44441,
11... |
Number of answers for tag. | SELECT COUNT(Answers.Body) AS AnswerCount FROM Posts AS Answers, Posts AS Questions WHERE Answers.PostTypeId = 2 AND Questions.Id = Answers.ParentId AND Questions.Tags LIKE '%<java>%' | [
15057,
286,
7429,
329,
7621,
13,
46506,
327,
28270,
7,
2025,
37848,
13,
25842,
8,
7054,
23998,
12332,
16034,
12043,
7054,
42612,
11,
12043,
7054,
20396,
33411,
42612,
13,
6307,
6030,
7390,
796,
362,
5357,
20396,
13,
7390,
796,
42612,
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
] | [
15057,
286,
7429,
329,
7621,
13,
46506,
327,
28270,
7,
2025,
37848,
13,
25842,
8,
7054,
23998,
12332,
16034,
12043,
7054,
42612,
11,
12043,
7054,
20396,
33411,
42612,
13,
6307,
6030,
7390,
796,
362,
5357,
20396,
13,
7390,
796,
42612,
13... |
tachycardia _ pulse > 100 bpm | SELECT * FROM table_test_11 WHERE tachycardia > 100 | [
83,
35586,
9517,
544,
4808,
19445,
1875,
1802,
275,
4426,
46506,
1635,
16034,
3084,
62,
9288,
62,
1157,
33411,
256,
35586,
9517,
544,
1875,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
83,
35586,
9517,
544,
4808,
19445,
1875,
1802,
275,
4426,
46506,
1635,
16034,
3084,
62,
9288,
62,
1157,
33411,
256,
35586,
9517,
544,
1875,
1802
] |
What is the price of the internet provider that has an upstream rate of 256 kbit and a downstream rate of 512 kbit? | SELECT "Price" FROM table_43730 WHERE "Upstream" = '256 kbit' AND "Downstream" = '512 kbit' | [
2061,
318,
262,
2756,
286,
262,
5230,
10131,
326,
468,
281,
28717,
2494,
286,
17759,
479,
2545,
290,
257,
33218,
2494,
286,
22243,
479,
2545,
30,
46506,
366,
18124,
1,
16034,
3084,
62,
43284,
1270,
33411,
366,
4933,
5532,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2756,
286,
262,
5230,
10131,
326,
468,
281,
28717,
2494,
286,
17759,
479,
2545,
290,
257,
33218,
2494,
286,
22243,
479,
2545,
30,
46506,
366,
18124,
1,
16034,
3084,
62,
43284,
1270,
33411,
366,
4933,
5532,
1,
796,
705,... |
What is the history behind the vessel Speedrunner IV (SSC4) built after 1997? | SELECT history FROM table_name_95 WHERE built > 1997 AND name = "speedrunner iv (ssc4)" | [
2061,
318,
262,
2106,
2157,
262,
8837,
8729,
16737,
8363,
357,
5432,
34,
19,
8,
3170,
706,
8309,
30,
46506,
2106,
16034,
3084,
62,
3672,
62,
3865,
33411,
3170,
1875,
8309,
5357,
1438,
796,
366,
12287,
16737,
21628,
357,
824,
66,
19,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2106,
2157,
262,
8837,
8729,
16737,
8363,
357,
5432,
34,
19,
8,
3170,
706,
8309,
30,
46506,
2106,
16034,
3084,
62,
3672,
62,
3865,
33411,
3170,
1875,
8309,
5357,
1438,
796,
366,
12287,
16737,
21628,
357,
824,
66,
19,
... |
ground transportation in SAN JOSE | SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'SAN JOSE' AND ground_service.city_code = city.city_code | [
2833,
9358,
287,
37376,
449,
2640,
33635,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
36753,
449,
14058,
6,
5357,
2323,
62,
1527... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2833,
9358,
287,
37376,
449,
2640,
33635,
16779,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
1748,
11,
2323,
62,
15271,
33411,
1748,
13,
19205,
62,
3672,
796,
705,
36753,
449,
14058,
6,
5357,
2323,
62,
1527... |
What is every value for Under-17 if Under-15 is Maria Elena Ubina? | SELECT under_17 FROM table_26368963_2 WHERE under_15 = "Maria Elena Ubina" | [
2061,
318,
790,
1988,
329,
4698,
12,
1558,
611,
4698,
12,
1314,
318,
14200,
37254,
12021,
1437,
30,
46506,
739,
62,
1558,
16034,
3084,
62,
2075,
2623,
4531,
5066,
62,
17,
33411,
739,
62,
1314,
796,
366,
46827,
37254,
12021,
1437,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
790,
1988,
329,
4698,
12,
1558,
611,
4698,
12,
1314,
318,
14200,
37254,
12021,
1437,
30,
46506,
739,
62,
1558,
16034,
3084,
62,
2075,
2623,
4531,
5066,
62,
17,
33411,
739,
62,
1314,
796,
366,
46827,
37254,
12021,
1437,
1
] |
When Tom Watson placed t6, what was the 2 par? | SELECT "To par" FROM table_47429 WHERE "Place" = 't6' AND "Player" = 'tom watson' | [
2215,
4186,
14959,
4624,
256,
21,
11,
644,
373,
262,
362,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2857,
11785,
33411,
366,
27271,
1,
796,
705,
83,
21,
6,
5357,
366,
14140,
1,
796,
705,
39532,
266,
13506,
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
] | [
2215,
4186,
14959,
4624,
256,
21,
11,
644,
373,
262,
362,
1582,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2857,
11785,
33411,
366,
27271,
1,
796,
705,
83,
21,
6,
5357,
366,
14140,
1,
796,
705,
39532,
266,
13506,
6
] |
Which Fall or Winter courses are available to meet my Other requirement ? | SELECT DISTINCT COURSEalias0.department, COURSEalias0.name, COURSEalias0.number, SEMESTERalias0.semester FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, program_course AS PROGRAM_COURSEalias0... | [
13828,
7218,
393,
10633,
10902,
389,
1695,
284,
1826,
616,
3819,
9079,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
5188,
26011,
15,
13,
17618,
11,
48603,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7218,
393,
10633,
10902,
389,
1695,
284,
1826,
616,
3819,
9079,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
11,
37384,
5188,
26011,
15,
13,
17618,
11,
48603,
... |
List the types of competition that have at most five competitions of that type. | SELECT competition_type FROM competition GROUP BY competition_type HAVING COUNT(*) <= 5 | [
8053,
262,
3858,
286,
5449,
326,
423,
379,
749,
1936,
24174,
286,
326,
2099,
13,
46506,
5449,
62,
4906,
16034,
5449,
44441,
11050,
5449,
62,
4906,
367,
10116,
2751,
327,
28270,
7,
28104,
19841,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
3858,
286,
5449,
326,
423,
379,
749,
1936,
24174,
286,
326,
2099,
13,
46506,
5449,
62,
4906,
16034,
5449,
44441,
11050,
5449,
62,
4906,
367,
10116,
2751,
327,
28270,
7,
28104,
19841,
642
] |
What is the capacity of the Pinto Valley mine in Gila county? | SELECT "Capacity (thousands of metric tons)" FROM table_69235 WHERE "County" = 'gila' AND "Mine" = 'pinto valley' | [
2061,
318,
262,
5339,
286,
262,
350,
20424,
6916,
6164,
287,
402,
10102,
7968,
30,
46506,
366,
15610,
4355,
357,
400,
19983,
286,
18663,
10860,
16725,
16034,
3084,
62,
3388,
22370,
33411,
366,
12332,
88,
1,
796,
705,
70,
10102,
6,
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,
1
] | [
2061,
318,
262,
5339,
286,
262,
350,
20424,
6916,
6164,
287,
402,
10102,
7968,
30,
46506,
366,
15610,
4355,
357,
400,
19983,
286,
18663,
10860,
16725,
16034,
3084,
62,
3388,
22370,
33411,
366,
12332,
88,
1,
796,
705,
70,
10102,
6,
535... |
A bar chart for what are the number of the distinct move in dates of the residents?, order total number in asc order. | SELECT date_moved_in, COUNT(date_moved_in) FROM Residents ORDER BY COUNT(date_moved_in) | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
7310,
1445,
287,
9667,
286,
262,
5085,
21747,
1502,
2472,
1271,
287,
10570,
1502,
13,
46506,
3128,
62,
76,
2668,
62,
259,
11,
327,
28270,
7,
4475,
62,
76,
2668,
62,
259,
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
] | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
7310,
1445,
287,
9667,
286,
262,
5085,
21747,
1502,
2472,
1271,
287,
10570,
1502,
13,
46506,
3128,
62,
76,
2668,
62,
259,
11,
327,
28270,
7,
4475,
62,
76,
2668,
62,
259,
8,
16034... |
Who were the guests in the episode with production code 6021? | SELECT "Guest" FROM table_27998 WHERE "Production code" = '6021' | [
8241,
547,
262,
10650,
287,
262,
4471,
351,
3227,
2438,
3126,
2481,
30,
46506,
366,
42481,
1,
16034,
3084,
62,
1983,
34808,
33411,
366,
35027,
2438,
1,
796,
705,
1899,
2481,
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
] | [
8241,
547,
262,
10650,
287,
262,
4471,
351,
3227,
2438,
3126,
2481,
30,
46506,
366,
42481,
1,
16034,
3084,
62,
1983,
34808,
33411,
366,
35027,
2438,
1,
796,
705,
1899,
2481,
6
] |
What are the locations with an eagles macot? | SELECT "Location" FROM table_18731 WHERE "Mascot" = 'Eagles' | [
2061,
389,
262,
7064,
351,
281,
304,
37803,
8352,
313,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
23451,
3132,
33411,
366,
44,
3372,
313,
1,
796,
705,
36,
37803,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
7064,
351,
281,
304,
37803,
8352,
313,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
23451,
3132,
33411,
366,
44,
3372,
313,
1,
796,
705,
36,
37803,
6
] |
find the number of patients whose religion is episcopalian and have been diagnosed with intestinovescical fistula. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "EPISCOPALIAN" AND diagnoses.short_title = "Intestinovesical fistula" | [
19796,
262,
1271,
286,
3871,
3025,
5737,
318,
2462,
2304,
404,
7199,
290,
423,
587,
14641,
351,
20183,
259,
709,
3798,
605,
18606,
4712,
13,
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... | [
19796,
262,
1271,
286,
3871,
3025,
5737,
318,
2462,
2304,
404,
7199,
290,
423,
587,
14641,
351,
20183,
259,
709,
3798,
605,
18606,
4712,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,... |
Show ids for all transactions whose amounts are greater than the average. | SELECT transaction_id FROM Financial_transactions WHERE transaction_amount > (SELECT AVG(transaction_amount) FROM Financial_transactions) | [
15307,
220,
2340,
329,
477,
8945,
3025,
6867,
389,
3744,
621,
262,
2811,
13,
46506,
8611,
62,
312,
16034,
11302,
62,
7645,
4658,
33411,
8611,
62,
17287,
1875,
357,
46506,
35224,
7,
7645,
2673,
62,
17287,
8,
16034,
11302,
62,
7645,
465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
220,
2340,
329,
477,
8945,
3025,
6867,
389,
3744,
621,
262,
2811,
13,
46506,
8611,
62,
312,
16034,
11302,
62,
7645,
4658,
33411,
8611,
62,
17287,
1875,
357,
46506,
35224,
7,
7645,
2673,
62,
17287,
8,
16034,
11302,
62,
7645,
465... |
Who got the 3rd place in the cup on 01.02.2009? | SELECT 3 AS rd_place FROM table_20462111_1 WHERE date = "01.02.2009" | [
8241,
1392,
262,
513,
4372,
1295,
287,
262,
6508,
319,
5534,
13,
2999,
13,
10531,
30,
46506,
513,
7054,
374,
67,
62,
5372,
16034,
3084,
62,
1238,
39997,
16243,
62,
16,
33411,
3128,
796,
366,
486,
13,
2999,
13,
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
] | [
8241,
1392,
262,
513,
4372,
1295,
287,
262,
6508,
319,
5534,
13,
2999,
13,
10531,
30,
46506,
513,
7054,
374,
67,
62,
5372,
16034,
3084,
62,
1238,
39997,
16243,
62,
16,
33411,
3128,
796,
366,
486,
13,
2999,
13,
10531,
1
] |
Where has Jimmy Demaret as a player? | SELECT "Place" FROM table_71228 WHERE "Player" = 'jimmy demaret' | [
8496,
468,
12963,
1897,
8984,
355,
257,
2137,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
49517,
2078,
33411,
366,
14140,
1,
796,
705,
73,
320,
1820,
1357,
8984,
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
] | [
8496,
468,
12963,
1897,
8984,
355,
257,
2137,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
49517,
2078,
33411,
366,
14140,
1,
796,
705,
73,
320,
1820,
1357,
8984,
6
] |
What is the lowest Points, when Class is 50cc, when Year is 1965, and when Wins is less than 0? | SELECT MIN("Points") FROM table_9505 WHERE "Class" = '50cc' AND "Year" = '1965' AND "Wins" < '0' | [
2061,
318,
262,
9016,
11045,
11,
618,
5016,
318,
2026,
535,
11,
618,
6280,
318,
17672,
11,
290,
618,
24423,
318,
1342,
621,
657,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
31027,
20,
33411,
366,
9487,
1,
796,
705,
1120,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11045,
11,
618,
5016,
318,
2026,
535,
11,
618,
6280,
318,
17672,
11,
290,
618,
24423,
318,
1342,
621,
657,
30,
46506,
20625,
7203,
40710,
4943,
16034,
3084,
62,
31027,
20,
33411,
366,
9487,
1,
796,
705,
1120,
5... |
count the number of patients whose admission year is less than 2156 and procedure long title is laryngoscopy and other tracheoscopy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2156" AND procedures.long_title = "Laryngoscopy and other tracheoscopy" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
21599,
290,
8771,
890,
3670,
318,
300,
560,
782,
17500,
11081,
290,
584,
491,
4891,
17500,
11081,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
21599,
290,
8771,
890,
3670,
318,
300,
560,
782,
17500,
11081,
290,
584,
491,
4891,
17500,
11081,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,... |
how many athletes are from east germany ? | SELECT COUNT("athlete") FROM table_204_556 WHERE "country" = 'east germany' | [
4919,
867,
10856,
389,
422,
7627,
308,
2224,
88,
5633,
46506,
327,
28270,
7203,
776,
5807,
4943,
16034,
3084,
62,
18638,
62,
37864,
33411,
366,
19315,
1,
796,
705,
23316,
308,
2224,
88,
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
] | [
4919,
867,
10856,
389,
422,
7627,
308,
2224,
88,
5633,
46506,
327,
28270,
7203,
776,
5807,
4943,
16034,
3084,
62,
18638,
62,
37864,
33411,
366,
19315,
1,
796,
705,
23316,
308,
2224,
88,
6
] |
Who left office in June 2011? | SELECT name FROM table_name_1 WHERE left_office = "june 2011" | [
8241,
1364,
2607,
287,
2795,
2813,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
16,
33411,
1364,
62,
31810,
796,
366,
73,
1726,
2813,
1
] | [
1,
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,
1364,
2607,
287,
2795,
2813,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
16,
33411,
1364,
62,
31810,
796,
366,
73,
1726,
2813,
1
] |
what was the maximum theophylline value for patient 007-1517 on their first hospital visit. | SELECT MAX(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-1517' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitala... | [
10919,
373,
262,
5415,
262,
16982,
297,
500,
1988,
329,
5827,
3571,
22,
12,
1314,
1558,
319,
511,
717,
4436,
3187,
13,
46506,
25882,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
465... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
5415,
262,
16982,
297,
500,
1988,
329,
5827,
3571,
22,
12,
1314,
1558,
319,
511,
717,
4436,
3187,
13,
46506,
25882,
7,
23912,
13,
23912,
20274,
8,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
465... |
What is the package/option for the calcio content? | SELECT "Package/Option" FROM table_41266 WHERE "Content" = 'calcio' | [
2061,
318,
262,
5301,
14,
18076,
329,
262,
42302,
952,
2695,
30,
46506,
366,
27813,
14,
19722,
1,
16034,
3084,
62,
39226,
2791,
33411,
366,
19746,
1,
796,
705,
9948,
66,
952,
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,
5301,
14,
18076,
329,
262,
42302,
952,
2695,
30,
46506,
366,
27813,
14,
19722,
1,
16034,
3084,
62,
39226,
2791,
33411,
366,
19746,
1,
796,
705,
9948,
66,
952,
6
] |
How many schools left in 2002-03? | SELECT COUNT("Location") FROM table_28524 WHERE "Left" = '2002-03' | [
2437,
867,
4266,
1364,
287,
6244,
12,
3070,
30,
46506,
327,
28270,
7203,
14749,
4943,
16034,
3084,
62,
26279,
1731,
33411,
366,
18819,
1,
796,
705,
16942,
12,
3070,
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
] | [
2437,
867,
4266,
1364,
287,
6244,
12,
3070,
30,
46506,
327,
28270,
7203,
14749,
4943,
16034,
3084,
62,
26279,
1731,
33411,
366,
18819,
1,
796,
705,
16942,
12,
3070,
6
] |
Which Race Name has Goodwood in the Curcuit? | SELECT race_name FROM table_name_4 WHERE circuit = "goodwood" | [
13828,
12588,
6530,
468,
4599,
3822,
287,
262,
4424,
66,
5013,
30,
46506,
3234,
62,
3672,
16034,
3084,
62,
3672,
62,
19,
33411,
10349,
796,
366,
11274,
3822,
1
] | [
1,
1,
1,
1,
1,
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,
12588,
6530,
468,
4599,
3822,
287,
262,
4424,
66,
5013,
30,
46506,
3234,
62,
3672,
16034,
3084,
62,
3672,
62,
19,
33411,
10349,
796,
366,
11274,
3822,
1
] |
Name the high points for l 109 112 (ot) | SELECT high_points FROM table_23274514_5 WHERE score = "L 109–112 (OT)" | [
5376,
262,
1029,
2173,
329,
300,
16003,
13539,
357,
313,
8,
46506,
1029,
62,
13033,
16034,
3084,
62,
1954,
1983,
2231,
1415,
62,
20,
33411,
4776,
796,
366,
43,
16003,
1906,
14686,
357,
2394,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1029,
2173,
329,
300,
16003,
13539,
357,
313,
8,
46506,
1029,
62,
13033,
16034,
3084,
62,
1954,
1983,
2231,
1415,
62,
20,
33411,
4776,
796,
366,
43,
16003,
1906,
14686,
357,
2394,
16725
] |
One2one is the shirt sponsor for the captain of what team? | SELECT "Captain" FROM table_71145 WHERE "Shirt sponsor" = 'one2one' | [
3198,
17,
505,
318,
262,
10147,
17487,
329,
262,
10654,
286,
644,
1074,
30,
46506,
366,
27898,
1,
16034,
3084,
62,
22,
1157,
2231,
33411,
366,
2484,
2265,
17487,
1,
796,
705,
505,
17,
505,
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
] | [
3198,
17,
505,
318,
262,
10147,
17487,
329,
262,
10654,
286,
644,
1074,
30,
46506,
366,
27898,
1,
16034,
3084,
62,
22,
1157,
2231,
33411,
366,
2484,
2265,
17487,
1,
796,
705,
505,
17,
505,
6
] |
What is the number of contestants who are 5'7' and exactly 26 years of age? | SELECT COUNT("Contestant") FROM table_27692 WHERE "Height (ft)" = '5''7' AND "Age" = '26' | [
2061,
318,
262,
1271,
286,
37851,
508,
389,
642,
6,
22,
6,
290,
3446,
2608,
812,
286,
2479,
30,
46506,
327,
28270,
7203,
4264,
395,
415,
4943,
16034,
3084,
62,
1983,
46589,
33411,
366,
23106,
357,
701,
16725,
796,
705,
20,
7061,
22,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
37851,
508,
389,
642,
6,
22,
6,
290,
3446,
2608,
812,
286,
2479,
30,
46506,
327,
28270,
7203,
4264,
395,
415,
4943,
16034,
3084,
62,
1983,
46589,
33411,
366,
23106,
357,
701,
16725,
796,
705,
20,
7061,
22,... |
What margin was in after 1981, and was Roberto De Vicenzo runner-up? | SELECT margin FROM table_name_88 WHERE year > 1981 AND runner_s__up = "roberto de vicenzo" | [
2061,
10330,
373,
287,
706,
14745,
11,
290,
373,
32076,
1024,
24017,
268,
10872,
17490,
12,
929,
30,
46506,
10330,
16034,
3084,
62,
3672,
62,
3459,
33411,
614,
1875,
14745,
5357,
17490,
62,
82,
834,
929,
796,
366,
305,
32371,
390,
204... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10330,
373,
287,
706,
14745,
11,
290,
373,
32076,
1024,
24017,
268,
10872,
17490,
12,
929,
30,
46506,
10330,
16034,
3084,
62,
3672,
62,
3459,
33411,
614,
1875,
14745,
5357,
17490,
62,
82,
834,
929,
796,
366,
305,
32371,
390,
204... |
provide the number of patients whose admission type is emergency and admission year is less than 2167? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.admityear < "2167" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
13938,
614,
318,
1342,
621,
362,
21940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
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
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
13938,
614,
318,
1342,
621,
362,
21940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
... |
Which 2009 tournament had Grand Slams? | SELECT "Tournament" FROM table_4700 WHERE "2009" = 'grand slams' | [
13828,
3717,
7756,
550,
5675,
30382,
82,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2857,
405,
33411,
366,
10531,
1,
796,
705,
23936,
45846,
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
] | [
13828,
3717,
7756,
550,
5675,
30382,
82,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2857,
405,
33411,
366,
10531,
1,
796,
705,
23936,
45846,
6
] |
what is a specimen test that is top four most commonly given since 4 years ago? | SELECT t1.spec_type_desc FROM (SELECT microbiologyevents.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microbiologyevents WHERE DATETIME(microbiologyevents.charttime) >= DATETIME(CURRENT_TIME(), '-4 year') GROUP BY microbiologyevents.spec_type_desc) AS t1 WHERE t1.c1 <= 4 | [
10919,
318,
257,
31674,
1332,
326,
318,
1353,
1440,
749,
8811,
1813,
1201,
604,
812,
2084,
30,
46506,
256,
16,
13,
16684,
62,
4906,
62,
20147,
16034,
357,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
11,
360,
24290,
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... | [
10919,
318,
257,
31674,
1332,
326,
318,
1353,
1440,
749,
8811,
1813,
1201,
604,
812,
2084,
30,
46506,
256,
16,
13,
16684,
62,
4906,
62,
20147,
16034,
357,
46506,
24559,
1435,
31534,
13,
16684,
62,
4906,
62,
20147,
11,
360,
24290,
62,
... |
what was the three most frequent drugs that were prescribed within 2 months to the transaminase elevation female patients aged 20s after they were diagnosed with transaminase elevation, a year before? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'transaminase elevation' AND DATETIME(diagnosis.dia... | [
10919,
373,
262,
1115,
749,
10792,
5010,
326,
547,
14798,
1626,
362,
1933,
284,
262,
1007,
5669,
589,
22910,
4048,
3871,
9722,
1160,
82,
706,
484,
547,
14641,
351,
1007,
5669,
589,
22910,
11,
257,
614,
878,
30,
46506,
256,
18,
13,
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,
373,
262,
1115,
749,
10792,
5010,
326,
547,
14798,
1626,
362,
1933,
284,
262,
1007,
5669,
589,
22910,
4048,
3871,
9722,
1160,
82,
706,
484,
547,
14641,
351,
1007,
5669,
589,
22910,
11,
257,
614,
878,
30,
46506,
256,
18,
13,
3... |
What is the top lap that had 6 grids and more than 19 points? | SELECT MAX("Laps") FROM table_54339 WHERE "Grid" = '6' AND "Points" > '19' | [
2061,
318,
262,
1353,
14779,
326,
550,
718,
50000,
290,
517,
621,
678,
2173,
30,
46506,
25882,
7203,
43,
1686,
4943,
16034,
3084,
62,
4051,
29626,
33411,
366,
41339,
1,
796,
705,
21,
6,
5357,
366,
40710,
1,
1875,
705,
1129,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1353,
14779,
326,
550,
718,
50000,
290,
517,
621,
678,
2173,
30,
46506,
25882,
7203,
43,
1686,
4943,
16034,
3084,
62,
4051,
29626,
33411,
366,
41339,
1,
796,
705,
21,
6,
5357,
366,
40710,
1,
1875,
705,
1129,
6
] |
WHAT YEAR WAS IT WHEN THE SCORE WAS 3 & 2? | SELECT "Year" FROM table_72641 WHERE "Winning score" = '3 & 2' | [
32971,
32914,
21725,
7283,
42099,
3336,
6374,
6965,
21725,
513,
1222,
362,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
22,
2075,
3901,
33411,
366,
16643,
768,
4776,
1,
796,
705,
18,
1222,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
32914,
21725,
7283,
42099,
3336,
6374,
6965,
21725,
513,
1222,
362,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
22,
2075,
3901,
33411,
366,
16643,
768,
4776,
1,
796,
705,
18,
1222,
362,
6
] |
Name the winning score for pga championship | SELECT winning_score FROM table_225880_1 WHERE championship = "PGA championship" | [
5376,
262,
5442,
4776,
329,
279,
4908,
12184,
46506,
5442,
62,
26675,
16034,
3084,
62,
18182,
41655,
62,
16,
33411,
12184,
796,
366,
6968,
32,
12184,
1
] | [
1,
1,
1,
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,
5442,
4776,
329,
279,
4908,
12184,
46506,
5442,
62,
26675,
16034,
3084,
62,
18182,
41655,
62,
16,
33411,
12184,
796,
366,
6968,
32,
12184,
1
] |
how many female patients were given the drug scopolamine patch? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.drug = "Scopolamine Patch" | [
4919,
867,
4048,
3871,
547,
1813,
262,
2563,
629,
39704,
9862,
8529,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
4048,
3871,
547,
1813,
262,
2563,
629,
39704,
9862,
8529,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796... |
Which PD per game has a Rank smaller than 4, a Winning % of 78.6%, a Streak of w1, and a PA per game smaller than 81.5? | SELECT MIN("PD per game") FROM table_46174 WHERE "Rank" < '4' AND "Winning %" = '78.6%' AND "Streak" = 'w1' AND "PA per game" < '81.5' | [
13828,
14340,
583,
983,
468,
257,
10916,
4833,
621,
604,
11,
257,
40983,
4064,
286,
8699,
13,
21,
7441,
257,
9737,
461,
286,
266,
16,
11,
290,
257,
8147,
583,
983,
4833,
621,
9773,
13,
20,
30,
46506,
20625,
7203,
5760,
583,
983,
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... | [
13828,
14340,
583,
983,
468,
257,
10916,
4833,
621,
604,
11,
257,
40983,
4064,
286,
8699,
13,
21,
7441,
257,
9737,
461,
286,
266,
16,
11,
290,
257,
8147,
583,
983,
4833,
621,
9773,
13,
20,
30,
46506,
20625,
7203,
5760,
583,
983,
4... |
give me the number of patients whose admission type is newborn? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
23856,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
13965,
33,
30649,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
318,
23856,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
13965,
33,
30649,
1
] |
how many emergency hospital admission patients had other partial resection of small intestine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.short_title = "Part sm bowel resect NEC" | [
4919,
867,
6334,
4436,
13938,
3871,
550,
584,
13027,
1599,
596,
286,
1402,
45426,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
6334,
4436,
13938,
3871,
550,
584,
13027,
1599,
596,
286,
1402,
45426,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
... |
Which 2009's 2010 featured the wta premier 5 tournaments? | SELECT 2009 FROM table_name_72 WHERE 2010 = "wta premier 5 tournaments" | [
13828,
3717,
338,
3050,
8096,
262,
266,
8326,
18256,
642,
18130,
30,
46506,
3717,
16034,
3084,
62,
3672,
62,
4761,
33411,
3050,
796,
366,
86,
8326,
18256,
642,
18130,
1
] | [
1,
1,
1,
1,
1,
1,
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,
3717,
338,
3050,
8096,
262,
266,
8326,
18256,
642,
18130,
30,
46506,
3717,
16034,
3084,
62,
3672,
62,
4761,
33411,
3050,
796,
366,
86,
8326,
18256,
642,
18130,
1
] |
List the dates of debates with number of audience bigger than 150 | SELECT Date FROM debate WHERE Num_of_Audience > 150 | [
8053,
262,
9667,
286,
15389,
351,
1271,
286,
5386,
5749,
621,
6640,
46506,
7536,
16034,
4384,
33411,
31835,
62,
1659,
62,
16353,
1240,
1875,
6640
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
9667,
286,
15389,
351,
1271,
286,
5386,
5749,
621,
6640,
46506,
7536,
16034,
4384,
33411,
31835,
62,
1659,
62,
16353,
1240,
1875,
6640
] |
What is the Digital/analog signal with a Chipset based on with radeon 8500? | SELECT digital_analog_signal FROM table_name_50 WHERE chipset_based_on = "radeon 8500" | [
2061,
318,
262,
10231,
14,
272,
11794,
6737,
351,
257,
45864,
316,
1912,
319,
351,
374,
12424,
807,
4059,
30,
46506,
4875,
62,
272,
11794,
62,
12683,
282,
16034,
3084,
62,
3672,
62,
1120,
33411,
49013,
62,
3106,
62,
261,
796,
366,
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
] | [
2061,
318,
262,
10231,
14,
272,
11794,
6737,
351,
257,
45864,
316,
1912,
319,
351,
374,
12424,
807,
4059,
30,
46506,
4875,
62,
272,
11794,
62,
12683,
282,
16034,
3084,
62,
3672,
62,
1120,
33411,
49013,
62,
3106,
62,
261,
796,
366,
8... |
what is 2010 when 2006 is 3r? | SELECT "2010" FROM table_47843 WHERE "2006" = '3r' | [
10919,
318,
3050,
618,
4793,
318,
513,
81,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
29059,
3559,
33411,
366,
13330,
1,
796,
705,
18,
81,
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
] | [
10919,
318,
3050,
618,
4793,
318,
513,
81,
30,
46506,
366,
10333,
1,
16034,
3084,
62,
29059,
3559,
33411,
366,
13330,
1,
796,
705,
18,
81,
6
] |
What is the name of the cover model on 3-97? | SELECT cover_model FROM table_1566850_8 WHERE date = "3-97" | [
2061,
318,
262,
1438,
286,
262,
3002,
2746,
319,
513,
12,
5607,
30,
46506,
3002,
62,
19849,
16034,
3084,
62,
1314,
2791,
25764,
62,
23,
33411,
3128,
796,
366,
18,
12,
5607,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
3002,
2746,
319,
513,
12,
5607,
30,
46506,
3002,
62,
19849,
16034,
3084,
62,
1314,
2791,
25764,
62,
23,
33411,
3128,
796,
366,
18,
12,
5607,
1
] |
how many games did the philadelphia soul lose before earning their first win ? | SELECT COUNT(*) FROM table_203_534 WHERE id < (SELECT id FROM table_203_534 WHERE "result" = 'w') | [
4919,
867,
1830,
750,
262,
5206,
8273,
5848,
4425,
878,
13748,
511,
717,
1592,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
20,
2682,
33411,
4686,
1279,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
20,
2682,
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
] | [
4919,
867,
1830,
750,
262,
5206,
8273,
5848,
4425,
878,
13748,
511,
717,
1592,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
20,
2682,
33411,
4686,
1279,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,
20,
2682,
33411,
... |
What is the Attendance for a Week earlier than 16, and a Date of bye? | SELECT "Attendance" FROM table_75935 WHERE "Week" < '16' AND "Date" = 'bye' | [
2061,
318,
262,
46502,
590,
329,
257,
6119,
2961,
621,
1467,
11,
290,
257,
7536,
286,
33847,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
38314,
2327,
33411,
366,
20916,
1,
1279,
705,
1433,
6,
5357,
366,
10430,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
46502,
590,
329,
257,
6119,
2961,
621,
1467,
11,
290,
257,
7536,
286,
33847,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
38314,
2327,
33411,
366,
20916,
1,
1279,
705,
1433,
6,
5357,
366,
10430,
1,
796,
705,
... |
Get all answers containing 'help me'. | SELECT Id AS "post_link", Body, Score FROM Posts WHERE PostTypeId = 2 AND (Body LIKE '%please help me%') | [
3855,
477,
7429,
7268,
705,
16794,
502,
4458,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
12290,
11,
15178,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
357,
25842,
34178,
705,
4,
29688,
1037,
502,
4,
11537
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3855,
477,
7429,
7268,
705,
16794,
502,
4458,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
12290,
11,
15178,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
357,
25842,
34178,
705,
4,
29688,
1037,
502,
4,
11537
] |
how many patients whose gender is f and procedure icd9 code is 12? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.icd9_code = "12" | [
4919,
867,
3871,
3025,
5279,
318,
277,
290,
8771,
14158,
67,
24,
2438,
318,
1105,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
5279,
318,
277,
290,
8771,
14158,
67,
24,
2438,
318,
1105,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
... |
count the number of patients whose insurance is private and diagnoses long title is alcoholic cirrhosis of liver? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Private" AND diagnoses.long_title = "Alcoholic cirrhosis of liver" | [
9127,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
40567,
890,
3670,
318,
26016,
10774,
17179,
5958,
286,
14383,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
40567,
890,
3670,
318,
26016,
10774,
17179,
5958,
286,
14383,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
Who is the Player born in 1981? | SELECT "Player" FROM table_70910 WHERE "Year born" = '1981' | [
8241,
318,
262,
7853,
4642,
287,
14745,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
31495,
940,
33411,
366,
17688,
4642,
1,
796,
705,
35411,
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
] | [
8241,
318,
262,
7853,
4642,
287,
14745,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
31495,
940,
33411,
366,
17688,
4642,
1,
796,
705,
35411,
6
] |
indicate the monthly minimum amount of arterial bp [systolic] for patient 25814 since 61 days ago. | SELECT MIN(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25814)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arte... | [
521,
5344,
262,
9651,
5288,
2033,
286,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
329,
5827,
37528,
1415,
1201,
8454,
1528,
2084,
13,
46506,
20625,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
521,
5344,
262,
9651,
5288,
2033,
286,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
329,
5827,
37528,
1415,
1201,
8454,
1528,
2084,
13,
46506,
20625,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
1... |
Top 40 User from Bangladesh in Stackoverflow. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%bangladesh%' OR UPPER(Location) LIKE '%bd' ORDER BY Reputation DESC LIMIT 40 | [
9126,
2319,
11787,
422,
19483,
287,
23881,
2502,
11125,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
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... | [
9126,
2319,
11787,
422,
19483,
287,
23881,
2502,
11125,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
16034,
... |
How many venues were there for the match on November 6? | SELECT COUNT("Venue") FROM table_23081 WHERE "Date" = 'November 6' | [
2437,
867,
22276,
547,
612,
329,
262,
2872,
319,
3389,
718,
30,
46506,
327,
28270,
7203,
37522,
518,
4943,
16034,
3084,
62,
19214,
6659,
33411,
366,
10430,
1,
796,
705,
21159,
718,
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
] | [
2437,
867,
22276,
547,
612,
329,
262,
2872,
319,
3389,
718,
30,
46506,
327,
28270,
7203,
37522,
518,
4943,
16034,
3084,
62,
19214,
6659,
33411,
366,
10430,
1,
796,
705,
21159,
718,
6
] |
What was the race when the winner of 2nd was Voleuse? | SELECT race FROM table_name_27 WHERE winner_or_2nd = "voleuse" | [
2061,
373,
262,
3234,
618,
262,
8464,
286,
362,
358,
373,
569,
2305,
1904,
30,
46506,
3234,
16034,
3084,
62,
3672,
62,
1983,
33411,
8464,
62,
273,
62,
17,
358,
796,
366,
85,
2305,
1904,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3234,
618,
262,
8464,
286,
362,
358,
373,
569,
2305,
1904,
30,
46506,
3234,
16034,
3084,
62,
3672,
62,
1983,
33411,
8464,
62,
273,
62,
17,
358,
796,
366,
85,
2305,
1904,
1
] |
A bar chart shows the distribution of dept_name and the amount of dept_name , and group by attribute dept_name. | SELECT dept_name, COUNT(dept_name) FROM instructor GROUP BY dept_name ORDER BY salary | [
32,
2318,
8262,
2523,
262,
6082,
286,
390,
457,
62,
3672,
290,
262,
2033,
286,
390,
457,
62,
3672,
837,
290,
1448,
416,
11688,
390,
457,
62,
3672,
13,
46506,
390,
457,
62,
3672,
11,
327,
28270,
7,
2934,
457,
62,
3672,
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
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
390,
457,
62,
3672,
290,
262,
2033,
286,
390,
457,
62,
3672,
837,
290,
1448,
416,
11688,
390,
457,
62,
3672,
13,
46506,
390,
457,
62,
3672,
11,
327,
28270,
7,
2934,
457,
62,
3672,
8,
16034,
... |
What is the tournament when 2010 is not held? | SELECT "Tournament" FROM table_65398 WHERE "2010" = 'not held' | [
2061,
318,
262,
7756,
618,
3050,
318,
407,
2714,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2996,
31952,
33411,
366,
10333,
1,
796,
705,
1662,
2714,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7756,
618,
3050,
318,
407,
2714,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2996,
31952,
33411,
366,
10333,
1,
796,
705,
1662,
2714,
6
] |
How many spectators watched when the away team was Collingwood? | SELECT "Crowd" FROM table_52928 WHERE "Away team" = 'collingwood' | [
2437,
867,
31704,
7342,
618,
262,
1497,
1074,
373,
7778,
278,
3822,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
49721,
2078,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26000,
278,
3822,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
31704,
7342,
618,
262,
1497,
1074,
373,
7778,
278,
3822,
30,
46506,
366,
34,
3986,
1,
16034,
3084,
62,
49721,
2078,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26000,
278,
3822,
6
] |
what was the date of the last game ? | SELECT "date" FROM table_204_96 ORDER BY "date" DESC LIMIT 1 | [
10919,
373,
262,
3128,
286,
262,
938,
983,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
4846,
38678,
11050,
366,
4475,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
3128,
286,
262,
938,
983,
5633,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
4846,
38678,
11050,
366,
4475,
1,
22196,
34,
27564,
2043,
352
] |
Find the number of dorms that have some amenity. | SELECT COUNT(DISTINCT dormid) FROM has_amenity | [
16742,
262,
1271,
286,
18586,
82,
326,
423,
617,
29448,
414,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
18586,
312,
8,
16034,
468,
62,
41763,
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
] | [
16742,
262,
1271,
286,
18586,
82,
326,
423,
617,
29448,
414,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
18586,
312,
8,
16034,
468,
62,
41763,
414
] |
What is the away team where the home team is Coventry City? | SELECT "Away team" FROM table_41718 WHERE "Home team" = 'coventry city' | [
2061,
318,
262,
1497,
1074,
810,
262,
1363,
1074,
318,
39751,
13000,
2254,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
38547,
1507,
33411,
366,
16060,
1074,
1,
796,
705,
66,
709,
13000,
1748,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1497,
1074,
810,
262,
1363,
1074,
318,
39751,
13000,
2254,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
38547,
1507,
33411,
366,
16060,
1074,
1,
796,
705,
66,
709,
13000,
1748,
6
] |
Which method has a record of 11-10? | SELECT method FROM table_name_70 WHERE record = "11-10" | [
13828,
2446,
468,
257,
1700,
286,
1367,
12,
940,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
2154,
33411,
1700,
796,
366,
1157,
12,
940,
1
] | [
1,
1,
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,
2446,
468,
257,
1700,
286,
1367,
12,
940,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
2154,
33411,
1700,
796,
366,
1157,
12,
940,
1
] |
How many wins when the points are 0 and podiums are less than 0? | SELECT SUM(wins) FROM table_name_51 WHERE points = "0" AND podiums < 0 | [
2437,
867,
7864,
618,
262,
2173,
389,
657,
290,
27941,
82,
389,
1342,
621,
657,
30,
46506,
35683,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
2173,
796,
366,
15,
1,
5357,
27941,
82,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7864,
618,
262,
2173,
389,
657,
290,
27941,
82,
389,
1342,
621,
657,
30,
46506,
35683,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
2173,
796,
366,
15,
1,
5357,
27941,
82,
1279,
657
] |
Who had an evening gown score of 9.78? | SELECT interview FROM table_11690135_1 WHERE evening_gown = "9.78" | [
8241,
550,
281,
6180,
33323,
4776,
286,
860,
13,
3695,
30,
46506,
2720,
16034,
3084,
62,
1157,
3388,
486,
2327,
62,
16,
33411,
6180,
62,
70,
593,
796,
366,
24,
13,
3695,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
281,
6180,
33323,
4776,
286,
860,
13,
3695,
30,
46506,
2720,
16034,
3084,
62,
1157,
3388,
486,
2327,
62,
16,
33411,
6180,
62,
70,
593,
796,
366,
24,
13,
3695,
1
] |
Which chassis has more than 0 points and was before 1966? | SELECT chassis FROM table_name_59 WHERE year < 1966 AND points > 0 | [
13828,
24587,
468,
517,
621,
657,
2173,
290,
373,
878,
19322,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
3270,
33411,
614,
1279,
19322,
5357,
2173,
1875,
657
] | [
1,
1,
1,
1,
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,
24587,
468,
517,
621,
657,
2173,
290,
373,
878,
19322,
30,
46506,
24587,
16034,
3084,
62,
3672,
62,
3270,
33411,
614,
1279,
19322,
5357,
2173,
1875,
657
] |
What is the Notes when the fleet size is 3? | SELECT notes FROM table_name_39 WHERE fleet_size = 3 | [
2061,
318,
262,
11822,
618,
262,
11026,
2546,
318,
513,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
2670,
33411,
11026,
62,
7857,
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
] | [
2061,
318,
262,
11822,
618,
262,
11026,
2546,
318,
513,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
2670,
33411,
11026,
62,
7857,
796,
513
] |
Which is the team against which Missouri Tigers have a record of ui, 4-1 at the opponent's venue?How | SELECT "Missouri vs." FROM table_20605 WHERE "at Opponents Venue" = 'UI, 4-1' | [
13828,
318,
262,
1074,
1028,
543,
11565,
17662,
423,
257,
1700,
286,
334,
72,
11,
604,
12,
16,
379,
262,
6125,
338,
14359,
30,
2437,
46506,
366,
17140,
10300,
3691,
526,
16034,
3084,
62,
1238,
32417,
33411,
366,
265,
9385,
3906,
9932,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
1074,
1028,
543,
11565,
17662,
423,
257,
1700,
286,
334,
72,
11,
604,
12,
16,
379,
262,
6125,
338,
14359,
30,
2437,
46506,
366,
17140,
10300,
3691,
526,
16034,
3084,
62,
1238,
32417,
33411,
366,
265,
9385,
3906,
9932,... |
Which Attendance is the highest one that has a Loss of batista (4-5)? | SELECT MAX(attendance) FROM table_name_3 WHERE loss = "batista (4-5)" | [
13828,
46502,
590,
318,
262,
4511,
530,
326,
468,
257,
22014,
286,
7365,
12523,
357,
19,
12,
20,
19427,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
2994,
796,
366,
8664,
12523,
357,
19,
12,
20,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
46502,
590,
318,
262,
4511,
530,
326,
468,
257,
22014,
286,
7365,
12523,
357,
19,
12,
20,
19427,
46506,
25882,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
18,
33411,
2994,
796,
366,
8664,
12523,
357,
19,
12,
20,
16725
] |
What squad plays at comunale in darfo boario terme? | SELECT name FROM table_name_40 WHERE home_venue = "comunale" AND city = "darfo boario terme" | [
2061,
8244,
5341,
379,
401,
403,
1000,
287,
288,
283,
6513,
1489,
4982,
1059,
1326,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1821,
33411,
1363,
62,
4080,
796,
366,
785,
403,
1000,
1,
5357,
1748,
796,
366,
27455,
6513,
1489,
4982,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8244,
5341,
379,
401,
403,
1000,
287,
288,
283,
6513,
1489,
4982,
1059,
1326,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1821,
33411,
1363,
62,
4080,
796,
366,
785,
403,
1000,
1,
5357,
1748,
796,
366,
27455,
6513,
1489,
4982,
... |
What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 September 2008? | SELECT result FROM table_name_37 WHERE competition = "2010 fifa world cup qualification" AND date = "10 september 2008" | [
2061,
318,
25414,
11,
618,
27348,
318,
3050,
21285,
2159,
5454,
9537,
2649,
11,
290,
618,
7536,
318,
838,
2693,
3648,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2718,
33411,
5449,
796,
366,
10333,
5515,
64,
995,
6508,
28587,
1,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
25414,
11,
618,
27348,
318,
3050,
21285,
2159,
5454,
9537,
2649,
11,
290,
618,
7536,
318,
838,
2693,
3648,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
2718,
33411,
5449,
796,
366,
10333,
5515,
64,
995,
6508,
28587,
1,
5357,... |
control subjects with a normal a1c and fasting glucose | SELECT * FROM table_train_177 WHERE fasting_glucose = 1 | [
13716,
7481,
351,
257,
3487,
257,
16,
66,
290,
24845,
15701,
46506,
1635,
16034,
3084,
62,
27432,
62,
22413,
33411,
24845,
62,
4743,
1229,
577,
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
] | [
13716,
7481,
351,
257,
3487,
257,
16,
66,
290,
24845,
15701,
46506,
1635,
16034,
3084,
62,
27432,
62,
22413,
33411,
24845,
62,
4743,
1229,
577,
796,
352
] |
What shows for Playoffs when the Open Cup shows as did not qualify, and a Regular Season was 3rd, south atlantic? | SELECT "Playoffs" FROM table_70561 WHERE "Open Cup" = 'did not qualify' AND "Regular Season" = '3rd, south atlantic' | [
2061,
2523,
329,
42361,
618,
262,
4946,
5454,
2523,
355,
750,
407,
12780,
11,
290,
257,
23603,
7369,
373,
513,
4372,
11,
5366,
379,
75,
5109,
30,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
2154,
47915,
33411,
366,
11505,
5454,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2523,
329,
42361,
618,
262,
4946,
5454,
2523,
355,
750,
407,
12780,
11,
290,
257,
23603,
7369,
373,
513,
4372,
11,
5366,
379,
75,
5109,
30,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
2154,
47915,
33411,
366,
11505,
5454,
1,
... |
How man seasons have the air date of October 2, 2001? | SELECT COUNT(season__number) FROM table_2219961_2 WHERE nbc_airdate = "October 2, 2001" | [
2437,
582,
7028,
423,
262,
1633,
3128,
286,
3267,
362,
11,
5878,
30,
46506,
327,
28270,
7,
6230,
834,
17618,
8,
16034,
3084,
62,
1828,
22288,
16,
62,
17,
33411,
299,
15630,
62,
958,
4475,
796,
366,
18517,
362,
11,
5878,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
582,
7028,
423,
262,
1633,
3128,
286,
3267,
362,
11,
5878,
30,
46506,
327,
28270,
7,
6230,
834,
17618,
8,
16034,
3084,
62,
1828,
22288,
16,
62,
17,
33411,
299,
15630,
62,
958,
4475,
796,
366,
18517,
362,
11,
5878,
1
] |
Which Rider has Laps smaller than 24, and a Grid smaller than 12, and a Manufacturer of aprilia? | SELECT "Rider" FROM table_48097 WHERE "Laps" < '24' AND "Grid" < '12' AND "Manufacturer" = 'aprilia' | [
13828,
16414,
468,
406,
1686,
4833,
621,
1987,
11,
290,
257,
24846,
4833,
621,
1105,
11,
290,
257,
40218,
286,
46593,
17517,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
22148,
5607,
33411,
366,
43,
1686,
1,
1279,
705,
1731,
6,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
16414,
468,
406,
1686,
4833,
621,
1987,
11,
290,
257,
24846,
4833,
621,
1105,
11,
290,
257,
40218,
286,
46593,
17517,
30,
46506,
366,
49,
1304,
1,
16034,
3084,
62,
22148,
5607,
33411,
366,
43,
1686,
1,
1279,
705,
1731,
6,
535... |
count the number of patients whose insurance is medicaid and admission year is less than 2203? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.admityear < "2203" | [
9127,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
1698,
290,
13938,
614,
318,
1342,
621,
15629,
18,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9127,
262,
1271,
286,
3871,
3025,
5096,
318,
6924,
1698,
290,
13938,
614,
318,
1342,
621,
15629,
18,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
1040,
3874,
796,
366,
... |
how many patients are diagnosed for atherosclerosis of native arteries of the extremities with intermittent claudication and had lab test abnormal status as abnormal? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Atherosclerosis of native arteries of the extremities with intermittent claudication" AND lab.flag = "abnormal" | [
4919,
867,
3871,
389,
14641,
329,
13366,
4951,
31399,
286,
6868,
45894,
286,
262,
8963,
871,
351,
38361,
537,
3885,
3299,
290,
550,
2248,
1332,
18801,
3722,
355,
18801,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
389,
14641,
329,
13366,
4951,
31399,
286,
6868,
45894,
286,
262,
8963,
871,
351,
38361,
537,
3885,
3299,
290,
550,
2248,
1332,
18801,
3722,
355,
18801,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
... |
provide the number of patients whose ethnicity is white and year of birth is less than 2103? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.dob_year < "2103" | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
290,
614,
286,
4082,
318,
1342,
621,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
2330,
290,
614,
286,
4082,
318,
1342,
621,
362,
15197,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
... |
count the number of patients whose diagnoses long title is personal history of venous thrombosis and embolism and lab test abnormal status is delta? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Personal history of venous thrombosis and embolism" AND lab.flag = "delta" | [
9127,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
2614,
2106,
286,
8710,
516,
294,
398,
65,
5958,
290,
4072,
349,
1042,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
890,
3670,
318,
2614,
2106,
286,
8710,
516,
294,
398,
65,
5958,
290,
4072,
349,
1042,
290,
2248,
1332,
18801,
3722,
318,
25979,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,... |
Name the last title for 2012 | SELECT last_title FROM table_2454589_1 WHERE first_season_in_current_spell = 2012 | [
5376,
262,
938,
3670,
329,
2321,
46506,
938,
62,
7839,
16034,
3084,
62,
22995,
2231,
4531,
62,
16,
33411,
717,
62,
6230,
62,
259,
62,
14421,
62,
46143,
796,
2321
] | [
1,
1,
1,
1,
1,
1,
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,
938,
3670,
329,
2321,
46506,
938,
62,
7839,
16034,
3084,
62,
22995,
2231,
4531,
62,
16,
33411,
717,
62,
6230,
62,
259,
62,
14421,
62,
46143,
796,
2321
] |
Who is the driver for the Entract of Enrico Plat ? | SELECT driver FROM table_name_80 WHERE entrant = "enrico platé" | [
8241,
318,
262,
4639,
329,
262,
7232,
974,
286,
2039,
1173,
78,
32715,
5633,
46506,
4639,
16034,
3084,
62,
3672,
62,
1795,
33411,
920,
5250,
796,
366,
268,
1173,
78,
40315,
2634,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4639,
329,
262,
7232,
974,
286,
2039,
1173,
78,
32715,
5633,
46506,
4639,
16034,
3084,
62,
3672,
62,
1795,
33411,
920,
5250,
796,
366,
268,
1173,
78,
40315,
2634,
1
] |
Can you tell me the Team 2 that has the Venue of binh duong stadium, vietnam? | SELECT team_2 FROM table_name_27 WHERE venue = "binh duong stadium, vietnam" | [
6090,
345,
1560,
502,
262,
4816,
362,
326,
468,
262,
9932,
518,
286,
9874,
71,
7043,
506,
10308,
11,
410,
1155,
7402,
30,
46506,
1074,
62,
17,
16034,
3084,
62,
3672,
62,
1983,
33411,
14359,
796,
366,
8800,
71,
7043,
506,
10308,
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
] | [
6090,
345,
1560,
502,
262,
4816,
362,
326,
468,
262,
9932,
518,
286,
9874,
71,
7043,
506,
10308,
11,
410,
1155,
7402,
30,
46506,
1074,
62,
17,
16034,
3084,
62,
3672,
62,
1983,
33411,
14359,
796,
366,
8800,
71,
7043,
506,
10308,
11,
... |
Compute the total the total number across location as a pie chart. | SELECT Location, COUNT(*) FROM performance GROUP BY Location | [
7293,
1133,
262,
2472,
262,
2472,
1271,
1973,
4067,
355,
257,
2508,
8262,
13,
46506,
13397,
11,
327,
28270,
7,
28104,
16034,
2854,
44441,
11050,
13397
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7293,
1133,
262,
2472,
262,
2472,
1271,
1973,
4067,
355,
257,
2508,
8262,
13,
46506,
13397,
11,
327,
28270,
7,
28104,
16034,
2854,
44441,
11050,
13397
] |
In what Event did Dorcus Inzikuru compete? | SELECT event FROM table_name_86 WHERE name = "dorcus inzikuru" | [
818,
644,
8558,
750,
12528,
9042,
554,
47303,
14717,
9320,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4521,
33411,
1438,
796,
366,
40180,
9042,
287,
47303,
14717,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
8558,
750,
12528,
9042,
554,
47303,
14717,
9320,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4521,
33411,
1438,
796,
366,
40180,
9042,
287,
47303,
14717,
1
] |
how many patients younger than 85 years of age lab tested for other cells? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "85" AND lab.label = "Other Cells" | [
4919,
867,
3871,
7099,
621,
7600,
812,
286,
2479,
2248,
6789,
329,
584,
4778,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7099,
621,
7600,
812,
286,
2479,
2248,
6789,
329,
584,
4778,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
... |
(Possibly) suspended users with Supporter badge. | SELECT u.CreationDate, u.Id AS "user_link" FROM Users AS u INNER JOIN Badges AS b ON b.UserId = u.Id WHERE b.Name = 'Nice Question' AND u.Reputation <= 1 GROUP BY u.Id, u.CreationDate ORDER BY u.CreationDate | [
7,
47,
20846,
8,
9951,
2985,
351,
8105,
4337,
23009,
13,
46506,
334,
13,
12443,
341,
10430,
11,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
18987,
7054,
334,
3268,
21479,
32357,
1268,
7772,
3212,
7054,
275,
6177,
275,
13,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
7,
47,
20846,
8,
9951,
2985,
351,
8105,
4337,
23009,
13,
46506,
334,
13,
12443,
341,
10430,
11,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1,
16034,
18987,
7054,
334,
3268,
21479,
32357,
1268,
7772,
3212,
7054,
275,
6177,
275,
13,
12... |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and price , and group by attribute headquarter, order Y from low to high order. | SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Price | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2756,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
1502,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
2756,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
1502,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
309,
16,
... |
What is the rank when the time is 6:50.48? | SELECT rank FROM table_name_70 WHERE time = "6:50.48" | [
2061,
318,
262,
4279,
618,
262,
640,
318,
718,
25,
1120,
13,
2780,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
2154,
33411,
640,
796,
366,
21,
25,
1120,
13,
2780,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4279,
618,
262,
640,
318,
718,
25,
1120,
13,
2780,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
2154,
33411,
640,
796,
366,
21,
25,
1120,
13,
2780,
1
] |
Among the patients born before the year 2056, how many of them had the lab test for other body fluid? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2056" AND lab.fluid = "Other Body Fluid" | [
14311,
262,
3871,
4642,
878,
262,
614,
1160,
3980,
11,
703,
867,
286,
606,
550,
262,
2248,
1332,
329,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14311,
262,
3871,
4642,
878,
262,
614,
1160,
3980,
11,
703,
867,
286,
606,
550,
262,
2248,
1332,
329,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
... |
what was the opponent who barr scored against whom she had scored against before ? | SELECT "opponent" FROM table_204_346 GROUP BY "opponent" HAVING COUNT(*) > 1 | [
10919,
373,
262,
6125,
508,
29069,
7781,
1028,
4150,
673,
550,
7781,
1028,
878,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
30557,
44441,
11050,
366,
10365,
3471,
1,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
6125,
508,
29069,
7781,
1028,
4150,
673,
550,
7781,
1028,
878,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
18638,
62,
30557,
44441,
11050,
366,
10365,
3471,
1,
367,
10116,
2751,
327,
28270,
7,
28104,
1875,
352
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.