instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
What are the Chinese characters for the word that has a R maji of ch sh ? | SELECT chinese FROM table_name_61 WHERE rōmaji = "chāshū" | [
2061,
389,
262,
3999,
3435,
329,
262,
1573,
326,
468,
257,
371,
16486,
72,
286,
442,
427,
5633,
46506,
442,
3762,
16034,
3084,
62,
3672,
62,
5333,
33411,
374,
13090,
76,
26436,
796,
366,
354,
10235,
1477,
20317,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3999,
3435,
329,
262,
1573,
326,
468,
257,
371,
16486,
72,
286,
442,
427,
5633,
46506,
442,
3762,
16034,
3084,
62,
3672,
62,
5333,
33411,
374,
13090,
76,
26436,
796,
366,
354,
10235,
1477,
20317,
1
] |
Which school is in the hometown of Aledo, Texas? | SELECT "School" FROM table_17080 WHERE "Hometown" = 'Aledo, Texas' | [
13828,
1524,
318,
287,
262,
20994,
286,
978,
24757,
11,
3936,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
17279,
1795,
33411,
366,
39,
19191,
1,
796,
705,
32,
992,
78,
11,
3936,
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
] | [
13828,
1524,
318,
287,
262,
20994,
286,
978,
24757,
11,
3936,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
17279,
1795,
33411,
366,
39,
19191,
1,
796,
705,
32,
992,
78,
11,
3936,
6
] |
How many districts represented Edwin E. Willis? | SELECT COUNT(district) FROM table_1341884_20 WHERE incumbent = "Edwin E. Willis" | [
2437,
867,
12815,
7997,
37016,
412,
13,
32748,
30,
46506,
327,
28270,
7,
17080,
2012,
8,
16034,
3084,
62,
19880,
1507,
5705,
62,
1238,
33411,
23526,
796,
366,
7407,
5404,
412,
13,
32748,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12815,
7997,
37016,
412,
13,
32748,
30,
46506,
327,
28270,
7,
17080,
2012,
8,
16034,
3084,
62,
19880,
1507,
5705,
62,
1238,
33411,
23526,
796,
366,
7407,
5404,
412,
13,
32748,
1
] |
Which is the lowest 1980 growth that had 2,610 in 1970? | SELECT MIN(1980) FROM table_name_61 WHERE 1970 = 2 OFFSET 610 | [
13828,
318,
262,
9016,
7169,
3349,
326,
550,
362,
11,
39132,
287,
8069,
30,
46506,
20625,
7,
23664,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
8069,
796,
362,
3963,
10652,
2767,
44300
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
9016,
7169,
3349,
326,
550,
362,
11,
39132,
287,
8069,
30,
46506,
20625,
7,
23664,
8,
16034,
3084,
62,
3672,
62,
5333,
33411,
8069,
796,
362,
3963,
10652,
2767,
44300
] |
How many values of HDTV apply when television service is elite shopping tv? | SELECT COUNT("HDTV") FROM table_20370 WHERE "Television service" = 'Elite Shopping TV' | [
2437,
867,
3815,
286,
5572,
6849,
4174,
618,
5581,
2139,
318,
9085,
9735,
31557,
30,
46506,
327,
28270,
7203,
10227,
6849,
4943,
16034,
3084,
62,
1238,
20167,
33411,
366,
6767,
5024,
2139,
1,
796,
705,
9527,
578,
39109,
3195,
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,
3815,
286,
5572,
6849,
4174,
618,
5581,
2139,
318,
9085,
9735,
31557,
30,
46506,
327,
28270,
7203,
10227,
6849,
4943,
16034,
3084,
62,
1238,
20167,
33411,
366,
6767,
5024,
2139,
1,
796,
705,
9527,
578,
39109,
3195,
6
] |
What place did Jack McGrath start in when he received a qual score of 141.033? | SELECT "Start" FROM table_70608 WHERE "Qual" = '141.033' | [
2061,
1295,
750,
3619,
41114,
776,
923,
287,
618,
339,
2722,
257,
4140,
4776,
286,
25500,
13,
44427,
30,
46506,
366,
10434,
1,
16034,
3084,
62,
2154,
28688,
33411,
366,
46181,
1,
796,
705,
23756,
13,
44427,
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,
1295,
750,
3619,
41114,
776,
923,
287,
618,
339,
2722,
257,
4140,
4776,
286,
25500,
13,
44427,
30,
46506,
366,
10434,
1,
16034,
3084,
62,
2154,
28688,
33411,
366,
46181,
1,
796,
705,
23756,
13,
44427,
6
] |
How many goals did the player from Ipswich town score? | SELECT MIN(goal_s_) FROM table_28286776_12 WHERE club_s_ = "Ipswich Town" | [
2437,
867,
4661,
750,
262,
2137,
422,
47177,
11451,
3240,
4776,
30,
46506,
20625,
7,
35231,
62,
82,
62,
8,
16034,
3084,
62,
2078,
2078,
3134,
4304,
62,
1065,
33411,
3430,
62,
82,
62,
796,
366,
40,
862,
11451,
8329,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4661,
750,
262,
2137,
422,
47177,
11451,
3240,
4776,
30,
46506,
20625,
7,
35231,
62,
82,
62,
8,
16034,
3084,
62,
2078,
2078,
3134,
4304,
62,
1065,
33411,
3430,
62,
82,
62,
796,
366,
40,
862,
11451,
8329,
1
] |
For those records from the products and each product's manufacturer, find name and code , and group by attribute name, and visualize them by a bar chart, I want to show in desc by the Y. | SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Code DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
314,
765,
284,
905,
287,
1715,
416,
262,
575,
13,
46506,
309,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1064,
1438,
290,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
38350,
606,
416,
257,
2318,
8262,
11,
314,
765,
284,
905,
287,
1715,
416,
262,
575,
13,
46506,
309,
... |
How many people watch Essendon as an away team? | SELECT SUM(crowd) FROM table_name_77 WHERE away_team = "essendon" | [
2437,
867,
661,
2342,
11985,
43153,
355,
281,
1497,
1074,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
1497,
62,
15097,
796,
366,
408,
43153,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
661,
2342,
11985,
43153,
355,
281,
1497,
1074,
30,
46506,
35683,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
3324,
33411,
1497,
62,
15097,
796,
366,
408,
43153,
1
] |
How many original air dates are there for the episode titled 'Everyone can't be George Washington'? | SELECT COUNT("Original airdate") FROM table_26060 WHERE "Title" = 'Everyone Can''t Be George Washington' | [
2437,
867,
2656,
1633,
9667,
389,
612,
329,
262,
4471,
11946,
705,
16190,
460,
470,
307,
4502,
2669,
30960,
46506,
327,
28270,
7203,
20556,
257,
1447,
378,
4943,
16034,
3084,
62,
21719,
1899,
33411,
366,
19160,
1,
796,
705,
16190,
1680,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
1633,
9667,
389,
612,
329,
262,
4471,
11946,
705,
16190,
460,
470,
307,
4502,
2669,
30960,
46506,
327,
28270,
7203,
20556,
257,
1447,
378,
4943,
16034,
3084,
62,
21719,
1899,
33411,
366,
19160,
1,
796,
705,
16190,
1680,... |
for patients who were diagnosed since 5 years ago with constipation nos, what were the top four most common procedures that followed in the same hospital visit? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_i... | [
1640,
3871,
508,
547,
14641,
1201,
642,
812,
2084,
351,
1500,
25857,
43630,
11,
644,
547,
262,
1353,
1440,
749,
2219,
9021,
326,
3940,
287,
262,
976,
4436,
3187,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1640,
3871,
508,
547,
14641,
1201,
642,
812,
2084,
351,
1500,
25857,
43630,
11,
644,
547,
262,
1353,
1440,
749,
2219,
9021,
326,
3940,
287,
262,
976,
4436,
3187,
30,
46506,
288,
62,
291,
67,
62,
1676,
771,
942,
13,
19509,
62,
7839,
... |
Who did the play-by-play on the CBC network before 1961? | SELECT "Play-by-play" FROM table_77917 WHERE "Network" = 'cbc' AND "Year" < '1961' | [
8241,
750,
262,
711,
12,
1525,
12,
1759,
319,
262,
20244,
3127,
878,
20510,
30,
46506,
366,
11002,
12,
1525,
12,
1759,
1,
16034,
3084,
62,
40393,
1558,
33411,
366,
26245,
1,
796,
705,
66,
15630,
6,
5357,
366,
17688,
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
] | [
8241,
750,
262,
711,
12,
1525,
12,
1759,
319,
262,
20244,
3127,
878,
20510,
30,
46506,
366,
11002,
12,
1525,
12,
1759,
1,
16034,
3084,
62,
40393,
1558,
33411,
366,
26245,
1,
796,
705,
66,
15630,
6,
5357,
366,
17688,
1,
1279,
705,
... |
What is the latest result where a person from the Philippines won? | SELECT MAX("Year") FROM table_68173 WHERE "Nation represented" = 'philippines' | [
2061,
318,
262,
3452,
1255,
810,
257,
1048,
422,
262,
13316,
1839,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
3104,
25399,
33411,
366,
46108,
7997,
1,
796,
705,
746,
8908,
1127,
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,
318,
262,
3452,
1255,
810,
257,
1048,
422,
262,
13316,
1839,
30,
46506,
25882,
7203,
17688,
4943,
16034,
3084,
62,
3104,
25399,
33411,
366,
46108,
7997,
1,
796,
705,
746,
8908,
1127,
6
] |
Name the date for opponent in the final being ignasi villacampa | SELECT date FROM table_name_5 WHERE opponent_in_the_final = "ignasi villacampa" | [
5376,
262,
3128,
329,
6125,
287,
262,
2457,
852,
3627,
17053,
4489,
330,
13299,
46506,
3128,
16034,
3084,
62,
3672,
62,
20,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
570,
17053,
4489,
330,
13299,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
329,
6125,
287,
262,
2457,
852,
3627,
17053,
4489,
330,
13299,
46506,
3128,
16034,
3084,
62,
3672,
62,
20,
33411,
6125,
62,
259,
62,
1169,
62,
20311,
796,
366,
570,
17053,
4489,
330,
13299,
1
] |
EA flight 825 from ATLANTA to DENVER leaving at 555 what type of aircraft is used on that flight | SELECT DISTINCT aircraft.aircraft_code FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE (((flight.departure_time = 555 AND flight.flight_number = 825) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.... | [
16412,
5474,
807,
1495,
422,
5161,
25697,
5603,
284,
37692,
5959,
4305,
379,
44717,
644,
2099,
286,
6215,
318,
973,
319,
326,
5474,
46506,
360,
8808,
1268,
4177,
6215,
13,
958,
3323,
62,
8189,
16034,
6215,
11,
9003,
62,
15271,
7054,
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... | [
16412,
5474,
807,
1495,
422,
5161,
25697,
5603,
284,
37692,
5959,
4305,
379,
44717,
644,
2099,
286,
6215,
318,
973,
319,
326,
5474,
46506,
360,
8808,
1268,
4177,
6215,
13,
958,
3323,
62,
8189,
16034,
6215,
11,
9003,
62,
15271,
7054,
3... |
What is the number of Ashmolean with 14s Harrison, and image less than 542? | SELECT COUNT(ashmolean) FROM table_name_40 WHERE harrison = "14s" AND image < 542 | [
2061,
318,
262,
1271,
286,
7844,
76,
21052,
351,
1478,
82,
17281,
11,
290,
2939,
1342,
621,
642,
3682,
30,
46506,
327,
28270,
7,
1077,
76,
21052,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
289,
22472,
796,
366,
1415,
82,
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
] | [
2061,
318,
262,
1271,
286,
7844,
76,
21052,
351,
1478,
82,
17281,
11,
290,
2939,
1342,
621,
642,
3682,
30,
46506,
327,
28270,
7,
1077,
76,
21052,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
289,
22472,
796,
366,
1415,
82,
1,
5357,
... |
What is the Russian word for the Greek word greek? | SELECT "Russian" FROM table_42489 WHERE "Greek" = 'greek' | [
2061,
318,
262,
3394,
1573,
329,
262,
8312,
1573,
308,
10316,
30,
46506,
366,
16220,
1,
16034,
3084,
62,
40090,
4531,
33411,
366,
44059,
1,
796,
705,
70,
10316,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3394,
1573,
329,
262,
8312,
1573,
308,
10316,
30,
46506,
366,
16220,
1,
16034,
3084,
62,
40090,
4531,
33411,
366,
44059,
1,
796,
705,
70,
10316,
6
] |
What is the first name and last name of the customer that has email 'luisg@embraer.com.br'? | SELECT firstname, lastname FROM customer WHERE email = "luisg@embraer.com.br" | [
2061,
318,
262,
717,
1438,
290,
938,
1438,
286,
262,
6491,
326,
468,
3053,
705,
2290,
271,
70,
31,
368,
16057,
263,
13,
785,
13,
1671,
30960,
46506,
717,
3672,
11,
938,
3672,
16034,
6491,
33411,
3053,
796,
366,
2290,
271,
70,
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
] | [
2061,
318,
262,
717,
1438,
290,
938,
1438,
286,
262,
6491,
326,
468,
3053,
705,
2290,
271,
70,
31,
368,
16057,
263,
13,
785,
13,
1671,
30960,
46506,
717,
3672,
11,
938,
3672,
16034,
6491,
33411,
3053,
796,
366,
2290,
271,
70,
31,
... |
What institution joined in 1988? | SELECT institution FROM table_255188_1 WHERE joined = 1988 | [
2061,
9901,
5399,
287,
12122,
30,
46506,
9901,
16034,
3084,
62,
13381,
20356,
62,
16,
33411,
5399,
796,
12122
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
9901,
5399,
287,
12122,
30,
46506,
9901,
16034,
3084,
62,
13381,
20356,
62,
16,
33411,
5399,
796,
12122
] |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the amount of name , and group by attribute name, rank by the y-axis from low to high. | SELECT T2.Name, COUNT(T2.Name) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY COUNT(T2.Name) | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2033,
286,
1438,
837,
290,
1448,
416,
11688,
1438,
11,
4279,
416,
262,
331,
12,
22704,
422,
1877,
284,
10... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2033,
286,
1438,
837,
290,
1448,
416,
11688,
1438,
11,
4279,
416,
262,
331,
12,
22704,
422,
1877,
284,
10... |
How long is the ko (punch) fight against scott smith? | SELECT time FROM table_name_78 WHERE method = "ko (punch)" AND opponent = "scott smith" | [
2437,
890,
318,
262,
41727,
357,
79,
3316,
8,
1907,
1028,
629,
1252,
895,
342,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3695,
33411,
2446,
796,
366,
7204,
357,
79,
3316,
16725,
5357,
6125,
796,
366,
1416,
1252,
895,
342,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
890,
318,
262,
41727,
357,
79,
3316,
8,
1907,
1028,
629,
1252,
895,
342,
30,
46506,
640,
16034,
3084,
62,
3672,
62,
3695,
33411,
2446,
796,
366,
7204,
357,
79,
3316,
16725,
5357,
6125,
796,
366,
1416,
1252,
895,
342,
1
] |
WHat is the number of Population has a Density of 50.09 and a Rank larger than 30? | SELECT SUM(population) FROM table_name_70 WHERE density = 50.09 AND rank > 30 | [
12418,
265,
318,
262,
1271,
286,
20133,
468,
257,
360,
6377,
286,
2026,
13,
2931,
290,
257,
10916,
4025,
621,
1542,
30,
46506,
35683,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
12109,
796,
2026,
13,
2931,
5357,
4279,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
12418,
265,
318,
262,
1271,
286,
20133,
468,
257,
360,
6377,
286,
2026,
13,
2931,
290,
257,
10916,
4025,
621,
1542,
30,
46506,
35683,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
12109,
796,
2026,
13,
2931,
5357,
4279,
1875,
... |
What courses I am required to take before MUSED 370 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT... | [
2061,
10902,
314,
716,
2672,
284,
1011,
878,
39484,
1961,
28687,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37384... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10902,
314,
716,
2672,
284,
1011,
878,
39484,
1961,
28687,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
17618,
16034,
1781,
7054,
37384... |
Which player is no. 53? | SELECT player FROM table_11545282_5 WHERE no = "53" | [
13828,
2137,
318,
645,
13,
7192,
30,
46506,
2137,
16034,
3084,
62,
15363,
2231,
32568,
62,
20,
33411,
645,
796,
366,
4310,
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,
318,
645,
13,
7192,
30,
46506,
2137,
16034,
3084,
62,
15363,
2231,
32568,
62,
20,
33411,
645,
796,
366,
4310,
1
] |
Find the number of rooms with price higher than 120 for different decor. | SELECT decor, COUNT(*) FROM rooms WHERE baseprice > 120 GROUP BY decor | [
16742,
262,
1271,
286,
9519,
351,
2756,
2440,
621,
7982,
329,
1180,
11705,
13,
46506,
11705,
11,
327,
28270,
7,
28104,
16034,
9519,
33411,
1615,
538,
20970,
1875,
7982,
44441,
11050,
11705
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1271,
286,
9519,
351,
2756,
2440,
621,
7982,
329,
1180,
11705,
13,
46506,
11705,
11,
327,
28270,
7,
28104,
16034,
9519,
33411,
1615,
538,
20970,
1875,
7982,
44441,
11050,
11705
] |
What is the number of sequences for the name Alifoldz? | SELECT number_of_sequences_number_of_sequences AS :_ FROM table_name_72 WHERE name = "alifoldz" | [
2061,
318,
262,
1271,
286,
16311,
329,
262,
1438,
978,
361,
727,
89,
30,
46506,
1271,
62,
1659,
62,
3107,
3007,
62,
17618,
62,
1659,
62,
3107,
3007,
7054,
1058,
62,
16034,
3084,
62,
3672,
62,
4761,
33411,
1438,
796,
366,
282,
361,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
16311,
329,
262,
1438,
978,
361,
727,
89,
30,
46506,
1271,
62,
1659,
62,
3107,
3007,
62,
17618,
62,
1659,
62,
3107,
3007,
7054,
1058,
62,
16034,
3084,
62,
3672,
62,
4761,
33411,
1438,
796,
366,
282,
361,
... |
Question with only one specific tag. | SELECT Id AS "post_link", CreationDate FROM Posts WHERE PostTypeId = 1 AND Tags = LOWER(N'<##tag##>') ORDER BY CreationDate DESC LIMIT 5000 | [
24361,
351,
691,
530,
2176,
7621,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
796,
406,
36048,
7,
45,
6,
27,
2235,
12985,
2235,
29,
11537,
38678,
11050,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24361,
351,
691,
530,
2176,
7621,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
2947,
6030,
7390,
796,
352,
5357,
44789,
796,
406,
36048,
7,
45,
6,
27,
2235,
12985,
2235,
29,
11537,
38678,
11050,
... |
what is days of hospital stay and admission time of subject id 66411? | SELECT demographic.days_stay, demographic.admittime FROM demographic WHERE demographic.subject_id = "66411" | [
10919,
318,
1528,
286,
4436,
2652,
290,
13938,
640,
286,
2426,
4686,
718,
2414,
1157,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
21,
2414,
1157,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
1528,
286,
4436,
2652,
290,
13938,
640,
286,
2426,
4686,
718,
2414,
1157,
30,
46506,
16728,
13,
12545,
62,
31712,
11,
16728,
13,
324,
20124,
524,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
21,
2414,
1157,
1
... |
what is the last time patient 73913 had the microbiology test in the last hospital encounter? | SELECT microbiologyevents.charttime FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73913 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) ORDER BY microbiologyevents.charttime DESC LIMIT 1 | [
10919,
318,
262,
938,
640,
5827,
767,
2670,
1485,
550,
262,
24559,
1435,
1332,
287,
262,
938,
4436,
8791,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
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,
318,
262,
938,
640,
5827,
767,
2670,
1485,
550,
262,
24559,
1435,
1332,
287,
262,
938,
4436,
8791,
30,
46506,
24559,
1435,
31534,
13,
40926,
2435,
16034,
24559,
1435,
31534,
33411,
24559,
1435,
31534,
13,
18108,
76,
62,
312,
3268... |
How many total catches did the player with no. 46 have? | SELECT COUNT(catches) FROM table_27770426_1 WHERE no = 46 | [
2437,
867,
2472,
17591,
750,
262,
2137,
351,
645,
13,
6337,
423,
30,
46506,
327,
28270,
7,
9246,
2052,
8,
16034,
3084,
62,
27019,
32869,
2075,
62,
16,
33411,
645,
796,
6337
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
17591,
750,
262,
2137,
351,
645,
13,
6337,
423,
30,
46506,
327,
28270,
7,
9246,
2052,
8,
16034,
3084,
62,
27019,
32869,
2075,
62,
16,
33411,
645,
796,
6337
] |
What is the region 1 where region 4 is tba is the complete eighth series? | SELECT region_1 FROM table_1337525_1 WHERE region_4 = "TBA" AND complete_series = "The Complete Eighth Series" | [
2061,
318,
262,
3814,
352,
810,
3814,
604,
318,
256,
7012,
318,
262,
1844,
16974,
2168,
30,
46506,
3814,
62,
16,
16034,
3084,
62,
16945,
2425,
1495,
62,
16,
33411,
3814,
62,
19,
796,
366,
51,
4339,
1,
5357,
1844,
62,
25076,
796,
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
] | [
2061,
318,
262,
3814,
352,
810,
3814,
604,
318,
256,
7012,
318,
262,
1844,
16974,
2168,
30,
46506,
3814,
62,
16,
16034,
3084,
62,
16945,
2425,
1495,
62,
16,
33411,
3814,
62,
19,
796,
366,
51,
4339,
1,
5357,
1844,
62,
25076,
796,
3... |
how many patients are in hospital ward 12 in 2102? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.wardid = 12 AND STRFTIME('%y', transfers.intime) = '2102') | [
4919,
867,
3871,
389,
287,
4436,
15305,
1105,
287,
362,
15377,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
389,
287,
4436,
15305,
1105,
287,
362,
15377,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
13,
18108,
76,
... |
Name the security forces with civilians being 67 | SELECT "Security Forces" FROM table_57138 WHERE "Civilians" = '67' | [
5376,
262,
2324,
3386,
351,
10380,
852,
8275,
46506,
366,
24074,
12700,
1,
16034,
3084,
62,
3553,
20107,
33411,
366,
32610,
1547,
1,
796,
705,
3134,
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
] | [
5376,
262,
2324,
3386,
351,
10380,
852,
8275,
46506,
366,
24074,
12700,
1,
16034,
3084,
62,
3553,
20107,
33411,
366,
32610,
1547,
1,
796,
705,
3134,
6
] |
What Name has a 2008 Club of Sisley Treviso? | SELECT "Name" FROM table_63577 WHERE "2008 club" = 'sisley treviso' | [
2061,
6530,
468,
257,
3648,
6289,
286,
311,
271,
1636,
4700,
4703,
78,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
48250,
3324,
33411,
366,
11528,
3430,
1,
796,
705,
13429,
1636,
2054,
4703,
78,
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,
6530,
468,
257,
3648,
6289,
286,
311,
271,
1636,
4700,
4703,
78,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
48250,
3324,
33411,
366,
11528,
3430,
1,
796,
705,
13429,
1636,
2054,
4703,
78,
6
] |
what is the no when the distance is 4168km? | SELECT no FROM table_26745820_1 WHERE distance = "4168km" | [
10919,
318,
262,
645,
618,
262,
5253,
318,
604,
14656,
13276,
30,
46506,
645,
16034,
3084,
62,
25674,
29334,
1238,
62,
16,
33411,
5253,
796,
366,
19,
14656,
13276,
1
] | [
1,
1,
1,
1,
1,
1,
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,
645,
618,
262,
5253,
318,
604,
14656,
13276,
30,
46506,
645,
16034,
3084,
62,
25674,
29334,
1238,
62,
16,
33411,
5253,
796,
366,
19,
14656,
13276,
1
] |
What is the Catch-up period for UTV? | SELECT "Catch-up period" FROM table_78803 WHERE "Owner" = 'utv' | [
2061,
318,
262,
25750,
12,
929,
2278,
329,
471,
6849,
30,
46506,
366,
34,
963,
12,
929,
2278,
1,
16034,
3084,
62,
3695,
43564,
33411,
366,
42419,
1,
796,
705,
315,
85,
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,
25750,
12,
929,
2278,
329,
471,
6849,
30,
46506,
366,
34,
963,
12,
929,
2278,
1,
16034,
3084,
62,
3695,
43564,
33411,
366,
42419,
1,
796,
705,
315,
85,
6
] |
How many FTE teachers are there when the student:teacher ration is 19? | SELECT "FTE Teachers" FROM table_19163 WHERE "Pupil/Teacher Ratio" = '19' | [
2437,
867,
376,
9328,
7799,
389,
612,
618,
262,
3710,
25,
660,
3493,
36535,
318,
678,
30,
46506,
366,
37,
9328,
32426,
1,
16034,
3084,
62,
1129,
24136,
33411,
366,
47,
929,
346,
14,
6767,
3493,
33956,
1,
796,
705,
1129,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
376,
9328,
7799,
389,
612,
618,
262,
3710,
25,
660,
3493,
36535,
318,
678,
30,
46506,
366,
37,
9328,
32426,
1,
16034,
3084,
62,
1129,
24136,
33411,
366,
47,
929,
346,
14,
6767,
3493,
33956,
1,
796,
705,
1129,
6
] |
What venue held with game with a score of 3-2? | SELECT venue FROM table_name_42 WHERE score = "3-2" | [
2061,
14359,
2714,
351,
983,
351,
257,
4776,
286,
513,
12,
17,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
3682,
33411,
4776,
796,
366,
18,
12,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
14359,
2714,
351,
983,
351,
257,
4776,
286,
513,
12,
17,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
3682,
33411,
4776,
796,
366,
18,
12,
17,
1
] |
Show the id, name of each editor and the number of journal committees they are on. | SELECT T1.editor_id, T1.name, COUNT(*) FROM editor AS T1 JOIN journal_committee AS T2 ON T1.editor_id = T2.editor_id GROUP BY T1.editor_id | [
15307,
262,
4686,
11,
1438,
286,
1123,
5464,
290,
262,
1271,
286,
3989,
17460,
484,
389,
319,
13,
46506,
309,
16,
13,
35352,
62,
312,
11,
309,
16,
13,
3672,
11,
327,
28270,
7,
28104,
16034,
5464,
7054,
309,
16,
32357,
1268,
3989,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
4686,
11,
1438,
286,
1123,
5464,
290,
262,
1271,
286,
3989,
17460,
484,
389,
319,
13,
46506,
309,
16,
13,
35352,
62,
312,
11,
309,
16,
13,
3672,
11,
327,
28270,
7,
28104,
16034,
5464,
7054,
309,
16,
32357,
1268,
3989,
... |
What is Area km 2, when Population is greater than 1,395? | SELECT MIN(area_km_2) FROM table_name_21 WHERE population > 1 OFFSET 395 | [
2061,
318,
9498,
10571,
362,
11,
618,
20133,
318,
3744,
621,
352,
11,
31010,
30,
46506,
20625,
7,
20337,
62,
13276,
62,
17,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
3265,
1875,
352,
3963,
10652,
2767,
42321
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9498,
10571,
362,
11,
618,
20133,
318,
3744,
621,
352,
11,
31010,
30,
46506,
20625,
7,
20337,
62,
13276,
62,
17,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
3265,
1875,
352,
3963,
10652,
2767,
42321
] |
How many pick # are there for the goaltender position? | SELECT MIN("Pick #") FROM table_24976 WHERE "Position" = 'Goaltender' | [
2437,
867,
2298,
1303,
389,
612,
329,
262,
44113,
2292,
30,
46506,
20625,
7203,
31686,
1303,
4943,
16034,
3084,
62,
21626,
4304,
33411,
366,
26545,
1,
796,
705,
5247,
2501,
2194,
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
] | [
2437,
867,
2298,
1303,
389,
612,
329,
262,
44113,
2292,
30,
46506,
20625,
7203,
31686,
1303,
4943,
16034,
3084,
62,
21626,
4304,
33411,
366,
26545,
1,
796,
705,
5247,
2501,
2194,
6
] |
Who was the SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP. | SELECT "Shortstop" FROM table_72289 WHERE "Second Baseman" = 'Jim Lefebvre' AND "Centerfielder" = 'Willie Davis' AND "Starting Pitcher" = 'Don Drysdale' | [
8241,
373,
262,
6723,
618,
474,
320,
443,
69,
1765,
43933,
373,
379,
362,
358,
11,
481,
494,
288,
23401,
379,
18551,
11,
290,
836,
5894,
82,
14597,
373,
262,
6226,
13,
46506,
366,
16438,
11338,
1,
16034,
3084,
62,
22,
1828,
4531,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8241,
373,
262,
6723,
618,
474,
320,
443,
69,
1765,
43933,
373,
379,
362,
358,
11,
481,
494,
288,
23401,
379,
18551,
11,
290,
836,
5894,
82,
14597,
373,
262,
6226,
13,
46506,
366,
16438,
11338,
1,
16034,
3084,
62,
22,
1828,
4531,
... |
What is the average goals less than 41 that goalkeeper Claudio Bravo had? | SELECT COUNT("Average") FROM table_69217 WHERE "Goals" < '41' AND "Goalkeeper" = 'claudio bravo' | [
2061,
318,
262,
2811,
4661,
1342,
621,
6073,
326,
26318,
1012,
24051,
38990,
550,
30,
46506,
327,
28270,
7203,
26287,
4943,
16034,
3084,
62,
3388,
24591,
33411,
366,
5247,
874,
1,
1279,
705,
3901,
6,
5357,
366,
49045,
13884,
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
] | [
2061,
318,
262,
2811,
4661,
1342,
621,
6073,
326,
26318,
1012,
24051,
38990,
550,
30,
46506,
327,
28270,
7203,
26287,
4943,
16034,
3084,
62,
3388,
24591,
33411,
366,
5247,
874,
1,
1279,
705,
3901,
6,
5357,
366,
49045,
13884,
1,
796,
7... |
how many white-russian patients were born before the year 2104? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.dob_year < "2104" | [
4919,
867,
2330,
12,
81,
31562,
3871,
547,
4642,
878,
262,
614,
362,
13464,
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,
532,
371,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2330,
12,
81,
31562,
3871,
547,
4642,
878,
262,
614,
362,
13464,
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,
532,
371,
... |
What is the parent magazine of Dengeki g's festival! deluxe? | SELECT "Parent magazine" FROM table_50962 WHERE "Title" = 'dengeki g''s festival! deluxe' | [
2061,
318,
262,
2560,
7093,
286,
360,
3540,
4106,
308,
338,
10876,
0,
1619,
18095,
30,
46506,
366,
24546,
7093,
1,
16034,
3084,
62,
1120,
4846,
17,
33411,
366,
19160,
1,
796,
705,
67,
3540,
4106,
308,
7061,
82,
10876,
0,
1619,
18095... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2560,
7093,
286,
360,
3540,
4106,
308,
338,
10876,
0,
1619,
18095,
30,
46506,
366,
24546,
7093,
1,
16034,
3084,
62,
1120,
4846,
17,
33411,
366,
19160,
1,
796,
705,
67,
3540,
4106,
308,
7061,
82,
10876,
0,
1619,
18095... |
What was the Gdp (bn) for the region that has ioannina as its Capital? | SELECT "GDP ( bn )" FROM table_55114 WHERE "Capital" = 'ioannina' | [
2061,
373,
262,
402,
26059,
357,
9374,
8,
329,
262,
3814,
326,
468,
33245,
1236,
1437,
355,
663,
9747,
30,
46506,
366,
38,
6322,
357,
275,
77,
1267,
1,
16034,
3084,
62,
2816,
16562,
33411,
366,
39315,
1,
796,
705,
952,
1236,
1437,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
402,
26059,
357,
9374,
8,
329,
262,
3814,
326,
468,
33245,
1236,
1437,
355,
663,
9747,
30,
46506,
366,
38,
6322,
357,
275,
77,
1267,
1,
16034,
3084,
62,
2816,
16562,
33411,
366,
39315,
1,
796,
705,
952,
1236,
1437,
... |
What To par has a Score of 71-73-71-71=286? | SELECT to_par FROM table_name_85 WHERE score = 71 - 73 - 71 - 71 = 286 | [
2061,
1675,
1582,
468,
257,
15178,
286,
9166,
12,
4790,
12,
4869,
12,
4869,
28,
27033,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
5332,
33411,
4776,
796,
9166,
532,
8854,
532,
9166,
532,
9166,
796,
39697
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1675,
1582,
468,
257,
15178,
286,
9166,
12,
4790,
12,
4869,
12,
4869,
28,
27033,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
5332,
33411,
4776,
796,
9166,
532,
8854,
532,
9166,
532,
9166,
796,
39697
] |
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of phone_number and department_id , I want to rank from high to low by the Y please. | SELECT PHONE_NUMBER, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY DEPARTMENT_ID DESC | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
3072,
62,
17618,
290,
5011,
62,
312,
837,
314,
765,
284,
4279,
422,
1029,
284,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
3072,
62,
17618,
290,
5011,
62,
312,
837,
314,
765,
284,
4279,
422,
1029,
284,
... |
What is the maximum population of the land with an area of 276.84 km2? | SELECT MAX(population) FROM table_170958_2 WHERE area_km_2 = "276.84" | [
2061,
318,
262,
5415,
3265,
286,
262,
1956,
351,
281,
1989,
286,
38147,
13,
5705,
10571,
17,
30,
46506,
25882,
7,
39748,
8,
16034,
3084,
62,
1558,
2931,
3365,
62,
17,
33411,
1989,
62,
13276,
62,
17,
796,
366,
27988,
13,
5705,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5415,
3265,
286,
262,
1956,
351,
281,
1989,
286,
38147,
13,
5705,
10571,
17,
30,
46506,
25882,
7,
39748,
8,
16034,
3084,
62,
1558,
2931,
3365,
62,
17,
33411,
1989,
62,
13276,
62,
17,
796,
366,
27988,
13,
5705,
1
] |
Name the most year built for davik kyrkje | SELECT MAX("Year Built") FROM table_1779 WHERE "Church Name" = 'Davik Kyrkje' | [
5376,
262,
749,
614,
3170,
329,
288,
615,
1134,
479,
2417,
74,
18015,
46506,
25882,
7203,
17688,
28477,
4943,
16034,
3084,
62,
1558,
3720,
33411,
366,
46686,
6530,
1,
796,
705,
35,
615,
1134,
42748,
74,
18015,
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
] | [
5376,
262,
749,
614,
3170,
329,
288,
615,
1134,
479,
2417,
74,
18015,
46506,
25882,
7203,
17688,
28477,
4943,
16034,
3084,
62,
1558,
3720,
33411,
366,
46686,
6530,
1,
796,
705,
35,
615,
1134,
42748,
74,
18015,
6
] |
provide the number of patients whose diagnosis icd9 code is 6824 and lab test category is blood gas. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "6824" AND lab."CATEGORY" = "Blood Gas" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13669,
14158,
67,
24,
2438,
318,
8257,
1731,
290,
2248,
1332,
6536,
318,
2910,
3623,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
13669,
14158,
67,
24,
2438,
318,
8257,
1731,
290,
2248,
1332,
6536,
318,
2910,
3623,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... |
What is the African Spoonbill when the Ostrich is Brown-hooded Kingfisher? | SELECT african_spoonbill FROM table_20042805_2 WHERE ostrich = "Brown-hooded Kingfisher" | [
2061,
318,
262,
5510,
48704,
35546,
618,
262,
440,
2536,
488,
318,
4373,
12,
2894,
276,
2677,
69,
4828,
30,
46506,
6580,
37189,
62,
2777,
2049,
35546,
16034,
3084,
62,
2167,
3682,
28256,
62,
17,
33411,
42387,
488,
796,
366,
20644,
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
] | [
2061,
318,
262,
5510,
48704,
35546,
618,
262,
440,
2536,
488,
318,
4373,
12,
2894,
276,
2677,
69,
4828,
30,
46506,
6580,
37189,
62,
2777,
2049,
35546,
16034,
3084,
62,
2167,
3682,
28256,
62,
17,
33411,
42387,
488,
796,
366,
20644,
12,... |
how many divorced patients had the diagnosis long title tricuspid valve disorders, specified as nonrheumatic? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "DIVORCED" AND diagnoses.long_title = "Tricuspid valve disorders, specified as nonrheumatic" | [
4919,
867,
25107,
3871,
550,
262,
13669,
890,
3670,
491,
291,
17723,
312,
22580,
11916,
11,
7368,
355,
1729,
81,
258,
16735,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25107,
3871,
550,
262,
13669,
890,
3670,
491,
291,
17723,
312,
22580,
11916,
11,
7368,
355,
1729,
81,
258,
16735,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3235... |
When Wyoming won the regular season, who was the conference player of the year? | SELECT "Conference Player of the Year" FROM table_25257 WHERE "Regular Season Winner" = 'Wyoming' | [
2215,
24533,
1839,
262,
3218,
1622,
11,
508,
373,
262,
4495,
2137,
286,
262,
614,
30,
46506,
366,
3103,
4288,
7853,
286,
262,
6280,
1,
16034,
3084,
62,
1495,
28676,
33411,
366,
40164,
7369,
25358,
1,
796,
705,
54,
88,
3383,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
24533,
1839,
262,
3218,
1622,
11,
508,
373,
262,
4495,
2137,
286,
262,
614,
30,
46506,
366,
3103,
4288,
7853,
286,
262,
6280,
1,
16034,
3084,
62,
1495,
28676,
33411,
366,
40164,
7369,
25358,
1,
796,
705,
54,
88,
3383,
6
] |
What prefix has chemical class Iodoalkane? | SELECT prefix FROM table_name_73 WHERE chemical_class = "iodoalkane" | [
2061,
21231,
468,
5931,
1398,
314,
24313,
971,
1531,
30,
46506,
21231,
16034,
3084,
62,
3672,
62,
4790,
33411,
5931,
62,
4871,
796,
366,
2101,
78,
971,
1531,
1
] | [
1,
1,
1,
1,
1,
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,
21231,
468,
5931,
1398,
314,
24313,
971,
1531,
30,
46506,
21231,
16034,
3084,
62,
3672,
62,
4790,
33411,
5931,
62,
4871,
796,
366,
2101,
78,
971,
1531,
1
] |
Which Points difference has Points against of 786? | SELECT points_difference FROM table_name_20 WHERE points_against = "786" | [
13828,
11045,
3580,
468,
11045,
1028,
286,
767,
4521,
30,
46506,
2173,
62,
26069,
1945,
16034,
3084,
62,
3672,
62,
1238,
33411,
2173,
62,
32826,
796,
366,
46302,
1
] | [
1,
1,
1,
1,
1,
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,
11045,
3580,
468,
11045,
1028,
286,
767,
4521,
30,
46506,
2173,
62,
26069,
1945,
16034,
3084,
62,
3672,
62,
1238,
33411,
2173,
62,
32826,
796,
366,
46302,
1
] |
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, find hire_date and the sum of salary bin hire_date by weekday, and visualize them by a bar chart, and sort total number in descending order. | SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(SALARY) DESC | [
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,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
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,
1064,
11078,
62,
4475,
290,
262,
2160,
286,
9588,
9874,
11078,
62,
4475,
416,
2... |
Give me the number of the dates when the max temperature was higher than 85, and display from low to high by the Y. | SELECT date, COUNT(date) FROM weather WHERE max_temperature_f > 85 ORDER BY COUNT(date) | [
23318,
502,
262,
1271,
286,
262,
9667,
618,
262,
3509,
5951,
373,
2440,
621,
7600,
11,
290,
3359,
422,
1877,
284,
1029,
416,
262,
575,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
3509,
62,
11498,
21069,
62,
69,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
262,
9667,
618,
262,
3509,
5951,
373,
2440,
621,
7600,
11,
290,
3359,
422,
1877,
284,
1029,
416,
262,
575,
13,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,
6193,
33411,
3509,
62,
11498,
21069,
62,
69,
... |
What is the total PI GP that a Reg GP has larger than 3? | SELECT COUNT(pl_gp) FROM table_name_79 WHERE reg_gp > 3 | [
2061,
318,
262,
2472,
30434,
14714,
326,
257,
3310,
14714,
468,
4025,
621,
513,
30,
46506,
327,
28270,
7,
489,
62,
31197,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
842,
62,
31197,
1875,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
30434,
14714,
326,
257,
3310,
14714,
468,
4025,
621,
513,
30,
46506,
327,
28270,
7,
489,
62,
31197,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
842,
62,
31197,
1875,
513
] |
what is drug type and drug name of drug code hydz20i? | SELECT prescriptions.drug_type, prescriptions.drug FROM prescriptions WHERE prescriptions.formulary_drug_cd = "HYDZ20I" | [
10919,
318,
2563,
2099,
290,
2563,
1438,
286,
2563,
2438,
7409,
89,
1238,
72,
30,
46506,
34092,
13,
30349,
62,
4906,
11,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
796,
366,
39,
35755,
57,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2099,
290,
2563,
1438,
286,
2563,
2438,
7409,
89,
1238,
72,
30,
46506,
34092,
13,
30349,
62,
4906,
11,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
687,
377,
560,
62,
30349,
62,
10210,
796,
366,
39,
35755,
57,
... |
calculate the two year survival rate among the patients who were prescribed prednisone after they were diagnosed with mitral valve disorder. | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t4.charttime) > 2 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.subject_id, t2.charttime FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd... | [
9948,
3129,
378,
262,
734,
614,
9441,
2494,
1871,
262,
3871,
508,
547,
14798,
2747,
21361,
505,
706,
484,
547,
14641,
351,
10255,
1373,
22580,
8967,
13,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
42... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
734,
614,
9441,
2494,
1871,
262,
3871,
508,
547,
14798,
2747,
21361,
505,
706,
484,
547,
14641,
351,
10255,
1373,
22580,
8967,
13,
46506,
35683,
7,
34,
11159,
42099,
3871,
13,
67,
375,
3180,
15697,
42243,
352,
42... |
What is Content, when Package/Option is sky cinema, and when Language is italian originale? | SELECT "Content" FROM table_7182 WHERE "Package/Option" = 'sky cinema' AND "Language" = 'italian originale' | [
2061,
318,
14041,
11,
618,
15717,
14,
19722,
318,
6766,
22041,
11,
290,
618,
15417,
318,
340,
7199,
8159,
1000,
30,
46506,
366,
19746,
1,
16034,
3084,
62,
22,
24294,
33411,
366,
27813,
14,
19722,
1,
796,
705,
15688,
22041,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
14041,
11,
618,
15717,
14,
19722,
318,
6766,
22041,
11,
290,
618,
15417,
318,
340,
7199,
8159,
1000,
30,
46506,
366,
19746,
1,
16034,
3084,
62,
22,
24294,
33411,
366,
27813,
14,
19722,
1,
796,
705,
15688,
22041,
6,
5357,
... |
For all employees who have the letters D or S in their first name, give me the comparison about the sum of department_id over the job_id , and group by attribute job_id, and show in descending by the X-axis. | SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
905,
287,
31491,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
905,
287,
31491,
... |
Name the surface for australian open for winner | SELECT "Surface" FROM table_23523 WHERE "Championship" = 'Australian Open' AND "Outcome" = 'Winner' | [
5376,
262,
4417,
329,
38132,
1373,
666,
1280,
329,
8464,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
22370,
1954,
33411,
366,
1925,
4350,
1056,
1,
796,
705,
38036,
4946,
6,
5357,
366,
7975,
2958,
1,
796,
705,
48056,
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
] | [
5376,
262,
4417,
329,
38132,
1373,
666,
1280,
329,
8464,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
22370,
1954,
33411,
366,
1925,
4350,
1056,
1,
796,
705,
38036,
4946,
6,
5357,
366,
7975,
2958,
1,
796,
705,
48056,
6
] |
Get users according to specific criteria 1. | SELECT a.OwnerUserId AS "Uid", COUNT(*) AS Acceptedanswers, 15 * (COUNT(*)) AS "points", TIME_TO_STR(a.CreationDate, 'WEEK') AS "week" FROM Posts AS q INNER JOIN Posts AS a ON q.AcceptedAnswerId = a.Id WHERE a.OwnerUserId IN (SELECT Id FROM Users AS u WHERE u.Reputation > @reputation_from AND u.Reputation < @reputation... | [
3855,
2985,
1864,
284,
2176,
9987,
352,
13,
46506,
257,
13,
42419,
12982,
7390,
7054,
366,
52,
312,
1600,
327,
28270,
7,
28104,
7054,
21699,
276,
504,
86,
364,
11,
1315,
1635,
357,
34,
28270,
46491,
4008,
7054,
366,
13033,
1600,
20460... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3855,
2985,
1864,
284,
2176,
9987,
352,
13,
46506,
257,
13,
42419,
12982,
7390,
7054,
366,
52,
312,
1600,
327,
28270,
7,
28104,
7054,
21699,
276,
504,
86,
364,
11,
1315,
1635,
357,
34,
28270,
46491,
4008,
7054,
366,
13033,
1600,
20460... |
What is the memory with a socket g1 and a 1/1/6/9 turbo? | SELECT "Memory" FROM table_63537 WHERE "Socket" = 'socket g1' AND "Turbo" = '1/1/6/9' | [
2061,
318,
262,
4088,
351,
257,
17802,
308,
16,
290,
257,
352,
14,
16,
14,
21,
14,
24,
29292,
30,
46506,
366,
30871,
1,
16034,
3084,
62,
48250,
2718,
33411,
366,
39105,
1,
796,
705,
44971,
308,
16,
6,
5357,
366,
17483,
2127,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4088,
351,
257,
17802,
308,
16,
290,
257,
352,
14,
16,
14,
21,
14,
24,
29292,
30,
46506,
366,
30871,
1,
16034,
3084,
62,
48250,
2718,
33411,
366,
39105,
1,
796,
705,
44971,
308,
16,
6,
5357,
366,
17483,
2127,
1,
... |
Where is the show aired in New Zealand? | SELECT "Channel" FROM table_19382 WHERE "Country" = 'New Zealand' | [
8496,
318,
262,
905,
18530,
287,
968,
8936,
30,
46506,
366,
29239,
1,
16034,
3084,
62,
1129,
36243,
33411,
366,
33921,
1,
796,
705,
3791,
8936,
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
] | [
8496,
318,
262,
905,
18530,
287,
968,
8936,
30,
46506,
366,
29239,
1,
16034,
3084,
62,
1129,
36243,
33411,
366,
33921,
1,
796,
705,
3791,
8936,
6
] |
What event did Rashid Sidek participate in? | SELECT event FROM table_name_8 WHERE name = "rashid sidek" | [
2061,
1785,
750,
27620,
312,
12075,
74,
8277,
287,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
23,
33411,
1438,
796,
366,
81,
1077,
312,
1735,
74,
1
] | [
1,
1,
1,
1,
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,
750,
27620,
312,
12075,
74,
8277,
287,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
23,
33411,
1438,
796,
366,
81,
1077,
312,
1735,
74,
1
] |
what city is listed below heredia ? | SELECT "city" FROM table_204_992 WHERE id = (SELECT id FROM table_204_992 WHERE "city" = 'heredia') + 1 | [
10919,
1748,
318,
5610,
2174,
339,
445,
544,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
18638,
62,
41561,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
41561,
33411,
366,
19205,
1,
796,
705,
6083,
544,
11537,
1343,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1748,
318,
5610,
2174,
339,
445,
544,
5633,
46506,
366,
19205,
1,
16034,
3084,
62,
18638,
62,
41561,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
41561,
33411,
366,
19205,
1,
796,
705,
6083,
544,
11537,
1343,
... |
history of severe hypoglycemia ( seizure ) | SELECT * FROM table_train_178 WHERE hypoglycemia = 1 OR seizure_disorder = 1 | [
23569,
286,
6049,
5328,
34619,
344,
20730,
357,
22338,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
23188,
33411,
5328,
34619,
344,
20730,
796,
352,
6375,
22338,
62,
6381,
2875,
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,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23569,
286,
6049,
5328,
34619,
344,
20730,
357,
22338,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
23188,
33411,
5328,
34619,
344,
20730,
796,
352,
6375,
22338,
62,
6381,
2875,
796,
352
] |
what is admission location of subject id 6983? | SELECT demographic.admission_location FROM demographic WHERE demographic.subject_id = "6983" | [
10919,
318,
13938,
4067,
286,
2426,
4686,
39861,
18,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
3388,
5999,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4067,
286,
2426,
4686,
39861,
18,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
3388,
5999,
1
] |
how many patients whose year of birth is less than 2089 and lab test fluid is pleural? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2089" AND lab.fluid = "Pleural" | [
4919,
867,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
4531,
290,
2248,
1332,
11711,
318,
3339,
1523,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
61... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
3871,
3025,
614,
286,
4082,
318,
1342,
621,
1160,
4531,
290,
2248,
1332,
11711,
318,
3339,
1523,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
61... |
What is the price of 60 mbps downstream? | SELECT "Price" FROM table_44731 WHERE "Downstream" = '60 mbps' | [
2061,
318,
262,
2756,
286,
3126,
285,
18799,
33218,
30,
46506,
366,
18124,
1,
16034,
3084,
62,
34825,
3132,
33411,
366,
8048,
5532,
1,
796,
705,
1899,
285,
18799,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2756,
286,
3126,
285,
18799,
33218,
30,
46506,
366,
18124,
1,
16034,
3084,
62,
34825,
3132,
33411,
366,
8048,
5532,
1,
796,
705,
1899,
285,
18799,
6
] |
what is the release date of the model precision m60? | SELECT "Released" FROM table_11911 WHERE "Model" = 'precision m60' | [
10919,
318,
262,
2650,
3128,
286,
262,
2746,
15440,
285,
1899,
30,
46506,
366,
45037,
1,
16034,
3084,
62,
16315,
1157,
33411,
366,
17633,
1,
796,
705,
3866,
16005,
285,
1899,
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,
318,
262,
2650,
3128,
286,
262,
2746,
15440,
285,
1899,
30,
46506,
366,
45037,
1,
16034,
3084,
62,
16315,
1157,
33411,
366,
17633,
1,
796,
705,
3866,
16005,
285,
1899,
6
] |
i need a nonstop flight from SAN DIEGO to PHOENIX | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN DIEGO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHO... | [
72,
761,
257,
1729,
11338,
5474,
422,
37376,
14766,
7156,
46,
284,
9370,
46,
1677,
10426,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
1527... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
761,
257,
1729,
11338,
5474,
422,
37376,
14766,
7156,
46,
284,
9370,
46,
1677,
10426,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
1527... |
who became commissioner after george p. larrick ? | SELECT "name" FROM table_203_559 WHERE "took office" > (SELECT "took office" FROM table_203_559 WHERE "name" = 'george p. larrick') ORDER BY "took office" LIMIT 1 | [
8727,
2627,
16248,
706,
4903,
3643,
279,
13,
300,
3258,
624,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
38605,
33411,
366,
83,
566,
2607,
1,
1875,
357,
46506,
366,
83,
566,
2607,
1,
16034,
3084,
62,
22416,
62,
38605,
334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2627,
16248,
706,
4903,
3643,
279,
13,
300,
3258,
624,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
38605,
33411,
366,
83,
566,
2607,
1,
1875,
357,
46506,
366,
83,
566,
2607,
1,
16034,
3084,
62,
22416,
62,
38605,
334... |
what is the maximum season with byu-usu score being 29 7 | SELECT MAX("Season") FROM table_860 WHERE "BYU-USU score" = '29–7' | [
10919,
318,
262,
5415,
1622,
351,
416,
84,
12,
385,
84,
4776,
852,
2808,
767,
46506,
25882,
7203,
18960,
4943,
16034,
3084,
62,
45039,
33411,
366,
17513,
52,
12,
2937,
52,
4776,
1,
796,
705,
1959,
1906,
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
] | [
10919,
318,
262,
5415,
1622,
351,
416,
84,
12,
385,
84,
4776,
852,
2808,
767,
46506,
25882,
7203,
18960,
4943,
16034,
3084,
62,
45039,
33411,
366,
17513,
52,
12,
2937,
52,
4776,
1,
796,
705,
1959,
1906,
22,
6
] |
in 2010 he had at least how many punt returns ? | SELECT "punts returned for touchdown" FROM table_203_516 WHERE "year" = 2010 | [
259,
3050,
339,
550,
379,
1551,
703,
867,
35363,
5860,
5633,
46506,
366,
79,
34115,
4504,
329,
10242,
1,
16034,
3084,
62,
22416,
62,
47493,
33411,
366,
1941,
1,
796,
3050
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3050,
339,
550,
379,
1551,
703,
867,
35363,
5860,
5633,
46506,
366,
79,
34115,
4504,
329,
10242,
1,
16034,
3084,
62,
22416,
62,
47493,
33411,
366,
1941,
1,
796,
3050
] |
Which country has a score of 70-66=136? | SELECT "Country" FROM table_80160 WHERE "Score" = '70-66=136' | [
13828,
1499,
468,
257,
4776,
286,
4317,
12,
2791,
28,
20809,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
41531,
1899,
33411,
366,
26595,
1,
796,
705,
2154,
12,
2791,
28,
20809,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1499,
468,
257,
4776,
286,
4317,
12,
2791,
28,
20809,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
41531,
1899,
33411,
366,
26595,
1,
796,
705,
2154,
12,
2791,
28,
20809,
6
] |
what is the total number of people enrolled at the college of mount st. joseph ? | SELECT "enrollment" FROM table_204_842 WHERE "institution" = 'college of mount st. joseph' | [
10919,
318,
262,
2472,
1271,
286,
661,
18724,
379,
262,
4152,
286,
3817,
336,
13,
474,
577,
746,
5633,
46506,
366,
268,
48108,
1,
16034,
3084,
62,
18638,
62,
23,
3682,
33411,
366,
8625,
2738,
1,
796,
705,
44107,
286,
3817,
336,
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
] | [
10919,
318,
262,
2472,
1271,
286,
661,
18724,
379,
262,
4152,
286,
3817,
336,
13,
474,
577,
746,
5633,
46506,
366,
268,
48108,
1,
16034,
3084,
62,
18638,
62,
23,
3682,
33411,
366,
8625,
2738,
1,
796,
705,
44107,
286,
3817,
336,
13,
... |
Opponents of police, and a Venue of selayang municipal council stadium had what date? | SELECT date FROM table_name_35 WHERE opponents = "police" AND venue = "selayang municipal council stadium" | [
27524,
3906,
286,
1644,
11,
290,
257,
9932,
518,
286,
384,
10724,
648,
13474,
6745,
10308,
550,
644,
3128,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2327,
33411,
7691,
796,
366,
38191,
1,
5357,
14359,
796,
366,
741,
323,
648,
13474,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
27524,
3906,
286,
1644,
11,
290,
257,
9932,
518,
286,
384,
10724,
648,
13474,
6745,
10308,
550,
644,
3128,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2327,
33411,
7691,
796,
366,
38191,
1,
5357,
14359,
796,
366,
741,
323,
648,
13474,... |
how many patients stayed on the 517 ward since 2 years ago? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 517 AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-2 year') | [
4919,
867,
3871,
9658,
319,
262,
642,
1558,
15305,
1201,
362,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
904,
312,
796,
642,
1558,
5357,
360,
1404,
2767... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9658,
319,
262,
642,
1558,
15305,
1201,
362,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
904,
312,
796,
642,
1558,
5357,
360,
1404,
2767... |
what is admission location and procedure short title of subject name dominga garvin? | SELECT demographic.admission_location, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Dominga Garvin" | [
10919,
318,
13938,
4067,
290,
8771,
1790,
3670,
286,
2426,
1438,
2401,
278,
64,
5482,
7114,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
9021,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4067,
290,
8771,
1790,
3670,
286,
2426,
1438,
2401,
278,
64,
5482,
7114,
30,
46506,
16728,
13,
324,
3411,
62,
24886,
11,
9021,
13,
19509,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,... |
where did camerin win singles after cagnes sur mer ? | SELECT "location" FROM table_204_562 WHERE "date" > (SELECT "date" FROM table_204_562 WHERE "location" = 'cagnes-sur-mer, france $100,000') ORDER BY "date" LIMIT 1 | [
3003,
750,
3676,
259,
1592,
25287,
706,
269,
363,
2516,
969,
4017,
5633,
46506,
366,
24886,
1,
16034,
3084,
62,
18638,
62,
43918,
33411,
366,
4475,
1,
1875,
357,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
43918,
33411,
366,
2488... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
3003,
750,
3676,
259,
1592,
25287,
706,
269,
363,
2516,
969,
4017,
5633,
46506,
366,
24886,
1,
16034,
3084,
62,
18638,
62,
43918,
33411,
366,
4475,
1,
1875,
357,
46506,
366,
4475,
1,
16034,
3084,
62,
18638,
62,
43918,
33411,
366,
2488... |
Among all the claims, which settlements have a claimed amount that is no more than the average? List the claim start date, and count them by a bar chart, order by the Y-axis in asc. | SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Claims WHERE Amount_Settled <= (SELECT AVG(Amount_Settled) FROM Claims) ORDER BY COUNT(Date_Claim_Made) | [
14311,
477,
262,
3667,
11,
543,
18573,
423,
257,
4752,
2033,
326,
318,
645,
517,
621,
262,
2811,
30,
7343,
262,
1624,
923,
3128,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
1502,
416,
262,
575,
12,
22704,
287,
10570,
13,
46506,
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,
1,
1... | [
14311,
477,
262,
3667,
11,
543,
18573,
423,
257,
4752,
2033,
326,
318,
645,
517,
621,
262,
2811,
30,
7343,
262,
1624,
923,
3128,
11,
290,
954,
606,
416,
257,
2318,
8262,
11,
1502,
416,
262,
575,
12,
22704,
287,
10570,
13,
46506,
7... |
Name the total number of period for yvon le roux | SELECT COUNT(period) FROM table_24565004_13 WHERE name = "Yvon Le Roux" | [
5376,
262,
2472,
1271,
286,
2278,
329,
331,
26982,
443,
13805,
87,
46506,
327,
28270,
7,
41007,
8,
16034,
3084,
62,
22995,
2996,
22914,
62,
1485,
33411,
1438,
796,
366,
56,
26982,
1004,
13876,
87,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2278,
329,
331,
26982,
443,
13805,
87,
46506,
327,
28270,
7,
41007,
8,
16034,
3084,
62,
22995,
2996,
22914,
62,
1485,
33411,
1438,
796,
366,
56,
26982,
1004,
13876,
87,
1
] |
when is the last time that patient 029-30149 has received a wbc x 1000 lab test since 45 months ago? | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '029-30149')) AND lab.labname = 'wbc x 1000' AND DATETIME(lab.labresulttime) >= DATE... | [
12518,
318,
262,
938,
640,
326,
5827,
657,
1959,
12,
18938,
2920,
468,
2722,
257,
266,
15630,
2124,
8576,
2248,
1332,
1201,
4153,
1933,
2084,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
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... | [
12518,
318,
262,
938,
640,
326,
5827,
657,
1959,
12,
18938,
2920,
468,
2722,
257,
266,
15630,
2124,
8576,
2248,
1332,
1201,
4153,
1933,
2084,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
31... |
How many accounts for different account details? Draw a bar chart, and display names from high to low order please. | SELECT other_account_details, COUNT(other_account_details) FROM Accounts GROUP BY other_account_details ORDER BY other_account_details DESC | [
2437,
867,
5504,
329,
1180,
1848,
3307,
30,
15315,
257,
2318,
8262,
11,
290,
3359,
3891,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
584,
62,
23317,
62,
36604,
11,
327,
28270,
7,
847,
62,
23317,
62,
36604,
8,
16034,
35584,
44441,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5504,
329,
1180,
1848,
3307,
30,
15315,
257,
2318,
8262,
11,
290,
3359,
3891,
422,
1029,
284,
1877,
1502,
3387,
13,
46506,
584,
62,
23317,
62,
36604,
11,
327,
28270,
7,
847,
62,
23317,
62,
36604,
8,
16034,
35584,
44441,
1... |
For those records from the products and each product's manufacturer, show me about the distribution of founder and the amount of founder , and group by attribute founder in a bar chart. | SELECT Founder, COUNT(Founder) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
9119,
290,
262,
2033,
286,
9119,
837,
290,
1448,
416,
11688,
9119,
287,
257,
2318,
8262,
13,
46506,
30153,
11,
327,
28270,
7,
21077,
26... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
905,
502,
546,
262,
6082,
286,
9119,
290,
262,
2033,
286,
9119,
837,
290,
1448,
416,
11688,
9119,
287,
257,
2318,
8262,
13,
46506,
30153,
11,
327,
28270,
7,
21077,
26... |
What is the name of the wrestler with the fewest days held? | SELECT Name FROM wrestler ORDER BY Days_held LIMIT 1 | [
2061,
318,
262,
1438,
286,
262,
34845,
351,
262,
1178,
395,
1528,
2714,
30,
46506,
6530,
16034,
34845,
38678,
11050,
12579,
62,
10217,
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
] | [
2061,
318,
262,
1438,
286,
262,
34845,
351,
262,
1178,
395,
1528,
2714,
30,
46506,
6530,
16034,
34845,
38678,
11050,
12579,
62,
10217,
27564,
2043,
352
] |
What is the verb meaning for Saugen in part 1? | SELECT verb_meaning FROM table_name_78 WHERE part_1 = "saugen" | [
2061,
318,
262,
15942,
3616,
329,
23167,
5235,
287,
636,
352,
30,
46506,
15942,
62,
24815,
16034,
3084,
62,
3672,
62,
3695,
33411,
636,
62,
16,
796,
366,
82,
559,
5235,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
15942,
3616,
329,
23167,
5235,
287,
636,
352,
30,
46506,
15942,
62,
24815,
16034,
3084,
62,
3672,
62,
3695,
33411,
636,
62,
16,
796,
366,
82,
559,
5235,
1
] |
what is the average specific impulse for engines that have a SFC in lb/(lbf h) of 7.95, and a Effective exhaust velocity (m/s) larger than 4,423 | SELECT AVG(specific_impulse__s_) FROM table_name_66 WHERE sfc_in_lb__lbf·h_ = 7.95 AND effective_exhaust_velocity__m_s_ > 4 OFFSET 423 | [
10919,
318,
262,
2811,
2176,
25278,
329,
11874,
326,
423,
257,
311,
4851,
287,
18360,
29006,
75,
19881,
289,
8,
286,
767,
13,
3865,
11,
290,
257,
29455,
12142,
15432,
357,
76,
14,
82,
8,
4025,
621,
604,
11,
43356,
46506,
35224,
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,
1,
1... | [
10919,
318,
262,
2811,
2176,
25278,
329,
11874,
326,
423,
257,
311,
4851,
287,
18360,
29006,
75,
19881,
289,
8,
286,
767,
13,
3865,
11,
290,
257,
29455,
12142,
15432,
357,
76,
14,
82,
8,
4025,
621,
604,
11,
43356,
46506,
35224,
7,
... |
What is the smallest area with 45 population? | SELECT MIN("Area (km 2 )") FROM table_38542 WHERE "Population (2000)" = '45' | [
2061,
318,
262,
18197,
1989,
351,
4153,
3265,
30,
46506,
20625,
7203,
30547,
357,
13276,
362,
1267,
4943,
16034,
3084,
62,
27203,
3682,
33411,
366,
45251,
357,
11024,
16725,
796,
705,
2231,
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,
18197,
1989,
351,
4153,
3265,
30,
46506,
20625,
7203,
30547,
357,
13276,
362,
1267,
4943,
16034,
3084,
62,
27203,
3682,
33411,
366,
45251,
357,
11024,
16725,
796,
705,
2231,
6
] |
count the number of patients whose admission location is transfer from hosp/extram and procedure long title is closed (needle) biopsy of tongue. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND procedures.long_title = "Closed [needle] biopsy of tongue" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
4351,
422,
10496,
14,
2302,
859,
290,
8771,
890,
3670,
318,
4838,
357,
31227,
293,
8,
3182,
44522,
286,
11880,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
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... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
4351,
422,
10496,
14,
2302,
859,
290,
8771,
890,
3670,
318,
4838,
357,
31227,
293,
8,
3182,
44522,
286,
11880,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
... |
Tell me the result for warsaw 1929 | SELECT result FROM table_name_8 WHERE location = "warsaw" AND year = 1929 | [
24446,
502,
262,
1255,
329,
9976,
707,
31883,
46506,
1255,
16034,
3084,
62,
3672,
62,
23,
33411,
4067,
796,
366,
86,
945,
707,
1,
5357,
614,
796,
31883
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
1255,
329,
9976,
707,
31883,
46506,
1255,
16034,
3084,
62,
3672,
62,
23,
33411,
4067,
796,
366,
86,
945,
707,
1,
5357,
614,
796,
31883
] |
Name the country for the 9th and sign of g e | SELECT country FROM table_name_51 WHERE date = "9th" AND sign = "g e" | [
5376,
262,
1499,
329,
262,
860,
400,
290,
1051,
286,
308,
304,
46506,
1499,
16034,
3084,
62,
3672,
62,
4349,
33411,
3128,
796,
366,
24,
400,
1,
5357,
1051,
796,
366,
70,
304,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1499,
329,
262,
860,
400,
290,
1051,
286,
308,
304,
46506,
1499,
16034,
3084,
62,
3672,
62,
4349,
33411,
3128,
796,
366,
24,
400,
1,
5357,
1051,
796,
366,
70,
304,
1
] |
select * from tags where id = 'R';. | WITH rtag AS (SELECT Id AS tagid FROM Tags WHERE TagName = 'r') SELECT TIME_TO_STR(CreationDate, '%Y') AS year, TIME_TO_STR(CreationDate, '%m') AS month, COUNT(DISTINCT Comments.Id) AS numcomments FROM Tags INNER JOIN PostTags ON (Tags.Id = PostTags.TagId AND TagName IN ('r', 'r-faq', 'r-factor', 'r-tree', 'r-commander... | [
19738,
1635,
422,
15940,
810,
4686,
796,
705,
49,
17020,
13,
54,
10554,
374,
12985,
7054,
357,
46506,
5121,
7054,
7621,
312,
16034,
44789,
33411,
17467,
5376,
796,
705,
81,
11537,
33493,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
19738,
1635,
422,
15940,
810,
4686,
796,
705,
49,
17020,
13,
54,
10554,
374,
12985,
7054,
357,
46506,
5121,
7054,
7621,
312,
16034,
44789,
33411,
17467,
5376,
796,
705,
81,
11537,
33493,
20460,
62,
10468,
62,
18601,
7,
12443,
341,
10430... |
What is the time of Troy Bayliss with less than 8 grids? | SELECT "Time" FROM table_78578 WHERE "Grid" < '8' AND "Rider" = 'troy bayliss' | [
2061,
318,
262,
640,
286,
21439,
4696,
75,
747,
351,
1342,
621,
807,
50000,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
3695,
38907,
33411,
366,
41339,
1,
1279,
705,
23,
6,
5357,
366,
49,
1304,
1,
796,
705,
83,
3287,
15489,
75,
747,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
286,
21439,
4696,
75,
747,
351,
1342,
621,
807,
50000,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
3695,
38907,
33411,
366,
41339,
1,
1279,
705,
23,
6,
5357,
366,
49,
1304,
1,
796,
705,
83,
3287,
15489,
75,
747,... |
give me the number of patients whose admission year is less than 2156 and diagnoses icd9 code is 5990? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2156" AND diagnoses.icd9_code = "5990" | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
21599,
290,
40567,
14158,
67,
24,
2438,
318,
642,
34155,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
21599,
290,
40567,
14158,
67,
24,
2438,
318,
642,
34155,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,... |
Name the episod for number 64 | SELECT "Episode" FROM table_29358 WHERE "Episode No. Episode No. refers to the episodes number in the overall series, whereas Series No. refers to the episodes number in this particular series." = '64' | [
5376,
262,
48177,
375,
329,
1271,
5598,
46506,
366,
23758,
1,
16034,
3084,
62,
1959,
31128,
33411,
366,
23758,
1400,
13,
7922,
1400,
13,
10229,
284,
262,
8640,
1271,
287,
262,
4045,
2168,
11,
9472,
7171,
1400,
13,
10229,
284,
262,
864... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
48177,
375,
329,
1271,
5598,
46506,
366,
23758,
1,
16034,
3084,
62,
1959,
31128,
33411,
366,
23758,
1400,
13,
7922,
1400,
13,
10229,
284,
262,
8640,
1271,
287,
262,
4045,
2168,
11,
9472,
7171,
1400,
13,
10229,
284,
262,
864... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.