instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Who is the lowest ranked player from the United States that has less than 3 Wins? | SELECT MIN(rank) FROM table_name_59 WHERE country = "united states" AND wins < 3 | [
8241,
318,
262,
9016,
10307,
2137,
422,
262,
1578,
1829,
326,
468,
1342,
621,
513,
24423,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
7864,
1279,
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,
1,
1,
1,
1
] | [
8241,
318,
262,
9016,
10307,
2137,
422,
262,
1578,
1829,
326,
468,
1342,
621,
513,
24423,
30,
46506,
20625,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
3270,
33411,
1499,
796,
366,
41187,
2585,
1,
5357,
7864,
1279,
513
] |
A bar chart for what are the number of the phone numbers for each employee?, could you list Y-axis from low to high order? | SELECT Phone, COUNT(Phone) FROM Employee GROUP BY Phone ORDER BY COUNT(Phone) | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
3072,
3146,
329,
1123,
6538,
21747,
714,
345,
1351,
575,
12,
22704,
422,
1877,
284,
1029,
1502,
30,
46506,
14484,
11,
327,
28270,
7,
6132,
8,
16034,
36824,
44441,
11050,
14484,
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
] | [
32,
2318,
8262,
329,
644,
389,
262,
1271,
286,
262,
3072,
3146,
329,
1123,
6538,
21747,
714,
345,
1351,
575,
12,
22704,
422,
1877,
284,
1029,
1502,
30,
46506,
14484,
11,
327,
28270,
7,
6132,
8,
16034,
36824,
44441,
11050,
14484,
38678... |
Please show the employee first names and ids of employees who serve at least 10 customers. | SELECT T1.FirstName, T1.SupportRepId FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) >= 10 | [
5492,
905,
262,
6538,
717,
3891,
290,
220,
2340,
286,
4409,
508,
4691,
379,
1551,
838,
4297,
13,
46506,
309,
16,
13,
5962,
5376,
11,
309,
16,
13,
15514,
6207,
7390,
16034,
327,
7759,
2662,
1137,
7054,
309,
16,
32357,
1268,
17228,
64... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5492,
905,
262,
6538,
717,
3891,
290,
220,
2340,
286,
4409,
508,
4691,
379,
1551,
838,
4297,
13,
46506,
309,
16,
13,
5962,
5376,
11,
309,
16,
13,
15514,
6207,
7390,
16034,
327,
7759,
2662,
1137,
7054,
309,
16,
32357,
1268,
17228,
64... |
What is the 2012 value with 1r in 2011, 2007 of A, 2010 of 1r, and 2009 of A? | SELECT 2012 FROM table_name_16 WHERE 2011 = "1r" AND 2007 = "a" AND 2010 = "1r" AND 2009 = "a" | [
2061,
318,
262,
2321,
1988,
351,
352,
81,
287,
2813,
11,
4343,
286,
317,
11,
3050,
286,
352,
81,
11,
290,
3717,
286,
317,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
1433,
33411,
2813,
796,
366,
16,
81,
1,
5357,
4343,
796,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2321,
1988,
351,
352,
81,
287,
2813,
11,
4343,
286,
317,
11,
3050,
286,
352,
81,
11,
290,
3717,
286,
317,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
1433,
33411,
2813,
796,
366,
16,
81,
1,
5357,
4343,
796,
366,
... |
Who was the Runner-up in Hossegor? | SELECT runner_up FROM table_name_68 WHERE location = "hossegor" | [
8241,
373,
262,
21529,
12,
929,
287,
30789,
325,
7053,
30,
46506,
17490,
62,
929,
16034,
3084,
62,
3672,
62,
3104,
33411,
4067,
796,
366,
71,
418,
325,
7053,
1
] | [
1,
1,
1,
1,
1,
1,
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,
21529,
12,
929,
287,
30789,
325,
7053,
30,
46506,
17490,
62,
929,
16034,
3084,
62,
3672,
62,
3104,
33411,
4067,
796,
366,
71,
418,
325,
7053,
1
] |
Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000. | SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count > 100 OR amount_of_transaction > 1000 | [
15307,
262,
9667,
286,
8945,
611,
262,
2648,
954,
318,
5749,
621,
1802,
393,
262,
2033,
318,
5749,
621,
8576,
13,
46506,
3128,
62,
1659,
62,
7645,
2673,
16034,
44069,
10659,
11053,
33411,
2648,
62,
9127,
1875,
1802,
6375,
2033,
62,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
15307,
262,
9667,
286,
8945,
611,
262,
2648,
954,
318,
5749,
621,
1802,
393,
262,
2033,
318,
5749,
621,
8576,
13,
46506,
3128,
62,
1659,
62,
7645,
2673,
16034,
44069,
10659,
11053,
33411,
2648,
62,
9127,
1875,
1802,
6375,
2033,
62,
16... |
How many were in attendance when the league position was 16th and the score was F A of 0 3? | SELECT COUNT("Attendance") FROM table_37371 WHERE "League position" = '16th' AND "Score F\u2013A" = '0–3' | [
2437,
867,
547,
287,
14858,
618,
262,
4652,
2292,
373,
1467,
400,
290,
262,
4776,
373,
376,
317,
286,
657,
513,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
2718,
38056,
33411,
366,
24623,
2292,
1,
796,
705,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
547,
287,
14858,
618,
262,
4652,
2292,
373,
1467,
400,
290,
262,
4776,
373,
376,
317,
286,
657,
513,
30,
46506,
327,
28270,
7203,
8086,
437,
590,
4943,
16034,
3084,
62,
2718,
38056,
33411,
366,
24623,
2292,
1,
796,
705,
1... |
What is the highest enrollment schools that joined the mac in 1997? | SELECT MAX(enrollment) FROM table_261906_2 WHERE joined_mac = 1997 | [
2061,
318,
262,
4511,
20753,
4266,
326,
5399,
262,
8352,
287,
8309,
30,
46506,
25882,
7,
268,
48108,
8,
16034,
3084,
62,
2075,
1129,
3312,
62,
17,
33411,
5399,
62,
20285,
796,
8309
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20753,
4266,
326,
5399,
262,
8352,
287,
8309,
30,
46506,
25882,
7,
268,
48108,
8,
16034,
3084,
62,
2075,
1129,
3312,
62,
17,
33411,
5399,
62,
20285,
796,
8309
] |
electro systolic process permanent or transitory | SELECT * FROM table_train_2 WHERE electro_systolic_process = 1 | [
9509,
305,
827,
301,
4160,
1429,
7748,
393,
11168,
652,
46506,
1635,
16034,
3084,
62,
27432,
62,
17,
33411,
15206,
62,
1837,
301,
4160,
62,
14681,
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
] | [
9509,
305,
827,
301,
4160,
1429,
7748,
393,
11168,
652,
46506,
1635,
16034,
3084,
62,
27432,
62,
17,
33411,
15206,
62,
1837,
301,
4160,
62,
14681,
796,
352
] |
What is the number of patients who had a routine infant and child health check diagnoses with an id route of drug administration? | 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.short_title = "Routin child health exam" AND prescriptions.route = "ID" | [
2061,
318,
262,
1271,
286,
3871,
508,
550,
257,
8027,
11212,
290,
1200,
1535,
2198,
40567,
351,
281,
4686,
6339,
286,
2563,
3662,
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... | [
2061,
318,
262,
1271,
286,
3871,
508,
550,
257,
8027,
11212,
290,
1200,
1535,
2198,
40567,
351,
281,
4686,
6339,
286,
2563,
3662,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,... |
What is the average Season, when First Broadcast is January 23, 1981? | SELECT AVG(season) FROM table_name_14 WHERE first_broadcast = "january 23, 1981" | [
2061,
318,
262,
2811,
7369,
11,
618,
3274,
44244,
318,
3269,
2242,
11,
14745,
30,
46506,
35224,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
717,
62,
36654,
2701,
796,
366,
13881,
2838,
2242,
11,
14745,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7369,
11,
618,
3274,
44244,
318,
3269,
2242,
11,
14745,
30,
46506,
35224,
7,
6230,
8,
16034,
3084,
62,
3672,
62,
1415,
33411,
717,
62,
36654,
2701,
796,
366,
13881,
2838,
2242,
11,
14745,
1
] |
How many laps were completed in the race with time of 3:03:50? | SELECT "Laps" FROM table_24595 WHERE "Race Time" = '3:03:50' | [
2437,
867,
24590,
547,
5668,
287,
262,
3234,
351,
640,
286,
513,
25,
3070,
25,
1120,
30,
46506,
366,
43,
1686,
1,
16034,
3084,
62,
1731,
35124,
33411,
366,
35157,
3862,
1,
796,
705,
18,
25,
3070,
25,
1120,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
24590,
547,
5668,
287,
262,
3234,
351,
640,
286,
513,
25,
3070,
25,
1120,
30,
46506,
366,
43,
1686,
1,
16034,
3084,
62,
1731,
35124,
33411,
366,
35157,
3862,
1,
796,
705,
18,
25,
3070,
25,
1120,
6
] |
show me all flights from BOSTON to DETROIT | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DETROIT... | [
12860,
502,
477,
13956,
422,
347,
10892,
1340,
284,
38267,
13252,
2043,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
1549... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
477,
13956,
422,
347,
10892,
1340,
284,
38267,
13252,
2043,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,
1549... |
who is the first pop musician on this list ? | SELECT "name" FROM table_204_866 WHERE "notable as" = 'pop musician' ORDER BY id LIMIT 1 | [
8727,
318,
262,
717,
1461,
21623,
319,
428,
1351,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
42240,
33411,
366,
1662,
540,
355,
1,
796,
705,
12924,
21623,
6,
38678,
11050,
4686,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
318,
262,
717,
1461,
21623,
319,
428,
1351,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
42240,
33411,
366,
1662,
540,
355,
1,
796,
705,
12924,
21623,
6,
38678,
11050,
4686,
27564,
2043,
352
] |
What is the position when wins are fewer than 14 and draws are fewer than 3? | SELECT AVG("Position") FROM table_47740 WHERE "Wins" < '14' AND "Draws" < '3' | [
2061,
318,
262,
2292,
618,
7864,
389,
7380,
621,
1478,
290,
14293,
389,
7380,
621,
513,
30,
46506,
35224,
7203,
26545,
4943,
16034,
3084,
62,
32883,
1821,
33411,
366,
54,
1040,
1,
1279,
705,
1415,
6,
5357,
366,
25302,
82,
1,
1279,
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
] | [
2061,
318,
262,
2292,
618,
7864,
389,
7380,
621,
1478,
290,
14293,
389,
7380,
621,
513,
30,
46506,
35224,
7203,
26545,
4943,
16034,
3084,
62,
32883,
1821,
33411,
366,
54,
1040,
1,
1279,
705,
1415,
6,
5357,
366,
25302,
82,
1,
1279,
7... |
What is the entrant for the audi 3.6l turbo v8 engine and ranked 3rd with 163 points? | SELECT "Entrant" FROM table_70386 WHERE "Engine" = 'audi 3.6l turbo v8' AND "Rank" = '3rd' AND "Points" = '163' | [
2061,
318,
262,
920,
5250,
329,
262,
40504,
513,
13,
21,
75,
29292,
410,
23,
3113,
290,
10307,
513,
4372,
351,
26826,
2173,
30,
46506,
366,
14539,
5250,
1,
16034,
3084,
62,
2154,
21734,
33411,
366,
13798,
1,
796,
705,
31330,
513,
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... | [
2061,
318,
262,
920,
5250,
329,
262,
40504,
513,
13,
21,
75,
29292,
410,
23,
3113,
290,
10307,
513,
4372,
351,
26826,
2173,
30,
46506,
366,
14539,
5250,
1,
16034,
3084,
62,
2154,
21734,
33411,
366,
13798,
1,
796,
705,
31330,
513,
13... |
Provide the number of patients who had drug detoxification and survived. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.short_title = "Drug detoxification" | [
15946,
485,
262,
1271,
286,
3871,
508,
550,
2563,
44674,
2649,
290,
11803,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15946,
485,
262,
1271,
286,
3871,
508,
550,
2563,
44674,
2649,
290,
11803,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312... |
Which AFC cup does Masahiro Fukasawa have? | SELECT "AFC Cup" FROM table_44861 WHERE "Name" = 'masahiro fukasawa' | [
13828,
27987,
6508,
857,
11066,
993,
7058,
22431,
292,
6909,
423,
30,
46506,
366,
32,
4851,
5454,
1,
16034,
3084,
62,
2598,
4521,
16,
33411,
366,
5376,
1,
796,
705,
5356,
993,
7058,
277,
2724,
292,
6909,
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
] | [
13828,
27987,
6508,
857,
11066,
993,
7058,
22431,
292,
6909,
423,
30,
46506,
366,
32,
4851,
5454,
1,
16034,
3084,
62,
2598,
4521,
16,
33411,
366,
5376,
1,
796,
705,
5356,
993,
7058,
277,
2724,
292,
6909,
6
] |
What company collaborated with non-hodgkin lymphoma? | SELECT "Collaboration" FROM table_13341 WHERE "Indication" = 'non-hodgkin lymphoma' | [
2061,
1664,
38261,
351,
1729,
12,
2065,
70,
5116,
28837,
6086,
30,
46506,
366,
22667,
4820,
341,
1,
16034,
3084,
62,
1485,
33660,
33411,
366,
5497,
3299,
1,
796,
705,
13159,
12,
2065,
70,
5116,
28837,
6086,
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,
1664,
38261,
351,
1729,
12,
2065,
70,
5116,
28837,
6086,
30,
46506,
366,
22667,
4820,
341,
1,
16034,
3084,
62,
1485,
33660,
33411,
366,
5497,
3299,
1,
796,
705,
13159,
12,
2065,
70,
5116,
28837,
6086,
6
] |
Visualize a scatter chart about the correlation between School_ID and ACC_Percent , and group by attribute All_Games. | SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY All_Games | [
36259,
1096,
257,
41058,
8262,
546,
262,
16096,
1022,
3961,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
1439,
62,
24474,
13,
46506,
3961,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
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
] | [
36259,
1096,
257,
41058,
8262,
546,
262,
16096,
1022,
3961,
62,
2389,
290,
15859,
62,
31905,
837,
290,
1448,
416,
11688,
1439,
62,
24474,
13,
46506,
3961,
62,
2389,
11,
15859,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
... |
The EPT German Open took place in what city? | SELECT "City" FROM table_70221 WHERE "Event" = 'ept german open' | [
464,
412,
11571,
2679,
4946,
1718,
1295,
287,
644,
1748,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
2154,
26115,
33411,
366,
9237,
1,
796,
705,
19598,
308,
2224,
1280,
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
] | [
464,
412,
11571,
2679,
4946,
1718,
1295,
287,
644,
1748,
30,
46506,
366,
14941,
1,
16034,
3084,
62,
2154,
26115,
33411,
366,
9237,
1,
796,
705,
19598,
308,
2224,
1280,
6
] |
What is every entry for epoch if periselene is 2,291.250? | SELECT epoch__utc_ FROM table_206217_2 WHERE periselene__km_ = "2,291.250" | [
2061,
318,
790,
5726,
329,
36835,
611,
583,
36811,
1734,
318,
362,
11,
33551,
13,
9031,
30,
46506,
36835,
834,
315,
66,
62,
16034,
3084,
62,
1238,
5237,
1558,
62,
17,
33411,
583,
36811,
1734,
834,
13276,
62,
796,
366,
17,
11,
33551,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
790,
5726,
329,
36835,
611,
583,
36811,
1734,
318,
362,
11,
33551,
13,
9031,
30,
46506,
36835,
834,
315,
66,
62,
16034,
3084,
62,
1238,
5237,
1558,
62,
17,
33411,
583,
36811,
1734,
834,
13276,
62,
796,
366,
17,
11,
33551,... |
For each film, show the price and group them by cinema name in a stacked bar chart, and list Y from high to low order. | SELECT Name, Price FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Title, Name ORDER BY Price DESC | [
1890,
1123,
2646,
11,
905,
262,
2756,
290,
1448,
606,
416,
22041,
1438,
287,
257,
24167,
2318,
8262,
11,
290,
1351,
575,
422,
1029,
284,
1877,
1502,
13,
46506,
6530,
11,
7886,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
7054,
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,
1123,
2646,
11,
905,
262,
2756,
290,
1448,
606,
416,
22041,
1438,
287,
257,
24167,
2318,
8262,
11,
290,
1351,
575,
422,
1029,
284,
1877,
1502,
13,
46506,
6530,
11,
7886,
16034,
7269,
7054,
309,
16,
32357,
1268,
2646,
7054,
309,
... |
What is the score of the game played on February 18? | SELECT score FROM table_name_59 WHERE date = "february 18" | [
2061,
318,
262,
4776,
286,
262,
983,
2826,
319,
3945,
1248,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3270,
33411,
3128,
796,
366,
69,
1765,
3728,
1248,
1
] | [
1,
1,
1,
1,
1,
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,
286,
262,
983,
2826,
319,
3945,
1248,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3270,
33411,
3128,
796,
366,
69,
1765,
3728,
1248,
1
] |
Which round has an Opposing Team of manchester united? | SELECT "Round" FROM table_64022 WHERE "Opposing Team" = 'manchester united' | [
13828,
2835,
468,
281,
9385,
2752,
4816,
286,
582,
35983,
16503,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
31102,
1828,
33411,
366,
27524,
2752,
4816,
1,
796,
705,
805,
35983,
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
] | [
13828,
2835,
468,
281,
9385,
2752,
4816,
286,
582,
35983,
16503,
30,
46506,
366,
22685,
1,
16034,
3084,
62,
31102,
1828,
33411,
366,
27524,
2752,
4816,
1,
796,
705,
805,
35983,
16503,
6
] |
How many musical guests and songs were in episodes with a production code k0519? | SELECT COUNT(musical_guest_and_song) FROM table_11951237_2 WHERE production_code = "K0519" | [
2437,
867,
10530,
10650,
290,
7259,
547,
287,
8640,
351,
257,
3227,
2438,
479,
2713,
1129,
30,
46506,
327,
28270,
7,
14664,
605,
62,
5162,
395,
62,
392,
62,
34050,
8,
16034,
3084,
62,
16315,
25836,
2718,
62,
17,
33411,
3227,
62,
818... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10530,
10650,
290,
7259,
547,
287,
8640,
351,
257,
3227,
2438,
479,
2713,
1129,
30,
46506,
327,
28270,
7,
14664,
605,
62,
5162,
395,
62,
392,
62,
34050,
8,
16034,
3084,
62,
16315,
25836,
2718,
62,
17,
33411,
3227,
62,
818... |
What result has a year after 2002? | SELECT "Result" FROM table_35924 WHERE "Year" > '2002' | [
2061,
1255,
468,
257,
614,
706,
6244,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
30743,
1731,
33411,
366,
17688,
1,
1875,
705,
16942,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1255,
468,
257,
614,
706,
6244,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
30743,
1731,
33411,
366,
17688,
1,
1875,
705,
16942,
6
] |
That is the total year that Neal Baer is a nominee? | SELECT SUM(year) FROM table_name_91 WHERE nominee_s_ = "neal baer" | [
2504,
318,
262,
2472,
614,
326,
29189,
8999,
263,
318,
257,
10429,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
6420,
33411,
10429,
62,
82,
62,
796,
366,
710,
282,
275,
25534,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2504,
318,
262,
2472,
614,
326,
29189,
8999,
263,
318,
257,
10429,
30,
46506,
35683,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
6420,
33411,
10429,
62,
82,
62,
796,
366,
710,
282,
275,
25534,
1
] |
Where is the location for the home rink Triangle sports plex/Greensboro ice house? | SELECT "Location" FROM table_50398 WHERE "Home Rink" = 'triangle sports plex/greensboro ice house' | [
8496,
318,
262,
4067,
329,
262,
1363,
47925,
33233,
5701,
279,
2588,
14,
38,
5681,
21513,
4771,
2156,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
1120,
31952,
33411,
366,
16060,
371,
676,
1,
796,
705,
28461,
9248,
5701,
279,
2588,
14,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4067,
329,
262,
1363,
47925,
33233,
5701,
279,
2588,
14,
38,
5681,
21513,
4771,
2156,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
1120,
31952,
33411,
366,
16060,
371,
676,
1,
796,
705,
28461,
9248,
5701,
279,
2588,
14,
... |
Show the relation between school id and all_games_percent for each All_Games using a scatter chart | SELECT School_ID, All_Games_Percent FROM basketball_match GROUP BY All_Games | [
15307,
262,
8695,
1022,
1524,
4686,
290,
477,
62,
19966,
62,
25067,
329,
1123,
1439,
62,
24474,
1262,
257,
41058,
8262,
46506,
3961,
62,
2389,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
24474
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8695,
1022,
1524,
4686,
290,
477,
62,
19966,
62,
25067,
329,
1123,
1439,
62,
24474,
1262,
257,
41058,
8262,
46506,
3961,
62,
2389,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,
44441,
11050,
1439,
62,
24474
] |
What is the largest goal ratio with Goals smaller than 0? | SELECT MAX(goal_ratio) FROM table_name_73 WHERE goals < 0 | [
2061,
318,
262,
4387,
3061,
8064,
351,
28510,
4833,
621,
657,
30,
46506,
25882,
7,
35231,
62,
10366,
952,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
4661,
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
] | [
2061,
318,
262,
4387,
3061,
8064,
351,
28510,
4833,
621,
657,
30,
46506,
25882,
7,
35231,
62,
10366,
952,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
4661,
1279,
657
] |
what year had the least us peak chart positions ? | SELECT "year" FROM table_203_11 ORDER BY "peak chart positions\nus r&b" DESC LIMIT 1 | [
10919,
614,
550,
262,
1551,
514,
9103,
8262,
6116,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
22416,
62,
1157,
38678,
11050,
366,
36729,
8262,
6116,
59,
77,
385,
374,
5,
65,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
614,
550,
262,
1551,
514,
9103,
8262,
6116,
5633,
46506,
366,
1941,
1,
16034,
3084,
62,
22416,
62,
1157,
38678,
11050,
366,
36729,
8262,
6116,
59,
77,
385,
374,
5,
65,
1,
22196,
34,
27564,
2043,
352
] |
what is the primary disease and drug name of the patient marilyn norvell? | SELECT demographic.diagnosis, prescriptions.drug FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Marilyn Norvell" | [
10919,
318,
262,
4165,
4369,
290,
2563,
1438,
286,
262,
5827,
1667,
38020,
4249,
29333,
30,
46506,
16728,
13,
47356,
5958,
11,
34092,
13,
30349,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
4165,
4369,
290,
2563,
1438,
286,
262,
5827,
1667,
38020,
4249,
29333,
30,
46506,
16728,
13,
47356,
5958,
11,
34092,
13,
30349,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
312,
796,
34... |
Draw a bar chart about the distribution of ACC_Road and the sum of Team_ID , and group by attribute ACC_Road, I want to show in asc by the bars. | SELECT ACC_Road, SUM(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2160,
286,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
314,
765,
284,
905,
287,
10570,
416,
262,
9210,
13,
46506,
15859,
62,
29197,
11,
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
] | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2160,
286,
4816,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
314,
765,
284,
905,
287,
10570,
416,
262,
9210,
13,
46506,
15859,
62,
29197,
11,
3... |
What is the number of Not Outs when there were more than 327 runs and 24 innings, and an average of 29.54 | SELECT "Not Outs" FROM table_10916 WHERE "Runs" > '327' AND "Innings" > '24' AND "Average" = '29.54' | [
2061,
318,
262,
1271,
286,
1892,
46580,
618,
612,
547,
517,
621,
36203,
4539,
290,
1987,
16267,
11,
290,
281,
2811,
286,
2808,
13,
4051,
46506,
366,
3673,
46580,
1,
16034,
3084,
62,
14454,
1433,
33411,
366,
10987,
82,
1,
1875,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
1892,
46580,
618,
612,
547,
517,
621,
36203,
4539,
290,
1987,
16267,
11,
290,
281,
2811,
286,
2808,
13,
4051,
46506,
366,
3673,
46580,
1,
16034,
3084,
62,
14454,
1433,
33411,
366,
10987,
82,
1,
1875,
705,
... |
how long were employees of nynex on strike ? | SELECT "duration of strike" FROM table_203_759 WHERE "company" = 'nynex' | [
4919,
890,
547,
4409,
286,
299,
88,
12413,
319,
5587,
5633,
46506,
366,
32257,
286,
5587,
1,
16034,
3084,
62,
22416,
62,
38314,
33411,
366,
39722,
1,
796,
705,
3281,
12413,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
890,
547,
4409,
286,
299,
88,
12413,
319,
5587,
5633,
46506,
366,
32257,
286,
5587,
1,
16034,
3084,
62,
22416,
62,
38314,
33411,
366,
39722,
1,
796,
705,
3281,
12413,
6
] |
show me all flights which leave PITTSBURGH tomorrow and arrive in BALTIMORE after 1700 o'clock pm | 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, date_day, days, flight WHERE ((date_day.day_number = 20 AND date_day.month_number = 1 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.arrival_time >... | [
12860,
502,
477,
13956,
543,
2666,
49040,
4694,
38926,
17511,
9439,
290,
9240,
287,
347,
31429,
3955,
6965,
706,
35665,
267,
6,
15750,
9114,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
477,
13956,
543,
2666,
49040,
4694,
38926,
17511,
9439,
290,
9240,
287,
347,
31429,
3955,
6965,
706,
35665,
267,
6,
15750,
9114,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15... |
Which Player has a Position of forward? | SELECT "Player" FROM table_34485 WHERE "Position" = 'forward' | [
13828,
7853,
468,
257,
23158,
286,
2651,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
33535,
5332,
33411,
366,
26545,
1,
796,
705,
11813,
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,
7853,
468,
257,
23158,
286,
2651,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
33535,
5332,
33411,
366,
26545,
1,
796,
705,
11813,
6
] |
What contestant was premiered on July 25? | SELECT contestant_name FROM table_18513028_3 WHERE date_premiered__2009_ = "July 25" | [
2061,
44047,
373,
44119,
319,
2901,
1679,
30,
46506,
44047,
62,
3672,
16034,
3084,
62,
1507,
4349,
1270,
2078,
62,
18,
33411,
3128,
62,
31605,
494,
445,
834,
10531,
62,
796,
366,
16157,
1679,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
44047,
373,
44119,
319,
2901,
1679,
30,
46506,
44047,
62,
3672,
16034,
3084,
62,
1507,
4349,
1270,
2078,
62,
18,
33411,
3128,
62,
31605,
494,
445,
834,
10531,
62,
796,
366,
16157,
1679,
1
] |
Who has the high points for the 69 game? | SELECT "High points" FROM table_2850 WHERE "Game" = '69' | [
8241,
468,
262,
1029,
2173,
329,
262,
8644,
983,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
2078,
1120,
33411,
366,
8777,
1,
796,
705,
3388,
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
] | [
8241,
468,
262,
1029,
2173,
329,
262,
8644,
983,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
2078,
1120,
33411,
366,
8777,
1,
796,
705,
3388,
6
] |
What is the home team of the game that ended with a score of 0-1? | SELECT home_team FROM table_name_95 WHERE score = "0-1" | [
2061,
318,
262,
1363,
1074,
286,
262,
983,
326,
4444,
351,
257,
4776,
286,
657,
12,
16,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3865,
33411,
4776,
796,
366,
15,
12,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1363,
1074,
286,
262,
983,
326,
4444,
351,
257,
4776,
286,
657,
12,
16,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
3865,
33411,
4776,
796,
366,
15,
12,
16,
1
] |
how many patients who died in or before the year 2115 had primary diagnoses of t5 fracture? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "T5 FRACTURE" AND demographic.dod_year <= "2115.0" | [
4919,
867,
3871,
508,
3724,
287,
393,
878,
262,
614,
362,
15363,
550,
4165,
40567,
286,
256,
20,
31846,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
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,
508,
3724,
287,
393,
878,
262,
614,
362,
15363,
550,
4165,
40567,
286,
256,
20,
31846,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
... |
What ends lost came out to 37? | SELECT "Stolen Ends" FROM table_3072 WHERE "Ends Lost" = '37' | [
2061,
5645,
2626,
1625,
503,
284,
5214,
30,
46506,
366,
1273,
8622,
46756,
1,
16034,
3084,
62,
1270,
4761,
33411,
366,
12915,
82,
9164,
1,
796,
705,
2718,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
5645,
2626,
1625,
503,
284,
5214,
30,
46506,
366,
1273,
8622,
46756,
1,
16034,
3084,
62,
1270,
4761,
33411,
366,
12915,
82,
9164,
1,
796,
705,
2718,
6
] |
When the # is 4, what is the pop./ km ? | SELECT pop__km² FROM table_2252745_1 WHERE _number = 4 | [
2215,
262,
1303,
318,
604,
11,
644,
318,
262,
1461,
19571,
10571,
5633,
46506,
1461,
834,
13276,
31185,
16034,
3084,
62,
18182,
1983,
2231,
62,
16,
33411,
4808,
17618,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
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,
262,
1303,
318,
604,
11,
644,
318,
262,
1461,
19571,
10571,
5633,
46506,
1461,
834,
13276,
31185,
16034,
3084,
62,
18182,
1983,
2231,
62,
16,
33411,
4808,
17618,
796,
604
] |
What pick was a player that previously played for the Minnesota Lynx? | SELECT SUM(pick) FROM table_name_60 WHERE former_wnba_team = "minnesota lynx" | [
2061,
2298,
373,
257,
2137,
326,
4271,
2826,
329,
262,
8919,
10350,
87,
30,
46506,
35683,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
1966,
62,
675,
7012,
62,
15097,
796,
366,
1084,
8360,
31432,
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,
1,
1,
1
] | [
2061,
2298,
373,
257,
2137,
326,
4271,
2826,
329,
262,
8919,
10350,
87,
30,
46506,
35683,
7,
27729,
8,
16034,
3084,
62,
3672,
62,
1899,
33411,
1966,
62,
675,
7012,
62,
15097,
796,
366,
1084,
8360,
31432,
87,
1
] |
What nationality is Rod Langway? | SELECT "Nationality" FROM table_34748 WHERE "Player" = 'rod langway' | [
2061,
29835,
318,
6882,
16332,
1014,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
30995,
2780,
33411,
366,
14140,
1,
796,
705,
14892,
42392,
1014,
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
] | [
2061,
29835,
318,
6882,
16332,
1014,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
30995,
2780,
33411,
366,
14140,
1,
796,
705,
14892,
42392,
1014,
6
] |
Which Japanese Title has a TV Station of ntv? | SELECT japanese_title FROM table_name_19 WHERE tv_station = "ntv" | [
13828,
4960,
11851,
468,
257,
3195,
9327,
286,
299,
14981,
30,
46506,
474,
2674,
2771,
62,
7839,
16034,
3084,
62,
3672,
62,
1129,
33411,
31557,
62,
17529,
796,
366,
429,
85,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
4960,
11851,
468,
257,
3195,
9327,
286,
299,
14981,
30,
46506,
474,
2674,
2771,
62,
7839,
16034,
3084,
62,
3672,
62,
1129,
33411,
31557,
62,
17529,
796,
366,
429,
85,
1
] |
What score has 15.0% as the 2012? | SELECT score FROM table_name_87 WHERE 2012 = "15.0%" | [
2061,
4776,
468,
1315,
13,
15,
4,
355,
262,
2321,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
5774,
33411,
2321,
796,
366,
1314,
13,
15,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4776,
468,
1315,
13,
15,
4,
355,
262,
2321,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
5774,
33411,
2321,
796,
366,
1314,
13,
15,
39658
] |
How many games have an Attendance of 19,190? | SELECT COUNT(game) FROM table_name_52 WHERE attendance = 19 OFFSET 190 | [
2437,
867,
1830,
423,
281,
46502,
590,
286,
678,
11,
19782,
30,
46506,
327,
28270,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
14858,
796,
678,
3963,
10652,
2767,
19884
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
1830,
423,
281,
46502,
590,
286,
678,
11,
19782,
30,
46506,
327,
28270,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
4309,
33411,
14858,
796,
678,
3963,
10652,
2767,
19884
] |
What season finale date has 2.02 million u.s. Viewers? | SELECT "Season finale" FROM table_1999 WHERE "U.S. viewers (in millions)" = '2.02' | [
2061,
1622,
19523,
3128,
468,
362,
13,
2999,
1510,
334,
13,
82,
13,
3582,
364,
30,
46506,
366,
18960,
19523,
1,
16034,
3084,
62,
18946,
33411,
366,
52,
13,
50,
13,
10209,
357,
259,
5242,
16725,
796,
705,
17,
13,
2999,
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,
1622,
19523,
3128,
468,
362,
13,
2999,
1510,
334,
13,
82,
13,
3582,
364,
30,
46506,
366,
18960,
19523,
1,
16034,
3084,
62,
18946,
33411,
366,
52,
13,
50,
13,
10209,
357,
259,
5242,
16725,
796,
705,
17,
13,
2999,
6
] |
Name the team for score l 102 122 (ot) | SELECT team FROM table_27733909_7 WHERE score = "L 102–122 (OT)" | [
5376,
262,
1074,
329,
4776,
300,
15143,
19409,
357,
313,
8,
46506,
1074,
16034,
3084,
62,
27019,
29626,
2931,
62,
22,
33411,
4776,
796,
366,
43,
15143,
1906,
18376,
357,
2394,
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
] | [
5376,
262,
1074,
329,
4776,
300,
15143,
19409,
357,
313,
8,
46506,
1074,
16034,
3084,
62,
27019,
29626,
2931,
62,
22,
33411,
4776,
796,
366,
43,
15143,
1906,
18376,
357,
2394,
16725
] |
What is the number of Games for the player in Rank 3? | SELECT MAX("Games") FROM table_7233 WHERE "Rank" = '3' | [
2061,
318,
262,
1271,
286,
5776,
329,
262,
2137,
287,
10916,
513,
30,
46506,
25882,
7203,
24474,
4943,
16034,
3084,
62,
22,
25429,
33411,
366,
27520,
1,
796,
705,
18,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1271,
286,
5776,
329,
262,
2137,
287,
10916,
513,
30,
46506,
25882,
7203,
24474,
4943,
16034,
3084,
62,
22,
25429,
33411,
366,
27520,
1,
796,
705,
18,
6
] |
What district has a constituency of 60? | SELECT "District" FROM table_63718 WHERE "Constituency number" = '60' | [
2061,
4783,
468,
257,
28280,
286,
3126,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
21,
2718,
1507,
33411,
366,
34184,
34272,
1387,
1271,
1,
796,
705,
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
] | [
2061,
4783,
468,
257,
28280,
286,
3126,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
21,
2718,
1507,
33411,
366,
34184,
34272,
1387,
1271,
1,
796,
705,
1899,
6
] |
How many assets can each parts be used in? List the part name and the number. | SELECT T1.part_name, COUNT(*) FROM parts AS T1 JOIN asset_parts AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_name | [
2437,
867,
6798,
460,
1123,
3354,
307,
973,
287,
30,
7343,
262,
636,
1438,
290,
262,
1271,
13,
46506,
309,
16,
13,
3911,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
3354,
7054,
309,
16,
32357,
1268,
11171,
62,
42632,
7054,
309,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
6798,
460,
1123,
3354,
307,
973,
287,
30,
7343,
262,
636,
1438,
290,
262,
1271,
13,
46506,
309,
16,
13,
3911,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
3354,
7054,
309,
16,
32357,
1268,
11171,
62,
42632,
7054,
309,
17,
... |
count the number of patients whose diagnosis short title is status autm crd dfbrltr and drug route is im. | 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.short_title = "Status autm crd dfbrltr" AND prescriptions.route = "IM" | [
9127,
262,
1271,
286,
3871,
3025,
13669,
1790,
3670,
318,
3722,
1960,
76,
1067,
67,
47764,
1671,
75,
2213,
290,
2563,
6339,
318,
545,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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... | [
9127,
262,
1271,
286,
3871,
3025,
13669,
1790,
3670,
318,
3722,
1960,
76,
1067,
67,
47764,
1671,
75,
2213,
290,
2563,
6339,
318,
545,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
Show all book categories and the number of books in each category with a bar chart, and show by the names from high to low. | SELECT Category, COUNT(*) FROM book_club GROUP BY Category ORDER BY Category DESC | [
15307,
477,
1492,
9376,
290,
262,
1271,
286,
3835,
287,
1123,
6536,
351,
257,
2318,
8262,
11,
290,
905,
416,
262,
3891,
422,
1029,
284,
1877,
13,
46506,
21743,
11,
327,
28270,
7,
28104,
16034,
1492,
62,
18664,
44441,
11050,
21743,
386... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1492,
9376,
290,
262,
1271,
286,
3835,
287,
1123,
6536,
351,
257,
2318,
8262,
11,
290,
905,
416,
262,
3891,
422,
1029,
284,
1877,
13,
46506,
21743,
11,
327,
28270,
7,
28104,
16034,
1492,
62,
18664,
44441,
11050,
21743,
386... |
which nation finished higher in 2000 , greenland or mexico ? | SELECT "nation" FROM table_204_408 WHERE "nation" IN ('greenland', 'mexico') ORDER BY "2000" LIMIT 1 | [
4758,
3277,
5201,
2440,
287,
4751,
837,
4077,
1044,
393,
502,
87,
3713,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
26200,
33411,
366,
25729,
1,
3268,
19203,
14809,
1044,
3256,
705,
76,
1069,
3713,
11537,
38678,
11050,
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
] | [
4758,
3277,
5201,
2440,
287,
4751,
837,
4077,
1044,
393,
502,
87,
3713,
5633,
46506,
366,
25729,
1,
16034,
3084,
62,
18638,
62,
26200,
33411,
366,
25729,
1,
3268,
19203,
14809,
1044,
3256,
705,
76,
1069,
3713,
11537,
38678,
11050,
366,
... |
What is the name of the player with a score of 72-68-70=210? | SELECT "Player" FROM table_67202 WHERE "Score" = '72-68-70=210' | [
2061,
318,
262,
1438,
286,
262,
2137,
351,
257,
4776,
286,
7724,
12,
3104,
12,
2154,
28,
21536,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3134,
19004,
33411,
366,
26595,
1,
796,
705,
4761,
12,
3104,
12,
2154,
28,
21536,
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,
318,
262,
1438,
286,
262,
2137,
351,
257,
4776,
286,
7724,
12,
3104,
12,
2154,
28,
21536,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3134,
19004,
33411,
366,
26595,
1,
796,
705,
4761,
12,
3104,
12,
2154,
28,
21536,
6
] |
Top 200 Users in Columbus, Oh. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%san%fran%' ORDER BY Reputation DESC LIMIT 200 | [
9126,
939,
18987,
287,
14939,
11,
3966,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
13397,
16034,
1898... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
939,
18987,
287,
14939,
11,
3966,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
13397,
16034,
1898... |
What is the record of the game on March 5? | SELECT record FROM table_name_57 WHERE date = "march 5" | [
2061,
318,
262,
1700,
286,
262,
983,
319,
2805,
642,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3553,
33411,
3128,
796,
366,
76,
998,
642,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
286,
262,
983,
319,
2805,
642,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3553,
33411,
3128,
796,
366,
76,
998,
642,
1
] |
how many hours has passed since patient 8888 stayed in ward 14 for the first time on the current hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8888 AND admissions.dischtime IS NULL)) AND transfers.... | [
4919,
867,
2250,
468,
3804,
1201,
5827,
807,
28011,
9658,
287,
15305,
1478,
329,
262,
717,
640,
319,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3804,
1201,
5827,
807,
28011,
9658,
287,
15305,
1478,
329,
262,
717,
640,
319,
262,
1459,
4436,
3187,
30,
46506,
1987,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
... |
What is the adjusted GDP when the population is 5.141 million? | SELECT gdp_adjusted__$_billions_ FROM table_1610496_3 WHERE population__millions_ = "5.141" | [
2061,
318,
262,
12328,
12396,
618,
262,
3265,
318,
642,
13,
23756,
1510,
30,
46506,
308,
26059,
62,
29117,
834,
3,
62,
35546,
507,
62,
16034,
3084,
62,
1433,
940,
37747,
62,
18,
33411,
3265,
834,
17805,
507,
62,
796,
366,
20,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
12328,
12396,
618,
262,
3265,
318,
642,
13,
23756,
1510,
30,
46506,
308,
26059,
62,
29117,
834,
3,
62,
35546,
507,
62,
16034,
3084,
62,
1433,
940,
37747,
62,
18,
33411,
3265,
834,
17805,
507,
62,
796,
366,
20,
13,
... |
What are the most laps for the Qual position of 7 in the OC class? | SELECT MAX("Laps") FROM table_60963 WHERE "Class" = 'oc' AND "Qual Pos" = '7' | [
2061,
389,
262,
749,
24590,
329,
262,
9537,
2292,
286,
767,
287,
262,
24775,
1398,
30,
46506,
25882,
7203,
43,
1686,
4943,
16034,
3084,
62,
1899,
4846,
18,
33411,
366,
9487,
1,
796,
705,
420,
6,
5357,
366,
46181,
18574,
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
] | [
2061,
389,
262,
749,
24590,
329,
262,
9537,
2292,
286,
767,
287,
262,
24775,
1398,
30,
46506,
25882,
7203,
43,
1686,
4943,
16034,
3084,
62,
1899,
4846,
18,
33411,
366,
9487,
1,
796,
705,
420,
6,
5357,
366,
46181,
18574,
1,
796,
705,... |
What is the Score1 of Match 42? | SELECT score1 FROM table_name_9 WHERE match = 42 | [
2061,
318,
262,
15178,
16,
286,
13225,
5433,
30,
46506,
4776,
16,
16034,
3084,
62,
3672,
62,
24,
33411,
2872,
796,
5433
] | [
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,
15178,
16,
286,
13225,
5433,
30,
46506,
4776,
16,
16034,
3084,
62,
3672,
62,
24,
33411,
2872,
796,
5433
] |
What is the name of the museum located in Malta with no associated field digs? | SELECT "Name" FROM table_35683 WHERE "Associated Field Digs?" = 'no' AND "Town/City" = 'malta' | [
2061,
318,
262,
1438,
286,
262,
13257,
5140,
287,
35206,
351,
645,
3917,
2214,
46561,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2327,
47521,
33411,
366,
29014,
7663,
7367,
82,
1701,
796,
705,
3919,
6,
5357,
366,
38097,
14,
14941,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13257,
5140,
287,
35206,
351,
645,
3917,
2214,
46561,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2327,
47521,
33411,
366,
29014,
7663,
7367,
82,
1701,
796,
705,
3919,
6,
5357,
366,
38097,
14,
14941,
1,
... |
What is the lowest attendance last year when more than 176 were hosted? | SELECT MIN(last_year) FROM table_name_87 WHERE hosted > 176 | [
2061,
318,
262,
9016,
14858,
938,
614,
618,
517,
621,
26937,
547,
12007,
30,
46506,
20625,
7,
12957,
62,
1941,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
12007,
1875,
26937
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
14858,
938,
614,
618,
517,
621,
26937,
547,
12007,
30,
46506,
20625,
7,
12957,
62,
1941,
8,
16034,
3084,
62,
3672,
62,
5774,
33411,
12007,
1875,
26937
] |
Find Questions with one tag and specific answer text. | SELECT P.Id AS "post_link", P.Tags FROM Posts AS P, PostTags AS Pt, Tags AS T WHERE P.Id = Pt.PostId AND T.Id = Pt.TagId AND T.TagName = '##tag1##' AND P.PostTypeId = 1 AND P.AnswerCount > 0 AND NOT P.AcceptedAnswerId IS NULL AND NOT (SELECT P2.Id FROM Posts AS P2 WHERE P2.Id = P.AcceptedAnswerId AND P2.Body LIKE '%##t... | [
16742,
20396,
351,
530,
7621,
290,
2176,
3280,
2420,
13,
46506,
350,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
350,
13,
36142,
16034,
12043,
7054,
350,
11,
2947,
36142,
7054,
34352,
11,
44789,
7054,
309,
33411,
350,
13,
7390,
796,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
20396,
351,
530,
7621,
290,
2176,
3280,
2420,
13,
46506,
350,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
350,
13,
36142,
16034,
12043,
7054,
350,
11,
2947,
36142,
7054,
34352,
11,
44789,
7054,
309,
33411,
350,
13,
7390,
796,
34... |
what is gender and lab test category of subject id 2560? | SELECT demographic.gender, lab."CATEGORY" FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560" | [
10919,
318,
5279,
290,
2248,
1332,
6536,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
8388,
11,
2248,
526,
34,
6158,
38,
15513,
1,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
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
] | [
10919,
318,
5279,
290,
2248,
1332,
6536,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
8388,
11,
2248,
526,
34,
6158,
38,
15513,
1,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
18108,
76,
62,
312,
796,
2248,
13,... |
Draw a bar chart of nationality versus the average of age, I want to order total number from high to low order. | SELECT Nationality, AVG(Age) FROM journalist GROUP BY Nationality ORDER BY AVG(Age) DESC | [
25302,
257,
2318,
8262,
286,
29835,
9051,
262,
2811,
286,
2479,
11,
314,
765,
284,
1502,
2472,
1271,
422,
1029,
284,
1877,
1502,
13,
46506,
2351,
414,
11,
35224,
7,
23396,
8,
16034,
10099,
44441,
11050,
2351,
414,
38678,
11050,
35224,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
25302,
257,
2318,
8262,
286,
29835,
9051,
262,
2811,
286,
2479,
11,
314,
765,
284,
1502,
2472,
1271,
422,
1029,
284,
1877,
1502,
13,
46506,
2351,
414,
11,
35224,
7,
23396,
8,
16034,
10099,
44441,
11050,
2351,
414,
38678,
11050,
35224,
... |
What is the average grid for vehicles manufactured by Aprilia and having run more than 16 laps? | SELECT AVG(grid) FROM table_name_2 WHERE manufacturer = "aprilia" AND laps > 16 | [
2061,
318,
262,
2811,
10706,
329,
5672,
15943,
416,
3035,
544,
290,
1719,
1057,
517,
621,
1467,
24590,
30,
46506,
35224,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
11554,
796,
366,
499,
81,
17517,
1,
5357,
24590,
1875,
1467
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10706,
329,
5672,
15943,
416,
3035,
544,
290,
1719,
1057,
517,
621,
1467,
24590,
30,
46506,
35224,
7,
25928,
8,
16034,
3084,
62,
3672,
62,
17,
33411,
11554,
796,
366,
499,
81,
17517,
1,
5357,
24590,
1875,
1467
] |
What group has 1200 m as the distance? | SELECT "Group" FROM table_39037 WHERE "Distance" = '1200 m' | [
2061,
1448,
468,
24938,
285,
355,
262,
5253,
30,
46506,
366,
13247,
1,
16034,
3084,
62,
25964,
2718,
33411,
366,
45767,
1,
796,
705,
27550,
285,
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
] | [
2061,
1448,
468,
24938,
285,
355,
262,
5253,
30,
46506,
366,
13247,
1,
16034,
3084,
62,
25964,
2718,
33411,
366,
45767,
1,
796,
705,
27550,
285,
6
] |
how many patients are diagnosed with emphysema? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'emphysema') | [
4919,
867,
3871,
389,
14641,
351,
795,
6883,
325,
2611,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
13669,
13,
26029,
2085... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
14641,
351,
795,
6883,
325,
2611,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
13669,
13,
26029,
2085... |
when was the first time in the last hospital visit patient 64292 is prescribed levetiracetam? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 64292 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug = 'levetiracetam' ORDER BY prescriptions.startdate LIMIT... | [
12518,
373,
262,
717,
640,
287,
262,
938,
4436,
3187,
5827,
5598,
32759,
318,
14798,
443,
16809,
343,
23253,
321,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
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,
1... | [
12518,
373,
262,
717,
640,
287,
262,
938,
4436,
3187,
5827,
5598,
32759,
318,
14798,
443,
16809,
343,
23253,
321,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
... |
What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there. | SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country | [
2061,
389,
262,
2678,
286,
25185,
30,
5438,
1123,
1499,
290,
262,
11188,
1271,
286,
25185,
612,
13,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
33599,
44441,
11050,
12946
] | [
1,
1,
1,
1,
1,
1,
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,
2678,
286,
25185,
30,
5438,
1123,
1499,
290,
262,
11188,
1271,
286,
25185,
612,
13,
46506,
12946,
11,
327,
28270,
7,
28104,
16034,
33599,
44441,
11050,
12946
] |
Where is the first BWR type power plant built and located? | SELECT longitude, latitude FROM nuclear_power_plants WHERE reactortype = "BWR" ORDER BY constructionstartat LIMIT 1 | [
8496,
318,
262,
717,
347,
18564,
2099,
1176,
4618,
3170,
290,
5140,
30,
46506,
890,
3984,
11,
32477,
16034,
4523,
62,
6477,
62,
489,
1187,
33411,
6324,
419,
2981,
796,
366,
33,
18564,
1,
38678,
11050,
5103,
9688,
265,
27564,
2043,
352... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
318,
262,
717,
347,
18564,
2099,
1176,
4618,
3170,
290,
5140,
30,
46506,
890,
3984,
11,
32477,
16034,
4523,
62,
6477,
62,
489,
1187,
33411,
6324,
419,
2981,
796,
366,
33,
18564,
1,
38678,
11050,
5103,
9688,
265,
27564,
2043,
352... |
What is the 2008 result where 2003 is 325? | SELECT 2008 FROM table_name_34 WHERE 2003 = "325" | [
2061,
318,
262,
3648,
1255,
810,
5816,
318,
29524,
30,
46506,
3648,
16034,
3084,
62,
3672,
62,
2682,
33411,
5816,
796,
366,
26582,
1
] | [
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,
3648,
1255,
810,
5816,
318,
29524,
30,
46506,
3648,
16034,
3084,
62,
3672,
62,
2682,
33411,
5816,
796,
366,
26582,
1
] |
What is the earliest year when action was the genre? | SELECT MIN(year) FROM table_name_35 WHERE genre = "action" | [
2061,
318,
262,
14555,
614,
618,
2223,
373,
262,
12121,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
12121,
796,
366,
2673,
1
] | [
1,
1,
1,
1,
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,
14555,
614,
618,
2223,
373,
262,
12121,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
2327,
33411,
12121,
796,
366,
2673,
1
] |
what is the total number of established univeristy receiving research grants in the amount of 2.203? | SELECT COUNT("Established as a university") FROM table_24539 WHERE "Research grants (2009, in billion SEK )" = '2.203' | [
10919,
318,
262,
2472,
1271,
286,
4920,
555,
1428,
396,
88,
6464,
2267,
11455,
287,
262,
2033,
286,
362,
13,
22416,
30,
46506,
327,
28270,
7203,
22362,
22555,
355,
257,
6403,
4943,
16034,
3084,
62,
22995,
2670,
33411,
366,
25104,
11455,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4920,
555,
1428,
396,
88,
6464,
2267,
11455,
287,
262,
2033,
286,
362,
13,
22416,
30,
46506,
327,
28270,
7203,
22362,
22555,
355,
257,
6403,
4943,
16034,
3084,
62,
22995,
2670,
33411,
366,
25104,
11455,... |
What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there. | SELECT country, COUNT(*) FROM perpetrator GROUP BY country | [
2061,
389,
262,
2678,
286,
25185,
30,
5438,
1123,
1499,
290,
262,
11188,
1271,
286,
25185,
612,
13,
46506,
1499,
11,
327,
28270,
7,
28104,
16034,
33599,
44441,
11050,
1499
] | [
1,
1,
1,
1,
1,
1,
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,
2678,
286,
25185,
30,
5438,
1123,
1499,
290,
262,
11188,
1271,
286,
25185,
612,
13,
46506,
1499,
11,
327,
28270,
7,
28104,
16034,
33599,
44441,
11050,
1499
] |
What is the capacity for dundee united? | SELECT capacity FROM table_26980923_2 WHERE team = "Dundee United" | [
2061,
318,
262,
5339,
329,
288,
917,
1453,
16503,
30,
46506,
5339,
16034,
3084,
62,
26276,
34583,
1954,
62,
17,
33411,
1074,
796,
366,
35,
917,
1453,
1578,
1
] | [
1,
1,
1,
1,
1,
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,
5339,
329,
288,
917,
1453,
16503,
30,
46506,
5339,
16034,
3084,
62,
26276,
34583,
1954,
62,
17,
33411,
1074,
796,
366,
35,
917,
1453,
1578,
1
] |
Which provider is pay with analogue cable? | SELECT "Provider" FROM table_58973 WHERE "Free or pay" = 'pay' AND "Transmission" = 'analogue cable' | [
13828,
10131,
318,
1414,
351,
45304,
7862,
30,
46506,
366,
29495,
1,
16034,
3084,
62,
44169,
4790,
33411,
366,
11146,
393,
1414,
1,
796,
705,
15577,
6,
5357,
366,
8291,
3411,
1,
796,
705,
272,
30326,
7862,
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
] | [
13828,
10131,
318,
1414,
351,
45304,
7862,
30,
46506,
366,
29495,
1,
16034,
3084,
62,
44169,
4790,
33411,
366,
11146,
393,
1414,
1,
796,
705,
15577,
6,
5357,
366,
8291,
3411,
1,
796,
705,
272,
30326,
7862,
6
] |
How many goals have Lost larger than 35, and Games smaller than 80? | SELECT COUNT(goals_for) FROM table_name_33 WHERE lost > 35 AND games < 80 | [
2437,
867,
4661,
423,
9164,
4025,
621,
3439,
11,
290,
5776,
4833,
621,
4019,
30,
46506,
327,
28270,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
2091,
33411,
2626,
1875,
3439,
5357,
1830,
1279,
4019
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
9164,
4025,
621,
3439,
11,
290,
5776,
4833,
621,
4019,
30,
46506,
327,
28270,
7,
2188,
874,
62,
1640,
8,
16034,
3084,
62,
3672,
62,
2091,
33411,
2626,
1875,
3439,
5357,
1830,
1279,
4019
] |
count the number of patients whose ethnicity is hispanic/latino - puerto rican and drug name is lidocaine-prilocaine? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.drug = "Lidocaine-Prilocaine" | [
9127,
262,
1271,
286,
3871,
3025,
26289,
318,
465,
35843,
14,
15460,
2879,
532,
47574,
13806,
374,
7490,
290,
2563,
1438,
318,
19789,
420,
5718,
12,
1050,
346,
420,
5718,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
3279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26289,
318,
465,
35843,
14,
15460,
2879,
532,
47574,
13806,
374,
7490,
290,
2563,
1438,
318,
19789,
420,
5718,
12,
1050,
346,
420,
5718,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
3279... |
Which Venue has a Result of 5-0? | SELECT venue FROM table_name_18 WHERE result = "5-0" | [
13828,
9932,
518,
468,
257,
25414,
286,
642,
12,
15,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1507,
33411,
1255,
796,
366,
20,
12,
15,
1
] | [
1,
1,
1,
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,
9932,
518,
468,
257,
25414,
286,
642,
12,
15,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1507,
33411,
1255,
796,
366,
20,
12,
15,
1
] |
What was the LOA for the Simonis Voogd Maxi? | SELECT "LOA (Metres)" FROM table_27783 WHERE "Yacht type" = 'Simonis Voogd Maxi' | [
2061,
373,
262,
17579,
32,
329,
262,
11288,
271,
20687,
519,
67,
5436,
72,
30,
46506,
366,
21982,
32,
357,
9171,
411,
16725,
16034,
3084,
62,
1983,
50165,
33411,
366,
56,
19725,
2099,
1,
796,
705,
35475,
271,
20687,
519,
67,
5436,
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
] | [
2061,
373,
262,
17579,
32,
329,
262,
11288,
271,
20687,
519,
67,
5436,
72,
30,
46506,
366,
21982,
32,
357,
9171,
411,
16725,
16034,
3084,
62,
1983,
50165,
33411,
366,
56,
19725,
2099,
1,
796,
705,
35475,
271,
20687,
519,
67,
5436,
7... |
Show the number of each allergie type in a bar chart. | SELECT AllergyType, COUNT(AllergyType) FROM Allergy_Type GROUP BY AllergyType | [
15307,
262,
1271,
286,
1123,
30975,
494,
2099,
287,
257,
2318,
8262,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
3237,
26079,
6030,
8,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439,
26079,
6030
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1123,
30975,
494,
2099,
287,
257,
2318,
8262,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
3237,
26079,
6030,
8,
16034,
1439,
26079,
62,
6030,
44441,
11050,
1439,
26079,
6030
] |
What was the pick number when mark hayes was drafted? | SELECT "Pick" FROM table_57621 WHERE "Player" = 'mark hayes' | [
2061,
373,
262,
2298,
1271,
618,
1317,
27678,
274,
373,
15937,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
37452,
2481,
33411,
366,
14140,
1,
796,
705,
4102,
27678,
274,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2298,
1271,
618,
1317,
27678,
274,
373,
15937,
30,
46506,
366,
31686,
1,
16034,
3084,
62,
37452,
2481,
33411,
366,
14140,
1,
796,
705,
4102,
27678,
274,
6
] |
What years did Eddie Hughes play for the Jazz? | SELECT years_for_jazz FROM table_name_53 WHERE player = "eddie hughes" | [
2061,
812,
750,
19478,
19712,
711,
329,
262,
21406,
30,
46506,
812,
62,
1640,
62,
73,
8101,
16034,
3084,
62,
3672,
62,
4310,
33411,
2137,
796,
366,
6048,
494,
16225,
956,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
19478,
19712,
711,
329,
262,
21406,
30,
46506,
812,
62,
1640,
62,
73,
8101,
16034,
3084,
62,
3672,
62,
4310,
33411,
2137,
796,
366,
6048,
494,
16225,
956,
1
] |
Name the score on august 1 | SELECT score FROM table_name_26 WHERE date = "august 1" | [
5376,
262,
4776,
319,
16339,
436,
352,
46506,
4776,
16034,
3084,
62,
3672,
62,
2075,
33411,
3128,
796,
366,
7493,
436,
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
] | [
5376,
262,
4776,
319,
16339,
436,
352,
46506,
4776,
16034,
3084,
62,
3672,
62,
2075,
33411,
3128,
796,
366,
7493,
436,
352,
1
] |
How many students are older than 20 in each dorm Visualize by bar chart, I want to show in asc by the y-axis. | SELECT dorm_name, COUNT(*) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T1.Age > 20 GROUP BY T3.dorm_name ORDER BY COUNT(*) | [
2437,
867,
2444,
389,
4697,
621,
1160,
287,
1123,
18586,
15612,
1096,
416,
2318,
8262,
11,
314,
765,
284,
905,
287,
10570,
416,
262,
331,
12,
22704,
13,
46506,
18586,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
13613,
7054,
309,
16,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
2444,
389,
4697,
621,
1160,
287,
1123,
18586,
15612,
1096,
416,
2318,
8262,
11,
314,
765,
284,
905,
287,
10570,
416,
262,
331,
12,
22704,
13,
46506,
18586,
62,
3672,
11,
327,
28270,
7,
28104,
16034,
13613,
7054,
309,
16,
... |
how many times had patient 56009 visited intensive care unit in 2100? | SELECT COUNT(DISTINCT icustays.icustay_id) FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 56009) AND STRFTIME('%y', icustays.intime) = '2100' | [
4919,
867,
1661,
550,
5827,
7265,
28694,
8672,
18590,
1337,
4326,
287,
38123,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
8,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
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,
1... | [
4919,
867,
1661,
550,
5827,
7265,
28694,
8672,
18590,
1337,
4326,
287,
38123,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
14158,
436,
592,
13,
291,
436,
323,
62,
312,
8,
16034,
14158,
436,
592,
33411,
14158,
436,
592,
13,
18108,
... |
How many caps figures for the Doncaster Rovers? | SELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = "Doncaster Rovers" | [
2437,
867,
11022,
5538,
329,
262,
2094,
17970,
5564,
690,
30,
46506,
327,
28270,
7,
11128,
62,
82,
62,
8,
16034,
3084,
62,
2078,
2078,
3134,
4304,
62,
4309,
33411,
3430,
62,
82,
62,
796,
366,
3987,
17970,
5564,
690,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11022,
5538,
329,
262,
2094,
17970,
5564,
690,
30,
46506,
327,
28270,
7,
11128,
62,
82,
62,
8,
16034,
3084,
62,
2078,
2078,
3134,
4304,
62,
4309,
33411,
3430,
62,
82,
62,
796,
366,
3987,
17970,
5564,
690,
1
] |
What was the world rank by ARWU in 2013 of the University of T bingen? | SELECT "World Rank by ARWU , 2013" FROM table_29538 WHERE "Members" = 'University of Tübingen' | [
2061,
373,
262,
995,
4279,
416,
5923,
54,
52,
287,
2211,
286,
262,
2059,
286,
309,
275,
36795,
30,
46506,
366,
10603,
10916,
416,
5923,
54,
52,
837,
2211,
1,
16034,
3084,
62,
25710,
2548,
33411,
366,
25341,
1,
796,
705,
21009,
286,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
995,
4279,
416,
5923,
54,
52,
287,
2211,
286,
262,
2059,
286,
309,
275,
36795,
30,
46506,
366,
10603,
10916,
416,
5923,
54,
52,
837,
2211,
1,
16034,
3084,
62,
25710,
2548,
33411,
366,
25341,
1,
796,
705,
21009,
286,
... |
Which area 2006 km has an area 1996 km smaller than 17.31? | SELECT MAX("area 2006 km\u00b2") FROM table_5872 WHERE "area 1996 km\u00b2" < '17.31' | [
13828,
1989,
4793,
10571,
468,
281,
1989,
8235,
10571,
4833,
621,
1596,
13,
3132,
30,
46506,
25882,
7203,
20337,
4793,
10571,
59,
84,
405,
65,
17,
4943,
16034,
3084,
62,
3365,
4761,
33411,
366,
20337,
8235,
10571,
59,
84,
405,
65,
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,
1,
1
] | [
13828,
1989,
4793,
10571,
468,
281,
1989,
8235,
10571,
4833,
621,
1596,
13,
3132,
30,
46506,
25882,
7203,
20337,
4793,
10571,
59,
84,
405,
65,
17,
4943,
16034,
3084,
62,
3365,
4761,
33411,
366,
20337,
8235,
10571,
59,
84,
405,
65,
17,... |
How many millions of views in the country watched 'Line of Departure'? | SELECT "U.S. viewers (million)" FROM table_16469 WHERE "Title" = 'Line of Departure' | [
2437,
867,
5242,
286,
5009,
287,
262,
1499,
7342,
705,
13949,
286,
2129,
433,
495,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
16034,
3084,
62,
23237,
3388,
33411,
366,
19160,
1,
796,
705,
13949,
286,
2129,
433,
495,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5242,
286,
5009,
287,
262,
1499,
7342,
705,
13949,
286,
2129,
433,
495,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
16034,
3084,
62,
23237,
3388,
33411,
366,
19160,
1,
796,
705,
13949,
286,
2129,
433,
495,
... |
what flights are from MEMPHIS to LAS VEGAS | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'MEMPHIS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LAS VE... | [
10919,
13956,
389,
422,
35153,
11909,
1797,
284,
406,
1921,
569,
7156,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
13956,
389,
422,
35153,
11909,
1797,
284,
406,
1921,
569,
7156,
1921,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054,
31600,... |
What Municipality has a Rank of 44? | SELECT "Municipality" FROM table_75659 WHERE "Rank" = '44' | [
2061,
27338,
1483,
468,
257,
10916,
286,
5846,
30,
46506,
366,
44,
9462,
1483,
1,
16034,
3084,
62,
2425,
36445,
33411,
366,
27520,
1,
796,
705,
2598,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
27338,
1483,
468,
257,
10916,
286,
5846,
30,
46506,
366,
44,
9462,
1483,
1,
16034,
3084,
62,
2425,
36445,
33411,
366,
27520,
1,
796,
705,
2598,
6
] |
what is the number of patients whose drug code is clin150 and lab test fluid is other body fluid? | 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 = "CLIN150" AND lab.fluid = "Other Body Fluid" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
5327,
8628,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2438,
318,
5327,
8628,
290,
2248,
1332,
11711,
318,
584,
1767,
11711,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
provide the number of patients whose admission location is phys referral/normal deli and drug code is baci15o? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND prescriptions.formulary_drug_cd = "BACI15O" | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
290,
2563,
2438,
318,
275,
32009,
1314,
78,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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... | [
15234,
485,
262,
1271,
286,
3871,
3025,
13938,
4067,
318,
2281,
31413,
14,
11265,
1619,
72,
290,
2563,
2438,
318,
275,
32009,
1314,
78,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
What courses provide 3 credits ? | SELECT DISTINCT name, number FROM course WHERE credits = 3 AND department = 'EECS' | [
2061,
10902,
2148,
513,
10824,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
513,
5357,
5011,
796,
705,
36,
2943,
50,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
10902,
2148,
513,
10824,
5633,
46506,
360,
8808,
1268,
4177,
1438,
11,
1271,
16034,
1781,
33411,
10824,
796,
513,
5357,
5011,
796,
705,
36,
2943,
50,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.