instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What round had a home of FC augsburg with the result of 3-0? | SELECT round FROM table_name_9 WHERE home = "fc augsburg" AND result = "3-0" | [
2061,
2835,
550,
257,
1363,
286,
10029,
257,
10339,
7423,
351,
262,
1255,
286,
513,
12,
15,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
24,
33411,
1363,
796,
366,
16072,
257,
10339,
7423,
1,
5357,
1255,
796,
366,
18,
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,
2835,
550,
257,
1363,
286,
10029,
257,
10339,
7423,
351,
262,
1255,
286,
513,
12,
15,
30,
46506,
2835,
16034,
3084,
62,
3672,
62,
24,
33411,
1363,
796,
366,
16072,
257,
10339,
7423,
1,
5357,
1255,
796,
366,
18,
12,
15,
1
] |
What is the 1st round with a 2nd round of 0 - 1, and team 1 sco angers (d1)? | SELECT "1st round" FROM table_48483 WHERE "2nd round" = '0 - 1' AND "Team 1" = 'sco angers (d1)' | [
2061,
318,
262,
352,
301,
2835,
351,
257,
362,
358,
2835,
286,
657,
532,
352,
11,
290,
1074,
352,
629,
78,
3550,
364,
357,
67,
16,
19427,
46506,
366,
16,
301,
2835,
1,
16034,
3084,
62,
2780,
38783,
33411,
366,
17,
358,
2835,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
352,
301,
2835,
351,
257,
362,
358,
2835,
286,
657,
532,
352,
11,
290,
1074,
352,
629,
78,
3550,
364,
357,
67,
16,
19427,
46506,
366,
16,
301,
2835,
1,
16034,
3084,
62,
2780,
38783,
33411,
366,
17,
358,
2835,
1,
... |
What is the Location of the Competition with a Rank-Final of 10? | SELECT location FROM table_name_63 WHERE rank_final = "10" | [
2061,
318,
262,
13397,
286,
262,
27348,
351,
257,
10916,
12,
19006,
286,
838,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
5066,
33411,
4279,
62,
20311,
796,
366,
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,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
13397,
286,
262,
27348,
351,
257,
10916,
12,
19006,
286,
838,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
5066,
33411,
4279,
62,
20311,
796,
366,
940,
1
] |
Name the highest laps for time/retired of engine and grid of 5 | SELECT MAX(laps) FROM table_name_37 WHERE time_retired = "engine" AND grid = 5 | [
5376,
262,
4511,
24590,
329,
640,
14,
1186,
1202,
286,
3113,
290,
10706,
286,
642,
46506,
25882,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
640,
62,
1186,
1202,
796,
366,
18392,
1,
5357,
10706,
796,
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,
1,
1,
1,
1,
1
] | [
5376,
262,
4511,
24590,
329,
640,
14,
1186,
1202,
286,
3113,
290,
10706,
286,
642,
46506,
25882,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
640,
62,
1186,
1202,
796,
366,
18392,
1,
5357,
10706,
796,
642
] |
What years did the person coach who had less than 82 wins and more than 24 losses? | SELECT "Years" FROM table_36200 WHERE "Wins" < '82' AND "Losses" > '24' | [
2061,
812,
750,
262,
1048,
3985,
508,
550,
1342,
621,
9415,
7864,
290,
517,
621,
1987,
9089,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
2623,
2167,
33411,
366,
54,
1040,
1,
1279,
705,
6469,
6,
5357,
366,
43,
793,
274,
1,
1875,
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
] | [
2061,
812,
750,
262,
1048,
3985,
508,
550,
1342,
621,
9415,
7864,
290,
517,
621,
1987,
9089,
30,
46506,
366,
40630,
1,
16034,
3084,
62,
2623,
2167,
33411,
366,
54,
1040,
1,
1279,
705,
6469,
6,
5357,
366,
43,
793,
274,
1,
1875,
705... |
What is Distance, when Pilot is 'Stanislaw Wujczak'? | SELECT "Distance" FROM table_46984 WHERE "Pilot" = 'stanislaw wujczak' | [
2061,
318,
34600,
11,
618,
21697,
318,
705,
32140,
3044,
707,
18027,
73,
26691,
461,
30960,
46506,
366,
45767,
1,
16034,
3084,
62,
42947,
5705,
33411,
366,
47,
23439,
1,
796,
705,
14192,
3044,
707,
266,
23577,
26691,
461,
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
] | [
2061,
318,
34600,
11,
618,
21697,
318,
705,
32140,
3044,
707,
18027,
73,
26691,
461,
30960,
46506,
366,
45767,
1,
16034,
3084,
62,
42947,
5705,
33411,
366,
47,
23439,
1,
796,
705,
14192,
3044,
707,
266,
23577,
26691,
461,
6
] |
What was the host of Horrid Henry? | SELECT host FROM table_name_74 WHERE country = "horrid henry" | [
2061,
373,
262,
2583,
286,
6075,
6058,
8616,
30,
46506,
2583,
16034,
3084,
62,
3672,
62,
4524,
33411,
1499,
796,
366,
17899,
6058,
30963,
563,
1
] | [
1,
1,
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,
2583,
286,
6075,
6058,
8616,
30,
46506,
2583,
16034,
3084,
62,
3672,
62,
4524,
33411,
1499,
796,
366,
17899,
6058,
30963,
563,
1
] |
What is the total number of Total Congregations, when % LDS is 0.54%, and when Population is greater than 105,275? | SELECT COUNT(total_congregations) FROM table_name_85 WHERE _percentage_lds = "0.54%" AND population > 105 OFFSET 275 | [
2061,
318,
262,
2472,
1271,
286,
7472,
2908,
2301,
602,
11,
618,
4064,
28377,
318,
657,
13,
4051,
7441,
290,
618,
20133,
318,
3744,
621,
13343,
11,
23195,
30,
46506,
327,
28270,
7,
23350,
62,
36801,
2301,
602,
8,
16034,
3084,
62,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2472,
1271,
286,
7472,
2908,
2301,
602,
11,
618,
4064,
28377,
318,
657,
13,
4051,
7441,
290,
618,
20133,
318,
3744,
621,
13343,
11,
23195,
30,
46506,
327,
28270,
7,
23350,
62,
36801,
2301,
602,
8,
16034,
3084,
62,
36... |
List of questions with bounties. | SELECT PostId AS "post_link", CreationDate, BountyAmount FROM Votes WHERE NOT BountyAmount IS NULL ORDER BY CreationDate DESC, BountyAmount DESC LIMIT 500 | [
8053,
286,
2683,
351,
49937,
444,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
11,
38166,
31264,
16034,
39584,
33411,
5626,
38166,
31264,
3180,
15697,
38678,
11050,
21582,
10430,
22196,
34,
11,
38166,
31264,
22196,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
2683,
351,
49937,
444,
13,
46506,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
11,
38166,
31264,
16034,
39584,
33411,
5626,
38166,
31264,
3180,
15697,
38678,
11050,
21582,
10430,
22196,
34,
11,
38166,
31264,
22196,
... |
what is the name of the top priced winnebago model ? | SELECT "model" FROM table_203_42 ORDER BY "starting price" DESC LIMIT 1 | [
10919,
318,
262,
1438,
286,
262,
1353,
19744,
1592,
710,
65,
3839,
2746,
5633,
46506,
366,
19849,
1,
16034,
3084,
62,
22416,
62,
3682,
38678,
11050,
366,
38690,
2756,
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,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1438,
286,
262,
1353,
19744,
1592,
710,
65,
3839,
2746,
5633,
46506,
366,
19849,
1,
16034,
3084,
62,
22416,
62,
3682,
38678,
11050,
366,
38690,
2756,
1,
22196,
34,
27564,
2043,
352
] |
provide the number of patients whose discharge location is home health care and days of hospital stay is greater than 29? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME HEALTH CARE" AND demographic.days_stay > "29" | [
15234,
485,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
1535,
1337,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
2808,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15234,
485,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
1535,
1337,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
2808,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13... |
Which band serves darwin for commercial purpose? | SELECT band FROM table_name_61 WHERE area_served = "darwin" AND purpose = "commercial" | [
13828,
4097,
9179,
288,
283,
5404,
329,
5068,
4007,
30,
46506,
4097,
16034,
3084,
62,
3672,
62,
5333,
33411,
1989,
62,
45852,
796,
366,
27455,
5404,
1,
5357,
4007,
796,
366,
36313,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4097,
9179,
288,
283,
5404,
329,
5068,
4007,
30,
46506,
4097,
16034,
3084,
62,
3672,
62,
5333,
33411,
1989,
62,
45852,
796,
366,
27455,
5404,
1,
5357,
4007,
796,
366,
36313,
1
] |
what's the competition where aggregate is 4 7 | SELECT "Competition" FROM table_72103 WHERE "Aggregate" = '4–7' | [
10919,
338,
262,
5449,
810,
19406,
318,
604,
767,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
4761,
15197,
33411,
366,
46384,
49373,
1,
796,
705,
19,
1906,
22,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
5449,
810,
19406,
318,
604,
767,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
4761,
15197,
33411,
366,
46384,
49373,
1,
796,
705,
19,
1906,
22,
6
] |
What is the 2009 when there's 11.8 in 2005 and less than 12.6 in 2006? | SELECT MIN(2009) FROM table_name_45 WHERE 2005 = 11.8 AND 2006 < 12.6 | [
2061,
318,
262,
3717,
618,
612,
338,
1367,
13,
23,
287,
5075,
290,
1342,
621,
1105,
13,
21,
287,
4793,
30,
46506,
20625,
7,
10531,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
5075,
796,
1367,
13,
23,
5357,
4793,
1279,
1105,
13,
21
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3717,
618,
612,
338,
1367,
13,
23,
287,
5075,
290,
1342,
621,
1105,
13,
21,
287,
4793,
30,
46506,
20625,
7,
10531,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
5075,
796,
1367,
13,
23,
5357,
4793,
1279,
1105,
13,
21
... |
Show the name of track and the number of races in each track by a bar chart, and list Y in descending order. | SELECT T2.Name, COUNT(*) FROM race AS T1 JOIN track AS T2 ON T1.Track_ID = T2.Track_ID GROUP BY T1.Track_ID ORDER BY COUNT(*) DESC | [
15307,
262,
1438,
286,
2610,
290,
262,
1271,
286,
9558,
287,
1123,
2610,
416,
257,
2318,
8262,
11,
290,
1351,
575,
287,
31491,
1502,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
3234,
7054,
309,
16,
32357,
1268,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
2610,
290,
262,
1271,
286,
9558,
287,
1123,
2610,
416,
257,
2318,
8262,
11,
290,
1351,
575,
287,
31491,
1502,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
3234,
7054,
309,
16,
32357,
1268,
26... |
Which team has the oldest player? | SELECT team FROM player ORDER BY age DESC LIMIT 1 | [
13828,
1074,
468,
262,
13325,
2137,
30,
46506,
1074,
16034,
2137,
38678,
11050,
2479,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
468,
262,
13325,
2137,
30,
46506,
1074,
16034,
2137,
38678,
11050,
2479,
22196,
34,
27564,
2043,
352
] |
What is the date of the event with a $322,280 prize? | SELECT "Date" FROM table_77007 WHERE "Prize" = '$322,280' | [
2061,
318,
262,
3128,
286,
262,
1785,
351,
257,
720,
37283,
11,
21033,
11596,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3324,
25816,
33411,
366,
34487,
2736,
1,
796,
705,
3,
37283,
11,
21033,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
262,
1785,
351,
257,
720,
37283,
11,
21033,
11596,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3324,
25816,
33411,
366,
34487,
2736,
1,
796,
705,
3,
37283,
11,
21033,
6
] |
What's the record of game 67? | SELECT record FROM table_name_42 WHERE game = 67 | [
2061,
338,
262,
1700,
286,
983,
8275,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3682,
33411,
983,
796,
8275
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1700,
286,
983,
8275,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3682,
33411,
983,
796,
8275
] |
What is the genre name of the film HUNGER ROOF? | SELECT T1.name FROM category AS T1 JOIN film_category AS T2 ON T1.category_id = T2.category_id JOIN film AS T3 ON T2.film_id = T3.film_id WHERE T3.title = 'HUNGER ROOF' | [
2061,
318,
262,
12121,
1438,
286,
262,
2646,
41041,
30373,
371,
6684,
37,
30,
46506,
309,
16,
13,
3672,
16034,
6536,
7054,
309,
16,
32357,
1268,
2646,
62,
22872,
7054,
309,
17,
6177,
309,
16,
13,
22872,
62,
312,
796,
309,
17,
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,
318,
262,
12121,
1438,
286,
262,
2646,
41041,
30373,
371,
6684,
37,
30,
46506,
309,
16,
13,
3672,
16034,
6536,
7054,
309,
16,
32357,
1268,
2646,
62,
22872,
7054,
309,
17,
6177,
309,
16,
13,
22872,
62,
312,
796,
309,
17,
13,
... |
How many distinct governors are there? | SELECT COUNT(DISTINCT Governor) FROM party | [
2437,
867,
7310,
26824,
389,
612,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
10807,
8,
16034,
2151
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
7310,
26824,
389,
612,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
10807,
8,
16034,
2151
] |
What match had 8 points? | SELECT "Match" FROM table_43190 WHERE "Points" = '8' | [
2061,
2872,
550,
807,
2173,
30,
46506,
366,
23850,
1,
16034,
3084,
62,
3559,
19782,
33411,
366,
40710,
1,
796,
705,
23,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2872,
550,
807,
2173,
30,
46506,
366,
23850,
1,
16034,
3084,
62,
3559,
19782,
33411,
366,
40710,
1,
796,
705,
23,
6
] |
how many patients admitted before the year 2165 have tp route of drug administration? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2165" AND prescriptions.route = "TP" | [
4919,
867,
3871,
6848,
878,
262,
614,
362,
20986,
423,
256,
79,
6339,
286,
2563,
3662,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6848,
878,
262,
614,
362,
20986,
423,
256,
79,
6339,
286,
2563,
3662,
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... |
What is Record, when Opponent is San Francisco Warriors? | SELECT "Record" FROM table_45430 WHERE "Opponent" = 'san francisco warriors' | [
2061,
318,
13266,
11,
618,
9385,
3471,
318,
2986,
6033,
12090,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2231,
31794,
33411,
366,
27524,
3471,
1,
796,
705,
12807,
46754,
4861,
17119,
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,
13266,
11,
618,
9385,
3471,
318,
2986,
6033,
12090,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
2231,
31794,
33411,
366,
27524,
3471,
1,
796,
705,
12807,
46754,
4861,
17119,
6
] |
count the number of patients whose marital status is widowed and item id is 50924? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.itemid = "50924" | [
9127,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
9214,
6972,
290,
2378,
4686,
318,
2026,
24,
1731,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
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,
29555,
3722,
318,
9214,
6972,
290,
2378,
4686,
318,
2026,
24,
1731,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16... |
What is the earliest year that had under 26 points and a toyota v8 engine? | SELECT MIN(year) FROM table_name_99 WHERE engine = "toyota v8" AND points < 26 | [
2061,
318,
262,
14555,
614,
326,
550,
739,
2608,
2173,
290,
257,
13373,
4265,
410,
23,
3113,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
3113,
796,
366,
83,
726,
4265,
410,
23,
1,
5357,
2173,
1279,
2608
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14555,
614,
326,
550,
739,
2608,
2173,
290,
257,
13373,
4265,
410,
23,
3113,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
3113,
796,
366,
83,
726,
4265,
410,
23,
1,
5357,
2173,
1279,
2608
] |
left ventricular ejection fraction < 35 % | SELECT * FROM table_test_7 WHERE left_ventricular_ejection_fraction_lvef < 35 | [
9464,
7435,
41001,
22189,
295,
13390,
1279,
3439,
4064,
46506,
1635,
16034,
3084,
62,
9288,
62,
22,
33411,
1364,
62,
1151,
41001,
62,
68,
29192,
62,
69,
7861,
62,
75,
303,
69,
1279,
3439
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9464,
7435,
41001,
22189,
295,
13390,
1279,
3439,
4064,
46506,
1635,
16034,
3084,
62,
9288,
62,
22,
33411,
1364,
62,
1151,
41001,
62,
68,
29192,
62,
69,
7861,
62,
75,
303,
69,
1279,
3439
] |
What is the surface on 15 August 2009? | SELECT "Surface" FROM table_59443 WHERE "Date" = '15 august 2009' | [
2061,
318,
262,
4417,
319,
1315,
2932,
3717,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
3270,
34938,
33411,
366,
10430,
1,
796,
705,
1314,
16339,
436,
3717,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4417,
319,
1315,
2932,
3717,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
3270,
34938,
33411,
366,
10430,
1,
796,
705,
1314,
16339,
436,
3717,
6
] |
What Record has a Year that's larger than 2012? | SELECT "Record" FROM table_35731 WHERE "Year" > '2012' | [
2061,
13266,
468,
257,
6280,
326,
338,
4025,
621,
2321,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
27277,
3132,
33411,
366,
17688,
1,
1875,
705,
6999,
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,
13266,
468,
257,
6280,
326,
338,
4025,
621,
2321,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
27277,
3132,
33411,
366,
17688,
1,
1875,
705,
6999,
6
] |
Which Drobo (2nd) has a Drobo FS of up to 32? | SELECT "Drobo (2nd)" FROM table_11040 WHERE "Drobo FS" = 'up to 32' | [
13828,
21045,
2127,
357,
17,
358,
8,
468,
257,
21045,
2127,
23324,
286,
510,
284,
3933,
30,
46506,
366,
35442,
2127,
357,
17,
358,
16725,
16034,
3084,
62,
11442,
1821,
33411,
366,
35442,
2127,
23324,
1,
796,
705,
929,
284,
3933,
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
] | [
13828,
21045,
2127,
357,
17,
358,
8,
468,
257,
21045,
2127,
23324,
286,
510,
284,
3933,
30,
46506,
366,
35442,
2127,
357,
17,
358,
16725,
16034,
3084,
62,
11442,
1821,
33411,
366,
35442,
2127,
23324,
1,
796,
705,
929,
284,
3933,
6
] |
What shows for round when the race was Int. Adac Preis Von Zweibr cken? | SELECT "Round" FROM table_62052 WHERE "Race" = 'int. adac preis von zweibrücken' | [
2061,
2523,
329,
2835,
618,
262,
3234,
373,
2558,
13,
1215,
330,
3771,
271,
26985,
1168,
732,
2889,
269,
3464,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
38850,
4309,
33411,
366,
35157,
1,
796,
705,
600,
13,
512,
330,
662,
271,
1804... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
618,
262,
3234,
373,
2558,
13,
1215,
330,
3771,
271,
26985,
1168,
732,
2889,
269,
3464,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
38850,
4309,
33411,
366,
35157,
1,
796,
705,
600,
13,
512,
330,
662,
271,
1804... |
What is the gold for a bronze larger than 1, with a total smaller than 10, and a silver of 3? | SELECT "Gold" FROM table_65545 WHERE "Bronze" > '1' AND "Total" < '10' AND "Silver" = '3' | [
2061,
318,
262,
3869,
329,
257,
22101,
4025,
621,
352,
11,
351,
257,
2472,
4833,
621,
838,
11,
290,
257,
8465,
286,
513,
30,
46506,
366,
13306,
1,
16034,
3084,
62,
35916,
2231,
33411,
366,
18760,
2736,
1,
1875,
705,
16,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3869,
329,
257,
22101,
4025,
621,
352,
11,
351,
257,
2472,
4833,
621,
838,
11,
290,
257,
8465,
286,
513,
30,
46506,
366,
13306,
1,
16034,
3084,
62,
35916,
2231,
33411,
366,
18760,
2736,
1,
1875,
705,
16,
6,
5357,
3... |
top users: Choose a country. List of users by reputation score by country. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE LOWER('%##Country##%') ORDER BY Reputation DESC | [
4852,
2985,
25,
17489,
257,
1499,
13,
7343,
286,
2985,
416,
8507,
4776,
416,
1499,
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,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4852,
2985,
25,
17489,
257,
1499,
13,
7343,
286,
2985,
416,
8507,
4776,
416,
1499,
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,
8... |
Show me about the distribution of dept_name and the amount of dept_name , and group by attribute dept_name in a bar chart. | SELECT dept_name, COUNT(dept_name) FROM instructor GROUP BY dept_name ORDER BY salary | [
15307,
502,
546,
262,
6082,
286,
390,
457,
62,
3672,
290,
262,
2033,
286,
390,
457,
62,
3672,
837,
290,
1448,
416,
11688,
390,
457,
62,
3672,
287,
257,
2318,
8262,
13,
46506,
390,
457,
62,
3672,
11,
327,
28270,
7,
2934,
457,
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
] | [
15307,
502,
546,
262,
6082,
286,
390,
457,
62,
3672,
290,
262,
2033,
286,
390,
457,
62,
3672,
837,
290,
1448,
416,
11688,
390,
457,
62,
3672,
287,
257,
2318,
8262,
13,
46506,
390,
457,
62,
3672,
11,
327,
28270,
7,
2934,
457,
62,
... |
What is the finish with 51 laps? | SELECT "Finish" FROM table_15317 WHERE "Laps" = '51' | [
2061,
318,
262,
5461,
351,
6885,
24590,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
21395,
1558,
33411,
366,
43,
1686,
1,
796,
705,
4349,
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
] | [
2061,
318,
262,
5461,
351,
6885,
24590,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
21395,
1558,
33411,
366,
43,
1686,
1,
796,
705,
4349,
6
] |
What member of the current West End cast plays the character played by Jodie Jacobs in the original West End cast? | SELECT current_west_end_cast FROM table_19529639_3 WHERE original_west_end_cast = "Jodie Jacobs" | [
2061,
2888,
286,
262,
1459,
2688,
5268,
3350,
5341,
262,
2095,
2826,
416,
449,
375,
494,
27593,
287,
262,
2656,
2688,
5268,
3350,
30,
46506,
1459,
62,
7038,
62,
437,
62,
2701,
16034,
3084,
62,
22186,
27137,
2670,
62,
18,
33411,
2656,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2888,
286,
262,
1459,
2688,
5268,
3350,
5341,
262,
2095,
2826,
416,
449,
375,
494,
27593,
287,
262,
2656,
2688,
5268,
3350,
30,
46506,
1459,
62,
7038,
62,
437,
62,
2701,
16034,
3084,
62,
22186,
27137,
2670,
62,
18,
33411,
2656,
... |
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the sum of code , and group by attribute name, and show from low to high by the total number. | SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Code | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
905,
422,
1877,
284,
1029,
416,
262,
2472,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
905,
422,
1877,
284,
1029,
416,
262,
2472,
127... |
What was the week 2 prior to the when Miranda Jordan was the week 4? | SELECT "Week 2" FROM table_60708 WHERE "Week 4" = 'miranda jordan' | [
2061,
373,
262,
1285,
362,
3161,
284,
262,
618,
29575,
8078,
373,
262,
1285,
604,
30,
46506,
366,
20916,
362,
1,
16034,
3084,
62,
1899,
32583,
33411,
366,
20916,
604,
1,
796,
705,
10793,
5282,
474,
7350,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1285,
362,
3161,
284,
262,
618,
29575,
8078,
373,
262,
1285,
604,
30,
46506,
366,
20916,
362,
1,
16034,
3084,
62,
1899,
32583,
33411,
366,
20916,
604,
1,
796,
705,
10793,
5282,
474,
7350,
6
] |
what is the production in 2010 with 2011 production of 2,240,000? | SELECT 2010 FROM table_name_23 WHERE 2011 = "2,240,000" | [
10919,
318,
262,
3227,
287,
3050,
351,
2813,
3227,
286,
362,
11,
16102,
11,
830,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
1954,
33411,
2813,
796,
366,
17,
11,
16102,
11,
830,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3227,
287,
3050,
351,
2813,
3227,
286,
362,
11,
16102,
11,
830,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
1954,
33411,
2813,
796,
366,
17,
11,
16102,
11,
830,
1
] |
What was the extra info for the Commonwealth Games? | SELECT "Extra" FROM table_15801 WHERE "Tournament" = 'commonwealth games' | [
2061,
373,
262,
3131,
7508,
329,
262,
17165,
5776,
30,
46506,
366,
27726,
1,
16034,
3084,
62,
21273,
486,
33411,
366,
51,
5138,
1,
796,
705,
11321,
14298,
1830,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3131,
7508,
329,
262,
17165,
5776,
30,
46506,
366,
27726,
1,
16034,
3084,
62,
21273,
486,
33411,
366,
51,
5138,
1,
796,
705,
11321,
14298,
1830,
6
] |
What is the maximum fastest lap speed in race named 'Monaco Grand Prix' in 2008 ? | SELECT MAX(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = "Monaco Grand Prix" | [
2061,
318,
262,
5415,
14162,
14779,
2866,
287,
3234,
3706,
705,
9069,
10602,
5675,
23832,
6,
287,
3648,
5633,
46506,
25882,
7,
51,
17,
13,
7217,
395,
75,
1686,
39492,
8,
16034,
9558,
7054,
309,
16,
32357,
1268,
2482,
7054,
309,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
5415,
14162,
14779,
2866,
287,
3234,
3706,
705,
9069,
10602,
5675,
23832,
6,
287,
3648,
5633,
46506,
25882,
7,
51,
17,
13,
7217,
395,
75,
1686,
39492,
8,
16034,
9558,
7054,
309,
16,
32357,
1268,
2482,
7054,
309,
17,
... |
Who participated in the Mixed Doubles when Tracey Hallam participated in the Women's Singles? | SELECT "Mixed doubles" FROM table_71162 WHERE "Women's singles" = 'tracey hallam' | [
8241,
14888,
287,
262,
35250,
5728,
7689,
618,
833,
25415,
4789,
321,
14888,
287,
262,
6926,
338,
5573,
829,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
62,
22,
1157,
5237,
33411,
366,
18495,
338,
25287,
1,
796,
705,
2213,
25415,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14888,
287,
262,
35250,
5728,
7689,
618,
833,
25415,
4789,
321,
14888,
287,
262,
6926,
338,
5573,
829,
30,
46506,
366,
44,
2966,
21938,
1,
16034,
3084,
62,
22,
1157,
5237,
33411,
366,
18495,
338,
25287,
1,
796,
705,
2213,
25415,... |
List the dates and vote percents of elections Show bar chart, and list y axis from high to low order. | SELECT Date, Vote_Percent FROM election ORDER BY Vote_Percent DESC | [
8053,
262,
9667,
290,
3015,
583,
66,
658,
286,
7024,
5438,
2318,
8262,
11,
290,
1351,
331,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
7536,
11,
19175,
62,
31905,
16034,
3071,
38678,
11050,
19175,
62,
31905,
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
] | [
8053,
262,
9667,
290,
3015,
583,
66,
658,
286,
7024,
5438,
2318,
8262,
11,
290,
1351,
331,
16488,
422,
1029,
284,
1877,
1502,
13,
46506,
7536,
11,
19175,
62,
31905,
16034,
3071,
38678,
11050,
19175,
62,
31905,
22196,
34
] |
Who narrated the lap-by-lap to a 13.4 million audience? | SELECT "Lap-by-lap" FROM table_17116 WHERE "Viewers" = '13.4 million' | [
8241,
46190,
262,
14779,
12,
1525,
12,
37796,
284,
257,
1511,
13,
19,
1510,
5386,
30,
46506,
366,
43,
499,
12,
1525,
12,
37796,
1,
16034,
3084,
62,
1558,
18298,
33411,
366,
7680,
364,
1,
796,
705,
1485,
13,
19,
1510,
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
] | [
8241,
46190,
262,
14779,
12,
1525,
12,
37796,
284,
257,
1511,
13,
19,
1510,
5386,
30,
46506,
366,
43,
499,
12,
1525,
12,
37796,
1,
16034,
3084,
62,
1558,
18298,
33411,
366,
7680,
364,
1,
796,
705,
1485,
13,
19,
1510,
6
] |
Who had the time of 1:23.32.41? | SELECT rider FROM table_name_17 WHERE time = "1:23.32.41" | [
8241,
550,
262,
640,
286,
352,
25,
1954,
13,
2624,
13,
3901,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
1558,
33411,
640,
796,
366,
16,
25,
1954,
13,
2624,
13,
3901,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
262,
640,
286,
352,
25,
1954,
13,
2624,
13,
3901,
30,
46506,
17876,
16034,
3084,
62,
3672,
62,
1558,
33411,
640,
796,
366,
16,
25,
1954,
13,
2624,
13,
3901,
1
] |
Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF? | SELECT "Co-Drivers" FROM table_67779 WHERE "Pos." = 'dnf' AND "Year" < '2011' AND "Team" = 'racing organisation course' | [
8241,
547,
262,
763,
12,
36702,
329,
262,
14954,
30801,
20537,
1074,
287,
812,
878,
2813,
11,
508,
550,
257,
2292,
286,
360,
21870,
30,
46506,
366,
7222,
12,
20564,
690,
1,
16034,
3084,
62,
3134,
40393,
33411,
366,
21604,
526,
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... | [
8241,
547,
262,
763,
12,
36702,
329,
262,
14954,
30801,
20537,
1074,
287,
812,
878,
2813,
11,
508,
550,
257,
2292,
286,
360,
21870,
30,
46506,
366,
7222,
12,
20564,
690,
1,
16034,
3084,
62,
3134,
40393,
33411,
366,
21604,
526,
796,
... |
What was the record when the Denver Broncos played the New York Titans at Bears Stadium? | SELECT record FROM table_name_44 WHERE game_site = "bears stadium" AND opponent = "new york titans" | [
2061,
373,
262,
1700,
618,
262,
10656,
16582,
2826,
262,
968,
1971,
18711,
379,
15682,
10499,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2598,
33411,
983,
62,
15654,
796,
366,
65,
4127,
10308,
1,
5357,
6125,
796,
366,
3605,
331,
967,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
618,
262,
10656,
16582,
2826,
262,
968,
1971,
18711,
379,
15682,
10499,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2598,
33411,
983,
62,
15654,
796,
366,
65,
4127,
10308,
1,
5357,
6125,
796,
366,
3605,
331,
967,... |
Tell me the date for opponents of raffaella bindi biljana pawlowa-dimitrova | SELECT date FROM table_name_46 WHERE opponents = "raffaella bindi biljana pawlowa-dimitrova" | [
24446,
502,
262,
3128,
329,
7691,
286,
374,
2001,
64,
12627,
11007,
72,
47027,
73,
2271,
41827,
75,
8455,
12,
27740,
270,
305,
6862,
46506,
3128,
16034,
3084,
62,
3672,
62,
3510,
33411,
7691,
796,
366,
430,
487,
64,
12627,
11007,
72,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
3128,
329,
7691,
286,
374,
2001,
64,
12627,
11007,
72,
47027,
73,
2271,
41827,
75,
8455,
12,
27740,
270,
305,
6862,
46506,
3128,
16034,
3084,
62,
3672,
62,
3510,
33411,
7691,
796,
366,
430,
487,
64,
12627,
11007,
72,
... |
What power belongs to the LP Class and has an Identifier of CBLI? | SELECT "Power" FROM table_41022 WHERE "Class" = 'lp' AND "Identifier" = 'cbli' | [
2061,
1176,
14448,
284,
262,
18470,
5016,
290,
468,
281,
11440,
7483,
286,
327,
9148,
40,
30,
46506,
366,
13434,
1,
16034,
3084,
62,
33289,
1828,
33411,
366,
9487,
1,
796,
705,
34431,
6,
5357,
366,
33234,
7483,
1,
796,
705,
66,
2436... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1176,
14448,
284,
262,
18470,
5016,
290,
468,
281,
11440,
7483,
286,
327,
9148,
40,
30,
46506,
366,
13434,
1,
16034,
3084,
62,
33289,
1828,
33411,
366,
9487,
1,
796,
705,
34431,
6,
5357,
366,
33234,
7483,
1,
796,
705,
66,
2436... |
What player is 24 years old? | SELECT "Name" FROM table_25317 WHERE "Age" = '24' | [
2061,
2137,
318,
1987,
812,
1468,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
28592,
1558,
33411,
366,
23396,
1,
796,
705,
1731,
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,
2137,
318,
1987,
812,
1468,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
28592,
1558,
33411,
366,
23396,
1,
796,
705,
1731,
6
] |
What was the winning score on Aug 21, 1977? | SELECT winning_score FROM table_name_92 WHERE date = "aug 21, 1977" | [
2061,
373,
262,
5442,
4776,
319,
2447,
2310,
11,
15589,
30,
46506,
5442,
62,
26675,
16034,
3084,
62,
3672,
62,
5892,
33411,
3128,
796,
366,
7493,
2310,
11,
15589,
1
] | [
1,
1,
1,
1,
1,
1,
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,
5442,
4776,
319,
2447,
2310,
11,
15589,
30,
46506,
5442,
62,
26675,
16034,
3084,
62,
3672,
62,
5892,
33411,
3128,
796,
366,
7493,
2310,
11,
15589,
1
] |
What is the comp for the year 1989? | SELECT "Comp" FROM table_41830 WHERE "Year" = '1989' | [
2061,
318,
262,
552,
329,
262,
614,
11104,
30,
46506,
366,
7293,
1,
16034,
3084,
62,
39667,
1270,
33411,
366,
17688,
1,
796,
705,
25475,
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
] | [
2061,
318,
262,
552,
329,
262,
614,
11104,
30,
46506,
366,
7293,
1,
16034,
3084,
62,
39667,
1270,
33411,
366,
17688,
1,
796,
705,
25475,
6
] |
Which Season has Finals of out of playoffs.? | SELECT "Season" FROM table_65429 WHERE "Finals" = 'out of playoffs.' | [
13828,
7369,
468,
19705,
286,
503,
286,
12980,
40791,
46506,
366,
18960,
1,
16034,
3084,
62,
2996,
11785,
33411,
366,
37,
6897,
1,
796,
705,
448,
286,
12980,
2637
] | [
1,
1,
1,
1,
1,
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,
7369,
468,
19705,
286,
503,
286,
12980,
40791,
46506,
366,
18960,
1,
16034,
3084,
62,
2996,
11785,
33411,
366,
37,
6897,
1,
796,
705,
448,
286,
12980,
2637
] |
specify the duration of hospital and drug name dona cole was treated with. | SELECT demographic.days_stay, prescriptions.drug FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Dona Cole" | [
16684,
1958,
262,
9478,
286,
4436,
290,
2563,
1438,
836,
64,
763,
293,
373,
5716,
351,
13,
46506,
16728,
13,
12545,
62,
31712,
11,
34092,
13,
30349,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16684,
1958,
262,
9478,
286,
4436,
290,
2563,
1438,
836,
64,
763,
293,
373,
5716,
351,
13,
46506,
16728,
13,
12545,
62,
31712,
11,
34092,
13,
30349,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
7... |
who had the fastest lap for round 1? | SELECT "Fastest Lap" FROM table_31298 WHERE "Round" = '1' | [
8727,
550,
262,
14162,
14779,
329,
2835,
352,
30,
46506,
366,
22968,
395,
26944,
1,
16034,
3084,
62,
27970,
4089,
33411,
366,
22685,
1,
796,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
550,
262,
14162,
14779,
329,
2835,
352,
30,
46506,
366,
22968,
395,
26944,
1,
16034,
3084,
62,
27970,
4089,
33411,
366,
22685,
1,
796,
705,
16,
6
] |
What team does Al Unser drive for? | SELECT "Team" FROM table_19092 WHERE "Winning Driver" = 'Al Unser' | [
2061,
1074,
857,
978,
791,
2655,
3708,
329,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
1129,
2931,
17,
33411,
366,
16643,
768,
12434,
1,
796,
705,
2348,
791,
2655,
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,
1074,
857,
978,
791,
2655,
3708,
329,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
1129,
2931,
17,
33411,
366,
16643,
768,
12434,
1,
796,
705,
2348,
791,
2655,
6
] |
What is the minimum population of the region in which Roskilde is the largest city? | SELECT MIN(population__january_1), _2008_ FROM table_16278602_1 WHERE largest_city = "Roskilde" | [
2061,
318,
262,
5288,
3265,
286,
262,
3814,
287,
543,
10018,
74,
44725,
318,
262,
4387,
1748,
30,
46506,
20625,
7,
39748,
834,
13881,
2838,
62,
16,
828,
4808,
11528,
62,
16034,
3084,
62,
1433,
25870,
31418,
62,
16,
33411,
4387,
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
] | [
2061,
318,
262,
5288,
3265,
286,
262,
3814,
287,
543,
10018,
74,
44725,
318,
262,
4387,
1748,
30,
46506,
20625,
7,
39748,
834,
13881,
2838,
62,
16,
828,
4808,
11528,
62,
16034,
3084,
62,
1433,
25870,
31418,
62,
16,
33411,
4387,
62,
... |
what's the first value of the -monos lab test of patient 007-9115 in 04/2104? | SELECT 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-9115')) AND lab.labname = '-monos' AND STRFTIME('%y-%m', lab.labresulttime) = '2104... | [
10919,
338,
262,
717,
1988,
286,
262,
532,
2144,
418,
2248,
1332,
286,
5827,
3571,
22,
12,
24,
15363,
287,
8702,
14,
17,
13464,
30,
46506,
2248,
13,
23912,
20274,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
4650... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
338,
262,
717,
1988,
286,
262,
532,
2144,
418,
2248,
1332,
286,
5827,
3571,
22,
12,
24,
15363,
287,
8702,
14,
17,
13464,
30,
46506,
2248,
13,
23912,
20274,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
4650... |
what is diagnoses short title of diagnoses icd9 code 45620? | SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "45620" | [
10919,
318,
40567,
1790,
3670,
286,
40567,
14158,
67,
24,
2438,
604,
3980,
1238,
30,
46506,
40567,
13,
19509,
62,
7839,
16034,
40567,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
29228,
1238,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
40567,
1790,
3670,
286,
40567,
14158,
67,
24,
2438,
604,
3980,
1238,
30,
46506,
40567,
13,
19509,
62,
7839,
16034,
40567,
33411,
40567,
13,
291,
67,
24,
62,
8189,
796,
366,
29228,
1238,
1
] |
Which Score has a Record of 0-1? | SELECT "Score" FROM table_78794 WHERE "Record" = '0-1' | [
13828,
15178,
468,
257,
13266,
286,
657,
12,
16,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3695,
50242,
33411,
366,
23739,
1,
796,
705,
15,
12,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15178,
468,
257,
13266,
286,
657,
12,
16,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
3695,
50242,
33411,
366,
23739,
1,
796,
705,
15,
12,
16,
6
] |
How many 'series' were in the 12th 'position? | SELECT COUNT(series) FROM table_26473176_1 WHERE position = "12th" | [
2437,
867,
705,
25076,
6,
547,
287,
262,
1105,
400,
705,
9150,
30,
46506,
327,
28270,
7,
25076,
8,
16034,
3084,
62,
2075,
37804,
24096,
62,
16,
33411,
2292,
796,
366,
1065,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
705,
25076,
6,
547,
287,
262,
1105,
400,
705,
9150,
30,
46506,
327,
28270,
7,
25076,
8,
16034,
3084,
62,
2075,
37804,
24096,
62,
16,
33411,
2292,
796,
366,
1065,
400,
1
] |
count the number of patients whose discharge location is disc-tran cancer/chldrn h and procedure short title is temporary colostomy. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "DISC-TRAN CANCER/CHLDRN H" AND procedures.short_title = "Temporary colostomy" | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1221,
12,
2213,
272,
4890,
14,
354,
335,
35906,
289,
290,
8771,
1790,
3670,
318,
8584,
951,
455,
9145,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1221,
12,
2213,
272,
4890,
14,
354,
335,
35906,
289,
290,
8771,
1790,
3670,
318,
8584,
951,
455,
9145,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,... |
how many american indian/alaska natives had diagnosis icd9 code 2920? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND diagnoses.icd9_code = "2920" | [
4919,
867,
45630,
272,
773,
666,
14,
282,
8480,
30962,
550,
13669,
14158,
67,
24,
2438,
2808,
1238,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
45630,
272,
773,
666,
14,
282,
8480,
30962,
550,
13669,
14158,
67,
24,
2438,
2808,
1238,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
167... |
when is the first microbiological test for patient 27703 during the last month? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27703) AND DATETIME(microbiologyevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') ORDER BY microbiologyevent... | [
12518,
318,
262,
717,
24559,
2770,
1332,
329,
5827,
2681,
36809,
1141,
262,
938,
1227,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
717,
24559,
2770,
1332,
329,
5827,
2681,
36809,
1141,
262,
938,
1227,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
... |
how many patients have been admitted in 2100 to the hospital? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE STRFTIME('%y', admissions.admittime) = '2100' | [
4919,
867,
3871,
423,
587,
6848,
287,
38123,
284,
262,
4436,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
25349,
13,
324,
20124,
524,
8,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
423,
587,
6848,
287,
38123,
284,
262,
4436,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
19269,
9792,
12789,
10786,
4,
88,
3256,
25349,
13,
324,
20124,
524,
8,
7... |
If the location attendance was Quicken Loans Arena 20,562, who had the High Assists? | SELECT high_assists FROM table_27700375_6 WHERE location_attendance = "Quicken Loans Arena 20,562" | [
1532,
262,
4067,
14858,
373,
2264,
5973,
33063,
10937,
1160,
11,
43918,
11,
508,
550,
262,
3334,
2195,
1023,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
1983,
9879,
22318,
62,
21,
33411,
4067,
62,
1078,
437,
590,
796,
366,
4507,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
4067,
14858,
373,
2264,
5973,
33063,
10937,
1160,
11,
43918,
11,
508,
550,
262,
3334,
2195,
1023,
30,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
1983,
9879,
22318,
62,
21,
33411,
4067,
62,
1078,
437,
590,
796,
366,
4507,
... |
for patient id 52012, specify icd9 code and drug type he was treated with. | SELECT procedures.icd9_code, prescriptions.drug_type FROM procedures INNER JOIN prescriptions ON procedures.hadm_id = prescriptions.hadm_id WHERE procedures.subject_id = "52012" | [
1640,
5827,
4686,
642,
6999,
11,
11986,
14158,
67,
24,
2438,
290,
2563,
2099,
339,
373,
5716,
351,
13,
46506,
9021,
13,
291,
67,
24,
62,
8189,
11,
34092,
13,
30349,
62,
4906,
16034,
9021,
3268,
21479,
32357,
1268,
34092,
6177,
9021,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1640,
5827,
4686,
642,
6999,
11,
11986,
14158,
67,
24,
2438,
290,
2563,
2099,
339,
373,
5716,
351,
13,
46506,
9021,
13,
291,
67,
24,
62,
8189,
11,
34092,
13,
30349,
62,
4906,
16034,
9021,
3268,
21479,
32357,
1268,
34092,
6177,
9021,
... |
Where was the game played when the score was 1-4? | SELECT "Venue" FROM table_43712 WHERE "Score" = '1-4' | [
8496,
373,
262,
983,
2826,
618,
262,
4776,
373,
352,
12,
19,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
43284,
1065,
33411,
366,
26595,
1,
796,
705,
16,
12,
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
] | [
8496,
373,
262,
983,
2826,
618,
262,
4776,
373,
352,
12,
19,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
43284,
1065,
33411,
366,
26595,
1,
796,
705,
16,
12,
19,
6
] |
Who won the bronze when the Asian Games were in Doha? | SELECT bronze FROM table_name_70 WHERE location = "doha" | [
8241,
1839,
262,
22101,
618,
262,
7740,
5776,
547,
287,
360,
28083,
30,
46506,
22101,
16034,
3084,
62,
3672,
62,
2154,
33411,
4067,
796,
366,
67,
28083,
1
] | [
1,
1,
1,
1,
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,
1839,
262,
22101,
618,
262,
7740,
5776,
547,
287,
360,
28083,
30,
46506,
22101,
16034,
3084,
62,
3672,
62,
2154,
33411,
4067,
796,
366,
67,
28083,
1
] |
Who was part of Club Munster with 1 try? | SELECT name FROM table_name_38 WHERE tries = 1 AND club = "munster" | [
8241,
373,
636,
286,
6289,
12107,
1706,
351,
352,
1949,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2548,
33411,
8404,
796,
352,
5357,
3430,
796,
366,
6199,
1706,
1
] | [
1,
1,
1,
1,
1,
1,
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,
636,
286,
6289,
12107,
1706,
351,
352,
1949,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2548,
33411,
8404,
796,
352,
5357,
3430,
796,
366,
6199,
1706,
1
] |
What was the earliest year that had a start of Saint-Gaudens and a stage smaller than 15? | SELECT MIN("Year") FROM table_70874 WHERE "Start" = 'saint-gaudens' AND "Stage" < '15' | [
2061,
373,
262,
14555,
614,
326,
550,
257,
923,
286,
9281,
12,
38,
3885,
641,
290,
257,
3800,
4833,
621,
1315,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
32583,
4524,
33411,
366,
10434,
1,
796,
705,
82,
2913,
12,
70,
3885... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14555,
614,
326,
550,
257,
923,
286,
9281,
12,
38,
3885,
641,
290,
257,
3800,
4833,
621,
1315,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
32583,
4524,
33411,
366,
10434,
1,
796,
705,
82,
2913,
12,
70,
3885... |
For those employees who was hired before 2002-06-21, give me the comparison about the average of department_id over the job_id , and group by attribute job_id by a bar chart, display in desc by the Y. | SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID) DESC | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
416,
257,
2318,
8262,
11,
3359,
287,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
416,
257,
2318,
8262,
11,
3359,
287,... |
Who was the Away team on the result of 1-5 aet? | SELECT away FROM table_name_61 WHERE result = "1-5 aet" | [
8241,
373,
262,
21986,
1074,
319,
262,
1255,
286,
352,
12,
20,
257,
316,
30,
46506,
1497,
16034,
3084,
62,
3672,
62,
5333,
33411,
1255,
796,
366,
16,
12,
20,
257,
316,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
21986,
1074,
319,
262,
1255,
286,
352,
12,
20,
257,
316,
30,
46506,
1497,
16034,
3084,
62,
3672,
62,
5333,
33411,
1255,
796,
366,
16,
12,
20,
257,
316,
1
] |
Name the 2011 for 2009 being 2r at wimbledon | SELECT 2011 FROM table_name_7 WHERE 2009 = "2r" AND tournament = "wimbledon" | [
5376,
262,
2813,
329,
3717,
852,
362,
81,
379,
266,
320,
49258,
46506,
2813,
16034,
3084,
62,
3672,
62,
22,
33411,
3717,
796,
366,
17,
81,
1,
5357,
7756,
796,
366,
86,
320,
49258,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2813,
329,
3717,
852,
362,
81,
379,
266,
320,
49258,
46506,
2813,
16034,
3084,
62,
3672,
62,
22,
33411,
3717,
796,
366,
17,
81,
1,
5357,
7756,
796,
366,
86,
320,
49258,
1
] |
what are the five most common diagnoses that patients are diagnosed in the same month after receiving the exc/dest hrt lesion open procedure? | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissi... | [
10919,
389,
262,
1936,
749,
2219,
40567,
326,
3871,
389,
14641,
287,
262,
976,
1227,
706,
6464,
262,
2859,
14,
16520,
289,
17034,
10287,
295,
1280,
8771,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1936,
749,
2219,
40567,
326,
3871,
389,
14641,
287,
262,
976,
1227,
706,
6464,
262,
2859,
14,
16520,
289,
17034,
10287,
295,
1280,
8771,
30,
46506,
288,
62,
291,
67,
62,
47356,
4629,
13,
19509,
62,
7839,
16034,
288,
... |
how many seasons had combined tackles of 70 or more ? | SELECT COUNT("year") FROM table_204_756 WHERE "combined tackles" >= 70 | [
4919,
867,
7028,
550,
5929,
18034,
286,
4317,
393,
517,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
38219,
33411,
366,
24011,
1389,
18034,
1,
18189,
4317
] | [
1,
1,
1,
1,
1,
1,
1,
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,
7028,
550,
5929,
18034,
286,
4317,
393,
517,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
18638,
62,
38219,
33411,
366,
24011,
1389,
18034,
1,
18189,
4317
] |
what's the salmonella with escherichia being espd | SELECT "Salmonella" FROM table_16046 WHERE "Escherichia" = 'EspD' | [
10919,
338,
262,
3664,
47122,
8466,
351,
1658,
2044,
488,
544,
852,
15024,
67,
46506,
366,
19221,
47122,
8466,
1,
16034,
3084,
62,
1433,
45438,
33411,
366,
47051,
372,
488,
544,
1,
796,
705,
36,
2777,
35,
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
] | [
10919,
338,
262,
3664,
47122,
8466,
351,
1658,
2044,
488,
544,
852,
15024,
67,
46506,
366,
19221,
47122,
8466,
1,
16034,
3084,
62,
1433,
45438,
33411,
366,
47051,
372,
488,
544,
1,
796,
705,
36,
2777,
35,
6
] |
How many dar are in germany? | SELECT "DAR" FROM table_72734 WHERE "Country" = 'Germany' | [
2437,
867,
288,
283,
389,
287,
308,
2224,
88,
30,
46506,
366,
35,
1503,
1,
16034,
3084,
62,
47760,
2682,
33411,
366,
33921,
1,
796,
705,
27079,
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
] | [
2437,
867,
288,
283,
389,
287,
308,
2224,
88,
30,
46506,
366,
35,
1503,
1,
16034,
3084,
62,
47760,
2682,
33411,
366,
33921,
1,
796,
705,
27079,
6
] |
What is the compound name listed where marine organism is worm | SELECT "Compound Name" FROM table_17753 WHERE "Marine Organism \u03b1" = 'Worm' | [
2061,
318,
262,
13061,
1438,
5610,
810,
16050,
26433,
318,
23849,
46506,
366,
7293,
633,
6530,
1,
16034,
3084,
62,
1558,
44550,
33411,
366,
7676,
500,
7221,
1042,
3467,
84,
3070,
65,
16,
1,
796,
705,
54,
579,
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,
13061,
1438,
5610,
810,
16050,
26433,
318,
23849,
46506,
366,
7293,
633,
6530,
1,
16034,
3084,
62,
1558,
44550,
33411,
366,
7676,
500,
7221,
1042,
3467,
84,
3070,
65,
16,
1,
796,
705,
54,
579,
6
] |
What player was born in 1976 and is smaller than 2.03? | SELECT "Player" FROM table_14713 WHERE "Height" < '2.03' AND "Year born" = '1976' | [
2061,
2137,
373,
4642,
287,
15408,
290,
318,
4833,
621,
362,
13,
3070,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
20198,
1485,
33411,
366,
23106,
1,
1279,
705,
17,
13,
3070,
6,
5357,
366,
17688,
4642,
1,
796,
705,
38108,
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,
2137,
373,
4642,
287,
15408,
290,
318,
4833,
621,
362,
13,
3070,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
20198,
1485,
33411,
366,
23106,
1,
1279,
705,
17,
13,
3070,
6,
5357,
366,
17688,
4642,
1,
796,
705,
38108,
6
] |
What club had a points difference of -24? | SELECT club FROM table_name_87 WHERE points_difference = "-24" | [
2061,
3430,
550,
257,
2173,
3580,
286,
532,
1731,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
5774,
33411,
2173,
62,
26069,
1945,
796,
27444,
1731,
1
] | [
1,
1,
1,
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,
3430,
550,
257,
2173,
3580,
286,
532,
1731,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
5774,
33411,
2173,
62,
26069,
1945,
796,
27444,
1731,
1
] |
What's the highest enrollment among the schools? | SELECT MAX("Enrollment") FROM table_23179 | [
2061,
338,
262,
4511,
20753,
1871,
262,
4266,
30,
46506,
25882,
7203,
4834,
48108,
4943,
16034,
3084,
62,
1954,
21738
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
4511,
20753,
1871,
262,
4266,
30,
46506,
25882,
7203,
4834,
48108,
4943,
16034,
3084,
62,
1954,
21738
] |
How many incumbents was first elected in the Anti-Masonic party? | SELECT COUNT(first_elected) FROM table_2668173_4 WHERE party = "Anti-Masonic" | [
2437,
867,
19742,
658,
373,
717,
7018,
287,
262,
12297,
12,
44,
30189,
2151,
30,
46506,
327,
28270,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
2075,
3104,
25399,
62,
19,
33411,
2151,
796,
366,
28795,
12,
44,
30189,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19742,
658,
373,
717,
7018,
287,
262,
12297,
12,
44,
30189,
2151,
30,
46506,
327,
28270,
7,
11085,
62,
28604,
8,
16034,
3084,
62,
2075,
3104,
25399,
62,
19,
33411,
2151,
796,
366,
28795,
12,
44,
30189,
1
] |
What is the average pick of the kansas city chiefs? | SELECT AVG("Pick") FROM table_66638 WHERE "Team" = 'kansas city chiefs' | [
2061,
318,
262,
2811,
2298,
286,
262,
479,
6618,
1748,
30217,
30,
46506,
35224,
7203,
31686,
4943,
16034,
3084,
62,
27310,
2548,
33411,
366,
15592,
1,
796,
705,
74,
6618,
1748,
30217,
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,
2811,
2298,
286,
262,
479,
6618,
1748,
30217,
30,
46506,
35224,
7203,
31686,
4943,
16034,
3084,
62,
27310,
2548,
33411,
366,
15592,
1,
796,
705,
74,
6618,
1748,
30217,
6
] |
what is the mountain range when the state is colorado, rank is higher than 90 and mountain peak is whetstone mountain? | SELECT "Mountain Range" FROM table_77389 WHERE "State" = 'colorado' AND "Rank" > '90' AND "Mountain Peak" = 'whetstone mountain' | [
10919,
318,
262,
8598,
2837,
618,
262,
1181,
318,
3124,
4533,
11,
4279,
318,
2440,
621,
4101,
290,
8598,
9103,
318,
483,
83,
6440,
8598,
30,
46506,
366,
44,
18635,
13667,
1,
16034,
3084,
62,
3324,
29769,
33411,
366,
9012,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8598,
2837,
618,
262,
1181,
318,
3124,
4533,
11,
4279,
318,
2440,
621,
4101,
290,
8598,
9103,
318,
483,
83,
6440,
8598,
30,
46506,
366,
44,
18635,
13667,
1,
16034,
3084,
62,
3324,
29769,
33411,
366,
9012,
1,
796,
70... |
Show the number of documents in each day for all documents on project with details 'Graph Database project' and bin document date by year interval and group by document name with a group line chart. | SELECT Document_Date, COUNT(Document_Date) FROM Documents AS T1 JOIN Projects AS T2 ON T1.Project_ID = T2.Project_ID WHERE T2.Project_Details = 'Graph Database project' GROUP BY Document_Name | [
15307,
262,
1271,
286,
4963,
287,
1123,
1110,
329,
477,
4963,
319,
1628,
351,
3307,
705,
37065,
24047,
1628,
6,
290,
9874,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
1438,
351,
257,
1448,
1627,
8262,
13,
46506,
16854,
62,
1043... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1271,
286,
4963,
287,
1123,
1110,
329,
477,
4963,
319,
1628,
351,
3307,
705,
37065,
24047,
1628,
6,
290,
9874,
3188,
3128,
416,
614,
16654,
290,
1448,
416,
3188,
1438,
351,
257,
1448,
1627,
8262,
13,
46506,
16854,
62,
1043... |
what are the five most frequent drugs that were prescribed to male patients 60 or above in the same month after they were diagnosed with ventltr assoc pneumonia in the previous year? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ... | [
10919,
389,
262,
1936,
749,
10792,
5010,
326,
547,
14798,
284,
4257,
3871,
3126,
393,
2029,
287,
262,
976,
1227,
706,
484,
547,
14641,
351,
7435,
75,
2213,
840,
420,
35647,
287,
262,
2180,
614,
30,
46506,
256,
18,
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... | [
10919,
389,
262,
1936,
749,
10792,
5010,
326,
547,
14798,
284,
4257,
3871,
3126,
393,
2029,
287,
262,
976,
1227,
706,
484,
547,
14641,
351,
7435,
75,
2213,
840,
420,
35647,
287,
262,
2180,
614,
30,
46506,
256,
18,
13,
30349,
16034,
... |
report the number of patients diagnosed with enthesopathy of hip region who had delta abnormal lab test status. | 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 = "Enthesopathy of hip region" AND lab.flag = "delta" | [
13116,
262,
1271,
286,
3871,
14641,
351,
920,
956,
27189,
286,
10359,
3814,
508,
550,
25979,
18801,
2248,
1332,
3722,
13,
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... | [
13116,
262,
1271,
286,
3871,
14641,
351,
920,
956,
27189,
286,
10359,
3814,
508,
550,
25979,
18801,
2248,
1332,
3722,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
If the armor is bronze cuirass , linothorax, what are the close ranged weapons? | SELECT "Close ranged weapons" FROM table_74164 WHERE "Armor" = 'Bronze cuirass , Linothorax' | [
1532,
262,
8328,
318,
22101,
18912,
343,
562,
837,
9493,
849,
273,
897,
11,
644,
389,
262,
1969,
17929,
3777,
30,
46506,
366,
26125,
17929,
3777,
1,
16034,
3084,
62,
4524,
23237,
33411,
366,
31512,
1,
796,
705,
18760,
2736,
18912,
343... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
8328,
318,
22101,
18912,
343,
562,
837,
9493,
849,
273,
897,
11,
644,
389,
262,
1969,
17929,
3777,
30,
46506,
366,
26125,
17929,
3777,
1,
16034,
3084,
62,
4524,
23237,
33411,
366,
31512,
1,
796,
705,
18760,
2736,
18912,
343... |
When was the opponent Arsenal? | SELECT date FROM table_name_62 WHERE opponent = "arsenal" | [
2215,
373,
262,
6125,
13837,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5237,
33411,
6125,
796,
366,
945,
268,
282,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
6125,
13837,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5237,
33411,
6125,
796,
366,
945,
268,
282,
1
] |
How many of the patients with coronary artery disease were admitted on clinic referral (premature) basis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.diagnosis = "CORONARY ARTERY DISEASE" | [
2437,
867,
286,
262,
3871,
351,
37151,
37646,
4369,
547,
6848,
319,
15760,
31413,
357,
31605,
1300,
8,
4308,
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,
1,
1,
1... | [
2437,
867,
286,
262,
3871,
351,
37151,
37646,
4369,
547,
6848,
319,
15760,
31413,
357,
31605,
1300,
8,
4308,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
... |
Which venue did North Melbourne play away with a crowd greater than 30,000? | SELECT "Venue" FROM table_12034 WHERE "Crowd" > '30,000' AND "Away team" = 'north melbourne' | [
13828,
14359,
750,
2258,
14819,
711,
1497,
351,
257,
4315,
3744,
621,
1542,
11,
830,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
10232,
2682,
33411,
366,
34,
3986,
1,
1875,
705,
1270,
11,
830,
6,
5357,
366,
32,
1014,
1074,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14359,
750,
2258,
14819,
711,
1497,
351,
257,
4315,
3744,
621,
1542,
11,
830,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
10232,
2682,
33411,
366,
34,
3986,
1,
1875,
705,
1270,
11,
830,
6,
5357,
366,
32,
1014,
1074,
1,
... |
what was the least number of points a game was won by ? | SELECT MIN(ABS("opponent's score" - "score")) FROM table_204_881 | [
10919,
373,
262,
1551,
1271,
286,
2173,
257,
983,
373,
1839,
416,
5633,
46506,
20625,
7,
32,
4462,
7203,
10365,
3471,
338,
4776,
1,
532,
366,
26675,
48774,
16034,
3084,
62,
18638,
62,
3459,
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
] | [
10919,
373,
262,
1551,
1271,
286,
2173,
257,
983,
373,
1839,
416,
5633,
46506,
20625,
7,
32,
4462,
7203,
10365,
3471,
338,
4776,
1,
532,
366,
26675,
48774,
16034,
3084,
62,
18638,
62,
3459,
16
] |
What was the date of natural cause situation? | SELECT date FROM table_name_12 WHERE circumstances = "natural cause" | [
2061,
373,
262,
3128,
286,
3288,
2728,
3074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1065,
33411,
5917,
796,
366,
11802,
2728,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
3288,
2728,
3074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1065,
33411,
5917,
796,
366,
11802,
2728,
1
] |
Bar chart x axis acc road y axis total number of school id, order in descending by the total number of school id. | SELECT ACC_Road, SUM(School_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY SUM(School_ID) DESC | [
10374,
8262,
2124,
16488,
697,
2975,
331,
16488,
2472,
1271,
286,
1524,
4686,
11,
1502,
287,
31491,
416,
262,
2472,
1271,
286,
1524,
4686,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
26130,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
2124,
16488,
697,
2975,
331,
16488,
2472,
1271,
286,
1524,
4686,
11,
1502,
287,
31491,
416,
262,
2472,
1271,
286,
1524,
4686,
13,
46506,
15859,
62,
29197,
11,
35683,
7,
26130,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
1... |
When was the earliest year that Guillermo Vilas was the runner-up? | SELECT MIN("Year") FROM table_49572 WHERE "Runner-up" = 'guillermo vilas' | [
2215,
373,
262,
14555,
614,
326,
1962,
4665,
5908,
34037,
292,
373,
262,
17490,
12,
929,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
2920,
48724,
33411,
366,
49493,
12,
929,
1,
796,
705,
5162,
4665,
5908,
39796,
292,
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
] | [
2215,
373,
262,
14555,
614,
326,
1962,
4665,
5908,
34037,
292,
373,
262,
17490,
12,
929,
30,
46506,
20625,
7203,
17688,
4943,
16034,
3084,
62,
2920,
48724,
33411,
366,
49493,
12,
929,
1,
796,
705,
5162,
4665,
5908,
39796,
292,
6
] |
Who were the co-drivers for the Racing Organisation Course team in years before 2011, who had a position of DNF? | SELECT co_drivers FROM table_name_92 WHERE pos = "dnf" AND year < 2011 AND team = "racing organisation course" | [
8241,
547,
262,
763,
12,
36702,
329,
262,
14954,
30801,
20537,
1074,
287,
812,
878,
2813,
11,
508,
550,
257,
2292,
286,
360,
21870,
30,
46506,
763,
62,
36702,
16034,
3084,
62,
3672,
62,
5892,
33411,
1426,
796,
366,
32656,
69,
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,
1,
1,
1,
1,
1
] | [
8241,
547,
262,
763,
12,
36702,
329,
262,
14954,
30801,
20537,
1074,
287,
812,
878,
2813,
11,
508,
550,
257,
2292,
286,
360,
21870,
30,
46506,
763,
62,
36702,
16034,
3084,
62,
3672,
62,
5892,
33411,
1426,
796,
366,
32656,
69,
1,
535... |
What's the total number of league cup apps when the league goals were less than 0? | SELECT COUNT(league_cup_apps) FROM table_name_15 WHERE league_goals < 0 | [
2061,
338,
262,
2472,
1271,
286,
4652,
6508,
6725,
618,
262,
4652,
4661,
547,
1342,
621,
657,
30,
46506,
327,
28270,
7,
19316,
62,
25244,
62,
18211,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
4652,
62,
2188,
874,
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,
1,
1
] | [
2061,
338,
262,
2472,
1271,
286,
4652,
6508,
6725,
618,
262,
4652,
4661,
547,
1342,
621,
657,
30,
46506,
327,
28270,
7,
19316,
62,
25244,
62,
18211,
8,
16034,
3084,
62,
3672,
62,
1314,
33411,
4652,
62,
2188,
874,
1279,
657
] |
Show me about the distribution of Date_of_Birth and Height in a bar chart, show X in descending order. | SELECT Date_of_Birth, Height FROM people ORDER BY Date_of_Birth DESC | [
15307,
502,
546,
262,
6082,
286,
7536,
62,
1659,
62,
38480,
290,
27280,
287,
257,
2318,
8262,
11,
905,
1395,
287,
31491,
1502,
13,
46506,
7536,
62,
1659,
62,
38480,
11,
27280,
16034,
661,
38678,
11050,
7536,
62,
1659,
62,
38480,
22196... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
262,
6082,
286,
7536,
62,
1659,
62,
38480,
290,
27280,
287,
257,
2318,
8262,
11,
905,
1395,
287,
31491,
1502,
13,
46506,
7536,
62,
1659,
62,
38480,
11,
27280,
16034,
661,
38678,
11050,
7536,
62,
1659,
62,
38480,
22196... |
bruce bowen and mark madsen both played what position ? | SELECT "position" FROM table_203_622 WHERE "name" = 'bruce bowen' | [
65,
26524,
9563,
268,
290,
1317,
285,
5643,
268,
1111,
2826,
644,
2292,
5633,
46506,
366,
9150,
1,
16034,
3084,
62,
22416,
62,
21,
1828,
33411,
366,
3672,
1,
796,
705,
65,
26524,
9563,
268,
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
] | [
65,
26524,
9563,
268,
290,
1317,
285,
5643,
268,
1111,
2826,
644,
2292,
5633,
46506,
366,
9150,
1,
16034,
3084,
62,
22416,
62,
21,
1828,
33411,
366,
3672,
1,
796,
705,
65,
26524,
9563,
268,
6
] |
Tell me the time of admission for patient Dona Cole. | SELECT demographic.admittime FROM demographic WHERE demographic.name = "Dona Cole" | [
24446,
502,
262,
640,
286,
13938,
329,
5827,
2094,
64,
11768,
13,
46506,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
3987,
64,
11768,
1
] | [
1,
1,
1,
1,
1,
1,
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,
640,
286,
13938,
329,
5827,
2094,
64,
11768,
13,
46506,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
3987,
64,
11768,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.