instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What country has a score of 73-72-67=212? | SELECT country FROM table_name_14 WHERE score = 73 - 72 - 67 = 212 | [
2061,
1499,
468,
257,
4776,
286,
8854,
12,
4761,
12,
3134,
28,
21777,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1415,
33411,
4776,
796,
8854,
532,
7724,
532,
8275,
796,
23679
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
468,
257,
4776,
286,
8854,
12,
4761,
12,
3134,
28,
21777,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1415,
33411,
4776,
796,
8854,
532,
7724,
532,
8275,
796,
23679
] |
What is the average cuts made at the top 25, less than 10, and at the Top 10 more than 3? | SELECT AVG("Cuts made") FROM table_41860 WHERE "Top-25" < '10' AND "Top-10" > '3' | [
2061,
318,
262,
2811,
6630,
925,
379,
262,
1353,
1679,
11,
1342,
621,
838,
11,
290,
379,
262,
5849,
838,
517,
621,
513,
30,
46506,
35224,
7203,
34,
5500,
925,
4943,
16034,
3084,
62,
39667,
1899,
33411,
366,
9126,
12,
1495,
1,
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
] | [
2061,
318,
262,
2811,
6630,
925,
379,
262,
1353,
1679,
11,
1342,
621,
838,
11,
290,
379,
262,
5849,
838,
517,
621,
513,
30,
46506,
35224,
7203,
34,
5500,
925,
4943,
16034,
3084,
62,
39667,
1899,
33411,
366,
9126,
12,
1495,
1,
1279,
... |
which primary disease is the patient stephanie suchan suffering from? | SELECT demographic.diagnosis FROM demographic WHERE demographic.name = "Stephanie Suchan" | [
4758,
4165,
4369,
318,
262,
5827,
2239,
7637,
494,
884,
272,
7195,
422,
30,
46506,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
8600,
7637,
494,
8013,
272,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4165,
4369,
318,
262,
5827,
2239,
7637,
494,
884,
272,
7195,
422,
30,
46506,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
8600,
7637,
494,
8013,
272,
1
] |
Compare the frequency of each payment method code using a bar chart, rank by the how many payment method code from high to low. | SELECT Payment_Method_Code, COUNT(Payment_Method_Code) FROM Payments GROUP BY Payment_Method_Code ORDER BY COUNT(Payment_Method_Code) DESC | [
41488,
262,
8373,
286,
1123,
6074,
2446,
2438,
1262,
257,
2318,
8262,
11,
4279,
416,
262,
703,
867,
6074,
2446,
2438,
422,
1029,
284,
1877,
13,
46506,
28784,
62,
17410,
62,
10669,
11,
327,
28270,
7,
19197,
434,
62,
17410,
62,
10669,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
41488,
262,
8373,
286,
1123,
6074,
2446,
2438,
1262,
257,
2318,
8262,
11,
4279,
416,
262,
703,
867,
6074,
2446,
2438,
422,
1029,
284,
1877,
13,
46506,
28784,
62,
17410,
62,
10669,
11,
327,
28270,
7,
19197,
434,
62,
17410,
62,
10669,
... |
Which Total has a Rank of 17, and a Gold larger than 0? | SELECT AVG(total) FROM table_name_59 WHERE rank = "17" AND gold > 0 | [
13828,
7472,
468,
257,
10916,
286,
1596,
11,
290,
257,
3561,
4025,
621,
657,
30,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
4279,
796,
366,
1558,
1,
5357,
3869,
1875,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7472,
468,
257,
10916,
286,
1596,
11,
290,
257,
3561,
4025,
621,
657,
30,
46506,
35224,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
4279,
796,
366,
1558,
1,
5357,
3869,
1875,
657
] |
How many students live in each city? Show a bar chart, show in desc by the x axis please. | SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code DESC | [
2437,
867,
2444,
2107,
287,
1123,
1748,
30,
5438,
257,
2318,
8262,
11,
905,
287,
1715,
416,
262,
2124,
16488,
3387,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189,
38678,
11050,
1748,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2444,
2107,
287,
1123,
1748,
30,
5438,
257,
2318,
8262,
11,
905,
287,
1715,
416,
262,
2124,
16488,
3387,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
13613,
44441,
11050,
1748,
62,
8189,
38678,
11050,
1748,
6... |
Show the number of documents created in each day and bin document date by weekday and group by document type with a stacked bar chart, and could you order Y in descending order? | SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Name ORDER BY COUNT(Document_Date) DESC | [
15307,
262,
1271,
286,
4963,
2727,
287,
1123,
1110,
290,
9874,
3188,
3128,
416,
28269,
290,
1448,
416,
3188,
2099,
351,
257,
24167,
2318,
8262,
11,
290,
714,
345,
1502,
575,
287,
31491,
1502,
30,
46506,
16854,
62,
10430,
11,
327,
2827... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1271,
286,
4963,
2727,
287,
1123,
1110,
290,
9874,
3188,
3128,
416,
28269,
290,
1448,
416,
3188,
2099,
351,
257,
24167,
2318,
8262,
11,
290,
714,
345,
1502,
575,
287,
31491,
1502,
30,
46506,
16854,
62,
10430,
11,
327,
2827... |
What was the highest home total? | SELECT MAX("Home Total") FROM table_29310 | [
2061,
373,
262,
4511,
1363,
2472,
30,
46506,
25882,
7203,
16060,
7472,
4943,
16034,
3084,
62,
1959,
26717
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4511,
1363,
2472,
30,
46506,
25882,
7203,
16060,
7472,
4943,
16034,
3084,
62,
1959,
26717
] |
What is the country for # 8 | SELECT country FROM table_13282157_1 WHERE _number = 8 | [
2061,
318,
262,
1499,
329,
1303,
807,
46506,
1499,
16034,
3084,
62,
1485,
32568,
18458,
62,
16,
33411,
4808,
17618,
796,
807
] | [
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,
1499,
329,
1303,
807,
46506,
1499,
16034,
3084,
62,
1485,
32568,
18458,
62,
16,
33411,
4808,
17618,
796,
807
] |
William Fadjo Cravens is the only candidate who was first elected in 1939. | SELECT COUNT("First elected") FROM table_18630 WHERE "Incumbent" = 'William Fadjo Cravens' | [
17121,
376,
324,
7639,
11176,
574,
82,
318,
262,
691,
4540,
508,
373,
717,
7018,
287,
24414,
13,
46506,
327,
28270,
7203,
5962,
7018,
4943,
16034,
3084,
62,
25096,
1270,
33411,
366,
25517,
2178,
298,
1,
796,
705,
17121,
376,
324,
7639... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
17121,
376,
324,
7639,
11176,
574,
82,
318,
262,
691,
4540,
508,
373,
717,
7018,
287,
24414,
13,
46506,
327,
28270,
7203,
5962,
7018,
4943,
16034,
3084,
62,
25096,
1270,
33411,
366,
25517,
2178,
298,
1,
796,
705,
17121,
376,
324,
7639... |
What is the document type description for document type named Film? | SELECT document_type_description FROM Ref_document_types WHERE document_type_name = "Film" | [
2061,
318,
262,
3188,
2099,
6764,
329,
3188,
2099,
3706,
13741,
30,
46506,
3188,
62,
4906,
62,
11213,
16034,
6524,
62,
22897,
62,
19199,
33411,
3188,
62,
4906,
62,
3672,
796,
366,
39750,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3188,
2099,
6764,
329,
3188,
2099,
3706,
13741,
30,
46506,
3188,
62,
4906,
62,
11213,
16034,
6524,
62,
22897,
62,
19199,
33411,
3188,
62,
4906,
62,
3672,
796,
366,
39750,
1
] |
What is the attendance for week 11? | SELECT attendance FROM table_name_59 WHERE week = 11 | [
2061,
318,
262,
14858,
329,
1285,
1367,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
3270,
33411,
1285,
796,
1367
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14858,
329,
1285,
1367,
30,
46506,
14858,
16034,
3084,
62,
3672,
62,
3270,
33411,
1285,
796,
1367
] |
find out the category of lab test for patient stephanie suchan. | SELECT lab."CATEGORY" FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Stephanie Suchan" | [
19796,
503,
262,
6536,
286,
2248,
1332,
329,
5827,
2239,
7637,
494,
884,
272,
13,
46506,
2248,
526,
34,
6158,
38,
15513,
1,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
503,
262,
6536,
286,
2248,
1332,
329,
5827,
2239,
7637,
494,
884,
272,
13,
46506,
2248,
526,
34,
6158,
38,
15513,
1,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,
18108,
76,
... |
What rank has an annual interchange less than 1.99 million, an annual entry/exit less than 13.835 million, and more than 13.772 million total passengers? | SELECT rank FROM table_name_83 WHERE annual_interchanges__millions__2011_12 < 1.99 AND annual_entry_exit__millions__2011_12 < 13.835 AND total_passengers__millions__2011_12 > 13.772 | [
2061,
4279,
468,
281,
5079,
26478,
1342,
621,
352,
13,
2079,
1510,
11,
281,
5079,
5726,
14,
37023,
1342,
621,
1511,
13,
23,
2327,
1510,
11,
290,
517,
621,
1511,
13,
43571,
1510,
2472,
10405,
30,
46506,
4279,
16034,
3084,
62,
3672,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
4279,
468,
281,
5079,
26478,
1342,
621,
352,
13,
2079,
1510,
11,
281,
5079,
5726,
14,
37023,
1342,
621,
1511,
13,
23,
2327,
1510,
11,
290,
517,
621,
1511,
13,
43571,
1510,
2472,
10405,
30,
46506,
4279,
16034,
3084,
62,
3672,
6... |
What is the average rating star for each reviewer? | SELECT T2.name, AVG(T1.stars) FROM rating AS T1 JOIN reviewer AS T2 ON T1.rid = T2.rid GROUP BY T2.name | [
2061,
318,
262,
2811,
7955,
3491,
329,
1123,
37823,
30,
46506,
309,
17,
13,
3672,
11,
35224,
7,
51,
16,
13,
30783,
8,
16034,
7955,
7054,
309,
16,
32357,
1268,
37823,
7054,
309,
17,
6177,
309,
16,
13,
6058,
796,
309,
17,
13,
6058,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
7955,
3491,
329,
1123,
37823,
30,
46506,
309,
17,
13,
3672,
11,
35224,
7,
51,
16,
13,
30783,
8,
16034,
7955,
7054,
309,
16,
32357,
1268,
37823,
7054,
309,
17,
6177,
309,
16,
13,
6058,
796,
309,
17,
13,
6058,
... |
Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973? | SELECT class FROM table_name_47 WHERE points > 2 AND year < 1973 AND wins > 0 | [
13828,
1398,
24866,
284,
517,
621,
362,
2173,
11,
7864,
3744,
621,
657,
11,
290,
257,
614,
2961,
621,
15674,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
2857,
33411,
2173,
1875,
362,
5357,
614,
1279,
15674,
5357,
7864,
1875,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1398,
24866,
284,
517,
621,
362,
2173,
11,
7864,
3744,
621,
657,
11,
290,
257,
614,
2961,
621,
15674,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
2857,
33411,
2173,
1875,
362,
5357,
614,
1279,
15674,
5357,
7864,
1875,
657
] |
until 28 months ago, what was the first drug patient 27172 was prescribed via the iv drip route? | SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27172) AND prescriptions.route = 'iv drip' AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-28 month') ORDER BY prescriptions.startdate LIMIT 1 | [
28446,
2579,
1933,
2084,
11,
644,
373,
262,
717,
2563,
5827,
2681,
23628,
373,
14798,
2884,
262,
21628,
36296,
6339,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
28446,
2579,
1933,
2084,
11,
644,
373,
262,
717,
2563,
5827,
2681,
23628,
373,
14798,
2884,
262,
21628,
36296,
6339,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76... |
Name the nomination in 2011 that won | SELECT nomination FROM table_name_59 WHERE year = 2011 AND result = "won" | [
5376,
262,
11872,
287,
2813,
326,
1839,
46506,
11872,
16034,
3084,
62,
3672,
62,
3270,
33411,
614,
796,
2813,
5357,
1255,
796,
366,
26502,
1
] | [
1,
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,
11872,
287,
2813,
326,
1839,
46506,
11872,
16034,
3084,
62,
3672,
62,
3270,
33411,
614,
796,
2813,
5357,
1255,
796,
366,
26502,
1
] |
A pie chart showing the number of companies for each industry. | SELECT Industry, COUNT(Industry) FROM company GROUP BY Industry | [
32,
2508,
8262,
4478,
262,
1271,
286,
2706,
329,
1123,
2831,
13,
46506,
17420,
11,
327,
28270,
7,
35848,
563,
8,
16034,
1664,
44441,
11050,
17420
] | [
1,
1,
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,
2508,
8262,
4478,
262,
1271,
286,
2706,
329,
1123,
2831,
13,
46506,
17420,
11,
327,
28270,
7,
35848,
563,
8,
16034,
1664,
44441,
11050,
17420
] |
What Week 2 has a Week 4 of piret aava? | SELECT "Week 2" FROM table_12977 WHERE "Week 4" = 'piret aava' | [
2061,
6119,
362,
468,
257,
6119,
604,
286,
279,
557,
83,
257,
4170,
30,
46506,
366,
20916,
362,
1,
16034,
3084,
62,
18741,
3324,
33411,
366,
20916,
604,
1,
796,
705,
5111,
83,
257,
4170,
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,
6119,
362,
468,
257,
6119,
604,
286,
279,
557,
83,
257,
4170,
30,
46506,
366,
20916,
362,
1,
16034,
3084,
62,
18741,
3324,
33411,
366,
20916,
604,
1,
796,
705,
5111,
83,
257,
4170,
6
] |
Who is every name for time(cet) of 09:03? | SELECT name FROM table_21536557_2 WHERE time__cet_ = "09:03" | [
8241,
318,
790,
1438,
329,
640,
7,
66,
316,
8,
286,
7769,
25,
3070,
30,
46506,
1438,
16034,
3084,
62,
23349,
2623,
41948,
62,
17,
33411,
640,
834,
66,
316,
62,
796,
366,
2931,
25,
3070,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
790,
1438,
329,
640,
7,
66,
316,
8,
286,
7769,
25,
3070,
30,
46506,
1438,
16034,
3084,
62,
23349,
2623,
41948,
62,
17,
33411,
640,
834,
66,
316,
62,
796,
366,
2931,
25,
3070,
1
] |
What is the lowest Against, when Venue is 'Twickenham , London', when Status is 'Six Nations', and when Opposing Teams is 'France'? | SELECT MIN(against) FROM table_name_78 WHERE venue = "twickenham , london" AND status = "six nations" AND opposing_teams = "france" | [
2061,
318,
262,
9016,
12914,
11,
618,
9932,
518,
318,
705,
5080,
5973,
2763,
837,
3576,
3256,
618,
12678,
318,
705,
21447,
7973,
3256,
290,
618,
9385,
2752,
24690,
318,
705,
28572,
30960,
46506,
20625,
7,
32826,
8,
16034,
3084,
62,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
9016,
12914,
11,
618,
9932,
518,
318,
705,
5080,
5973,
2763,
837,
3576,
3256,
618,
12678,
318,
705,
21447,
7973,
3256,
290,
618,
9385,
2752,
24690,
318,
705,
28572,
30960,
46506,
20625,
7,
32826,
8,
16034,
3084,
62,
36... |
What is the cyrillic name when the settlement is a anja? | SELECT "Cyrillic Name" FROM table_3344 WHERE "Settlement" = 'Ašanja' | [
2061,
318,
262,
269,
2417,
359,
291,
1438,
618,
262,
9443,
318,
257,
281,
6592,
30,
46506,
366,
34,
2417,
359,
291,
6530,
1,
16034,
3084,
62,
2091,
2598,
33411,
366,
50,
27331,
1,
796,
705,
32,
32790,
272,
6592,
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,
318,
262,
269,
2417,
359,
291,
1438,
618,
262,
9443,
318,
257,
281,
6592,
30,
46506,
366,
34,
2417,
359,
291,
6530,
1,
16034,
3084,
62,
2091,
2598,
33411,
366,
50,
27331,
1,
796,
705,
32,
32790,
272,
6592,
6
] |
Which classes are ULCS classes ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id | [
13828,
6097,
389,
471,
29814,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
52,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6097,
389,
471,
29814,
6097,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
34178,
705,
4,
52,
... |
Name the score for opponents of nathan healey igor kunitsyn | SELECT score FROM table_name_57 WHERE opponents_in_the_final = "nathan healey igor kunitsyn" | [
5376,
262,
4776,
329,
7691,
286,
299,
6696,
339,
16730,
220,
36274,
479,
41667,
2047,
46506,
4776,
16034,
3084,
62,
3672,
62,
3553,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
77,
6696,
339,
16730,
220,
36274,
479,
41667,
204... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4776,
329,
7691,
286,
299,
6696,
339,
16730,
220,
36274,
479,
41667,
2047,
46506,
4776,
16034,
3084,
62,
3672,
62,
3553,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
77,
6696,
339,
16730,
220,
36274,
479,
41667,
204... |
What is the highest goals against the goalkeeper of Dallas Burn, who had a GA average larger than 1.46, had? | SELECT MAX("Goals Against") FROM table_70246 WHERE "Club" = 'dallas burn' AND "GA Average" > '1.46' | [
2061,
318,
262,
4511,
4661,
1028,
262,
26318,
286,
8533,
8942,
11,
508,
550,
257,
14545,
2811,
4025,
621,
352,
13,
3510,
11,
550,
30,
46506,
25882,
7203,
5247,
874,
12914,
4943,
16034,
3084,
62,
2154,
26912,
33411,
366,
42350,
1,
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
] | [
2061,
318,
262,
4511,
4661,
1028,
262,
26318,
286,
8533,
8942,
11,
508,
550,
257,
14545,
2811,
4025,
621,
352,
13,
3510,
11,
550,
30,
46506,
25882,
7203,
5247,
874,
12914,
4943,
16034,
3084,
62,
2154,
26912,
33411,
366,
42350,
1,
796,... |
Before 2012, what was the greatest # of Home Games with a Canada - USA Rank of 52nd, and an Average Attendance less than 992? | SELECT MAX("# of Home Games") FROM table_7176 WHERE "Year" < '2012' AND "Canada - USA Rank" = '52nd' AND "Average Attendance" < '992' | [
8421,
2321,
11,
644,
373,
262,
6000,
1303,
286,
5995,
5776,
351,
257,
3340,
532,
4916,
10916,
286,
6740,
358,
11,
290,
281,
13475,
46502,
590,
1342,
621,
860,
5892,
30,
46506,
25882,
7203,
2,
286,
5995,
5776,
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... | [
8421,
2321,
11,
644,
373,
262,
6000,
1303,
286,
5995,
5776,
351,
257,
3340,
532,
4916,
10916,
286,
6740,
358,
11,
290,
281,
13475,
46502,
590,
1342,
621,
860,
5892,
30,
46506,
25882,
7203,
2,
286,
5995,
5776,
4943,
16034,
3084,
62,
... |
I want the sum of NGC number for spiral galaxy and right acension of 08h14m40.4s | SELECT SUM("NGC number") FROM table_55299 WHERE "Object type" = 'spiral galaxy' AND "Right ascension ( J2000 )" = '08h14m40.4s' | [
40,
765,
262,
2160,
286,
399,
15916,
1271,
329,
23642,
16161,
290,
826,
936,
3004,
286,
8487,
71,
1415,
76,
1821,
13,
19,
82,
46506,
35683,
7203,
10503,
34,
1271,
4943,
16034,
3084,
62,
2816,
22579,
33411,
366,
10267,
2099,
1,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
40,
765,
262,
2160,
286,
399,
15916,
1271,
329,
23642,
16161,
290,
826,
936,
3004,
286,
8487,
71,
1415,
76,
1821,
13,
19,
82,
46506,
35683,
7203,
10503,
34,
1271,
4943,
16034,
3084,
62,
2816,
22579,
33411,
366,
10267,
2099,
1,
796,
... |
What is the elected year when the 2010 candidates were jesse stone (r) 93.51 diane evans (i) 6.49%? | SELECT "Elected" FROM table_28666 WHERE "2010 Candidates" = 'Jesse Stone (R) 93.51 Diane Evans (I) 6.49%' | [
2061,
318,
262,
7018,
614,
618,
262,
3050,
5871,
547,
474,
35270,
7815,
357,
81,
8,
10261,
13,
4349,
288,
46470,
819,
504,
357,
72,
8,
718,
13,
2920,
4,
30,
46506,
366,
36,
12609,
1,
16034,
3084,
62,
2078,
27310,
33411,
366,
10333... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7018,
614,
618,
262,
3050,
5871,
547,
474,
35270,
7815,
357,
81,
8,
10261,
13,
4349,
288,
46470,
819,
504,
357,
72,
8,
718,
13,
2920,
4,
30,
46506,
366,
36,
12609,
1,
16034,
3084,
62,
2078,
27310,
33411,
366,
10333... |
Visualize a bar chart for how many students play each sport?, and sort bars in descending order. | SELECT SportName, COUNT(*) FROM SportsInfo GROUP BY SportName ORDER BY SportName DESC | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
2444,
711,
1123,
6332,
21747,
290,
3297,
9210,
287,
31491,
1502,
13,
46506,
12771,
5376,
11,
327,
28270,
7,
28104,
16034,
7092,
12360,
44441,
11050,
12771,
5376,
38678,
11050,
12771,
5376,
2219... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2318,
8262,
329,
703,
867,
2444,
711,
1123,
6332,
21747,
290,
3297,
9210,
287,
31491,
1502,
13,
46506,
12771,
5376,
11,
327,
28270,
7,
28104,
16034,
7092,
12360,
44441,
11050,
12771,
5376,
38678,
11050,
12771,
5376,
2219... |
Find the description of the most popular role among the users that have logged in. | SELECT role_description FROM ROLES WHERE role_code = (SELECT role_code FROM users WHERE user_login = 1 GROUP BY role_code ORDER BY COUNT(*) DESC LIMIT 1) | [
16742,
262,
6764,
286,
262,
749,
2968,
2597,
1871,
262,
2985,
326,
423,
18832,
287,
13,
46506,
2597,
62,
11213,
16034,
371,
3535,
1546,
33411,
2597,
62,
8189,
796,
357,
46506,
2597,
62,
8189,
16034,
2985,
33411,
2836,
62,
38235,
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
] | [
16742,
262,
6764,
286,
262,
749,
2968,
2597,
1871,
262,
2985,
326,
423,
18832,
287,
13,
46506,
2597,
62,
11213,
16034,
371,
3535,
1546,
33411,
2597,
62,
8189,
796,
357,
46506,
2597,
62,
8189,
16034,
2985,
33411,
2836,
62,
38235,
796,
... |
What did Richmond score as the home team? | SELECT home_team AS score FROM table_name_43 WHERE home_team = "richmond" | [
2061,
750,
16940,
4776,
355,
262,
1363,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3559,
33411,
1363,
62,
15097,
796,
366,
7527,
6327,
1
] | [
1,
1,
1,
1,
1,
1,
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,
750,
16940,
4776,
355,
262,
1363,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
3559,
33411,
1363,
62,
15097,
796,
366,
7527,
6327,
1
] |
Find the number of patients with other pulmonary insufficiency, not elsewhere classified, who died in or before the year 2132. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2132.0" AND diagnoses.long_title = "Other pulmonary insufficiency, not elsewhere classified" | [
16742,
262,
1271,
286,
3871,
351,
584,
45105,
1035,
1648,
19777,
11,
407,
8057,
10090,
11,
508,
3724,
287,
393,
878,
262,
614,
362,
19924,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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... | [
16742,
262,
1271,
286,
3871,
351,
584,
45105,
1035,
1648,
19777,
11,
407,
8057,
10090,
11,
508,
3724,
287,
393,
878,
262,
614,
362,
19924,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3... |
What Episode did Entrepreneur(s) Luke Booth and Christopher Eves take part? | SELECT episode FROM table_name_99 WHERE entrepreneur_s_ = "luke booth and christopher eves" | [
2061,
7922,
750,
42071,
333,
7,
82,
8,
11336,
36389,
290,
12803,
412,
1158,
1011,
636,
30,
46506,
4471,
16034,
3084,
62,
3672,
62,
2079,
33411,
19500,
62,
82,
62,
796,
366,
2290,
365,
18600,
290,
33826,
8803,
819,
274,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7922,
750,
42071,
333,
7,
82,
8,
11336,
36389,
290,
12803,
412,
1158,
1011,
636,
30,
46506,
4471,
16034,
3084,
62,
3672,
62,
2079,
33411,
19500,
62,
82,
62,
796,
366,
2290,
365,
18600,
290,
33826,
8803,
819,
274,
1
] |
What is the lowest value for Olympics, when Sailors is greater than 1, when First OG is after 1948, and when Class is 'Flying Dutchman'? | SELECT MIN("Olympics so far") FROM table_12901 WHERE "Sailors" > '1' AND "First OG" > '1948' AND "Class" = 'flying dutchman' | [
2061,
318,
262,
9016,
1988,
329,
14935,
11,
618,
27783,
669,
318,
3744,
621,
352,
11,
618,
3274,
34498,
318,
706,
21794,
11,
290,
618,
5016,
318,
705,
49095,
10914,
805,
30960,
46506,
20625,
7203,
46,
6760,
873,
523,
1290,
4943,
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,
262,
9016,
1988,
329,
14935,
11,
618,
27783,
669,
318,
3744,
621,
352,
11,
618,
3274,
34498,
318,
706,
21794,
11,
290,
618,
5016,
318,
705,
49095,
10914,
805,
30960,
46506,
20625,
7203,
46,
6760,
873,
523,
1290,
4943,
16034... |
which is the production code when the number of the episode in series is 87? | SELECT "Prod. code" FROM table_29682 WHERE "No. in series" = '87' | [
4758,
318,
262,
3227,
2438,
618,
262,
1271,
286,
262,
4471,
287,
2168,
318,
10083,
30,
46506,
366,
2964,
67,
13,
2438,
1,
16034,
3084,
62,
1959,
43950,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
5774,
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
] | [
4758,
318,
262,
3227,
2438,
618,
262,
1271,
286,
262,
4471,
287,
2168,
318,
10083,
30,
46506,
366,
2964,
67,
13,
2438,
1,
16034,
3084,
62,
1959,
43950,
33411,
366,
2949,
13,
287,
2168,
1,
796,
705,
5774,
6
] |
What is the distance for the 5 September race? | SELECT "Distance" FROM table_6212 WHERE "Date" = '5 september' | [
2061,
318,
262,
5253,
329,
262,
642,
2693,
3234,
30,
46506,
366,
45767,
1,
16034,
3084,
62,
5237,
1065,
33411,
366,
10430,
1,
796,
705,
20,
384,
457,
1491,
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,
5253,
329,
262,
642,
2693,
3234,
30,
46506,
366,
45767,
1,
16034,
3084,
62,
5237,
1065,
33411,
366,
10430,
1,
796,
705,
20,
384,
457,
1491,
6
] |
Which s390x contains a yes ia64 and a no for alpha? | SELECT "s390x" FROM table_36301 WHERE "ia64" = 'yes' AND "alpha" = 'no' | [
13828,
264,
25964,
87,
4909,
257,
3763,
220,
544,
2414,
290,
257,
645,
329,
17130,
30,
46506,
366,
82,
25964,
87,
1,
16034,
3084,
62,
2623,
18938,
33411,
366,
544,
2414,
1,
796,
705,
8505,
6,
5357,
366,
26591,
1,
796,
705,
3919,
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
] | [
13828,
264,
25964,
87,
4909,
257,
3763,
220,
544,
2414,
290,
257,
645,
329,
17130,
30,
46506,
366,
82,
25964,
87,
1,
16034,
3084,
62,
2623,
18938,
33411,
366,
544,
2414,
1,
796,
705,
8505,
6,
5357,
366,
26591,
1,
796,
705,
3919,
6... |
What is the total number of wins for Darley of Ballarat FL against larger than 1055? | SELECT COUNT("Wins") FROM table_41217 WHERE "Ballarat FL" = 'darley' AND "Against" > '1055' | [
2061,
318,
262,
2472,
1271,
286,
7864,
329,
7491,
1636,
286,
6932,
34174,
9977,
1028,
4025,
621,
838,
2816,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
39226,
1558,
33411,
366,
23410,
34174,
9977,
1,
796,
705,
27455,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7864,
329,
7491,
1636,
286,
6932,
34174,
9977,
1028,
4025,
621,
838,
2816,
30,
46506,
327,
28270,
7203,
54,
1040,
4943,
16034,
3084,
62,
39226,
1558,
33411,
366,
23410,
34174,
9977,
1,
796,
705,
27455,
... |
What resulted in a score of 22-21? | SELECT result FROM table_name_27 WHERE score = "22-21" | [
2061,
8724,
287,
257,
4776,
286,
2534,
12,
2481,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1983,
33411,
4776,
796,
366,
1828,
12,
2481,
1
] | [
1,
1,
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,
8724,
287,
257,
4776,
286,
2534,
12,
2481,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1983,
33411,
4776,
796,
366,
1828,
12,
2481,
1
] |
give me the number of patients discharged to skilled nursing facility who were hospitalized for more than 20 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SNF" AND demographic.days_stay > "20" | [
26535,
502,
262,
1271,
286,
3871,
26476,
284,
14297,
19167,
6841,
508,
547,
31736,
329,
517,
621,
1160,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26535,
502,
262,
1271,
286,
3871,
26476,
284,
14297,
19167,
6841,
508,
547,
31736,
329,
517,
621,
1160,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
6... |
what is the number of patients born before 2058 who are taking additive type drug prescription? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2058" AND prescriptions.drug_type = "ADDITIVE" | [
10919,
318,
262,
1271,
286,
3871,
4642,
878,
1160,
3365,
508,
389,
2263,
38298,
2099,
2563,
15077,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
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... | [
10919,
318,
262,
1271,
286,
3871,
4642,
878,
1160,
3365,
508,
389,
2263,
38298,
2099,
2563,
15077,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,... |
What channel has station kdfw ++? | SELECT "Channel TV ( DT )" FROM table_18790 WHERE "Station" = 'KDFW ++' | [
2061,
6518,
468,
4429,
479,
7568,
86,
19969,
30,
46506,
366,
29239,
3195,
357,
24311,
1267,
1,
16034,
3084,
62,
1507,
37750,
33411,
366,
12367,
1,
796,
705,
42,
8068,
54,
19969,
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,
6518,
468,
4429,
479,
7568,
86,
19969,
30,
46506,
366,
29239,
3195,
357,
24311,
1267,
1,
16034,
3084,
62,
1507,
37750,
33411,
366,
12367,
1,
796,
705,
42,
8068,
54,
19969,
6
] |
how many patients whose ethnicity is black/african american and procedure short title is radiotherapeut proc nec? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND procedures.short_title = "Radiotherapeut proc NEC" | [
4919,
867,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
8771,
1790,
3670,
318,
19772,
847,
1758,
315,
13834,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
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... | [
4919,
867,
3871,
3025,
26289,
318,
2042,
14,
1878,
37189,
45630,
272,
290,
8771,
1790,
3670,
318,
19772,
847,
1758,
315,
13834,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
2... |
count the number of emergency hospital admission patients who had procedure icd9 code 9955. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.icd9_code = "9955" | [
9127,
262,
1271,
286,
6334,
4436,
13938,
3871,
508,
550,
8771,
14158,
67,
24,
2438,
7388,
2816,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
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,
1... | [
9127,
262,
1271,
286,
6334,
4436,
13938,
3871,
508,
550,
8771,
14158,
67,
24,
2438,
7388,
2816,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
1... |
count the number of patients who were diagnosed with fracture of ilium-closed but did not come back to hospital within 2 months until 2103. | SELECT (SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'fracture o... | [
9127,
262,
1271,
286,
3871,
508,
547,
14641,
351,
31846,
286,
4229,
1505,
12,
20225,
475,
750,
407,
1282,
736,
284,
4436,
1626,
362,
1933,
1566,
362,
15197,
13,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14641,
351,
31846,
286,
4229,
1505,
12,
20225,
475,
750,
407,
1282,
736,
284,
4436,
1626,
362,
1933,
1566,
362,
15197,
13,
46506,
357,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32... |
Count the number of classrooms in Lamberton. | SELECT COUNT(*) FROM classroom WHERE building = 'Lamberton' | [
12332,
262,
1271,
286,
32579,
287,
406,
7789,
1122,
13,
46506,
327,
28270,
7,
28104,
16034,
15806,
33411,
2615,
796,
705,
43,
7789,
1122,
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
] | [
12332,
262,
1271,
286,
32579,
287,
406,
7789,
1122,
13,
46506,
327,
28270,
7,
28104,
16034,
15806,
33411,
2615,
796,
705,
43,
7789,
1122,
6
] |
How many episodes were titled 'a pig in a poke'? | SELECT COUNT("Written by") FROM table_17547 WHERE "Title" = 'A Pig in a Poke' | [
2437,
867,
8640,
547,
11946,
705,
64,
12967,
287,
257,
22620,
30960,
46506,
327,
28270,
7203,
25354,
416,
4943,
16034,
3084,
62,
17430,
2857,
33411,
366,
19160,
1,
796,
705,
32,
23097,
287,
257,
41163,
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
] | [
2437,
867,
8640,
547,
11946,
705,
64,
12967,
287,
257,
22620,
30960,
46506,
327,
28270,
7203,
25354,
416,
4943,
16034,
3084,
62,
17430,
2857,
33411,
366,
19160,
1,
796,
705,
32,
23097,
287,
257,
41163,
6
] |
What is the waterford score that has a year prior to 1963, with all-ireland hurling final replay as the competition? | SELECT waterford_score FROM table_name_7 WHERE year < 1963 AND competition = "all-ireland hurling final replay" | [
2061,
318,
262,
1660,
3841,
4776,
326,
468,
257,
614,
3161,
284,
19342,
11,
351,
477,
12,
557,
1044,
6990,
1359,
2457,
24788,
355,
262,
5449,
30,
46506,
1660,
3841,
62,
26675,
16034,
3084,
62,
3672,
62,
22,
33411,
614,
1279,
19342,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1660,
3841,
4776,
326,
468,
257,
614,
3161,
284,
19342,
11,
351,
477,
12,
557,
1044,
6990,
1359,
2457,
24788,
355,
262,
5449,
30,
46506,
1660,
3841,
62,
26675,
16034,
3084,
62,
3672,
62,
22,
33411,
614,
1279,
19342,
... |
Who made the decision when atlanta was the home team? | SELECT decision FROM table_name_33 WHERE home = "atlanta" | [
8241,
925,
262,
2551,
618,
379,
75,
4910,
373,
262,
1363,
1074,
30,
46506,
2551,
16034,
3084,
62,
3672,
62,
2091,
33411,
1363,
796,
366,
25864,
4910,
1
] | [
1,
1,
1,
1,
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,
925,
262,
2551,
618,
379,
75,
4910,
373,
262,
1363,
1074,
30,
46506,
2551,
16034,
3084,
62,
3672,
62,
2091,
33411,
1363,
796,
366,
25864,
4910,
1
] |
What is the total rating of channel for each channel owner Plot them as bar chart, and sort bar from high to low order. | SELECT Owner, SUM(Rating_in_percent) FROM channel GROUP BY Owner ORDER BY Owner DESC | [
2061,
318,
262,
2472,
7955,
286,
6518,
329,
1123,
6518,
4870,
28114,
606,
355,
2318,
8262,
11,
290,
3297,
2318,
422,
1029,
284,
1877,
1502,
13,
46506,
23853,
11,
35683,
7,
29321,
62,
259,
62,
25067,
8,
16034,
6518,
44441,
11050,
23853... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7955,
286,
6518,
329,
1123,
6518,
4870,
28114,
606,
355,
2318,
8262,
11,
290,
3297,
2318,
422,
1029,
284,
1877,
1502,
13,
46506,
23853,
11,
35683,
7,
29321,
62,
259,
62,
25067,
8,
16034,
6518,
44441,
11050,
23853... |
Name the sum of goals conceded when lost is more than 7 and points less than 26 | SELECT SUM(goals_conceded) FROM table_name_60 WHERE lost > 7 AND points < 26 | [
5376,
262,
2160,
286,
4661,
24684,
618,
2626,
318,
517,
621,
767,
290,
2173,
1342,
621,
2608,
46506,
35683,
7,
2188,
874,
62,
1102,
771,
276,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
2626,
1875,
767,
5357,
2173,
1279,
2608
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
2160,
286,
4661,
24684,
618,
2626,
318,
517,
621,
767,
290,
2173,
1342,
621,
2608,
46506,
35683,
7,
2188,
874,
62,
1102,
771,
276,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
2626,
1875,
767,
5357,
2173,
1279,
2608
] |
Name the work for years before 2007 that won blockbuster entertainment awards | SELECT "Work" FROM table_69685 WHERE "Year" < '2007' AND "Award" = 'blockbuster entertainment awards' | [
5376,
262,
670,
329,
812,
878,
4343,
326,
1839,
32034,
9739,
13304,
46506,
366,
12468,
1,
16034,
3084,
62,
3388,
35978,
33411,
366,
17688,
1,
1279,
705,
12726,
6,
5357,
366,
32,
904,
1,
796,
705,
9967,
24899,
9739,
13304,
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
] | [
5376,
262,
670,
329,
812,
878,
4343,
326,
1839,
32034,
9739,
13304,
46506,
366,
12468,
1,
16034,
3084,
62,
3388,
35978,
33411,
366,
17688,
1,
1279,
705,
12726,
6,
5357,
366,
32,
904,
1,
796,
705,
9967,
24899,
9739,
13304,
6
] |
What is the nationality of the guard who played for Florida International? | SELECT "Nationality" FROM table_56709 WHERE "Position" = 'guard' AND "School/Club Team" = 'florida international' | [
2061,
318,
262,
29835,
286,
262,
4860,
508,
2826,
329,
4744,
4037,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3980,
31495,
33411,
366,
26545,
1,
796,
705,
14864,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
796,
705,
2704,
273,
375... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
29835,
286,
262,
4860,
508,
2826,
329,
4744,
4037,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
3980,
31495,
33411,
366,
26545,
1,
796,
705,
14864,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
796,
705,
2704,
273,
375... |
what's the difference between the total output and the amount of input for patient 27703 on last month/09? | SELECT (SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27703)) AND DATETIME(inputevents_cv.charttime, 'start of month') = DATETIME(CURREN... | [
10919,
338,
262,
3580,
1022,
262,
2472,
5072,
290,
262,
2033,
286,
5128,
329,
5827,
2681,
36809,
319,
938,
1227,
14,
2931,
30,
46506,
357,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3580,
1022,
262,
2472,
5072,
290,
262,
2033,
286,
5128,
329,
5827,
2681,
36809,
319,
938,
1227,
14,
2931,
30,
46506,
357,
46506,
35683,
7,
259,
79,
1133,
85,
658,
62,
33967,
13,
17287,
8,
16034,
287,
79,
1133,
85,
... |
how many floors does the capitol square have ? | SELECT "floors" FROM table_203_837 WHERE "name" = 'capitol square' | [
4919,
867,
18570,
857,
262,
1451,
11650,
6616,
423,
5633,
46506,
366,
48679,
669,
1,
16034,
3084,
62,
22416,
62,
23,
2718,
33411,
366,
3672,
1,
796,
705,
11128,
11650,
6616,
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
] | [
4919,
867,
18570,
857,
262,
1451,
11650,
6616,
423,
5633,
46506,
366,
48679,
669,
1,
16034,
3084,
62,
22416,
62,
23,
2718,
33411,
366,
3672,
1,
796,
705,
11128,
11650,
6616,
6
] |
What is the number of females that has the Polish language? | SELECT "females" FROM table_71099 WHERE "Language" = 'polish' | [
2061,
318,
262,
1271,
286,
12366,
326,
468,
262,
15945,
3303,
30,
46506,
366,
69,
368,
2040,
1,
16034,
3084,
62,
43147,
2079,
33411,
366,
32065,
1,
796,
705,
16104,
680,
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,
318,
262,
1271,
286,
12366,
326,
468,
262,
15945,
3303,
30,
46506,
366,
69,
368,
2040,
1,
16034,
3084,
62,
43147,
2079,
33411,
366,
32065,
1,
796,
705,
16104,
680,
6
] |
What is the sum of the losses by the Montreal Hockey Club, who have more than 15 Goals Against? | SELECT SUM("Losses") FROM table_56804 WHERE "Team" = 'montreal hockey club' AND "Goals Against" > '15' | [
2061,
318,
262,
2160,
286,
262,
9089,
416,
262,
12871,
17277,
6289,
11,
508,
423,
517,
621,
1315,
28510,
12914,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
3980,
36088,
33411,
366,
15592,
1,
796,
705,
8691,
5305,
1221... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
262,
9089,
416,
262,
12871,
17277,
6289,
11,
508,
423,
517,
621,
1315,
28510,
12914,
30,
46506,
35683,
7203,
43,
793,
274,
4943,
16034,
3084,
62,
3980,
36088,
33411,
366,
15592,
1,
796,
705,
8691,
5305,
1221... |
what is the name of the team which aggregate score is l 1 2 | SELECT team FROM table_29261823_10 WHERE aggregate_score = "L 1–2" | [
10919,
318,
262,
1438,
286,
262,
1074,
543,
19406,
4776,
318,
300,
352,
362,
46506,
1074,
16034,
3084,
62,
1959,
2075,
1507,
1954,
62,
940,
33411,
19406,
62,
26675,
796,
366,
43,
352,
1906,
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
] | [
10919,
318,
262,
1438,
286,
262,
1074,
543,
19406,
4776,
318,
300,
352,
362,
46506,
1074,
16034,
3084,
62,
1959,
2075,
1507,
1954,
62,
940,
33411,
19406,
62,
26675,
796,
366,
43,
352,
1906,
17,
1
] |
what is the latest flight from SALT LAKE CITY to PHOENIX | 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, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SALT LAKE CITY' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name =... | [
10919,
318,
262,
3452,
5474,
422,
311,
31429,
9131,
7336,
27993,
284,
9370,
46,
1677,
10426,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
3452,
5474,
422,
311,
31429,
9131,
7336,
27993,
284,
9370,
46,
1677,
10426,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
1... |
i would like to travel from BOSTON to DENVER | 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, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER'... | [
72,
561,
588,
284,
3067,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
154... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
561,
588,
284,
3067,
422,
347,
10892,
1340,
284,
37692,
28884,
36,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
154... |
List the dates and vote percents of elections. | SELECT Date, Vote_Percent FROM election | [
8053,
262,
9667,
290,
3015,
583,
66,
658,
286,
7024,
13,
46506,
7536,
11,
19175,
62,
31905,
16034,
3071
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
9667,
290,
3015,
583,
66,
658,
286,
7024,
13,
46506,
7536,
11,
19175,
62,
31905,
16034,
3071
] |
what is the soap opera when the actor is dave duffy? | SELECT "Soap Opera" FROM table_63894 WHERE "Actor" = 'dave duffy' | [
10919,
318,
262,
19533,
27296,
618,
262,
8674,
318,
288,
1015,
288,
15352,
30,
46506,
366,
2396,
499,
26049,
1,
16034,
3084,
62,
21,
2548,
5824,
33411,
366,
40277,
1,
796,
705,
67,
1015,
288,
15352,
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
] | [
10919,
318,
262,
19533,
27296,
618,
262,
8674,
318,
288,
1015,
288,
15352,
30,
46506,
366,
2396,
499,
26049,
1,
16034,
3084,
62,
21,
2548,
5824,
33411,
366,
40277,
1,
796,
705,
67,
1015,
288,
15352,
6
] |
Name the segment D for umbrellas | SELECT segment_d FROM table_name_60 WHERE segment_a = "umbrellas" | [
5376,
262,
10618,
360,
329,
20810,
11252,
292,
46506,
10618,
62,
67,
16034,
3084,
62,
3672,
62,
1899,
33411,
10618,
62,
64,
796,
366,
2178,
11252,
292,
1
] | [
1,
1,
1,
1,
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,
10618,
360,
329,
20810,
11252,
292,
46506,
10618,
62,
67,
16034,
3084,
62,
3672,
62,
1899,
33411,
10618,
62,
64,
796,
366,
2178,
11252,
292,
1
] |
Users with highest total number of views of their questions. | SELECT RANK() OVER (ORDER BY SUM(p.ViewCount) DESC) AS "rank", p.OwnerUserId AS "user_link", p.OwnerDisplayName, SUM(p.ViewCount) AS "total_views", SUM(CASE WHEN p.CommunityOwnedDate IS NULL THEN p.ViewCount ELSE 0 END) AS "noncw_views", COUNT(p.Id) AS "count", SUM(CASE WHEN p.CommunityOwnedDate IS NULL THEN 1 ELSE 0 E... | [
14490,
351,
4511,
2472,
1271,
286,
5009,
286,
511,
2683,
13,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
35683,
7,
79,
13,
7680,
12332,
8,
22196,
34,
8,
7054,
366,
43027,
1600,
279,
13,
42419,
12982,
7390,
7054,
366,
7220... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
351,
4511,
2472,
1271,
286,
5009,
286,
511,
2683,
13,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
35683,
7,
79,
13,
7680,
12332,
8,
22196,
34,
8,
7054,
366,
43027,
1600,
279,
13,
42419,
12982,
7390,
7054,
366,
7220... |
Name the losing bonus for 27 | SELECT losing_bonus FROM table_12792876_4 WHERE tries_for = "27" | [
5376,
262,
6078,
7202,
329,
2681,
46506,
6078,
62,
4189,
385,
16034,
3084,
62,
1065,
3720,
2078,
4304,
62,
19,
33411,
8404,
62,
1640,
796,
366,
1983,
1
] | [
1,
1,
1,
1,
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,
6078,
7202,
329,
2681,
46506,
6078,
62,
4189,
385,
16034,
3084,
62,
1065,
3720,
2078,
4304,
62,
19,
33411,
8404,
62,
1640,
796,
366,
1983,
1
] |
Who directed the episode that had 6.04 million viewers? | SELECT "Director" FROM table_17897 WHERE "Viewers (in millions)" = '6.04' | [
8241,
7924,
262,
4471,
326,
550,
718,
13,
3023,
1510,
10209,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
1558,
4531,
22,
33411,
366,
7680,
364,
357,
259,
5242,
16725,
796,
705,
21,
13,
3023,
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
] | [
8241,
7924,
262,
4471,
326,
550,
718,
13,
3023,
1510,
10209,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
1558,
4531,
22,
33411,
366,
7680,
364,
357,
259,
5242,
16725,
796,
705,
21,
13,
3023,
6
] |
Which state has a royal house of Ying? | SELECT state FROM table_name_66 WHERE royal_house = "ying" | [
13828,
1181,
468,
257,
15100,
2156,
286,
38833,
30,
46506,
1181,
16034,
3084,
62,
3672,
62,
2791,
33411,
15100,
62,
4803,
796,
366,
1112,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1181,
468,
257,
15100,
2156,
286,
38833,
30,
46506,
1181,
16034,
3084,
62,
3672,
62,
2791,
33411,
15100,
62,
4803,
796,
366,
1112,
1
] |
How many restaurant is the Sandwich type restaurant? | SELECT COUNT(*) FROM restaurant JOIN type_of_restaurant ON restaurant.resid = type_of_restaurant.resid JOIN restaurant_type ON type_of_restaurant.restypeid = restaurant_type.restypeid GROUP BY type_of_restaurant.restypeid HAVING restaurant_type.restypename = 'Sandwich' | [
2437,
867,
7072,
318,
262,
45000,
2099,
7072,
30,
46506,
327,
28270,
7,
28104,
16034,
7072,
32357,
1268,
2099,
62,
1659,
62,
2118,
2899,
415,
6177,
7072,
13,
411,
312,
796,
2099,
62,
1659,
62,
2118,
2899,
415,
13,
411,
312,
32357,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
7072,
318,
262,
45000,
2099,
7072,
30,
46506,
327,
28270,
7,
28104,
16034,
7072,
32357,
1268,
2099,
62,
1659,
62,
2118,
2899,
415,
6177,
7072,
13,
411,
312,
796,
2099,
62,
1659,
62,
2118,
2899,
415,
13,
411,
312,
32357,
1... |
What is the lowest tier for a postseason result of quarterfinalist? | SELECT MIN("Tier") FROM table_5237 WHERE "Postseason" = 'quarterfinalist' | [
2061,
318,
262,
9016,
14249,
329,
257,
22905,
1255,
286,
3860,
20311,
396,
30,
46506,
20625,
7203,
35252,
4943,
16034,
3084,
62,
20,
24693,
33411,
366,
6307,
6230,
1,
796,
705,
24385,
20311,
396,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
14249,
329,
257,
22905,
1255,
286,
3860,
20311,
396,
30,
46506,
20625,
7203,
35252,
4943,
16034,
3084,
62,
20,
24693,
33411,
366,
6307,
6230,
1,
796,
705,
24385,
20311,
396,
6
] |
until 2101, how many drugs had been prescribed to patient 013-36766? | SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-36766')) AND STRFTIME('%y', medication.drugstarttime) <= '2101' | [
28446,
2310,
486,
11,
703,
867,
5010,
550,
587,
14798,
284,
5827,
5534,
18,
12,
27824,
2791,
30,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
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... | [
28446,
2310,
486,
11,
703,
867,
5010,
550,
587,
14798,
284,
5827,
5534,
18,
12,
27824,
2791,
30,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312... |
On 27 July 2003 what was the outcome of the game that resulted in a score of 7 5, 6 3? | SELECT outcome FROM table_name_77 WHERE score = "7–5, 6–3" AND date = "27 july 2003" | [
2202,
2681,
2901,
5816,
644,
373,
262,
8055,
286,
262,
983,
326,
8724,
287,
257,
4776,
286,
767,
642,
11,
718,
513,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
3324,
33411,
4776,
796,
366,
22,
1906,
20,
11,
718,
1906,
18,
1,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
2681,
2901,
5816,
644,
373,
262,
8055,
286,
262,
983,
326,
8724,
287,
257,
4776,
286,
767,
642,
11,
718,
513,
30,
46506,
8055,
16034,
3084,
62,
3672,
62,
3324,
33411,
4776,
796,
366,
22,
1906,
20,
11,
718,
1906,
18,
1,
5357,... |
What was the record for game 59? | SELECT "Record" FROM table_8866 WHERE "Game" = '59' | [
2061,
373,
262,
1700,
329,
983,
7863,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3459,
2791,
33411,
366,
8777,
1,
796,
705,
3270,
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
] | [
2061,
373,
262,
1700,
329,
983,
7863,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3459,
2791,
33411,
366,
8777,
1,
796,
705,
3270,
6
] |
what was the last intake given to patient 031-16123. | 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 = '031-16123')) AND intakeoutput.cellpath LIKE '%intake%' ORDER... | [
10919,
373,
262,
938,
10337,
1813,
284,
5827,
657,
3132,
12,
1433,
10163,
13,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
938,
10337,
1813,
284,
5827,
657,
3132,
12,
1433,
10163,
13,
46506,
10337,
22915,
13,
3846,
18242,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
3... |
In what season was the conference record for the Pandas 15-1-1? | SELECT season FROM table_27069503_2 WHERE conf_record = "15-1-1" | [
818,
644,
1622,
373,
262,
4495,
1700,
329,
262,
16492,
292,
1315,
12,
16,
12,
16,
30,
46506,
1622,
16034,
3084,
62,
1983,
3312,
31027,
18,
62,
17,
33411,
1013,
62,
22105,
796,
366,
1314,
12,
16,
12,
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
] | [
818,
644,
1622,
373,
262,
4495,
1700,
329,
262,
16492,
292,
1315,
12,
16,
12,
16,
30,
46506,
1622,
16034,
3084,
62,
1983,
3312,
31027,
18,
62,
17,
33411,
1013,
62,
22105,
796,
366,
1314,
12,
16,
12,
16,
1
] |
Which Attendance has a Tie number of 5? | SELECT "Attendance" FROM table_36001 WHERE "Tie no" = '5' | [
13828,
46502,
590,
468,
257,
36286,
1271,
286,
642,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2623,
8298,
33411,
366,
51,
494,
645,
1,
796,
705,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
46502,
590,
468,
257,
36286,
1271,
286,
642,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
2623,
8298,
33411,
366,
51,
494,
645,
1,
796,
705,
20,
6
] |
count the number of patients whose discharge location is snf and admission year is less than 2162? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SNF" AND demographic.admityear < "2162" | [
9127,
262,
1271,
286,
3871,
3025,
17655,
4067,
318,
3013,
69,
290,
13938,
614,
318,
1342,
621,
362,
25061,
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,
25061,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
6381,
10136,
62,
... |
How many years had a score of 734-5d? | SELECT COUNT(year) FROM table_name_9 WHERE score = "734-5d" | [
2437,
867,
812,
550,
257,
4776,
286,
767,
2682,
12,
20,
67,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
4776,
796,
366,
22,
2682,
12,
20,
67,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
812,
550,
257,
4776,
286,
767,
2682,
12,
20,
67,
30,
46506,
327,
28270,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
24,
33411,
4776,
796,
366,
22,
2682,
12,
20,
67,
1
] |
Name the most rank for 2 gold | SELECT MIN(rank) FROM table_22355_68 WHERE gold = 2 | [
5376,
262,
749,
4279,
329,
362,
3869,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
1828,
28567,
62,
3104,
33411,
3869,
796,
362
] | [
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,
749,
4279,
329,
362,
3869,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
1828,
28567,
62,
3104,
33411,
3869,
796,
362
] |
What score in the final had a tournament of $25,000 Glasgow, Great Britain? | SELECT score_in_the_final FROM table_name_82 WHERE tournament = "$25,000 glasgow, great britain" | [
2061,
4776,
287,
262,
2457,
550,
257,
7756,
286,
720,
1495,
11,
830,
23995,
11,
3878,
5491,
30,
46506,
4776,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
6469,
33411,
7756,
796,
17971,
1495,
11,
830,
1278,
292,
21175,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4776,
287,
262,
2457,
550,
257,
7756,
286,
720,
1495,
11,
830,
23995,
11,
3878,
5491,
30,
46506,
4776,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
6469,
33411,
7756,
796,
17971,
1495,
11,
830,
1278,
292,
21175,
11... |
Which team had 2 wins and a season later than 1986? | SELECT team FROM table_name_55 WHERE wins = 2 AND season > 1986 | [
13828,
1074,
550,
362,
7864,
290,
257,
1622,
1568,
621,
12113,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
2816,
33411,
7864,
796,
362,
5357,
1622,
1875,
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
] | [
13828,
1074,
550,
362,
7864,
290,
257,
1622,
1568,
621,
12113,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
2816,
33411,
7864,
796,
362,
5357,
1622,
1875,
12113
] |
other than the first track , what track was less than 2 minutes in length ? | SELECT "song" FROM table_203_267 WHERE id <> 1 AND "length (m:ss)" < 2 | [
847,
621,
262,
717,
2610,
837,
644,
2610,
373,
1342,
621,
362,
2431,
287,
4129,
5633,
46506,
366,
34050,
1,
16034,
3084,
62,
22416,
62,
25674,
33411,
4686,
1279,
29,
352,
5357,
366,
13664,
357,
76,
25,
824,
16725,
1279,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
847,
621,
262,
717,
2610,
837,
644,
2610,
373,
1342,
621,
362,
2431,
287,
4129,
5633,
46506,
366,
34050,
1,
16034,
3084,
62,
22416,
62,
25674,
33411,
4686,
1279,
29,
352,
5357,
366,
13664,
357,
76,
25,
824,
16725,
1279,
362
] |
When did Pakistan win a Silver Medal in a Men's Competition? | SELECT "Games" FROM table_6152 WHERE "Event" = 'men''s competition' AND "Medal" = 'silver' | [
2215,
750,
7648,
1592,
257,
7698,
9064,
287,
257,
6065,
338,
27348,
30,
46506,
366,
24474,
1,
16034,
3084,
62,
21,
17827,
33411,
366,
9237,
1,
796,
705,
3653,
7061,
82,
5449,
6,
5357,
366,
9921,
282,
1,
796,
705,
40503,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
7648,
1592,
257,
7698,
9064,
287,
257,
6065,
338,
27348,
30,
46506,
366,
24474,
1,
16034,
3084,
62,
21,
17827,
33411,
366,
9237,
1,
796,
705,
3653,
7061,
82,
5449,
6,
5357,
366,
9921,
282,
1,
796,
705,
40503,
6
] |
which wrestlers did not get eliminated in part two of battle royal ? | SELECT "wrestler" FROM table_203_277 WHERE "eliminated by" IS NULL | [
4758,
41758,
750,
407,
651,
15254,
287,
636,
734,
286,
3344,
15100,
5633,
46506,
366,
86,
2118,
1754,
1,
16034,
3084,
62,
22416,
62,
27019,
33411,
366,
417,
320,
3898,
416,
1,
3180,
15697
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
41758,
750,
407,
651,
15254,
287,
636,
734,
286,
3344,
15100,
5633,
46506,
366,
86,
2118,
1754,
1,
16034,
3084,
62,
22416,
62,
27019,
33411,
366,
417,
320,
3898,
416,
1,
3180,
15697
] |
what is age and language of subject id 31066? | SELECT demographic.age, demographic.language FROM demographic WHERE demographic.subject_id = "31066" | [
10919,
318,
2479,
290,
3303,
286,
2426,
4686,
28947,
2791,
30,
46506,
16728,
13,
496,
11,
16728,
13,
16129,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
26717,
2791,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
2479,
290,
3303,
286,
2426,
4686,
28947,
2791,
30,
46506,
16728,
13,
496,
11,
16728,
13,
16129,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
26717,
2791,
1
] |
Who had a score of 68-67=135? | SELECT "Player" FROM table_9423 WHERE "Score" = '68-67=135' | [
8241,
550,
257,
4776,
286,
8257,
12,
3134,
28,
17059,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
5824,
1954,
33411,
366,
26595,
1,
796,
705,
3104,
12,
3134,
28,
17059,
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,
550,
257,
4776,
286,
8257,
12,
3134,
28,
17059,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
5824,
1954,
33411,
366,
26595,
1,
796,
705,
3104,
12,
3134,
28,
17059,
6
] |
what year had the most singles ? | SELECT "year" FROM table_204_56 GROUP BY "year" ORDER BY COUNT("song") DESC LIMIT 1 | [
10919,
614,
550,
262,
749,
25287,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
3980,
44441,
11050,
366,
1941,
1,
38678,
11050,
327,
28270,
7203,
34050,
4943,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
614,
550,
262,
749,
25287,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
18638,
62,
3980,
44441,
11050,
366,
1941,
1,
38678,
11050,
327,
28270,
7203,
34050,
4943,
22196,
34,
27564,
2043,
352
] |
When SSC-R is the opponent what is the name? | SELECT name FROM table_name_70 WHERE opponent = "ssc-r" | [
2215,
311,
6173,
12,
49,
318,
262,
6125,
644,
318,
262,
1438,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2154,
33411,
6125,
796,
366,
824,
66,
12,
81,
1
] | [
1,
1,
1,
1,
1,
1,
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,
311,
6173,
12,
49,
318,
262,
6125,
644,
318,
262,
1438,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
2154,
33411,
6125,
796,
366,
824,
66,
12,
81,
1
] |
What is the highest year that Carlos drove for repsol honda and had less than 4 wins and less than 162 points? | SELECT MAX("Year") FROM table_35191 WHERE "Team" = 'repsol honda' AND "Wins" < '4' AND "Points" < '162' | [
2061,
318,
262,
4511,
614,
326,
17409,
10357,
329,
20982,
349,
289,
13533,
290,
550,
1342,
621,
604,
7864,
290,
1342,
621,
25090,
2173,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
2327,
26492,
33411,
366,
15592,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
4511,
614,
326,
17409,
10357,
329,
20982,
349,
289,
13533,
290,
550,
1342,
621,
604,
7864,
290,
1342,
621,
25090,
2173,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
2327,
26492,
33411,
366,
15592,
1,
796,
705,
... |
Tell me the chassis for team tissot ensign and driver of brett lunger | SELECT "Chassis" FROM table_54392 WHERE "Entrant" = 'team tissot ensign' AND "Driver" = 'brett lunger' | [
24446,
502,
262,
24587,
329,
1074,
8815,
313,
3140,
570,
290,
4639,
286,
1449,
926,
14678,
1362,
46506,
366,
1925,
20297,
1,
16034,
3084,
62,
4051,
32321,
33411,
366,
14539,
5250,
1,
796,
705,
15097,
8815,
313,
3140,
570,
6,
5357,
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
] | [
24446,
502,
262,
24587,
329,
1074,
8815,
313,
3140,
570,
290,
4639,
286,
1449,
926,
14678,
1362,
46506,
366,
1925,
20297,
1,
16034,
3084,
62,
4051,
32321,
33411,
366,
14539,
5250,
1,
796,
705,
15097,
8815,
313,
3140,
570,
6,
5357,
366... |
What date was the venue at VFL park? | SELECT date FROM table_name_97 WHERE venue = "vfl park" | [
2061,
3128,
373,
262,
14359,
379,
569,
3697,
3952,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5607,
33411,
14359,
796,
366,
85,
2704,
3952,
1
] | [
1,
1,
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,
3128,
373,
262,
14359,
379,
569,
3697,
3952,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5607,
33411,
14359,
796,
366,
85,
2704,
3952,
1
] |
Which year has 200 laps? | SELECT year FROM table_name_95 WHERE laps = 200 | [
13828,
614,
468,
939,
24590,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
3865,
33411,
24590,
796,
939
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
614,
468,
939,
24590,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
3865,
33411,
24590,
796,
939
] |
What is Opponent, when January is greater than 19, and when Score is '7 - 2'? | SELECT "Opponent" FROM table_9387 WHERE "January" > '19' AND "Score" = '7 - 2' | [
2061,
318,
9385,
3471,
11,
618,
3269,
318,
3744,
621,
678,
11,
290,
618,
15178,
318,
705,
22,
532,
362,
30960,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
24,
32220,
33411,
366,
21339,
1,
1875,
705,
1129,
6,
5357,
366,
26595,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9385,
3471,
11,
618,
3269,
318,
3744,
621,
678,
11,
290,
618,
15178,
318,
705,
22,
532,
362,
30960,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
24,
32220,
33411,
366,
21339,
1,
1875,
705,
1129,
6,
5357,
366,
26595,
1,
... |
How many times is the title am/pm callanetics? | SELECT COUNT("Studio") FROM table_29432 WHERE "Title" = 'AM/PM Callanetics' | [
2437,
867,
1661,
318,
262,
3670,
716,
14,
4426,
869,
272,
14596,
30,
46506,
327,
28270,
7203,
41501,
4943,
16034,
3084,
62,
27696,
2624,
33411,
366,
19160,
1,
796,
705,
2390,
14,
5868,
4889,
272,
14596,
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
] | [
2437,
867,
1661,
318,
262,
3670,
716,
14,
4426,
869,
272,
14596,
30,
46506,
327,
28270,
7203,
41501,
4943,
16034,
3084,
62,
27696,
2624,
33411,
366,
19160,
1,
796,
705,
2390,
14,
5868,
4889,
272,
14596,
6
] |
how many songs were released for each format?, show from high to low by the x axis. | SELECT formats, COUNT(*) FROM files GROUP BY formats ORDER BY formats DESC | [
4919,
867,
7259,
547,
2716,
329,
1123,
5794,
21747,
905,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
13,
46506,
17519,
11,
327,
28270,
7,
28104,
16034,
3696,
44441,
11050,
17519,
38678,
11050,
17519,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
7259,
547,
2716,
329,
1123,
5794,
21747,
905,
422,
1029,
284,
1877,
416,
262,
2124,
16488,
13,
46506,
17519,
11,
327,
28270,
7,
28104,
16034,
3696,
44441,
11050,
17519,
38678,
11050,
17519,
22196,
34
] |
random's edit summaries are legendary. | SELECT DISTINCT PostId AS "post_link", 'comment' FROM PostHistory WHERE UserId = 9314 AND LENGTH('comment') > 5 AND STR_POSITION('comment', 'edited') != 1 AND STR_POSITION('comment', 'added') != 1 AND STR_POSITION('comment', 'Rollback') != 1 | [
25120,
338,
4370,
30114,
3166,
389,
13273,
13,
46506,
360,
8808,
1268,
4177,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
705,
23893,
6,
16034,
2947,
18122,
33411,
11787,
7390,
796,
10261,
1415,
5357,
406,
49494,
10786,
23893,
11537,
1875... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
25120,
338,
4370,
30114,
3166,
389,
13273,
13,
46506,
360,
8808,
1268,
4177,
2947,
7390,
7054,
366,
7353,
62,
8726,
1600,
705,
23893,
6,
16034,
2947,
18122,
33411,
11787,
7390,
796,
10261,
1415,
5357,
406,
49494,
10786,
23893,
11537,
1875... |
what flights are there from NEW YORK to LAS VEGAS | 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, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'NEW YORK' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LAS V... | [
10919,
13956,
389,
612,
422,
12682,
28154,
284,
406,
1921,
569,
7156,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13956,
389,
612,
422,
12682,
28154,
284,
406,
1921,
569,
7156,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
... |
Which Hindi network is based in India and uses dish service and shows general programming? | SELECT "Network" FROM table_32824 WHERE "Service" = 'dish' AND "Language" = 'hindi' AND "Origin of Programming" = 'india' AND "Genre" = 'general' | [
13828,
43443,
3127,
318,
1912,
287,
3794,
290,
3544,
9433,
2139,
290,
2523,
2276,
8300,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
34256,
1731,
33411,
366,
16177,
1,
796,
705,
67,
680,
6,
5357,
366,
32065,
1,
796,
705,
71,
521,
72,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
43443,
3127,
318,
1912,
287,
3794,
290,
3544,
9433,
2139,
290,
2523,
2276,
8300,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
34256,
1731,
33411,
366,
16177,
1,
796,
705,
67,
680,
6,
5357,
366,
32065,
1,
796,
705,
71,
521,
72,
... |
Who is the opponent in 1992? | SELECT opponent FROM table_name_17 WHERE year = "1992" | [
8241,
318,
262,
6125,
287,
9768,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1558,
33411,
614,
796,
366,
23847,
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,
6125,
287,
9768,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
1558,
33411,
614,
796,
366,
23847,
1
] |
What is the date for the catalog CDZAP22 in the United Kingdom? | SELECT date FROM table_name_69 WHERE country = "united kingdom" AND catalog = "cdzap22" | [
2061,
318,
262,
3128,
329,
262,
18388,
6458,
57,
2969,
1828,
287,
262,
1578,
7526,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3388,
33411,
1499,
796,
366,
41187,
13239,
1,
5357,
18388,
796,
366,
10210,
89,
499,
1828,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
262,
18388,
6458,
57,
2969,
1828,
287,
262,
1578,
7526,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3388,
33411,
1499,
796,
366,
41187,
13239,
1,
5357,
18388,
796,
366,
10210,
89,
499,
1828,
1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.