instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
How many female actors were born in ' New York City ' after 1980 ? | SELECT COUNT(DISTINCT (name)) FROM actor WHERE birth_city = 'New York City' AND birth_year > 1980 AND gender = 'female' | [
2437,
867,
4048,
10544,
547,
4642,
287,
705,
968,
1971,
2254,
705,
706,
7169,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
357,
3672,
4008,
16034,
8674,
33411,
4082,
62,
19205,
796,
705,
3791,
1971,
2254,
6,
5357,
4082,
62,
1941,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
4048,
10544,
547,
4642,
287,
705,
968,
1971,
2254,
705,
706,
7169,
5633,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
357,
3672,
4008,
16034,
8674,
33411,
4082,
62,
19205,
796,
705,
3791,
1971,
2254,
6,
5357,
4082,
62,
1941,... |
What is the highest attendance for the game that was before week 6 on October 22, 1967? | SELECT MAX("Attendance") FROM table_36043 WHERE "Date" = 'october 22, 1967' AND "Week" < '6' | [
2061,
318,
262,
4511,
14858,
329,
262,
983,
326,
373,
878,
1285,
718,
319,
3267,
2534,
11,
15904,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
15277,
3559,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
2534,
11,
15904... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
14858,
329,
262,
983,
326,
373,
878,
1285,
718,
319,
3267,
2534,
11,
15904,
30,
46506,
25882,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
15277,
3559,
33411,
366,
10430,
1,
796,
705,
38441,
2023,
2534,
11,
15904... |
Top Users by Location and Technology. List of Users in a given location using a given technology.
Counts reputation only for votes on answers, ignores questions, comments, or reputation for accepted answers. | SELECT Users.Id AS "user_link", MAX(Users.Location) AS Location, COUNT(*) * 10 AS "technology_reputation", MAX(Users.Reputation) AS "total_reputation" FROM Votes JOIN Posts ON Votes.PostId = Posts.Id JOIN Users ON Posts.OwnerUserId = Users.Id AND Users.Id IN (SELECT Users.Id FROM Users WHERE Location LIKE ('%Romania%')... | [
9126,
18987,
416,
13397,
290,
8987,
13,
7343,
286,
18987,
287,
257,
1813,
4067,
1262,
257,
1813,
3037,
13,
201,
198,
12332,
82,
8507,
691,
329,
5690,
319,
7429,
11,
24245,
2683,
11,
3651,
11,
393,
8507,
329,
6292,
7429,
13,
46506,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
18987,
416,
13397,
290,
8987,
13,
7343,
286,
18987,
287,
257,
1813,
4067,
1262,
257,
1813,
3037,
13,
201,
198,
12332,
82,
8507,
691,
329,
5690,
319,
7429,
11,
24245,
2683,
11,
3651,
11,
393,
8507,
329,
6292,
7429,
13,
46506,
1... |
how many hours has it been since patient 14467 last received an intake of d5w on the current intensive care unit visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', inputevents_cv.charttime)) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14467) AND icustays.outtime IS NULL)... | [
4919,
867,
2250,
468,
340,
587,
1201,
5827,
20224,
3134,
938,
2722,
281,
10337,
286,
288,
20,
86,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
2895... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
2250,
468,
340,
587,
1201,
5827,
20224,
3134,
938,
2722,
281,
10337,
286,
288,
20,
86,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
2895... |
Tell me the result for lincoln financial field december 11, 2005 | SELECT "Result" FROM table_31753 WHERE "Venue" = 'lincoln financial field' AND "Date" = 'december 11, 2005' | [
24446,
502,
262,
1255,
329,
300,
11690,
3176,
2214,
390,
3273,
1367,
11,
5075,
46506,
366,
23004,
1,
16034,
3084,
62,
34125,
4310,
33411,
366,
37522,
518,
1,
796,
705,
75,
11690,
3176,
2214,
6,
5357,
366,
10430,
1,
796,
705,
2934,
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
] | [
24446,
502,
262,
1255,
329,
300,
11690,
3176,
2214,
390,
3273,
1367,
11,
5075,
46506,
366,
23004,
1,
16034,
3084,
62,
34125,
4310,
33411,
366,
37522,
518,
1,
796,
705,
75,
11690,
3176,
2214,
6,
5357,
366,
10430,
1,
796,
705,
2934,
3... |
The length of 30 minutes aired on what date? | SELECT "Airdate" FROM table_15116 WHERE "Length" = '30 minutes' | [
464,
4129,
286,
1542,
2431,
18530,
319,
644,
3128,
30,
46506,
366,
32,
1447,
378,
1,
16034,
3084,
62,
1314,
18298,
33411,
366,
24539,
1,
796,
705,
1270,
2431,
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
] | [
464,
4129,
286,
1542,
2431,
18530,
319,
644,
3128,
30,
46506,
366,
32,
1447,
378,
1,
16034,
3084,
62,
1314,
18298,
33411,
366,
24539,
1,
796,
705,
1270,
2431,
6
] |
what are patient 002-39753's gender? | SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '002-39753' | [
10919,
389,
5827,
3571,
17,
12,
2670,
44550,
338,
5279,
30,
46506,
360,
8808,
1268,
4177,
5827,
13,
8388,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
2670,
44550,
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
] | [
10919,
389,
5827,
3571,
17,
12,
2670,
44550,
338,
5279,
30,
46506,
360,
8808,
1268,
4177,
5827,
13,
8388,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
21601,
12,
2670,
44550,
6
] |
What are the scores for games where the home team is Adelaide? | SELECT home_team AS score FROM table_16387953_1 WHERE home_team = "Adelaide" | [
2061,
389,
262,
8198,
329,
1830,
810,
262,
1363,
1074,
318,
27139,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
1433,
2548,
3720,
4310,
62,
16,
33411,
1363,
62,
15097,
796,
366,
2782,
25078,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8198,
329,
1830,
810,
262,
1363,
1074,
318,
27139,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
1433,
2548,
3720,
4310,
62,
16,
33411,
1363,
62,
15097,
796,
366,
2782,
25078,
1
] |
Find the stories of the building with the largest height. | SELECT Stories FROM buildings ORDER BY Height DESC LIMIT 1 | [
16742,
262,
3923,
286,
262,
2615,
351,
262,
4387,
6001,
13,
46506,
18152,
16034,
6832,
38678,
11050,
27280,
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
] | [
16742,
262,
3923,
286,
262,
2615,
351,
262,
4387,
6001,
13,
46506,
18152,
16034,
6832,
38678,
11050,
27280,
22196,
34,
27564,
2043,
352
] |
how many patients were diagnosed with fall on stair/step nec? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Fall on stair/step NEC" | [
4919,
867,
3871,
547,
14641,
351,
2121,
319,
18761,
14,
9662,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
14641,
351,
2121,
319,
18761,
14,
9662,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796... |
how many patients are taking methadone medication? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Methadone" | [
4919,
867,
3871,
389,
2263,
11248,
324,
505,
14103,
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,
18108,
76,
62,
312,
796,
34092,
13,
1810... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2263,
11248,
324,
505,
14103,
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,
18108,
76,
62,
312,
796,
34092,
13,
1810... |
which are the only players under six feet tall ? | SELECT "player" FROM table_204_612 WHERE "height" < 6 | [
4758,
389,
262,
691,
1938,
739,
2237,
3625,
7331,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
43610,
33411,
366,
17015,
1,
1279,
718
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
389,
262,
691,
1938,
739,
2237,
3625,
7331,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
43610,
33411,
366,
17015,
1,
1279,
718
] |
specify the marital status of patient id 18480 | SELECT demographic.marital_status FROM demographic WHERE demographic.subject_id = "18480" | [
16684,
1958,
262,
29555,
3722,
286,
5827,
4686,
1248,
22148,
46506,
16728,
13,
3876,
1287,
62,
13376,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1507,
22148,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16684,
1958,
262,
29555,
3722,
286,
5827,
4686,
1248,
22148,
46506,
16728,
13,
3876,
1287,
62,
13376,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1507,
22148,
1
] |
For those employees who was hired before 2002-06-21, show me about the change of department_id over hire_date in a line chart. | SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21' | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
1487,
286,
5011,
62,
312,
625,
11078,
62,
4475,
287,
257,
1627,
8262,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
5550,
30709,
10979,
62,
2389,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
1487,
286,
5011,
62,
312,
625,
11078,
62,
4475,
287,
257,
1627,
8262,
13,
46506,
36210,
2200,
62,
35,
6158,
11,
5550,
30709,
10979,
62,
2389,
... |
What was the most total medals awarded to Poland? | SELECT MAX(total) FROM table_name_37 WHERE nation = "poland" | [
2061,
373,
262,
749,
2472,
28057,
11343,
284,
12873,
30,
46506,
25882,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
3277,
796,
366,
16104,
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
] | [
2061,
373,
262,
749,
2472,
28057,
11343,
284,
12873,
30,
46506,
25882,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
3277,
796,
366,
16104,
392,
1
] |
What is the away team with West Ham United as the home team? | SELECT "Away team" FROM table_8245 WHERE "Home team" = 'west ham united' | [
2061,
318,
262,
1497,
1074,
351,
2688,
4345,
1578,
355,
262,
1363,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
23,
22995,
33411,
366,
16060,
1074,
1,
796,
705,
7038,
8891,
16503,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1497,
1074,
351,
2688,
4345,
1578,
355,
262,
1363,
1074,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
23,
22995,
33411,
366,
16060,
1074,
1,
796,
705,
7038,
8891,
16503,
6
] |
how many patients died and were diagnosed with dermatitis nos? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.short_title = "Dermatitis NOS" | [
4919,
867,
3871,
3724,
290,
547,
14641,
351,
40363,
11815,
43630,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
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... | [
4919,
867,
3871,
3724,
290,
547,
14641,
351,
40363,
11815,
43630,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
18108,
76,
62,
312,
796,
4... |
Score of 2 - 2 had what points? | SELECT points FROM table_name_47 WHERE score = "2 - 2" | [
26595,
286,
362,
532,
362,
550,
644,
2173,
30,
46506,
2173,
16034,
3084,
62,
3672,
62,
2857,
33411,
4776,
796,
366,
17,
532,
362,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26595,
286,
362,
532,
362,
550,
644,
2173,
30,
46506,
2173,
16034,
3084,
62,
3672,
62,
2857,
33411,
4776,
796,
366,
17,
532,
362,
1
] |
What is the record for the game when the Dallas Mavericks was the home team? | SELECT "Record" FROM table_10221 WHERE "Home" = 'dallas mavericks' | [
2061,
318,
262,
1700,
329,
262,
983,
618,
262,
8533,
36002,
373,
262,
1363,
1074,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
940,
26115,
33411,
366,
16060,
1,
796,
705,
67,
7826,
285,
8770,
3378,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
329,
262,
983,
618,
262,
8533,
36002,
373,
262,
1363,
1074,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
940,
26115,
33411,
366,
16060,
1,
796,
705,
67,
7826,
285,
8770,
3378,
6
] |
What is Country, when Lane is 5, and when React is greater than 0.166? | SELECT country FROM table_name_80 WHERE lane = 5 AND react > 0.166 | [
2061,
318,
12946,
11,
618,
15016,
318,
642,
11,
290,
618,
21492,
318,
3744,
621,
657,
13,
23055,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1795,
33411,
11193,
796,
642,
5357,
6324,
1875,
657,
13,
23055
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12946,
11,
618,
15016,
318,
642,
11,
290,
618,
21492,
318,
3744,
621,
657,
13,
23055,
30,
46506,
1499,
16034,
3084,
62,
3672,
62,
1795,
33411,
11193,
796,
642,
5357,
6324,
1875,
657,
13,
23055
] |
On what date did Dick Johnson with at Calder? | SELECT "Date" FROM table_50893 WHERE "Winner" = 'dick johnson' AND "Race Title" = 'calder' | [
2202,
644,
3128,
750,
11740,
5030,
351,
379,
36468,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1120,
49682,
33411,
366,
48056,
1,
796,
705,
67,
624,
45610,
1559,
6,
5357,
366,
35157,
11851,
1,
796,
705,
9948,
1082,
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
] | [
2202,
644,
3128,
750,
11740,
5030,
351,
379,
36468,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
1120,
49682,
33411,
366,
48056,
1,
796,
705,
67,
624,
45610,
1559,
6,
5357,
366,
35157,
11851,
1,
796,
705,
9948,
1082,
6
] |
Name the play for 1976 | SELECT "Play" FROM table_74521 WHERE "Year" = '1976' | [
5376,
262,
711,
329,
15408,
46506,
366,
11002,
1,
16034,
3084,
62,
50150,
2481,
33411,
366,
17688,
1,
796,
705,
38108,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
711,
329,
15408,
46506,
366,
11002,
1,
16034,
3084,
62,
50150,
2481,
33411,
366,
17688,
1,
796,
705,
38108,
6
] |
Name the drivers for superchips | SELECT "Driver(s)" FROM table_24668 WHERE "Primary Sponsor(s)" = 'Superchips' | [
5376,
262,
6643,
329,
2208,
354,
2419,
46506,
366,
32103,
7,
82,
16725,
16034,
3084,
62,
1731,
35809,
33411,
366,
35170,
23389,
7,
82,
16725,
796,
705,
12442,
354,
2419,
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
] | [
5376,
262,
6643,
329,
2208,
354,
2419,
46506,
366,
32103,
7,
82,
16725,
16034,
3084,
62,
1731,
35809,
33411,
366,
35170,
23389,
7,
82,
16725,
796,
705,
12442,
354,
2419,
6
] |
What is the call sign for the station that uses the branding, mom's radio 101.5 tacloban? | SELECT callsign FROM table_17487395_1 WHERE branding = "Mom's Radio 101.5 Tacloban" | [
2061,
318,
262,
869,
1051,
329,
262,
4429,
326,
3544,
262,
24150,
11,
1995,
338,
5243,
8949,
13,
20,
26142,
75,
672,
272,
30,
46506,
3848,
570,
16034,
3084,
62,
1558,
35133,
31010,
62,
16,
33411,
24150,
796,
366,
29252,
338,
8829,
8... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
869,
1051,
329,
262,
4429,
326,
3544,
262,
24150,
11,
1995,
338,
5243,
8949,
13,
20,
26142,
75,
672,
272,
30,
46506,
3848,
570,
16034,
3084,
62,
1558,
35133,
31010,
62,
16,
33411,
24150,
796,
366,
29252,
338,
8829,
8... |
until 2102, what were the four most frequently prescribed drugs for patients who had also been prescribed memantine at the same time? | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'memantine' AND STRFTIME('%y', prescriptions.startdate) <= '2102')... | [
28446,
362,
15377,
11,
644,
547,
262,
1440,
749,
6777,
14798,
5010,
329,
3871,
508,
550,
635,
587,
14798,
1066,
29003,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
28446,
362,
15377,
11,
644,
547,
262,
1440,
749,
6777,
14798,
5010,
329,
3871,
508,
550,
635,
587,
14798,
1066,
29003,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
16034,
357,
46506,
256,
17,
13,
30349,
11,
360,
24290,
62,
49,... |
How many venues were there for the match on November 6? | SELECT COUNT(venue) FROM table_19576091_1 WHERE date = "November 6" | [
2437,
867,
22276,
547,
612,
329,
262,
2872,
319,
3389,
718,
30,
46506,
327,
28270,
7,
4080,
8,
16034,
3084,
62,
1129,
3553,
1899,
6420,
62,
16,
33411,
3128,
796,
366,
21159,
718,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
22276,
547,
612,
329,
262,
2872,
319,
3389,
718,
30,
46506,
327,
28270,
7,
4080,
8,
16034,
3084,
62,
1129,
3553,
1899,
6420,
62,
16,
33411,
3128,
796,
366,
21159,
718,
1
] |
What is the score for a game after 34 with a record of 31-11? | SELECT "Score" FROM table_33957 WHERE "Game" > '34' AND "Record" = '31-11' | [
2061,
318,
262,
4776,
329,
257,
983,
706,
4974,
351,
257,
1700,
286,
3261,
12,
1157,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
29626,
3553,
33411,
366,
8777,
1,
1875,
705,
2682,
6,
5357,
366,
23739,
1,
796,
705,
3132,
12,
1157,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4776,
329,
257,
983,
706,
4974,
351,
257,
1700,
286,
3261,
12,
1157,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
29626,
3553,
33411,
366,
8777,
1,
1875,
705,
2682,
6,
5357,
366,
23739,
1,
796,
705,
3132,
12,
1157,
6... |
display job Title, the difference between minimum and maximum salaries for those jobs which max salary within the range 12000 to 18000. | SELECT job_title, max_salary - min_salary FROM jobs WHERE max_salary BETWEEN 12000 AND 18000 | [
13812,
1693,
11851,
11,
262,
3580,
1022,
5288,
290,
5415,
17058,
329,
883,
3946,
543,
3509,
9588,
1626,
262,
2837,
1105,
830,
284,
1248,
830,
13,
46506,
1693,
62,
7839,
11,
3509,
62,
21680,
560,
532,
949,
62,
21680,
560,
16034,
3946,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13812,
1693,
11851,
11,
262,
3580,
1022,
5288,
290,
5415,
17058,
329,
883,
3946,
543,
3509,
9588,
1626,
262,
2837,
1105,
830,
284,
1248,
830,
13,
46506,
1693,
62,
7839,
11,
3509,
62,
21680,
560,
532,
949,
62,
21680,
560,
16034,
3946,
... |
What years was El Mabrouk the area of operation? | SELECT "Years of Operation" FROM table_15341 WHERE "Area of Operation" = 'el mabrouk' | [
2061,
812,
373,
2574,
337,
397,
472,
74,
262,
1989,
286,
4905,
30,
46506,
366,
40630,
286,
14680,
1,
16034,
3084,
62,
1314,
33660,
33411,
366,
30547,
286,
14680,
1,
796,
705,
417,
285,
397,
472,
74,
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,
812,
373,
2574,
337,
397,
472,
74,
262,
1989,
286,
4905,
30,
46506,
366,
40630,
286,
14680,
1,
16034,
3084,
62,
1314,
33660,
33411,
366,
30547,
286,
14680,
1,
796,
705,
417,
285,
397,
472,
74,
6
] |
Which year has an Organization of new york yankees, and a Team of johnson city yankees? | SELECT year FROM table_name_61 WHERE organization = "new york yankees" AND team = "johnson city yankees" | [
13828,
614,
468,
281,
12275,
286,
649,
331,
967,
331,
272,
16683,
11,
290,
257,
4816,
286,
45610,
1559,
1748,
331,
272,
16683,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
5333,
33411,
4009,
796,
366,
3605,
331,
967,
331,
272,
16683,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
468,
281,
12275,
286,
649,
331,
967,
331,
272,
16683,
11,
290,
257,
4816,
286,
45610,
1559,
1748,
331,
272,
16683,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
5333,
33411,
4009,
796,
366,
3605,
331,
967,
331,
272,
16683,
... |
What is the average rank for a building with 24 floors? | SELECT AVG(rank) FROM table_name_84 WHERE floors = 24 | [
2061,
318,
262,
2811,
4279,
329,
257,
2615,
351,
1987,
18570,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5705,
33411,
18570,
796,
1987
] | [
1,
1,
1,
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,
4279,
329,
257,
2615,
351,
1987,
18570,
30,
46506,
35224,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5705,
33411,
18570,
796,
1987
] |
What is the name of the team that has 307 attempts? | SELECT team FROM table_name_7 WHERE attempts = "307" | [
2061,
318,
262,
1438,
286,
262,
1074,
326,
468,
38369,
6370,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
22,
33411,
6370,
796,
366,
22996,
1
] | [
1,
1,
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,
1074,
326,
468,
38369,
6370,
30,
46506,
1074,
16034,
3084,
62,
3672,
62,
22,
33411,
6370,
796,
366,
22996,
1
] |
Which smallest swimsuit number's interview was less than 8.574 when the average number was bigger than 8.532? | SELECT MIN("Swimsuit") FROM table_11394 WHERE "Interview" < '8.574' AND "Average" > '8.532' | [
13828,
18197,
9422,
6063,
1271,
338,
2720,
373,
1342,
621,
807,
13,
46900,
618,
262,
2811,
1271,
373,
5749,
621,
807,
13,
20,
2624,
30,
46506,
20625,
7203,
10462,
320,
6063,
4943,
16034,
3084,
62,
1157,
34626,
33411,
366,
39945,
1,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
18197,
9422,
6063,
1271,
338,
2720,
373,
1342,
621,
807,
13,
46900,
618,
262,
2811,
1271,
373,
5749,
621,
807,
13,
20,
2624,
30,
46506,
20625,
7203,
10462,
320,
6063,
4943,
16034,
3084,
62,
1157,
34626,
33411,
366,
39945,
1,
12... |
Which sum of Seasons in league has a Best Position of 5th (2007)? | SELECT SUM(seasons_in_league) FROM table_name_82 WHERE best_position = "5th (2007)" | [
13828,
2160,
286,
33159,
287,
4652,
468,
257,
6705,
23158,
286,
642,
400,
357,
12726,
19427,
46506,
35683,
7,
325,
2812,
62,
259,
62,
19316,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
1266,
62,
9150,
796,
366,
20,
400,
357,
12726,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
33159,
287,
4652,
468,
257,
6705,
23158,
286,
642,
400,
357,
12726,
19427,
46506,
35683,
7,
325,
2812,
62,
259,
62,
19316,
8,
16034,
3084,
62,
3672,
62,
6469,
33411,
1266,
62,
9150,
796,
366,
20,
400,
357,
12726,
1... |
please list all the flights from BOSTON to DENVER which serve meals | 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, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND food_ser... | [
29688,
1351,
477,
262,
13956,
422,
347,
10892,
1340,
284,
37692,
5959,
543,
4691,
13840,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
29688,
1351,
477,
262,
13956,
422,
347,
10892,
1340,
284,
37692,
5959,
543,
4691,
13840,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
... |
what's the name of the first test patient 1205 has received since 22 months ago? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT labevents.itemid FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1205) AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '-22 month') ORDER BY labevents.charttime LIM... | [
10919,
338,
262,
1438,
286,
262,
717,
1332,
5827,
1105,
2713,
468,
2722,
1201,
2534,
1933,
2084,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
338,
262,
1438,
286,
262,
717,
1332,
5827,
1105,
2713,
468,
2722,
1201,
2534,
1933,
2084,
30,
46506,
288,
62,
23912,
23814,
13,
18242,
16034,
288,
62,
23912,
23814,
33411,
288,
62,
23912,
23814,
13,
9186,
312,
3268,
357,
46506,
... |
When charles bateman michael lyons is the gt3 winner and donington park is the circuit who is the gt4 winner? | SELECT gt4_winner FROM table_30062172_3 WHERE circuit = "Donington Park" AND gt3_winner = "Charles Bateman Michael Lyons" | [
2215,
1149,
829,
7365,
8463,
285,
40302,
22404,
684,
318,
262,
308,
83,
18,
8464,
290,
836,
9557,
3952,
318,
262,
10349,
508,
318,
262,
308,
83,
19,
8464,
30,
46506,
308,
83,
19,
62,
39791,
16034,
3084,
62,
6200,
5237,
23628,
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... | [
2215,
1149,
829,
7365,
8463,
285,
40302,
22404,
684,
318,
262,
308,
83,
18,
8464,
290,
836,
9557,
3952,
318,
262,
10349,
508,
318,
262,
308,
83,
19,
8464,
30,
46506,
308,
83,
19,
62,
39791,
16034,
3084,
62,
6200,
5237,
23628,
62,
... |
Give the number of patients who were admitted in the emergency room that had a procedure icd9 code of 9672. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.icd9_code = "9672" | [
23318,
262,
1271,
286,
3871,
508,
547,
6848,
287,
262,
6334,
2119,
326,
550,
257,
8771,
14158,
67,
24,
2438,
286,
860,
43864,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
23318,
262,
1271,
286,
3871,
508,
547,
6848,
287,
262,
6334,
2119,
326,
550,
257,
8771,
14158,
67,
24,
2438,
286,
860,
43864,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
3... |
when did patient 1798 last had the maximum value of mch in their first hospital visit? | SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1798 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'mch')... | [
12518,
750,
5827,
1596,
4089,
938,
550,
262,
5415,
1988,
286,
285,
354,
287,
511,
717,
4436,
3187,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
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,
1... | [
12518,
750,
5827,
1596,
4089,
938,
550,
262,
5415,
1988,
286,
285,
354,
287,
511,
717,
4436,
3187,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
1... |
What was the type when there were 175932 yes votes? | SELECT "type" FROM table_27939 WHERE "YES votes" = '175932' | [
2061,
373,
262,
2099,
618,
612,
547,
1596,
3270,
2624,
3763,
5690,
30,
46506,
366,
4906,
1,
16034,
3084,
62,
26050,
2670,
33411,
366,
43335,
5690,
1,
796,
705,
1558,
3270,
2624,
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,
2099,
618,
612,
547,
1596,
3270,
2624,
3763,
5690,
30,
46506,
366,
4906,
1,
16034,
3084,
62,
26050,
2670,
33411,
366,
43335,
5690,
1,
796,
705,
1558,
3270,
2624,
6
] |
What is Cross Country, when School Year is 2012-13? | SELECT "Cross Country" FROM table_49025 WHERE "School Year" = '2012-13' | [
2061,
318,
6372,
12946,
11,
618,
3961,
6280,
318,
2321,
12,
1485,
30,
46506,
366,
21544,
12946,
1,
16034,
3084,
62,
31503,
1495,
33411,
366,
26130,
6280,
1,
796,
705,
6999,
12,
1485,
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,
6372,
12946,
11,
618,
3961,
6280,
318,
2321,
12,
1485,
30,
46506,
366,
21544,
12946,
1,
16034,
3084,
62,
31503,
1495,
33411,
366,
26130,
6280,
1,
796,
705,
6999,
12,
1485,
6
] |
What race even has NASCAR Featherlite Modified Series as the championship? | SELECT event FROM table_name_26 WHERE championship = "nascar featherlite modified series" | [
2061,
3234,
772,
468,
30774,
34501,
36890,
40499,
7171,
355,
262,
12184,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
2075,
33411,
12184,
796,
366,
77,
37740,
17972,
36890,
9518,
2168,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
3234,
772,
468,
30774,
34501,
36890,
40499,
7171,
355,
262,
12184,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
2075,
33411,
12184,
796,
366,
77,
37740,
17972,
36890,
9518,
2168,
1
] |
Which team has a midfielder of konrad warzycha? | SELECT mls_team FROM table_29626583_3 WHERE position = "Midfielder" AND player = "Konrad Warzycha" | [
13828,
1074,
468,
257,
18707,
286,
479,
261,
6335,
1175,
7357,
11693,
30,
46506,
285,
7278,
62,
15097,
16034,
3084,
62,
27137,
2075,
46239,
62,
18,
33411,
2292,
796,
366,
22622,
3245,
263,
1,
5357,
2137,
796,
366,
42,
261,
6335,
1810,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
468,
257,
18707,
286,
479,
261,
6335,
1175,
7357,
11693,
30,
46506,
285,
7278,
62,
15097,
16034,
3084,
62,
27137,
2075,
46239,
62,
18,
33411,
2292,
796,
366,
22622,
3245,
263,
1,
5357,
2137,
796,
366,
42,
261,
6335,
1810,... |
Which player is from Sweden? | SELECT "Player" FROM table_37418 WHERE "Nationality" = 'sweden' | [
13828,
2137,
318,
422,
10710,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
31020,
1507,
33411,
366,
16186,
414,
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
] | [
13828,
2137,
318,
422,
10710,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
31020,
1507,
33411,
366,
16186,
414,
1,
796,
705,
2032,
31829,
6
] |
Find total capacity of dorms for each gender in a bar chart. | SELECT gender, SUM(student_capacity) FROM Dorm GROUP BY gender | [
16742,
2472,
5339,
286,
18586,
82,
329,
1123,
5279,
287,
257,
2318,
8262,
13,
46506,
5279,
11,
35683,
7,
50139,
62,
42404,
8,
16034,
360,
579,
44441,
11050,
5279
] | [
1,
1,
1,
1,
1,
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,
2472,
5339,
286,
18586,
82,
329,
1123,
5279,
287,
257,
2318,
8262,
13,
46506,
5279,
11,
35683,
7,
50139,
62,
42404,
8,
16034,
360,
579,
44441,
11050,
5279
] |
How many patients use the main drug type and were lab tested for total protein, csf? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.drug_type = "MAIN" AND lab.label = "Total Protein, CSF" | [
2437,
867,
3871,
779,
262,
1388,
2563,
2099,
290,
547,
2248,
6789,
329,
2472,
7532,
11,
269,
28202,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
167... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
3871,
779,
262,
1388,
2563,
2099,
290,
547,
2248,
6789,
329,
2472,
7532,
11,
269,
28202,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
167... |
Users by number of answers. | WITH RankedUsers AS (SELECT RANK() OVER (ORDER BY COUNT(*) DESC) AS Rank, OwnerUserId, COUNT(*) AS AnswerCount FROM Posts WHERE PostTypeId = 2 AND NOT OwnerUserId IS NULL GROUP BY OwnerUserId) SELECT Rank, OwnerUserId AS "user_link", AnswerCount FROM RankedUsers WHERE Rank < 100 OR OwnerUserId = '##UserId##' ORDER BY R... | [
14490,
416,
1271,
286,
7429,
13,
54,
10554,
41844,
14490,
7054,
357,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
23853,
12982,
7390,
11,
327,
28270,
7,
28104,
7054,
23998... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14490,
416,
1271,
286,
7429,
13,
54,
10554,
41844,
14490,
7054,
357,
46506,
371,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
28104,
22196,
34,
8,
7054,
10916,
11,
23853,
12982,
7390,
11,
327,
28270,
7,
28104,
7054,
23998... |
Which capacity has the class 4c3h? | SELECT capacity FROM table_name_37 WHERE class = "4c3h" | [
13828,
5339,
468,
262,
1398,
604,
66,
18,
71,
30,
46506,
5339,
16034,
3084,
62,
3672,
62,
2718,
33411,
1398,
796,
366,
19,
66,
18,
71,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5339,
468,
262,
1398,
604,
66,
18,
71,
30,
46506,
5339,
16034,
3084,
62,
3672,
62,
2718,
33411,
1398,
796,
366,
19,
66,
18,
71,
1
] |
For those records from the products and each product's manufacturer, give me the comparison about the average of code over the founder , and group by attribute founder by a bar chart, and show x axis in desc order. | SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T2.Founder DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
2438,
625,
262,
9119,
837,
290,
1448,
416,
11688,
9119,
416,
257,
2318,
8262,
11,
290,
905,
2124,
16488,
287,
1715,
1502,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1577,
502,
262,
7208,
546,
262,
2811,
286,
2438,
625,
262,
9119,
837,
290,
1448,
416,
11688,
9119,
416,
257,
2318,
8262,
11,
290,
905,
2124,
16488,
287,
1715,
1502,
1... |
What value can you find under the column 'august 21-22' and the row of June 11, 1983? | SELECT august_21_22 FROM table_22651355_3 WHERE june_10_11 = "June 11, 1983" | [
2061,
1988,
460,
345,
1064,
739,
262,
5721,
705,
7493,
436,
2310,
12,
1828,
6,
290,
262,
5752,
286,
2795,
1367,
11,
13540,
30,
46506,
16339,
436,
62,
2481,
62,
1828,
16034,
3084,
62,
1828,
2996,
1485,
2816,
62,
18,
33411,
474,
1726,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1988,
460,
345,
1064,
739,
262,
5721,
705,
7493,
436,
2310,
12,
1828,
6,
290,
262,
5752,
286,
2795,
1367,
11,
13540,
30,
46506,
16339,
436,
62,
2481,
62,
1828,
16034,
3084,
62,
1828,
2996,
1485,
2816,
62,
18,
33411,
474,
1726,... |
Which Away team plays at the Venue vfl park? | SELECT "Away team" FROM table_57770 WHERE "Venue" = 'vfl park' | [
13828,
21986,
1074,
5341,
379,
262,
9932,
518,
410,
2704,
3952,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
49447,
2154,
33411,
366,
37522,
518,
1,
796,
705,
85,
2704,
3952,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
21986,
1074,
5341,
379,
262,
9932,
518,
410,
2704,
3952,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
49447,
2154,
33411,
366,
37522,
518,
1,
796,
705,
85,
2704,
3952,
6
] |
What was the surface for the opponent Roger Federer? | SELECT surface FROM table_name_94 WHERE opponent = "roger federer" | [
2061,
373,
262,
4417,
329,
262,
6125,
13637,
10169,
11882,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
5824,
33411,
6125,
796,
366,
305,
1362,
11672,
11882,
1
] | [
1,
1,
1,
1,
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,
4417,
329,
262,
6125,
13637,
10169,
11882,
30,
46506,
4417,
16034,
3084,
62,
3672,
62,
5824,
33411,
6125,
796,
366,
305,
1362,
11672,
11882,
1
] |
what is the number of patients whose diagnoses icd9 code is 44020 and drug type is base? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "44020" AND prescriptions.drug_type = "BASE" | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
33879,
1238,
290,
2563,
2099,
318,
2779,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
40567,
14158,
67,
24,
2438,
318,
33879,
1238,
290,
2563,
2099,
318,
2779,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40... |
What is the total number of patients who died in or before the year 2111? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.dod_year <= "2111.0" | [
2061,
318,
262,
2472,
1271,
286,
3871,
508,
3724,
287,
393,
878,
262,
614,
362,
16243,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
3871,
508,
3724,
287,
393,
878,
262,
614,
362,
16243,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
67,
375,
62,
1941,
19841,
366,
17,
... |
Can you tell me the Name that has the DCSF number of 2117? | SELECT "Name" FROM table_45329 WHERE "DCSF number" = '2117' | [
6090,
345,
1560,
502,
262,
6530,
326,
468,
262,
6257,
20802,
1271,
286,
362,
17657,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
36625,
1959,
33411,
366,
49513,
37,
1271,
1,
796,
705,
17,
17657,
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
] | [
6090,
345,
1560,
502,
262,
6530,
326,
468,
262,
6257,
20802,
1271,
286,
362,
17657,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
36625,
1959,
33411,
366,
49513,
37,
1271,
1,
796,
705,
17,
17657,
6
] |
Which Touchdowns is the lowest one that has Points of 5, and a Field goals larger than 0? | SELECT MIN("Touchdowns") FROM table_38933 WHERE "Points" = '5' AND "Field goals" > '0' | [
13828,
15957,
30371,
318,
262,
9016,
530,
326,
468,
11045,
286,
642,
11,
290,
257,
7663,
4661,
4025,
621,
657,
30,
46506,
20625,
7203,
35211,
30371,
4943,
16034,
3084,
62,
29769,
2091,
33411,
366,
40710,
1,
796,
705,
20,
6,
5357,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
15957,
30371,
318,
262,
9016,
530,
326,
468,
11045,
286,
642,
11,
290,
257,
7663,
4661,
4025,
621,
657,
30,
46506,
20625,
7203,
35211,
30371,
4943,
16034,
3084,
62,
29769,
2091,
33411,
366,
40710,
1,
796,
705,
20,
6,
5357,
366,... |
provide the number of patients whose drug code is nvan500i and lab test category is blood gas? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "NVAN500I" AND lab."CATEGORY" = "Blood Gas" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
299,
10438,
4059,
72,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
126... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2438,
318,
299,
10438,
4059,
72,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
126... |
How many writers were for season #1? | SELECT COUNT("Writer(s)") FROM table_28121 WHERE "Season #" = '1' | [
2437,
867,
8786,
547,
329,
1622,
1303,
16,
30,
46506,
327,
28270,
7203,
34379,
7,
82,
8,
4943,
16034,
3084,
62,
2078,
19244,
33411,
366,
18960,
1303,
1,
796,
705,
16,
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,
8786,
547,
329,
1622,
1303,
16,
30,
46506,
327,
28270,
7203,
34379,
7,
82,
8,
4943,
16034,
3084,
62,
2078,
19244,
33411,
366,
18960,
1303,
1,
796,
705,
16,
6
] |
What number episode in the series was directed by Kelly Makin and written by Mark Ellis & Stephanie Morgenstern? | SELECT "No." FROM table_22310 WHERE "Directed by" = 'Kelly Makin' AND "Written by" = 'Mark Ellis & Stephanie Morgenstern' | [
2061,
1271,
4471,
287,
262,
2168,
373,
7924,
416,
9077,
15841,
259,
290,
3194,
416,
2940,
21299,
1222,
26085,
37417,
268,
301,
1142,
30,
46506,
366,
2949,
526,
16034,
3084,
62,
22047,
940,
33411,
366,
13470,
276,
416,
1,
796,
705,
348... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
4471,
287,
262,
2168,
373,
7924,
416,
9077,
15841,
259,
290,
3194,
416,
2940,
21299,
1222,
26085,
37417,
268,
301,
1142,
30,
46506,
366,
2949,
526,
16034,
3084,
62,
22047,
940,
33411,
366,
13470,
276,
416,
1,
796,
705,
348... |
Show all role codes and the number of employees in each role by a bar chart. | SELECT Role_Code, COUNT(*) FROM Employees GROUP BY Role_Code | [
15307,
477,
2597,
12416,
290,
262,
1271,
286,
4409,
287,
1123,
2597,
416,
257,
2318,
8262,
13,
46506,
20934,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
30260,
44441,
11050,
20934,
62,
10669
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
477,
2597,
12416,
290,
262,
1271,
286,
4409,
287,
1123,
2597,
416,
257,
2318,
8262,
13,
46506,
20934,
62,
10669,
11,
327,
28270,
7,
28104,
16034,
30260,
44441,
11050,
20934,
62,
10669
] |
Bad' questions from new users in 2013-2014. | SELECT DATEADD(month, DATEDIFF(month, @epoch, CreationDate), @epoch) AS Month, IIF(q.DeletionDate IS NULL AND q.ClosedDate IS NULL, 'good', 'bad') AS quality, COUNT(*) AS questions FROM Users AS u JOIN Posts AS q ON OwnerUserId = u.Id AND DATEDIFF(month, @epoch, CreationDate) < DATEDIFF(month, @epoch, CreationDate) + 2... | [
22069,
6,
2683,
422,
649,
2985,
287,
2211,
12,
4967,
13,
46506,
360,
6158,
29266,
7,
8424,
11,
360,
11617,
29267,
7,
8424,
11,
2488,
538,
5374,
11,
21582,
10430,
828,
2488,
538,
5374,
8,
7054,
16061,
11,
2873,
37,
7,
80,
13,
5005,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
22069,
6,
2683,
422,
649,
2985,
287,
2211,
12,
4967,
13,
46506,
360,
6158,
29266,
7,
8424,
11,
360,
11617,
29267,
7,
8424,
11,
2488,
538,
5374,
11,
21582,
10430,
828,
2488,
538,
5374,
8,
7054,
16061,
11,
2873,
37,
7,
80,
13,
5005,... |
What were the results in the election where Albert Wynn was the incumbent? | SELECT "Results" FROM table_18103 WHERE "Incumbent" = 'Albert Wynn' | [
2061,
547,
262,
2482,
287,
262,
3071,
810,
9966,
29758,
77,
373,
262,
23526,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
1507,
15197,
33411,
366,
25517,
2178,
298,
1,
796,
705,
42590,
29758,
77,
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,
547,
262,
2482,
287,
262,
3071,
810,
9966,
29758,
77,
373,
262,
23526,
30,
46506,
366,
25468,
1,
16034,
3084,
62,
1507,
15197,
33411,
366,
25517,
2178,
298,
1,
796,
705,
42590,
29758,
77,
6
] |
Tell me the fastest lapf or jim clark being the winning driver for prince george | SELECT fastest_lap FROM table_name_35 WHERE winning_driver = "jim clark" AND circuit = "prince george" | [
24446,
502,
262,
14162,
14779,
69,
393,
474,
320,
537,
668,
852,
262,
5442,
4639,
329,
19716,
4903,
3643,
46506,
14162,
62,
37796,
16034,
3084,
62,
3672,
62,
2327,
33411,
5442,
62,
26230,
796,
366,
73,
320,
537,
668,
1,
5357,
10349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14162,
14779,
69,
393,
474,
320,
537,
668,
852,
262,
5442,
4639,
329,
19716,
4903,
3643,
46506,
14162,
62,
37796,
16034,
3084,
62,
3672,
62,
2327,
33411,
5442,
62,
26230,
796,
366,
73,
320,
537,
668,
1,
5357,
10349,
... |
Show sum team id from each all home, and display by the X-axis from high to low. | SELECT All_Home, SUM(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home DESC | [
15307,
2160,
1074,
4686,
422,
1123,
477,
1363,
11,
290,
3359,
416,
262,
1395,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
1439,
62,
16060,
11,
35683,
7,
15592,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
16060,
38678,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
1074,
4686,
422,
1123,
477,
1363,
11,
290,
3359,
416,
262,
1395,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
1439,
62,
16060,
11,
35683,
7,
15592,
62,
2389,
8,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
16060,
38678,... |
What caused the collapse of the Mausoleum at Halicarnassus? | SELECT cause_of_destruction FROM table_19342760_1 WHERE name = "Mausoleum at Halicarnassus" | [
2061,
4073,
262,
9807,
286,
262,
6669,
385,
2305,
388,
379,
11023,
291,
1501,
562,
385,
30,
46506,
2728,
62,
1659,
62,
16520,
2762,
16034,
3084,
62,
1129,
2682,
1983,
1899,
62,
16,
33411,
1438,
796,
366,
44,
8717,
2305,
388,
379,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4073,
262,
9807,
286,
262,
6669,
385,
2305,
388,
379,
11023,
291,
1501,
562,
385,
30,
46506,
2728,
62,
1659,
62,
16520,
2762,
16034,
3084,
62,
1129,
2682,
1983,
1899,
62,
16,
33411,
1438,
796,
366,
44,
8717,
2305,
388,
379,
11... |
What human computer interaction classes are prerequisites for 312 ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0 INNER JOIN course_prerequisite ON COURSE_0.course_id = course_prerequisite.pre_course_id INNER JOIN course AS COURSE_1 ON COURSE_1.course_id = course_prerequisite.course_id INNER JOIN area ON COURSE_0.course_id = area.course_id ... | [
2061,
1692,
3644,
10375,
6097,
389,
662,
34075,
329,
34465,
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,
518... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1692,
3644,
10375,
6097,
389,
662,
34075,
329,
34465,
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,
518... |
Which player was drafted overall from the college of Nebraska in a round under 6, pick of 15, and overall under 224? | SELECT name FROM table_name_19 WHERE overall < 224 AND round < 6 AND pick = 15 AND college = "nebraska" | [
13828,
2137,
373,
15937,
4045,
422,
262,
4152,
286,
18329,
287,
257,
2835,
739,
718,
11,
2298,
286,
1315,
11,
290,
4045,
739,
26063,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1129,
33411,
4045,
1279,
26063,
5357,
2835,
1279,
718,
53... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
15937,
4045,
422,
262,
4152,
286,
18329,
287,
257,
2835,
739,
718,
11,
2298,
286,
1315,
11,
290,
4045,
739,
26063,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
1129,
33411,
4045,
1279,
26063,
5357,
2835,
1279,
718,
53... |
what is the swimsuit score when the semifinal average score is 8.367 (10)? | SELECT swimsuit FROM table_name_86 WHERE semifinal_average = "8.367 (10)" | [
10919,
318,
262,
9422,
6063,
4776,
618,
262,
32948,
1292,
2811,
4776,
318,
807,
13,
27824,
357,
940,
19427,
46506,
9422,
6063,
16034,
3084,
62,
3672,
62,
4521,
33411,
32948,
1292,
62,
23913,
796,
366,
23,
13,
27824,
357,
940,
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,
1,
1
] | [
10919,
318,
262,
9422,
6063,
4776,
618,
262,
32948,
1292,
2811,
4776,
318,
807,
13,
27824,
357,
940,
19427,
46506,
9422,
6063,
16034,
3084,
62,
3672,
62,
4521,
33411,
32948,
1292,
62,
23913,
796,
366,
23,
13,
27824,
357,
940,
16725
] |
What is the score for set 2 when the score of set 1 is 19 25? | SELECT set_2 FROM table_name_70 WHERE set_1 = "19–25" | [
2061,
318,
262,
4776,
329,
900,
362,
618,
262,
4776,
286,
900,
352,
318,
678,
1679,
30,
46506,
900,
62,
17,
16034,
3084,
62,
3672,
62,
2154,
33411,
900,
62,
16,
796,
366,
1129,
1906,
1495,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
900,
362,
618,
262,
4776,
286,
900,
352,
318,
678,
1679,
30,
46506,
900,
62,
17,
16034,
3084,
62,
3672,
62,
2154,
33411,
900,
62,
16,
796,
366,
1129,
1906,
1495,
1
] |
After how many opponents was the overall record 1-0-0? | SELECT COUNT("Opponents") FROM table_24007 WHERE "Record" = '1-0-0' | [
3260,
703,
867,
7691,
373,
262,
4045,
1700,
352,
12,
15,
12,
15,
30,
46506,
327,
28270,
7203,
27524,
3906,
4943,
16034,
3084,
62,
1731,
25816,
33411,
366,
23739,
1,
796,
705,
16,
12,
15,
12,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3260,
703,
867,
7691,
373,
262,
4045,
1700,
352,
12,
15,
12,
15,
30,
46506,
327,
28270,
7203,
27524,
3906,
4943,
16034,
3084,
62,
1731,
25816,
33411,
366,
23739,
1,
796,
705,
16,
12,
15,
12,
15,
6
] |
What duration has rosa gonzalez as the character? | SELECT duration FROM table_name_60 WHERE character = "rosa gonzalez" | [
2061,
9478,
468,
686,
11400,
308,
13569,
22149,
355,
262,
2095,
30,
46506,
9478,
16034,
3084,
62,
3672,
62,
1899,
33411,
2095,
796,
366,
4951,
64,
308,
13569,
22149,
1
] | [
1,
1,
1,
1,
1,
1,
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,
9478,
468,
686,
11400,
308,
13569,
22149,
355,
262,
2095,
30,
46506,
9478,
16034,
3084,
62,
3672,
62,
1899,
33411,
2095,
796,
366,
4951,
64,
308,
13569,
22149,
1
] |
Who is the third on the team from Madison, Wisconsin that has Craig Brown as skip? | SELECT "Third" FROM table_62759 WHERE "Home" = 'madison, wisconsin' AND "Skip" = 'craig brown' | [
8241,
318,
262,
2368,
319,
262,
1074,
422,
14909,
11,
9279,
326,
468,
13854,
4373,
355,
14267,
30,
46506,
366,
22747,
1,
16034,
3084,
62,
49856,
3270,
33411,
366,
16060,
1,
796,
705,
9937,
1653,
11,
266,
8816,
6,
5357,
366,
50232,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2368,
319,
262,
1074,
422,
14909,
11,
9279,
326,
468,
13854,
4373,
355,
14267,
30,
46506,
366,
22747,
1,
16034,
3084,
62,
49856,
3270,
33411,
366,
16060,
1,
796,
705,
9937,
1653,
11,
266,
8816,
6,
5357,
366,
50232,
1... |
south korea has how many more medals that north korea ? | SELECT (SELECT "total" FROM table_203_630 WHERE "nation" = 'south korea') - (SELECT "total" FROM table_203_630 WHERE "nation" = 'north korea') | [
35782,
479,
46215,
468,
703,
867,
517,
28057,
326,
5093,
479,
46215,
5633,
46506,
357,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
30005,
33411,
366,
25729,
1,
796,
705,
35782,
479,
46215,
11537,
532,
357,
46506,
366,
23350,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
35782,
479,
46215,
468,
703,
867,
517,
28057,
326,
5093,
479,
46215,
5633,
46506,
357,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
30005,
33411,
366,
25729,
1,
796,
705,
35782,
479,
46215,
11537,
532,
357,
46506,
366,
23350,
1,
... |
What was the release date of Sonic Adventure 2? | SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 2" | [
2061,
373,
262,
2650,
3128,
286,
18426,
9553,
362,
30,
46506,
2650,
16034,
3084,
62,
1485,
23539,
3023,
62,
16,
33411,
3670,
796,
366,
50,
9229,
9553,
362,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2650,
3128,
286,
18426,
9553,
362,
30,
46506,
2650,
16034,
3084,
62,
1485,
23539,
3023,
62,
16,
33411,
3670,
796,
366,
50,
9229,
9553,
362,
1
] |
What was the SECR number of the item made in 1861? | SELECT "SECR numbers" FROM table_77621 WHERE "Year made" = '1861' | [
2061,
373,
262,
10729,
49,
1271,
286,
262,
2378,
925,
287,
45278,
30,
46506,
366,
23683,
49,
3146,
1,
16034,
3084,
62,
39509,
2481,
33411,
366,
17688,
925,
1,
796,
705,
1507,
5333,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
10729,
49,
1271,
286,
262,
2378,
925,
287,
45278,
30,
46506,
366,
23683,
49,
3146,
1,
16034,
3084,
62,
39509,
2481,
33411,
366,
17688,
925,
1,
796,
705,
1507,
5333,
6
] |
What is the ad frequency for the show named Health Matters? | SELECT ad_freq FROM table_name_58 WHERE show_name = "health matters" | [
2061,
318,
262,
512,
8373,
329,
262,
905,
3706,
3893,
30587,
30,
46506,
512,
62,
19503,
80,
16034,
3084,
62,
3672,
62,
3365,
33411,
905,
62,
3672,
796,
366,
13948,
6067,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
512,
8373,
329,
262,
905,
3706,
3893,
30587,
30,
46506,
512,
62,
19503,
80,
16034,
3084,
62,
3672,
62,
3365,
33411,
905,
62,
3672,
796,
366,
13948,
6067,
1
] |
Show the number of accounts for all accounts by the customer with first name 'Meaghan' opened in each day. Bin the account open day by weekday in a bar chart. | SELECT date_account_opened, COUNT(date_account_opened) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan' | [
15307,
262,
1271,
286,
5504,
329,
477,
5504,
416,
262,
6491,
351,
717,
1438,
705,
5308,
45109,
6,
4721,
287,
1123,
1110,
13,
20828,
262,
1848,
1280,
1110,
416,
28269,
287,
257,
2318,
8262,
13,
46506,
3128,
62,
23317,
62,
26350,
11,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
1271,
286,
5504,
329,
477,
5504,
416,
262,
6491,
351,
717,
1438,
705,
5308,
45109,
6,
4721,
287,
1123,
1110,
13,
20828,
262,
1848,
1280,
1110,
416,
28269,
287,
257,
2318,
8262,
13,
46506,
3128,
62,
23317,
62,
26350,
11,
... |
Which television service has programmi per adulti 24h/24 content and no HDTV? | SELECT television_service FROM table_name_41 WHERE content = "programmi per adulti 24h/24" AND hdtv = "no" | [
13828,
5581,
2139,
468,
1430,
11632,
583,
4044,
72,
1987,
71,
14,
1731,
2695,
290,
645,
5572,
6849,
30,
46506,
5581,
62,
15271,
16034,
3084,
62,
3672,
62,
3901,
33411,
2695,
796,
366,
23065,
11632,
583,
4044,
72,
1987,
71,
14,
1731,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5581,
2139,
468,
1430,
11632,
583,
4044,
72,
1987,
71,
14,
1731,
2695,
290,
645,
5572,
6849,
30,
46506,
5581,
62,
15271,
16034,
3084,
62,
3672,
62,
3901,
33411,
2695,
796,
366,
23065,
11632,
583,
4044,
72,
1987,
71,
14,
1731,
... |
Who is the second member that was elected in 1555? | SELECT 2 AS nd_member FROM table_name_34 WHERE elected = "1555" | [
8241,
318,
262,
1218,
2888,
326,
373,
7018,
287,
1315,
2816,
30,
46506,
362,
7054,
299,
67,
62,
19522,
16034,
3084,
62,
3672,
62,
2682,
33411,
7018,
796,
366,
1314,
2816,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1218,
2888,
326,
373,
7018,
287,
1315,
2816,
30,
46506,
362,
7054,
299,
67,
62,
19522,
16034,
3084,
62,
3672,
62,
2682,
33411,
7018,
796,
366,
1314,
2816,
1
] |
What was Cal State-Los Angeles' position with an Overall above 22? | SELECT "Position" FROM table_33552 WHERE "Overall" > '22' AND "School/Club Team" = 'cal state-los angeles' | [
2061,
373,
2199,
1812,
12,
28903,
5652,
6,
2292,
351,
281,
14674,
2029,
2534,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2091,
40427,
33411,
366,
16350,
1,
1875,
705,
1828,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
796,
705,
9948,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
2199,
1812,
12,
28903,
5652,
6,
2292,
351,
281,
14674,
2029,
2534,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
2091,
40427,
33411,
366,
16350,
1,
1875,
705,
1828,
6,
5357,
366,
26130,
14,
42350,
4816,
1,
796,
705,
9948,
11... |
How many dates did the episode with a production code of 804 originally air on? | SELECT COUNT(original_air_date) FROM table_27988559_1 WHERE production_code = 804 | [
2437,
867,
9667,
750,
262,
4471,
351,
257,
3227,
2438,
286,
807,
3023,
6198,
1633,
319,
30,
46506,
327,
28270,
7,
14986,
62,
958,
62,
4475,
8,
16034,
3084,
62,
26050,
3459,
38605,
62,
16,
33411,
3227,
62,
8189,
796,
807,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
9667,
750,
262,
4471,
351,
257,
3227,
2438,
286,
807,
3023,
6198,
1633,
319,
30,
46506,
327,
28270,
7,
14986,
62,
958,
62,
4475,
8,
16034,
3084,
62,
26050,
3459,
38605,
62,
16,
33411,
3227,
62,
8189,
796,
807,
3023
] |
When did Shirley Fry Irvin win the US Open? | SELECT MIN(us_open) FROM table_2092557_12 WHERE player = "Shirley Fry Irvin" | [
2215,
750,
40902,
25305,
5686,
7114,
1592,
262,
1294,
4946,
30,
46506,
20625,
7,
385,
62,
9654,
8,
16034,
3084,
62,
22567,
1495,
3553,
62,
1065,
33411,
2137,
796,
366,
2484,
343,
1636,
25305,
5686,
7114,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
40902,
25305,
5686,
7114,
1592,
262,
1294,
4946,
30,
46506,
20625,
7,
385,
62,
9654,
8,
16034,
3084,
62,
22567,
1495,
3553,
62,
1065,
33411,
2137,
796,
366,
2484,
343,
1636,
25305,
5686,
7114,
1
] |
What is the total number of Raiders First Downs, when Date is 'Nov. 2', and when Raiders Points is greater than 42? | SELECT COUNT("Raiders first downs") FROM table_58789 WHERE "Date" = 'nov. 2' AND "Raiders points" > '42' | [
2061,
318,
262,
2472,
1271,
286,
16120,
3274,
49618,
11,
618,
7536,
318,
705,
20795,
13,
362,
3256,
290,
618,
16120,
11045,
318,
3744,
621,
5433,
30,
46506,
327,
28270,
7203,
49043,
364,
717,
21838,
4943,
16034,
3084,
62,
3365,
40401,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
16120,
3274,
49618,
11,
618,
7536,
318,
705,
20795,
13,
362,
3256,
290,
618,
16120,
11045,
318,
3744,
621,
5433,
30,
46506,
327,
28270,
7203,
49043,
364,
717,
21838,
4943,
16034,
3084,
62,
3365,
40401,
... |
For those employees who was hired before 2002-06-21, show me about the distribution of job_id and the average of manager_id , and group by attribute job_id in a bar chart, and show by the total number in ascending. | SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY AVG(MANAGER_ID) | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
4706,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
287,
257,
2318,
8262,
11,
290,
905,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
905,
502,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2811,
286,
4706,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
287,
257,
2318,
8262,
11,
290,
905,
... |
What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach? | SELECT date FROM table_name_68 WHERE outcome = "winner" AND opponent = "an-sophie mestach" | [
2061,
318,
7536,
11,
618,
3806,
2958,
318,
25358,
11,
290,
618,
9385,
3471,
318,
1052,
12,
50,
2522,
494,
337,
395,
620,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3104,
33411,
8055,
796,
366,
39791,
1,
5357,
6125,
796,
366,
272,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
7536,
11,
618,
3806,
2958,
318,
25358,
11,
290,
618,
9385,
3471,
318,
1052,
12,
50,
2522,
494,
337,
395,
620,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3104,
33411,
8055,
796,
366,
39791,
1,
5357,
6125,
796,
366,
272,
... |
how many patients aged below 58 years have hypoxia as their primary disease? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "HYPOXIA" AND demographic.age < "58" | [
4919,
867,
3871,
9722,
2174,
7618,
812,
423,
5328,
1140,
544,
355,
511,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
42598,
16402,
55,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9722,
2174,
7618,
812,
423,
5328,
1140,
544,
355,
511,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
42598,
16402,
55,... |
what is ethnicity and primary disease of subject id 3623? | SELECT demographic.ethnicity, demographic.diagnosis FROM demographic WHERE demographic.subject_id = "3623" | [
10919,
318,
26289,
290,
4165,
4369,
286,
2426,
4686,
4570,
1954,
30,
46506,
16728,
13,
38546,
414,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2623,
1954,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26289,
290,
4165,
4369,
286,
2426,
4686,
4570,
1954,
30,
46506,
16728,
13,
38546,
414,
11,
16728,
13,
47356,
5958,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
2623,
1954,
1
] |
What is the sum of the games before January 19 with a 27-6-6 record? | SELECT SUM("Game") FROM table_49743 WHERE "January" < '19' AND "Record" = '27-6-6' | [
2061,
318,
262,
2160,
286,
262,
1830,
878,
3269,
678,
351,
257,
2681,
12,
21,
12,
21,
1700,
30,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
38073,
3559,
33411,
366,
21339,
1,
1279,
705,
1129,
6,
5357,
366,
23739,
1,
796,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
286,
262,
1830,
878,
3269,
678,
351,
257,
2681,
12,
21,
12,
21,
1700,
30,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
38073,
3559,
33411,
366,
21339,
1,
1279,
705,
1129,
6,
5357,
366,
23739,
1,
796,
705,
... |
What was the score to par for 156 strokes? | SELECT COUNT(to_par) FROM table_name_37 WHERE total > 156 | [
2061,
373,
262,
4776,
284,
1582,
329,
23871,
29483,
30,
46506,
327,
28270,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
2472,
1875,
23871
] | [
1,
1,
1,
1,
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,
284,
1582,
329,
23871,
29483,
30,
46506,
327,
28270,
7,
1462,
62,
1845,
8,
16034,
3084,
62,
3672,
62,
2718,
33411,
2472,
1875,
23871
] |
Show the total number of platforms of locations in each location in a bar chart, and could you show in descending by the y-axis please? | SELECT Location, SUM(Number_of_Platforms) FROM station GROUP BY Location ORDER BY SUM(Number_of_Platforms) DESC | [
15307,
262,
2472,
1271,
286,
9554,
286,
7064,
287,
1123,
4067,
287,
257,
2318,
8262,
11,
290,
714,
345,
905,
287,
31491,
416,
262,
331,
12,
22704,
3387,
30,
46506,
13397,
11,
35683,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
9554,
286,
7064,
287,
1123,
4067,
287,
257,
2318,
8262,
11,
290,
714,
345,
905,
287,
31491,
416,
262,
331,
12,
22704,
3387,
30,
46506,
13397,
11,
35683,
7,
15057,
62,
1659,
62,
37148,
82,
8,
16034,
4429,... |
How many people attended the uefa champions league competition? | SELECT attendance FROM table_299271_2 WHERE competition = "UEFA Champions League" | [
2437,
867,
661,
9141,
262,
334,
891,
64,
7827,
4652,
5449,
30,
46506,
14858,
16034,
3084,
62,
22579,
28977,
62,
17,
33411,
5449,
796,
366,
8924,
7708,
6662,
4041,
1
] | [
1,
1,
1,
1,
1,
1,
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,
9141,
262,
334,
891,
64,
7827,
4652,
5449,
30,
46506,
14858,
16034,
3084,
62,
22579,
28977,
62,
17,
33411,
5449,
796,
366,
8924,
7708,
6662,
4041,
1
] |
What was the place in season 8 with a rank by average at 139? | SELECT "Place" FROM table_40464 WHERE "Season" = '8' AND "Rank by average" = '139' | [
2061,
373,
262,
1295,
287,
1622,
807,
351,
257,
4279,
416,
2811,
379,
23666,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
26429,
2414,
33411,
366,
18960,
1,
796,
705,
23,
6,
5357,
366,
27520,
416,
2811,
1,
796,
705,
20219,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1295,
287,
1622,
807,
351,
257,
4279,
416,
2811,
379,
23666,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
26429,
2414,
33411,
366,
18960,
1,
796,
705,
23,
6,
5357,
366,
27520,
416,
2811,
1,
796,
705,
20219,
6
] |
Which Field has a Discovery of na, and an Operator(s) of woc, and a Geological Trend of western | SELECT "Field" FROM table_15219 WHERE "Discovery" = 'na' AND "Operator(s)" = 'woc' AND "Geological Trend" = 'western' | [
13828,
7663,
468,
257,
23455,
286,
12385,
11,
290,
281,
35946,
7,
82,
8,
286,
266,
420,
11,
290,
257,
34246,
22836,
286,
8830,
46506,
366,
15878,
1,
16034,
3084,
62,
17827,
1129,
33411,
366,
35,
40821,
1,
796,
705,
2616,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
7663,
468,
257,
23455,
286,
12385,
11,
290,
281,
35946,
7,
82,
8,
286,
266,
420,
11,
290,
257,
34246,
22836,
286,
8830,
46506,
366,
15878,
1,
16034,
3084,
62,
17827,
1129,
33411,
366,
35,
40821,
1,
796,
705,
2616,
6,
5357,
... |
what is redskins (score) against tennessee titans 27 | SELECT redskins__score_ FROM table_20074209_1 WHERE opponent__score_ = "Tennessee Titans 27" | [
10919,
318,
2266,
82,
5331,
357,
26675,
8,
1028,
256,
1697,
10702,
5259,
504,
2681,
46506,
2266,
82,
5331,
834,
26675,
62,
16034,
3084,
62,
2167,
4524,
22567,
62,
16,
33411,
6125,
834,
26675,
62,
796,
366,
43139,
10702,
18711,
2681,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2266,
82,
5331,
357,
26675,
8,
1028,
256,
1697,
10702,
5259,
504,
2681,
46506,
2266,
82,
5331,
834,
26675,
62,
16034,
3084,
62,
2167,
4524,
22567,
62,
16,
33411,
6125,
834,
26675,
62,
796,
366,
43139,
10702,
18711,
2681,
1... |
For those ships that do not have a captain, tell me the total number of their classes using a pie chart, show in desc by the bar. | SELECT Class, COUNT(Class) FROM Ship WHERE NOT Ship_ID IN (SELECT Ship_ID FROM captain) GROUP BY Class ORDER BY Class DESC | [
1890,
883,
7937,
326,
466,
407,
423,
257,
10654,
11,
1560,
502,
262,
2472,
1271,
286,
511,
6097,
1262,
257,
2508,
8262,
11,
905,
287,
1715,
416,
262,
2318,
13,
46506,
5016,
11,
327,
28270,
7,
9487,
8,
16034,
16656,
33411,
5626,
1665... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7937,
326,
466,
407,
423,
257,
10654,
11,
1560,
502,
262,
2472,
1271,
286,
511,
6097,
1262,
257,
2508,
8262,
11,
905,
287,
1715,
416,
262,
2318,
13,
46506,
5016,
11,
327,
28270,
7,
9487,
8,
16034,
16656,
33411,
5626,
1665... |
What is the highest rank of Austria, which had less than 0 silvers? | SELECT MIN(rank) FROM table_name_83 WHERE nation = "austria" AND silver < 0 | [
2061,
318,
262,
4511,
4279,
286,
17322,
11,
543,
550,
1342,
621,
657,
3313,
690,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
3277,
796,
366,
64,
436,
7496,
1,
5357,
8465,
1279,
657
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
4279,
286,
17322,
11,
543,
550,
1342,
621,
657,
3313,
690,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
5999,
33411,
3277,
796,
366,
64,
436,
7496,
1,
5357,
8465,
1279,
657
] |
What tournament is on October 27, 2003? | SELECT tournament FROM table_name_84 WHERE date = "october 27, 2003" | [
2061,
7756,
318,
319,
3267,
2681,
11,
5816,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
5705,
33411,
3128,
796,
366,
38441,
2023,
2681,
11,
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
] | [
2061,
7756,
318,
319,
3267,
2681,
11,
5816,
30,
46506,
7756,
16034,
3084,
62,
3672,
62,
5705,
33411,
3128,
796,
366,
38441,
2023,
2681,
11,
5816,
1
] |
Create a bar chart showing capacity across name, order Name in desc order. | SELECT Name, Capacity FROM cinema ORDER BY Name DESC | [
16447,
257,
2318,
8262,
4478,
5339,
1973,
1438,
11,
1502,
6530,
287,
1715,
1502,
13,
46506,
6530,
11,
29765,
16034,
22041,
38678,
11050,
6530,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2318,
8262,
4478,
5339,
1973,
1438,
11,
1502,
6530,
287,
1715,
1502,
13,
46506,
6530,
11,
29765,
16034,
22041,
38678,
11050,
6530,
22196,
34
] |
Bar chart of minimal price from each name, and order by the y-axis from high to low. | SELECT Name, MIN(Price) FROM Products GROUP BY Name ORDER BY MIN(Price) DESC | [
10374,
8262,
286,
10926,
2756,
422,
1123,
1438,
11,
290,
1502,
416,
262,
331,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
6530,
11,
20625,
7,
18124,
8,
16034,
18675,
44441,
11050,
6530,
38678,
11050,
20625,
7,
18124,
8,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10374,
8262,
286,
10926,
2756,
422,
1123,
1438,
11,
290,
1502,
416,
262,
331,
12,
22704,
422,
1029,
284,
1877,
13,
46506,
6530,
11,
20625,
7,
18124,
8,
16034,
18675,
44441,
11050,
6530,
38678,
11050,
20625,
7,
18124,
8,
22196,
34
] |
Name the total number of pick with round less than 6 and overall of 102 | SELECT COUNT("Pick #") FROM table_36031 WHERE "Round" < '6' AND "Overall" = '102' | [
5376,
262,
2472,
1271,
286,
2298,
351,
2835,
1342,
621,
718,
290,
4045,
286,
15143,
46506,
327,
28270,
7203,
31686,
1303,
4943,
16034,
3084,
62,
15277,
3132,
33411,
366,
22685,
1,
1279,
705,
21,
6,
5357,
366,
16350,
1,
796,
705,
15377... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2298,
351,
2835,
1342,
621,
718,
290,
4045,
286,
15143,
46506,
327,
28270,
7203,
31686,
1303,
4943,
16034,
3084,
62,
15277,
3132,
33411,
366,
22685,
1,
1279,
705,
21,
6,
5357,
366,
16350,
1,
796,
705,
15377... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.