instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of headquarter and the average of code , and group by attribute headquarter, and could you rank by the Y-axis in descending? | SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
714,
345,
4279,
416,
262,
575,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1182,
24385,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
290,
714,
345,
4279,
416,
262,
575,
1... |
Count answers by presence of keywords. | SELECT COUNT(*) AS total FROM Posts AS p INNER JOIN PostTags AS pt ON p.Id = pt.PostId INNER JOIN Tags AS t ON pt.TagId = t.Id WHERE t.TagName = 'r' | [
12332,
7429,
416,
4931,
286,
26286,
13,
46506,
327,
28270,
7,
28104,
7054,
2472,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
279,
13,
7390,
796,
42975,
13,
6307,
7390,
3268,
21479,
32357,
1268,
44789... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12332,
7429,
416,
4931,
286,
26286,
13,
46506,
327,
28270,
7,
28104,
7054,
2472,
16034,
12043,
7054,
279,
3268,
21479,
32357,
1268,
2947,
36142,
7054,
42975,
6177,
279,
13,
7390,
796,
42975,
13,
6307,
7390,
3268,
21479,
32357,
1268,
44789... |
What is Probate Activities, when Notarial Activities is No, when Conduct of Litigation is Yes, and when Regulator is Association of Law Costs Draftsmen? | SELECT "Probate activities" FROM table_7693 WHERE "Notarial activities" = 'no' AND "Conduct of litigation" = 'yes' AND "Regulator" = 'association of law costs draftsmen' | [
2061,
318,
30873,
378,
36270,
11,
618,
1892,
36098,
36270,
318,
1400,
11,
618,
28579,
286,
25659,
7065,
318,
3363,
11,
290,
618,
3310,
8927,
318,
5396,
286,
3854,
36845,
13650,
82,
3653,
30,
46506,
366,
2964,
65,
378,
4568,
1,
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... | [
2061,
318,
30873,
378,
36270,
11,
618,
1892,
36098,
36270,
318,
1400,
11,
618,
28579,
286,
25659,
7065,
318,
3363,
11,
290,
618,
3310,
8927,
318,
5396,
286,
3854,
36845,
13650,
82,
3653,
30,
46506,
366,
2964,
65,
378,
4568,
1,
16034,
... |
count the number of patients whose discharge location is snf and admission year is less than 2133? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SNF" AND demographic.admityear < "2133" | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
3013,
69,
290,
13938,
614,
318,
1342,
621,
362,
16945,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
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
] | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
3013,
69,
290,
13938,
614,
318,
1342,
621,
362,
16945,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
... |
What was the time for tracks before 19 on 8/26/69? | SELECT time FROM table_name_75 WHERE release_date = "8/26/69" AND track < 19 | [
2061,
373,
262,
640,
329,
8339,
878,
678,
319,
807,
14,
2075,
14,
3388,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
2425,
33411,
2650,
62,
4475,
796,
366,
23,
14,
2075,
14,
3388,
1,
5357,
2610,
1279,
678
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
329,
8339,
878,
678,
319,
807,
14,
2075,
14,
3388,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
2425,
33411,
2650,
62,
4475,
796,
366,
23,
14,
2075,
14,
3388,
1,
5357,
2610,
1279,
678
] |
What were property taxes in a year when total revenue was $40,891,700 after 2002? | SELECT "Property Taxes" FROM table_51368 WHERE "Year" > '2002' AND "Total Revenue" = '$40,891,700' | [
2061,
547,
3119,
5704,
287,
257,
614,
618,
2472,
6426,
373,
720,
1821,
11,
4531,
16,
11,
9879,
706,
6244,
30,
46506,
366,
21746,
42260,
1,
16034,
3084,
62,
48645,
3104,
33411,
366,
17688,
1,
1875,
705,
16942,
6,
5357,
366,
14957,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
3119,
5704,
287,
257,
614,
618,
2472,
6426,
373,
720,
1821,
11,
4531,
16,
11,
9879,
706,
6244,
30,
46506,
366,
21746,
42260,
1,
16034,
3084,
62,
48645,
3104,
33411,
366,
17688,
1,
1875,
705,
16942,
6,
5357,
366,
14957,
20... |
what's the date with game being 72 | SELECT "Date" FROM table_18821 WHERE "Game" = '72' | [
10919,
338,
262,
3128,
351,
983,
852,
7724,
46506,
366,
10430,
1,
16034,
3084,
62,
20356,
2481,
33411,
366,
8777,
1,
796,
705,
4761,
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
] | [
10919,
338,
262,
3128,
351,
983,
852,
7724,
46506,
366,
10430,
1,
16034,
3084,
62,
20356,
2481,
33411,
366,
8777,
1,
796,
705,
4761,
6
] |
What was the record at Tiger Stadium? | SELECT record FROM table_name_30 WHERE game_site = "tiger stadium" | [
2061,
373,
262,
1700,
379,
17030,
10499,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1270,
33411,
983,
62,
15654,
796,
366,
83,
8254,
10308,
1
] | [
1,
1,
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,
379,
17030,
10499,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
1270,
33411,
983,
62,
15654,
796,
366,
83,
8254,
10308,
1
] |
Name the score for rick leach zina garrison | SELECT "Score" FROM table_20111 WHERE "Opponents" = 'Rick Leach Zina Garrison' | [
5376,
262,
4776,
329,
374,
624,
443,
620,
1976,
1437,
45416,
46506,
366,
26595,
1,
16034,
3084,
62,
1264,
1157,
33411,
366,
27524,
3906,
1,
796,
705,
33048,
1004,
620,
1168,
1437,
39233,
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
] | [
5376,
262,
4776,
329,
374,
624,
443,
620,
1976,
1437,
45416,
46506,
366,
26595,
1,
16034,
3084,
62,
1264,
1157,
33411,
366,
27524,
3906,
1,
796,
705,
33048,
1004,
620,
1168,
1437,
39233,
6
] |
what is the average daily number of patients with ac diastolic hrt failure diagnosed last year? | SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'ac diastolic hrt failure') AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_T... | [
10919,
318,
262,
2811,
4445,
1271,
286,
3871,
351,
936,
2566,
459,
4160,
289,
17034,
5287,
14641,
938,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
40567,
62,
291,
67,
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... | [
10919,
318,
262,
2811,
4445,
1271,
286,
3871,
351,
936,
2566,
459,
4160,
289,
17034,
5287,
14641,
938,
614,
30,
46506,
35224,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
40567,
62,
291,
67,
13... |
what is the number of patients whose admission type is emergency and drug name is timolol maleate 0.5%? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND prescriptions.drug = "Timolol Maleate 0.5%" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
2563,
1438,
318,
4628,
349,
349,
4257,
378,
657,
13,
20,
4,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
2563,
1438,
318,
4628,
349,
349,
4257,
378,
657,
13,
20,
4,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479... |
Which away team had a score of 5.6 (36)? | SELECT "Away team" FROM table_4776 WHERE "Away team score" = '5.6 (36)' | [
13828,
1497,
1074,
550,
257,
4776,
286,
642,
13,
21,
357,
2623,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2857,
4304,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
20,
13,
21,
357,
2623,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1497,
1074,
550,
257,
4776,
286,
642,
13,
21,
357,
2623,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2857,
4304,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
20,
13,
21,
357,
2623,
33047
] |
Who is the famous for that finished 2nd? | SELECT "Famous for" FROM table_19297 WHERE "Finished" = '2nd' | [
8241,
318,
262,
5863,
329,
326,
5201,
362,
358,
30,
46506,
366,
37,
10877,
329,
1,
16034,
3084,
62,
1129,
26561,
33411,
366,
18467,
1348,
1,
796,
705,
17,
358,
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
] | [
8241,
318,
262,
5863,
329,
326,
5201,
362,
358,
30,
46506,
366,
37,
10877,
329,
1,
16034,
3084,
62,
1129,
26561,
33411,
366,
18467,
1348,
1,
796,
705,
17,
358,
6
] |
Get users that have in username ' '. | SELECT * FROM Users WHERE DisplayName LIKE 'irc' | [
3855,
2985,
326,
423,
287,
20579,
705,
45302,
46506,
1635,
16034,
18987,
33411,
16531,
5376,
34178,
705,
1980,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3855,
2985,
326,
423,
287,
20579,
705,
45302,
46506,
1635,
16034,
18987,
33411,
16531,
5376,
34178,
705,
1980,
6
] |
What is the latest opened year of the team in Glasgow, Scotland? | SELECT MAX(opened) FROM table_name_34 WHERE city = "glasgow, scotland" | [
2061,
318,
262,
3452,
4721,
614,
286,
262,
1074,
287,
23995,
11,
8838,
30,
46506,
25882,
7,
26350,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
1748,
796,
366,
14391,
21175,
11,
629,
313,
1044,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3452,
4721,
614,
286,
262,
1074,
287,
23995,
11,
8838,
30,
46506,
25882,
7,
26350,
8,
16034,
3084,
62,
3672,
62,
2682,
33411,
1748,
796,
366,
14391,
21175,
11,
629,
313,
1044,
1
] |
What company constructed the car with more than 0 laps and shows 5 for grid? | SELECT constructor FROM table_name_42 WHERE laps > 0 AND grid = 5 | [
2061,
1664,
12006,
262,
1097,
351,
517,
621,
657,
24590,
290,
2523,
642,
329,
10706,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
3682,
33411,
24590,
1875,
657,
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
] | [
2061,
1664,
12006,
262,
1097,
351,
517,
621,
657,
24590,
290,
2523,
642,
329,
10706,
30,
46506,
23772,
16034,
3084,
62,
3672,
62,
3682,
33411,
24590,
1875,
657,
5357,
10706,
796,
642
] |
Give me the comparison about ACC_Percent over the Team_Name , and rank from low to high by the ACC_Percent please. | SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY ACC_Percent | [
23318,
502,
262,
7208,
546,
15859,
62,
31905,
625,
262,
4816,
62,
5376,
837,
290,
4279,
422,
1877,
284,
1029,
416,
262,
15859,
62,
31905,
3387,
13,
46506,
4816,
62,
5376,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
158... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
15859,
62,
31905,
625,
262,
4816,
62,
5376,
837,
290,
4279,
422,
1877,
284,
1029,
416,
262,
15859,
62,
31905,
3387,
13,
46506,
4816,
62,
5376,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
38678,
11050,
158... |
When dis cbs release the DVD set? | SELECT dvd_set_release_date FROM table_name_76 WHERE network = "cbs" | [
2215,
595,
269,
1443,
2650,
262,
12490,
900,
30,
46506,
288,
20306,
62,
2617,
62,
20979,
62,
4475,
16034,
3084,
62,
3672,
62,
4304,
33411,
3127,
796,
366,
66,
1443,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
595,
269,
1443,
2650,
262,
12490,
900,
30,
46506,
288,
20306,
62,
2617,
62,
20979,
62,
4475,
16034,
3084,
62,
3672,
62,
4304,
33411,
3127,
796,
366,
66,
1443,
1
] |
Which series with a total of 27 albums did Dargaud edit? | SELECT "Series" FROM table_52044 WHERE "Editor" = 'dargaud' AND "Albums" = '27' | [
13828,
2168,
351,
257,
2472,
286,
2681,
16788,
750,
360,
853,
3885,
4370,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
31211,
2598,
33411,
366,
17171,
1,
796,
705,
67,
853,
3885,
6,
5357,
366,
2348,
4435,
82,
1,
796,
705,
1983,
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
] | [
13828,
2168,
351,
257,
2472,
286,
2681,
16788,
750,
360,
853,
3885,
4370,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
31211,
2598,
33411,
366,
17171,
1,
796,
705,
67,
853,
3885,
6,
5357,
366,
2348,
4435,
82,
1,
796,
705,
1983,
6
] |
What is the week 14 (final) dec 7 standing with Florida (6-1) on week 8 Oct 26? | SELECT week_14__final__dec_7 FROM table_name_97 WHERE week_8_oct_26 = "florida (6-1)" | [
2061,
318,
262,
1285,
1478,
357,
20311,
8,
875,
767,
5055,
351,
4744,
357,
21,
12,
16,
8,
319,
1285,
807,
2556,
2608,
30,
46506,
1285,
62,
1415,
834,
20311,
834,
12501,
62,
22,
16034,
3084,
62,
3672,
62,
5607,
33411,
1285,
62,
23,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1285,
1478,
357,
20311,
8,
875,
767,
5055,
351,
4744,
357,
21,
12,
16,
8,
319,
1285,
807,
2556,
2608,
30,
46506,
1285,
62,
1415,
834,
20311,
834,
12501,
62,
22,
16034,
3084,
62,
3672,
62,
5607,
33411,
1285,
62,
23,... |
Find the name and capacity of the dorm with least number of amenities. | SELECT T1.dorm_name, T1.student_capacity FROM dorm AS T1 JOIN has_amenity AS T2 ON T1.dormid = T2.dormid JOIN dorm_amenity AS T3 ON T2.amenid = T3.amenid GROUP BY T2.dormid ORDER BY COUNT(*) LIMIT 1 | [
16742,
262,
1438,
290,
5339,
286,
262,
18586,
351,
1551,
1271,
286,
35468,
13,
46506,
309,
16,
13,
67,
579,
62,
3672,
11,
309,
16,
13,
50139,
62,
42404,
16034,
18586,
7054,
309,
16,
32357,
1268,
468,
62,
41763,
414,
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... | [
16742,
262,
1438,
290,
5339,
286,
262,
18586,
351,
1551,
1271,
286,
35468,
13,
46506,
309,
16,
13,
67,
579,
62,
3672,
11,
309,
16,
13,
50139,
62,
42404,
16034,
18586,
7054,
309,
16,
32357,
1268,
468,
62,
41763,
414,
7054,
309,
17,
... |
Do you know how many ARABAM classes are there going to be offered for next semester ? | SELECT COUNT(DISTINCT course_offering.course_id) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'ARABAM' AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016 | [
5211,
345,
760,
703,
867,
317,
3861,
33,
2390,
6097,
389,
612,
1016,
284,
307,
4438,
329,
1306,
24878,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5211,
345,
760,
703,
867,
317,
3861,
33,
2390,
6097,
389,
612,
1016,
284,
307,
4438,
329,
1306,
24878,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
17319,
62,
312,
8,
16034,
1781,
11,
1781,
62,
2364,
... |
count the number of patients who were prescribed atropine injection 0.5 mg in the same month after receiving the normal saline administration procedure in the last year. | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'normal saline administration' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME... | [
9127,
262,
1271,
286,
3871,
508,
547,
14798,
379,
1773,
500,
16954,
657,
13,
20,
10527,
287,
262,
976,
1227,
706,
6464,
262,
3487,
47375,
3662,
8771,
287,
262,
938,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
508,
547,
14798,
379,
1773,
500,
16954,
657,
13,
20,
10527,
287,
262,
976,
1227,
706,
6464,
262,
3487,
47375,
3662,
8771,
287,
262,
938,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
... |
give me the number of patients whose religion is jewish and admission year is less than 2148? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "JEWISH" AND demographic.admityear < "2148" | [
26535,
502,
262,
1271,
286,
3871,
3025,
5737,
318,
12711,
680,
290,
13938,
614,
318,
1342,
621,
362,
18294,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
2411,
17035,
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
] | [
26535,
502,
262,
1271,
286,
3871,
3025,
5737,
318,
12711,
680,
290,
13938,
614,
318,
1342,
621,
362,
18294,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
2411,
17035,
796... |
Prevalence of Bootstrap, Foundation, and Responsive as Tags. | SELECT COUNT(Id) FROM Posts WHERE (Tags LIKE '%bootstrap%' OR Tags LIKE '%boilerplate%' OR Tags LIKE '%foundation%') | [
6719,
2100,
594,
286,
18892,
26418,
11,
5693,
11,
290,
20549,
425,
355,
44789,
13,
46506,
327,
28270,
7,
7390,
8,
16034,
12043,
33411,
357,
36142,
34178,
705,
4,
18769,
26418,
4,
6,
6375,
44789,
34178,
705,
4,
2127,
5329,
6816,
4,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
6719,
2100,
594,
286,
18892,
26418,
11,
5693,
11,
290,
20549,
425,
355,
44789,
13,
46506,
327,
28270,
7,
7390,
8,
16034,
12043,
33411,
357,
36142,
34178,
705,
4,
18769,
26418,
4,
6,
6375,
44789,
34178,
705,
4,
2127,
5329,
6816,
4,
6... |
What is Australian, when Examples is 'am ba, anemone, ascesis'? | SELECT australian FROM table_name_95 WHERE examples = "amœba, anemone, ascesis" | [
2061,
318,
6638,
11,
618,
21066,
318,
705,
321,
26605,
11,
281,
368,
505,
11,
355,
728,
271,
30960,
46506,
38132,
1373,
666,
16034,
3084,
62,
3672,
62,
3865,
33411,
6096,
796,
366,
321,
129,
241,
7012,
11,
281,
368,
505,
11,
355,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6638,
11,
618,
21066,
318,
705,
321,
26605,
11,
281,
368,
505,
11,
355,
728,
271,
30960,
46506,
38132,
1373,
666,
16034,
3084,
62,
3672,
62,
3865,
33411,
6096,
796,
366,
321,
129,
241,
7012,
11,
281,
368,
505,
11,
355,
... |
What is the Name of the Players with a Rank of 18? | SELECT "Name" FROM table_48943 WHERE "Rank" = '18' | [
2061,
318,
262,
6530,
286,
262,
13094,
351,
257,
10916,
286,
1248,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
35890,
3559,
33411,
366,
27520,
1,
796,
705,
1507,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6530,
286,
262,
13094,
351,
257,
10916,
286,
1248,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
35890,
3559,
33411,
366,
27520,
1,
796,
705,
1507,
6
] |
what are the top five most prescribed drugs for patients who were prescribed cefazolin 2 gm in ns 100 ml ivpb (repackage) at the same time since 2104? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'cefazolin 2 gm in ns 100 ml ivpb (repackage)' AND S... | [
10919,
389,
262,
1353,
1936,
749,
14798,
5010,
329,
3871,
508,
547,
14798,
269,
891,
1031,
24910,
362,
308,
76,
287,
36545,
1802,
25962,
21628,
40842,
357,
7856,
441,
496,
8,
379,
262,
976,
640,
1201,
362,
13464,
30,
46506,
256,
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... | [
10919,
389,
262,
1353,
1936,
749,
14798,
5010,
329,
3871,
508,
547,
14798,
269,
891,
1031,
24910,
362,
308,
76,
287,
36545,
1802,
25962,
21628,
40842,
357,
7856,
441,
496,
8,
379,
262,
976,
640,
1201,
362,
13464,
30,
46506,
256,
18,
... |
When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket? | SELECT socialist_workers_ticket FROM table_name_99 WHERE republican_ticket = "john p. lomenzo" | [
2215,
3415,
7846,
373,
1757,
350,
13,
406,
3674,
10872,
508,
4966,
329,
262,
21773,
16847,
7846,
30,
46506,
15889,
62,
22896,
62,
43350,
16034,
3084,
62,
3672,
62,
2079,
33411,
41477,
62,
43350,
796,
366,
30686,
279,
13,
300,
3674,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3415,
7846,
373,
1757,
350,
13,
406,
3674,
10872,
508,
4966,
329,
262,
21773,
16847,
7846,
30,
46506,
15889,
62,
22896,
62,
43350,
16034,
3084,
62,
3672,
62,
2079,
33411,
41477,
62,
43350,
796,
366,
30686,
279,
13,
300,
3674,
10... |
Which Played has a Lost larger than 4, and a Team of am rica, and Points smaller than 5? | SELECT SUM("Played") FROM table_37111 WHERE "Lost" > '4' AND "Team" = 'américa' AND "Points" < '5' | [
13828,
33101,
468,
257,
9164,
4025,
621,
604,
11,
290,
257,
4816,
286,
716,
374,
3970,
11,
290,
11045,
4833,
621,
642,
30,
46506,
35683,
7203,
11002,
276,
4943,
16034,
3084,
62,
2718,
16243,
33411,
366,
31042,
1,
1875,
705,
19,
6,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
33101,
468,
257,
9164,
4025,
621,
604,
11,
290,
257,
4816,
286,
716,
374,
3970,
11,
290,
11045,
4833,
621,
642,
30,
46506,
35683,
7203,
11002,
276,
4943,
16034,
3084,
62,
2718,
16243,
33411,
366,
31042,
1,
1875,
705,
19,
6,
5... |
Which committees have delegates from the Democratic party? | SELECT T1.committee FROM election AS T1 JOIN party AS T2 ON T1.party = T2.party_id WHERE T2.party = "Democratic" | [
13828,
17460,
423,
15265,
422,
262,
4390,
2151,
30,
46506,
309,
16,
13,
26799,
16034,
3071,
7054,
309,
16,
32357,
1268,
2151,
7054,
309,
17,
6177,
309,
16,
13,
10608,
796,
309,
17,
13,
10608,
62,
312,
33411,
309,
17,
13,
10608,
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
] | [
13828,
17460,
423,
15265,
422,
262,
4390,
2151,
30,
46506,
309,
16,
13,
26799,
16034,
3071,
7054,
309,
16,
32357,
1268,
2151,
7054,
309,
17,
6177,
309,
16,
13,
10608,
796,
309,
17,
13,
10608,
62,
312,
33411,
309,
17,
13,
10608,
796,... |
What is South Korea's to par value? | SELECT "To par" FROM table_68303 WHERE "Country" = 'south korea' | [
2061,
318,
2520,
4969,
338,
284,
1582,
1988,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
3104,
22572,
33411,
366,
33921,
1,
796,
705,
35782,
479,
46215,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
2520,
4969,
338,
284,
1582,
1988,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
3104,
22572,
33411,
366,
33921,
1,
796,
705,
35782,
479,
46215,
6
] |
Which Goals have a Player of noel carroll? | SELECT MIN("Goals") FROM table_64233 WHERE "Player" = 'noel carroll' | [
13828,
28510,
423,
257,
7853,
286,
645,
417,
1097,
2487,
30,
46506,
20625,
7203,
5247,
874,
4943,
16034,
3084,
62,
2414,
25429,
33411,
366,
14140,
1,
796,
705,
3919,
417,
1097,
2487,
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
] | [
13828,
28510,
423,
257,
7853,
286,
645,
417,
1097,
2487,
30,
46506,
20625,
7203,
5247,
874,
4943,
16034,
3084,
62,
2414,
25429,
33411,
366,
14140,
1,
796,
705,
3919,
417,
1097,
2487,
6
] |
What is the pinyin name for the english name xin county? | SELECT "Pinyin" FROM table_4029 WHERE "English Name" = 'Xin County' | [
2061,
318,
262,
279,
3541,
259,
1438,
329,
262,
46932,
1438,
2124,
259,
7968,
30,
46506,
366,
47,
3541,
259,
1,
16034,
3084,
62,
1821,
1959,
33411,
366,
15823,
6530,
1,
796,
705,
55,
259,
3418,
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,
279,
3541,
259,
1438,
329,
262,
46932,
1438,
2124,
259,
7968,
30,
46506,
366,
47,
3541,
259,
1,
16034,
3084,
62,
1821,
1959,
33411,
366,
15823,
6530,
1,
796,
705,
55,
259,
3418,
6
] |
Give me a bar chart showing the total number of each minister, and sort y axis in descending order please. | SELECT Minister, COUNT(Minister) FROM party GROUP BY Minister ORDER BY COUNT(Minister) DESC | [
23318,
502,
257,
2318,
8262,
4478,
262,
2472,
1271,
286,
1123,
5342,
11,
290,
3297,
331,
16488,
287,
31491,
1502,
3387,
13,
46506,
4139,
11,
327,
28270,
7,
9452,
1694,
8,
16034,
2151,
44441,
11050,
4139,
38678,
11050,
327,
28270,
7,
9... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
2318,
8262,
4478,
262,
2472,
1271,
286,
1123,
5342,
11,
290,
3297,
331,
16488,
287,
31491,
1502,
3387,
13,
46506,
4139,
11,
327,
28270,
7,
9452,
1694,
8,
16034,
2151,
44441,
11050,
4139,
38678,
11050,
327,
28270,
7,
9... |
when had patient 002-52932 had urinary catheter output: indwelling/continuous ure output for the last time on the first intensive care unit visit? | SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-52932') AND NOT patient.unitdischargetime IS NULL... | [
12518,
550,
5827,
3571,
17,
12,
49721,
2624,
550,
38628,
3797,
43332,
5072,
25,
773,
4053,
278,
14,
18487,
5623,
334,
260,
5072,
329,
262,
938,
640,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
10337,
22915,
13,
600,
539,
22915,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
550,
5827,
3571,
17,
12,
49721,
2624,
550,
38628,
3797,
43332,
5072,
25,
773,
4053,
278,
14,
18487,
5623,
334,
260,
5072,
329,
262,
938,
640,
319,
262,
717,
18590,
1337,
4326,
3187,
30,
46506,
10337,
22915,
13,
600,
539,
22915,... |
What are some of the most useful courses to take before taking NEUROSCI 619 ? | SELECT DISTINCT advisory_requirement FROM course WHERE department = 'NEUROSCI' AND number = 619 | [
2061,
389,
617,
286,
262,
749,
4465,
10902,
284,
1011,
878,
2263,
10635,
4261,
2640,
25690,
718,
1129,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
12161,
4261,
2640,
25690,
6,
5357,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
617,
286,
262,
749,
4465,
10902,
284,
1011,
878,
2263,
10635,
4261,
2640,
25690,
718,
1129,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
5011,
796,
705,
12161,
4261,
2640,
25690,
6,
5357,
12... |
What is the population of the country of McDowell? | SELECT "Population" FROM table_2710 WHERE "County" = 'McDowell' | [
2061,
318,
262,
3265,
286,
262,
1499,
286,
23394,
32829,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
1983,
940,
33411,
366,
12332,
88,
1,
796,
705,
9742,
35,
32829,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3265,
286,
262,
1499,
286,
23394,
32829,
30,
46506,
366,
45251,
1,
16034,
3084,
62,
1983,
940,
33411,
366,
12332,
88,
1,
796,
705,
9742,
35,
32829,
6
] |
Posts from user-id with a given tag. | SELECT * FROM Users WHERE Id = 416354 OR DisplayName LIKE 'TaylorOtwell' | [
21496,
422,
2836,
12,
312,
351,
257,
1813,
7621,
13,
46506,
1635,
16034,
18987,
33411,
5121,
796,
38158,
32182,
6375,
16531,
5376,
34178,
705,
29907,
46,
83,
4053,
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
] | [
21496,
422,
2836,
12,
312,
351,
257,
1813,
7621,
13,
46506,
1635,
16034,
18987,
33411,
5121,
796,
38158,
32182,
6375,
16531,
5376,
34178,
705,
29907,
46,
83,
4053,
6
] |
What is the smallest ANSI code for adler township when Longitude is more than -101.333926, GEO ID is less than 3806700900, and Land ( sqmi ) is more than 35.84? | SELECT MIN("ANSI code") FROM table_64732 WHERE "Longitude" > '-101.333926' AND "GEO ID" < '3806700900' AND "Township" = 'adler' AND "Land ( sqmi )" > '35.84' | [
2061,
318,
262,
18197,
3537,
11584,
2438,
329,
512,
1754,
42823,
618,
5882,
3984,
318,
517,
621,
532,
8784,
13,
2091,
2670,
2075,
11,
402,
4720,
4522,
318,
1342,
621,
29101,
3134,
405,
12865,
11,
290,
6379,
357,
19862,
11632,
1267,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3537,
11584,
2438,
329,
512,
1754,
42823,
618,
5882,
3984,
318,
517,
621,
532,
8784,
13,
2091,
2670,
2075,
11,
402,
4720,
4522,
318,
1342,
621,
29101,
3134,
405,
12865,
11,
290,
6379,
357,
19862,
11632,
1267,
31... |
Who was the visitor for Chicago Black Hawks on May 6? | SELECT visitor FROM table_name_7 WHERE home = "chicago black hawks" AND date = "may 6" | [
8241,
373,
262,
21493,
329,
4842,
2619,
23445,
319,
1737,
718,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
22,
33411,
1363,
796,
366,
354,
4549,
2042,
23185,
591,
1,
5357,
3128,
796,
366,
11261,
718,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
21493,
329,
4842,
2619,
23445,
319,
1737,
718,
30,
46506,
21493,
16034,
3084,
62,
3672,
62,
22,
33411,
1363,
796,
366,
354,
4549,
2042,
23185,
591,
1,
5357,
3128,
796,
366,
11261,
718,
1
] |
What is lead for the Election Results polling firm and has a PSOE of 39.6% 175? | SELECT "Lead" FROM table_71379 WHERE "Polling Firm" = 'election results' AND "PSOE" = '39.6% 175' | [
2061,
318,
1085,
329,
262,
14219,
15691,
13985,
4081,
290,
468,
257,
6599,
27799,
286,
5014,
13,
21,
4,
19038,
30,
46506,
366,
20451,
1,
16034,
3084,
62,
50055,
3720,
33411,
366,
39176,
278,
31623,
1,
796,
705,
14300,
2482,
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
] | [
2061,
318,
1085,
329,
262,
14219,
15691,
13985,
4081,
290,
468,
257,
6599,
27799,
286,
5014,
13,
21,
4,
19038,
30,
46506,
366,
20451,
1,
16034,
3084,
62,
50055,
3720,
33411,
366,
39176,
278,
31623,
1,
796,
705,
14300,
2482,
6,
5357,
... |
Which away team scored 10.5 (65)? | SELECT "Away team" FROM table_11914 WHERE "Away team score" = '10.5 (65)' | [
13828,
1497,
1074,
7781,
838,
13,
20,
357,
2996,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
16315,
1415,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
940,
13,
20,
357,
2996,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1497,
1074,
7781,
838,
13,
20,
357,
2996,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
16315,
1415,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
940,
13,
20,
357,
2996,
33047
] |
WHAT IS THE POSITION FOR BRAZIL, WITH 27 GOALS, AND FOR NECA? | SELECT position FROM table_name_83 WHERE nationality = "brazil" AND goals = 27 AND name = "neca" | [
32971,
3180,
3336,
28069,
17941,
7473,
39947,
57,
4146,
11,
13315,
2681,
10351,
23333,
11,
5357,
7473,
399,
36600,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
5999,
33411,
29835,
796,
366,
65,
7098,
1,
5357,
4661,
796,
2681,
5357,
1438,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
3180,
3336,
28069,
17941,
7473,
39947,
57,
4146,
11,
13315,
2681,
10351,
23333,
11,
5357,
7473,
399,
36600,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
5999,
33411,
29835,
796,
366,
65,
7098,
1,
5357,
4661,
796,
2681,
5357,
1438,... |
What party did candidate george mcduffie (j) represent? | SELECT "Party" FROM table_28881 WHERE "Candidates" = 'George McDuffie (J)' | [
2061,
2151,
750,
4540,
4903,
3643,
36650,
646,
487,
494,
357,
73,
8,
2380,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
2078,
3459,
16,
33411,
366,
41572,
37051,
1,
796,
705,
20191,
23394,
1648,
494,
357,
41,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2151,
750,
4540,
4903,
3643,
36650,
646,
487,
494,
357,
73,
8,
2380,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
2078,
3459,
16,
33411,
366,
41572,
37051,
1,
796,
705,
20191,
23394,
1648,
494,
357,
41,
33047
] |
What distance did giovanni lombardi win after stage 5? | SELECT "Distance" FROM table_54612 WHERE "Stage" > '5' AND "Winner" = 'giovanni lombardi' | [
2061,
5253,
750,
308,
16664,
31296,
300,
2381,
22490,
1592,
706,
3800,
642,
30,
46506,
366,
45767,
1,
16034,
3084,
62,
49489,
1065,
33411,
366,
29391,
1,
1875,
705,
20,
6,
5357,
366,
48056,
1,
796,
705,
12397,
709,
31296,
300,
2381,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5253,
750,
308,
16664,
31296,
300,
2381,
22490,
1592,
706,
3800,
642,
30,
46506,
366,
45767,
1,
16034,
3084,
62,
49489,
1065,
33411,
366,
29391,
1,
1875,
705,
20,
6,
5357,
366,
48056,
1,
796,
705,
12397,
709,
31296,
300,
2381,
... |
when did patient 24547 since 2132 days ago had chest tube #1 output for the first time? | SELECT outputevents.charttime FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24547)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'ches... | [
12518,
750,
5827,
29637,
2857,
1201,
362,
19924,
1528,
2084,
550,
7721,
12403,
1303,
16,
5072,
329,
262,
717,
640,
30,
46506,
38701,
1133,
85,
658,
13,
40926,
2435,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
43... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
29637,
2857,
1201,
362,
19924,
1528,
2084,
550,
7721,
12403,
1303,
16,
5072,
329,
262,
717,
640,
30,
46506,
38701,
1133,
85,
658,
13,
40926,
2435,
16034,
38701,
1133,
85,
658,
33411,
38701,
1133,
85,
658,
13,
291,
43... |
what is the result when the week is earlier than 9 and attendance is 25,188? | SELECT "Result" FROM table_48999 WHERE "Week" < '9' AND "Attendance" = '25,188' | [
10919,
318,
262,
1255,
618,
262,
1285,
318,
2961,
621,
860,
290,
14858,
318,
1679,
11,
20356,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2780,
17032,
33411,
366,
20916,
1,
1279,
705,
24,
6,
5357,
366,
8086,
437,
590,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1255,
618,
262,
1285,
318,
2961,
621,
860,
290,
14858,
318,
1679,
11,
20356,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
2780,
17032,
33411,
366,
20916,
1,
1279,
705,
24,
6,
5357,
366,
8086,
437,
590,
1,
796,
705,
... |
what is procedure short title and procedure long title of procedure icd9 code 5361? | SELECT procedures.short_title, procedures.long_title FROM procedures WHERE procedures.icd9_code = "5361" | [
10919,
318,
8771,
1790,
3670,
290,
8771,
890,
3670,
286,
8771,
14158,
67,
24,
2438,
642,
35195,
30,
46506,
9021,
13,
19509,
62,
7839,
11,
9021,
13,
6511,
62,
7839,
16034,
9021,
33411,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
20,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8771,
1790,
3670,
290,
8771,
890,
3670,
286,
8771,
14158,
67,
24,
2438,
642,
35195,
30,
46506,
9021,
13,
19509,
62,
7839,
11,
9021,
13,
6511,
62,
7839,
16034,
9021,
33411,
9021,
13,
291,
67,
24,
62,
8189,
796,
366,
20,
... |
What is the English title for the official number 22 episode? | SELECT english_title FROM table_16425614_3 WHERE official__number = 22 | [
2061,
318,
262,
3594,
3670,
329,
262,
1743,
1271,
2534,
4471,
30,
46506,
46932,
62,
7839,
16034,
3084,
62,
23237,
11645,
1415,
62,
18,
33411,
1743,
834,
17618,
796,
2534
] | [
1,
1,
1,
1,
1,
1,
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,
3670,
329,
262,
1743,
1271,
2534,
4471,
30,
46506,
46932,
62,
7839,
16034,
3084,
62,
23237,
11645,
1415,
62,
18,
33411,
1743,
834,
17618,
796,
2534
] |
How many laps led when the Grid was 15? | SELECT laps AS Led FROM table_name_29 WHERE grid = "15" | [
2437,
867,
24590,
2957,
618,
262,
24846,
373,
1315,
30,
46506,
24590,
7054,
22964,
16034,
3084,
62,
3672,
62,
1959,
33411,
10706,
796,
366,
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,
1
] | [
2437,
867,
24590,
2957,
618,
262,
24846,
373,
1315,
30,
46506,
24590,
7054,
22964,
16034,
3084,
62,
3672,
62,
1959,
33411,
10706,
796,
366,
1314,
1
] |
What are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18? | SELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18 | [
2061,
389,
262,
2472,
2033,
286,
28510,
1482,
771,
276,
618,
262,
11045,
389,
1342,
621,
2608,
11,
290,
618,
262,
1988,
329,
33101,
318,
1342,
621,
1248,
30,
46506,
35683,
7,
2188,
874,
62,
1102,
771,
276,
8,
16034,
3084,
62,
3672,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
2033,
286,
28510,
1482,
771,
276,
618,
262,
11045,
389,
1342,
621,
2608,
11,
290,
618,
262,
1988,
329,
33101,
318,
1342,
621,
1248,
30,
46506,
35683,
7,
2188,
874,
62,
1102,
771,
276,
8,
16034,
3084,
62,
3672,
... |
Name the reason for 20 july 1031 | SELECT "Reason" FROM table_26518 WHERE "Co-kingship ceased" = '20 July 1031' | [
5376,
262,
1738,
329,
1160,
474,
2062,
838,
3132,
46506,
366,
45008,
1,
16034,
3084,
62,
22980,
1507,
33411,
366,
7222,
12,
74,
654,
1056,
24368,
1,
796,
705,
1238,
2901,
838,
3132,
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
] | [
5376,
262,
1738,
329,
1160,
474,
2062,
838,
3132,
46506,
366,
45008,
1,
16034,
3084,
62,
22980,
1507,
33411,
366,
7222,
12,
74,
654,
1056,
24368,
1,
796,
705,
1238,
2901,
838,
3132,
6
] |
Return the names of the regions affected by storms that had a death count of at least 10. | SELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id WHERE T3.number_deaths >= 10 | [
13615,
262,
3891,
286,
262,
7652,
5676,
416,
20228,
326,
550,
257,
1918,
954,
286,
379,
1551,
838,
13,
46506,
309,
17,
13,
36996,
62,
3672,
16034,
5676,
62,
36996,
7054,
309,
16,
32357,
1268,
3814,
7054,
309,
17,
6177,
309,
16,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13615,
262,
3891,
286,
262,
7652,
5676,
416,
20228,
326,
550,
257,
1918,
954,
286,
379,
1551,
838,
13,
46506,
309,
17,
13,
36996,
62,
3672,
16034,
5676,
62,
36996,
7054,
309,
16,
32357,
1268,
3814,
7054,
309,
17,
6177,
309,
16,
13,
... |
provide the number of patients whose religion is romanian east. orth and lab test name is hemoglobin? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "ROMANIAN EAST. ORTH" AND lab.label = "Hemoglobin" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5737,
318,
374,
5185,
666,
7627,
13,
29617,
290,
2248,
1332,
1438,
318,
16869,
49835,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5737,
318,
374,
5185,
666,
7627,
13,
29617,
290,
2248,
1332,
1438,
318,
16869,
49835,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
323... |
Whose name in Polish holds the Lublin seat? | SELECT name_in_polish FROM table_11614581_3 WHERE seat = "Lublin" | [
1199,
577,
1438,
287,
15945,
6622,
262,
40753,
2815,
5852,
30,
46506,
1438,
62,
259,
62,
16104,
680,
16034,
3084,
62,
18298,
1415,
48630,
62,
18,
33411,
5852,
796,
366,
43,
549,
2815,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1199,
577,
1438,
287,
15945,
6622,
262,
40753,
2815,
5852,
30,
46506,
1438,
62,
259,
62,
16104,
680,
16034,
3084,
62,
18298,
1415,
48630,
62,
18,
33411,
5852,
796,
366,
43,
549,
2815,
1
] |
how many records were set in beijing ? | SELECT COUNT(*) FROM table_203_102 WHERE "place" = 'beijing' | [
4919,
867,
4406,
547,
900,
287,
307,
11030,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
15377,
33411,
366,
5372,
1,
796,
705,
1350,
11030,
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
] | [
4919,
867,
4406,
547,
900,
287,
307,
11030,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
15377,
33411,
366,
5372,
1,
796,
705,
1350,
11030,
6
] |
Big serch mutiple tags users. | SELECT DISTINCT u.Id AS "user_link", CONCAT('https://stackoverflow.com/users/', u.Id) AS "profile_link", u.DisplayName, u.Location, SUM(a.Score) AS "tag_scores" FROM Users AS u INNER JOIN Posts AS a ON a.OwnerUserId = u.Id INNER JOIN Posts AS q ON a.ParentId = q.Id INNER JOIN PostTags AS pt ON pt.PostId = q.Id INNER JO... | [
12804,
1055,
354,
4517,
2480,
15940,
2985,
13,
46506,
360,
8808,
1268,
4177,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
39962,
1404,
10786,
5450,
1378,
25558,
2502,
11125,
13,
785,
14,
18417,
14,
3256,
334,
13,
7390,
8,
7054,
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... | [
12804,
1055,
354,
4517,
2480,
15940,
2985,
13,
46506,
360,
8808,
1268,
4177,
334,
13,
7390,
7054,
366,
7220,
62,
8726,
1600,
39962,
1404,
10786,
5450,
1378,
25558,
2502,
11125,
13,
785,
14,
18417,
14,
3256,
334,
13,
7390,
8,
7054,
366... |
What was the issued serial for yellow on blue design issued in 1955? | SELECT "Serials issued" FROM table_49494 WHERE "Design" = 'yellow on blue' AND "Issued" = '1955' | [
2061,
373,
262,
4884,
11389,
329,
7872,
319,
4171,
1486,
4884,
287,
25325,
30,
46506,
366,
7089,
8231,
4884,
1,
16034,
3084,
62,
2920,
39449,
33411,
366,
23067,
1,
796,
705,
36022,
319,
4171,
6,
5357,
366,
27738,
1739,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4884,
11389,
329,
7872,
319,
4171,
1486,
4884,
287,
25325,
30,
46506,
366,
7089,
8231,
4884,
1,
16034,
3084,
62,
2920,
39449,
33411,
366,
23067,
1,
796,
705,
36022,
319,
4171,
6,
5357,
366,
27738,
1739,
1,
796,
705,
... |
what is procedure long title of subject id 3343? | SELECT procedures.long_title FROM procedures WHERE procedures.subject_id = "3343" | [
10919,
318,
8771,
890,
3670,
286,
2426,
4686,
513,
32118,
30,
46506,
9021,
13,
6511,
62,
7839,
16034,
9021,
33411,
9021,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] | [
1,
1,
1,
1,
1,
1,
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,
8771,
890,
3670,
286,
2426,
4686,
513,
32118,
30,
46506,
9021,
13,
6511,
62,
7839,
16034,
9021,
33411,
9021,
13,
32796,
62,
312,
796,
366,
2091,
3559,
1
] |
What is the Series with a High rebounds with gasol (10)? | SELECT "Series" FROM table_77505 WHERE "High rebounds" = 'gasol (10)' | [
2061,
318,
262,
7171,
351,
257,
3334,
18841,
351,
3623,
349,
357,
940,
19427,
46506,
366,
27996,
1,
16034,
3084,
62,
3324,
31654,
33411,
366,
11922,
18841,
1,
796,
705,
22649,
349,
357,
940,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7171,
351,
257,
3334,
18841,
351,
3623,
349,
357,
940,
19427,
46506,
366,
27996,
1,
16034,
3084,
62,
3324,
31654,
33411,
366,
11922,
18841,
1,
796,
705,
22649,
349,
357,
940,
33047
] |
Which Model has a Number of CPUs of 1 10, and a Performance (MIPS) of 49 447? | SELECT model FROM table_name_6 WHERE number_of_cpus = "1–10" AND performance__mips_ = "49–447" | [
13828,
9104,
468,
257,
7913,
286,
32340,
286,
352,
838,
11,
290,
257,
15193,
357,
8895,
3705,
8,
286,
5125,
604,
2857,
30,
46506,
2746,
16034,
3084,
62,
3672,
62,
21,
33411,
1271,
62,
1659,
62,
13155,
385,
796,
366,
16,
1906,
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,
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,
9104,
468,
257,
7913,
286,
32340,
286,
352,
838,
11,
290,
257,
15193,
357,
8895,
3705,
8,
286,
5125,
604,
2857,
30,
46506,
2746,
16034,
3084,
62,
3672,
62,
21,
33411,
1271,
62,
1659,
62,
13155,
385,
796,
366,
16,
1906,
940,
... |
Who was the home team that played against the visiting team Minnesota? | SELECT home FROM table_name_63 WHERE visitor = "minnesota" | [
8241,
373,
262,
1363,
1074,
326,
2826,
1028,
262,
10013,
1074,
8919,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
5066,
33411,
21493,
796,
366,
1084,
8360,
1
] | [
1,
1,
1,
1,
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,
262,
10013,
1074,
8919,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
5066,
33411,
21493,
796,
366,
1084,
8360,
1
] |
What is the lowest number of laps for ryan newman with over 96 points, a cur number under 24, | SELECT MIN(laps) FROM table_name_49 WHERE points > 96 AND car__number < 24 AND driver = "ryan newman" | [
2061,
318,
262,
9016,
1271,
286,
24590,
329,
374,
4121,
649,
805,
351,
625,
9907,
2173,
11,
257,
1090,
1271,
739,
1987,
11,
46506,
20625,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
2173,
1875,
9907,
5357,
1097,
834,
176... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
1271,
286,
24590,
329,
374,
4121,
649,
805,
351,
625,
9907,
2173,
11,
257,
1090,
1271,
739,
1987,
11,
46506,
20625,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2920,
33411,
2173,
1875,
9907,
5357,
1097,
834,
176... |
what is the name of patient 016-6134's last intake on the last intensive care unit visit? | SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-6134') AND NOT patient.unitdischargetime IS NULL ORDER B... | [
10919,
318,
262,
1438,
286,
5827,
5534,
21,
12,
21,
19880,
338,
938,
10337,
319,
262,
938,
18590,
1337,
4326,
3187,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
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... | [
10919,
318,
262,
1438,
286,
5827,
5534,
21,
12,
21,
19880,
338,
938,
10337,
319,
262,
938,
18590,
1337,
4326,
3187,
30,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
... |
When the type is 'reset' what is the description? | SELECT "Description" FROM table_19854 WHERE "Type" = 'reset' | [
2215,
262,
2099,
318,
705,
42503,
6,
644,
318,
262,
6764,
30,
46506,
366,
11828,
1,
16034,
3084,
62,
22337,
4051,
33411,
366,
6030,
1,
796,
705,
42503,
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
] | [
2215,
262,
2099,
318,
705,
42503,
6,
644,
318,
262,
6764,
30,
46506,
366,
11828,
1,
16034,
3084,
62,
22337,
4051,
33411,
366,
6030,
1,
796,
705,
42503,
6
] |
Show the first and last name of all the faculty members who participated in some activity, together with the number of activities they participated in. | SELECT T1.fname, T1.lname, COUNT(*), T1.facid FROM faculty AS T1 JOIN faculty_participates_in AS T2 ON T1.facid = T2.facid GROUP BY T1.facid | [
15307,
262,
717,
290,
938,
1438,
286,
477,
262,
12829,
1866,
508,
14888,
287,
617,
3842,
11,
1978,
351,
262,
1271,
286,
4568,
484,
14888,
287,
13,
46506,
309,
16,
13,
69,
3672,
11,
309,
16,
13,
75,
3672,
11,
327,
28270,
46491,
828... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
290,
938,
1438,
286,
477,
262,
12829,
1866,
508,
14888,
287,
617,
3842,
11,
1978,
351,
262,
1271,
286,
4568,
484,
14888,
287,
13,
46506,
309,
16,
13,
69,
3672,
11,
309,
16,
13,
75,
3672,
11,
327,
28270,
46491,
828... |
Who has a 59 cap? | SELECT name FROM table_name_9 WHERE caps = 59 | [
8241,
468,
257,
7863,
1451,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
24,
33411,
11022,
796,
7863
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
468,
257,
7863,
1451,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
24,
33411,
11022,
796,
7863
] |
When there is a lost of 2 what is the mumber drawn? | SELECT MAX("Drawn") FROM table_20052 WHERE "Lost" = '2' | [
2215,
612,
318,
257,
2626,
286,
362,
644,
318,
262,
285,
4494,
7428,
30,
46506,
25882,
7203,
35,
5791,
4943,
16034,
3084,
62,
2167,
4309,
33411,
366,
31042,
1,
796,
705,
17,
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
] | [
2215,
612,
318,
257,
2626,
286,
362,
644,
318,
262,
285,
4494,
7428,
30,
46506,
25882,
7203,
35,
5791,
4943,
16034,
3084,
62,
2167,
4309,
33411,
366,
31042,
1,
796,
705,
17,
6
] |
how many democrats were re elected ? | SELECT COUNT(*) FROM table_203_615 WHERE "party" = 'democratic' AND "result" = 're-elected' | [
4919,
867,
5084,
1381,
547,
302,
7018,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
47007,
33411,
366,
10608,
1,
796,
705,
41232,
6,
5357,
366,
20274,
1,
796,
705,
260,
12,
28604,
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
] | [
4919,
867,
5084,
1381,
547,
302,
7018,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
47007,
33411,
366,
10608,
1,
796,
705,
41232,
6,
5357,
366,
20274,
1,
796,
705,
260,
12,
28604,
6
] |
What was the opposing team for the second test? | SELECT opposing_team FROM table_name_5 WHERE status = "second test" | [
2061,
373,
262,
12330,
1074,
329,
262,
1218,
1332,
30,
46506,
12330,
62,
15097,
16034,
3084,
62,
3672,
62,
20,
33411,
3722,
796,
366,
12227,
1332,
1
] | [
1,
1,
1,
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,
12330,
1074,
329,
262,
1218,
1332,
30,
46506,
12330,
62,
15097,
16034,
3084,
62,
3672,
62,
20,
33411,
3722,
796,
366,
12227,
1332,
1
] |
What was Yugoslavia's fate? | SELECT "Fate" FROM table_59849 WHERE "Nationality" = 'yugoslavia' | [
2061,
373,
37777,
338,
10030,
30,
46506,
366,
37,
378,
1,
16034,
3084,
62,
41292,
2920,
33411,
366,
16186,
414,
1,
796,
705,
88,
1018,
26388,
544,
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,
373,
37777,
338,
10030,
30,
46506,
366,
37,
378,
1,
16034,
3084,
62,
41292,
2920,
33411,
366,
16186,
414,
1,
796,
705,
88,
1018,
26388,
544,
6
] |
What is the biggest crowd when carlton is the away squad? | SELECT MAX(crowd) FROM table_name_48 WHERE away_team = "carlton" | [
2061,
318,
262,
4094,
4315,
618,
1097,
75,
1122,
318,
262,
1497,
8244,
30,
46506,
25882,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4094,
4315,
618,
1097,
75,
1122,
318,
262,
1497,
8244,
30,
46506,
25882,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
2780,
33411,
1497,
62,
15097,
796,
366,
66,
7063,
1122,
1
] |
What year has tries less than 24 and 0 points? | SELECT "Year" FROM table_35193 WHERE "Tries" < '24' AND "Points" = '0' | [
2061,
614,
468,
8404,
1342,
621,
1987,
290,
657,
2173,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
2327,
24943,
33411,
366,
51,
1678,
1,
1279,
705,
1731,
6,
5357,
366,
40710,
1,
796,
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,
614,
468,
8404,
1342,
621,
1987,
290,
657,
2173,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
2327,
24943,
33411,
366,
51,
1678,
1,
1279,
705,
1731,
6,
5357,
366,
40710,
1,
796,
705,
15,
6
] |
Show the location codes and the number of documents in each location. | SELECT location_code, COUNT(*) FROM Document_locations GROUP BY location_code | [
15307,
262,
4067,
12416,
290,
262,
1271,
286,
4963,
287,
1123,
4067,
13,
46506,
4067,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
16854,
62,
17946,
602,
44441,
11050,
4067,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
4067,
12416,
290,
262,
1271,
286,
4963,
287,
1123,
4067,
13,
46506,
4067,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
16854,
62,
17946,
602,
44441,
11050,
4067,
62,
8189
] |
Greece 1000 with Row Number. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS Place, Id AS "user_link", Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Thess%' OR Location LIKE '%Greece%' OR Location LIKE N'%Gr' OR (Location LIKE N'%Athens%' AND NOT Location LIKE N'%GA%') ORDER BY Reputation DESC LIMIT 1000 | [
38,
631,
344,
8576,
351,
11314,
7913,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
8474,
11,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
15887,
28165,
11,
133... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
38,
631,
344,
8576,
351,
11314,
7913,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
8474,
11,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
15887,
28165,
11,
133... |
When did Pharaoh Seth's reign end? | SELECT reign_ended FROM table_name_17 WHERE name = "pharaoh seth" | [
2215,
750,
42697,
20194,
338,
13580,
886,
30,
46506,
13580,
62,
1631,
16034,
3084,
62,
3672,
62,
1558,
33411,
1438,
796,
366,
746,
33766,
900,
71,
1
] | [
1,
1,
1,
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,
42697,
20194,
338,
13580,
886,
30,
46506,
13580,
62,
1631,
16034,
3084,
62,
3672,
62,
1558,
33411,
1438,
796,
366,
746,
33766,
900,
71,
1
] |
What is the owner of the channel that has the highest rating ratio? | SELECT owner FROM channel ORDER BY rating_in_percent DESC LIMIT 1 | [
2061,
318,
262,
4870,
286,
262,
6518,
326,
468,
262,
4511,
7955,
8064,
30,
46506,
4870,
16034,
6518,
38678,
11050,
7955,
62,
259,
62,
25067,
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
] | [
2061,
318,
262,
4870,
286,
262,
6518,
326,
468,
262,
4511,
7955,
8064,
30,
46506,
4870,
16034,
6518,
38678,
11050,
7955,
62,
259,
62,
25067,
22196,
34,
27564,
2043,
352
] |
How many Caps does the Club/province Munster, position of lock and Mick O'Driscoll have? | SELECT COUNT("Caps") FROM table_75141 WHERE "Club/province" = 'munster' AND "Position" = 'lock' AND "Player" = 'mick o''driscoll' | [
2437,
867,
23534,
857,
262,
6289,
14,
15234,
924,
12107,
1706,
11,
2292,
286,
5793,
290,
32722,
440,
6,
6187,
2304,
692,
423,
30,
46506,
327,
28270,
7203,
34,
1686,
4943,
16034,
3084,
62,
2425,
23756,
33411,
366,
42350,
14,
15234,
924... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23534,
857,
262,
6289,
14,
15234,
924,
12107,
1706,
11,
2292,
286,
5793,
290,
32722,
440,
6,
6187,
2304,
692,
423,
30,
46506,
327,
28270,
7203,
34,
1686,
4943,
16034,
3084,
62,
2425,
23756,
33411,
366,
42350,
14,
15234,
924... |
which is the difference between kw for allenheads and seaham | SELECT ABS((SELECT "kw" FROM table_204_270 WHERE "transmitter" = 'allenheads') - (SELECT "kw" FROM table_204_270 WHERE "transmitter" = 'seaham')) | [
4758,
318,
262,
3580,
1022,
479,
86,
329,
477,
268,
16600,
290,
384,
993,
321,
46506,
29950,
19510,
46506,
366,
46265,
1,
16034,
3084,
62,
18638,
62,
20233,
33411,
366,
7645,
37974,
1,
796,
705,
439,
268,
16600,
11537,
532,
357,
46506... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
318,
262,
3580,
1022,
479,
86,
329,
477,
268,
16600,
290,
384,
993,
321,
46506,
29950,
19510,
46506,
366,
46265,
1,
16034,
3084,
62,
18638,
62,
20233,
33411,
366,
7645,
37974,
1,
796,
705,
439,
268,
16600,
11537,
532,
357,
46506... |
in what year did they win them ? | SELECT "year" FROM table_200_30 WHERE "result" = 'won' | [
259,
644,
614,
750,
484,
1592,
606,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
2167,
62,
1270,
33411,
366,
20274,
1,
796,
705,
26502,
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
] | [
259,
644,
614,
750,
484,
1592,
606,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
2167,
62,
1270,
33411,
366,
20274,
1,
796,
705,
26502,
6
] |
What is the Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware Model is Nokia 700? | SELECT "Accreditation type" FROM table_7799 WHERE "Accreditation level" = 'joyn' AND "Hardware Model" = 'nokia 700' | [
2061,
318,
262,
6366,
42845,
5994,
11,
618,
262,
6366,
42845,
5684,
318,
14087,
77,
11,
290,
618,
262,
28715,
9104,
318,
26182,
13037,
30,
46506,
366,
17320,
42845,
2099,
1,
16034,
3084,
62,
3324,
2079,
33411,
366,
17320,
42845,
1241,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6366,
42845,
5994,
11,
618,
262,
6366,
42845,
5684,
318,
14087,
77,
11,
290,
618,
262,
28715,
9104,
318,
26182,
13037,
30,
46506,
366,
17320,
42845,
2099,
1,
16034,
3084,
62,
3324,
2079,
33411,
366,
17320,
42845,
1241,
... |
What's the highest game against the New York Rangers with more than 55 points? | SELECT MAX("Game") FROM table_35236 WHERE "Opponent" = 'new york rangers' AND "Points" > '55' | [
2061,
338,
262,
4511,
983,
1028,
262,
968,
1971,
13804,
351,
517,
621,
5996,
2173,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
2327,
24940,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
374,
6606,
6,
5357,
366,
40710,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4511,
983,
1028,
262,
968,
1971,
13804,
351,
517,
621,
5996,
2173,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
2327,
24940,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
374,
6606,
6,
5357,
366,
40710,... |
Provide me with the number of patients who stayed in hospital for more than 11 days and had an alveolar-arterial gradient lab test. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "11" AND lab.label = "Alveolar-arterial Gradient" | [
15946,
485,
502,
351,
262,
1271,
286,
3871,
508,
9658,
287,
4436,
329,
517,
621,
1367,
1528,
290,
550,
281,
435,
303,
6192,
12,
2571,
498,
31312,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
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... | [
15946,
485,
502,
351,
262,
1271,
286,
3871,
508,
9658,
287,
4436,
329,
517,
621,
1367,
1528,
290,
550,
281,
435,
303,
6192,
12,
2571,
498,
31312,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,... |
What was the lowest pick number for Marc Pilon? | SELECT MIN("Pick #") FROM table_43930 WHERE "Player" = 'marc pilon' | [
2061,
373,
262,
9016,
2298,
1271,
329,
13067,
12693,
261,
30,
46506,
20625,
7203,
31686,
1303,
4943,
16034,
3084,
62,
47106,
1270,
33411,
366,
14140,
1,
796,
705,
3876,
66,
5560,
261,
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,
373,
262,
9016,
2298,
1271,
329,
13067,
12693,
261,
30,
46506,
20625,
7203,
31686,
1303,
4943,
16034,
3084,
62,
47106,
1270,
33411,
366,
14140,
1,
796,
705,
3876,
66,
5560,
261,
6
] |
calculate the maximum age of male patients who are still alive. | SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.expire_flag = "0" | [
9948,
3129,
378,
262,
5415,
2479,
286,
4257,
3871,
508,
389,
991,
6776,
13,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
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
] | [
9948,
3129,
378,
262,
5415,
2479,
286,
4257,
3871,
508,
389,
991,
6776,
13,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1,
5357,
16728,
13,
1069,
5111,
62,
32109,
796,
366,
15,
1
] |
Create a bar chart showing the total number across city code, sort by the names from low to high please. | SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code | [
16447,
257,
2318,
8262,
4478,
262,
2472,
1271,
1973,
1748,
2438,
11,
3297,
416,
262,
3891,
422,
1877,
284,
1029,
3387,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189,
38678,
11050,
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
] | [
16447,
257,
2318,
8262,
4478,
262,
2472,
1271,
1973,
1748,
2438,
11,
3297,
416,
262,
3891,
422,
1877,
284,
1029,
3387,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189,
38678,
11050,
1748,
... |
When did the VFL pay at Victoria Park? | SELECT "Date" FROM table_33589 WHERE "Venue" = 'victoria park' | [
2215,
750,
262,
569,
3697,
1414,
379,
12313,
3250,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2091,
44169,
33411,
366,
37522,
518,
1,
796,
705,
32433,
7661,
3952,
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
] | [
2215,
750,
262,
569,
3697,
1414,
379,
12313,
3250,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2091,
44169,
33411,
366,
37522,
518,
1,
796,
705,
32433,
7661,
3952,
6
] |
Who was the director for the episode in season #50? | SELECT "Directed by" FROM table_20858 WHERE "Series #" = '50' | [
8241,
373,
262,
3437,
329,
262,
4471,
287,
1622,
1303,
1120,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
21315,
3365,
33411,
366,
27996,
1303,
1,
796,
705,
1120,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
373,
262,
3437,
329,
262,
4471,
287,
1622,
1303,
1120,
30,
46506,
366,
13470,
276,
416,
1,
16034,
3084,
62,
21315,
3365,
33411,
366,
27996,
1303,
1,
796,
705,
1120,
6
] |
What is the location/attendance with a 26-11 record? | SELECT "Location Attendance" FROM table_64759 WHERE "Record" = '26-11' | [
2061,
318,
262,
4067,
14,
1078,
437,
590,
351,
257,
2608,
12,
1157,
1700,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
2414,
38314,
33411,
366,
23739,
1,
796,
705,
2075,
12,
1157,
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,
4067,
14,
1078,
437,
590,
351,
257,
2608,
12,
1157,
1700,
30,
46506,
366,
14749,
46502,
590,
1,
16034,
3084,
62,
2414,
38314,
33411,
366,
23739,
1,
796,
705,
2075,
12,
1157,
6
] |
Who was the batsmen at the Brit Oval location? | SELECT batsmen FROM table_name_76 WHERE location = "the brit oval" | [
8241,
373,
262,
19553,
3653,
379,
262,
2490,
25165,
4067,
30,
46506,
19553,
3653,
16034,
3084,
62,
3672,
62,
4304,
33411,
4067,
796,
366,
1169,
275,
799,
41186,
1
] | [
1,
1,
1,
1,
1,
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,
19553,
3653,
379,
262,
2490,
25165,
4067,
30,
46506,
19553,
3653,
16034,
3084,
62,
3672,
62,
4304,
33411,
4067,
796,
366,
1169,
275,
799,
41186,
1
] |
Which location names contain the word 'film'? | SELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE "%film%" | [
13828,
4067,
3891,
3994,
262,
1573,
705,
26240,
30960,
46506,
13397,
62,
5376,
16034,
37347,
18421,
33411,
13397,
62,
5376,
34178,
36521,
26240,
39658
] | [
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,
4067,
3891,
3994,
262,
1573,
705,
26240,
30960,
46506,
13397,
62,
5376,
16034,
37347,
18421,
33411,
13397,
62,
5376,
34178,
36521,
26240,
39658
] |
How many points were won in 1996? | SELECT MAX("Points won") FROM table_5978 WHERE "Year" = '1996' | [
2437,
867,
2173,
547,
1839,
287,
8235,
30,
46506,
25882,
7203,
40710,
1839,
4943,
16034,
3084,
62,
3270,
3695,
33411,
366,
17688,
1,
796,
705,
22288,
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
] | [
2437,
867,
2173,
547,
1839,
287,
8235,
30,
46506,
25882,
7203,
40710,
1839,
4943,
16034,
3084,
62,
3270,
3695,
33411,
366,
17688,
1,
796,
705,
22288,
6
] |
what is the number of patients whose discharge location is home and procedure icd9 code is 309? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "HOME" AND procedures.icd9_code = "309" | [
10919,
318,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
1363,
290,
8771,
14158,
67,
24,
2438,
318,
40286,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
17655,
4067,
318,
1363,
290,
8771,
14158,
67,
24,
2438,
318,
40286,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
61... |
Of the two classes , which is easier , EECS 566 or EECS 792 ? | SELECT DISTINCT course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (course.number = 566 OR course.number = 792) AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 INNER JOIN course AS COURSEalias1 ON ... | [
5189,
262,
734,
6097,
837,
543,
318,
4577,
837,
412,
2943,
50,
642,
2791,
393,
412,
2943,
50,
767,
5892,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5189,
262,
734,
6097,
837,
543,
318,
4577,
837,
412,
2943,
50,
642,
2791,
393,
412,
2943,
50,
767,
5892,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1430,
62,
17319,
6177,
1430,
62,
1731... |
Find the name of instructors who are advisors of the students from the Math department, and sort the results by students' total credit. | SELECT T2.name FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'Math' ORDER BY T3.tot_cred | [
16742,
262,
1438,
286,
33667,
508,
389,
32456,
286,
262,
2444,
422,
262,
16320,
5011,
11,
290,
3297,
262,
2482,
416,
2444,
6,
2472,
3884,
13,
46506,
309,
17,
13,
3672,
16034,
20685,
7054,
309,
16,
32357,
1268,
21187,
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... | [
16742,
262,
1438,
286,
33667,
508,
389,
32456,
286,
262,
2444,
422,
262,
16320,
5011,
11,
290,
3297,
262,
2482,
416,
2444,
6,
2472,
3884,
13,
46506,
309,
17,
13,
3672,
16034,
20685,
7054,
309,
16,
32357,
1268,
21187,
7054,
309,
17,
... |
A bar chart shows the distribution of Team_Name and School_ID . | SELECT Team_Name, School_ID FROM basketball_match | [
32,
2318,
8262,
2523,
262,
6082,
286,
4816,
62,
5376,
290,
3961,
62,
2389,
764,
46506,
4816,
62,
5376,
11,
3961,
62,
2389,
16034,
9669,
62,
15699
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
2318,
8262,
2523,
262,
6082,
286,
4816,
62,
5376,
290,
3961,
62,
2389,
764,
46506,
4816,
62,
5376,
11,
3961,
62,
2389,
16034,
9669,
62,
15699
] |
When was the registration of tc-jes? | SELECT "Date" FROM table_47706 WHERE "Registration" = 'tc-jes' | [
2215,
373,
262,
9352,
286,
37096,
12,
73,
274,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2857,
35402,
33411,
366,
47133,
1,
796,
705,
23047,
12,
73,
274,
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
] | [
2215,
373,
262,
9352,
286,
37096,
12,
73,
274,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2857,
35402,
33411,
366,
47133,
1,
796,
705,
23047,
12,
73,
274,
6
] |
what is average age of patients whose days of hospital stay is 26 and admission year is greater than or equal to 2105? | SELECT AVG(demographic.age) FROM demographic WHERE demographic.days_stay = "26" AND demographic.admityear >= "2105" | [
10919,
318,
2811,
2479,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
2608,
290,
13938,
614,
318,
3744,
621,
393,
4961,
284,
362,
13348,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
12545,
62,
31712,
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
] | [
10919,
318,
2811,
2479,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
2608,
290,
13938,
614,
318,
3744,
621,
393,
4961,
284,
362,
13348,
30,
46506,
35224,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
12545,
62,
31712,
796... |
What is the highest number of successful launches associated with over 1 launch and under 0 fails? | SELECT MAX("Successes") FROM table_37280 WHERE "Launches" > '1' AND "Failures" < '0' | [
2061,
318,
262,
4511,
1271,
286,
4388,
18617,
3917,
351,
625,
352,
4219,
290,
739,
657,
10143,
30,
46506,
25882,
7203,
33244,
274,
4943,
16034,
3084,
62,
2718,
21033,
33411,
366,
46182,
2052,
1,
1875,
705,
16,
6,
5357,
366,
39044,
942... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1271,
286,
4388,
18617,
3917,
351,
625,
352,
4219,
290,
739,
657,
10143,
30,
46506,
25882,
7203,
33244,
274,
4943,
16034,
3084,
62,
2718,
21033,
33411,
366,
46182,
2052,
1,
1875,
705,
16,
6,
5357,
366,
39044,
942... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.