instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Find in a tag: unanswered questions with score<=0 answers. http://meta.stackoverflow.com/questions/322530/find-in-a-tag-unanswered-questions-with-score-0-answers | SELECT p.Id AS "post_link" FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE AcceptedAnswerId IS NULL AND AnswerCount > 0 AND t.TagName = '##tagname:string##' AND AnswerCount = (SELECT COUNT(*) FROM Posts AS a WHERE a.ParentId = p.Id AND Score <= 0) | [
16742,
287,
257,
7621,
25,
34001,
2683,
351,
4776,
27,
28,
15,
7429,
13,
2638,
1378,
28961,
13,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
2624,
1495,
1270,
14,
19796,
12,
259,
12,
64,
12,
12985,
12,
403,
31966,
12,
6138,
507... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
287,
257,
7621,
25,
34001,
2683,
351,
4776,
27,
28,
15,
7429,
13,
2638,
1378,
28961,
13,
25558,
2502,
11125,
13,
785,
14,
6138,
507,
14,
2624,
1495,
1270,
14,
19796,
12,
259,
12,
64,
12,
12985,
12,
403,
31966,
12,
6138,
507... |
what is the difference between the number times the result was won and the number of times the result was nominated ? | SELECT ABS((SELECT COUNT(*) FROM table_204_948 WHERE "result" = 'won') - (SELECT COUNT(*) FROM table_204_948 WHERE "result" = 'nominated')) | [
10919,
318,
262,
3580,
1022,
262,
1271,
1661,
262,
1255,
373,
1839,
290,
262,
1271,
286,
1661,
262,
1255,
373,
19332,
5633,
46506,
29950,
19510,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
2780,
33411,
366,
20274,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3580,
1022,
262,
1271,
1661,
262,
1255,
373,
1839,
290,
262,
1271,
286,
1661,
262,
1255,
373,
19332,
5633,
46506,
29950,
19510,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
24,
2780,
33411,
366,
20274,
1,
... |
After 1971, what is the Rank with a Height ft (m) of 19.0 477 (145) and less than 35 Floors? | SELECT rank FROM table_name_90 WHERE year > 1971 AND floors < 35 AND height_ft__m_ = "19.0 477 (145)" | [
3260,
16382,
11,
644,
318,
262,
10916,
351,
257,
27280,
10117,
357,
76,
8,
286,
678,
13,
15,
604,
3324,
357,
18781,
8,
290,
1342,
621,
3439,
29075,
669,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
3829,
33411,
614,
1875,
16382,
5357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3260,
16382,
11,
644,
318,
262,
10916,
351,
257,
27280,
10117,
357,
76,
8,
286,
678,
13,
15,
604,
3324,
357,
18781,
8,
290,
1342,
621,
3439,
29075,
669,
30,
46506,
4279,
16034,
3084,
62,
3672,
62,
3829,
33411,
614,
1875,
16382,
5357... |
Who had less than 7 goals, was ranked under 7, and had more than 8 appearances? | SELECT "Name" FROM table_31897 WHERE "Goals" < '7' AND "Rank" < '7' AND "Appearances" > '8' | [
8241,
550,
1342,
621,
767,
4661,
11,
373,
10307,
739,
767,
11,
290,
550,
517,
621,
807,
11057,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
36042,
5607,
33411,
366,
5247,
874,
1,
1279,
705,
22,
6,
5357,
366,
27520,
1,
1279,
705,
22,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
1342,
621,
767,
4661,
11,
373,
10307,
739,
767,
11,
290,
550,
517,
621,
807,
11057,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
36042,
5607,
33411,
366,
5247,
874,
1,
1279,
705,
22,
6,
5357,
366,
27520,
1,
1279,
705,
22,
... |
Get number of answers per month. | SELECT COUNT(Id) FROM Users | [
3855,
1271,
286,
7429,
583,
1227,
13,
46506,
327,
28270,
7,
7390,
8,
16034,
18987
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3855,
1271,
286,
7429,
583,
1227,
13,
46506,
327,
28270,
7,
7390,
8,
16034,
18987
] |
What Region was the Catalog magik muzik 805-5 released in? | SELECT "Region" FROM table_7741 WHERE "Catalog" = 'magik muzik 805-5' | [
2061,
17718,
373,
262,
44515,
2153,
1134,
285,
10277,
1134,
807,
2713,
12,
20,
2716,
287,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
3324,
3901,
33411,
366,
49015,
1,
796,
705,
19726,
1134,
285,
10277,
1134,
807,
2713,
12,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
17718,
373,
262,
44515,
2153,
1134,
285,
10277,
1134,
807,
2713,
12,
20,
2716,
287,
30,
46506,
366,
47371,
1,
16034,
3084,
62,
3324,
3901,
33411,
366,
49015,
1,
796,
705,
19726,
1134,
285,
10277,
1134,
807,
2713,
12,
20,
6
] |
What is the majority when the clone independence is no? | SELECT "Majority" FROM table_13429 WHERE "Clone independence" = 'no' | [
2061,
318,
262,
3741,
618,
262,
17271,
10404,
318,
645,
30,
46506,
366,
24206,
414,
1,
16034,
3084,
62,
1485,
11785,
33411,
366,
2601,
505,
10404,
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
] | [
2061,
318,
262,
3741,
618,
262,
17271,
10404,
318,
645,
30,
46506,
366,
24206,
414,
1,
16034,
3084,
62,
1485,
11785,
33411,
366,
2601,
505,
10404,
1,
796,
705,
3919,
6
] |
Who is the away side, when the home side scores 13.22 (100)? | SELECT "Away team" FROM table_33223 WHERE "Home team score" = '13.22 (100)' | [
8241,
318,
262,
1497,
1735,
11,
618,
262,
1363,
1735,
8198,
1511,
13,
1828,
357,
3064,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
22047,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1485,
13,
1828,
357,
3064,
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,
1,
1,
1
] | [
8241,
318,
262,
1497,
1735,
11,
618,
262,
1363,
1735,
8198,
1511,
13,
1828,
357,
3064,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2091,
22047,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1485,
13,
1828,
357,
3064,
33047
] |
What country was Ernie Els from? | SELECT "Country" FROM table_44633 WHERE "Player" = 'ernie els' | [
2061,
1499,
373,
5256,
11952,
2574,
82,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
27260,
2091,
33411,
366,
14140,
1,
796,
705,
1142,
494,
1288,
82,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1499,
373,
5256,
11952,
2574,
82,
422,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
27260,
2091,
33411,
366,
14140,
1,
796,
705,
1142,
494,
1288,
82,
6
] |
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a bar chart about the distribution of hire_date and the average of department_id bin hire_date by time, and could you display in ascending by the y-axis? | SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY AVG(DEPARTMENT_ID) | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
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... | [
1890,
883,
4409,
3025,
9588,
318,
287,
262,
2837,
286,
38055,
290,
1105,
830,
290,
5810,
318,
407,
9242,
393,
5011,
1271,
857,
407,
4961,
284,
2319,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
2... |
Which Sampling Memory/Upgrade-able has a rate of 16-bit 44.1khz? | SELECT sampling_memory_upgrade_able FROM table_name_66 WHERE sampling_rate = "16-bit 44.1khz" | [
13828,
3409,
11347,
14059,
14,
44948,
12,
540,
468,
257,
2494,
286,
1467,
12,
2545,
5846,
13,
16,
14636,
89,
30,
46506,
19232,
62,
31673,
62,
929,
9526,
62,
540,
16034,
3084,
62,
3672,
62,
2791,
33411,
19232,
62,
4873,
796,
366,
143... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3409,
11347,
14059,
14,
44948,
12,
540,
468,
257,
2494,
286,
1467,
12,
2545,
5846,
13,
16,
14636,
89,
30,
46506,
19232,
62,
31673,
62,
929,
9526,
62,
540,
16034,
3084,
62,
3672,
62,
2791,
33411,
19232,
62,
4873,
796,
366,
143... |
What country has the player Tiger Woods? | SELECT country FROM table_name_60 WHERE player = "tiger woods" | [
2061,
1499,
468,
262,
2137,
17030,
16483,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1899,
33411,
2137,
796,
366,
83,
8254,
16479,
1
] | [
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,
262,
2137,
17030,
16483,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1899,
33411,
2137,
796,
366,
83,
8254,
16479,
1
] |
How many edits do I have?. Counts how many edits a user has, broken into Question and Answer edits.
Also shows how close you are to getting each editor badge. | WITH qaedits AS (SELECT (SELECT COUNT(*) FROM Posts WHERE PostTypeId = 1 AND LastEditorUserId = Users.Id) AS QuestionEdits, (SELECT COUNT(*) FROM Posts WHERE PostTypeId = 2 AND LastEditorUserId = Users.Id) AS AnswerEdits FROM Users WHERE Id = '##UserId##'), edits AS (SELECT QuestionEdits, AnswerEdits, QuestionEdits + A... | [
2437,
867,
31671,
466,
314,
423,
30,
13,
2764,
82,
703,
867,
31671,
257,
2836,
468,
11,
5445,
656,
18233,
290,
23998,
31671,
13,
198,
7583,
2523,
703,
1969,
345,
389,
284,
1972,
1123,
5464,
23009,
13,
54,
10554,
10662,
8432,
896,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
31671,
466,
314,
423,
30,
13,
2764,
82,
703,
867,
31671,
257,
2836,
468,
11,
5445,
656,
18233,
290,
23998,
31671,
13,
198,
7583,
2523,
703,
1969,
345,
389,
284,
1972,
1123,
5464,
23009,
13,
54,
10554,
10662,
8432,
896,
70... |
What is the Date of the game in Vancouver? | SELECT "Date" FROM table_77466 WHERE "Home" = 'vancouver' | [
2061,
318,
262,
7536,
286,
262,
983,
287,
10930,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3324,
42199,
33411,
366,
16060,
1,
796,
705,
85,
10264,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
7536,
286,
262,
983,
287,
10930,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
3324,
42199,
33411,
366,
16060,
1,
796,
705,
85,
10264,
6
] |
Cumulative, voteid-scaled up/down history of a single post. | SELECT RANK() OVER (ORDER BY Id) AS No, SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE 0 END) OVER (ORDER BY Id ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS Ups, SUM(CASE WHEN VoteTypeId = 3 THEN -1 ELSE 0 END) OVER (ORDER BY Id ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS Downs, SUM(CASE WHEN VoteTypeId = 2 ... | [
34,
388,
13628,
11,
3015,
312,
12,
1416,
3021,
510,
14,
2902,
2106,
286,
257,
2060,
1281,
13,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
5121,
8,
7054,
1400,
11,
35683,
7,
34,
11159,
42099,
19175,
6030,
7390,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
34,
388,
13628,
11,
3015,
312,
12,
1416,
3021,
510,
14,
2902,
2106,
286,
257,
2060,
1281,
13,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
5121,
8,
7054,
1400,
11,
35683,
7,
34,
11159,
42099,
19175,
6030,
7390,
796,
362,
... |
Name the total number of no result for losses more than 1 and played of 38 and wins less than 19 | SELECT COUNT(no_result) FROM table_name_16 WHERE losses > 1 AND played = 38 AND wins < 19 | [
5376,
262,
2472,
1271,
286,
645,
1255,
329,
9089,
517,
621,
352,
290,
2826,
286,
4353,
290,
7864,
1342,
621,
678,
46506,
327,
28270,
7,
3919,
62,
20274,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
9089,
1875,
352,
5357,
2826,
796,
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
] | [
5376,
262,
2472,
1271,
286,
645,
1255,
329,
9089,
517,
621,
352,
290,
2826,
286,
4353,
290,
7864,
1342,
621,
678,
46506,
327,
28270,
7,
3919,
62,
20274,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
9089,
1875,
352,
5357,
2826,
796,
43... |
how many patients whose procedure long title is central venous catheter placement with guidance and lab test fluid is cerebrospinal fluid (csf)? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Central venous catheter placement with guidance" AND lab.fluid = "Cerebrospinal Fluid (CSF)" | [
4919,
867,
3871,
3025,
8771,
890,
3670,
318,
4318,
8710,
516,
3797,
43332,
13127,
351,
11154,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
8771,
890,
3670,
318,
4318,
8710,
516,
3797,
43332,
13127,
351,
11154,
290,
2248,
1332,
11711,
318,
6736,
7957,
2777,
1292,
11711,
357,
6359,
69,
19427,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796... |
what college has the top enrollment ? | SELECT "institution" FROM table_203_610 ORDER BY "enrollment" DESC LIMIT 1 | [
10919,
4152,
468,
262,
1353,
20753,
5633,
46506,
366,
8625,
2738,
1,
16034,
3084,
62,
22416,
62,
39132,
38678,
11050,
366,
268,
48108,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
4152,
468,
262,
1353,
20753,
5633,
46506,
366,
8625,
2738,
1,
16034,
3084,
62,
22416,
62,
39132,
38678,
11050,
366,
268,
48108,
1,
22196,
34,
27564,
2043,
352
] |
What college did the tight end draft pick for New England Patriots come from? | SELECT college FROM table_2508633_9 WHERE nfl_team = "New England Patriots" AND position = "Tight end" | [
2061,
4152,
750,
262,
5381,
886,
4538,
2298,
329,
968,
4492,
13104,
1282,
422,
30,
46506,
4152,
16034,
3084,
62,
9031,
4521,
2091,
62,
24,
33411,
299,
2704,
62,
15097,
796,
366,
3791,
4492,
13104,
1,
5357,
2292,
796,
366,
51,
432,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4152,
750,
262,
5381,
886,
4538,
2298,
329,
968,
4492,
13104,
1282,
422,
30,
46506,
4152,
16034,
3084,
62,
9031,
4521,
2091,
62,
24,
33411,
299,
2704,
62,
15097,
796,
366,
3791,
4492,
13104,
1,
5357,
2292,
796,
366,
51,
432,
8... |
What is the Label with a Catalog that is mhcl-20017? | SELECT "Label" FROM table_42271 WHERE "Catalog" = 'mhcl-20017' | [
2061,
318,
262,
36052,
351,
257,
44515,
326,
318,
285,
71,
565,
12,
2167,
1558,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
44361,
4869,
33411,
366,
49015,
1,
796,
705,
76,
71,
565,
12,
2167,
1558,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
36052,
351,
257,
44515,
326,
318,
285,
71,
565,
12,
2167,
1558,
30,
46506,
366,
33986,
1,
16034,
3084,
62,
44361,
4869,
33411,
366,
49015,
1,
796,
705,
76,
71,
565,
12,
2167,
1558,
6
] |
What percentage of the population is below 50% of the median income in the region where 10.4% of the population earns below 40% of the median income? | SELECT COUNT(below_50_percentage_of_median_income) FROM table_25042332_16 WHERE below_40_percentage_of_median_income = "10.4%" | [
2061,
5873,
286,
262,
3265,
318,
2174,
2026,
4,
286,
262,
14288,
3739,
287,
262,
3814,
810,
838,
13,
19,
4,
286,
262,
3265,
29339,
2174,
2319,
4,
286,
262,
14288,
3739,
30,
46506,
327,
28270,
7,
35993,
62,
1120,
62,
25067,
496,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
5873,
286,
262,
3265,
318,
2174,
2026,
4,
286,
262,
14288,
3739,
287,
262,
3814,
810,
838,
13,
19,
4,
286,
262,
3265,
29339,
2174,
2319,
4,
286,
262,
14288,
3739,
30,
46506,
327,
28270,
7,
35993,
62,
1120,
62,
25067,
496,
62... |
What is the position of the player from Glades Day School? | SELECT position FROM table_name_59 WHERE school = "glades day school" | [
2061,
318,
262,
2292,
286,
262,
2137,
422,
2671,
2367,
3596,
3961,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3270,
33411,
1524,
796,
366,
4743,
2367,
1110,
1524,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2292,
286,
262,
2137,
422,
2671,
2367,
3596,
3961,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
3270,
33411,
1524,
796,
366,
4743,
2367,
1110,
1524,
1
] |
how many episodes originally aired january19,2013 | SELECT COUNT("No. in series") FROM table_30994 WHERE "Original Air date" = 'January19,2013' | [
4919,
867,
8640,
6198,
18530,
42897,
2838,
1129,
11,
6390,
46506,
327,
28270,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
1270,
42691,
33411,
366,
20556,
3701,
3128,
1,
796,
705,
21339,
1129,
11,
6390,
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,
8640,
6198,
18530,
42897,
2838,
1129,
11,
6390,
46506,
327,
28270,
7203,
2949,
13,
287,
2168,
4943,
16034,
3084,
62,
1270,
42691,
33411,
366,
20556,
3701,
3128,
1,
796,
705,
21339,
1129,
11,
6390,
6
] |
What was the start of the competitor with a qualifying time of 84.300? | SELECT "Start" FROM table_51402 WHERE "Qual" = '84.300' | [
2061,
373,
262,
923,
286,
262,
20319,
351,
257,
18677,
640,
286,
9508,
13,
6200,
30,
46506,
366,
10434,
1,
16034,
3084,
62,
47396,
2999,
33411,
366,
46181,
1,
796,
705,
5705,
13,
6200,
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,
373,
262,
923,
286,
262,
20319,
351,
257,
18677,
640,
286,
9508,
13,
6200,
30,
46506,
366,
10434,
1,
16034,
3084,
62,
47396,
2999,
33411,
366,
46181,
1,
796,
705,
5705,
13,
6200,
6
] |
Find the average ram mib size of the chip models that are never used by any phone. | SELECT AVG(ram_mib) FROM chip_model WHERE NOT model_name IN (SELECT chip_model FROM phone) | [
16742,
262,
2811,
15770,
285,
571,
2546,
286,
262,
11594,
4981,
326,
389,
1239,
973,
416,
597,
3072,
13,
46506,
35224,
7,
859,
62,
76,
571,
8,
16034,
11594,
62,
19849,
33411,
5626,
2746,
62,
3672,
3268,
357,
46506,
11594,
62,
19849,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2811,
15770,
285,
571,
2546,
286,
262,
11594,
4981,
326,
389,
1239,
973,
416,
597,
3072,
13,
46506,
35224,
7,
859,
62,
76,
571,
8,
16034,
11594,
62,
19849,
33411,
5626,
2746,
62,
3672,
3268,
357,
46506,
11594,
62,
19849,
... |
What is the brand in Cabanatuan? | SELECT branding FROM table_19215259_1 WHERE location = "Cabanatuan" | [
2061,
318,
262,
4508,
287,
15976,
272,
265,
7258,
30,
46506,
24150,
16034,
3084,
62,
17477,
1314,
25191,
62,
16,
33411,
4067,
796,
366,
34,
45094,
265,
7258,
1
] | [
1,
1,
1,
1,
1,
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,
4508,
287,
15976,
272,
265,
7258,
30,
46506,
24150,
16034,
3084,
62,
17477,
1314,
25191,
62,
16,
33411,
4067,
796,
366,
34,
45094,
265,
7258,
1
] |
What time slot is the episode 'the way we weren't' in | SELECT "Time slot (EST)" FROM table_16560 WHERE "Episode" = 'The Way We Weren''t' | [
2061,
640,
10852,
318,
262,
4471,
705,
1169,
835,
356,
6304,
470,
6,
287,
46506,
366,
7575,
10852,
357,
6465,
16725,
16034,
3084,
62,
20986,
1899,
33411,
366,
23758,
1,
796,
705,
464,
6378,
775,
370,
14226,
7061,
83,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
640,
10852,
318,
262,
4471,
705,
1169,
835,
356,
6304,
470,
6,
287,
46506,
366,
7575,
10852,
357,
6465,
16725,
16034,
3084,
62,
20986,
1899,
33411,
366,
23758,
1,
796,
705,
464,
6378,
775,
370,
14226,
7061,
83,
6
] |
what is minimum days of hospital stay of patients whose primary disease is chest pain? | SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "CHEST PAIN" | [
10919,
318,
5288,
1528,
286,
4436,
2652,
286,
3871,
3025,
4165,
4369,
318,
7721,
2356,
30,
46506,
20625,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
3398,
6465,
8147,
1268,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
5288,
1528,
286,
4436,
2652,
286,
3871,
3025,
4165,
4369,
318,
7721,
2356,
30,
46506,
20625,
7,
9536,
6826,
13,
12545,
62,
31712,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
3398,
6465,
8147,
1268,
1
] |
What is the average rating for right-footed players and left-footed players? | SELECT preferred_foot, AVG(overall_rating) FROM player_attributes GROUP BY preferred_foot | [
2061,
318,
262,
2811,
7955,
329,
826,
12,
43127,
1938,
290,
1364,
12,
43127,
1938,
30,
46506,
9871,
62,
5898,
11,
35224,
7,
2502,
439,
62,
8821,
8,
16034,
2137,
62,
1078,
7657,
44441,
11050,
9871,
62,
5898
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
826,
12,
43127,
1938,
290,
1364,
12,
43127,
1938,
30,
46506,
9871,
62,
5898,
11,
35224,
7,
2502,
439,
62,
8821,
8,
16034,
2137,
62,
1078,
7657,
44441,
11050,
9871,
62,
5898
] |
What are the distinct move in dates of the residents? | SELECT DISTINCT date_moved_in FROM residents | [
2061,
389,
262,
7310,
1445,
287,
9667,
286,
262,
5085,
30,
46506,
360,
8808,
1268,
4177,
3128,
62,
76,
2668,
62,
259,
16034,
5085
] | [
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,
7310,
1445,
287,
9667,
286,
262,
5085,
30,
46506,
360,
8808,
1268,
4177,
3128,
62,
76,
2668,
62,
259,
16034,
5085
] |
When 1 - 1 leckie 90+3' is the score what is the stadium? | SELECT stadium FROM table_21377473_7 WHERE score = "1 - 1 Leckie 90+3'" | [
2215,
352,
532,
352,
443,
694,
494,
4101,
10,
18,
6,
318,
262,
4776,
644,
318,
262,
10308,
30,
46506,
10308,
16034,
3084,
62,
26427,
3324,
37804,
62,
22,
33411,
4776,
796,
366,
16,
532,
352,
1004,
694,
494,
4101,
10,
18,
29653
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
352,
532,
352,
443,
694,
494,
4101,
10,
18,
6,
318,
262,
4776,
644,
318,
262,
10308,
30,
46506,
10308,
16034,
3084,
62,
26427,
3324,
37804,
62,
22,
33411,
4776,
796,
366,
16,
532,
352,
1004,
694,
494,
4101,
10,
18,
29653
] |
which company is below ratcliffe 's inc. in the table ? | SELECT "company" FROM table_204_325 WHERE id = (SELECT id FROM table_204_325 WHERE "company" = "ratcliffe's inc") + 1 | [
4758,
1664,
318,
2174,
4227,
33783,
705,
82,
753,
13,
287,
262,
3084,
5633,
46506,
366,
39722,
1,
16034,
3084,
62,
18638,
62,
26582,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
26582,
33411,
366,
39722,
1,
796,
366... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1664,
318,
2174,
4227,
33783,
705,
82,
753,
13,
287,
262,
3084,
5633,
46506,
366,
39722,
1,
16034,
3084,
62,
18638,
62,
26582,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
26582,
33411,
366,
39722,
1,
796,
366... |
what was the four most frequently ordered laboratory tests in 2104? | SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE STRFTIME('%y', lab.labresulttime) = '2104' GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 4 | [
10919,
373,
262,
1440,
749,
6777,
6149,
14010,
5254,
287,
362,
13464,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1440,
749,
6777,
6149,
14010,
5254,
287,
362,
13464,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
2... |
What is the tournament with greg rusedski as the opponent? | SELECT "Tournament" FROM table_44481 WHERE "Opponent" = 'greg rusedski' | [
2061,
318,
262,
7756,
351,
308,
2301,
374,
1484,
20545,
355,
262,
6125,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2598,
40271,
33411,
366,
27524,
3471,
1,
796,
705,
9903,
374,
1484,
20545,
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,
7756,
351,
308,
2301,
374,
1484,
20545,
355,
262,
6125,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2598,
40271,
33411,
366,
27524,
3471,
1,
796,
705,
9903,
374,
1484,
20545,
6
] |
in which state was a specific sample packed? | SELECT sample_pk, packst FROM sampledata15 | [
259,
543,
1181,
373,
257,
2176,
6291,
11856,
30,
46506,
6291,
62,
79,
74,
11,
2353,
301,
16034,
35846,
1045,
1314
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
543,
1181,
373,
257,
2176,
6291,
11856,
30,
46506,
6291,
62,
79,
74,
11,
2353,
301,
16034,
35846,
1045,
1314
] |
Name the total number of TD's for long more than 6 and cars less than 4 | SELECT COUNT("TD's") FROM table_51905 WHERE "Long" > '6' AND "Car." < '4' | [
5376,
262,
2472,
1271,
286,
13320,
338,
329,
890,
517,
621,
718,
290,
5006,
1342,
621,
604,
46506,
327,
28270,
7203,
21016,
338,
4943,
16034,
3084,
62,
47785,
2713,
33411,
366,
14617,
1,
1875,
705,
21,
6,
5357,
366,
9914,
526,
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
] | [
5376,
262,
2472,
1271,
286,
13320,
338,
329,
890,
517,
621,
718,
290,
5006,
1342,
621,
604,
46506,
327,
28270,
7203,
21016,
338,
4943,
16034,
3084,
62,
47785,
2713,
33411,
366,
14617,
1,
1875,
705,
21,
6,
5357,
366,
9914,
526,
1279,
... |
Give me the comparison about the sum of ID over the Nationality , and group by attribute Nationality by a bar chart, and display by the total number in desc. | SELECT Nationality, SUM(ID) FROM swimmer GROUP BY Nationality ORDER BY SUM(ID) DESC | [
23318,
502,
262,
7208,
546,
262,
2160,
286,
4522,
625,
262,
2351,
414,
837,
290,
1448,
416,
11688,
2351,
414,
416,
257,
2318,
8262,
11,
290,
3359,
416,
262,
2472,
1271,
287,
1715,
13,
46506,
2351,
414,
11,
35683,
7,
2389,
8,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
262,
7208,
546,
262,
2160,
286,
4522,
625,
262,
2351,
414,
837,
290,
1448,
416,
11688,
2351,
414,
416,
257,
2318,
8262,
11,
290,
3359,
416,
262,
2472,
1271,
287,
1715,
13,
46506,
2351,
414,
11,
35683,
7,
2389,
8,
16034,
... |
tell me the method of intake of fentanyl 2000 mcg in d5w 100 ml infusion final conc = 20 mcg/ml? | SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'fentanyl 2000 mcg in d5w 100 ml infusion final conc = 20 mcg/ml' | [
33331,
502,
262,
2446,
286,
10337,
286,
47804,
4751,
36650,
70,
287,
288,
20,
86,
1802,
25962,
35547,
2457,
1673,
796,
1160,
36650,
70,
14,
4029,
30,
46506,
360,
8808,
1268,
4177,
14103,
13,
81,
448,
1329,
1084,
16034,
14103,
33411,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
262,
2446,
286,
10337,
286,
47804,
4751,
36650,
70,
287,
288,
20,
86,
1802,
25962,
35547,
2457,
1673,
796,
1160,
36650,
70,
14,
4029,
30,
46506,
360,
8808,
1268,
4177,
14103,
13,
81,
448,
1329,
1084,
16034,
14103,
33411,
1... |
Name the played with losing bonus of 3 and points against of 426 | SELECT "Played" FROM table_6333 WHERE "Losing bonus" = '3' AND "Points against" = '426' | [
5376,
262,
2826,
351,
6078,
7202,
286,
513,
290,
2173,
1028,
286,
48065,
46506,
366,
11002,
276,
1,
16034,
3084,
62,
21,
20370,
33411,
366,
43,
2752,
7202,
1,
796,
705,
18,
6,
5357,
366,
40710,
1028,
1,
796,
705,
42780,
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
] | [
5376,
262,
2826,
351,
6078,
7202,
286,
513,
290,
2173,
1028,
286,
48065,
46506,
366,
11002,
276,
1,
16034,
3084,
62,
21,
20370,
33411,
366,
43,
2752,
7202,
1,
796,
705,
18,
6,
5357,
366,
40710,
1028,
1,
796,
705,
42780,
6
] |
What is the black caribbean population when the black African population is less than 10552.0? | SELECT MIN(black_caribbean_population) FROM table_19149550_7 WHERE black_african_population < 10552.0 | [
2061,
318,
262,
2042,
1097,
571,
14289,
3265,
618,
262,
2042,
5510,
3265,
318,
1342,
621,
838,
40427,
13,
15,
30,
46506,
20625,
7,
13424,
62,
7718,
571,
14289,
62,
39748,
8,
16034,
3084,
62,
1129,
1415,
3865,
1120,
62,
22,
33411,
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
] | [
2061,
318,
262,
2042,
1097,
571,
14289,
3265,
618,
262,
2042,
5510,
3265,
318,
1342,
621,
838,
40427,
13,
15,
30,
46506,
20625,
7,
13424,
62,
7718,
571,
14289,
62,
39748,
8,
16034,
3084,
62,
1129,
1415,
3865,
1120,
62,
22,
33411,
20... |
What is the Senators' division record? | SELECT "Division Record" FROM table_68044 WHERE "Team" = 'senators' | [
2061,
318,
262,
22195,
6,
7297,
1700,
30,
46506,
366,
24095,
1166,
13266,
1,
16034,
3084,
62,
37397,
2598,
33411,
366,
15592,
1,
796,
705,
6248,
2024,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
22195,
6,
7297,
1700,
30,
46506,
366,
24095,
1166,
13266,
1,
16034,
3084,
62,
37397,
2598,
33411,
366,
15592,
1,
796,
705,
6248,
2024,
6
] |
which patients have diagnoses icd9 code 7742? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "7742" | [
4758,
3871,
423,
40567,
14158,
67,
24,
2438,
8541,
3682,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
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
] | [
4758,
3871,
423,
40567,
14158,
67,
24,
2438,
8541,
3682,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
40567,
13,... |
What is the highest round with a pick# of 9, overll less than 468, and position of defensive back? | SELECT MAX("Round") FROM table_39002 WHERE "Pick #" = '9' AND "Position" = 'defensive back' AND "Overall" < '468' | [
2061,
318,
262,
4511,
2835,
351,
257,
2298,
2,
286,
860,
11,
625,
297,
1342,
621,
604,
3104,
11,
290,
2292,
286,
6110,
736,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
2670,
21601,
33411,
366,
31686,
1303,
1,
796,
705,
24,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2835,
351,
257,
2298,
2,
286,
860,
11,
625,
297,
1342,
621,
604,
3104,
11,
290,
2292,
286,
6110,
736,
30,
46506,
25882,
7203,
22685,
4943,
16034,
3084,
62,
2670,
21601,
33411,
366,
31686,
1303,
1,
796,
705,
24,... |
what's the points total when points against was points against? | SELECT "Points for" FROM table_35357 WHERE "Points against" = 'points against' | [
10919,
338,
262,
2173,
2472,
618,
2173,
1028,
373,
2173,
1028,
30,
46506,
366,
40710,
329,
1,
16034,
3084,
62,
2327,
27277,
33411,
366,
40710,
1028,
1,
796,
705,
13033,
1028,
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
] | [
10919,
338,
262,
2173,
2472,
618,
2173,
1028,
373,
2173,
1028,
30,
46506,
366,
40710,
329,
1,
16034,
3084,
62,
2327,
27277,
33411,
366,
40710,
1028,
1,
796,
705,
13033,
1028,
6
] |
who is the featuring when the series sorted is 6eb/b? | SELECT "Featuring" FROM table_47446 WHERE "Series Sorted" = '6eb/b' | [
8727,
318,
262,
9593,
618,
262,
2168,
23243,
318,
718,
1765,
14,
65,
30,
46506,
366,
37,
31347,
1,
16034,
3084,
62,
2857,
27260,
33411,
366,
27996,
311,
9741,
1,
796,
705,
21,
1765,
14,
65,
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
] | [
8727,
318,
262,
9593,
618,
262,
2168,
23243,
318,
718,
1765,
14,
65,
30,
46506,
366,
37,
31347,
1,
16034,
3084,
62,
2857,
27260,
33411,
366,
27996,
311,
9741,
1,
796,
705,
21,
1765,
14,
65,
6
] |
What event had Wang Bingyu for the skip? | SELECT "Event" FROM table_9349 WHERE "Skip" = 'wang bingyu' | [
2061,
1785,
550,
15233,
21631,
24767,
329,
262,
14267,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
24,
27371,
33411,
366,
50232,
1,
796,
705,
47562,
275,
278,
24767,
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,
1785,
550,
15233,
21631,
24767,
329,
262,
14267,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
24,
27371,
33411,
366,
50232,
1,
796,
705,
47562,
275,
278,
24767,
6
] |
What's the white for a black of Anand, a result of , 39 moves, and an opening of d37 queen's gambit declined? | SELECT white FROM table_name_20 WHERE black = "anand" AND result = "½–½" AND moves = 39 AND opening = "d37 queen's gambit declined" | [
2061,
338,
262,
2330,
329,
257,
2042,
286,
1052,
392,
11,
257,
1255,
286,
837,
5014,
6100,
11,
290,
281,
4756,
286,
288,
2718,
16599,
338,
9106,
2545,
7392,
30,
46506,
2330,
16034,
3084,
62,
3672,
62,
1238,
33411,
2042,
796,
366,
27... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2330,
329,
257,
2042,
286,
1052,
392,
11,
257,
1255,
286,
837,
5014,
6100,
11,
290,
281,
4756,
286,
288,
2718,
16599,
338,
9106,
2545,
7392,
30,
46506,
2330,
16034,
3084,
62,
3672,
62,
1238,
33411,
2042,
796,
366,
27... |
how many patients whose ethnicity is white and days of hospital stay is greater than 4? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.days_stay > "4" | [
4919,
867,
3871,
3025,
26289,
318,
2330,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
604,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2330,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
604,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709... |
what is the series when the team is @boston and the game is smaller than 3? | SELECT "Series" FROM table_44356 WHERE "Team" = '@boston' AND "Game" < '3' | [
10919,
318,
262,
2168,
618,
262,
1074,
318,
2488,
65,
5744,
290,
262,
983,
318,
4833,
621,
513,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
2598,
32066,
33411,
366,
15592,
1,
796,
705,
31,
65,
5744,
6,
5357,
366,
8777,
1,
1279,
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
] | [
10919,
318,
262,
2168,
618,
262,
1074,
318,
2488,
65,
5744,
290,
262,
983,
318,
4833,
621,
513,
30,
46506,
366,
27996,
1,
16034,
3084,
62,
2598,
32066,
33411,
366,
15592,
1,
796,
705,
31,
65,
5744,
6,
5357,
366,
8777,
1,
1279,
705... |
What integrated school had a decile of 2 and a roll larger than 55? | SELECT "Name" FROM table_80226 WHERE "Decile" = '2' AND "Authority" = 'integrated' AND "Roll" > '55' | [
2061,
11521,
1524,
550,
257,
875,
576,
286,
362,
290,
257,
4836,
4025,
621,
5996,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1795,
24909,
33411,
366,
10707,
576,
1,
796,
705,
17,
6,
5357,
366,
13838,
414,
1,
796,
705,
18908,
4111,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11521,
1524,
550,
257,
875,
576,
286,
362,
290,
257,
4836,
4025,
621,
5996,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
1795,
24909,
33411,
366,
10707,
576,
1,
796,
705,
17,
6,
5357,
366,
13838,
414,
1,
796,
705,
18908,
4111,
... |
count the number of patients whose admission location is emergency room admit and diagnoses icd9 code is 99702? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND diagnoses.icd9_code = "99702" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
40567,
14158,
67,
24,
2438,
318,
7388,
36680,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
6334,
2119,
9159,
290,
40567,
14158,
67,
24,
2438,
318,
7388,
36680,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1... |
What episode premier received 0.680 million viewers? | SELECT original_airdate FROM table_23392257_4 WHERE viewers__millions_ = "0.680" | [
2061,
4471,
18256,
2722,
657,
13,
37397,
1510,
10209,
30,
46506,
2656,
62,
958,
4475,
16034,
3084,
62,
1954,
2670,
18182,
22,
62,
19,
33411,
10209,
834,
17805,
507,
62,
796,
366,
15,
13,
37397,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4471,
18256,
2722,
657,
13,
37397,
1510,
10209,
30,
46506,
2656,
62,
958,
4475,
16034,
3084,
62,
1954,
2670,
18182,
22,
62,
19,
33411,
10209,
834,
17805,
507,
62,
796,
366,
15,
13,
37397,
1
] |
What is the new classification for the University of Arizona Western in the Collegiate Lacrosse League? | SELECT "New Classification" FROM table_19749 WHERE "Institution" = 'University of Arizona' | [
2061,
318,
262,
649,
17923,
329,
262,
2059,
286,
7943,
4885,
287,
262,
34890,
9386,
23115,
39314,
4041,
30,
46506,
366,
3791,
40984,
1,
16034,
3084,
62,
24991,
2920,
33411,
366,
6310,
2738,
1,
796,
705,
21009,
286,
7943,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
649,
17923,
329,
262,
2059,
286,
7943,
4885,
287,
262,
34890,
9386,
23115,
39314,
4041,
30,
46506,
366,
3791,
40984,
1,
16034,
3084,
62,
24991,
2920,
33411,
366,
6310,
2738,
1,
796,
705,
21009,
286,
7943,
6
] |
Tell me the partner for opponents of anamika bhargava sylvia krywacz | SELECT partner FROM table_name_15 WHERE opponents_in_the_final = "anamika bhargava sylvia krywacz" | [
24446,
502,
262,
5212,
329,
7691,
286,
281,
321,
9232,
275,
71,
853,
4170,
827,
6780,
544,
479,
563,
86,
330,
89,
46506,
5212,
16034,
3084,
62,
3672,
62,
1314,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
272,
321,
9232,
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
] | [
24446,
502,
262,
5212,
329,
7691,
286,
281,
321,
9232,
275,
71,
853,
4170,
827,
6780,
544,
479,
563,
86,
330,
89,
46506,
5212,
16034,
3084,
62,
3672,
62,
1314,
33411,
7691,
62,
259,
62,
1169,
62,
20311,
796,
366,
272,
321,
9232,
2... |
Bar chart of how many openning year from each openning year | SELECT Openning_year, COUNT(Openning_year) FROM cinema GROUP BY Openning_year | [
10374,
8262,
286,
703,
867,
1280,
768,
614,
422,
1123,
1280,
768,
614,
46506,
4946,
768,
62,
1941,
11,
327,
28270,
7,
11505,
768,
62,
1941,
8,
16034,
22041,
44441,
11050,
4946,
768,
62,
1941
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
286,
703,
867,
1280,
768,
614,
422,
1123,
1280,
768,
614,
46506,
4946,
768,
62,
1941,
11,
327,
28270,
7,
11505,
768,
62,
1941,
8,
16034,
22041,
44441,
11050,
4946,
768,
62,
1941
] |
What was the district Incumbent Julius Kahn was in that was smaller than 1906? | SELECT "District" FROM table_36243 WHERE "First elected" < '1906' AND "Incumbent" = 'julius kahn' | [
2061,
373,
262,
4783,
3457,
2178,
298,
32834,
42264,
373,
287,
326,
373,
4833,
621,
40538,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
2623,
26660,
33411,
366,
5962,
7018,
1,
1279,
705,
1129,
3312,
6,
5357,
366,
25517,
2178,
298,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4783,
3457,
2178,
298,
32834,
42264,
373,
287,
326,
373,
4833,
621,
40538,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
2623,
26660,
33411,
366,
5962,
7018,
1,
1279,
705,
1129,
3312,
6,
5357,
366,
25517,
2178,
298,
1,
... |
How many laps did the 6th placed in 1998 complete? | SELECT SUM("Laps") FROM table_67856 WHERE "Pos." = '6th' AND "Year" = '1998' | [
2437,
867,
24590,
750,
262,
718,
400,
4624,
287,
7795,
1844,
30,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
30924,
3980,
33411,
366,
21604,
526,
796,
705,
21,
400,
6,
5357,
366,
17688,
1,
796,
705,
21113,
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
] | [
2437,
867,
24590,
750,
262,
718,
400,
4624,
287,
7795,
1844,
30,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
30924,
3980,
33411,
366,
21604,
526,
796,
705,
21,
400,
6,
5357,
366,
17688,
1,
796,
705,
21113,
6
] |
how many hours have been passed since patient 004-64091 was diagnosed with s/p maze procedure to the first time on their current hospital encounter? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-64091... | [
4919,
867,
2250,
423,
587,
3804,
1201,
5827,
3571,
19,
12,
31102,
6420,
373,
14641,
351,
264,
14,
79,
31237,
8771,
284,
262,
717,
640,
319,
511,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
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... | [
4919,
867,
2250,
423,
587,
3804,
1201,
5827,
3571,
19,
12,
31102,
6420,
373,
14641,
351,
264,
14,
79,
31237,
8771,
284,
262,
717,
640,
319,
511,
1459,
4436,
8791,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
3... |
How many services are there? | SELECT COUNT(*) FROM services | [
2437,
867,
2594,
389,
612,
30,
46506,
327,
28270,
7,
28104,
16034,
2594
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2594,
389,
612,
30,
46506,
327,
28270,
7,
28104,
16034,
2594
] |
What year was trio brdeact wind allass the entrant? | SELECT "Year" FROM table_70433 WHERE "Entrant" = 'trio brdeact wind allass' | [
2061,
614,
373,
19886,
865,
2934,
529,
2344,
477,
562,
262,
920,
5250,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
32869,
2091,
33411,
366,
14539,
5250,
1,
796,
705,
83,
27250,
865,
2934,
529,
2344,
477,
562,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
614,
373,
19886,
865,
2934,
529,
2344,
477,
562,
262,
920,
5250,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
32869,
2091,
33411,
366,
14539,
5250,
1,
796,
705,
83,
27250,
865,
2934,
529,
2344,
477,
562,
6
] |
For those employees who was hired before 2002-06-21, show me the trend about department_id over hire_date with a line chart, sort from low to high by the X-axis. | SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
262,
5182,
546,
5011,
62,
312,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
11,
3297,
422,
1877,
284,
1029,
416,
262,
1395,
12,
22704,
13,
46506,
36210,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
262,
5182,
546,
5011,
62,
312,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
11,
3297,
422,
1877,
284,
1029,
416,
262,
1395,
12,
22704,
13,
46506,
36210,
... |
What is the highest Byes by Anakie who has an Against smaller than 2275? | SELECT MAX("Byes") FROM table_12408 WHERE "Geelong DFL" = 'anakie' AND "Against" < '2275' | [
2061,
318,
262,
4511,
2750,
274,
416,
1052,
461,
494,
508,
468,
281,
12914,
4833,
621,
362,
23195,
30,
46506,
25882,
7203,
3886,
274,
4943,
16034,
3084,
62,
1065,
26200,
33411,
366,
10082,
21537,
360,
3697,
1,
796,
705,
272,
461,
494,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
2750,
274,
416,
1052,
461,
494,
508,
468,
281,
12914,
4833,
621,
362,
23195,
30,
46506,
25882,
7203,
3886,
274,
4943,
16034,
3084,
62,
1065,
26200,
33411,
366,
10082,
21537,
360,
3697,
1,
796,
705,
272,
461,
494,... |
Which club has a try bonus of 9 and 43 tries against? | SELECT "Club" FROM table_66832 WHERE "Tries against" = '43' AND "Try bonus" = '9' | [
13828,
3430,
468,
257,
1949,
7202,
286,
860,
290,
5946,
8404,
1028,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
35809,
2624,
33411,
366,
51,
1678,
1028,
1,
796,
705,
3559,
6,
5357,
366,
23433,
7202,
1,
796,
705,
24,
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
] | [
13828,
3430,
468,
257,
1949,
7202,
286,
860,
290,
5946,
8404,
1028,
30,
46506,
366,
42350,
1,
16034,
3084,
62,
35809,
2624,
33411,
366,
51,
1678,
1028,
1,
796,
705,
3559,
6,
5357,
366,
23433,
7202,
1,
796,
705,
24,
6
] |
What is the total number of Year of Intro(s), when Country of Origin is Soviet Union, when Type is Reusable, when Primary Cartridge is 40mm, and when Name/ Designation is RPG-29? | SELECT COUNT("Year of intro") FROM table_7704 WHERE "Country of origin" = 'soviet union' AND "Type" = 'reusable' AND "Primary cartridge" = '40mm' AND "Name/ designation" = 'rpg-29' | [
2061,
318,
262,
2472,
1271,
286,
6280,
286,
37219,
7,
82,
828,
618,
12946,
286,
19349,
318,
7570,
4479,
11,
618,
5994,
318,
797,
31979,
11,
618,
21087,
13690,
12818,
318,
2319,
3020,
11,
290,
618,
6530,
14,
8495,
341,
318,
12909,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2472,
1271,
286,
6280,
286,
37219,
7,
82,
828,
618,
12946,
286,
19349,
318,
7570,
4479,
11,
618,
5994,
318,
797,
31979,
11,
618,
21087,
13690,
12818,
318,
2319,
3020,
11,
290,
618,
6530,
14,
8495,
341,
318,
12909,
12... |
What was the attendance when they played at Detroit Lions? | SELECT "Attendance" FROM table_77282 WHERE "Opponent" = 'at detroit lions' | [
2061,
373,
262,
14858,
618,
484,
2826,
379,
8488,
14536,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
3324,
32568,
33411,
366,
27524,
3471,
1,
796,
705,
265,
1062,
7775,
31420,
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
] | [
2061,
373,
262,
14858,
618,
484,
2826,
379,
8488,
14536,
30,
46506,
366,
8086,
437,
590,
1,
16034,
3084,
62,
3324,
32568,
33411,
366,
27524,
3471,
1,
796,
705,
265,
1062,
7775,
31420,
6
] |
what is language of subject name cynthia gomez? | SELECT demographic.language FROM demographic WHERE demographic.name = "Cynthia Gomez" | [
10919,
318,
3303,
286,
2426,
1438,
19768,
31079,
308,
30010,
30,
46506,
16728,
13,
16129,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
34,
2047,
31079,
33231,
1
] | [
1,
1,
1,
1,
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,
3303,
286,
2426,
1438,
19768,
31079,
308,
30010,
30,
46506,
16728,
13,
16129,
16034,
16728,
33411,
16728,
13,
3672,
796,
366,
34,
2047,
31079,
33231,
1
] |
What's the zodiac sing for the month abbreviated as . .? | SELECT "Zodiac sign" FROM table_22135 WHERE "Abbr." = 'มี.ค.' | [
2061,
338,
262,
1976,
40096,
1702,
329,
262,
1227,
37640,
515,
355,
764,
764,
30,
46506,
366,
57,
40096,
1051,
1,
16034,
3084,
62,
1828,
17059,
33411,
366,
4826,
1671,
526,
796,
705,
19567,
94,
19567,
113,
13,
19567,
226,
2637
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
1976,
40096,
1702,
329,
262,
1227,
37640,
515,
355,
764,
764,
30,
46506,
366,
57,
40096,
1051,
1,
16034,
3084,
62,
1828,
17059,
33411,
366,
4826,
1671,
526,
796,
705,
19567,
94,
19567,
113,
13,
19567,
226,
2637
] |
count the number of times patient 006-80884 has had a output (ml)-chest tube #1 right lateral output since 08/2102. | SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-80884')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.ce... | [
9127,
262,
1271,
286,
1661,
5827,
3571,
21,
12,
1795,
40353,
468,
550,
257,
5072,
357,
4029,
13219,
46713,
12403,
1303,
16,
826,
25653,
5072,
1201,
8487,
14,
17,
15377,
13,
46506,
327,
28270,
7,
28104,
16034,
10337,
22915,
33411,
10337,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1661,
5827,
3571,
21,
12,
1795,
40353,
468,
550,
257,
5072,
357,
4029,
13219,
46713,
12403,
1303,
16,
826,
25653,
5072,
1201,
8487,
14,
17,
15377,
13,
46506,
327,
28270,
7,
28104,
16034,
10337,
22915,
33411,
10337,... |
how many hours have passed since the last time patient 76332 potassium phosphate was prescribed on the current hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 76332 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'potassium phosphate' ORDER BY prescriptions.... | [
4919,
867,
2250,
423,
3804,
1201,
262,
938,
640,
5827,
8684,
32148,
33156,
46926,
373,
14798,
319,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2250,
423,
3804,
1201,
262,
938,
640,
5827,
8684,
32148,
33156,
46926,
373,
14798,
319,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
9792... |
How many seasons did the show run in Poland? | SELECT "Seasons" FROM table_21955 WHERE "Country / Region" = 'Poland' | [
2437,
867,
7028,
750,
262,
905,
1057,
287,
12873,
30,
46506,
366,
4653,
2812,
1,
16034,
3084,
62,
28896,
2816,
33411,
366,
33921,
1220,
17718,
1,
796,
705,
8017,
392,
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
] | [
2437,
867,
7028,
750,
262,
905,
1057,
287,
12873,
30,
46506,
366,
4653,
2812,
1,
16034,
3084,
62,
28896,
2816,
33411,
366,
33921,
1220,
17718,
1,
796,
705,
8017,
392,
6
] |
Draw a bar chart about the distribution of Team_Name and All_Games_Percent , order by the All_Games_Percent in ascending. | SELECT Team_Name, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
4816,
62,
5376,
290,
1439,
62,
24474,
62,
31905,
837,
1502,
416,
262,
1439,
62,
24474,
62,
31905,
287,
41988,
13,
46506,
4816,
62,
5376,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
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
] | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
4816,
62,
5376,
290,
1439,
62,
24474,
62,
31905,
837,
1502,
416,
262,
1439,
62,
24474,
62,
31905,
287,
41988,
13,
46506,
4816,
62,
5376,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
1... |
What is the average year that has a final Tour position of 54 and a final Vuelta position over 55? | SELECT AVG("Year") FROM table_71168 WHERE "Final Position - Tour" = '54' AND "Final Position - Vuelta" > '55' | [
2061,
318,
262,
2811,
614,
326,
468,
257,
2457,
9852,
2292,
286,
7175,
290,
257,
2457,
35816,
12514,
2292,
625,
5996,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
22,
1157,
3104,
33411,
366,
19006,
23158,
532,
9852,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
614,
326,
468,
257,
2457,
9852,
2292,
286,
7175,
290,
257,
2457,
35816,
12514,
2292,
625,
5996,
30,
46506,
35224,
7203,
17688,
4943,
16034,
3084,
62,
22,
1157,
3104,
33411,
366,
19006,
23158,
532,
9852,
1,
796,
7... |
in what playoffs the league was in the semifinals | SELECT "League" FROM table_22801 WHERE "Playoffs" = 'Semifinals' | [
259,
644,
12980,
262,
4652,
373,
287,
262,
47633,
46506,
366,
24623,
1,
16034,
3084,
62,
23815,
486,
33411,
366,
11002,
8210,
1,
796,
705,
13900,
361,
6897,
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
] | [
259,
644,
12980,
262,
4652,
373,
287,
262,
47633,
46506,
366,
24623,
1,
16034,
3084,
62,
23815,
486,
33411,
366,
11002,
8210,
1,
796,
705,
13900,
361,
6897,
6
] |
What is the total revenue of companies with revenue greater than the lowest revenue of any manufacturer in Austin? | SELECT SUM(revenue) FROM manufacturers WHERE revenue > (SELECT MIN(revenue) FROM manufacturers WHERE headquarter = 'Austin') | [
2061,
318,
262,
2472,
6426,
286,
2706,
351,
6426,
3744,
621,
262,
9016,
6426,
286,
597,
11554,
287,
9533,
30,
46506,
35683,
7,
260,
4080,
8,
16034,
11372,
33411,
6426,
1875,
357,
46506,
20625,
7,
260,
4080,
8,
16034,
11372,
33411,
118... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6426,
286,
2706,
351,
6426,
3744,
621,
262,
9016,
6426,
286,
597,
11554,
287,
9533,
30,
46506,
35683,
7,
260,
4080,
8,
16034,
11372,
33411,
6426,
1875,
357,
46506,
20625,
7,
260,
4080,
8,
16034,
11372,
33411,
118... |
Which Club has a League Cup goals of 0, and a League goals of 11, and a Scorer of joe laidlaw? | SELECT club FROM table_name_74 WHERE league_cup_goals = 0 AND league_goals = "11" AND scorer = "joe laidlaw" | [
13828,
6289,
468,
257,
4041,
5454,
4661,
286,
657,
11,
290,
257,
4041,
4661,
286,
1367,
11,
290,
257,
1446,
11934,
286,
2525,
68,
8104,
6270,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
4524,
33411,
4652,
62,
25244,
62,
2188,
874,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
6289,
468,
257,
4041,
5454,
4661,
286,
657,
11,
290,
257,
4041,
4661,
286,
1367,
11,
290,
257,
1446,
11934,
286,
2525,
68,
8104,
6270,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
4524,
33411,
4652,
62,
25244,
62,
2188,
874,
7... |
Name the record for may 3 | SELECT record FROM table_name_92 WHERE date = "may 3" | [
5376,
262,
1700,
329,
743,
513,
46506,
1700,
16034,
3084,
62,
3672,
62,
5892,
33411,
3128,
796,
366,
11261,
513,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1700,
329,
743,
513,
46506,
1700,
16034,
3084,
62,
3672,
62,
5892,
33411,
3128,
796,
366,
11261,
513,
1
] |
What is the elevator when the elector is Pietro Colonna? | SELECT "Elevator" FROM table_13850 WHERE "Elector" = 'pietro colonna' | [
2061,
318,
262,
20932,
618,
262,
43191,
318,
36548,
305,
1623,
6415,
30,
46506,
366,
36,
2768,
1352,
1,
16034,
3084,
62,
20107,
1120,
33411,
366,
19453,
273,
1,
796,
705,
79,
1155,
305,
951,
6415,
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,
20932,
618,
262,
43191,
318,
36548,
305,
1623,
6415,
30,
46506,
366,
36,
2768,
1352,
1,
16034,
3084,
62,
20107,
1120,
33411,
366,
19453,
273,
1,
796,
705,
79,
1155,
305,
951,
6415,
6
] |
which representative was the earliest to take office ? | SELECT "name" FROM table_203_16 ORDER BY "took office" LIMIT 1 | [
4758,
8852,
373,
262,
14555,
284,
1011,
2607,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
1433,
38678,
11050,
366,
83,
566,
2607,
1,
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
] | [
4758,
8852,
373,
262,
14555,
284,
1011,
2607,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
1433,
38678,
11050,
366,
83,
566,
2607,
1,
27564,
2043,
352
] |
what's the result with district being kansas 1 | SELECT "Result" FROM table_18672 WHERE "District" = 'Kansas 1' | [
10919,
338,
262,
1255,
351,
4783,
852,
479,
6618,
352,
46506,
366,
23004,
1,
16034,
3084,
62,
1507,
43864,
33411,
366,
44857,
1,
796,
705,
43451,
352,
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
] | [
10919,
338,
262,
1255,
351,
4783,
852,
479,
6618,
352,
46506,
366,
23004,
1,
16034,
3084,
62,
1507,
43864,
33411,
366,
44857,
1,
796,
705,
43451,
352,
6
] |
What is High Assists, when Team is '@ Milwaukee'? | SELECT high_assists FROM table_name_83 WHERE team = "@ milwaukee" | [
2061,
318,
3334,
2195,
1023,
11,
618,
4816,
318,
705,
31,
16629,
30960,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
5999,
33411,
1074,
796,
44212,
1465,
15428,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3334,
2195,
1023,
11,
618,
4816,
318,
705,
31,
16629,
30960,
46506,
1029,
62,
562,
1023,
16034,
3084,
62,
3672,
62,
5999,
33411,
1074,
796,
44212,
1465,
15428,
1
] |
What Season is listed for the Player of Jon Stefansson? | SELECT "Season" FROM table_38361 WHERE "Player" = 'jon stefansson' | [
2061,
7369,
318,
5610,
329,
262,
7853,
286,
5966,
22350,
44038,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
2548,
35195,
33411,
366,
14140,
1,
796,
705,
46286,
336,
891,
44038,
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,
7369,
318,
5610,
329,
262,
7853,
286,
5966,
22350,
44038,
30,
46506,
366,
18960,
1,
16034,
3084,
62,
2548,
35195,
33411,
366,
14140,
1,
796,
705,
46286,
336,
891,
44038,
6
] |
What is the home of the team with Carlos Boozer (27) as the leading scorer? | SELECT home FROM table_name_1 WHERE leading_scorer = "carlos boozer (27)" | [
2061,
318,
262,
1363,
286,
262,
1074,
351,
17409,
21458,
9107,
357,
1983,
8,
355,
262,
3756,
30664,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
16,
33411,
3756,
62,
1416,
11934,
796,
366,
66,
7063,
418,
1489,
8590,
263,
357,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1363,
286,
262,
1074,
351,
17409,
21458,
9107,
357,
1983,
8,
355,
262,
3756,
30664,
30,
46506,
1363,
16034,
3084,
62,
3672,
62,
16,
33411,
3756,
62,
1416,
11934,
796,
366,
66,
7063,
418,
1489,
8590,
263,
357,
1983,
1... |
What is the To par when Lanny Wadkins is the player? | SELECT "To par" FROM table_59752 WHERE "Player" = 'lanny wadkins' | [
2061,
318,
262,
1675,
1582,
618,
406,
7737,
48986,
5331,
318,
262,
2137,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
3270,
43665,
33411,
366,
14140,
1,
796,
705,
75,
7737,
266,
324,
5331,
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,
1675,
1582,
618,
406,
7737,
48986,
5331,
318,
262,
2137,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
3270,
43665,
33411,
366,
14140,
1,
796,
705,
75,
7737,
266,
324,
5331,
6
] |
Which strain has 1,312 genes? | SELECT strain FROM table_name_50 WHERE genes = "1,312" | [
13828,
14022,
468,
352,
11,
27970,
10812,
30,
46506,
14022,
16034,
3084,
62,
3672,
62,
1120,
33411,
10812,
796,
366,
16,
11,
27970,
1
] | [
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,
14022,
468,
352,
11,
27970,
10812,
30,
46506,
14022,
16034,
3084,
62,
3672,
62,
1120,
33411,
10812,
796,
366,
16,
11,
27970,
1
] |
Which tournament won with a score of 66-68-70-70=274? | SELECT "Tournament" FROM table_11055 WHERE "Winning score" = '66-68-70-70=274' | [
13828,
7756,
1839,
351,
257,
4776,
286,
7930,
12,
3104,
12,
2154,
12,
2154,
28,
28857,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
11442,
2816,
33411,
366,
16643,
768,
4776,
1,
796,
705,
2791,
12,
3104,
12,
2154,
12,
2154,
28,
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
] | [
13828,
7756,
1839,
351,
257,
4776,
286,
7930,
12,
3104,
12,
2154,
12,
2154,
28,
28857,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
11442,
2816,
33411,
366,
16643,
768,
4776,
1,
796,
705,
2791,
12,
3104,
12,
2154,
12,
2154,
28,
2... |
how many of the paients with icd9 code 41021 were admitted on phys referral/normal deli? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND diagnoses.icd9_code = "41021" | [
4919,
867,
286,
262,
279,
1872,
658,
351,
14158,
67,
24,
2438,
32921,
2481,
547,
6848,
319,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
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... | [
4919,
867,
286,
262,
279,
1872,
658,
351,
14158,
67,
24,
2438,
32921,
2481,
547,
6848,
319,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... |
What is the lowest Wins, when Losses is less than 10, when Goal Difference is less than 46, when Goals is less than 63, and when Played is less than 30? | SELECT MIN("Wins") FROM table_50769 WHERE "Losses" < '10' AND "Goal Difference" < '46' AND "Goals for" < '63' AND "Played" < '30' | [
2061,
318,
262,
9016,
24423,
11,
618,
22014,
274,
318,
1342,
621,
838,
11,
618,
25376,
43795,
318,
1342,
621,
6337,
11,
618,
28510,
318,
1342,
621,
8093,
11,
290,
618,
33101,
318,
1342,
621,
1542,
30,
46506,
20625,
7203,
54,
1040,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
9016,
24423,
11,
618,
22014,
274,
318,
1342,
621,
838,
11,
618,
25376,
43795,
318,
1342,
621,
6337,
11,
618,
28510,
318,
1342,
621,
8093,
11,
290,
618,
33101,
318,
1342,
621,
1542,
30,
46506,
20625,
7203,
54,
1040,
4... |
Who is the player from Arizona state with a round less than 7? | SELECT player FROM table_name_84 WHERE round < 7 AND college = "arizona state" | [
8241,
318,
262,
2137,
422,
7943,
1181,
351,
257,
2835,
1342,
621,
767,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5705,
33411,
2835,
1279,
767,
5357,
4152,
796,
366,
283,
528,
4450,
1181,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
422,
7943,
1181,
351,
257,
2835,
1342,
621,
767,
30,
46506,
2137,
16034,
3084,
62,
3672,
62,
5705,
33411,
2835,
1279,
767,
5357,
4152,
796,
366,
283,
528,
4450,
1181,
1
] |
List the positions of players whose average number of points scored by that position is larger than 20, compare the number of positions. | SELECT Position, COUNT(Position) FROM player GROUP BY Position HAVING AVG(Points) >= 20 | [
8053,
262,
6116,
286,
1938,
3025,
2811,
1271,
286,
2173,
7781,
416,
326,
2292,
318,
4025,
621,
1160,
11,
8996,
262,
1271,
286,
6116,
13,
46506,
23158,
11,
327,
28270,
7,
26545,
8,
16034,
2137,
44441,
11050,
23158,
367,
10116,
2751,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
6116,
286,
1938,
3025,
2811,
1271,
286,
2173,
7781,
416,
326,
2292,
318,
4025,
621,
1160,
11,
8996,
262,
1271,
286,
6116,
13,
46506,
23158,
11,
327,
28270,
7,
26545,
8,
16034,
2137,
44441,
11050,
23158,
367,
10116,
2751,
35... |
What company does Simon Stone direct earlier than 2011? | SELECT company FROM table_name_14 WHERE director = "simon stone" AND year < 2011 | [
2061,
1664,
857,
11288,
8026,
1277,
2961,
621,
2813,
30,
46506,
1664,
16034,
3084,
62,
3672,
62,
1415,
33411,
3437,
796,
366,
14323,
261,
7815,
1,
5357,
614,
1279,
2813
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1664,
857,
11288,
8026,
1277,
2961,
621,
2813,
30,
46506,
1664,
16034,
3084,
62,
3672,
62,
1415,
33411,
3437,
796,
366,
14323,
261,
7815,
1,
5357,
614,
1279,
2813
] |
how many patients whose admission location is phys referral/normal deli and procedure long title is enteral infusion of concentrated nutritional substances? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND procedures.long_title = "Enteral infusion of concentrated nutritional substances" | [
4919,
867,
3871,
3025,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
290,
8771,
890,
3670,
318,
920,
1691,
35547,
286,
17298,
24000,
15938,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
290,
8771,
890,
3670,
318,
920,
1691,
35547,
286,
17298,
24000,
15938,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
167... |
Are there prerequisite classes I should take before I declare a major in CZECH ? | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE course.department LIKE '%CZECH%' AND program_course.category LIKE 'PreMajor' AND program_course.course_id = course.course_id | [
8491,
612,
43119,
6097,
314,
815,
1011,
878,
314,
13627,
257,
1688,
287,
327,
57,
25994,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8491,
612,
43119,
6097,
314,
815,
1011,
878,
314,
13627,
257,
1688,
287,
327,
57,
25994,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1781... |
Who is the leading scorer of the game on 20 November 2007? | SELECT "Leading scorer" FROM table_52481 WHERE "Date" = '20 november 2007' | [
8241,
318,
262,
3756,
30664,
286,
262,
983,
319,
1160,
3389,
4343,
30,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
48057,
6659,
33411,
366,
10430,
1,
796,
705,
1238,
645,
303,
1916,
4343,
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,
318,
262,
3756,
30664,
286,
262,
983,
319,
1160,
3389,
4343,
30,
46506,
366,
20451,
278,
30664,
1,
16034,
3084,
62,
48057,
6659,
33411,
366,
10430,
1,
796,
705,
1238,
645,
303,
1916,
4343,
6
] |
what was the average value of patient 76005's rapamycin since 87 months ago? | SELECT AVG(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 76005) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'rapamycin') AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '... | [
10919,
373,
262,
2811,
1988,
286,
5827,
767,
8054,
20,
338,
4095,
14814,
17879,
1201,
10083,
1933,
2084,
30,
46506,
35224,
7,
23912,
31534,
13,
2100,
84,
44709,
8,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
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,
373,
262,
2811,
1988,
286,
5827,
767,
8054,
20,
338,
4095,
14814,
17879,
1201,
10083,
1933,
2084,
30,
46506,
35224,
7,
23912,
31534,
13,
2100,
84,
44709,
8,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
... |
How many players led Game #66 in scoring? | SELECT COUNT(high_points) FROM table_13619053_8 WHERE game = 66 | [
2437,
867,
1938,
2957,
3776,
1303,
2791,
287,
9689,
30,
46506,
327,
28270,
7,
8929,
62,
13033,
8,
16034,
3084,
62,
20809,
1129,
2713,
18,
62,
23,
33411,
983,
796,
7930
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1938,
2957,
3776,
1303,
2791,
287,
9689,
30,
46506,
327,
28270,
7,
8929,
62,
13033,
8,
16034,
3084,
62,
20809,
1129,
2713,
18,
62,
23,
33411,
983,
796,
7930
] |
what is minimum age of patients whose marital status is married and admission location is phys referral/normal deli? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" | [
10919,
318,
5288,
2479,
286,
3871,
3025,
29555,
3722,
318,
6405,
290,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
40... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
5288,
2479,
286,
3871,
3025,
29555,
3722,
318,
6405,
290,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
40... |
Which position did the drafted player affiliated with UCLA play? | SELECT position FROM table_name_85 WHERE affiliation = "ucla" | [
13828,
2292,
750,
262,
15937,
2137,
18552,
351,
21750,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
5332,
33411,
26218,
796,
366,
36616,
64,
1
] | [
1,
1,
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,
2292,
750,
262,
15937,
2137,
18552,
351,
21750,
711,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
5332,
33411,
26218,
796,
366,
36616,
64,
1
] |
Find ACC_Regular_Season and School_ID , and visualize them by a bar chart, and order from high to low by the y axis please. | SELECT ACC_Regular_Season, School_ID FROM basketball_match ORDER BY School_ID DESC | [
16742,
15859,
62,
40164,
62,
18960,
290,
3961,
62,
2389,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1502,
422,
1029,
284,
1877,
416,
262,
331,
16488,
3387,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
3961,
62,
2389,
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
] | [
16742,
15859,
62,
40164,
62,
18960,
290,
3961,
62,
2389,
837,
290,
38350,
606,
416,
257,
2318,
8262,
11,
290,
1502,
422,
1029,
284,
1877,
416,
262,
331,
16488,
3387,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
3961,
62,
2389,
16034,
... |
What are the minimum and maximum vote percents of elections? | SELECT MIN(vote_percent), MAX(vote_percent) FROM election | [
2061,
389,
262,
5288,
290,
5415,
3015,
583,
66,
658,
286,
7024,
30,
46506,
20625,
7,
27257,
62,
25067,
828,
25882,
7,
27257,
62,
25067,
8,
16034,
3071
] | [
1,
1,
1,
1,
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,
5288,
290,
5415,
3015,
583,
66,
658,
286,
7024,
30,
46506,
20625,
7,
27257,
62,
25067,
828,
25882,
7,
27257,
62,
25067,
8,
16034,
3071
] |
What is the total number of assists when Edmundo Rodriguez is playing the position of striker, less than 4 goals were scored, and the minutes were less than 473? | SELECT COUNT("Assists") FROM table_40240 WHERE "Position" = 'striker' AND "Goals" < '4' AND "Player" = 'edmundo rodriguez' AND "Minutes" < '473' | [
2061,
318,
262,
2472,
1271,
286,
13648,
618,
35646,
78,
19391,
318,
2712,
262,
2292,
286,
19099,
11,
1342,
621,
604,
4661,
547,
7781,
11,
290,
262,
2431,
547,
1342,
621,
604,
4790,
30,
46506,
327,
28270,
7203,
8021,
1023,
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,
2472,
1271,
286,
13648,
618,
35646,
78,
19391,
318,
2712,
262,
2292,
286,
19099,
11,
1342,
621,
604,
4661,
547,
7781,
11,
290,
262,
2431,
547,
1342,
621,
604,
4790,
30,
46506,
327,
28270,
7203,
8021,
1023,
4943,
16034,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.