instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
find out the marital status and religious background of patient with patient id 2560. | SELECT demographic.marital_status, demographic.religion FROM demographic WHERE demographic.subject_id = "2560" | [
19796,
503,
262,
29555,
3722,
290,
4158,
4469,
286,
5827,
351,
5827,
4686,
1679,
1899,
13,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19796,
503,
262,
29555,
3722,
290,
4158,
4469,
286,
5827,
351,
5827,
4686,
1679,
1899,
13,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
2411,
17035,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
What was the connection speed when launched on 07.06.2005? | SELECT connection_speed FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "07.06.2005" | [
2061,
373,
262,
4637,
2866,
618,
5611,
319,
8753,
13,
3312,
13,
14315,
30,
46506,
4637,
62,
12287,
16034,
3084,
62,
1129,
26912,
62,
16,
33411,
4219,
62,
4475,
834,
1860,
76,
1820,
22556,
88,
62,
796,
366,
2998,
13,
3312,
13,
14315,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4637,
2866,
618,
5611,
319,
8753,
13,
3312,
13,
14315,
30,
46506,
4637,
62,
12287,
16034,
3084,
62,
1129,
26912,
62,
16,
33411,
4219,
62,
4475,
834,
1860,
76,
1820,
22556,
88,
62,
796,
366,
2998,
13,
3312,
13,
14315,... |
Linked to How to Ubuntu. | SELECT Id AS "post_link", Score, ViewCount AS Views FROM Posts WHERE Body LIKE '% howtoubuntu.org %' AND ClosedDate IS NULL ORDER BY Views DESC | [
11280,
276,
284,
1374,
284,
14949,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
15178,
11,
3582,
12332,
7054,
29978,
16034,
12043,
33411,
12290,
34178,
705,
4,
703,
83,
12944,
11157,
13,
2398,
4064,
6,
5357,
30550,
10430,
3180,
156... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
11280,
276,
284,
1374,
284,
14949,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
15178,
11,
3582,
12332,
7054,
29978,
16034,
12043,
33411,
12290,
34178,
705,
4,
703,
83,
12944,
11157,
13,
2398,
4064,
6,
5357,
30550,
10430,
3180,
156... |
What is To Par, when Player is K. J. Choi? | SELECT to_par FROM table_name_58 WHERE player = "k. j. choi" | [
2061,
318,
1675,
2547,
11,
618,
7853,
318,
509,
13,
449,
13,
42198,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
3365,
33411,
2137,
796,
366,
74,
13,
474,
13,
1727,
72,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1675,
2547,
11,
618,
7853,
318,
509,
13,
449,
13,
42198,
30,
46506,
284,
62,
1845,
16034,
3084,
62,
3672,
62,
3365,
33411,
2137,
796,
366,
74,
13,
474,
13,
1727,
72,
1
] |
What is team 2 where the result is ICL world by 8 wickets? | SELECT "Team 2" FROM table_21303 WHERE "Result" = 'ICL World by 8 wickets' | [
2061,
318,
1074,
362,
810,
262,
1255,
318,
314,
5097,
995,
416,
807,
266,
15970,
30,
46506,
366,
15592,
362,
1,
16034,
3084,
62,
2481,
22572,
33411,
366,
23004,
1,
796,
705,
2149,
43,
2159,
416,
807,
266,
15970,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
1074,
362,
810,
262,
1255,
318,
314,
5097,
995,
416,
807,
266,
15970,
30,
46506,
366,
15592,
362,
1,
16034,
3084,
62,
2481,
22572,
33411,
366,
23004,
1,
796,
705,
2149,
43,
2159,
416,
807,
266,
15970,
6
] |
What was the score of the Insight Bowl? | SELECT score FROM table_name_53 WHERE bowl_game = "insight bowl" | [
2061,
373,
262,
4776,
286,
262,
39917,
8693,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4310,
33411,
9396,
62,
6057,
796,
366,
1040,
432,
9396,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
286,
262,
39917,
8693,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
4310,
33411,
9396,
62,
6057,
796,
366,
1040,
432,
9396,
1
] |
For those employees who did not have any job in the past, show me the trend about manager_id over hire_date with a line chart, and show X-axis from high to low order. | SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY HIRE_DATE DESC | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
905,
502,
262,
5182,
546,
4706,
62,
312,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
11,
290,
905,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
36210,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
905,
502,
262,
5182,
546,
4706,
62,
312,
625,
11078,
62,
4475,
351,
257,
1627,
8262,
11,
290,
905,
1395,
12,
22704,
422,
1029,
284,
1877,
1502,
13,
46506,
36210,
... |
What is the highest capacity for the venue of the club, vihren? | SELECT MAX("Capacity") FROM table_76678 WHERE "Club" = 'vihren' | [
2061,
318,
262,
4511,
5339,
329,
262,
14359,
286,
262,
3430,
11,
410,
4449,
918,
30,
46506,
25882,
7203,
15610,
4355,
4943,
16034,
3084,
62,
22,
2791,
3695,
33411,
366,
42350,
1,
796,
705,
85,
4449,
918,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
5339,
329,
262,
14359,
286,
262,
3430,
11,
410,
4449,
918,
30,
46506,
25882,
7203,
15610,
4355,
4943,
16034,
3084,
62,
22,
2791,
3695,
33411,
366,
42350,
1,
796,
705,
85,
4449,
918,
6
] |
What season features writer Michael Poryes? | SELECT "Season #" FROM table_72254 WHERE "Written by" = 'Michael Poryes' | [
2061,
1622,
3033,
6260,
3899,
350,
652,
274,
30,
46506,
366,
18960,
1303,
1,
16034,
3084,
62,
4761,
24970,
33411,
366,
25354,
416,
1,
796,
705,
13256,
350,
652,
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,
1622,
3033,
6260,
3899,
350,
652,
274,
30,
46506,
366,
18960,
1303,
1,
16034,
3084,
62,
4761,
24970,
33411,
366,
25354,
416,
1,
796,
705,
13256,
350,
652,
274,
6
] |
instead of denver can i have the same flight from TORONTO to SAN DIEGO but stopping in DFW | SELECT DISTINCT flight.flight_id FROM airport, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight, flight_stop WHERE (airport.airport_code = 'DFW' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN DIEGO' AND flight_stop.stop_ai... | [
38070,
286,
2853,
332,
460,
1312,
423,
262,
976,
5474,
422,
40691,
1340,
10468,
284,
37376,
14766,
7156,
46,
475,
12225,
287,
360,
24160,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
11,
9003,
62,
15271,
7054,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
38070,
286,
2853,
332,
460,
1312,
423,
262,
976,
5474,
422,
40691,
1340,
10468,
284,
37376,
14766,
7156,
46,
475,
12225,
287,
360,
24160,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
11,
9003,
62,
15271,
7054,
... |
Show me a bar chart for what is the average song rating for each language?, and list from low to high by the y axis. | SELECT languages, AVG(rating) FROM song GROUP BY languages ORDER BY AVG(rating) | [
15307,
502,
257,
2318,
8262,
329,
644,
318,
262,
2811,
3496,
7955,
329,
1123,
3303,
21747,
290,
1351,
422,
1877,
284,
1029,
416,
262,
331,
16488,
13,
46506,
8950,
11,
35224,
7,
8821,
8,
16034,
3496,
44441,
11050,
8950,
38678,
11050,
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
] | [
15307,
502,
257,
2318,
8262,
329,
644,
318,
262,
2811,
3496,
7955,
329,
1123,
3303,
21747,
290,
1351,
422,
1877,
284,
1029,
416,
262,
331,
16488,
13,
46506,
8950,
11,
35224,
7,
8821,
8,
16034,
3496,
44441,
11050,
8950,
38678,
11050,
3... |
For all employees who have the letters D or S in their first name, give me the comparison about the average of salary over the job_id , and group by attribute job_id by a bar chart. | SELECT JOB_ID, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
9588,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
416,
257,
2318,
8262,
13,
46506,
44... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
9588,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
416,
257,
2318,
8262,
13,
46506,
44... |
Which providers use exchange server? | SELECT provider FROM table_14465871_2 WHERE application = "Exchange Server" | [
13828,
9549,
779,
5163,
4382,
30,
46506,
10131,
16034,
3084,
62,
18444,
38431,
4869,
62,
17,
33411,
3586,
796,
366,
3109,
3803,
9652,
1
] | [
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,
9549,
779,
5163,
4382,
30,
46506,
10131,
16034,
3084,
62,
18444,
38431,
4869,
62,
17,
33411,
3586,
796,
366,
3109,
3803,
9652,
1
] |
Find popular stackoverflow question with java tag with code segment. | SELECT p1.Id FROM Posts AS p1 JOIN Posts AS p2 ON p1.Id = p2.ParentId WHERE p1.PostTypeId = 1 AND p1.Score > 10 AND p1.Body LIKE '%<code>%' AND p1.Tags LIKE '%<java>%' AND p2.PostTypeId = 2 AND p2.Score > 10 AND p2.Body LIKE '%<code>%' | [
16742,
2968,
8931,
2502,
11125,
1808,
351,
20129,
7621,
351,
2438,
10618,
13,
46506,
279,
16,
13,
7390,
16034,
12043,
7054,
279,
16,
32357,
1268,
12043,
7054,
279,
17,
6177,
279,
16,
13,
7390,
796,
279,
17,
13,
24546,
7390,
33411,
279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2968,
8931,
2502,
11125,
1808,
351,
20129,
7621,
351,
2438,
10618,
13,
46506,
279,
16,
13,
7390,
16034,
12043,
7054,
279,
16,
32357,
1268,
12043,
7054,
279,
17,
6177,
279,
16,
13,
7390,
796,
279,
17,
13,
24546,
7390,
33411,
279... |
What is the place of birth when the elevator is Nicholas IV, and elector is Napoleone Orsini Frangipani? | SELECT place_of_birth FROM table_name_7 WHERE elevator = "nicholas iv" AND elector = "napoleone orsini frangipani" | [
2061,
318,
262,
1295,
286,
4082,
618,
262,
20932,
318,
20320,
8363,
11,
290,
43191,
318,
14332,
2305,
505,
1471,
82,
5362,
1305,
648,
541,
3216,
30,
46506,
1295,
62,
1659,
62,
24280,
16034,
3084,
62,
3672,
62,
22,
33411,
20932,
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,
1... | [
2061,
318,
262,
1295,
286,
4082,
618,
262,
20932,
318,
20320,
8363,
11,
290,
43191,
318,
14332,
2305,
505,
1471,
82,
5362,
1305,
648,
541,
3216,
30,
46506,
1295,
62,
1659,
62,
24280,
16034,
3084,
62,
3672,
62,
22,
33411,
20932,
796,
... |
Average last access, by reputation bucket (logarithmic). Are veteran users going away? | SELECT FLOOR(LOG10(Reputation) * 10) / 10 AS Rep, AVG(DATEDIFF(day, LastAccessDate, GETDATE())) AS "Logarithm of reputation vs. avg days away" FROM Users GROUP BY FLOOR(LOG10(Reputation) * 10) / 10 ORDER BY Rep | [
26287,
938,
1895,
11,
416,
8507,
19236,
357,
6404,
283,
342,
9383,
737,
4231,
9298,
2985,
1016,
1497,
30,
46506,
9977,
46,
1581,
7,
25294,
940,
7,
6207,
7094,
8,
1635,
838,
8,
1220,
838,
7054,
1432,
11,
35224,
7,
35,
11617,
29267,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26287,
938,
1895,
11,
416,
8507,
19236,
357,
6404,
283,
342,
9383,
737,
4231,
9298,
2985,
1016,
1497,
30,
46506,
9977,
46,
1581,
7,
25294,
940,
7,
6207,
7094,
8,
1635,
838,
8,
1220,
838,
7054,
1432,
11,
35224,
7,
35,
11617,
29267,
... |
Give me a histogram for what is the lowest salary in departments with average salary greater than the overall average. | SELECT dept_name, MIN(salary) FROM instructor GROUP BY dept_name | [
23318,
502,
257,
1554,
21857,
329,
644,
318,
262,
9016,
9588,
287,
13346,
351,
2811,
9588,
3744,
621,
262,
4045,
2811,
13,
46506,
390,
457,
62,
3672,
11,
20625,
7,
21680,
560,
8,
16034,
21187,
44441,
11050,
390,
457,
62,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23318,
502,
257,
1554,
21857,
329,
644,
318,
262,
9016,
9588,
287,
13346,
351,
2811,
9588,
3744,
621,
262,
4045,
2811,
13,
46506,
390,
457,
62,
3672,
11,
20625,
7,
21680,
560,
8,
16034,
21187,
44441,
11050,
390,
457,
62,
3672
] |
Who is the Winner of the Nissan Motorsport Australia Team at the Oran Park Raceway? | SELECT "Winner" FROM table_79663 WHERE "Team" = 'nissan motorsport australia' AND "Circuit" = 'oran park raceway' | [
8241,
318,
262,
25358,
286,
262,
28190,
49996,
4505,
4816,
379,
262,
1471,
272,
3250,
24746,
16172,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
3720,
45791,
33411,
366,
15592,
1,
796,
705,
77,
24112,
24699,
634,
38132,
1373,
544,
6,
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,
1
] | [
8241,
318,
262,
25358,
286,
262,
28190,
49996,
4505,
4816,
379,
262,
1471,
272,
3250,
24746,
16172,
30,
46506,
366,
48056,
1,
16034,
3084,
62,
3720,
45791,
33411,
366,
15592,
1,
796,
705,
77,
24112,
24699,
634,
38132,
1373,
544,
6,
53... |
Who entered on day 1 and exited on day 20? | SELECT "Celebrity" FROM table_37905 WHERE "Entered" = 'day 1' AND "Exited" = 'day 20' | [
8241,
5982,
319,
1110,
352,
290,
34710,
319,
1110,
1160,
30,
46506,
366,
42741,
1671,
414,
1,
16034,
3084,
62,
29088,
2713,
33411,
366,
14539,
1068,
1,
796,
705,
820,
352,
6,
5357,
366,
3109,
863,
1,
796,
705,
820,
1160,
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
] | [
8241,
5982,
319,
1110,
352,
290,
34710,
319,
1110,
1160,
30,
46506,
366,
42741,
1671,
414,
1,
16034,
3084,
62,
29088,
2713,
33411,
366,
14539,
1068,
1,
796,
705,
820,
352,
6,
5357,
366,
3109,
863,
1,
796,
705,
820,
1160,
6
] |
what date were they playing in hawthorn | SELECT "Date" FROM table_34529 WHERE "Away team" = 'hawthorn' | [
10919,
3128,
547,
484,
2712,
287,
23185,
400,
1211,
46506,
366,
10430,
1,
16034,
3084,
62,
27712,
1959,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26615,
400,
1211,
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
] | [
10919,
3128,
547,
484,
2712,
287,
23185,
400,
1211,
46506,
366,
10430,
1,
16034,
3084,
62,
27712,
1959,
33411,
366,
32,
1014,
1074,
1,
796,
705,
26615,
400,
1211,
6
] |
Visualize the title and their average smallest ratings of the movie using a bar chart, sort by the title in descending please. | SELECT T2.title, AVG(MIN(T1.stars)) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.title ORDER BY T2.title DESC | [
36259,
1096,
262,
3670,
290,
511,
2811,
18197,
10109,
286,
262,
3807,
1262,
257,
2318,
8262,
11,
3297,
416,
262,
3670,
287,
31491,
3387,
13,
46506,
309,
17,
13,
7839,
11,
35224,
7,
23678,
7,
51,
16,
13,
30783,
4008,
16034,
12028,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
36259,
1096,
262,
3670,
290,
511,
2811,
18197,
10109,
286,
262,
3807,
1262,
257,
2318,
8262,
11,
3297,
416,
262,
3670,
287,
31491,
3387,
13,
46506,
309,
17,
13,
7839,
11,
35224,
7,
23678,
7,
51,
16,
13,
30783,
4008,
16034,
12028,
70... |
What is the total pick # for the D position from a team from Chilliwack Bruins? | SELECT SUM(pick__number) FROM table_name_94 WHERE position = "d" AND team_from = "chilliwack bruins" | [
2061,
318,
262,
2472,
2298,
1303,
329,
262,
360,
2292,
422,
257,
1074,
422,
38290,
14246,
441,
27607,
30,
46506,
35683,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
2292,
796,
366,
67,
1,
5357,
1074,
62,
6738,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
2298,
1303,
329,
262,
360,
2292,
422,
257,
1074,
422,
38290,
14246,
441,
27607,
30,
46506,
35683,
7,
27729,
834,
17618,
8,
16034,
3084,
62,
3672,
62,
5824,
33411,
2292,
796,
366,
67,
1,
5357,
1074,
62,
6738,
79... |
What is the maximum game that was played against the New York Knickerbockers? | SELECT MAX("Game") FROM table_47584 WHERE "Opponent" = 'new york knickerbockers' | [
2061,
318,
262,
5415,
983,
326,
373,
2826,
1028,
262,
968,
1971,
6102,
15799,
65,
735,
364,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
32576,
5705,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
638,
15799,
65,
735,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5415,
983,
326,
373,
2826,
1028,
262,
968,
1971,
6102,
15799,
65,
735,
364,
30,
46506,
25882,
7203,
8777,
4943,
16034,
3084,
62,
32576,
5705,
33411,
366,
27524,
3471,
1,
796,
705,
3605,
331,
967,
638,
15799,
65,
735,
... |
Display the lowest score for candidate Mir-Hossein Mousavi when candidate Mohsen Rezaee scored 44809 votes | SELECT MIN(mir_hossein_mousavi) FROM table_23390604_1 WHERE mohsen_rezaee = 44809 | [
23114,
262,
9016,
4776,
329,
4540,
7381,
12,
39,
418,
20719,
42436,
15820,
618,
4540,
9719,
6248,
797,
4496,
1453,
7781,
5846,
34583,
5690,
46506,
20625,
7,
10793,
62,
71,
418,
20719,
62,
76,
516,
15820,
8,
16034,
3084,
62,
1954,
2596... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23114,
262,
9016,
4776,
329,
4540,
7381,
12,
39,
418,
20719,
42436,
15820,
618,
4540,
9719,
6248,
797,
4496,
1453,
7781,
5846,
34583,
5690,
46506,
20625,
7,
10793,
62,
71,
418,
20719,
62,
76,
516,
15820,
8,
16034,
3084,
62,
1954,
2596... |
Tell me the block A for antonio thomas of kondo (13:24) | SELECT block_a FROM table_name_85 WHERE antonio_thomas = "kondo (13:24)" | [
24446,
502,
262,
2512,
317,
329,
281,
1122,
952,
294,
16911,
286,
479,
22311,
357,
1485,
25,
1731,
8,
46506,
2512,
62,
64,
16034,
3084,
62,
3672,
62,
5332,
33411,
281,
1122,
952,
62,
400,
16911,
796,
366,
74,
22311,
357,
1485,
25,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2512,
317,
329,
281,
1122,
952,
294,
16911,
286,
479,
22311,
357,
1485,
25,
1731,
8,
46506,
2512,
62,
64,
16034,
3084,
62,
3672,
62,
5332,
33411,
281,
1122,
952,
62,
400,
16911,
796,
366,
74,
22311,
357,
1485,
25,
... |
what's the location where tournament is raley's senior gold rush | SELECT location FROM table_11622255_1 WHERE tournament = "Raley's Senior Gold Rush" | [
10919,
338,
262,
4067,
810,
7756,
318,
374,
16730,
338,
4664,
3869,
10484,
46506,
4067,
16034,
3084,
62,
18298,
1828,
13381,
62,
16,
33411,
7756,
796,
366,
49,
16730,
338,
14017,
3561,
13063,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4067,
810,
7756,
318,
374,
16730,
338,
4664,
3869,
10484,
46506,
4067,
16034,
3084,
62,
18298,
1828,
13381,
62,
16,
33411,
7756,
796,
366,
49,
16730,
338,
14017,
3561,
13063,
1
] |
How many faculty members do we have for each rank? Visualize by pie chart. | SELECT Rank, COUNT(Rank) FROM Faculty GROUP BY Rank | [
2437,
867,
12829,
1866,
466,
356,
423,
329,
1123,
4279,
30,
15612,
1096,
416,
2508,
8262,
13,
46506,
10916,
11,
327,
28270,
7,
27520,
8,
16034,
35262,
44441,
11050,
10916
] | [
1,
1,
1,
1,
1,
1,
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,
12829,
1866,
466,
356,
423,
329,
1123,
4279,
30,
15612,
1096,
416,
2508,
8262,
13,
46506,
10916,
11,
327,
28270,
7,
27520,
8,
16034,
35262,
44441,
11050,
10916
] |
Name the competition for november 19, 2008 | SELECT competition FROM table_name_82 WHERE date = "november 19, 2008" | [
5376,
262,
5449,
329,
645,
303,
1916,
678,
11,
3648,
46506,
5449,
16034,
3084,
62,
3672,
62,
6469,
33411,
3128,
796,
366,
77,
3239,
678,
11,
3648,
1
] | [
1,
1,
1,
1,
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,
5449,
329,
645,
303,
1916,
678,
11,
3648,
46506,
5449,
16034,
3084,
62,
3672,
62,
6469,
33411,
3128,
796,
366,
77,
3239,
678,
11,
3648,
1
] |
the last year what were the three most frequent diagnoses that were given to patients within the same month after the diagnosis of respiratory arrest? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'respiratory arrest' AND DATETIME(diagnos... | [
1169,
938,
614,
644,
547,
262,
1115,
749,
10792,
40567,
326,
547,
1813,
284,
3871,
1626,
262,
976,
1227,
706,
262,
13669,
286,
22949,
3251,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1169,
938,
614,
644,
547,
262,
1115,
749,
10792,
40567,
326,
547,
1813,
284,
3871,
1626,
262,
976,
1227,
706,
262,
13669,
286,
22949,
3251,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
... |
how many patients are staying at ward 32 until 4 years ago? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.wardid = 32 AND DATETIME(transfers.intime) <= DATETIME(CURRENT_TIME(), '-4 year')) | [
4919,
867,
3871,
389,
10589,
379,
15305,
3933,
1566,
604,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
13,
18108,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10589,
379,
15305,
3933,
1566,
604,
812,
2084,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
16395,
13,
18108,... |
How large is the fleet size of the airline with the IATA code of 5j? | SELECT COUNT("Fleet size") FROM table_1291 WHERE "IATA" = '5J' | [
2437,
1588,
318,
262,
11026,
2546,
286,
262,
18091,
351,
262,
314,
13563,
2438,
286,
642,
73,
30,
46506,
327,
28270,
7203,
47669,
316,
2546,
4943,
16034,
3084,
62,
1065,
6420,
33411,
366,
40,
13563,
1,
796,
705,
20,
41,
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
] | [
2437,
1588,
318,
262,
11026,
2546,
286,
262,
18091,
351,
262,
314,
13563,
2438,
286,
642,
73,
30,
46506,
327,
28270,
7203,
47669,
316,
2546,
4943,
16034,
3084,
62,
1065,
6420,
33411,
366,
40,
13563,
1,
796,
705,
20,
41,
6
] |
Which Surface had a Date of june 13, 1983? | SELECT "Surface" FROM table_34934 WHERE "Date" = 'june 13, 1983' | [
13828,
20321,
550,
257,
7536,
286,
474,
1726,
1511,
11,
13540,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
27371,
2682,
33411,
366,
10430,
1,
796,
705,
73,
1726,
1511,
11,
13540,
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,
20321,
550,
257,
7536,
286,
474,
1726,
1511,
11,
13540,
30,
46506,
366,
14214,
2550,
1,
16034,
3084,
62,
27371,
2682,
33411,
366,
10430,
1,
796,
705,
73,
1726,
1511,
11,
13540,
6
] |
did patient 15945 in 12/this year get an specific gravity lab test? | SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'specific gravity') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15945) AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRE... | [
20839,
5827,
26422,
2231,
287,
1105,
14,
5661,
614,
651,
281,
2176,
13522,
2248,
1332,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
5827,
26422,
2231,
287,
1105,
14,
5661,
614,
651,
281,
2176,
13522,
2248,
1332,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
31534,
33411,
2248,
31534,
13,
9186,
312,
3268,
357,
46506,
288,
62,
23912,
23814,
13,
9186,... |
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the average of code , and group by attribute name, and show y axis in desc order. | SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Code DESC | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
905,
331,
16488,
287,
1715,
1502,
13,
46506,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2811,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
11,
290,
905,
331,
16488,
287,
1715,
1502,
13,
46506,
3... |
What is every entry for Saturday August 27 when the entry for Thursday August 25 is 23' 56.90 94.528mph? | SELECT sat_27_aug FROM table_30058355_7 WHERE thurs_25_aug = "23' 56.90 94.528mph" | [
2061,
318,
790,
5726,
329,
3909,
2932,
2681,
618,
262,
5726,
329,
3635,
2932,
1679,
318,
2242,
6,
7265,
13,
3829,
10048,
13,
49351,
23335,
30,
46506,
3332,
62,
1983,
62,
7493,
16034,
3084,
62,
6200,
3365,
28567,
62,
22,
33411,
294,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3909,
2932,
2681,
618,
262,
5726,
329,
3635,
2932,
1679,
318,
2242,
6,
7265,
13,
3829,
10048,
13,
49351,
23335,
30,
46506,
3332,
62,
1983,
62,
7493,
16034,
3084,
62,
6200,
3365,
28567,
62,
22,
33411,
294,
... |
Is there a Position for Notes 53.96? | SELECT "Position" FROM table_15728 WHERE "Notes" = '53.96' | [
3792,
612,
257,
23158,
329,
11822,
7192,
13,
4846,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
18458,
2078,
33411,
366,
16130,
1,
796,
705,
4310,
13,
4846,
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
] | [
3792,
612,
257,
23158,
329,
11822,
7192,
13,
4846,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
18458,
2078,
33411,
366,
16130,
1,
796,
705,
4310,
13,
4846,
6
] |
What is the capital for the state that has the largest city of Burlington? | SELECT "Capital" FROM table_14519 WHERE "Largest city" = 'burlington' | [
2061,
318,
262,
3139,
329,
262,
1181,
326,
468,
262,
4387,
1748,
286,
37090,
30,
46506,
366,
39315,
1,
16034,
3084,
62,
18781,
1129,
33411,
366,
43,
853,
395,
1748,
1,
796,
705,
6236,
17299,
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,
3139,
329,
262,
1181,
326,
468,
262,
4387,
1748,
286,
37090,
30,
46506,
366,
39315,
1,
16034,
3084,
62,
18781,
1129,
33411,
366,
43,
853,
395,
1748,
1,
796,
705,
6236,
17299,
6
] |
What are the Opponents at the Schenectady, U.S. Tournament? | SELECT "Opponents in the final" FROM table_60738 WHERE "Tournament" = 'schenectady, u.s.' | [
2061,
389,
262,
9385,
3906,
379,
262,
1446,
831,
478,
4597,
11,
471,
13,
50,
13,
9595,
30,
46506,
366,
27524,
3906,
287,
262,
2457,
1,
16034,
3084,
62,
31980,
2548,
33411,
366,
51,
5138,
1,
796,
705,
1416,
831,
478,
4597,
11,
334,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
9385,
3906,
379,
262,
1446,
831,
478,
4597,
11,
471,
13,
50,
13,
9595,
30,
46506,
366,
27524,
3906,
287,
262,
2457,
1,
16034,
3084,
62,
31980,
2548,
33411,
366,
51,
5138,
1,
796,
705,
1416,
831,
478,
4597,
11,
334,... |
What place has a 67-68-78-77=290 score? | SELECT "Place" FROM table_50495 WHERE "Score" = '67-68-78-77=290' | [
2061,
1295,
468,
257,
8275,
12,
3104,
12,
3695,
12,
3324,
28,
24369,
4776,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
1120,
33781,
33411,
366,
26595,
1,
796,
705,
3134,
12,
3104,
12,
3695,
12,
3324,
28,
24369,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1295,
468,
257,
8275,
12,
3104,
12,
3695,
12,
3324,
28,
24369,
4776,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
1120,
33781,
33411,
366,
26595,
1,
796,
705,
3134,
12,
3104,
12,
3695,
12,
3324,
28,
24369,
6
] |
Find the number of rooms with more than 50 capacity for each building Show bar chart, and could you display by the names from low to high? | SELECT building, COUNT(*) FROM classroom WHERE capacity > 50 GROUP BY building ORDER BY building | [
16742,
262,
1271,
286,
9519,
351,
517,
621,
2026,
5339,
329,
1123,
2615,
5438,
2318,
8262,
11,
290,
714,
345,
3359,
416,
262,
3891,
422,
1877,
284,
1029,
30,
46506,
2615,
11,
327,
28270,
7,
28104,
16034,
15806,
33411,
5339,
1875,
2026... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1271,
286,
9519,
351,
517,
621,
2026,
5339,
329,
1123,
2615,
5438,
2318,
8262,
11,
290,
714,
345,
3359,
416,
262,
3891,
422,
1877,
284,
1029,
30,
46506,
2615,
11,
327,
28270,
7,
28104,
16034,
15806,
33411,
5339,
1875,
2026... |
What are the descriptions of the courses with name 'database'? | SELECT course_description FROM courses WHERE course_name = "database" | [
2061,
389,
262,
16969,
286,
262,
10902,
351,
1438,
705,
48806,
30960,
46506,
1781,
62,
11213,
16034,
10902,
33411,
1781,
62,
3672,
796,
366,
48806,
1
] | [
1,
1,
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,
16969,
286,
262,
10902,
351,
1438,
705,
48806,
30960,
46506,
1781,
62,
11213,
16034,
10902,
33411,
1781,
62,
3672,
796,
366,
48806,
1
] |
What is the Gauge of Locomotive G534 Owned by Aurizon which has a Status of Operational? | SELECT "Gauge" FROM table_6994 WHERE "Status" = 'operational' AND "Owner" = 'aurizon' AND "Locomotive" = 'g534' | [
2061,
318,
262,
35094,
469,
286,
15181,
296,
19138,
402,
20,
2682,
11744,
276,
416,
15412,
8637,
543,
468,
257,
12678,
286,
6564,
864,
30,
46506,
366,
38,
559,
469,
1,
16034,
3084,
62,
21,
42691,
33411,
366,
19580,
1,
796,
705,
3575... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
35094,
469,
286,
15181,
296,
19138,
402,
20,
2682,
11744,
276,
416,
15412,
8637,
543,
468,
257,
12678,
286,
6564,
864,
30,
46506,
366,
38,
559,
469,
1,
16034,
3084,
62,
21,
42691,
33411,
366,
19580,
1,
796,
705,
3575... |
When did Riot Games release their 3D MOBA game? | SELECT release_date FROM table_name_2 WHERE type = "3d" AND genre = "moba" AND developer_s_ = "riot games" | [
2215,
750,
24528,
5776,
2650,
511,
513,
35,
13070,
4339,
983,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
17,
33411,
2099,
796,
366,
18,
67,
1,
5357,
12121,
796,
366,
76,
19981,
1,
5357,
8517,
62,
82,
62,
796,
366,
36671... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24528,
5776,
2650,
511,
513,
35,
13070,
4339,
983,
30,
46506,
2650,
62,
4475,
16034,
3084,
62,
3672,
62,
17,
33411,
2099,
796,
366,
18,
67,
1,
5357,
12121,
796,
366,
76,
19981,
1,
5357,
8517,
62,
82,
62,
796,
366,
36671... |
Who won the mens doubles when wu yang won the womens singles? | SELECT "Mens Doubles" FROM table_30300 WHERE "Womens Singles" = 'Wu Yang' | [
8241,
1839,
262,
285,
641,
21938,
618,
266,
84,
331,
648,
1839,
262,
1116,
641,
25287,
30,
46506,
366,
44,
641,
5728,
7689,
1,
16034,
3084,
62,
1270,
6200,
33411,
366,
54,
296,
641,
5573,
829,
1,
796,
705,
54,
84,
10998,
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
] | [
8241,
1839,
262,
285,
641,
21938,
618,
266,
84,
331,
648,
1839,
262,
1116,
641,
25287,
30,
46506,
366,
44,
641,
5728,
7689,
1,
16034,
3084,
62,
1270,
6200,
33411,
366,
54,
296,
641,
5573,
829,
1,
796,
705,
54,
84,
10998,
6
] |
What was the margin of victory at the LPGA Championship? | SELECT "Margin of victory" FROM table_45348 WHERE "Tournament" = 'lpga championship' | [
2061,
373,
262,
10330,
286,
5373,
379,
262,
406,
6968,
32,
10749,
30,
46506,
366,
24428,
259,
286,
5373,
1,
16034,
3084,
62,
2231,
28978,
33411,
366,
51,
5138,
1,
796,
705,
34431,
4908,
12184,
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,
373,
262,
10330,
286,
5373,
379,
262,
406,
6968,
32,
10749,
30,
46506,
366,
24428,
259,
286,
5373,
1,
16034,
3084,
62,
2231,
28978,
33411,
366,
51,
5138,
1,
796,
705,
34431,
4908,
12184,
6
] |
count the number of office admitted patients who had idiopathic normal pressure hydrocephalus diagnoses. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND diagnoses.long_title = "Idiopathic normal pressure hydrocephalus (INPH)" | [
9127,
262,
1271,
286,
2607,
6848,
3871,
508,
550,
4686,
14922,
776,
291,
3487,
3833,
17173,
43996,
385,
40567,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2607,
6848,
3871,
508,
550,
4686,
14922,
776,
291,
3487,
3833,
17173,
43996,
385,
40567,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... |
What is the OF-4 of Albania? | SELECT "OF-4" FROM table_52038 WHERE "Country" = 'albania' | [
2061,
318,
262,
3963,
12,
19,
286,
44615,
30,
46506,
366,
19238,
12,
19,
1,
16034,
3084,
62,
31211,
2548,
33411,
366,
33921,
1,
796,
705,
282,
3820,
544,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3963,
12,
19,
286,
44615,
30,
46506,
366,
19238,
12,
19,
1,
16034,
3084,
62,
31211,
2548,
33411,
366,
33921,
1,
796,
705,
282,
3820,
544,
6
] |
Name the least wins | SELECT MIN(wins) FROM table_14911550_1 | [
5376,
262,
1551,
7864,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
19442,
15363,
1120,
62,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
1551,
7864,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
19442,
15363,
1120,
62,
16
] |
how many asian patients had the diagnosis short title suicidal ideation? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "ASIAN" AND diagnoses.short_title = "Suicidal ideation" | [
4919,
867,
355,
666,
3871,
550,
262,
13669,
1790,
3670,
26781,
1405,
341,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
355,
666,
3871,
550,
262,
13669,
1790,
3670,
26781,
1405,
341,
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... |
which player was defending the highest number of points at the time of his withdrawal from the 2010 french open ? | SELECT "player" FROM table_204_188 ORDER BY "points defending" DESC LIMIT 1 | [
4758,
2137,
373,
11749,
262,
4511,
1271,
286,
2173,
379,
262,
640,
286,
465,
15220,
422,
262,
3050,
48718,
1280,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
20356,
38678,
11050,
366,
13033,
11749,
1,
22196,
34,
27564,
2043,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
373,
11749,
262,
4511,
1271,
286,
2173,
379,
262,
640,
286,
465,
15220,
422,
262,
3050,
48718,
1280,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
18638,
62,
20356,
38678,
11050,
366,
13033,
11749,
1,
22196,
34,
27564,
2043,
... |
Get ViewCount On Posts User Contributed To. | SELECT DISTINCT (p2.Id) AS "post_link", p2.ViewCount FROM Posts AS p1 JOIN Posts AS p2 ON p1.ParentId = p2.Id ORDER BY p2.ViewCount | [
3855,
3582,
12332,
1550,
12043,
11787,
2345,
6169,
1675,
13,
46506,
360,
8808,
1268,
4177,
357,
79,
17,
13,
7390,
8,
7054,
366,
7353,
62,
8726,
1600,
279,
17,
13,
7680,
12332,
16034,
12043,
7054,
279,
16,
32357,
1268,
12043,
7054,
279... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3855,
3582,
12332,
1550,
12043,
11787,
2345,
6169,
1675,
13,
46506,
360,
8808,
1268,
4177,
357,
79,
17,
13,
7390,
8,
7054,
366,
7353,
62,
8726,
1600,
279,
17,
13,
7680,
12332,
16034,
12043,
7054,
279,
16,
32357,
1268,
12043,
7054,
279... |
What season did SV Darmstadt 98 end up at RL S d (1st)? | SELECT season FROM table_20217456_7 WHERE rl_süd__1st_ = "SV Darmstadt 98" | [
2061,
1622,
750,
20546,
360,
1670,
38863,
9661,
886,
510,
379,
45715,
311,
288,
357,
16,
301,
19427,
46506,
1622,
16034,
3084,
62,
19004,
1558,
29228,
62,
22,
33411,
374,
75,
62,
82,
9116,
67,
834,
16,
301,
62,
796,
366,
50,
53,
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
] | [
2061,
1622,
750,
20546,
360,
1670,
38863,
9661,
886,
510,
379,
45715,
311,
288,
357,
16,
301,
19427,
46506,
1622,
16034,
3084,
62,
19004,
1558,
29228,
62,
22,
33411,
374,
75,
62,
82,
9116,
67,
834,
16,
301,
62,
796,
366,
50,
53,
3... |
Name the studio for catalog number 81063 | SELECT studio FROM table_27303975_2 WHERE catalog_number = "81063" | [
5376,
262,
8034,
329,
18388,
1271,
807,
940,
5066,
46506,
8034,
16034,
3084,
62,
1983,
1270,
2670,
2425,
62,
17,
33411,
18388,
62,
17618,
796,
366,
40215,
5066,
1
] | [
1,
1,
1,
1,
1,
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,
8034,
329,
18388,
1271,
807,
940,
5066,
46506,
8034,
16034,
3084,
62,
1983,
1270,
2670,
2425,
62,
17,
33411,
18388,
62,
17618,
796,
366,
40215,
5066,
1
] |
what is the daily minimum intake of enteral fwf that patient 027-85328 is getting on the current intensive care unit visit? | SELECT MIN(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-85328') AND patient.unitdischargetime IS NUL... | [
10919,
318,
262,
4445,
5288,
10337,
286,
920,
1691,
277,
86,
69,
326,
5827,
657,
1983,
12,
23,
4310,
2078,
318,
1972,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
4445,
5288,
10337,
286,
920,
1691,
277,
86,
69,
326,
5827,
657,
1983,
12,
23,
4310,
2078,
318,
1972,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
20625,
7,
600,
539,
22915,
13,
3846,
2100,
84,
268,
39223,
8,
... |
What is the distance for jockey Kent Desormeaux on 6/7/08? | SELECT "Distance" FROM table_1498 WHERE "Jockey" = 'Kent Desormeaux' AND "Date" = '6/7/08' | [
2061,
318,
262,
5253,
329,
474,
8337,
8758,
2935,
579,
68,
14644,
319,
718,
14,
22,
14,
2919,
30,
46506,
366,
45767,
1,
16034,
3084,
62,
1415,
4089,
33411,
366,
41,
8337,
1,
796,
705,
42265,
2935,
579,
68,
14644,
6,
5357,
366,
104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5253,
329,
474,
8337,
8758,
2935,
579,
68,
14644,
319,
718,
14,
22,
14,
2919,
30,
46506,
366,
45767,
1,
16034,
3084,
62,
1415,
4089,
33411,
366,
41,
8337,
1,
796,
705,
42265,
2935,
579,
68,
14644,
6,
5357,
366,
104... |
before the 2000 olympic games what was johanna 's fastest 200m time ? | SELECT "notes" FROM table_204_298 WHERE "year" < 2000 AND "event" = '200 m' ORDER BY "notes" LIMIT 1 | [
19052,
262,
4751,
267,
6760,
291,
1830,
644,
373,
474,
1219,
7697,
705,
82,
14162,
939,
76,
640,
5633,
46506,
366,
17815,
1,
16034,
3084,
62,
18638,
62,
27728,
33411,
366,
1941,
1,
1279,
4751,
5357,
366,
15596,
1,
796,
705,
2167,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19052,
262,
4751,
267,
6760,
291,
1830,
644,
373,
474,
1219,
7697,
705,
82,
14162,
939,
76,
640,
5633,
46506,
366,
17815,
1,
16034,
3084,
62,
18638,
62,
27728,
33411,
366,
1941,
1,
1279,
4751,
5357,
366,
15596,
1,
796,
705,
2167,
28... |
A bar chart for returning the number of the claim start date for the claims whose claimed amount is no more than the average, rank y axis from low to high order. | SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Claims WHERE Amount_Settled <= (SELECT AVG(Amount_Settled) FROM Claims) ORDER BY COUNT(Date_Claim_Made) | [
32,
2318,
8262,
329,
8024,
262,
1271,
286,
262,
1624,
923,
3128,
329,
262,
3667,
3025,
4752,
2033,
318,
645,
517,
621,
262,
2811,
11,
4279,
331,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
7536,
62,
44819,
62,
24616,
11,
327,
2827... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8024,
262,
1271,
286,
262,
1624,
923,
3128,
329,
262,
3667,
3025,
4752,
2033,
318,
645,
517,
621,
262,
2811,
11,
4279,
331,
16488,
422,
1877,
284,
1029,
1502,
13,
46506,
7536,
62,
44819,
62,
24616,
11,
327,
2827... |
whats the last ward id of patient 031-3355 on this hospital visit? | SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355' AND patient.hospitaldischargetime IS NULL) ORDER BY patient.unitadmittime DESC LIMIT 1 | [
1929,
1381,
262,
938,
15305,
4686,
286,
5827,
657,
3132,
12,
2091,
2816,
319,
428,
4436,
3187,
30,
46506,
5827,
13,
904,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1929,
1381,
262,
938,
15305,
4686,
286,
5827,
657,
3132,
12,
2091,
2816,
319,
428,
4436,
3187,
30,
46506,
5827,
13,
904,
312,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
13948,
10057... |
What is the record of team utah? | SELECT record FROM table_name_61 WHERE team = "utah" | [
2061,
318,
262,
1700,
286,
1074,
3384,
993,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5333,
33411,
1074,
796,
366,
315,
993,
1
] | [
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,
1074,
3384,
993,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5333,
33411,
1074,
796,
366,
315,
993,
1
] |
List the number of takeaways with 1 rejection. | SELECT COUNT(steals) FROM table_24906653_5 WHERE blocks = 1 | [
8053,
262,
1271,
286,
1011,
23949,
351,
352,
17927,
13,
46506,
327,
28270,
7,
4169,
874,
8,
16034,
3084,
62,
1731,
3829,
2791,
4310,
62,
20,
33411,
7021,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
1271,
286,
1011,
23949,
351,
352,
17927,
13,
46506,
327,
28270,
7,
4169,
874,
8,
16034,
3084,
62,
1731,
3829,
2791,
4310,
62,
20,
33411,
7021,
796,
352
] |
what season was the only round 1 ? | SELECT "season" FROM table_204_985 WHERE "round" = '1' | [
10919,
1622,
373,
262,
691,
2835,
352,
5633,
46506,
366,
6230,
1,
16034,
3084,
62,
18638,
62,
42250,
33411,
366,
744,
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
] | [
10919,
1622,
373,
262,
691,
2835,
352,
5633,
46506,
366,
6230,
1,
16034,
3084,
62,
18638,
62,
42250,
33411,
366,
744,
1,
796,
705,
16,
6
] |
what were the drugs to which patient 015-94542 is allergic until 63 months ago? | SELECT allergy.drugname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-94542')) AND DATETIME(allergy.allergytime) <= DATETIME(CURRENT_TIME(), '... | [
10919,
547,
262,
5010,
284,
543,
5827,
5534,
20,
12,
24,
2231,
3682,
318,
31856,
1566,
8093,
1933,
2084,
30,
46506,
36197,
13,
30349,
3672,
16034,
36197,
33411,
36197,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
208... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
547,
262,
5010,
284,
543,
5827,
5534,
20,
12,
24,
2231,
3682,
318,
31856,
1566,
8093,
1933,
2084,
30,
46506,
36197,
13,
30349,
3672,
16034,
36197,
33411,
36197,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
208... |
what is the most time where exhibitions is 1701 | SELECT MAX(year) FROM table_27685921_1 WHERE exhibitors__total_ = 1701 | [
10919,
318,
262,
749,
640,
810,
48130,
318,
1596,
486,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
1983,
3104,
3270,
2481,
62,
16,
33411,
7316,
6742,
834,
23350,
62,
796,
1596,
486
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
749,
640,
810,
48130,
318,
1596,
486,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
1983,
3104,
3270,
2481,
62,
16,
33411,
7316,
6742,
834,
23350,
62,
796,
1596,
486
] |
Whose reign ended in Afghanistan after 3 days? | SELECT "Reign ended" FROM table_11836 WHERE "Length" = '3 days' AND "Country" = 'afghanistan' | [
1199,
577,
13580,
4444,
287,
8037,
706,
513,
1528,
30,
46506,
366,
3041,
570,
4444,
1,
16034,
3084,
62,
16817,
2623,
33411,
366,
24539,
1,
796,
705,
18,
1528,
6,
5357,
366,
33921,
1,
796,
705,
1878,
6064,
4103,
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
] | [
1199,
577,
13580,
4444,
287,
8037,
706,
513,
1528,
30,
46506,
366,
3041,
570,
4444,
1,
16034,
3084,
62,
16817,
2623,
33411,
366,
24539,
1,
796,
705,
18,
1528,
6,
5357,
366,
33921,
1,
796,
705,
1878,
6064,
4103,
6
] |
What's the average laps driven by david coulthard? | SELECT AVG(laps) FROM table_name_75 WHERE driver = "david coulthard" | [
2061,
338,
262,
2811,
24590,
7986,
416,
21970,
2284,
75,
400,
446,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
4639,
796,
366,
67,
8490,
2284,
75,
400,
446,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
2811,
24590,
7986,
416,
21970,
2284,
75,
400,
446,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
2425,
33411,
4639,
796,
366,
67,
8490,
2284,
75,
400,
446,
1
] |
What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August? | SELECT sat_29_aug FROM table_23465864_4 WHERE mon_24_aug = "24' 17.26 93.208mph" | [
2061,
640,
373,
8793,
319,
3909,
2808,
400,
2932,
416,
262,
17876,
508,
6264,
1987,
6,
1596,
13,
2075,
10261,
13,
21315,
23335,
319,
3321,
1987,
400,
2932,
30,
46506,
3332,
62,
1959,
62,
7493,
16034,
3084,
62,
24409,
38431,
2414,
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
] | [
2061,
640,
373,
8793,
319,
3909,
2808,
400,
2932,
416,
262,
17876,
508,
6264,
1987,
6,
1596,
13,
2075,
10261,
13,
21315,
23335,
319,
3321,
1987,
400,
2932,
30,
46506,
3332,
62,
1959,
62,
7493,
16034,
3084,
62,
24409,
38431,
2414,
62,
... |
Name the number of colleges for jerome pathon | SELECT COUNT(college) FROM table_28059992_2 WHERE player = "Jerome Pathon" | [
5376,
262,
1271,
286,
15273,
329,
13665,
462,
3108,
261,
46506,
327,
28270,
7,
44107,
8,
16034,
3084,
62,
21033,
43452,
5892,
62,
17,
33411,
2137,
796,
366,
36134,
462,
10644,
261,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
286,
15273,
329,
13665,
462,
3108,
261,
46506,
327,
28270,
7,
44107,
8,
16034,
3084,
62,
21033,
43452,
5892,
62,
17,
33411,
2137,
796,
366,
36134,
462,
10644,
261,
1
] |
Can you tell me the 2009 that has the 2011 of A? | SELECT "2009" FROM table_60384 WHERE "2011" = 'a' | [
6090,
345,
1560,
502,
262,
3717,
326,
468,
262,
2813,
286,
317,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
1899,
22842,
33411,
366,
9804,
1,
796,
705,
64,
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
] | [
6090,
345,
1560,
502,
262,
3717,
326,
468,
262,
2813,
286,
317,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
1899,
22842,
33411,
366,
9804,
1,
796,
705,
64,
6
] |
What two players had the highest rebounds for the October 14 game? | SELECT high_rebounds FROM table_27733258_2 WHERE date = "October 14" | [
2061,
734,
1938,
550,
262,
4511,
18841,
329,
262,
3267,
1478,
983,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
27019,
2091,
25600,
62,
17,
33411,
3128,
796,
366,
18517,
1478,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
734,
1938,
550,
262,
4511,
18841,
329,
262,
3267,
1478,
983,
30,
46506,
1029,
62,
34806,
3733,
16034,
3084,
62,
27019,
2091,
25600,
62,
17,
33411,
3128,
796,
366,
18517,
1478,
1
] |
Name the most year built for davik kyrkje | SELECT MAX(year_built) FROM table_178408_1 WHERE church_name = "Davik Kyrkje" | [
5376,
262,
749,
614,
3170,
329,
288,
615,
1134,
479,
2417,
74,
18015,
46506,
25882,
7,
1941,
62,
18780,
8,
16034,
3084,
62,
23188,
26200,
62,
16,
33411,
4928,
62,
3672,
796,
366,
35,
615,
1134,
42748,
74,
18015,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
614,
3170,
329,
288,
615,
1134,
479,
2417,
74,
18015,
46506,
25882,
7,
1941,
62,
18780,
8,
16034,
3084,
62,
23188,
26200,
62,
16,
33411,
4928,
62,
3672,
796,
366,
35,
615,
1134,
42748,
74,
18015,
1
] |
What status has an area km 2 less than 27.82, with 352 as the population? | SELECT "Status" FROM table_9036 WHERE "Area km 2" < '27.82' AND "Population" = '352' | [
2061,
3722,
468,
281,
1989,
10571,
362,
1342,
621,
2681,
13,
6469,
11,
351,
44063,
355,
262,
3265,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
3829,
2623,
33411,
366,
30547,
10571,
362,
1,
1279,
705,
1983,
13,
6469,
6,
5357,
366,
452... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3722,
468,
281,
1989,
10571,
362,
1342,
621,
2681,
13,
6469,
11,
351,
44063,
355,
262,
3265,
30,
46506,
366,
19580,
1,
16034,
3084,
62,
3829,
2623,
33411,
366,
30547,
10571,
362,
1,
1279,
705,
1983,
13,
6469,
6,
5357,
366,
452... |
What is the highest year that Carlos drove for repsol honda and had less than 4 wins and less than 162 points? | SELECT MAX(year) FROM table_name_56 WHERE team = "repsol honda" AND wins < 4 AND points < 162 | [
2061,
318,
262,
4511,
614,
326,
17409,
10357,
329,
20982,
349,
289,
13533,
290,
550,
1342,
621,
604,
7864,
290,
1342,
621,
25090,
2173,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
1074,
796,
366,
260,
862,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
614,
326,
17409,
10357,
329,
20982,
349,
289,
13533,
290,
550,
1342,
621,
604,
7864,
290,
1342,
621,
25090,
2173,
30,
46506,
25882,
7,
1941,
8,
16034,
3084,
62,
3672,
62,
3980,
33411,
1074,
796,
366,
260,
862,
... |
who was next to finish after josh constable in the 2008 telstra men 's pro ? | SELECT "second" FROM table_204_791 WHERE "event" = "2008 telstra men's pro" | [
8727,
373,
1306,
284,
5461,
706,
474,
3768,
1500,
540,
287,
262,
3648,
13632,
12044,
1450,
705,
82,
386,
5633,
46506,
366,
12227,
1,
16034,
3084,
62,
18638,
62,
3720,
16,
33411,
366,
15596,
1,
796,
366,
11528,
13632,
12044,
1450,
338,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8727,
373,
1306,
284,
5461,
706,
474,
3768,
1500,
540,
287,
262,
3648,
13632,
12044,
1450,
705,
82,
386,
5633,
46506,
366,
12227,
1,
16034,
3084,
62,
18638,
62,
3720,
16,
33411,
366,
15596,
1,
796,
366,
11528,
13632,
12044,
1450,
338,... |
Name the package/option for number being 543 | SELECT "Package/Option" FROM table_1370 WHERE "N\u00b0" = '543' | [
5376,
262,
5301,
14,
18076,
329,
1271,
852,
642,
3559,
46506,
366,
27813,
14,
19722,
1,
16034,
3084,
62,
1485,
2154,
33411,
366,
45,
59,
84,
405,
65,
15,
1,
796,
705,
20,
3559,
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
] | [
5376,
262,
5301,
14,
18076,
329,
1271,
852,
642,
3559,
46506,
366,
27813,
14,
19722,
1,
16034,
3084,
62,
1485,
2154,
33411,
366,
45,
59,
84,
405,
65,
15,
1,
796,
705,
20,
3559,
6
] |
What is the speed of the higher harmonics that have an NOAA of 37? | SELECT "Speed" FROM table_4566 WHERE "NOAA" = '37' | [
2061,
318,
262,
2866,
286,
262,
2440,
25625,
873,
326,
423,
281,
36184,
286,
5214,
30,
46506,
366,
22785,
1,
16034,
3084,
62,
2231,
2791,
33411,
366,
15285,
3838,
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,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2866,
286,
262,
2440,
25625,
873,
326,
423,
281,
36184,
286,
5214,
30,
46506,
366,
22785,
1,
16034,
3084,
62,
2231,
2791,
33411,
366,
15285,
3838,
1,
796,
705,
2718,
6
] |
How many JavaScript questions are there. | SELECT * FROM Posts WHERE Posts.Tags LIKE '%javascript%' | [
2437,
867,
11933,
2683,
389,
612,
13,
46506,
1635,
16034,
12043,
33411,
12043,
13,
36142,
34178,
705,
4,
37495,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
11933,
2683,
389,
612,
13,
46506,
1635,
16034,
12043,
33411,
12043,
13,
36142,
34178,
705,
4,
37495,
4,
6
] |
what number of patients came in for routine infant or child health check and their lab tests were abnormal. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Routine infant or child health check" AND lab.flag = "abnormal" | [
10919,
1271,
286,
3871,
1625,
287,
329,
8027,
11212,
393,
1200,
1535,
2198,
290,
511,
2248,
5254,
547,
18801,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
1271,
286,
3871,
1625,
287,
329,
8027,
11212,
393,
1200,
1535,
2198,
290,
511,
2248,
5254,
547,
18801,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
... |
How many faculty do we have? | SELECT COUNT(*) FROM faculty | [
2437,
867,
12829,
466,
356,
423,
30,
46506,
327,
28270,
7,
28104,
16034,
12829
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
12829,
466,
356,
423,
30,
46506,
327,
28270,
7,
28104,
16034,
12829
] |
What is the record when the visitor was Nashville? | SELECT "Record" FROM table_56377 WHERE "Visitor" = 'nashville' | [
2061,
318,
262,
1700,
618,
262,
21493,
373,
19250,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3980,
26514,
33411,
366,
15854,
2072,
1,
796,
705,
77,
1077,
4244,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1700,
618,
262,
21493,
373,
19250,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
3980,
26514,
33411,
366,
15854,
2072,
1,
796,
705,
77,
1077,
4244,
6
] |
Which nationality has a lane of 6 and a rank smaller than 6? | SELECT nationality FROM table_name_33 WHERE rank < 6 AND lane = 6 | [
13828,
29835,
468,
257,
11193,
286,
718,
290,
257,
4279,
4833,
621,
718,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
2091,
33411,
4279,
1279,
718,
5357,
11193,
796,
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
] | [
13828,
29835,
468,
257,
11193,
286,
718,
290,
257,
4279,
4833,
621,
718,
30,
46506,
29835,
16034,
3084,
62,
3672,
62,
2091,
33411,
4279,
1279,
718,
5357,
11193,
796,
718
] |
What is north melbourne's home team score? | SELECT "Home team score" FROM table_11050 WHERE "Home team" = 'north melbourne' | [
2061,
318,
5093,
7758,
12544,
338,
1363,
1074,
4776,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
11442,
1120,
33411,
366,
16060,
1074,
1,
796,
705,
43588,
7758,
12544,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5093,
7758,
12544,
338,
1363,
1074,
4776,
30,
46506,
366,
16060,
1074,
4776,
1,
16034,
3084,
62,
11442,
1120,
33411,
366,
16060,
1074,
1,
796,
705,
43588,
7758,
12544,
6
] |
what was the daily average value of weight for patient 033-9204 in 2103? | SELECT AVG(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-9204') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y', patient.unitadmittime) = '2103' GROUP BY STRFTIME('%y-%m-%d', patient.unitad... | [
10919,
373,
262,
4445,
2811,
1988,
286,
3463,
329,
5827,
657,
2091,
12,
24,
18638,
287,
362,
15197,
30,
46506,
35224,
7,
26029,
13,
324,
3411,
6551,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
4445,
2811,
1988,
286,
3463,
329,
5827,
657,
2091,
12,
24,
18638,
287,
362,
15197,
30,
46506,
35224,
7,
26029,
13,
324,
3411,
6551,
8,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5... |
Show the number of documents in different ending date and bin ending date by weekday with a bar chart. | SELECT Date_in_Locaton_To, COUNT(Date_in_Locaton_To) FROM Document_Locations | [
15307,
262,
1271,
286,
4963,
287,
1180,
7464,
3128,
290,
9874,
7464,
3128,
416,
28269,
351,
257,
2318,
8262,
13,
46506,
7536,
62,
259,
62,
33711,
13951,
62,
2514,
11,
327,
28270,
7,
10430,
62,
259,
62,
33711,
13951,
62,
2514,
8,
160... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4963,
287,
1180,
7464,
3128,
290,
9874,
7464,
3128,
416,
28269,
351,
257,
2318,
8262,
13,
46506,
7536,
62,
259,
62,
33711,
13951,
62,
2514,
11,
327,
28270,
7,
10430,
62,
259,
62,
33711,
13951,
62,
2514,
8,
160... |
What is the highest Pick # when the CFL Team is the Toronto Argonauts? | SELECT MAX("Pick #") FROM table_39808 WHERE "CFL Team" = 'toronto argonauts' | [
2061,
318,
262,
4511,
12346,
1303,
618,
262,
45239,
4816,
318,
262,
6586,
49974,
17712,
30,
46506,
25882,
7203,
31686,
1303,
4943,
16034,
3084,
62,
2670,
28362,
33411,
366,
34,
3697,
4816,
1,
796,
705,
13165,
5957,
1822,
261,
17712,
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
] | [
2061,
318,
262,
4511,
12346,
1303,
618,
262,
45239,
4816,
318,
262,
6586,
49974,
17712,
30,
46506,
25882,
7203,
31686,
1303,
4943,
16034,
3084,
62,
2670,
28362,
33411,
366,
34,
3697,
4816,
1,
796,
705,
13165,
5957,
1822,
261,
17712,
6
] |
What is the length (miles) when pico to 7th st/metro center are the endpoints? | SELECT "Length (miles)" FROM table_72971 WHERE "Endpoints" = 'Pico to 7th St/Metro Center' | [
2061,
318,
262,
4129,
357,
76,
2915,
8,
618,
279,
3713,
284,
767,
400,
336,
14,
4164,
305,
3641,
389,
262,
886,
13033,
30,
46506,
366,
24539,
357,
76,
2915,
16725,
16034,
3084,
62,
48555,
4869,
33411,
366,
12915,
13033,
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
] | [
2061,
318,
262,
4129,
357,
76,
2915,
8,
618,
279,
3713,
284,
767,
400,
336,
14,
4164,
305,
3641,
389,
262,
886,
13033,
30,
46506,
366,
24539,
357,
76,
2915,
16725,
16034,
3084,
62,
48555,
4869,
33411,
366,
12915,
13033,
1,
796,
705,... |
Name the runner-up which has 3rd place of terry hollands | SELECT "Runner-Up" FROM table_69387 WHERE "3rd Place" = 'terry hollands' | [
5376,
262,
17490,
12,
929,
543,
468,
513,
4372,
1295,
286,
1059,
563,
289,
692,
1746,
46506,
366,
49493,
12,
4933,
1,
16034,
3084,
62,
3388,
32220,
33411,
366,
18,
4372,
8474,
1,
796,
705,
353,
563,
289,
692,
1746,
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
] | [
5376,
262,
17490,
12,
929,
543,
468,
513,
4372,
1295,
286,
1059,
563,
289,
692,
1746,
46506,
366,
49493,
12,
4933,
1,
16034,
3084,
62,
3388,
32220,
33411,
366,
18,
4372,
8474,
1,
796,
705,
353,
563,
289,
692,
1746,
6
] |
Which Opponent has a Game of 33? | SELECT opponent FROM table_name_10 WHERE game = 33 | [
13828,
9385,
3471,
468,
257,
3776,
286,
4747,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
940,
33411,
983,
796,
4747
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9385,
3471,
468,
257,
3776,
286,
4747,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
940,
33411,
983,
796,
4747
] |
What happened on 2009-09-05? | SELECT circumstances FROM table_name_93 WHERE date = "2009-09-05" | [
2061,
3022,
319,
3717,
12,
2931,
12,
2713,
30,
46506,
5917,
16034,
3084,
62,
3672,
62,
6052,
33411,
3128,
796,
366,
10531,
12,
2931,
12,
2713,
1
] | [
1,
1,
1,
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,
3022,
319,
3717,
12,
2931,
12,
2713,
30,
46506,
5917,
16034,
3084,
62,
3672,
62,
6052,
33411,
3128,
796,
366,
10531,
12,
2931,
12,
2713,
1
] |
what is the minimum total cost to the hospital that includes rbc, pleural in this year? | SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'rbc, pleural')) AND DATETIME(cost.chargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of y... | [
10919,
318,
262,
5288,
2472,
1575,
284,
262,
4436,
326,
3407,
374,
15630,
11,
3339,
1523,
287,
428,
614,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
5288,
2472,
1575,
284,
262,
4436,
326,
3407,
374,
15630,
11,
3339,
1523,
287,
428,
614,
30,
46506,
20625,
7,
83,
16,
13,
66,
16,
8,
16034,
357,
46506,
35683,
7,
15805,
13,
15805,
8,
7054,
269,
16,
16034,
1575,
334... |
What is the venue for week 1? | SELECT "Venue" FROM table_62364 WHERE "Week" = '1' | [
2061,
318,
262,
14359,
329,
1285,
352,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
46872,
2414,
33411,
366,
20916,
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
] | [
2061,
318,
262,
14359,
329,
1285,
352,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
46872,
2414,
33411,
366,
20916,
1,
796,
705,
16,
6
] |
What's the Result of the Competition of 1998 FIFA World Cup Qualification with the Venue of Bangkok? | SELECT "Result" FROM table_52999 WHERE "Competition" = '1998 fifa world cup qualification' AND "Venue" = 'bangkok' | [
2061,
338,
262,
25414,
286,
262,
27348,
286,
7795,
21285,
2159,
5454,
9537,
2649,
351,
262,
9932,
518,
286,
35007,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
49721,
2079,
33411,
366,
7293,
15620,
1,
796,
705,
21113,
5515,
64,
995,
650... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
25414,
286,
262,
27348,
286,
7795,
21285,
2159,
5454,
9537,
2649,
351,
262,
9932,
518,
286,
35007,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
49721,
2079,
33411,
366,
7293,
15620,
1,
796,
705,
21113,
5515,
64,
995,
650... |
how many patients whose procedure long title is colonoscopy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Colonoscopy" | [
4919,
867,
3871,
3025,
8771,
890,
3670,
318,
7633,
17500,
11081,
30,
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,
796,
902... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3025,
8771,
890,
3670,
318,
7633,
17500,
11081,
30,
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,
796,
902... |
What was the average date with a record of 30-31-9 in a game over 70? | SELECT AVG(date) FROM table_name_29 WHERE record = "30-31-9" AND game > 70 | [
2061,
373,
262,
2811,
3128,
351,
257,
1700,
286,
1542,
12,
3132,
12,
24,
287,
257,
983,
625,
4317,
30,
46506,
35224,
7,
4475,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
1700,
796,
366,
1270,
12,
3132,
12,
24,
1,
5357,
983,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2811,
3128,
351,
257,
1700,
286,
1542,
12,
3132,
12,
24,
287,
257,
983,
625,
4317,
30,
46506,
35224,
7,
4475,
8,
16034,
3084,
62,
3672,
62,
1959,
33411,
1700,
796,
366,
1270,
12,
3132,
12,
24,
1,
5357,
983,
1875,
... |
For those employees who did not have any job in the past, a scatter chart shows the correlation between employee_id and salary . | SELECT EMPLOYEE_ID, SALARY FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
6538,
62,
312,
290,
9588,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
42475,
13153,
16034,
4409,
33411,
5626,
17228,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
257,
41058,
8262,
2523,
262,
16096,
1022,
6538,
62,
312,
290,
9588,
764,
46506,
17228,
6489,
21414,
6500,
62,
2389,
11,
42475,
13153,
16034,
4409,
33411,
5626,
17228,
... |
What is the total of rank when gold is 2 and total is more than 4? | SELECT SUM(rank) FROM table_name_99 WHERE gold = 2 AND total > 4 | [
2061,
318,
262,
2472,
286,
4279,
618,
3869,
318,
362,
290,
2472,
318,
517,
621,
604,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
3869,
796,
362,
5357,
2472,
1875,
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,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
286,
4279,
618,
3869,
318,
362,
290,
2472,
318,
517,
621,
604,
30,
46506,
35683,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
2079,
33411,
3869,
796,
362,
5357,
2472,
1875,
604
] |
Stacked bar of class and the number of class colored by Rank | SELECT Class, COUNT(Class) FROM captain GROUP BY Rank, Class | [
1273,
6021,
2318,
286,
1398,
290,
262,
1271,
286,
1398,
16396,
416,
10916,
46506,
5016,
11,
327,
28270,
7,
9487,
8,
16034,
10654,
44441,
11050,
10916,
11,
5016
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1273,
6021,
2318,
286,
1398,
290,
262,
1271,
286,
1398,
16396,
416,
10916,
46506,
5016,
11,
327,
28270,
7,
9487,
8,
16034,
10654,
44441,
11050,
10916,
11,
5016
] |
What is the lowest block that has 328 as the spike, and a height less than 186? | SELECT MIN(block) FROM table_name_20 WHERE spike = 328 AND height < 186 | [
2061,
318,
262,
9016,
2512,
326,
468,
39093,
355,
262,
20240,
11,
290,
257,
6001,
1342,
621,
28481,
30,
46506,
20625,
7,
9967,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
20240,
796,
39093,
5357,
6001,
1279,
28481
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2512,
326,
468,
39093,
355,
262,
20240,
11,
290,
257,
6001,
1342,
621,
28481,
30,
46506,
20625,
7,
9967,
8,
16034,
3084,
62,
3672,
62,
1238,
33411,
20240,
796,
39093,
5357,
6001,
1279,
28481
] |
What is the total 1961 number of the plandi te Macedonian population with a 1981 value greater than 1027? | SELECT COUNT(1961) FROM table_name_47 WHERE macedonian_population_in_vojvodina = "plandište" AND 1981 > 1027 | [
2061,
318,
262,
2472,
20510,
1271,
286,
262,
458,
26800,
573,
25942,
27625,
3265,
351,
257,
14745,
1988,
3744,
621,
838,
1983,
30,
46506,
327,
28270,
7,
1129,
5333,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
285,
2286,
27625,
62,
3974... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
20510,
1271,
286,
262,
458,
26800,
573,
25942,
27625,
3265,
351,
257,
14745,
1988,
3744,
621,
838,
1983,
30,
46506,
327,
28270,
7,
1129,
5333,
8,
16034,
3084,
62,
3672,
62,
2857,
33411,
285,
2286,
27625,
62,
3974... |
What's the resolution of the model with a PPD of 69? | SELECT resolution FROM table_27653752_1 WHERE pixels_per_degree__ppd_ = 69 | [
2061,
338,
262,
6323,
286,
262,
2746,
351,
257,
350,
5760,
286,
8644,
30,
46506,
6323,
16034,
3084,
62,
1983,
2996,
22318,
17,
62,
16,
33411,
17848,
62,
525,
62,
16863,
834,
381,
67,
62,
796,
8644
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
6323,
286,
262,
2746,
351,
257,
350,
5760,
286,
8644,
30,
46506,
6323,
16034,
3084,
62,
1983,
2996,
22318,
17,
62,
16,
33411,
17848,
62,
525,
62,
16863,
834,
381,
67,
62,
796,
8644
] |
select * from posts where posts.ViewCount > 15000 and posts.ViewCount < 20000. | SELECT * FROM Posts WHERE Posts.ViewCount > 15000 AND Posts.ViewCount < 20000 | [
19738,
1635,
422,
6851,
810,
6851,
13,
7680,
12332,
1875,
1315,
830,
290,
6851,
13,
7680,
12332,
1279,
939,
405,
13,
46506,
1635,
16034,
12043,
33411,
12043,
13,
7680,
12332,
1875,
1315,
830,
5357,
12043,
13,
7680,
12332,
1279,
939,
405... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19738,
1635,
422,
6851,
810,
6851,
13,
7680,
12332,
1875,
1315,
830,
290,
6851,
13,
7680,
12332,
1279,
939,
405,
13,
46506,
1635,
16034,
12043,
33411,
12043,
13,
7680,
12332,
1875,
1315,
830,
5357,
12043,
13,
7680,
12332,
1279,
939,
405... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.