instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What's the name of the county where 54.6% voted for Bush? | SELECT "County" FROM table_17957 WHERE "Bush%" = '54.6%' | [
2061,
338,
262,
1438,
286,
262,
7968,
810,
7175,
13,
21,
4,
7052,
329,
5511,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
21738,
3553,
33411,
366,
36113,
39658,
796,
705,
4051,
13,
21,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1438,
286,
262,
7968,
810,
7175,
13,
21,
4,
7052,
329,
5511,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
21738,
3553,
33411,
366,
36113,
39658,
796,
705,
4051,
13,
21,
4,
6
] |
Return the average price for each product type Visualize by bar chart, I want to display by the x axis in descending. | SELECT product_type_code, AVG(product_price) FROM Products GROUP BY product_type_code ORDER BY product_type_code DESC | [
13615,
262,
2811,
2756,
329,
1123,
1720,
2099,
15612,
1096,
416,
2318,
8262,
11,
314,
765,
284,
3359,
416,
262,
2124,
16488,
287,
31491,
13,
46506,
1720,
62,
4906,
62,
8189,
11,
35224,
7,
11167,
62,
20888,
8,
16034,
18675,
44441,
1105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
262,
2811,
2756,
329,
1123,
1720,
2099,
15612,
1096,
416,
2318,
8262,
11,
314,
765,
284,
3359,
416,
262,
2124,
16488,
287,
31491,
13,
46506,
1720,
62,
4906,
62,
8189,
11,
35224,
7,
11167,
62,
20888,
8,
16034,
18675,
44441,
1105... |
Which game did Bruesa GBC play in with fewer than 275 rebounds that is ranked less than 4? | SELECT SUM(games) FROM table_name_80 WHERE rank < 4 AND rebounds < 275 AND team = "bruesa gbc" | [
13828,
983,
750,
8274,
49183,
402,
2749,
711,
287,
351,
7380,
621,
25829,
18841,
326,
318,
10307,
1342,
621,
604,
30,
46506,
35683,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
4279,
1279,
604,
5357,
18841,
1279,
25829,
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
] | [
13828,
983,
750,
8274,
49183,
402,
2749,
711,
287,
351,
7380,
621,
25829,
18841,
326,
318,
10307,
1342,
621,
604,
30,
46506,
35683,
7,
19966,
8,
16034,
3084,
62,
3672,
62,
1795,
33411,
4279,
1279,
604,
5357,
18841,
1279,
25829,
5357,
... |
Who is the team who had a Sets+ number smaller than 20, a Sets- number of 45, and a Points+ number smaller than 1238? | SELECT "Team" FROM table_76196 WHERE "Sets+" < '20' AND "Points+" < '1238' AND "Sets\u2013" = '45' | [
8241,
318,
262,
1074,
508,
550,
257,
21394,
10,
1271,
4833,
621,
1160,
11,
257,
21394,
12,
1271,
286,
4153,
11,
290,
257,
11045,
10,
1271,
4833,
621,
1105,
2548,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
4304,
25272,
33411,
366,
50... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
508,
550,
257,
21394,
10,
1271,
4833,
621,
1160,
11,
257,
21394,
12,
1271,
286,
4153,
11,
290,
257,
11045,
10,
1271,
4833,
621,
1105,
2548,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
4304,
25272,
33411,
366,
50... |
What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1? | SELECT COUNT(yds_att) FROM table_name_10 WHERE net_yds = 1818 AND rank > 1 | [
2061,
318,
262,
2472,
1271,
286,
575,
9310,
14,
8086,
810,
3433,
575,
9310,
373,
1248,
1507,
11,
290,
10916,
373,
4025,
621,
352,
30,
46506,
327,
28270,
7,
5173,
82,
62,
1078,
8,
16034,
3084,
62,
3672,
62,
940,
33411,
2010,
62,
51... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
575,
9310,
14,
8086,
810,
3433,
575,
9310,
373,
1248,
1507,
11,
290,
10916,
373,
4025,
621,
352,
30,
46506,
327,
28270,
7,
5173,
82,
62,
1078,
8,
16034,
3084,
62,
3672,
62,
940,
33411,
2010,
62,
51... |
What is Result, when Film Title Used In Nomination is 'Kuei-Mei, A Woman'? | SELECT result FROM table_name_43 WHERE film_title_used_in_nomination = "kuei-mei, a woman" | [
2061,
318,
25414,
11,
618,
13741,
11851,
16718,
554,
21198,
1883,
318,
705,
42,
518,
72,
12,
5308,
72,
11,
317,
14381,
30960,
46506,
1255,
16034,
3084,
62,
3672,
62,
3559,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
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
] | [
2061,
318,
25414,
11,
618,
13741,
11851,
16718,
554,
21198,
1883,
318,
705,
42,
518,
72,
12,
5308,
72,
11,
317,
14381,
30960,
46506,
1255,
16034,
3084,
62,
3672,
62,
3559,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
7... |
What is Rank, when Event is 'LAPT3 Punta Del Este'? | SELECT rank FROM table_name_65 WHERE event = "lapt3 punta del este" | [
2061,
318,
10916,
11,
618,
8558,
318,
705,
43,
2969,
51,
18,
350,
44424,
4216,
412,
4169,
30960,
46506,
4279,
16034,
3084,
62,
3672,
62,
2996,
33411,
1785,
796,
366,
75,
2373,
18,
35363,
64,
1619,
43577,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10916,
11,
618,
8558,
318,
705,
43,
2969,
51,
18,
350,
44424,
4216,
412,
4169,
30960,
46506,
4279,
16034,
3084,
62,
3672,
62,
2996,
33411,
1785,
796,
366,
75,
2373,
18,
35363,
64,
1619,
43577,
1
] |
Top 1000 stackoverflow reputation holders from india. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Id) LIKE '%kiran%' ORDER BY Reputation DESC LIMIT 1000 | [
9126,
8576,
8931,
2502,
11125,
8507,
16392,
422,
773,
544,
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,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8576,
8931,
2502,
11125,
8507,
16392,
422,
773,
544,
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,
160... |
how many times does patient 017-7283 get a mchc test during the last hospital visit? | SELECT COUNT(*) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-7283' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime D... | [
4919,
867,
1661,
857,
5827,
5534,
22,
12,
22,
30290,
651,
257,
285,
354,
66,
1332,
1141,
262,
938,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
1661,
857,
5827,
5534,
22,
12,
22,
30290,
651,
257,
285,
354,
66,
1332,
1141,
262,
938,
4436,
3187,
30,
46506,
327,
28270,
7,
28104,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,... |
Show me about the distribution of All_Home and School_ID , and group by attribute ACC_Home in a bar chart, sort by the X from low to high. | SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY All_Home | [
15307,
502,
546,
262,
6082,
286,
1439,
62,
16060,
290,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
287,
257,
2318,
8262,
11,
3297,
416,
262,
1395,
422,
1877,
284,
1029,
13,
46506,
1439,
62,
16060,
11,
3961,
62,
238... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1439,
62,
16060,
290,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
287,
257,
2318,
8262,
11,
3297,
416,
262,
1395,
422,
1877,
284,
1029,
13,
46506,
1439,
62,
16060,
11,
3961,
62,
238... |
Name the icb sector for ai | SELECT "ICB Sector" FROM table_21115 WHERE "Ticker symbol" = 'AI' | [
5376,
262,
14158,
65,
6567,
329,
257,
72,
46506,
366,
2149,
33,
25892,
1,
16034,
3084,
62,
21895,
1314,
33411,
366,
51,
15799,
6194,
1,
796,
705,
20185,
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
] | [
5376,
262,
14158,
65,
6567,
329,
257,
72,
46506,
366,
2149,
33,
25892,
1,
16034,
3084,
62,
21895,
1314,
33411,
366,
51,
15799,
6194,
1,
796,
705,
20185,
6
] |
How many countries had players named Marc Savard get picked? | SELECT COUNT(nationality) FROM table_2886617_4 WHERE player = "Marc Savard" | [
2437,
867,
2678,
550,
1938,
3706,
13067,
8858,
446,
651,
6497,
30,
46506,
327,
28270,
7,
14648,
414,
8,
16034,
3084,
62,
25270,
2791,
1558,
62,
19,
33411,
2137,
796,
366,
22697,
8858,
446,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2678,
550,
1938,
3706,
13067,
8858,
446,
651,
6497,
30,
46506,
327,
28270,
7,
14648,
414,
8,
16034,
3084,
62,
25270,
2791,
1558,
62,
19,
33411,
2137,
796,
366,
22697,
8858,
446,
1
] |
What was the 2007 result in the 28th district? | SELECT "2007 Result" FROM table_837 WHERE "District" = '28th' | [
2061,
373,
262,
4343,
1255,
287,
262,
2579,
400,
4783,
30,
46506,
366,
12726,
25414,
1,
16034,
3084,
62,
23,
2718,
33411,
366,
44857,
1,
796,
705,
2078,
400,
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,
4343,
1255,
287,
262,
2579,
400,
4783,
30,
46506,
366,
12726,
25414,
1,
16034,
3084,
62,
23,
2718,
33411,
366,
44857,
1,
796,
705,
2078,
400,
6
] |
For those records from the products and each product's manufacturer, give me the comparison about the average of price over the name , and group by attribute name by a bar chart, rank in descending by the y axis. | SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Price DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
2756,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1438,
416,
257,
2318,
8262,
11,
4279,
287,
31491,
416,
262,
331,
16488,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
262,
2811,
286,
2756,
625,
262,
1438,
837,
290,
1448,
416,
11688,
1438,
416,
257,
2318,
8262,
11,
4279,
287,
31491,
416,
262,
331,
16488,
1... |
what is minimum age of patients whose gender is f and ethnicity is black/haitian? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.ethnicity = "BLACK/HAITIAN" | [
10919,
318,
5288,
2479,
286,
3871,
3025,
5279,
318,
277,
290,
26289,
318,
2042,
14,
3099,
270,
666,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
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
] | [
10919,
318,
5288,
2479,
286,
3871,
3025,
5279,
318,
277,
290,
26289,
318,
2042,
14,
3099,
270,
666,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
37,
1,
5357,
16728,
13,
38546,
414,
796... |
since 2104, when did patient 2514 first visit the hospital? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 2514 AND STRFTIME('%y', admissions.admittime) >= '2104' ORDER BY admissions.admittime LIMIT 1 | [
20777,
362,
13464,
11,
618,
750,
5827,
1679,
1415,
717,
3187,
262,
4436,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1679,
1415,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
25349,
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
] | [
20777,
362,
13464,
11,
618,
750,
5827,
1679,
1415,
717,
3187,
262,
4436,
30,
46506,
25349,
13,
324,
20124,
524,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
1679,
1415,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
25349,
13,
... |
What nation had more than 97 Gold Medals and fewer than 332 Silver Medals? | SELECT SUM("Total") FROM table_14705 WHERE "Gold" > '97' AND "Silver" < '332' | [
2061,
3277,
550,
517,
621,
10111,
3561,
42171,
290,
7380,
621,
41423,
7698,
42171,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
1415,
34801,
33411,
366,
13306,
1,
1875,
705,
5607,
6,
5357,
366,
26766,
1,
1279,
705,
32148,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3277,
550,
517,
621,
10111,
3561,
42171,
290,
7380,
621,
41423,
7698,
42171,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
1415,
34801,
33411,
366,
13306,
1,
1875,
705,
5607,
6,
5357,
366,
26766,
1,
1279,
705,
32148,
6
] |
What is the Format of the release with Catalog number RTRADLP491? | SELECT "Format" FROM table_63843 WHERE "Catalog" = 'rtradlp491' | [
2061,
318,
262,
18980,
286,
262,
2650,
351,
44515,
1271,
371,
5446,
2885,
19930,
41289,
30,
46506,
366,
26227,
1,
16034,
3084,
62,
21,
2548,
3559,
33411,
366,
49015,
1,
796,
705,
81,
2213,
324,
34431,
41289,
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,
318,
262,
18980,
286,
262,
2650,
351,
44515,
1271,
371,
5446,
2885,
19930,
41289,
30,
46506,
366,
26227,
1,
16034,
3084,
62,
21,
2548,
3559,
33411,
366,
49015,
1,
796,
705,
81,
2213,
324,
34431,
41289,
6
] |
who had a faster time , katharina stiberg or ivana ninkovic ? | SELECT "name" FROM table_204_547 WHERE "name" IN ('katharina stiberg', 'ivana ninkovic') ORDER BY "time" LIMIT 1 | [
8727,
550,
257,
5443,
640,
837,
479,
776,
283,
1437,
336,
1856,
70,
393,
21628,
2271,
299,
676,
17215,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
20,
2857,
33411,
366,
3672,
1,
3268,
19203,
74,
776,
283,
1437,
336,
1856,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
5443,
640,
837,
479,
776,
283,
1437,
336,
1856,
70,
393,
21628,
2271,
299,
676,
17215,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
20,
2857,
33411,
366,
3672,
1,
3268,
19203,
74,
776,
283,
1437,
336,
1856,... |
For those records from the products and each product's manufacturer, a scatter chart shows the correlation between code and price , and group by attribute name. | SELECT T1.Code, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
2438,
290,
2756,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
309,
16,
13,
10669,
11,
309,
16,
13,
18124,
16034,
18675,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
2438,
290,
2756,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
309,
16,
13,
10669,
11,
309,
16,
13,
18124,
16034,
18675,
7054,
... |
What nationality has jon koncak as the player? | SELECT "Nationality" FROM table_76060 WHERE "Player" = 'jon koncak' | [
2061,
29835,
468,
474,
261,
479,
261,
66,
461,
355,
262,
2137,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
40761,
1899,
33411,
366,
14140,
1,
796,
705,
46286,
479,
261,
66,
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
] | [
2061,
29835,
468,
474,
261,
479,
261,
66,
461,
355,
262,
2137,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
40761,
1899,
33411,
366,
14140,
1,
796,
705,
46286,
479,
261,
66,
461,
6
] |
How many LOA metres were there when the skipper is lou abrahams? | SELECT "LOA (Metres)" FROM table_3314 WHERE "Skipper" = 'Lou Abrahams' | [
2437,
867,
17579,
32,
18985,
547,
612,
618,
262,
1341,
14710,
318,
21081,
450,
13220,
82,
30,
46506,
366,
21982,
32,
357,
9171,
411,
16725,
16034,
3084,
62,
2091,
1415,
33411,
366,
50,
4106,
2848,
1,
796,
705,
24016,
16660,
82,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
17579,
32,
18985,
547,
612,
618,
262,
1341,
14710,
318,
21081,
450,
13220,
82,
30,
46506,
366,
21982,
32,
357,
9171,
411,
16725,
16034,
3084,
62,
2091,
1415,
33411,
366,
50,
4106,
2848,
1,
796,
705,
24016,
16660,
82,
6
] |
What athletes represented the country of germany? | SELECT "Athletes" FROM table_62809 WHERE "Country" = 'germany' | [
2061,
10856,
7997,
262,
1499,
286,
308,
2224,
88,
30,
46506,
366,
32,
400,
40676,
1,
16034,
3084,
62,
5237,
34583,
33411,
366,
33921,
1,
796,
705,
1362,
21834,
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,
10856,
7997,
262,
1499,
286,
308,
2224,
88,
30,
46506,
366,
32,
400,
40676,
1,
16034,
3084,
62,
5237,
34583,
33411,
366,
33921,
1,
796,
705,
1362,
21834,
6
] |
What is the least w? | SELECT MIN(w) FROM table_29704430_1 | [
2061,
318,
262,
1551,
266,
30,
46506,
20625,
7,
86,
8,
16034,
3084,
62,
1959,
2154,
2598,
1270,
62,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1551,
266,
30,
46506,
20625,
7,
86,
8,
16034,
3084,
62,
1959,
2154,
2598,
1270,
62,
16
] |
For the ULCS requirement , which The Global Screen courses are there ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%The Global Screen%' OR course.description LIKE '%The Global Screen%' OR course.name LIKE '%The G... | [
1890,
262,
471,
29814,
9079,
837,
543,
383,
8060,
15216,
10902,
389,
612,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
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... | [
1890,
262,
471,
29814,
9079,
837,
543,
383,
8060,
15216,
10902,
389,
612,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1989,
6177,
1781,
13,
... |
What was the attendance when the Braves were the opponent and the record was 56-53? | SELECT AVG(attendance) FROM table_name_62 WHERE opponent = "braves" AND record = "56-53" | [
2061,
373,
262,
14858,
618,
262,
29374,
547,
262,
6125,
290,
262,
1700,
373,
7265,
12,
4310,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
6125,
796,
366,
16057,
1158,
1,
5357,
1700,
796,
366,
3980,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14858,
618,
262,
29374,
547,
262,
6125,
290,
262,
1700,
373,
7265,
12,
4310,
30,
46506,
35224,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
6125,
796,
366,
16057,
1158,
1,
5357,
1700,
796,
366,
3980,... |
find the number of patients whose drug route is dialys and age under 83 years. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "83" AND prescriptions.route = "DIALYS" | [
19796,
262,
1271,
286,
3871,
3025,
2563,
6339,
318,
5980,
893,
290,
2479,
739,
9698,
812,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19796,
262,
1271,
286,
3871,
3025,
2563,
6339,
318,
5980,
893,
290,
2479,
739,
9698,
812,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18... |
resting blood pressure greater than or equal to 160 / 100 mm hg | SELECT * FROM table_dev_8 WHERE systolic_blood_pressure_sbp > 160 OR diastolic_blood_pressure_dbp > 100 | [
2118,
278,
2910,
3833,
3744,
621,
393,
4961,
284,
13454,
1220,
1802,
8085,
289,
70,
46506,
1635,
16034,
3084,
62,
7959,
62,
23,
33411,
827,
301,
4160,
62,
18041,
62,
36151,
62,
36299,
79,
1875,
13454,
6375,
2566,
459,
4160,
62,
18041,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2118,
278,
2910,
3833,
3744,
621,
393,
4961,
284,
13454,
1220,
1802,
8085,
289,
70,
46506,
1635,
16034,
3084,
62,
7959,
62,
23,
33411,
827,
301,
4160,
62,
18041,
62,
36151,
62,
36299,
79,
1875,
13454,
6375,
2566,
459,
4160,
62,
18041,... |
When did the patient Paul Edwards die? | SELECT demographic.dod FROM demographic WHERE demographic.name = "Paul Edwards" | [
2215,
750,
262,
5827,
3362,
17381,
4656,
30,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
12041,
17381,
1
] | [
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,
750,
262,
5827,
3362,
17381,
4656,
30,
46506,
16728,
13,
67,
375,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
12041,
17381,
1
] |
Which Incumbent has a District of California 8? | SELECT incumbent FROM table_name_75 WHERE district = "california 8" | [
13828,
3457,
2178,
298,
468,
257,
5665,
286,
3442,
807,
30,
46506,
23526,
16034,
3084,
62,
3672,
62,
2425,
33411,
4783,
796,
366,
9948,
361,
3317,
807,
1
] | [
1,
1,
1,
1,
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,
3457,
2178,
298,
468,
257,
5665,
286,
3442,
807,
30,
46506,
23526,
16034,
3084,
62,
3672,
62,
2425,
33411,
4783,
796,
366,
9948,
361,
3317,
807,
1
] |
how many patients who had an urgent admission type were prescribed the drug with drug code clot10? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.formulary_drug_cd = "CLOT10" | [
4919,
867,
3871,
508,
550,
281,
18039,
13938,
2099,
547,
14798,
262,
2563,
351,
2563,
2438,
5148,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
508,
550,
281,
18039,
13938,
2099,
547,
14798,
262,
2563,
351,
2563,
2438,
5148,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
... |
Name the total number of cars for panther racing and grid of 9 | SELECT COUNT(car_no) FROM table_17304308_1 WHERE team = "Panther Racing" AND grid = 9 | [
5376,
262,
2472,
1271,
286,
5006,
329,
15857,
372,
11717,
290,
10706,
286,
860,
46506,
327,
28270,
7,
7718,
62,
3919,
8,
16034,
3084,
62,
1558,
21288,
21495,
62,
16,
33411,
1074,
796,
366,
47,
415,
372,
14954,
1,
5357,
10706,
796,
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
] | [
5376,
262,
2472,
1271,
286,
5006,
329,
15857,
372,
11717,
290,
10706,
286,
860,
46506,
327,
28270,
7,
7718,
62,
3919,
8,
16034,
3084,
62,
1558,
21288,
21495,
62,
16,
33411,
1074,
796,
366,
47,
415,
372,
14954,
1,
5357,
10706,
796,
8... |
what are the top four commonly taken lab tests for patients 20s? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 20 AND 29) GROUP BY labevents.itemid) AS ... | [
10919,
389,
262,
1353,
1440,
8811,
2077,
2248,
5254,
329,
3871,
1160,
82,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
1353,
1440,
8811,
2077,
2248,
5254,
329,
3871,
1160,
82,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312... |
Name the italian voice actor for dirk fenselau | SELECT italian_voice_actor FROM table_14960574_6 WHERE german_voice_actor = "Dirk Fenselau" | [
5376,
262,
340,
7199,
3809,
8674,
329,
288,
14232,
277,
268,
741,
559,
46506,
340,
7199,
62,
38888,
62,
11218,
16034,
3084,
62,
19442,
1899,
46900,
62,
21,
33411,
308,
2224,
62,
38888,
62,
11218,
796,
366,
35,
14232,
19426,
741,
559,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
340,
7199,
3809,
8674,
329,
288,
14232,
277,
268,
741,
559,
46506,
340,
7199,
62,
38888,
62,
11218,
16034,
3084,
62,
19442,
1899,
46900,
62,
21,
33411,
308,
2224,
62,
38888,
62,
11218,
796,
366,
35,
14232,
19426,
741,
559,
... |
Which Pick has a Round larger than 1, a School/Club Team of alcorn state, and a Position of defensive back? | SELECT SUM(pick) FROM table_name_88 WHERE round > 1 AND school_club_team = "alcorn state" AND position = "defensive back" | [
13828,
12346,
468,
257,
10485,
4025,
621,
352,
11,
257,
3961,
14,
42350,
4816,
286,
435,
20772,
1181,
11,
290,
257,
23158,
286,
6110,
736,
30,
46506,
35683,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
2835,
1875,
352,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
12346,
468,
257,
10485,
4025,
621,
352,
11,
257,
3961,
14,
42350,
4816,
286,
435,
20772,
1181,
11,
290,
257,
23158,
286,
6110,
736,
30,
46506,
35683,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
3459,
33411,
2835,
1875,
352,
5357,
... |
does change rank higher than standards on the u.s. billboard 200 chart ? | SELECT (SELECT "u.s. billboard 200 chart" FROM table_203_686 WHERE "album" = 'change') < (SELECT "u.s. billboard 200 chart" FROM table_203_686 WHERE "album" = 'standards') | [
22437,
1487,
4279,
2440,
621,
5423,
319,
262,
334,
13,
82,
13,
41448,
939,
8262,
5633,
46506,
357,
46506,
366,
84,
13,
82,
13,
41448,
939,
8262,
1,
16034,
3084,
62,
22416,
62,
33808,
33411,
366,
40916,
1,
796,
705,
3803,
11537,
1279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22437,
1487,
4279,
2440,
621,
5423,
319,
262,
334,
13,
82,
13,
41448,
939,
8262,
5633,
46506,
357,
46506,
366,
84,
13,
82,
13,
41448,
939,
8262,
1,
16034,
3084,
62,
22416,
62,
33808,
33411,
366,
40916,
1,
796,
705,
3803,
11537,
1279... |
give me the number of patients whose admission year is less than 2165 and item id is 51015? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2165" AND lab.itemid = "51015" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
20986,
290,
2378,
4686,
318,
6885,
25150,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
20986,
290,
2378,
4686,
318,
6885,
25150,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2... |
Which race did Bill Holland win in 1946? | SELECT race_name FROM table_name_40 WHERE year = 1946 AND winner = "bill holland" | [
13828,
3234,
750,
3941,
16070,
1592,
287,
22717,
30,
46506,
3234,
62,
3672,
16034,
3084,
62,
3672,
62,
1821,
33411,
614,
796,
22717,
5357,
8464,
796,
366,
35546,
289,
692,
392,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
3234,
750,
3941,
16070,
1592,
287,
22717,
30,
46506,
3234,
62,
3672,
16034,
3084,
62,
3672,
62,
1821,
33411,
614,
796,
22717,
5357,
8464,
796,
366,
35546,
289,
692,
392,
1
] |
Who has a total number of 76 silver medals? | SELECT COUNT(silver) FROM table_name_66 WHERE total = 76 | [
8241,
468,
257,
2472,
1271,
286,
8684,
8465,
28057,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2472,
796,
8684
] | [
1,
1,
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,
468,
257,
2472,
1271,
286,
8684,
8465,
28057,
30,
46506,
327,
28270,
7,
40503,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
2472,
796,
8684
] |
What is the date of the performance by Jatin Shah and co-contestant is Shalini Chandran? | SELECT date_performed FROM table_name_89 WHERE main_contestant = "jatin shah" AND co_contestant__yaar_vs_pyaar_ = "shalini chandran" | [
2061,
318,
262,
3128,
286,
262,
2854,
416,
449,
10680,
18381,
290,
763,
12,
3642,
395,
415,
318,
47974,
5362,
20631,
2596,
30,
46506,
3128,
62,
525,
12214,
16034,
3084,
62,
3672,
62,
4531,
33411,
1388,
62,
3642,
395,
415,
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,
1,
1,
1,
1,
1... | [
2061,
318,
262,
3128,
286,
262,
2854,
416,
449,
10680,
18381,
290,
763,
12,
3642,
395,
415,
318,
47974,
5362,
20631,
2596,
30,
46506,
3128,
62,
525,
12214,
16034,
3084,
62,
3672,
62,
4531,
33411,
1388,
62,
3642,
395,
415,
796,
366,
... |
how many finished above frnchitti ? | SELECT COUNT(*) FROM table_204_946 WHERE "pos" < (SELECT "pos" FROM table_204_946 WHERE "driver" = 'dario franchitti') | [
4919,
867,
5201,
2029,
1216,
77,
354,
715,
72,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
3510,
33411,
366,
1930,
1,
1279,
357,
46506,
366,
1930,
1,
16034,
3084,
62,
18638,
62,
24,
3510,
33411,
366,
26230,
1,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5201,
2029,
1216,
77,
354,
715,
72,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
3510,
33411,
366,
1930,
1,
1279,
357,
46506,
366,
1930,
1,
16034,
3084,
62,
18638,
62,
24,
3510,
33411,
366,
26230,
1,... |
count the number of patients whose primary disease is st elevated myocardial infarction/cardiac ccath and procedure icd9 code is 9465. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" AND procedures.icd9_code = "9465" | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
336,
15321,
616,
44412,
498,
1167,
283,
596,
14,
9517,
9607,
36624,
776,
290,
8771,
14158,
67,
24,
2438,
318,
10048,
2996,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
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,
1... | [
9127,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
336,
15321,
616,
44412,
498,
1167,
283,
596,
14,
9517,
9607,
36624,
776,
290,
8771,
14158,
67,
24,
2438,
318,
10048,
2996,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
... |
What's the CSA/CMA Population in IA-IL? | SELECT MAX(csa_cma_2009_population) FROM table_name_89 WHERE state__province = "ia-il" | [
2061,
338,
262,
327,
4090,
14,
34,
5673,
20133,
287,
35229,
12,
4146,
30,
46506,
25882,
7,
6359,
64,
62,
66,
2611,
62,
10531,
62,
39748,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
1181,
834,
15234,
924,
796,
366,
544,
12,
346,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
327,
4090,
14,
34,
5673,
20133,
287,
35229,
12,
4146,
30,
46506,
25882,
7,
6359,
64,
62,
66,
2611,
62,
10531,
62,
39748,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
1181,
834,
15234,
924,
796,
366,
544,
12,
346,
1
] |
for the endosc control gast hem what does it cost? | SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'procedures_icd' AND cost.event_id IN (SELECT procedures_icd.row_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'endosc control gast hem')) | [
1640,
262,
886,
17500,
1630,
21956,
16869,
644,
857,
340,
1575,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
1676,
771,
942,
62,
291,
67,
6,
5357,
1575,
13,
15596,
62,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1640,
262,
886,
17500,
1630,
21956,
16869,
644,
857,
340,
1575,
30,
46506,
360,
8808,
1268,
4177,
1575,
13,
15805,
16034,
1575,
33411,
1575,
13,
15596,
62,
4906,
796,
705,
1676,
771,
942,
62,
291,
67,
6,
5357,
1575,
13,
15596,
62,
3... |
What are the number of dates of birth of all the guests whose gender is 'Male'? | SELECT date_of_birth, COUNT(date_of_birth) FROM Guests WHERE gender_code = "Male" | [
2061,
389,
262,
1271,
286,
9667,
286,
4082,
286,
477,
262,
10650,
3025,
5279,
318,
705,
25486,
30960,
46506,
3128,
62,
1659,
62,
24280,
11,
327,
28270,
7,
4475,
62,
1659,
62,
24280,
8,
16034,
46936,
33411,
5279,
62,
8189,
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
] | [
2061,
389,
262,
1271,
286,
9667,
286,
4082,
286,
477,
262,
10650,
3025,
5279,
318,
705,
25486,
30960,
46506,
3128,
62,
1659,
62,
24280,
11,
327,
28270,
7,
4475,
62,
1659,
62,
24280,
8,
16034,
46936,
33411,
5279,
62,
8189,
796,
366,
... |
What is the status for 07/01/1961? | SELECT status FROM table_name_91 WHERE date = "07/01/1961" | [
2061,
318,
262,
3722,
329,
8753,
14,
486,
14,
1129,
5333,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
6420,
33411,
3128,
796,
366,
2998,
14,
486,
14,
1129,
5333,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3722,
329,
8753,
14,
486,
14,
1129,
5333,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
6420,
33411,
3128,
796,
366,
2998,
14,
486,
14,
1129,
5333,
1
] |
What are the courses that are worth 2 credits ? | SELECT DISTINCT name, number FROM course WHERE credits = 2 AND department = 'EECS' | [
2061,
389,
262,
10902,
326,
389,
2861,
362,
10824,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
362,
5357,
5011,
796,
705,
36,
2943,
50,
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
] | [
2061,
389,
262,
10902,
326,
389,
2861,
362,
10824,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
362,
5357,
5011,
796,
705,
36,
2943,
50,
6
] |
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, display from low to high by the x-axis. | 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.Name | [
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,
3359,
422,
1877,
284,
1029,
416,
262,
2124,
12,
22704,
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... | [
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,
3359,
422,
1877,
284,
1029,
416,
262,
2124,
12,
22704,
13,
... |
Tell me the position in 2012-13 and number of seasons in leigue 1 of 30 with ligue 1 titles of 1 | SELECT "Position in 2012\u201313" FROM table_58207 WHERE "Number of seasons in Ligue 1" = '30' AND "Ligue 1 titles" = '1' | [
24446,
502,
262,
2292,
287,
2321,
12,
1485,
290,
1271,
286,
7028,
287,
443,
15212,
352,
286,
1542,
351,
300,
15212,
352,
8714,
286,
352,
46506,
366,
26545,
287,
2321,
59,
84,
6390,
1485,
1,
16034,
3084,
62,
3365,
22745,
33411,
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,
1,
1,
1,
1,
1... | [
24446,
502,
262,
2292,
287,
2321,
12,
1485,
290,
1271,
286,
7028,
287,
443,
15212,
352,
286,
1542,
351,
300,
15212,
352,
8714,
286,
352,
46506,
366,
26545,
287,
2321,
59,
84,
6390,
1485,
1,
16034,
3084,
62,
3365,
22745,
33411,
366,
... |
is normal for patient 4401's sao2 on the last icu visit? | SELECT COUNT(*) > 0 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 = 4401) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime DESC LIMIT 1) AND chartevents.itemid IN (SELEC... | [
271,
3487,
329,
5827,
5846,
486,
338,
473,
78,
17,
319,
262,
938,
14158,
84,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
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... | [
271,
3487,
329,
5827,
5846,
486,
338,
473,
78,
17,
319,
262,
938,
14158,
84,
3187,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13... |
What is he archive for the episode with a run time of 24:05? | SELECT archive FROM table_2102714_1 WHERE run_time = "24:05" | [
2061,
318,
339,
15424,
329,
262,
4471,
351,
257,
1057,
640,
286,
1987,
25,
2713,
30,
46506,
15424,
16034,
3084,
62,
21536,
1983,
1415,
62,
16,
33411,
1057,
62,
2435,
796,
366,
1731,
25,
2713,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
339,
15424,
329,
262,
4471,
351,
257,
1057,
640,
286,
1987,
25,
2713,
30,
46506,
15424,
16034,
3084,
62,
21536,
1983,
1415,
62,
16,
33411,
1057,
62,
2435,
796,
366,
1731,
25,
2713,
1
] |
What are the types and countries of competitions? | SELECT Competition_type, Country FROM competition | [
2061,
389,
262,
3858,
290,
2678,
286,
24174,
30,
46506,
27348,
62,
4906,
11,
12946,
16034,
5449
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3858,
290,
2678,
286,
24174,
30,
46506,
27348,
62,
4906,
11,
12946,
16034,
5449
] |
What course would be the most difficult of the courses I 've taken ? | SELECT DISTINCT course.department, course.name, course.number, program_course.workload FROM course INNER JOIN student_record ON student_record.course_id = course.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE program_course.workload = (SELECT MAX(PROGRAM_COURSEalias1.workload) ... | [
2061,
1781,
561,
307,
262,
749,
2408,
286,
262,
10902,
314,
705,
303,
2077,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
3268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1781,
561,
307,
262,
749,
2408,
286,
262,
10902,
314,
705,
303,
2077,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
11,
1430,
62,
17319,
13,
1818,
2220,
16034,
1781,
3268,
... |
tell me about ground transportation between the DFW airport and downtown DALLAS | SELECT DISTINCT ground_service.transport_type FROM airport, airport_service, city AS CITY_0, city AS CITY_1, ground_service WHERE airport.airport_code = airport_service.airport_code AND CITY_0.city_name = 'DALLAS' AND CITY_1.city_code = airport_service.city_code AND CITY_1.city_name = 'DALLAS' AND ground_service.airpor... | [
33331,
502,
546,
2323,
9358,
1022,
262,
360,
24160,
9003,
290,
9436,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
546,
2323,
9358,
1022,
262,
360,
24160,
9003,
290,
9436,
360,
7036,
1921,
46506,
360,
8808,
1268,
4177,
2323,
62,
15271,
13,
7645,
634,
62,
4906,
16034,
9003,
11,
9003,
62,
15271,
11,
1748,
7054,
27993,
62,
15,
11,
1748,
... |
What engine did the Team Lotus have after 1965? | SELECT "Engine" FROM table_15733 WHERE "Entrant" = 'team lotus' AND "Year" > '1965' | [
2061,
3113,
750,
262,
4816,
27578,
423,
706,
17672,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
18458,
2091,
33411,
366,
14539,
5250,
1,
796,
705,
15097,
1256,
385,
6,
5357,
366,
17688,
1,
1875,
705,
45271,
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,
3113,
750,
262,
4816,
27578,
423,
706,
17672,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
18458,
2091,
33411,
366,
14539,
5250,
1,
796,
705,
15097,
1256,
385,
6,
5357,
366,
17688,
1,
1875,
705,
45271,
6
] |
What is the record as of July 22? | SELECT "Record" FROM table_15697 WHERE "Date" = 'july 22' | [
2061,
318,
262,
1700,
355,
286,
2901,
2534,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1314,
40035,
33411,
366,
10430,
1,
796,
705,
73,
2062,
2534,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
355,
286,
2901,
2534,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1314,
40035,
33411,
366,
10430,
1,
796,
705,
73,
2062,
2534,
6
] |
Name the total number of main contestants for safe position for tina parekh | SELECT COUNT("Main contestant") FROM table_1853 WHERE "Position" = 'Safe' AND "Co-contestant (Yaar vs. Pyaar)" = 'Tina Parekh' | [
5376,
262,
2472,
1271,
286,
1388,
37851,
329,
3338,
2292,
329,
256,
1437,
279,
533,
14636,
46506,
327,
28270,
7203,
13383,
44047,
4943,
16034,
3084,
62,
1507,
4310,
33411,
366,
26545,
1,
796,
705,
31511,
6,
5357,
366,
7222,
12,
3642,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2472,
1271,
286,
1388,
37851,
329,
3338,
2292,
329,
256,
1437,
279,
533,
14636,
46506,
327,
28270,
7203,
13383,
44047,
4943,
16034,
3084,
62,
1507,
4310,
33411,
366,
26545,
1,
796,
705,
31511,
6,
5357,
366,
7222,
12,
3642,
... |
Which regio has a date of 24 march 2006? | SELECT "Region" FROM table_47199 WHERE "Date" = '24 march 2006' | [
13828,
842,
952,
468,
257,
3128,
286,
1987,
9960,
4793,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
2857,
19104,
33411,
366,
10430,
1,
796,
705,
1731,
9960,
4793,
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
] | [
13828,
842,
952,
468,
257,
3128,
286,
1987,
9960,
4793,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
2857,
19104,
33411,
366,
10430,
1,
796,
705,
1731,
9960,
4793,
6
] |
Which Rank that is on september 9, 2004? | SELECT rank FROM table_name_16 WHERE date = "september 9, 2004" | [
13828,
10916,
326,
318,
319,
384,
457,
1491,
860,
11,
5472,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
1433,
33411,
3128,
796,
366,
325,
457,
1491,
860,
11,
5472,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
10916,
326,
318,
319,
384,
457,
1491,
860,
11,
5472,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
1433,
33411,
3128,
796,
366,
325,
457,
1491,
860,
11,
5472,
1
] |
How many loses have points greater than 30, goals scored greater than 59, with a position greater than 5? | SELECT SUM("Loses") FROM table_12175 WHERE "Points" > '30' AND "Goals scored" > '59' AND "Position" > '5' | [
2437,
867,
14754,
423,
2173,
3744,
621,
1542,
11,
4661,
7781,
3744,
621,
7863,
11,
351,
257,
2292,
3744,
621,
642,
30,
46506,
35683,
7203,
43,
4629,
4943,
16034,
3084,
62,
1065,
17430,
33411,
366,
40710,
1,
1875,
705,
1270,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
14754,
423,
2173,
3744,
621,
1542,
11,
4661,
7781,
3744,
621,
7863,
11,
351,
257,
2292,
3744,
621,
642,
30,
46506,
35683,
7203,
43,
4629,
4943,
16034,
3084,
62,
1065,
17430,
33411,
366,
40710,
1,
1875,
705,
1270,
6,
5357,
... |
In 1970, what entrant had a cosworth v8 engine? | SELECT "Entrant" FROM table_79747 WHERE "Engine" = 'cosworth v8' AND "Year" = '1970' | [
818,
8069,
11,
644,
920,
5250,
550,
257,
8615,
9268,
410,
23,
3113,
30,
46506,
366,
14539,
5250,
1,
16034,
3084,
62,
44673,
2857,
33411,
366,
13798,
1,
796,
705,
6966,
9268,
410,
23,
6,
5357,
366,
17688,
1,
796,
705,
30986,
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
] | [
818,
8069,
11,
644,
920,
5250,
550,
257,
8615,
9268,
410,
23,
3113,
30,
46506,
366,
14539,
5250,
1,
16034,
3084,
62,
44673,
2857,
33411,
366,
13798,
1,
796,
705,
6966,
9268,
410,
23,
6,
5357,
366,
17688,
1,
796,
705,
30986,
6
] |
What year has a genre the platform game? | SELECT year FROM table_name_18 WHERE genre = "platform game" | [
2061,
614,
468,
257,
12121,
262,
3859,
983,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
1507,
33411,
12121,
796,
366,
24254,
983,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
468,
257,
12121,
262,
3859,
983,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
1507,
33411,
12121,
796,
366,
24254,
983,
1
] |
what is the latest afternoon flight departing SAN FRANCISCO and arriving in BOSTON on 11 9 | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND date_day.day_number = 9 AND date_day.month_number = 11 AND ... | [
10919,
318,
262,
3452,
6672,
5474,
37717,
37376,
8782,
20940,
1797,
8220,
290,
14820,
287,
347,
10892,
1340,
319,
1367,
860,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3452,
6672,
5474,
37717,
37376,
8782,
20940,
1797,
8220,
290,
14820,
287,
347,
10892,
1340,
319,
1367,
860,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
... |
what is the number of patients whose admission location is clinic referral/premature and year of birth is less than 2114? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.dob_year < "2114" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
15760,
31413,
14,
31605,
1300,
290,
614,
286,
4082,
318,
1342,
621,
362,
16562,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
15760,
31413,
14,
31605,
1300,
290,
614,
286,
4082,
318,
1342,
621,
362,
16562,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3341... |
What is the seat of the RCM in the county that has a density of 9.7? | SELECT seat_of_rcm FROM table_214920_1 WHERE density__pop_per_km2_ = "9.7" | [
2061,
318,
262,
5852,
286,
262,
13987,
44,
287,
262,
7968,
326,
468,
257,
12109,
286,
860,
13,
22,
30,
46506,
5852,
62,
1659,
62,
6015,
76,
16034,
3084,
62,
17,
19442,
1238,
62,
16,
33411,
12109,
834,
12924,
62,
525,
62,
13276,
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
] | [
2061,
318,
262,
5852,
286,
262,
13987,
44,
287,
262,
7968,
326,
468,
257,
12109,
286,
860,
13,
22,
30,
46506,
5852,
62,
1659,
62,
6015,
76,
16034,
3084,
62,
17,
19442,
1238,
62,
16,
33411,
12109,
834,
12924,
62,
525,
62,
13276,
17... |
What are the names of the tourist attractions and the dates when the tourists named Vincent or Vivian visited there? | SELECT T1.name, T3.visit_date FROM tourist_attractions AS T1 JOIN visitors AS T2 JOIN visits AS T3 ON T1.tourist_attraction_id = T3.tourist_attraction_id AND T2.tourist_id = T3.tourist_id WHERE T2.tourist_details = "Vincent" OR T2.tourist_details = "Vivian" | [
2061,
389,
262,
3891,
286,
262,
18473,
29156,
290,
262,
9667,
618,
262,
15930,
3706,
18653,
393,
25313,
666,
8672,
612,
30,
46506,
309,
16,
13,
3672,
11,
309,
18,
13,
4703,
270,
62,
4475,
16034,
18473,
62,
1078,
37810,
7054,
309,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
389,
262,
3891,
286,
262,
18473,
29156,
290,
262,
9667,
618,
262,
15930,
3706,
18653,
393,
25313,
666,
8672,
612,
30,
46506,
309,
16,
13,
3672,
11,
309,
18,
13,
4703,
270,
62,
4475,
16034,
18473,
62,
1078,
37810,
7054,
309,
16... |
What is the fewest number of draws for teams with more than 0 byes? | SELECT MIN("Draws") FROM table_68703 WHERE "Byes" > '0' | [
2061,
318,
262,
1178,
395,
1271,
286,
14293,
329,
3466,
351,
517,
621,
657,
416,
274,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
3104,
36809,
33411,
366,
3886,
274,
1,
1875,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1178,
395,
1271,
286,
14293,
329,
3466,
351,
517,
621,
657,
416,
274,
30,
46506,
20625,
7203,
25302,
82,
4943,
16034,
3084,
62,
3104,
36809,
33411,
366,
3886,
274,
1,
1875,
705,
15,
6
] |
What is the smallest grid number that had 10 laps listed with Jonathan Summerton as the driver? | SELECT MIN("Grid") FROM table_38274 WHERE "Laps" = '10' AND "Driver" = 'jonathan summerton' | [
2061,
318,
262,
18197,
10706,
1271,
326,
550,
838,
24590,
5610,
351,
11232,
10216,
1122,
355,
262,
4639,
30,
46506,
20625,
7203,
41339,
4943,
16034,
3084,
62,
2548,
28857,
33411,
366,
43,
1686,
1,
796,
705,
940,
6,
5357,
366,
32103,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
18197,
10706,
1271,
326,
550,
838,
24590,
5610,
351,
11232,
10216,
1122,
355,
262,
4639,
30,
46506,
20625,
7203,
41339,
4943,
16034,
3084,
62,
2548,
28857,
33411,
366,
43,
1686,
1,
796,
705,
940,
6,
5357,
366,
32103,
1... |
What is Tournament, when 2000 is 'A'? | SELECT "Tournament" FROM table_78704 WHERE "2000" = 'a' | [
2061,
318,
9595,
11,
618,
4751,
318,
705,
32,
30960,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
3695,
32869,
33411,
366,
11024,
1,
796,
705,
64,
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,
318,
9595,
11,
618,
4751,
318,
705,
32,
30960,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
3695,
32869,
33411,
366,
11024,
1,
796,
705,
64,
6
] |
Name the driver/passenger for position 8 | SELECT driver___passenger FROM table_16729457_16 WHERE position = 8 | [
5376,
262,
4639,
14,
6603,
6540,
329,
2292,
807,
46506,
4639,
17569,
6603,
6540,
16034,
3084,
62,
21940,
1959,
33032,
62,
1433,
33411,
2292,
796,
807
] | [
1,
1,
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,
4639,
14,
6603,
6540,
329,
2292,
807,
46506,
4639,
17569,
6603,
6540,
16034,
3084,
62,
21940,
1959,
33032,
62,
1433,
33411,
2292,
796,
807
] |
What is the total of Last title that has Wins smaller than 71 and a First title larger than 1968 and a Country of fiji? | SELECT COUNT("Last title") FROM table_42704 WHERE "Wins" < '71' AND "First title" > '1968' AND "Country" = 'fiji' | [
2061,
318,
262,
2472,
286,
4586,
3670,
326,
468,
24423,
4833,
621,
9166,
290,
257,
3274,
3670,
4025,
621,
15963,
290,
257,
12946,
286,
277,
20770,
30,
46506,
327,
28270,
7203,
5956,
3670,
4943,
16034,
3084,
62,
42363,
3023,
33411,
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,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2472,
286,
4586,
3670,
326,
468,
24423,
4833,
621,
9166,
290,
257,
3274,
3670,
4025,
621,
15963,
290,
257,
12946,
286,
277,
20770,
30,
46506,
327,
28270,
7203,
5956,
3670,
4943,
16034,
3084,
62,
42363,
3023,
33411,
366,
... |
When was episode 2x11 aired for the first time? | SELECT first_broadcast FROM table_19930660_2 WHERE episode = "2x11" | [
2215,
373,
4471,
362,
87,
1157,
18530,
329,
262,
717,
640,
30,
46506,
717,
62,
36654,
2701,
16034,
3084,
62,
19104,
20548,
1899,
62,
17,
33411,
4471,
796,
366,
17,
87,
1157,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4471,
362,
87,
1157,
18530,
329,
262,
717,
640,
30,
46506,
717,
62,
36654,
2701,
16034,
3084,
62,
19104,
20548,
1899,
62,
17,
33411,
4471,
796,
366,
17,
87,
1157,
1
] |
For all employees who have the letters D or S in their first name, give me the comparison about the average of salary over the hire_date bin hire_date by time by a bar chart. | SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
9588,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
416,
257,
2318,
8262,
13,
46506,
36210,
2200,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
9588,
625,
262,
11078,
62,
4475,
9874,
11078,
62,
4475,
416,
640,
416,
257,
2318,
8262,
13,
46506,
36210,
2200,... |
What is Darren Clarke's total score? | SELECT COUNT(score) FROM table_name_45 WHERE player = "darren clarke" | [
2061,
318,
26203,
19635,
338,
2472,
4776,
30,
46506,
327,
28270,
7,
26675,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
2137,
796,
366,
27455,
918,
10212,
365,
1
] | [
1,
1,
1,
1,
1,
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,
26203,
19635,
338,
2472,
4776,
30,
46506,
327,
28270,
7,
26675,
8,
16034,
3084,
62,
3672,
62,
2231,
33411,
2137,
796,
366,
27455,
918,
10212,
365,
1
] |
What is the Domari associated with a Persian of yak, yek? | SELECT "Domari" FROM table_38099 WHERE "Persian" = 'yak, yek' | [
2061,
318,
262,
9666,
2743,
3917,
351,
257,
22035,
286,
46251,
11,
331,
988,
30,
46506,
366,
24510,
2743,
1,
16034,
3084,
62,
23734,
2079,
33411,
366,
30946,
666,
1,
796,
705,
88,
461,
11,
331,
988,
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,
318,
262,
9666,
2743,
3917,
351,
257,
22035,
286,
46251,
11,
331,
988,
30,
46506,
366,
24510,
2743,
1,
16034,
3084,
62,
23734,
2079,
33411,
366,
30946,
666,
1,
796,
705,
88,
461,
11,
331,
988,
6
] |
Who was the home team that played against Manchester United? | SELECT home_team FROM table_name_86 WHERE away_team = "manchester united" | [
8241,
373,
262,
1363,
1074,
326,
2826,
1028,
9502,
1578,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
4521,
33411,
1497,
62,
15097,
796,
366,
805,
35983,
16503,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
326,
2826,
1028,
9502,
1578,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
4521,
33411,
1497,
62,
15097,
796,
366,
805,
35983,
16503,
1
] |
Which Lost has a Club of club? | SELECT lost FROM table_name_33 WHERE "club" = "club" | [
13828,
9164,
468,
257,
6289,
286,
3430,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
2091,
33411,
366,
18664,
1,
796,
366,
18664,
1
] | [
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,
9164,
468,
257,
6289,
286,
3430,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
2091,
33411,
366,
18664,
1,
796,
366,
18664,
1
] |
What is the Place associated with Cuba? | SELECT place FROM table_name_49 WHERE nation = "cuba" | [
2061,
318,
262,
8474,
3917,
351,
14159,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
2920,
33411,
3277,
796,
366,
66,
22013,
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,
8474,
3917,
351,
14159,
30,
46506,
1295,
16034,
3084,
62,
3672,
62,
2920,
33411,
3277,
796,
366,
66,
22013,
1
] |
What structure is in Chile? | SELECT structure FROM table_name_88 WHERE country = "chile" | [
2061,
4645,
318,
287,
17456,
30,
46506,
4645,
16034,
3084,
62,
3672,
62,
3459,
33411,
1499,
796,
366,
354,
576,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4645,
318,
287,
17456,
30,
46506,
4645,
16034,
3084,
62,
3672,
62,
3459,
33411,
1499,
796,
366,
354,
576,
1
] |
What is the total year with a Team of scuderia ferrari, an Engine of ferrari 106 2.5 l4, and more than 12 points? | SELECT SUM("Year") FROM table_70168 WHERE "Team" = 'scuderia ferrari' AND "Engine" = 'ferrari 106 2.5 l4' AND "Points" > '12' | [
2061,
318,
262,
2472,
614,
351,
257,
4816,
286,
629,
463,
5142,
277,
8056,
2743,
11,
281,
7117,
286,
277,
8056,
2743,
15696,
362,
13,
20,
300,
19,
11,
290,
517,
621,
1105,
2173,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
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... | [
2061,
318,
262,
2472,
614,
351,
257,
4816,
286,
629,
463,
5142,
277,
8056,
2743,
11,
281,
7117,
286,
277,
8056,
2743,
15696,
362,
13,
20,
300,
19,
11,
290,
517,
621,
1105,
2173,
30,
46506,
35683,
7203,
17688,
4943,
16034,
3084,
62,
... |
Which country won in 1986? | SELECT country FROM table_name_59 WHERE year_s__won = "1986" | [
13828,
1499,
1839,
287,
12113,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3270,
33411,
614,
62,
82,
834,
26502,
796,
366,
28054,
1
] | [
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,
1499,
1839,
287,
12113,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
3270,
33411,
614,
62,
82,
834,
26502,
796,
366,
28054,
1
] |
Tell me the result for week less than 4 and september 7, 1986 | SELECT result FROM table_name_46 WHERE week < 4 AND date = "september 7, 1986" | [
24446,
502,
262,
1255,
329,
1285,
1342,
621,
604,
290,
384,
457,
1491,
767,
11,
12113,
46506,
1255,
16034,
3084,
62,
3672,
62,
3510,
33411,
1285,
1279,
604,
5357,
3128,
796,
366,
325,
457,
1491,
767,
11,
12113,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
1255,
329,
1285,
1342,
621,
604,
290,
384,
457,
1491,
767,
11,
12113,
46506,
1255,
16034,
3084,
62,
3672,
62,
3510,
33411,
1285,
1279,
604,
5357,
3128,
796,
366,
325,
457,
1491,
767,
11,
12113,
1
] |
after 2008 how many points total were scored by winners ? | SELECT SUM("winners") FROM table_203_390 WHERE "year" > 2008 | [
8499,
3648,
703,
867,
2173,
2472,
547,
7781,
416,
14591,
5633,
46506,
35683,
7203,
5404,
2741,
4943,
16034,
3084,
62,
22416,
62,
25964,
33411,
366,
1941,
1,
1875,
3648
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8499,
3648,
703,
867,
2173,
2472,
547,
7781,
416,
14591,
5633,
46506,
35683,
7203,
5404,
2741,
4943,
16034,
3084,
62,
22416,
62,
25964,
33411,
366,
1941,
1,
1875,
3648
] |
what is the name of the drug that was first prescribed to patient 1457 via ng route? | SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1457) AND prescriptions.route = 'ng' ORDER BY prescriptions.startdate LIMIT 1 | [
10919,
318,
262,
1438,
286,
262,
2563,
326,
373,
717,
14798,
284,
5827,
1478,
3553,
2884,
23370,
6339,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1438,
286,
262,
2563,
326,
373,
717,
14798,
284,
5827,
1478,
3553,
2884,
23370,
6339,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
1... |
what is the original air date for the episoe written by vanessa reisen? | SELECT original_air_date FROM table_13336122_5 WHERE written_by = "Vanessa Reisen" | [
10919,
318,
262,
2656,
1633,
3128,
329,
262,
48177,
2577,
3194,
416,
5719,
21411,
302,
13254,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
1485,
29211,
18376,
62,
20,
33411,
3194,
62,
1525,
796,
366,
25298,
21411,
797,
13254,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
1633,
3128,
329,
262,
48177,
2577,
3194,
416,
5719,
21411,
302,
13254,
30,
46506,
2656,
62,
958,
62,
4475,
16034,
3084,
62,
1485,
29211,
18376,
62,
20,
33411,
3194,
62,
1525,
796,
366,
25298,
21411,
797,
13254,
... |
List the locations of schools in ascending order of enrollment. | SELECT location FROM school ORDER BY enrollment | [
8053,
262,
7064,
286,
4266,
287,
41988,
1502,
286,
20753,
13,
46506,
4067,
16034,
1524,
38678,
11050,
20753
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
7064,
286,
4266,
287,
41988,
1502,
286,
20753,
13,
46506,
4067,
16034,
1524,
38678,
11050,
20753
] |
What is the English word that is abbreviated . .? | SELECT english_name FROM table_name_23 WHERE abbr = "พ.ย." | [
2061,
318,
262,
3594,
1573,
326,
318,
37640,
515,
764,
764,
30,
46506,
46932,
62,
3672,
16034,
3084,
62,
3672,
62,
1954,
33411,
450,
1671,
796,
366,
19567,
252,
13,
19567,
95,
526
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3594,
1573,
326,
318,
37640,
515,
764,
764,
30,
46506,
46932,
62,
3672,
16034,
3084,
62,
3672,
62,
1954,
33411,
450,
1671,
796,
366,
19567,
252,
13,
19567,
95,
526
] |
tell me the total of patient 7524's inputs on 02/08/last year? | SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7524)) AND DATETIME(inputevents_cv.charttime, 'start of year') = DATETIME(CURRENT_TIME(), ... | [
33331,
502,
262,
2472,
286,
5827,
5441,
1731,
338,
17311,
319,
7816,
14,
2919,
14,
12957,
614,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
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... | [
33331,
502,
262,
2472,
286,
5827,
5441,
1731,
338,
17311,
319,
7816,
14,
2919,
14,
12957,
614,
30,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
658,
62,
33967,
33411,
287,
79,
1133,
8... |
What album has the title I Need A Life with the label of warp records / paper bag records? | SELECT "Album" FROM table_34029 WHERE "Label" = 'warp records / paper bag records' AND "Title" = 'i need a life' | [
2061,
5062,
468,
262,
3670,
314,
10664,
317,
5155,
351,
262,
6167,
286,
25825,
4406,
1220,
3348,
6131,
4406,
30,
46506,
366,
2348,
4435,
1,
16034,
3084,
62,
23601,
1959,
33411,
366,
33986,
1,
796,
705,
86,
5117,
4406,
1220,
3348,
6131... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5062,
468,
262,
3670,
314,
10664,
317,
5155,
351,
262,
6167,
286,
25825,
4406,
1220,
3348,
6131,
4406,
30,
46506,
366,
2348,
4435,
1,
16034,
3084,
62,
23601,
1959,
33411,
366,
33986,
1,
796,
705,
86,
5117,
4406,
1220,
3348,
6131... |
Show the id and builder of the railway that are associated with the most trains. | SELECT T2.railway_id, T1.builder FROM railway AS T1 JOIN train AS T2 ON T1.railway_id = T2.railway_id GROUP BY T2.railway_id ORDER BY COUNT(*) DESC LIMIT 1 | [
15307,
262,
4686,
290,
27098,
286,
262,
20515,
326,
389,
3917,
351,
262,
749,
13404,
13,
46506,
309,
17,
13,
30224,
1014,
62,
312,
11,
309,
16,
13,
38272,
16034,
20515,
7054,
309,
16,
32357,
1268,
4512,
7054,
309,
17,
6177,
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... | [
15307,
262,
4686,
290,
27098,
286,
262,
20515,
326,
389,
3917,
351,
262,
749,
13404,
13,
46506,
309,
17,
13,
30224,
1014,
62,
312,
11,
309,
16,
13,
38272,
16034,
20515,
7054,
309,
16,
32357,
1268,
4512,
7054,
309,
17,
6177,
309,
16,... |
Which Poles have a position of 4th? | SELECT poles FROM table_name_63 WHERE position = "4th" | [
13828,
45631,
423,
257,
2292,
286,
604,
400,
30,
46506,
24971,
16034,
3084,
62,
3672,
62,
5066,
33411,
2292,
796,
366,
19,
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
] | [
13828,
45631,
423,
257,
2292,
286,
604,
400,
30,
46506,
24971,
16034,
3084,
62,
3672,
62,
5066,
33411,
2292,
796,
366,
19,
400,
1
] |
What are the first names and ids for customers who have two or more accounts. | SELECT T2.customer_first_name, T1.customer_id FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id | [
2061,
389,
262,
717,
3891,
290,
220,
2340,
329,
4297,
508,
423,
734,
393,
517,
5504,
13,
46506,
309,
17,
13,
23144,
263,
62,
11085,
62,
3672,
11,
309,
16,
13,
23144,
263,
62,
312,
16034,
35584,
7054,
309,
16,
32357,
1268,
36707,
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,
1,
1,
1,
1
] | [
2061,
389,
262,
717,
3891,
290,
220,
2340,
329,
4297,
508,
423,
734,
393,
517,
5504,
13,
46506,
309,
17,
13,
23144,
263,
62,
11085,
62,
3672,
11,
309,
16,
13,
23144,
263,
62,
312,
16034,
35584,
7054,
309,
16,
32357,
1268,
36707,
7... |
What is the premiere rating for a Chinese title of , and a Peak smaller than 41? | SELECT SUM("Premiere") FROM table_53290 WHERE "Chinese title" = '野蠻奶奶大戰戈師奶' AND "Peak" < '41' | [
2061,
318,
262,
19245,
7955,
329,
257,
3999,
3670,
286,
837,
290,
257,
23974,
4833,
621,
6073,
30,
46506,
35683,
7203,
24914,
13235,
4943,
16034,
3084,
62,
4310,
24369,
33411,
366,
23604,
3670,
1,
796,
705,
34932,
236,
164,
254,
119,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19245,
7955,
329,
257,
3999,
3670,
286,
837,
290,
257,
23974,
4833,
621,
6073,
30,
46506,
35683,
7203,
24914,
13235,
4943,
16034,
3084,
62,
4310,
24369,
33411,
366,
23604,
3670,
1,
796,
705,
34932,
236,
164,
254,
119,
... |
Which college had a pick of under 5? | SELECT college FROM table_name_92 WHERE pick < 5 | [
13828,
4152,
550,
257,
2298,
286,
739,
642,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
5892,
33411,
2298,
1279,
642
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4152,
550,
257,
2298,
286,
739,
642,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
5892,
33411,
2298,
1279,
642
] |
When Kerry is at 36.7%, what is the total number of others? | SELECT COUNT("Others#") FROM table_14396 WHERE "Kerry%" = '36.7%' | [
2215,
15981,
318,
379,
4570,
13,
22,
7441,
644,
318,
262,
2472,
1271,
286,
1854,
30,
46506,
327,
28270,
7203,
25599,
2,
4943,
16034,
3084,
62,
1415,
34107,
33411,
366,
42,
6996,
39658,
796,
705,
2623,
13,
22,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
15981,
318,
379,
4570,
13,
22,
7441,
644,
318,
262,
2472,
1271,
286,
1854,
30,
46506,
327,
28270,
7203,
25599,
2,
4943,
16034,
3084,
62,
1415,
34107,
33411,
366,
42,
6996,
39658,
796,
705,
2623,
13,
22,
4,
6
] |
Which Venue has a crowd larger than 25,000? | SELECT away_team FROM table_name_83 WHERE crowd > 25 OFFSET 000 | [
13828,
9932,
518,
468,
257,
4315,
4025,
621,
1679,
11,
830,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
5999,
33411,
4315,
1875,
1679,
3963,
10652,
2767,
12877
] | [
1,
1,
1,
1,
1,
1,
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,
9932,
518,
468,
257,
4315,
4025,
621,
1679,
11,
830,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
5999,
33411,
4315,
1875,
1679,
3963,
10652,
2767,
12877
] |
How many positions have a played greater than 12? | SELECT COUNT(position) FROM table_name_26 WHERE played > 12 | [
2437,
867,
6116,
423,
257,
2826,
3744,
621,
1105,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
2826,
1875,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
6116,
423,
257,
2826,
3744,
621,
1105,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
2075,
33411,
2826,
1875,
1105
] |
Percentage of unanswered questions by tag. | SELECT t.TagName, COUNT(*) AS "total_posts", SUM(CASE WHEN AcceptedAnswerId IS NULL THEN 1 ELSE 0 END) AS "unanswered_posts", SUM(CASE WHEN AcceptedAnswerId IS NULL THEN 1 ELSE 0 END) * 1.0 / COUNT(*) AS "%_unanswered" FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id INNER JOIN Tags AS t ON t.Id = pt.TagId... | [
31905,
496,
286,
34001,
2683,
416,
7621,
13,
46506,
256,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
7054,
366,
23350,
62,
24875,
1600,
35683,
7,
34,
11159,
42099,
21699,
276,
33706,
7390,
3180,
15697,
42243,
352,
17852,
5188,
657,
23578... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
31905,
496,
286,
34001,
2683,
416,
7621,
13,
46506,
256,
13,
24835,
5376,
11,
327,
28270,
7,
28104,
7054,
366,
23350,
62,
24875,
1600,
35683,
7,
34,
11159,
42099,
21699,
276,
33706,
7390,
3180,
15697,
42243,
352,
17852,
5188,
657,
23578... |
What format is catalogue 148615 in? | SELECT format FROM table_name_78 WHERE catalogue = "148615" | [
2061,
5794,
318,
34614,
1478,
4521,
1314,
287,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
3695,
33411,
34614,
796,
366,
1415,
4521,
1314,
1
] | [
1,
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,
5794,
318,
34614,
1478,
4521,
1314,
287,
30,
46506,
5794,
16034,
3084,
62,
3672,
62,
3695,
33411,
34614,
796,
366,
1415,
4521,
1314,
1
] |
how many patients are primary diagnosed for st elevated myocardial infarction or cardiac cath and have a lab test for blood? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" AND lab.fluid = "Blood" | [
4919,
867,
3871,
389,
4165,
14641,
329,
336,
15321,
616,
44412,
498,
1167,
283,
596,
393,
26077,
32171,
290,
423,
257,
2248,
1332,
329,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4165,
14641,
329,
336,
15321,
616,
44412,
498,
1167,
283,
596,
393,
26077,
32171,
290,
423,
257,
2248,
1332,
329,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.