instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
count the number of patients who have died in or before year 2148 with 3970 as the diagnosis icd9 code. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2148.0" AND diagnoses.icd9_code = "3970" | [
9127,
262,
1271,
286,
3871,
508,
423,
3724,
287,
393,
878,
614,
362,
18294,
351,
5014,
2154,
355,
262,
13669,
14158,
67,
24,
2438,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
214... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
3724,
287,
393,
878,
614,
362,
18294,
351,
5014,
2154,
355,
262,
13669,
14158,
67,
24,
2438,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
214... |
What were the goals at Sydney? | SELECT goals FROM table_name_16 WHERE venue = "sydney" | [
2061,
547,
262,
4661,
379,
11852,
30,
46506,
4661,
16034,
3084,
62,
3672,
62,
1433,
33411,
14359,
796,
366,
1837,
67,
1681,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
4661,
379,
11852,
30,
46506,
4661,
16034,
3084,
62,
3672,
62,
1433,
33411,
14359,
796,
366,
1837,
67,
1681,
1
] |
What was the record at the game on November 13, 1932? | SELECT record FROM table_name_38 WHERE date = "november 13, 1932" | [
2061,
373,
262,
1700,
379,
262,
983,
319,
3389,
1511,
11,
32471,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2548,
33411,
3128,
796,
366,
77,
3239,
1511,
11,
32471,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1700,
379,
262,
983,
319,
3389,
1511,
11,
32471,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2548,
33411,
3128,
796,
366,
77,
3239,
1511,
11,
32471,
1
] |
What is the municipality that has an area of exactly 199.35 sq. km? | SELECT "Municipality" FROM table_27798 WHERE "Area (km\u00b2)" = '199.35' | [
2061,
318,
262,
27264,
326,
468,
281,
1989,
286,
3446,
1594,
13,
2327,
19862,
13,
10571,
30,
46506,
366,
44,
9462,
1483,
1,
16034,
3084,
62,
1983,
43240,
33411,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
796,
705,
19104,
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
] | [
2061,
318,
262,
27264,
326,
468,
281,
1989,
286,
3446,
1594,
13,
2327,
19862,
13,
10571,
30,
46506,
366,
44,
9462,
1483,
1,
16034,
3084,
62,
1983,
43240,
33411,
366,
30547,
357,
13276,
59,
84,
405,
65,
17,
16725,
796,
705,
19104,
13... |
List the method, date and amount of all the payments, in ascending order of date. | SELECT Payment_Method_Code, Date_Payment_Made, Amount_Payment FROM Payments ORDER BY Date_Payment_Made | [
8053,
262,
2446,
11,
3128,
290,
2033,
286,
477,
262,
7524,
11,
287,
41988,
1502,
286,
3128,
13,
46506,
28784,
62,
17410,
62,
10669,
11,
7536,
62,
19197,
434,
62,
24616,
11,
26308,
62,
19197,
434,
16034,
41318,
38678,
11050,
7536,
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
] | [
8053,
262,
2446,
11,
3128,
290,
2033,
286,
477,
262,
7524,
11,
287,
41988,
1502,
286,
3128,
13,
46506,
28784,
62,
17410,
62,
10669,
11,
7536,
62,
19197,
434,
62,
24616,
11,
26308,
62,
19197,
434,
16034,
41318,
38678,
11050,
7536,
62,
... |
return all columns of the albums created in the year of 2012. | SELECT * FROM albums WHERE year = 2012 | [
7783,
477,
15180,
286,
262,
16788,
2727,
287,
262,
614,
286,
2321,
13,
46506,
1635,
16034,
16788,
33411,
614,
796,
2321
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
7783,
477,
15180,
286,
262,
16788,
2727,
287,
262,
614,
286,
2321,
13,
46506,
1635,
16034,
16788,
33411,
614,
796,
2321
] |
What was the placing of the nation of East Germany? | SELECT COUNT("Placings") FROM table_53688 WHERE "Nation" = 'east germany' | [
2061,
373,
262,
12560,
286,
262,
3277,
286,
3687,
4486,
30,
46506,
327,
28270,
7203,
3646,
330,
654,
4943,
16034,
3084,
62,
44468,
3459,
33411,
366,
46108,
1,
796,
705,
23316,
308,
2224,
88,
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,
12560,
286,
262,
3277,
286,
3687,
4486,
30,
46506,
327,
28270,
7203,
3646,
330,
654,
4943,
16034,
3084,
62,
44468,
3459,
33411,
366,
46108,
1,
796,
705,
23316,
308,
2224,
88,
6
] |
What is the mix pack when the artist 2 is Eminem? | SELECT "Mix pack" FROM table_2924 WHERE "Artist 2" = 'Eminem' | [
2061,
318,
262,
5022,
2353,
618,
262,
6802,
362,
318,
49428,
30,
46506,
366,
35608,
2353,
1,
16034,
3084,
62,
1959,
1731,
33411,
366,
43020,
362,
1,
796,
705,
36,
1084,
368,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5022,
2353,
618,
262,
6802,
362,
318,
49428,
30,
46506,
366,
35608,
2353,
1,
16034,
3084,
62,
1959,
1731,
33411,
366,
43020,
362,
1,
796,
705,
36,
1084,
368,
6
] |
what is drug code and drug route of drug name ns (mini bag plus)? | SELECT prescriptions.formulary_drug_cd, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "NS (Mini Bag Plus)" | [
10919,
318,
2563,
2438,
290,
2563,
6339,
286,
2563,
1438,
36545,
357,
45313,
6131,
5556,
19427,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
8035,
357,
392... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
2563,
2438,
290,
2563,
6339,
286,
2563,
1438,
36545,
357,
45313,
6131,
5556,
19427,
46506,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
11,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
30349,
796,
366,
8035,
357,
392... |
How much Time has a Reaction of 0.155, and an Athlete of kristof beyens, and a Rank smaller than 3? | SELECT COUNT("Time") FROM table_79588 WHERE "React" = '0.155' AND "Athlete" = 'kristof beyens' AND "Rank" < '3' | [
2437,
881,
3862,
468,
257,
39912,
286,
657,
13,
18742,
11,
290,
281,
13548,
5807,
286,
479,
1585,
1659,
307,
88,
641,
11,
290,
257,
10916,
4833,
621,
513,
30,
46506,
327,
28270,
7203,
7575,
4943,
16034,
3084,
62,
3720,
39118,
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... | [
2437,
881,
3862,
468,
257,
39912,
286,
657,
13,
18742,
11,
290,
281,
13548,
5807,
286,
479,
1585,
1659,
307,
88,
641,
11,
290,
257,
10916,
4833,
621,
513,
30,
46506,
327,
28270,
7203,
7575,
4943,
16034,
3084,
62,
3720,
39118,
33411,
... |
how many black/african american patients have stayed in the hospital for more than 3 days? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.days_stay > "3" | [
4919,
867,
2042,
14,
1878,
37189,
45630,
272,
3871,
423,
9658,
287,
262,
4436,
329,
517,
621,
513,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
2042,
14,
1878,
37189,
45630,
272,
3871,
423,
9658,
287,
262,
4436,
329,
517,
621,
513,
1528,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
... |
What player is from Spring, Tx? | SELECT "Player" FROM table_17059 WHERE "Hometown" = 'Spring, TX' | [
2061,
2137,
318,
422,
8225,
11,
309,
87,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
1558,
46712,
33411,
366,
39,
19191,
1,
796,
705,
30387,
11,
15326,
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,
2137,
318,
422,
8225,
11,
309,
87,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
1558,
46712,
33411,
366,
39,
19191,
1,
796,
705,
30387,
11,
15326,
6
] |
how many times is the name of film narmeen? | SELECT COUNT(cash_prize) FROM table_25926120_7 WHERE name_of_film = "Narmeen" | [
4919,
867,
1661,
318,
262,
1438,
286,
2646,
30083,
1326,
268,
30,
46506,
327,
28270,
7,
30350,
62,
3448,
2736,
8,
16034,
3084,
62,
25191,
2075,
10232,
62,
22,
33411,
1438,
62,
1659,
62,
26240,
796,
366,
40059,
1326,
268,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1661,
318,
262,
1438,
286,
2646,
30083,
1326,
268,
30,
46506,
327,
28270,
7,
30350,
62,
3448,
2736,
8,
16034,
3084,
62,
25191,
2075,
10232,
62,
22,
33411,
1438,
62,
1659,
62,
26240,
796,
366,
40059,
1326,
268,
1
] |
Which Run 3 has a Run 1 of 2:20.10? | SELECT "Run 3" FROM table_45518 WHERE "Run 1" = '2:20.10' | [
13828,
5660,
513,
468,
257,
5660,
352,
286,
362,
25,
1238,
13,
940,
30,
46506,
366,
10987,
513,
1,
16034,
3084,
62,
30505,
1507,
33411,
366,
10987,
352,
1,
796,
705,
17,
25,
1238,
13,
940,
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
] | [
13828,
5660,
513,
468,
257,
5660,
352,
286,
362,
25,
1238,
13,
940,
30,
46506,
366,
10987,
513,
1,
16034,
3084,
62,
30505,
1507,
33411,
366,
10987,
352,
1,
796,
705,
17,
25,
1238,
13,
940,
6
] |
besides belgium what other team did he score on in the year 2001 ? | SELECT "opponent" FROM table_203_655 WHERE "opponent" <> 'belgium' AND "date" = 2001 | [
65,
11788,
894,
70,
1505,
644,
584,
1074,
750,
339,
4776,
319,
287,
262,
614,
5878,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
22416,
62,
35916,
33411,
366,
10365,
3471,
1,
1279,
29,
705,
6667,
70,
1505,
6,
5357,
366,
4475,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
65,
11788,
894,
70,
1505,
644,
584,
1074,
750,
339,
4776,
319,
287,
262,
614,
5878,
5633,
46506,
366,
10365,
3471,
1,
16034,
3084,
62,
22416,
62,
35916,
33411,
366,
10365,
3471,
1,
1279,
29,
705,
6667,
70,
1505,
6,
5357,
366,
4475,
... |
what is the year built of kyrkjeb ? | SELECT AVG(year_built) FROM table_name_20 WHERE sub_parish__sogn_ = "kyrkjebø" | [
10919,
318,
262,
614,
3170,
286,
479,
2417,
42421,
1765,
5633,
46506,
35224,
7,
1941,
62,
18780,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
850,
62,
1845,
680,
834,
82,
2360,
62,
796,
366,
74,
2417,
42421,
1765,
24172,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
3170,
286,
479,
2417,
42421,
1765,
5633,
46506,
35224,
7,
1941,
62,
18780,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
850,
62,
1845,
680,
834,
82,
2360,
62,
796,
366,
74,
2417,
42421,
1765,
24172,
1
] |
What did the away team score when Carlton was the home team? | SELECT "Away team score" FROM table_56650 WHERE "Home team" = 'carlton' | [
2061,
750,
262,
1497,
1074,
4776,
618,
44348,
373,
262,
1363,
1074,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
20,
2791,
1120,
33411,
366,
16060,
1074,
1,
796,
705,
66,
7063,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
750,
262,
1497,
1074,
4776,
618,
44348,
373,
262,
1363,
1074,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
20,
2791,
1120,
33411,
366,
16060,
1074,
1,
796,
705,
66,
7063,
1122,
6
] |
What is the depth of the aftershock at 18:00:22? | SELECT "Depth" FROM table_26892 WHERE "Time (UTC)" = '18:00:22' | [
2061,
318,
262,
6795,
286,
262,
706,
39563,
379,
1248,
25,
405,
25,
1828,
30,
46506,
366,
48791,
1,
16034,
3084,
62,
2075,
4531,
17,
33411,
366,
7575,
357,
17429,
16725,
796,
705,
1507,
25,
405,
25,
1828,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
6795,
286,
262,
706,
39563,
379,
1248,
25,
405,
25,
1828,
30,
46506,
366,
48791,
1,
16034,
3084,
62,
2075,
4531,
17,
33411,
366,
7575,
357,
17429,
16725,
796,
705,
1507,
25,
405,
25,
1828,
6
] |
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of hire_date and the sum of salary bin hire_date by time. | SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
62,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
640,
13,
46506,
36210,
2200,
62,
35,
... |
Who were the crew for the Falcon? | SELECT "Crew" FROM table_7599 WHERE "Lunar lander" = 'falcon' | [
8241,
547,
262,
5462,
329,
262,
17621,
30,
46506,
366,
46724,
1,
16034,
3084,
62,
2425,
2079,
33411,
366,
43,
403,
283,
1956,
263,
1,
796,
705,
42932,
1102,
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
] | [
8241,
547,
262,
5462,
329,
262,
17621,
30,
46506,
366,
46724,
1,
16034,
3084,
62,
2425,
2079,
33411,
366,
43,
403,
283,
1956,
263,
1,
796,
705,
42932,
1102,
6
] |
What is the gold number when total is more than 1, and bronze is 0, and rank is 5? | SELECT SUM(gold) FROM table_name_19 WHERE total > 1 AND bronze = 0 AND rank = "5" | [
2061,
318,
262,
3869,
1271,
618,
2472,
318,
517,
621,
352,
11,
290,
22101,
318,
657,
11,
290,
4279,
318,
642,
30,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2472,
1875,
352,
5357,
22101,
796,
657,
5357,
4279,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3869,
1271,
618,
2472,
318,
517,
621,
352,
11,
290,
22101,
318,
657,
11,
290,
4279,
318,
642,
30,
46506,
35683,
7,
24267,
8,
16034,
3084,
62,
3672,
62,
1129,
33411,
2472,
1875,
352,
5357,
22101,
796,
657,
5357,
4279,... |
who was running in the section pennsylvania 5 | SELECT candidates FROM table_2668378_13 WHERE district = "Pennsylvania 5" | [
8727,
373,
2491,
287,
262,
2665,
22429,
9270,
642,
46506,
5871,
16034,
3084,
62,
2075,
3104,
30695,
62,
1485,
33411,
4783,
796,
366,
39899,
9270,
642,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
2491,
287,
262,
2665,
22429,
9270,
642,
46506,
5871,
16034,
3084,
62,
2075,
3104,
30695,
62,
1485,
33411,
4783,
796,
366,
39899,
9270,
642,
1
] |
How many laps were in 1958? | SELECT SUM("Laps") FROM table_15318 WHERE "Year" = '1958' | [
2437,
867,
24590,
547,
287,
24648,
30,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
21395,
1507,
33411,
366,
17688,
1,
796,
705,
1129,
3365,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
24590,
547,
287,
24648,
30,
46506,
35683,
7203,
43,
1686,
4943,
16034,
3084,
62,
21395,
1507,
33411,
366,
17688,
1,
796,
705,
1129,
3365,
6
] |
What time did the team from Ukraine have? | SELECT time FROM table_name_76 WHERE country = "ukraine" | [
2061,
640,
750,
262,
1074,
422,
7049,
423,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
4304,
33411,
1499,
796,
366,
2724,
23440,
1
] | [
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,
750,
262,
1074,
422,
7049,
423,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
4304,
33411,
1499,
796,
366,
2724,
23440,
1
] |
What are the notes for bydgoszcz, Poland? | SELECT notes FROM table_name_37 WHERE venue = "bydgoszcz, poland" | [
2061,
389,
262,
4710,
329,
416,
67,
70,
418,
89,
26691,
11,
12873,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
2718,
33411,
14359,
796,
366,
1525,
67,
70,
418,
89,
26691,
11,
755,
392,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
4710,
329,
416,
67,
70,
418,
89,
26691,
11,
12873,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
2718,
33411,
14359,
796,
366,
1525,
67,
70,
418,
89,
26691,
11,
755,
392,
1
] |
Name the playoffs for 2nd round open cup | SELECT "Playoffs" FROM table_19190 WHERE "Open Cup" = '2nd Round' | [
5376,
262,
12980,
329,
362,
358,
2835,
1280,
6508,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
1129,
19782,
33411,
366,
11505,
5454,
1,
796,
705,
17,
358,
10485,
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
] | [
5376,
262,
12980,
329,
362,
358,
2835,
1280,
6508,
46506,
366,
11002,
8210,
1,
16034,
3084,
62,
1129,
19782,
33411,
366,
11505,
5454,
1,
796,
705,
17,
358,
10485,
6
] |
What is the away team that has a score of 10.9 (69)? | SELECT "Away team" FROM table_56895 WHERE "Away team score" = '10.9 (69)' | [
2061,
318,
262,
1497,
1074,
326,
468,
257,
4776,
286,
838,
13,
24,
357,
3388,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
49211,
3865,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
940,
13,
24,
357,
3388,
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
] | [
2061,
318,
262,
1497,
1074,
326,
468,
257,
4776,
286,
838,
13,
24,
357,
3388,
19427,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
49211,
3865,
33411,
366,
32,
1014,
1074,
4776,
1,
796,
705,
940,
13,
24,
357,
3388,
33047
] |
What is the stage of Gerolsteiner? | SELECT stage FROM table_name_29 WHERE team_classification = "gerolsteiner" | [
2061,
318,
262,
3800,
286,
13573,
349,
5714,
263,
30,
46506,
3800,
16034,
3084,
62,
3672,
62,
1959,
33411,
1074,
62,
4871,
2649,
796,
366,
1362,
349,
5714,
263,
1
] | [
1,
1,
1,
1,
1,
1,
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,
3800,
286,
13573,
349,
5714,
263,
30,
46506,
3800,
16034,
3084,
62,
3672,
62,
1959,
33411,
1074,
62,
4871,
2649,
796,
366,
1362,
349,
5714,
263,
1
] |
Which Events have a Player of tom kite, and Earnings ($) smaller than 760,405? | SELECT AVG("Events") FROM table_5081 WHERE "Player" = 'tom kite' AND "Earnings ( $ )" < '760,405' | [
13828,
18715,
423,
257,
7853,
286,
16667,
479,
578,
11,
290,
22535,
654,
45491,
4833,
621,
48284,
11,
26598,
30,
46506,
35224,
7203,
37103,
4943,
16034,
3084,
62,
1120,
6659,
33411,
366,
14140,
1,
796,
705,
39532,
479,
578,
6,
5357,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
18715,
423,
257,
7853,
286,
16667,
479,
578,
11,
290,
22535,
654,
45491,
4833,
621,
48284,
11,
26598,
30,
46506,
35224,
7203,
37103,
4943,
16034,
3084,
62,
1120,
6659,
33411,
366,
14140,
1,
796,
705,
39532,
479,
578,
6,
5357,
3... |
count the number of patients whose drug name is neo*iv*ampicillin sodium? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "NEO*IV*AMPicillin Sodium" | [
9127,
262,
1271,
286,
3871,
3025,
2563,
1438,
318,
19102,
9,
452,
9,
696,
291,
32672,
21072,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
1438,
318,
19102,
9,
452,
9,
696,
291,
32672,
21072,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,... |
Which Grid has Laps larger than 26, and a Time/Retired of 44:39.467? | SELECT MIN(grid) FROM table_name_16 WHERE laps > 26 AND time_retired = "44:39.467" | [
13828,
24846,
468,
406,
1686,
4025,
621,
2608,
11,
290,
257,
3862,
14,
9781,
1202,
286,
5846,
25,
2670,
13,
24669,
30,
46506,
20625,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
24590,
1875,
2608,
5357,
640,
62,
1186,
1202,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24846,
468,
406,
1686,
4025,
621,
2608,
11,
290,
257,
3862,
14,
9781,
1202,
286,
5846,
25,
2670,
13,
24669,
30,
46506,
20625,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
24590,
1875,
2608,
5357,
640,
62,
1186,
1202,
... |
Which competition has goals less than 2? | SELECT competition FROM table_name_98 WHERE goal < 2 | [
13828,
5449,
468,
4661,
1342,
621,
362,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
4089,
33411,
3061,
1279,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5449,
468,
4661,
1342,
621,
362,
30,
46506,
5449,
16034,
3084,
62,
3672,
62,
4089,
33411,
3061,
1279,
362
] |
What is the total number of Top-5 when the Top-25 is 6, and a Cuts made are less than 12? | SELECT COUNT(top_5) FROM table_name_40 WHERE top_25 = 6 AND cuts_made < 12 | [
2061,
318,
262,
2472,
1271,
286,
5849,
12,
20,
618,
262,
5849,
12,
1495,
318,
718,
11,
290,
257,
327,
5500,
925,
389,
1342,
621,
1105,
30,
46506,
327,
28270,
7,
4852,
62,
20,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
1353,
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
] | [
2061,
318,
262,
2472,
1271,
286,
5849,
12,
20,
618,
262,
5849,
12,
1495,
318,
718,
11,
290,
257,
327,
5500,
925,
389,
1342,
621,
1105,
30,
46506,
327,
28270,
7,
4852,
62,
20,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
1353,
62,
... |
What is solidv4 when sequencer is data output per run? | SELECT "SOLiDv4" FROM table_17776 WHERE "Sequencer" = 'Data output per run' | [
2061,
318,
4735,
85,
19,
618,
4726,
12137,
318,
1366,
5072,
583,
1057,
30,
46506,
366,
50,
3535,
72,
35,
85,
19,
1,
16034,
3084,
62,
1558,
39509,
33411,
366,
44015,
12137,
1,
796,
705,
6601,
5072,
583,
1057,
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,
4735,
85,
19,
618,
4726,
12137,
318,
1366,
5072,
583,
1057,
30,
46506,
366,
50,
3535,
72,
35,
85,
19,
1,
16034,
3084,
62,
1558,
39509,
33411,
366,
44015,
12137,
1,
796,
705,
6601,
5072,
583,
1057,
6
] |
What is the lowest crowd at corio oval? | SELECT MIN(crowd) FROM table_name_20 WHERE venue = "corio oval" | [
2061,
318,
262,
9016,
4315,
379,
1162,
952,
41186,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
14359,
796,
366,
10215,
952,
41186,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
4315,
379,
1162,
952,
41186,
30,
46506,
20625,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
14359,
796,
366,
10215,
952,
41186,
1
] |
Where was the fight that lasted 3 rounds and was won or loss by a decision? | SELECT location FROM table_name_65 WHERE round = 3 AND method = "decision" | [
8496,
373,
262,
1907,
326,
15436,
513,
9196,
290,
373,
1839,
393,
2994,
416,
257,
2551,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2996,
33411,
2835,
796,
513,
5357,
2446,
796,
366,
12501,
1166,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
373,
262,
1907,
326,
15436,
513,
9196,
290,
373,
1839,
393,
2994,
416,
257,
2551,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
2996,
33411,
2835,
796,
513,
5357,
2446,
796,
366,
12501,
1166,
1
] |
What score has hal sutton as the player? | SELECT score FROM table_name_17 WHERE player = "hal sutton" | [
2061,
4776,
468,
10284,
264,
21115,
355,
262,
2137,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1558,
33411,
2137,
796,
366,
14201,
264,
21115,
1
] | [
1,
1,
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,
468,
10284,
264,
21115,
355,
262,
2137,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
1558,
33411,
2137,
796,
366,
14201,
264,
21115,
1
] |
Which player from GER has a transfer window of summer, and a transfer fee of n/a? | SELECT "Name" FROM table_65217 WHERE "Transfer window" = 'summer' AND "Nat." = 'ger' AND "Transfer fee" = 'n/a' | [
13828,
2137,
422,
44186,
468,
257,
4351,
4324,
286,
3931,
11,
290,
257,
4351,
6838,
286,
299,
14,
64,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2996,
24591,
33411,
366,
43260,
4324,
1,
796,
705,
16345,
647,
6,
5357,
366,
47849,
526,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
422,
44186,
468,
257,
4351,
4324,
286,
3931,
11,
290,
257,
4351,
6838,
286,
299,
14,
64,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2996,
24591,
33411,
366,
43260,
4324,
1,
796,
705,
16345,
647,
6,
5357,
366,
47849,
526,... |
Name the archive where run time 24:04 | SELECT archive FROM table_1776943_1 WHERE run_time = "24:04" | [
5376,
262,
15424,
810,
1057,
640,
1987,
25,
3023,
46506,
15424,
16034,
3084,
62,
22413,
3388,
3559,
62,
16,
33411,
1057,
62,
2435,
796,
366,
1731,
25,
3023,
1
] | [
1,
1,
1,
1,
1,
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,
15424,
810,
1057,
640,
1987,
25,
3023,
46506,
15424,
16034,
3084,
62,
22413,
3388,
3559,
62,
16,
33411,
1057,
62,
2435,
796,
366,
1731,
25,
3023,
1
] |
when was the last time when patient 004-79017 had the maximum value of respiration yesterday? | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-79017')) AND NOT vitalperiodic.respiration IS N... | [
12518,
373,
262,
938,
640,
618,
5827,
3571,
19,
12,
3720,
29326,
550,
262,
5415,
1988,
286,
1217,
15297,
7415,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
618,
5827,
3571,
19,
12,
3720,
29326,
550,
262,
5415,
1988,
286,
1217,
15297,
7415,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,
20850,
... |
How many countries were sampled for the index in 2nd place in the LA ranking and 23rd in the world ranking? | SELECT countries_sampled FROM table_19948664_1 WHERE ranking_la__2_ = "2nd" AND world_ranking__1_ = "23rd" | [
2437,
867,
2678,
547,
35846,
329,
262,
6376,
287,
362,
358,
1295,
287,
262,
9131,
12759,
290,
2242,
4372,
287,
262,
995,
12759,
30,
46506,
2678,
62,
37687,
10137,
16034,
3084,
62,
19104,
34251,
2414,
62,
16,
33411,
12759,
62,
5031,
83... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2678,
547,
35846,
329,
262,
6376,
287,
362,
358,
1295,
287,
262,
9131,
12759,
290,
2242,
4372,
287,
262,
995,
12759,
30,
46506,
2678,
62,
37687,
10137,
16034,
3084,
62,
19104,
34251,
2414,
62,
16,
33411,
12759,
62,
5031,
83... |
what title was released first , george gordon meade memorial or american legion freedom bell . | SELECT "title" FROM table_204_191 WHERE "title" IN ('george gordon meade memorial', 'american legion freedom bell') ORDER BY "year" LIMIT 1 | [
10919,
3670,
373,
2716,
717,
837,
4903,
3643,
308,
9999,
502,
671,
17357,
393,
45630,
272,
41453,
4925,
8966,
764,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
26492,
33411,
366,
7839,
1,
3268,
19203,
469,
3643,
308,
9999,
502,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
3670,
373,
2716,
717,
837,
4903,
3643,
308,
9999,
502,
671,
17357,
393,
45630,
272,
41453,
4925,
8966,
764,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
26492,
33411,
366,
7839,
1,
3268,
19203,
469,
3643,
308,
9999,
502,
67... |
What order has the title Deacon of SS. Cosma E Damiano? | SELECT "Order" FROM table_62435 WHERE "Title" = 'deacon of ss. cosma e damiano' | [
2061,
1502,
468,
262,
3670,
1024,
7807,
286,
6723,
13,
10437,
2611,
412,
5245,
10115,
30,
46506,
366,
18743,
1,
16034,
3084,
62,
21,
1731,
2327,
33411,
366,
19160,
1,
796,
705,
2934,
7807,
286,
37786,
13,
8615,
2611,
304,
1801,
10115,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1502,
468,
262,
3670,
1024,
7807,
286,
6723,
13,
10437,
2611,
412,
5245,
10115,
30,
46506,
366,
18743,
1,
16034,
3084,
62,
21,
1731,
2327,
33411,
366,
19160,
1,
796,
705,
2934,
7807,
286,
37786,
13,
8615,
2611,
304,
1801,
10115,... |
Always end your questions with a ?. | SELECT TIME_TO_STR(CreationDate, '%YEAR') AS year, (CASE WHEN Title LIKE '%?' THEN 'ends WITH ?' ELSE 'does not' END) AS ends_WITH_question, ROUND(COUNT(AcceptedAnswerId) * 100 / COUNT(*), 2) AS answered, AVG(AnswerCount * 1.0) AS avg_answers FROM Posts WHERE PostTypeId = 1 GROUP BY TIME_TO_STR(CreationDate, '%YEAR'), ... | [
30374,
886,
534,
2683,
351,
257,
5633,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
56,
17133,
11537,
7054,
614,
11,
357,
34,
11159,
42099,
11851,
34178,
705,
4,
8348,
42243,
705,
2412,
13315,
5633,
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,
1... | [
30374,
886,
534,
2683,
351,
257,
5633,
13,
46506,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430,
11,
705,
4,
56,
17133,
11537,
7054,
614,
11,
357,
34,
11159,
42099,
11851,
34178,
705,
4,
8348,
42243,
705,
2412,
13315,
5633,
6,
1... |
What is the Surface when Todd Woodbridge was the runner-up, and a Date of 24 february 1997? | SELECT surface FROM table_name_77 WHERE outcome = "runner-up" AND date = "24 february 1997" | [
2061,
318,
262,
20321,
618,
14377,
5326,
9458,
373,
262,
17490,
12,
929,
11,
290,
257,
7536,
286,
1987,
730,
65,
3728,
8309,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
3324,
33411,
8055,
796,
366,
16737,
12,
929,
1,
5357,
3128,
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
] | [
2061,
318,
262,
20321,
618,
14377,
5326,
9458,
373,
262,
17490,
12,
929,
11,
290,
257,
7536,
286,
1987,
730,
65,
3728,
8309,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
3324,
33411,
8055,
796,
366,
16737,
12,
929,
1,
5357,
3128,
796... |
what is the number of patients whose marital status is single and drug route is dialys? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.marital_status = "SINGLE" AND prescriptions.route = "DIALYS" | [
10919,
318,
262,
1271,
286,
3871,
3025,
29555,
3722,
318,
2060,
290,
2563,
6339,
318,
5980,
893,
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,
3025,
29555,
3722,
318,
2060,
290,
2563,
6339,
318,
5980,
893,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
... |
YouTube API Monthly Question and Answer Stats. | SELECT COUNT(Id) AS "Total Questions" FROM Posts WHERE Tags LIKE '%youtube-api%' | [
33869,
7824,
27573,
18233,
290,
23998,
20595,
13,
46506,
327,
28270,
7,
7390,
8,
7054,
366,
14957,
20396,
1,
16034,
12043,
33411,
44789,
34178,
705,
4,
11604,
12,
15042,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33869,
7824,
27573,
18233,
290,
23998,
20595,
13,
46506,
327,
28270,
7,
7390,
8,
7054,
366,
14957,
20396,
1,
16034,
12043,
33411,
44789,
34178,
705,
4,
11604,
12,
15042,
4,
6
] |
When in round of 16 it was did not advance what was it in round of 32? | SELECT "Round of 32" FROM table_22493 WHERE "Round of 16" = 'Did not advance' | [
2215,
287,
2835,
286,
1467,
340,
373,
750,
407,
5963,
644,
373,
340,
287,
2835,
286,
3933,
30,
46506,
366,
22685,
286,
3933,
1,
16034,
3084,
62,
24137,
6052,
33411,
366,
22685,
286,
1467,
1,
796,
705,
11633,
407,
5963,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
287,
2835,
286,
1467,
340,
373,
750,
407,
5963,
644,
373,
340,
287,
2835,
286,
3933,
30,
46506,
366,
22685,
286,
3933,
1,
16034,
3084,
62,
24137,
6052,
33411,
366,
22685,
286,
1467,
1,
796,
705,
11633,
407,
5963,
6
] |
When has a Status of five nations, and a Against of 7? | SELECT "Date" FROM table_59566 WHERE "Status" = 'five nations' AND "Against" = '7' | [
2215,
468,
257,
12678,
286,
1936,
7027,
11,
290,
257,
12914,
286,
767,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
35124,
2791,
33411,
366,
19580,
1,
796,
705,
13261,
7027,
6,
5357,
366,
39276,
1,
796,
705,
22,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
468,
257,
12678,
286,
1936,
7027,
11,
290,
257,
12914,
286,
767,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
35124,
2791,
33411,
366,
19580,
1,
796,
705,
13261,
7027,
6,
5357,
366,
39276,
1,
796,
705,
22,
6
] |
Name the race 1 when race 3 is 8 | SELECT "Race 1" FROM table_20116 WHERE "Race 3" = '8' | [
5376,
262,
3234,
352,
618,
3234,
513,
318,
807,
46506,
366,
35157,
352,
1,
16034,
3084,
62,
1264,
1433,
33411,
366,
35157,
513,
1,
796,
705,
23,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
3234,
352,
618,
3234,
513,
318,
807,
46506,
366,
35157,
352,
1,
16034,
3084,
62,
1264,
1433,
33411,
366,
35157,
513,
1,
796,
705,
23,
6
] |
Who is the leading lady in The Lonely Trail for Joseph Kane? | SELECT leading_lady FROM table_name_59 WHERE director = "joseph kane" AND title = "the lonely trail" | [
8241,
318,
262,
3756,
10846,
287,
383,
46501,
13069,
329,
7212,
20055,
30,
46506,
3756,
62,
75,
4597,
16034,
3084,
62,
3672,
62,
3270,
33411,
3437,
796,
366,
73,
577,
746,
479,
1531,
1,
5357,
3670,
796,
366,
1169,
21757,
8025,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10846,
287,
383,
46501,
13069,
329,
7212,
20055,
30,
46506,
3756,
62,
75,
4597,
16034,
3084,
62,
3672,
62,
3270,
33411,
3437,
796,
366,
73,
577,
746,
479,
1531,
1,
5357,
3670,
796,
366,
1169,
21757,
8025,
1
] |
had patient 012-20482 until 2103 been diagnosed with post craniotomy - for hemorrhage? | SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-20482')) AND diagnosis.diagnosisname = 'post craniotomy - for hemorrhage... | [
18108,
5827,
5534,
17,
12,
1238,
40149,
1566,
362,
15197,
587,
14641,
351,
1281,
1067,
3216,
38385,
532,
329,
42203,
496,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
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... | [
18108,
5827,
5534,
17,
12,
1238,
40149,
1566,
362,
15197,
587,
14641,
351,
1281,
1067,
3216,
38385,
532,
329,
42203,
496,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
4... |
What is the number for year built of W27 that was withdrawn in 1967 with a To LoW year earlier than 1926? | SELECT COUNT("Built") FROM table_68870 WHERE "Withdrawn" = '1967' AND "BR/SR No." = 'w27' AND "To IoW" < '1926' | [
2061,
318,
262,
1271,
329,
614,
3170,
286,
370,
1983,
326,
373,
23019,
287,
15904,
351,
257,
1675,
6706,
54,
614,
2961,
621,
38525,
30,
46506,
327,
28270,
7203,
39582,
4943,
16034,
3084,
62,
34427,
2154,
33411,
366,
3152,
41549,
1,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
614,
3170,
286,
370,
1983,
326,
373,
23019,
287,
15904,
351,
257,
1675,
6706,
54,
614,
2961,
621,
38525,
30,
46506,
327,
28270,
7203,
39582,
4943,
16034,
3084,
62,
34427,
2154,
33411,
366,
3152,
41549,
1,
79... |
What qual had a finish of 16 in 1968? | SELECT "Qual" FROM table_71686 WHERE "Finish" = '16' AND "Year" = '1968' | [
2061,
4140,
550,
257,
5461,
286,
1467,
287,
15963,
30,
46506,
366,
46181,
1,
16034,
3084,
62,
22,
1433,
4521,
33411,
366,
48658,
1,
796,
705,
1433,
6,
5357,
366,
17688,
1,
796,
705,
42246,
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,
4140,
550,
257,
5461,
286,
1467,
287,
15963,
30,
46506,
366,
46181,
1,
16034,
3084,
62,
22,
1433,
4521,
33411,
366,
48658,
1,
796,
705,
1433,
6,
5357,
366,
17688,
1,
796,
705,
42246,
6
] |
How many february games had a record of 29 24 9? | SELECT AVG(february) FROM table_name_62 WHERE record = "29–24–9" | [
2437,
867,
730,
65,
3728,
1830,
550,
257,
1700,
286,
2808,
1987,
860,
30,
46506,
35224,
7,
69,
1765,
3728,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
1700,
796,
366,
1959,
1906,
1731,
1906,
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
] | [
2437,
867,
730,
65,
3728,
1830,
550,
257,
1700,
286,
2808,
1987,
860,
30,
46506,
35224,
7,
69,
1765,
3728,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
1700,
796,
366,
1959,
1906,
1731,
1906,
24,
1
] |
User age by join year histogram. | WITH UserJoins AS (SELECT Age - DATEDIFF(yy, CreationDate, @epoch) AS Age, DATEPART(yy, CreationDate) AS Year, COUNT(*) AS Total FROM Users WHERE NOT Age IS NULL GROUP BY Age - DATEDIFF(yy, CreationDate, @epoch), DATEPART(yy, CreationDate)) SELECT Age, '2008', '2009', '2010', '2011', '2012', '2013', '2014', '2015', '20... | [
12982,
2479,
416,
4654,
614,
1554,
21857,
13,
54,
10554,
11787,
9908,
1040,
7054,
357,
46506,
7129,
532,
360,
11617,
29267,
7,
22556,
11,
21582,
10430,
11,
2488,
538,
5374,
8,
7054,
7129,
11,
360,
6158,
30709,
7,
22556,
11,
21582,
104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12982,
2479,
416,
4654,
614,
1554,
21857,
13,
54,
10554,
11787,
9908,
1040,
7054,
357,
46506,
7129,
532,
360,
11617,
29267,
7,
22556,
11,
21582,
10430,
11,
2488,
538,
5374,
8,
7054,
7129,
11,
360,
6158,
30709,
7,
22556,
11,
21582,
104... |
What is the name of the venue when the score was 5 0, and a Competition of 2007 caribbean cup qualifier? | SELECT venue FROM table_name_21 WHERE score = "5–0" AND competition = "2007 caribbean cup qualifier" | [
2061,
318,
262,
1438,
286,
262,
14359,
618,
262,
4776,
373,
642,
657,
11,
290,
257,
27348,
286,
4343,
1097,
571,
14289,
6508,
39265,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2481,
33411,
4776,
796,
366,
20,
1906,
15,
1,
5357,
54... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
14359,
618,
262,
4776,
373,
642,
657,
11,
290,
257,
27348,
286,
4343,
1097,
571,
14289,
6508,
39265,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2481,
33411,
4776,
796,
366,
20,
1906,
15,
1,
5357,
54... |
What was the score of the game that had a loss of Drese (2-2)? | SELECT score FROM table_name_99 WHERE loss = "drese (2-2)" | [
2061,
373,
262,
4776,
286,
262,
983,
326,
550,
257,
2994,
286,
30882,
325,
357,
17,
12,
17,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
2079,
33411,
2994,
796,
366,
67,
260,
325,
357,
17,
12,
17,
16725
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
286,
262,
983,
326,
550,
257,
2994,
286,
30882,
325,
357,
17,
12,
17,
19427,
46506,
4776,
16034,
3084,
62,
3672,
62,
2079,
33411,
2994,
796,
366,
67,
260,
325,
357,
17,
12,
17,
16725
] |
Of all the schools that left before 2003, what is the average year joined? | SELECT AVG(year_joined) FROM table_name_22 WHERE year_left < 2003 | [
5189,
477,
262,
4266,
326,
1364,
878,
5816,
11,
644,
318,
262,
2811,
614,
5399,
30,
46506,
35224,
7,
1941,
62,
46416,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
614,
62,
9464,
1279,
5816
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5189,
477,
262,
4266,
326,
1364,
878,
5816,
11,
644,
318,
262,
2811,
614,
5399,
30,
46506,
35224,
7,
1941,
62,
46416,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
614,
62,
9464,
1279,
5816
] |
Show different colleges along with the number of authors of submission from each college. | SELECT college, COUNT(*) FROM submission GROUP BY college | [
15307,
1180,
15273,
1863,
351,
262,
1271,
286,
7035,
286,
14498,
422,
1123,
4152,
13,
46506,
4152,
11,
327,
28270,
7,
28104,
16034,
14498,
44441,
11050,
4152
] | [
1,
1,
1,
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,
1180,
15273,
1863,
351,
262,
1271,
286,
7035,
286,
14498,
422,
1123,
4152,
13,
46506,
4152,
11,
327,
28270,
7,
28104,
16034,
14498,
44441,
11050,
4152
] |
how many times is the fleet series (quantity) is 468-473 (6)? | SELECT COUNT(order_year) FROM table_10007452_3 WHERE fleet_series__quantity_ = "468-473 (6)" | [
4919,
867,
1661,
318,
262,
11026,
2168,
357,
40972,
414,
8,
318,
604,
3104,
12,
37804,
357,
21,
19427,
46506,
327,
28270,
7,
2875,
62,
1941,
8,
16034,
3084,
62,
12825,
22,
37730,
62,
18,
33411,
11026,
62,
25076,
834,
40972,
414,
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
] | [
4919,
867,
1661,
318,
262,
11026,
2168,
357,
40972,
414,
8,
318,
604,
3104,
12,
37804,
357,
21,
19427,
46506,
327,
28270,
7,
2875,
62,
1941,
8,
16034,
3084,
62,
12825,
22,
37730,
62,
18,
33411,
11026,
62,
25076,
834,
40972,
414,
62,... |
Who is the March playmate with a November playmate Cara Wakelin? | SELECT march FROM table_name_3 WHERE november = "cara wakelin" | [
8241,
318,
262,
2805,
711,
9830,
351,
257,
3389,
711,
9830,
1879,
64,
20441,
2815,
30,
46506,
9960,
16034,
3084,
62,
3672,
62,
18,
33411,
645,
303,
1916,
796,
366,
66,
3301,
7765,
2815,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
2805,
711,
9830,
351,
257,
3389,
711,
9830,
1879,
64,
20441,
2815,
30,
46506,
9960,
16034,
3084,
62,
3672,
62,
18,
33411,
645,
303,
1916,
796,
366,
66,
3301,
7765,
2815,
1
] |
What was the film title nominated from the Sweden? | SELECT "Film title used in nomination" FROM table_71316 WHERE "Country" = 'sweden' | [
2061,
373,
262,
2646,
3670,
19332,
422,
262,
10710,
30,
46506,
366,
39750,
3670,
973,
287,
11872,
1,
16034,
3084,
62,
50055,
1433,
33411,
366,
33921,
1,
796,
705,
2032,
31829,
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,
373,
262,
2646,
3670,
19332,
422,
262,
10710,
30,
46506,
366,
39750,
3670,
973,
287,
11872,
1,
16034,
3084,
62,
50055,
1433,
33411,
366,
33921,
1,
796,
705,
2032,
31829,
6
] |
what is the school that hosts mikael renberg | SELECT "College/Junior/Club Team (League)" FROM table_75077 WHERE "Player" = 'mikael renberg' | [
10919,
318,
262,
1524,
326,
11453,
285,
1134,
3010,
8851,
3900,
46506,
366,
38951,
14,
22396,
1504,
14,
42350,
4816,
357,
24623,
16725,
16034,
3084,
62,
15426,
3324,
33411,
366,
14140,
1,
796,
705,
76,
1134,
3010,
8851,
3900,
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
] | [
10919,
318,
262,
1524,
326,
11453,
285,
1134,
3010,
8851,
3900,
46506,
366,
38951,
14,
22396,
1504,
14,
42350,
4816,
357,
24623,
16725,
16034,
3084,
62,
15426,
3324,
33411,
366,
14140,
1,
796,
705,
76,
1134,
3010,
8851,
3900,
6
] |
how many proposed communities would use the arab dinar currency ? | SELECT COUNT("community") FROM table_204_321 WHERE "currency" = 'arab dinar' | [
4919,
867,
5150,
5348,
561,
779,
262,
610,
397,
16278,
283,
7395,
5633,
46506,
327,
28270,
7203,
28158,
4943,
16034,
3084,
62,
18638,
62,
36453,
33411,
366,
34415,
1,
796,
705,
283,
397,
16278,
283,
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
] | [
4919,
867,
5150,
5348,
561,
779,
262,
610,
397,
16278,
283,
7395,
5633,
46506,
327,
28270,
7203,
28158,
4943,
16034,
3084,
62,
18638,
62,
36453,
33411,
366,
34415,
1,
796,
705,
283,
397,
16278,
283,
6
] |
A pie chart about what are the statuses and average populations of each city? | SELECT Status, AVG(Population) FROM city GROUP BY Status | [
32,
2508,
8262,
546,
644,
389,
262,
1185,
2664,
290,
2811,
9684,
286,
1123,
1748,
30,
46506,
12678,
11,
35224,
7,
45251,
8,
16034,
1748,
44441,
11050,
12678
] | [
1,
1,
1,
1,
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,
546,
644,
389,
262,
1185,
2664,
290,
2811,
9684,
286,
1123,
1748,
30,
46506,
12678,
11,
35224,
7,
45251,
8,
16034,
1748,
44441,
11050,
12678
] |
what's the series with reverse being swimming | SELECT "Series" FROM table_17594 WHERE "Reverse" = 'Swimming' | [
10919,
338,
262,
2168,
351,
9575,
852,
14899,
46506,
366,
27996,
1,
16034,
3084,
62,
1558,
46438,
33411,
366,
49,
964,
325,
1,
796,
705,
10462,
27428,
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,
2168,
351,
9575,
852,
14899,
46506,
366,
27996,
1,
16034,
3084,
62,
1558,
46438,
33411,
366,
49,
964,
325,
1,
796,
705,
10462,
27428,
6
] |
Return the average enrollment of universities founded before 1850. | SELECT AVG(enrollment) FROM university WHERE founded < 1850 | [
13615,
262,
2811,
20753,
286,
11155,
9393,
878,
35745,
13,
46506,
35224,
7,
268,
48108,
8,
16034,
6403,
33411,
9393,
1279,
35745
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
262,
2811,
20753,
286,
11155,
9393,
878,
35745,
13,
46506,
35224,
7,
268,
48108,
8,
16034,
6403,
33411,
9393,
1279,
35745
] |
Name the highest Profits (billion $) which has a Company of walmart? | SELECT MAX(profits__billion_) AS $_ FROM table_name_14 WHERE company = "walmart" | [
5376,
262,
4511,
4415,
896,
357,
24540,
720,
8,
543,
468,
257,
5834,
286,
6514,
13822,
30,
46506,
25882,
7,
31504,
834,
24540,
62,
8,
7054,
40111,
16034,
3084,
62,
3672,
62,
1415,
33411,
1664,
796,
366,
16783,
13822,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
4511,
4415,
896,
357,
24540,
720,
8,
543,
468,
257,
5834,
286,
6514,
13822,
30,
46506,
25882,
7,
31504,
834,
24540,
62,
8,
7054,
40111,
16034,
3084,
62,
3672,
62,
1415,
33411,
1664,
796,
366,
16783,
13822,
1
] |
Count the number of items store 1 has in stock. | SELECT COUNT(*) FROM inventory WHERE store_id = 1 | [
12332,
262,
1271,
286,
3709,
3650,
352,
468,
287,
4283,
13,
46506,
327,
28270,
7,
28104,
16034,
13184,
33411,
3650,
62,
312,
796,
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
] | [
12332,
262,
1271,
286,
3709,
3650,
352,
468,
287,
4283,
13,
46506,
327,
28270,
7,
28104,
16034,
13184,
33411,
3650,
62,
312,
796,
352
] |
what is the least tonnage for the ship(s) that entered service on 11 february 1983? | SELECT MIN(tonnage) FROM table_name_21 WHERE date_entered_service = "11 february 1983" | [
10919,
318,
262,
1551,
5680,
77,
496,
329,
262,
4074,
7,
82,
8,
326,
5982,
2139,
319,
1367,
730,
65,
3728,
13540,
30,
46506,
20625,
7,
1122,
77,
496,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
3128,
62,
298,
1068,
62,
15271,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1551,
5680,
77,
496,
329,
262,
4074,
7,
82,
8,
326,
5982,
2139,
319,
1367,
730,
65,
3728,
13540,
30,
46506,
20625,
7,
1122,
77,
496,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
3128,
62,
298,
1068,
62,
15271,
796,
... |
What was the Vanwall time/retired with 49 laps? | SELECT "Time/Retired" FROM table_53182 WHERE "Laps" = '49' AND "Constructor" = 'vanwall' | [
2061,
373,
262,
6656,
11930,
640,
14,
1186,
1202,
351,
5125,
24590,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
4310,
24294,
33411,
366,
43,
1686,
1,
796,
705,
2920,
6,
5357,
366,
42316,
273,
1,
796,
705,
10438,
11930,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6656,
11930,
640,
14,
1186,
1202,
351,
5125,
24590,
30,
46506,
366,
7575,
14,
9781,
1202,
1,
16034,
3084,
62,
4310,
24294,
33411,
366,
43,
1686,
1,
796,
705,
2920,
6,
5357,
366,
42316,
273,
1,
796,
705,
10438,
11930,... |
what is the name of the ship listed before the maryland ? | SELECT "ship name" FROM table_204_457 WHERE id = (SELECT id FROM table_204_457 WHERE "ship name" = 'maryland') - 1 | [
10919,
318,
262,
1438,
286,
262,
4074,
5610,
878,
262,
285,
560,
1044,
5633,
46506,
366,
6720,
1438,
1,
16034,
3084,
62,
18638,
62,
33032,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
33032,
33411,
366,
6720,
1438,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1438,
286,
262,
4074,
5610,
878,
262,
285,
560,
1044,
5633,
46506,
366,
6720,
1438,
1,
16034,
3084,
62,
18638,
62,
33032,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
33032,
33411,
366,
6720,
1438,
... |
What is the sum of bronze medals when the rank is greater than 2, and less than 2 total medals with silver medals being more than 0? | SELECT COUNT("Bronze") FROM table_63729 WHERE "Rank" > '2' AND "Total" < '2' AND "Silver" > '0' | [
2061,
318,
262,
2160,
286,
22101,
28057,
618,
262,
4279,
318,
3744,
621,
362,
11,
290,
1342,
621,
362,
2472,
28057,
351,
8465,
28057,
852,
517,
621,
657,
30,
46506,
327,
28270,
7203,
18760,
2736,
4943,
16034,
3084,
62,
21,
2718,
1959,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22101,
28057,
618,
262,
4279,
318,
3744,
621,
362,
11,
290,
1342,
621,
362,
2472,
28057,
351,
8465,
28057,
852,
517,
621,
657,
30,
46506,
327,
28270,
7203,
18760,
2736,
4943,
16034,
3084,
62,
21,
2718,
1959,... |
What is Team, when Position is 'LHP', and when Pick is '23'? | SELECT "Team" FROM table_59017 WHERE "Position" = 'lhp' AND "Pick" = '23' | [
2061,
318,
4816,
11,
618,
23158,
318,
705,
43,
14082,
3256,
290,
618,
12346,
318,
705,
1954,
30960,
46506,
366,
15592,
1,
16034,
3084,
62,
3270,
29326,
33411,
366,
26545,
1,
796,
705,
75,
24831,
6,
5357,
366,
31686,
1,
796,
705,
195... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4816,
11,
618,
23158,
318,
705,
43,
14082,
3256,
290,
618,
12346,
318,
705,
1954,
30960,
46506,
366,
15592,
1,
16034,
3084,
62,
3270,
29326,
33411,
366,
26545,
1,
796,
705,
75,
24831,
6,
5357,
366,
31686,
1,
796,
705,
195... |
Show all sport name and the number of students. | SELECT sportname, COUNT(*) FROM Sportsinfo GROUP BY sportname | [
15307,
477,
6332,
1438,
290,
262,
1271,
286,
2444,
13,
46506,
6332,
3672,
11,
327,
28270,
7,
28104,
16034,
7092,
10951,
44441,
11050,
6332,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
6332,
1438,
290,
262,
1271,
286,
2444,
13,
46506,
6332,
3672,
11,
327,
28270,
7,
28104,
16034,
7092,
10951,
44441,
11050,
6332,
3672
] |
who is the last constructor ? | SELECT "constructor" FROM table_204_788 ORDER BY id DESC LIMIT 1 | [
8727,
318,
262,
938,
23772,
5633,
46506,
366,
41571,
273,
1,
16034,
3084,
62,
18638,
62,
22,
3459,
38678,
11050,
4686,
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
] | [
8727,
318,
262,
938,
23772,
5633,
46506,
366,
41571,
273,
1,
16034,
3084,
62,
18638,
62,
22,
3459,
38678,
11050,
4686,
22196,
34,
27564,
2043,
352
] |
count the number of patients whose admission year is less than 2197 and lab test fluid is blood? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2197" AND lab.fluid = "Blood" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
24991,
290,
2248,
1332,
11711,
318,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
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... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
24991,
290,
2248,
1332,
11711,
318,
2910,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6... |
What set 2 has a set 4 of 21-25? | SELECT "Set 2" FROM table_40011 WHERE "Set 4" = '21-25' | [
2061,
900,
362,
468,
257,
900,
604,
286,
2310,
12,
1495,
30,
46506,
366,
7248,
362,
1,
16034,
3084,
62,
7029,
1157,
33411,
366,
7248,
604,
1,
796,
705,
2481,
12,
1495,
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,
900,
362,
468,
257,
900,
604,
286,
2310,
12,
1495,
30,
46506,
366,
7248,
362,
1,
16034,
3084,
62,
7029,
1157,
33411,
366,
7248,
604,
1,
796,
705,
2481,
12,
1495,
6
] |
What was the time in part 3 when Heikki Kovalainen was the driver? | SELECT "Part 3" FROM table_2232 WHERE "Driver" = 'Heikki Kovalainen' | [
2061,
373,
262,
640,
287,
636,
513,
618,
679,
1134,
4106,
509,
8325,
391,
268,
373,
262,
4639,
30,
46506,
366,
7841,
513,
1,
16034,
3084,
62,
1828,
2624,
33411,
366,
32103,
1,
796,
705,
1544,
1134,
4106,
509,
8325,
391,
268,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
640,
287,
636,
513,
618,
679,
1134,
4106,
509,
8325,
391,
268,
373,
262,
4639,
30,
46506,
366,
7841,
513,
1,
16034,
3084,
62,
1828,
2624,
33411,
366,
32103,
1,
796,
705,
1544,
1134,
4106,
509,
8325,
391,
268,
6
] |
list the top five most frequent outputs? | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT outputevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM outputevents GROUP BY outputevents.itemid) AS t1 WHERE t1.c1 <= 5) | [
4868,
262,
1353,
1936,
749,
10792,
23862,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
16034,
357,
46506,
38701,
1133,
85,
658,
13,
9186,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
262,
1353,
1936,
749,
10792,
23862,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
256,
16,
13,
9186,
312,
16034,
357,
46506,
38701,
1133,
85,
658,
13,
9186,
... |
What was the date of the game with a score of 15 6? | SELECT "Date" FROM table_39706 WHERE "Score" = '15–6' | [
2061,
373,
262,
3128,
286,
262,
983,
351,
257,
4776,
286,
1315,
718,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2670,
35402,
33411,
366,
26595,
1,
796,
705,
1314,
1906,
21,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
262,
983,
351,
257,
4776,
286,
1315,
718,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
2670,
35402,
33411,
366,
26595,
1,
796,
705,
1314,
1906,
21,
6
] |
What was the score on september 28? | SELECT score FROM table_name_58 WHERE date = "september 28" | [
2061,
373,
262,
4776,
319,
384,
457,
1491,
2579,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3365,
33411,
3128,
796,
366,
325,
457,
1491,
2579,
1
] | [
1,
1,
1,
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,
4776,
319,
384,
457,
1491,
2579,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3365,
33411,
3128,
796,
366,
325,
457,
1491,
2579,
1
] |
Which NFL team picked a player for the Wide Receiver position? | SELECT nfl_team FROM table_name_19 WHERE position = "wide receiver" | [
13828,
5134,
1074,
6497,
257,
2137,
329,
262,
23399,
39106,
2292,
30,
46506,
299,
2704,
62,
15097,
16034,
3084,
62,
3672,
62,
1129,
33411,
2292,
796,
366,
4421,
9733,
1
] | [
1,
1,
1,
1,
1,
1,
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,
5134,
1074,
6497,
257,
2137,
329,
262,
23399,
39106,
2292,
30,
46506,
299,
2704,
62,
15097,
16034,
3084,
62,
3672,
62,
1129,
33411,
2292,
796,
366,
4421,
9733,
1
] |
What are the names of the physician who prescribed the highest dose? | SELECT T1.name FROM physician AS T1 JOIN prescribes AS T2 ON T1.employeeid = T2.physician ORDER BY T2.dose DESC LIMIT 1 | [
2061,
389,
262,
3891,
286,
262,
14325,
508,
14798,
262,
4511,
10742,
30,
46506,
309,
16,
13,
3672,
16034,
14325,
7054,
309,
16,
32357,
1268,
10859,
22090,
7054,
309,
17,
6177,
309,
16,
13,
7033,
1453,
312,
796,
309,
17,
13,
34411,
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
] | [
2061,
389,
262,
3891,
286,
262,
14325,
508,
14798,
262,
4511,
10742,
30,
46506,
309,
16,
13,
3672,
16034,
14325,
7054,
309,
16,
32357,
1268,
10859,
22090,
7054,
309,
17,
6177,
309,
16,
13,
7033,
1453,
312,
796,
309,
17,
13,
34411,
6... |
What is the Year for fleet number 5000? | SELECT "Year made" FROM table_66251 WHERE "Fleet number(s)" = '5000' | [
2061,
318,
262,
6280,
329,
11026,
1271,
23336,
30,
46506,
366,
17688,
925,
1,
16034,
3084,
62,
2791,
28072,
33411,
366,
47669,
316,
1271,
7,
82,
16725,
796,
705,
27641,
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,
6280,
329,
11026,
1271,
23336,
30,
46506,
366,
17688,
925,
1,
16034,
3084,
62,
2791,
28072,
33411,
366,
47669,
316,
1271,
7,
82,
16725,
796,
705,
27641,
6
] |
did patient 028-47306 have levothyroxine sodium 75 mcg po tabs prescribed since 32 months ago? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-47306')) AND medication.drugname = 'levothyroxine sodium 75 mcg po tab... | [
20839,
5827,
657,
2078,
12,
2857,
20548,
423,
23145,
14863,
13907,
500,
21072,
5441,
36650,
70,
745,
22524,
14798,
1201,
3933,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
5827,
657,
2078,
12,
2857,
20548,
423,
23145,
14863,
13907,
500,
21072,
5441,
36650,
70,
745,
22524,
14798,
1201,
3933,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
31... |
What was the result for Steve & Anna when the score was 21 (7, 7, 7)? | SELECT result FROM table_name_80 WHERE score = "21 (7, 7, 7)" AND couple = "steve & anna" | [
2061,
373,
262,
1255,
329,
6542,
1222,
11735,
618,
262,
4776,
373,
2310,
357,
22,
11,
767,
11,
767,
19427,
46506,
1255,
16034,
3084,
62,
3672,
62,
1795,
33411,
4776,
796,
366,
2481,
357,
22,
11,
767,
11,
767,
16725,
5357,
3155,
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
] | [
2061,
373,
262,
1255,
329,
6542,
1222,
11735,
618,
262,
4776,
373,
2310,
357,
22,
11,
767,
11,
767,
19427,
46506,
1255,
16034,
3084,
62,
3672,
62,
1795,
33411,
4776,
796,
366,
2481,
357,
22,
11,
767,
11,
767,
16725,
5357,
3155,
796,... |
Name the 20 questions for 8-04 | SELECT "20 Questions" FROM table_20248 WHERE "Date" = '8-04' | [
5376,
262,
1160,
2683,
329,
807,
12,
3023,
46506,
366,
1238,
20396,
1,
16034,
3084,
62,
1238,
23045,
33411,
366,
10430,
1,
796,
705,
23,
12,
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
] | [
5376,
262,
1160,
2683,
329,
807,
12,
3023,
46506,
366,
1238,
20396,
1,
16034,
3084,
62,
1238,
23045,
33411,
366,
10430,
1,
796,
705,
23,
12,
3023,
6
] |
Nepal users rank with reputation. | SELECT Ranking = ROW_NUMBER() OVER (ORDER BY Reputation DESC), * FROM Users WHERE Location LIKE '%Dubai%' OR Location LIKE '%dubai%' ORDER BY Reputation DESC | [
45,
538,
282,
2985,
4279,
351,
8507,
13,
46506,
45407,
796,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
828,
1635,
16034,
18987,
33411,
13397,
34178,
705,
4,
37590,
1872,
4,
6,
6375,
13397,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
45,
538,
282,
2985,
4279,
351,
8507,
13,
46506,
45407,
796,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
828,
1635,
16034,
18987,
33411,
13397,
34178,
705,
4,
37590,
1872,
4,
6,
6375,
13397,
... |
what is the number of losses for dinamo tiran | SELECT "losses" FROM table_204_623 WHERE "opponent" = 'dinamo tirane' | [
10919,
318,
262,
1271,
286,
9089,
329,
16278,
18811,
48965,
272,
46506,
366,
22462,
274,
1,
16034,
3084,
62,
18638,
62,
46872,
33411,
366,
10365,
3471,
1,
796,
705,
25194,
18811,
48965,
1531,
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
] | [
10919,
318,
262,
1271,
286,
9089,
329,
16278,
18811,
48965,
272,
46506,
366,
22462,
274,
1,
16034,
3084,
62,
18638,
62,
46872,
33411,
366,
10365,
3471,
1,
796,
705,
25194,
18811,
48965,
1531,
6
] |
What nation was the film from that was in english and had a Literary tradition of canadian literature? | SELECT "Country" FROM table_36060 WHERE "Language(s)" = 'english' AND "Literary tradition" = 'canadian literature' | [
2061,
3277,
373,
262,
2646,
422,
326,
373,
287,
46932,
290,
550,
257,
38412,
6761,
286,
460,
18425,
9285,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
15277,
1899,
33411,
366,
32065,
7,
82,
16725,
796,
705,
39126,
6,
5357,
366,
43460,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3277,
373,
262,
2646,
422,
326,
373,
287,
46932,
290,
550,
257,
38412,
6761,
286,
460,
18425,
9285,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
15277,
1899,
33411,
366,
32065,
7,
82,
16725,
796,
705,
39126,
6,
5357,
366,
43460,
... |
What is the score for the game where Birmingham City was the home team on 10 March 1984? | SELECT score FROM table_name_86 WHERE date = "10 march 1984" AND home_team = "birmingham city" | [
2061,
318,
262,
4776,
329,
262,
983,
810,
18899,
2254,
373,
262,
1363,
1074,
319,
838,
2805,
12844,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4521,
33411,
3128,
796,
366,
940,
9960,
12844,
1,
5357,
1363,
62,
15097,
796,
366,
65,
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
] | [
2061,
318,
262,
4776,
329,
262,
983,
810,
18899,
2254,
373,
262,
1363,
1074,
319,
838,
2805,
12844,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4521,
33411,
3128,
796,
366,
940,
9960,
12844,
1,
5357,
1363,
62,
15097,
796,
366,
65,
3... |
what number of patients admitted before the year 2179 were below 76 years of age? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "76" AND demographic.admityear < "2179" | [
10919,
1271,
286,
3871,
6848,
878,
262,
614,
362,
21738,
547,
2174,
8684,
812,
286,
2479,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
366,
4304,
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,
1,
1
] | [
10919,
1271,
286,
3871,
6848,
878,
262,
614,
362,
21738,
547,
2174,
8684,
812,
286,
2479,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
496,
1279,
366,
4304,
1,
5357,
1... |
For those employees who do not work in departments with managers that have ids between 100 and 200, find hire_date and the sum of department_id bin hire_date by time, and visualize them by a bar chart, and I want to sort Y in asc order please. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(DEPARTMENT_ID) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
5011,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
38350,
606,
416,
257,
... |
Which class has a Qual position of 30? | SELECT class FROM table_name_48 WHERE qual_pos = 30 | [
13828,
1398,
468,
257,
9537,
2292,
286,
1542,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
2780,
33411,
4140,
62,
1930,
796,
1542
] | [
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,
468,
257,
9537,
2292,
286,
1542,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
2780,
33411,
4140,
62,
1930,
796,
1542
] |
How many trips did not end in San Francisco? | SELECT COUNT(*) FROM trip AS T1 JOIN station AS T2 ON T1.end_station_id = T2.id WHERE T2.city <> "San Francisco" | [
2437,
867,
13229,
750,
407,
886,
287,
2986,
6033,
30,
46506,
327,
28270,
7,
28104,
16034,
5296,
7054,
309,
16,
32357,
1268,
4429,
7054,
309,
17,
6177,
309,
16,
13,
437,
62,
17529,
62,
312,
796,
309,
17,
13,
312,
33411,
309,
17,
13... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
13229,
750,
407,
886,
287,
2986,
6033,
30,
46506,
327,
28270,
7,
28104,
16034,
5296,
7054,
309,
16,
32357,
1268,
4429,
7054,
309,
17,
6177,
309,
16,
13,
437,
62,
17529,
62,
312,
796,
309,
17,
13,
312,
33411,
309,
17,
13... |
Which college has a Player of shabazz muhammad? | SELECT college FROM table_name_36 WHERE player = "shabazz muhammad" | [
13828,
4152,
468,
257,
7853,
286,
427,
397,
8101,
38779,
14875,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
2623,
33411,
2137,
796,
366,
1477,
397,
8101,
38779,
14875,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4152,
468,
257,
7853,
286,
427,
397,
8101,
38779,
14875,
30,
46506,
4152,
16034,
3084,
62,
3672,
62,
2623,
33411,
2137,
796,
366,
1477,
397,
8101,
38779,
14875,
1
] |
A line chart shows the trend of the amount of date_address_to over date_address_to , and group by attribute date_address_to. | SELECT date_address_to, COUNT(date_address_to) FROM Student_Addresses GROUP BY date_address_to ORDER BY monthly_rental DESC | [
32,
1627,
8262,
2523,
262,
5182,
286,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
625,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
3128,
62,
21975,
62,
1462,
13,
46506,
3128,
62,
21975,
62,
1462,
11,
327,
28270,
7,
4475,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1627,
8262,
2523,
262,
5182,
286,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
625,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
3128,
62,
21975,
62,
1462,
13,
46506,
3128,
62,
21975,
62,
1462,
11,
327,
28270,
7,
4475,
... |
what is admission time and diagnoses short title of subject id 2560? | SELECT demographic.admittime, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "2560" | [
10919,
318,
13938,
640,
290,
40567,
1790,
3670,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
20124,
524,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
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
] | [
10919,
318,
13938,
640,
290,
40567,
1790,
3670,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
20124,
524,
11,
40567,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.