instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
when did patient 002-58884 in 11/this year receive the base excess test for the last time? | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-58884')) AND lab.labname = 'base excess' AND DATETIME(lab.labresulttime, 'start... | [
12518,
750,
5827,
3571,
17,
12,
3365,
40353,
287,
1367,
14,
5661,
614,
3328,
262,
2779,
6992,
1332,
329,
262,
938,
640,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
5827,
3571,
17,
12,
3365,
40353,
287,
1367,
14,
5661,
614,
3328,
262,
2779,
6992,
1332,
329,
262,
938,
640,
30,
46506,
2248,
13,
23912,
20274,
2435,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
... |
What is the Sport with a Name that is gustav larsson? | SELECT sport FROM table_name_9 WHERE name = "gustav larsson" | [
2061,
318,
262,
12771,
351,
257,
6530,
326,
318,
35253,
615,
26371,
16528,
30,
46506,
6332,
16034,
3084,
62,
3672,
62,
24,
33411,
1438,
796,
366,
70,
436,
615,
26371,
16528,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
12771,
351,
257,
6530,
326,
318,
35253,
615,
26371,
16528,
30,
46506,
6332,
16034,
3084,
62,
3672,
62,
24,
33411,
1438,
796,
366,
70,
436,
615,
26371,
16528,
1
] |
Which Lost has a Position of 3, and a Drawn larger than 3? | SELECT SUM("Lost") FROM table_37112 WHERE "Position" = '3' AND "Drawn" > '3' | [
13828,
9164,
468,
257,
23158,
286,
513,
11,
290,
257,
50061,
4025,
621,
513,
30,
46506,
35683,
7203,
31042,
4943,
16034,
3084,
62,
2718,
14686,
33411,
366,
26545,
1,
796,
705,
18,
6,
5357,
366,
35,
5791,
1,
1875,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
9164,
468,
257,
23158,
286,
513,
11,
290,
257,
50061,
4025,
621,
513,
30,
46506,
35683,
7203,
31042,
4943,
16034,
3084,
62,
2718,
14686,
33411,
366,
26545,
1,
796,
705,
18,
6,
5357,
366,
35,
5791,
1,
1875,
705,
18,
6
] |
What is the air date when the U.S. viewers was 5.50 million? | SELECT original_airdate FROM table_17467447_1 WHERE us_viewers__million_ = "5.50" | [
2061,
318,
262,
1633,
3128,
618,
262,
471,
13,
50,
13,
10209,
373,
642,
13,
1120,
1510,
30,
46506,
2656,
62,
958,
4475,
16034,
3084,
62,
22985,
3134,
34825,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
20,
13,
1120... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1633,
3128,
618,
262,
471,
13,
50,
13,
10209,
373,
642,
13,
1120,
1510,
30,
46506,
2656,
62,
958,
4475,
16034,
3084,
62,
22985,
3134,
34825,
62,
16,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
20,
13,
1120... |
What is the lowest number of top 10 finishes | SELECT MIN(top_10) FROM table_1875157_1 | [
2061,
318,
262,
9016,
1271,
286,
1353,
838,
20271,
46506,
20625,
7,
4852,
62,
940,
8,
16034,
3084,
62,
1507,
2425,
18458,
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
] | [
2061,
318,
262,
9016,
1271,
286,
1353,
838,
20271,
46506,
20625,
7,
4852,
62,
940,
8,
16034,
3084,
62,
1507,
2425,
18458,
62,
16
] |
List all the distinct stations from which a trip of duration below 100 started. | SELECT DISTINCT start_station_name FROM trip WHERE duration < 100 | [
8053,
477,
262,
7310,
8985,
422,
543,
257,
5296,
286,
9478,
2174,
1802,
2067,
13,
46506,
360,
8808,
1268,
4177,
923,
62,
17529,
62,
3672,
16034,
5296,
33411,
9478,
1279,
1802
] | [
1,
1,
1,
1,
1,
1,
1,
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,
477,
262,
7310,
8985,
422,
543,
257,
5296,
286,
9478,
2174,
1802,
2067,
13,
46506,
360,
8808,
1268,
4177,
923,
62,
17529,
62,
3672,
16034,
5296,
33411,
9478,
1279,
1802
] |
Who was the visitor at 5:00 pm? | SELECT "Visitor" FROM table_39668 WHERE "Time" = '5:00 pm' | [
8241,
373,
262,
21493,
379,
642,
25,
405,
9114,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2670,
35809,
33411,
366,
7575,
1,
796,
705,
20,
25,
405,
9114,
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
] | [
8241,
373,
262,
21493,
379,
642,
25,
405,
9114,
30,
46506,
366,
15854,
2072,
1,
16034,
3084,
62,
2670,
35809,
33411,
366,
7575,
1,
796,
705,
20,
25,
405,
9114,
6
] |
Assignment 1 - Step 8: Data File 5. | SELECT * FROM Posts WHERE Posts.ViewCount > 24231 AND Posts.ViewCount < 30580 | [
8021,
16747,
352,
532,
5012,
807,
25,
6060,
9220,
642,
13,
46506,
1635,
16034,
12043,
33411,
12043,
13,
7680,
12332,
1875,
1987,
25667,
5357,
12043,
13,
7680,
12332,
1279,
32747,
1795
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8021,
16747,
352,
532,
5012,
807,
25,
6060,
9220,
642,
13,
46506,
1635,
16034,
12043,
33411,
12043,
13,
7680,
12332,
1875,
1987,
25667,
5357,
12043,
13,
7680,
12332,
1279,
32747,
1795
] |
Which event resulted in loss with an Opponent of maurice smith? | SELECT event FROM table_name_52 WHERE res = "loss" AND opponent = "maurice smith" | [
13828,
1785,
8724,
287,
2994,
351,
281,
9385,
3471,
286,
285,
2899,
501,
895,
342,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4309,
33411,
581,
796,
366,
22462,
1,
5357,
6125,
796,
366,
2611,
333,
501,
895,
342,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1785,
8724,
287,
2994,
351,
281,
9385,
3471,
286,
285,
2899,
501,
895,
342,
30,
46506,
1785,
16034,
3084,
62,
3672,
62,
4309,
33411,
581,
796,
366,
22462,
1,
5357,
6125,
796,
366,
2611,
333,
501,
895,
342,
1
] |
Who had 0.00% in 2004? | SELECT "Party" FROM table_55581 WHERE "Results 2004" = '0.00%' | [
8241,
550,
657,
13,
405,
4,
287,
5472,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
2816,
48630,
33411,
366,
25468,
5472,
1,
796,
705,
15,
13,
405,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
550,
657,
13,
405,
4,
287,
5472,
30,
46506,
366,
33553,
1,
16034,
3084,
62,
2816,
48630,
33411,
366,
25468,
5472,
1,
796,
705,
15,
13,
405,
4,
6
] |
what flights leaving PITTSBURGH arrive in DENVER and leave after say 1800 o'clock at night | 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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND flight.departure_time > 1800 AND flight.to_airport = AIRPORT_SERVICE_1.airpor... | [
10919,
13956,
4305,
49040,
4694,
38926,
17511,
9240,
287,
37692,
5959,
290,
2666,
706,
910,
21431,
267,
6,
15750,
379,
1755,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4305,
49040,
4694,
38926,
17511,
9240,
287,
37692,
5959,
290,
2666,
706,
910,
21431,
267,
6,
15750,
379,
1755,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
... |
What is the highest reset points where the events is 23? | SELECT MAX("Reset Points") FROM table_18052 WHERE "Events" = '23' | [
2061,
318,
262,
4511,
13259,
2173,
810,
262,
2995,
318,
2242,
30,
46506,
25882,
7203,
4965,
316,
11045,
4943,
16034,
3084,
62,
1507,
37841,
33411,
366,
37103,
1,
796,
705,
1954,
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,
262,
4511,
13259,
2173,
810,
262,
2995,
318,
2242,
30,
46506,
25882,
7203,
4965,
316,
11045,
4943,
16034,
3084,
62,
1507,
37841,
33411,
366,
37103,
1,
796,
705,
1954,
6
] |
When was the attendance 65,806? | SELECT date FROM table_name_40 WHERE attendance = "65,806" | [
2215,
373,
262,
14858,
6135,
11,
37988,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1821,
33411,
14858,
796,
366,
2996,
11,
37988,
1
] | [
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,
373,
262,
14858,
6135,
11,
37988,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1821,
33411,
14858,
796,
366,
2996,
11,
37988,
1
] |
What was Stockholm's score when Malmo scored 2? | SELECT stockholm FROM table_name_54 WHERE malmö = "2" | [
2061,
373,
29679,
338,
4776,
618,
4434,
5908,
7781,
362,
30,
46506,
4283,
22981,
16034,
3084,
62,
3672,
62,
4051,
33411,
6428,
76,
9101,
796,
366,
17,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
29679,
338,
4776,
618,
4434,
5908,
7781,
362,
30,
46506,
4283,
22981,
16034,
3084,
62,
3672,
62,
4051,
33411,
6428,
76,
9101,
796,
366,
17,
1
] |
Which High points have a Score of w 110-81? | SELECT "High points" FROM table_9842 WHERE "Score" = 'w 110-81' | [
13828,
3334,
2173,
423,
257,
15178,
286,
266,
9796,
12,
6659,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
4089,
3682,
33411,
366,
26595,
1,
796,
705,
86,
9796,
12,
6659,
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,
3334,
2173,
423,
257,
15178,
286,
266,
9796,
12,
6659,
30,
46506,
366,
11922,
2173,
1,
16034,
3084,
62,
4089,
3682,
33411,
366,
26595,
1,
796,
705,
86,
9796,
12,
6659,
6
] |
what is the yearly minimum amount of drain out #2 jackson pratt that patient 739 had since 07/2105? | SELECT MIN(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 739)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'drain... | [
10919,
318,
262,
24169,
5288,
2033,
286,
14782,
503,
1303,
17,
14509,
1559,
778,
1078,
326,
5827,
767,
2670,
550,
1201,
8753,
14,
17,
13348,
30,
46506,
20625,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
3341... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24169,
5288,
2033,
286,
14782,
503,
1303,
17,
14509,
1559,
778,
1078,
326,
5827,
767,
2670,
550,
1201,
8753,
14,
17,
13348,
30,
46506,
20625,
7,
448,
79,
1133,
85,
658,
13,
8367,
8,
16034,
38701,
1133,
85,
658,
3341... |
count the number of patients diagnosed with acute diastolic heart failure who had ascitic fluid lab test. | 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 = "Acute diastolic heart failure" AND lab.fluid = "Ascites" | [
9127,
262,
1271,
286,
3871,
14641,
351,
14352,
2566,
459,
4160,
2612,
5287,
508,
550,
10570,
16233,
11711,
2248,
1332,
13,
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... | [
9127,
262,
1271,
286,
3871,
14641,
351,
14352,
2566,
459,
4160,
2612,
5287,
508,
550,
10570,
16233,
11711,
2248,
1332,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... |
What is the 1978 Veteran membership with a late 1941 macedonia and a late 1943 less than 10,000? | SELECT SUM(1978 AS _veteran_membership) FROM table_name_66 WHERE NOT _late_1941 = "macedonia" AND late_1943 < 10 OFFSET 000 | [
2061,
318,
262,
15524,
32733,
9931,
351,
257,
2739,
23234,
285,
2286,
11339,
290,
257,
2739,
21577,
1342,
621,
838,
11,
830,
30,
46506,
35683,
7,
37950,
7054,
4808,
303,
353,
272,
62,
30814,
1056,
8,
16034,
3084,
62,
3672,
62,
2791,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15524,
32733,
9931,
351,
257,
2739,
23234,
285,
2286,
11339,
290,
257,
2739,
21577,
1342,
621,
838,
11,
830,
30,
46506,
35683,
7,
37950,
7054,
4808,
303,
353,
272,
62,
30814,
1056,
8,
16034,
3084,
62,
3672,
62,
2791,
... |
In what Country/Territory did Jason Keatly win Mr. Gay Internatnional? | SELECT country_territory FROM table_name_89 WHERE mr_gay_international = "jason keatly" | [
818,
644,
12946,
14,
15156,
799,
652,
750,
8982,
3873,
265,
306,
1592,
1770,
13,
16013,
2445,
265,
77,
1538,
30,
46506,
1499,
62,
353,
799,
652,
16034,
3084,
62,
3672,
62,
4531,
33411,
285,
81,
62,
22744,
62,
45609,
796,
366,
73,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
818,
644,
12946,
14,
15156,
799,
652,
750,
8982,
3873,
265,
306,
1592,
1770,
13,
16013,
2445,
265,
77,
1538,
30,
46506,
1499,
62,
353,
799,
652,
16034,
3084,
62,
3672,
62,
4531,
33411,
285,
81,
62,
22744,
62,
45609,
796,
366,
73,
... |
Which County has a Precincts of 33/33? | SELECT county FROM table_name_88 WHERE precincts = "33/33" | [
13828,
3418,
468,
257,
28737,
4612,
82,
286,
4747,
14,
2091,
30,
46506,
7968,
16034,
3084,
62,
3672,
62,
3459,
33411,
47564,
796,
366,
2091,
14,
2091,
1
] | [
1,
1,
1,
1,
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,
3418,
468,
257,
28737,
4612,
82,
286,
4747,
14,
2091,
30,
46506,
7968,
16034,
3084,
62,
3672,
62,
3459,
33411,
47564,
796,
366,
2091,
14,
2091,
1
] |
What is the 2003 value with a 1r in 1998, a 14 in 1994, and a 7-12 career? | SELECT 2003 FROM table_name_50 WHERE 1998 = "1r" AND 1994 = "1r" AND career = "7-12" | [
2061,
318,
262,
5816,
1988,
351,
257,
352,
81,
287,
7795,
11,
257,
1478,
287,
9162,
11,
290,
257,
767,
12,
1065,
3451,
30,
46506,
5816,
16034,
3084,
62,
3672,
62,
1120,
33411,
7795,
796,
366,
16,
81,
1,
5357,
9162,
796,
366,
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
] | [
2061,
318,
262,
5816,
1988,
351,
257,
352,
81,
287,
7795,
11,
257,
1478,
287,
9162,
11,
290,
257,
767,
12,
1065,
3451,
30,
46506,
5816,
16034,
3084,
62,
3672,
62,
1120,
33411,
7795,
796,
366,
16,
81,
1,
5357,
9162,
796,
366,
16,
... |
What is the highest number of losses when there are under 1 games played? | SELECT MAX("Lost") FROM table_71081 WHERE "Played" < '1' | [
2061,
318,
262,
4511,
1271,
286,
9089,
618,
612,
389,
739,
352,
1830,
2826,
30,
46506,
25882,
7203,
31042,
4943,
16034,
3084,
62,
43147,
6659,
33411,
366,
11002,
276,
1,
1279,
705,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4511,
1271,
286,
9089,
618,
612,
389,
739,
352,
1830,
2826,
30,
46506,
25882,
7203,
31042,
4943,
16034,
3084,
62,
43147,
6659,
33411,
366,
11002,
276,
1,
1279,
705,
16,
6
] |
What is the result for the match against Wataru Sakata? | SELECT "Res." FROM table_47710 WHERE "Opponent" = 'wataru sakata' | [
2061,
318,
262,
1255,
329,
262,
2872,
1028,
370,
9459,
84,
13231,
1045,
30,
46506,
366,
4965,
526,
16034,
3084,
62,
32883,
940,
33411,
366,
27524,
3471,
1,
796,
705,
86,
9459,
84,
264,
461,
1045,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
329,
262,
2872,
1028,
370,
9459,
84,
13231,
1045,
30,
46506,
366,
4965,
526,
16034,
3084,
62,
32883,
940,
33411,
366,
27524,
3471,
1,
796,
705,
86,
9459,
84,
264,
461,
1045,
6
] |
What is the highest Champions, with a Final greater than 0, and a Series Won of 53.85%? | SELECT MAX("Champions") FROM table_10329 WHERE "Series Won %" = '53.85%' AND "Final" > '0' | [
2061,
318,
262,
4511,
6662,
11,
351,
257,
8125,
3744,
621,
657,
11,
290,
257,
7171,
23306,
286,
7192,
13,
5332,
4,
30,
46506,
25882,
7203,
1925,
4350,
4943,
16034,
3084,
62,
15197,
1959,
33411,
366,
27996,
23306,
4064,
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
] | [
2061,
318,
262,
4511,
6662,
11,
351,
257,
8125,
3744,
621,
657,
11,
290,
257,
7171,
23306,
286,
7192,
13,
5332,
4,
30,
46506,
25882,
7203,
1925,
4350,
4943,
16034,
3084,
62,
15197,
1959,
33411,
366,
27996,
23306,
4064,
1,
796,
705,
... |
what is the hospital admission times of patient 017-94690? | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '017-94690' | [
10919,
318,
262,
4436,
13938,
1661,
286,
5827,
5534,
22,
12,
5824,
35844,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
29326,
12,
5824,
35844,
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
] | [
10919,
318,
262,
4436,
13938,
1661,
286,
5827,
5534,
22,
12,
5824,
35844,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
29326,
12,
5824,
35844,
6
] |
What is the school of the player with a college hall of fame nevers hof profile? | SELECT "School" FROM table_38918 WHERE "College Hall of Fame" = 'nevers hof profile' | [
2061,
318,
262,
1524,
286,
262,
2137,
351,
257,
4152,
6899,
286,
16117,
497,
690,
289,
1659,
7034,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
29769,
1507,
33411,
366,
38951,
4789,
286,
18864,
1,
796,
705,
710,
690,
289,
1659,
7034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1524,
286,
262,
2137,
351,
257,
4152,
6899,
286,
16117,
497,
690,
289,
1659,
7034,
30,
46506,
366,
26130,
1,
16034,
3084,
62,
29769,
1507,
33411,
366,
38951,
4789,
286,
18864,
1,
796,
705,
710,
690,
289,
1659,
7034,
... |
SELECT TOP 5 p.body FROM Posts as p where p contains 'cowsay';. | SELECT * FROM Posts AS p WHERE p.Body LIKE '%cowsay%' LIMIT 5 | [
46506,
28662,
642,
279,
13,
2618,
16034,
12043,
355,
279,
810,
279,
4909,
705,
66,
1666,
323,
17020,
13,
46506,
1635,
16034,
12043,
7054,
279,
33411,
279,
13,
25842,
34178,
705,
4,
66,
1666,
323,
4,
6,
27564,
2043,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
46506,
28662,
642,
279,
13,
2618,
16034,
12043,
355,
279,
810,
279,
4909,
705,
66,
1666,
323,
17020,
13,
46506,
1635,
16034,
12043,
7054,
279,
33411,
279,
13,
25842,
34178,
705,
4,
66,
1666,
323,
4,
6,
27564,
2043,
642
] |
When is the next time EECS 520 is offered ? | SELECT DISTINCT semester.semester, semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 520 AND course_offering.semester = semester.semester_id AND semester.semester_id > (SELECT SEMESTERalias1.semester_id FROM semeste... | [
2215,
318,
262,
1306,
640,
412,
2943,
50,
36141,
318,
4438,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2215,
318,
262,
1306,
640,
412,
2943,
50,
36141,
318,
4438,
5633,
46506,
360,
8808,
1268,
4177,
24878,
13,
325,
6880,
353,
11,
24878,
13,
1941,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
24878,
33411,
1781,
13,
17319,
62,
312,
796,
... |
How many ranks by average for the couple Tana and Stuart? | SELECT COUNT(rank_by_average) FROM table_26375386_28 WHERE couple = "Tana and Stuart" | [
2437,
867,
9803,
416,
2811,
329,
262,
3155,
309,
2271,
290,
22559,
30,
46506,
327,
28270,
7,
43027,
62,
1525,
62,
23913,
8,
16034,
3084,
62,
2075,
22318,
21734,
62,
2078,
33411,
3155,
796,
366,
51,
2271,
290,
22559,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9803,
416,
2811,
329,
262,
3155,
309,
2271,
290,
22559,
30,
46506,
327,
28270,
7,
43027,
62,
1525,
62,
23913,
8,
16034,
3084,
62,
2075,
22318,
21734,
62,
2078,
33411,
3155,
796,
366,
51,
2271,
290,
22559,
1
] |
Name the subdivides in equivalence for varas 1/5 | SELECT "Subdivides in" FROM table_28774 WHERE "Equivalence in Varas" = '1/5' | [
5376,
262,
45944,
1460,
287,
6854,
594,
329,
1401,
292,
352,
14,
20,
46506,
366,
7004,
7146,
1460,
287,
1,
16034,
3084,
62,
2078,
47582,
33411,
366,
23588,
2473,
594,
287,
12372,
292,
1,
796,
705,
16,
14,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
45944,
1460,
287,
6854,
594,
329,
1401,
292,
352,
14,
20,
46506,
366,
7004,
7146,
1460,
287,
1,
16034,
3084,
62,
2078,
47582,
33411,
366,
23588,
2473,
594,
287,
12372,
292,
1,
796,
705,
16,
14,
20,
6
] |
What is Bullet weight, when Source is hornady? | SELECT bullet_weight FROM table_name_99 WHERE source = "hornady" | [
2061,
318,
18003,
3463,
11,
618,
8090,
318,
12718,
4597,
30,
46506,
10492,
62,
6551,
16034,
3084,
62,
3672,
62,
2079,
33411,
2723,
796,
366,
25311,
4597,
1
] | [
1,
1,
1,
1,
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,
18003,
3463,
11,
618,
8090,
318,
12718,
4597,
30,
46506,
10492,
62,
6551,
16034,
3084,
62,
3672,
62,
2079,
33411,
2723,
796,
366,
25311,
4597,
1
] |
How many starters are there at right tackle? | SELECT COUNT(starter) FROM table_25517718_3 WHERE position = "Right tackle" | [
2437,
867,
19896,
389,
612,
379,
826,
9761,
30,
46506,
327,
28270,
7,
12339,
8,
16034,
3084,
62,
13381,
22413,
1507,
62,
18,
33411,
2292,
796,
366,
11028,
9761,
1
] | [
1,
1,
1,
1,
1,
1,
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,
19896,
389,
612,
379,
826,
9761,
30,
46506,
327,
28270,
7,
12339,
8,
16034,
3084,
62,
13381,
22413,
1507,
62,
18,
33411,
2292,
796,
366,
11028,
9761,
1
] |
how many painters received a mark of 14 for color ? | SELECT COUNT("painter") FROM table_203_186 WHERE "color" = 14 | [
4919,
867,
2356,
1010,
2722,
257,
1317,
286,
1478,
329,
3124,
5633,
46506,
327,
28270,
7203,
35436,
353,
4943,
16034,
3084,
62,
22416,
62,
25096,
33411,
366,
8043,
1,
796,
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
] | [
4919,
867,
2356,
1010,
2722,
257,
1317,
286,
1478,
329,
3124,
5633,
46506,
327,
28270,
7203,
35436,
353,
4943,
16034,
3084,
62,
22416,
62,
25096,
33411,
366,
8043,
1,
796,
1478
] |
What is the maximum number of poles? | SELECT MAX("Poles") FROM table_4275 | [
2061,
318,
262,
5415,
1271,
286,
24971,
30,
46506,
25882,
7203,
47,
4316,
4943,
16034,
3084,
62,
19,
23195
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5415,
1271,
286,
24971,
30,
46506,
25882,
7203,
47,
4316,
4943,
16034,
3084,
62,
19,
23195
] |
Which opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)? | SELECT opponents_in_the_final FROM table_name_63 WHERE partner = "katarina srebotnik" AND championship = "wimbledon (4)" | [
13828,
6125,
287,
262,
2457,
550,
257,
5212,
286,
8595,
283,
1437,
311,
260,
13645,
17187,
290,
257,
12184,
286,
266,
320,
49258,
357,
19,
19427,
46506,
7691,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
5066,
33411,
5212,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6125,
287,
262,
2457,
550,
257,
5212,
286,
8595,
283,
1437,
311,
260,
13645,
17187,
290,
257,
12184,
286,
266,
320,
49258,
357,
19,
19427,
46506,
7691,
62,
259,
62,
1169,
62,
20311,
16034,
3084,
62,
3672,
62,
5066,
33411,
5212,... |
Create a pie chart showing how many country name across country name. | SELECT COUNTRY_NAME, COUNT(COUNTRY_NAME) FROM countries GROUP BY COUNTRY_NAME | [
16447,
257,
2508,
8262,
4478,
703,
867,
1499,
1438,
1973,
1499,
1438,
13,
46506,
31404,
40405,
62,
20608,
11,
327,
28270,
7,
34,
19385,
40405,
62,
20608,
8,
16034,
2678,
44441,
11050,
31404,
40405,
62,
20608
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2508,
8262,
4478,
703,
867,
1499,
1438,
1973,
1499,
1438,
13,
46506,
31404,
40405,
62,
20608,
11,
327,
28270,
7,
34,
19385,
40405,
62,
20608,
8,
16034,
2678,
44441,
11050,
31404,
40405,
62,
20608
] |
What are the ids and names of the medicine that can interact with two or more enzymes Visualize by bar chart, could you order id from low to high order? | SELECT name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id ORDER BY id | [
2061,
389,
262,
220,
2340,
290,
3891,
286,
262,
9007,
326,
460,
9427,
351,
734,
393,
517,
29120,
15612,
1096,
416,
2318,
8262,
11,
714,
345,
1502,
4686,
422,
1877,
284,
1029,
1502,
30,
46506,
1438,
11,
4686,
16034,
9007,
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... | [
2061,
389,
262,
220,
2340,
290,
3891,
286,
262,
9007,
326,
460,
9427,
351,
734,
393,
517,
29120,
15612,
1096,
416,
2318,
8262,
11,
714,
345,
1502,
4686,
422,
1877,
284,
1029,
1502,
30,
46506,
1438,
11,
4686,
16034,
9007,
7054,
309,
... |
Search for questions that were closed as duplicate to one of your questions. | SELECT pl.PostId AS "post_link", pl.RelatedPostId AS "post_link" FROM PostLinks AS pl JOIN Posts AS p ON p.Id = pl.RelatedPostId WHERE p.Id = '##questionId##' AND p.PostTypeId = 1 AND pl.LinkTypeId = 3 | [
18243,
329,
2683,
326,
547,
4838,
355,
23418,
284,
530,
286,
534,
2683,
13,
46506,
458,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
458,
13,
9819,
6307,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
2947,
31815,
7054,
458,
32357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
18243,
329,
2683,
326,
547,
4838,
355,
23418,
284,
530,
286,
534,
2683,
13,
46506,
458,
13,
6307,
7390,
7054,
366,
7353,
62,
8726,
1600,
458,
13,
9819,
6307,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
2947,
31815,
7054,
458,
32357,
... |
show me the flights from DAL to all other airports | SELECT DISTINCT flight.flight_id FROM airport, flight WHERE airport.airport_code = 'DAL' AND flight.from_airport = airport.airport_code | [
12860,
502,
262,
13956,
422,
360,
1847,
284,
477,
584,
22600,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
11,
5474,
33411,
9003,
13,
958,
634,
62,
8189,
796,
705,
35,
1847,
6,
5357,
5474,
13,
6738,
62,
958,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
13956,
422,
360,
1847,
284,
477,
584,
22600,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
11,
5474,
33411,
9003,
13,
958,
634,
62,
8189,
796,
705,
35,
1847,
6,
5357,
5474,
13,
6738,
62,
958,
... |
Find the name of rooms whose price is higher than the average price. | SELECT roomName FROM Rooms WHERE basePrice > (SELECT AVG(basePrice) FROM Rooms) | [
16742,
262,
1438,
286,
9519,
3025,
2756,
318,
2440,
621,
262,
2811,
2756,
13,
46506,
2119,
5376,
16034,
42043,
33411,
2779,
18124,
1875,
357,
46506,
35224,
7,
8692,
18124,
8,
16034,
42043,
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
] | [
16742,
262,
1438,
286,
9519,
3025,
2756,
318,
2440,
621,
262,
2811,
2756,
13,
46506,
2119,
5376,
16034,
42043,
33411,
2779,
18124,
1875,
357,
46506,
35224,
7,
8692,
18124,
8,
16034,
42043,
8
] |
A bar chart about what are the main indstries and total market value for each industry? | SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry | [
32,
2318,
8262,
546,
644,
389,
262,
1388,
773,
301,
1678,
290,
2472,
1910,
1988,
329,
1123,
2831,
30,
46506,
8774,
62,
35848,
563,
11,
35683,
7,
27470,
62,
11395,
8,
16034,
1664,
44441,
11050,
8774,
62,
35848,
563
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
546,
644,
389,
262,
1388,
773,
301,
1678,
290,
2472,
1910,
1988,
329,
1123,
2831,
30,
46506,
8774,
62,
35848,
563,
11,
35683,
7,
27470,
62,
11395,
8,
16034,
1664,
44441,
11050,
8774,
62,
35848,
563
] |
Which player had a rank of 8 and tally of 1-5? | SELECT "Player" FROM table_64541 WHERE "Rank" = '8' AND "Tally" = '1-5' | [
13828,
2137,
550,
257,
4279,
286,
807,
290,
26767,
286,
352,
12,
20,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
49259,
3901,
33411,
366,
27520,
1,
796,
705,
23,
6,
5357,
366,
51,
453,
1,
796,
705,
16,
12,
20,
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
] | [
13828,
2137,
550,
257,
4279,
286,
807,
290,
26767,
286,
352,
12,
20,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
49259,
3901,
33411,
366,
27520,
1,
796,
705,
23,
6,
5357,
366,
51,
453,
1,
796,
705,
16,
12,
20,
6
] |
give me the number of patients whose primary disease is st-segment elevation myocardial infarction\cardiac cath? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ST-SEGMENT ELEVATION MYOCARDIAL INFARCTION\CARDIAC CATH" | [
26535,
502,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
336,
12,
325,
5154,
22910,
616,
44412,
498,
1167,
283,
596,
59,
9517,
9607,
32171,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
336,
12,
325,
5154,
22910,
616,
44412,
498,
1167,
283,
596,
59,
9517,
9607,
32171,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
... |
i would like the time of your earliest flight in the morning from PHILADELPHIA to WASHINGTON on AA | SELECT DISTINCT flight.departure_time FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((((flight.airline_code = 'AA') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND flight.to_airport = AIRPORT_SERVI... | [
72,
561,
588,
262,
640,
286,
534,
14555,
5474,
287,
262,
3329,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
370,
19436,
319,
317,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
10378,
433,
495,
62,
2435,
16034,
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... | [
72,
561,
588,
262,
640,
286,
534,
14555,
5474,
287,
262,
3329,
422,
9370,
4146,
2885,
3698,
11909,
3539,
284,
370,
19436,
319,
317,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
10378,
433,
495,
62,
2435,
16034,
9003,
62,
15271,
7054... |
What is the total number of byes for teams with against of 2139 and more than 0 draws? | SELECT COUNT(byes) FROM table_name_70 WHERE against = 2139 AND draws > 0 | [
2061,
318,
262,
2472,
1271,
286,
416,
274,
329,
3466,
351,
1028,
286,
362,
20219,
290,
517,
621,
657,
14293,
30,
46506,
327,
28270,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
1028,
796,
362,
20219,
5357,
14293,
1875,
6... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
416,
274,
329,
3466,
351,
1028,
286,
362,
20219,
290,
517,
621,
657,
14293,
30,
46506,
327,
28270,
7,
1525,
274,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
1028,
796,
362,
20219,
5357,
14293,
1875,
6... |
which artist came on the list after oasis ? | SELECT "artist" FROM table_204_220 WHERE id = (SELECT id FROM table_204_220 WHERE "artist" = 'oasis') + 1 | [
4758,
6802,
1625,
319,
262,
1351,
706,
267,
17765,
5633,
46506,
366,
49016,
1,
16034,
3084,
62,
18638,
62,
17572,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
17572,
33411,
366,
49016,
1,
796,
705,
78,
17765,
11537,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6802,
1625,
319,
262,
1351,
706,
267,
17765,
5633,
46506,
366,
49016,
1,
16034,
3084,
62,
18638,
62,
17572,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
17572,
33411,
366,
49016,
1,
796,
705,
78,
17765,
11537,
... |
Which driver was number 2 ? | SELECT driver FROM table_20159025_1 WHERE no = "2‡" | [
13828,
4639,
373,
1271,
362,
5633,
46506,
4639,
16034,
3084,
62,
1264,
3270,
36629,
62,
16,
33411,
645,
796,
366,
17,
447,
94,
1
] | [
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,
4639,
373,
1271,
362,
5633,
46506,
4639,
16034,
3084,
62,
1264,
3270,
36629,
62,
16,
33411,
645,
796,
366,
17,
447,
94,
1
] |
What inverse subjunctive has as the imperative and a subjunctive of se m chadn? | SELECT inverse_subjunctive FROM table_name_9 WHERE imperative = "—" AND subjunctive = "se måchadn" | [
2061,
34062,
850,
29741,
14070,
468,
355,
262,
23602,
290,
257,
850,
29741,
14070,
286,
384,
285,
442,
324,
77,
30,
46506,
34062,
62,
7266,
29741,
14070,
16034,
3084,
62,
3672,
62,
24,
33411,
23602,
796,
366,
19056,
5357,
850,
29741,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
34062,
850,
29741,
14070,
468,
355,
262,
23602,
290,
257,
850,
29741,
14070,
286,
384,
285,
442,
324,
77,
30,
46506,
34062,
62,
7266,
29741,
14070,
16034,
3084,
62,
3672,
62,
24,
33411,
23602,
796,
366,
19056,
5357,
850,
29741,
... |
how many of the patients with benign neoplasm of spinal meninges were treated with a base drug? | 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.long_title = "Benign neoplasm of spinal meninges" AND prescriptions.drug_type = "BASE" | [
4919,
867,
286,
262,
3871,
351,
32293,
497,
20106,
8597,
286,
26234,
1450,
26792,
547,
5716,
351,
257,
2779,
2563,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4919,
867,
286,
262,
3871,
351,
32293,
497,
20106,
8597,
286,
26234,
1450,
26792,
547,
5716,
351,
257,
2779,
2563,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
4... |
give the number of patients whose ethnicity is hispanic or latino and they have been given the drug sarna lotion. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND prescriptions.drug = "Sarna Lotion" | [
26535,
262,
1271,
286,
3871,
3025,
26289,
318,
465,
35843,
393,
3042,
2879,
290,
484,
423,
587,
1813,
262,
2563,
264,
28610,
1256,
295,
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... | [
26535,
262,
1271,
286,
3871,
3025,
26289,
318,
465,
35843,
393,
3042,
2879,
290,
484,
423,
587,
1813,
262,
2563,
264,
28610,
1256,
295,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
... |
What are the price ranges of hotels? | SELECT price_range FROM hotels | [
2061,
389,
262,
2756,
16069,
286,
18505,
30,
46506,
2756,
62,
9521,
16034,
18505
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
2756,
16069,
286,
18505,
30,
46506,
2756,
62,
9521,
16034,
18505
] |
On what date was the Opponent Chicago Bears? | SELECT date FROM table_name_84 WHERE opponent = "chicago bears" | [
2202,
644,
3128,
373,
262,
9385,
3471,
4842,
15682,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5705,
33411,
6125,
796,
366,
354,
4549,
13062,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
373,
262,
9385,
3471,
4842,
15682,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
5705,
33411,
6125,
796,
366,
354,
4549,
13062,
1
] |
What is the number of each allergie type the girl named Lisa has? Show bar chart, and I want to sort by the X from low to high please. | SELECT AllergyType, COUNT(AllergyType) FROM Allergy_Type AS T1 JOIN Has_Allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = "Lisa" GROUP BY AllergyType ORDER BY AllergyType | [
2061,
318,
262,
1271,
286,
1123,
30975,
494,
2099,
262,
2576,
3706,
15378,
468,
30,
5438,
2318,
8262,
11,
290,
314,
765,
284,
3297,
416,
262,
1395,
422,
1877,
284,
1029,
3387,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
3237,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
1271,
286,
1123,
30975,
494,
2099,
262,
2576,
3706,
15378,
468,
30,
5438,
2318,
8262,
11,
290,
314,
765,
284,
3297,
416,
262,
1395,
422,
1877,
284,
1029,
3387,
13,
46506,
1439,
26079,
6030,
11,
327,
28270,
7,
3237,
2... |
What is the largest number for tropical Lows for the 1990 91 season with more than 10 tropical cyclones? | SELECT MAX("Tropical Lows") FROM table_36945 WHERE "Season" = '1990–91' AND "Tropical Cyclones" > '10' | [
2061,
318,
262,
4387,
1271,
329,
19690,
406,
1666,
329,
262,
6303,
10495,
1622,
351,
517,
621,
838,
19690,
11700,
1952,
30,
46506,
25882,
7203,
51,
1773,
605,
406,
1666,
4943,
16034,
3084,
62,
30803,
2231,
33411,
366,
18960,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4387,
1271,
329,
19690,
406,
1666,
329,
262,
6303,
10495,
1622,
351,
517,
621,
838,
19690,
11700,
1952,
30,
46506,
25882,
7203,
51,
1773,
605,
406,
1666,
4943,
16034,
3084,
62,
30803,
2231,
33411,
366,
18960,
1,
796,
7... |
what was the top three most frequent diagnoses given to patients in the same hospital encounter after they were diagnosed with oral thrush? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'oral ... | [
10919,
373,
262,
1353,
1115,
749,
10792,
40567,
1813,
284,
3871,
287,
262,
976,
4436,
8791,
706,
484,
547,
14641,
351,
12886,
5636,
1530,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1353,
1115,
749,
10792,
40567,
1813,
284,
3871,
287,
262,
976,
4436,
8791,
706,
484,
547,
14641,
351,
12886,
5636,
1530,
30,
46506,
256,
18,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
17,
13,
47356,
5958,
3672,
11... |
find out the route of drug administration for the patient with patient id 2560. | SELECT prescriptions.route FROM prescriptions WHERE prescriptions.subject_id = "2560" | [
19796,
503,
262,
6339,
286,
2563,
3662,
329,
262,
5827,
351,
5827,
4686,
1679,
1899,
13,
46506,
34092,
13,
38629,
16034,
34092,
33411,
34092,
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
] | [
19796,
503,
262,
6339,
286,
2563,
3662,
329,
262,
5827,
351,
5827,
4686,
1679,
1899,
13,
46506,
34092,
13,
38629,
16034,
34092,
33411,
34092,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
Who wrote the episode that aired December 1, 1956? | SELECT writer_s_ FROM table_25800134_1 WHERE airdate = "December 1, 1956" | [
8241,
2630,
262,
4471,
326,
18530,
3426,
352,
11,
25190,
30,
46506,
6260,
62,
82,
62,
16034,
3084,
62,
1495,
7410,
19880,
62,
16,
33411,
257,
1447,
378,
796,
366,
20588,
352,
11,
25190,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2630,
262,
4471,
326,
18530,
3426,
352,
11,
25190,
30,
46506,
6260,
62,
82,
62,
16034,
3084,
62,
1495,
7410,
19880,
62,
16,
33411,
257,
1447,
378,
796,
366,
20588,
352,
11,
25190,
1
] |
have magnesium sulfate in d5w 1 gram/100 ml iv piggy back : 100 ml, 1 ml vial : hydralazine hcl 20 mg/ml ij soln, or 1000 ml flex cont: lactated ringers iv soln been prescribed for patient 030-84846 in this year? | SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-84846')) AND medication.drugname IN ('magnesium sulfate in d5w 1 gram/... | [
14150,
33525,
22443,
378,
287,
288,
20,
86,
352,
14599,
14,
3064,
25962,
21628,
12967,
1360,
736,
1058,
1802,
25962,
11,
352,
25962,
410,
498,
1058,
7409,
1373,
4994,
289,
565,
1160,
10527,
14,
4029,
1312,
73,
1540,
77,
11,
393,
8576,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
14150,
33525,
22443,
378,
287,
288,
20,
86,
352,
14599,
14,
3064,
25962,
21628,
12967,
1360,
736,
1058,
1802,
25962,
11,
352,
25962,
410,
498,
1058,
7409,
1373,
4994,
289,
565,
1160,
10527,
14,
4029,
1312,
73,
1540,
77,
11,
393,
8576,... |
What kind of Silver has a Nation of norway and a Gold smaller than 3? | SELECT SUM("Silver") FROM table_7670 WHERE "Nation" = 'norway' AND "Gold" < '3' | [
2061,
1611,
286,
7698,
468,
257,
8741,
286,
4249,
1014,
290,
257,
3561,
4833,
621,
513,
30,
46506,
35683,
7203,
26766,
4943,
16034,
3084,
62,
4304,
2154,
33411,
366,
46108,
1,
796,
705,
13099,
1014,
6,
5357,
366,
13306,
1,
1279,
705,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1611,
286,
7698,
468,
257,
8741,
286,
4249,
1014,
290,
257,
3561,
4833,
621,
513,
30,
46506,
35683,
7203,
26766,
4943,
16034,
3084,
62,
4304,
2154,
33411,
366,
46108,
1,
796,
705,
13099,
1014,
6,
5357,
366,
13306,
1,
1279,
705,
... |
Which class has less in quantity than 174 between the years 1921 23? | SELECT class FROM table_name_43 WHERE quantity < 174 AND date = "1921–23" | [
13828,
1398,
468,
1342,
287,
12040,
621,
27621,
1022,
262,
812,
35369,
2242,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
3559,
33411,
12040,
1279,
27621,
5357,
3128,
796,
366,
1129,
2481,
1906,
1954,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1398,
468,
1342,
287,
12040,
621,
27621,
1022,
262,
812,
35369,
2242,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
3559,
33411,
12040,
1279,
27621,
5357,
3128,
796,
366,
1129,
2481,
1906,
1954,
1
] |
What was the total number who attended during week 11? | SELECT COUNT(attendance) FROM table_name_98 WHERE week = 11 | [
2061,
373,
262,
2472,
1271,
508,
9141,
1141,
1285,
1367,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
1285,
796,
1367
] | [
1,
1,
1,
1,
1,
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,
2472,
1271,
508,
9141,
1141,
1285,
1367,
30,
46506,
327,
28270,
7,
1078,
437,
590,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
1285,
796,
1367
] |
What city did an event have a prize of 288,180? | SELECT city FROM table_name_96 WHERE prize = "€288,180" | [
2061,
1748,
750,
281,
1785,
423,
257,
11596,
286,
35419,
11,
15259,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
4846,
33411,
11596,
796,
366,
26391,
25270,
11,
15259,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1748,
750,
281,
1785,
423,
257,
11596,
286,
35419,
11,
15259,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
4846,
33411,
11596,
796,
366,
26391,
25270,
11,
15259,
1
] |
Tell me the lowest placings for United Kingdom and rank less than 13 | SELECT MIN("Placings") FROM table_57158 WHERE "Nation" = 'united kingdom' AND "Rank" < '13' | [
24446,
502,
262,
9016,
21957,
654,
329,
1578,
7526,
290,
4279,
1342,
621,
1511,
46506,
20625,
7203,
3646,
330,
654,
4943,
16034,
3084,
62,
3553,
21273,
33411,
366,
46108,
1,
796,
705,
41187,
13239,
6,
5357,
366,
27520,
1,
1279,
705,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24446,
502,
262,
9016,
21957,
654,
329,
1578,
7526,
290,
4279,
1342,
621,
1511,
46506,
20625,
7203,
3646,
330,
654,
4943,
16034,
3084,
62,
3553,
21273,
33411,
366,
46108,
1,
796,
705,
41187,
13239,
6,
5357,
366,
27520,
1,
1279,
705,
1... |
which position did pierre bajoc play? | SELECT position FROM table_24565004_3 WHERE name = "Pierre Bajoc" | [
4758,
2292,
750,
17748,
260,
275,
1228,
420,
711,
30,
46506,
2292,
16034,
3084,
62,
22995,
2996,
22914,
62,
18,
33411,
1438,
796,
366,
36910,
347,
1228,
420,
1
] | [
1,
1,
1,
1,
1,
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,
2292,
750,
17748,
260,
275,
1228,
420,
711,
30,
46506,
2292,
16034,
3084,
62,
22995,
2996,
22914,
62,
18,
33411,
1438,
796,
366,
36910,
347,
1228,
420,
1
] |
Find the name and capacity of products with price greater than 700 (in USD) Show bar chart, and show Y-axis in ascending order. | SELECT catalog_entry_name, capacity FROM Catalog_Contents WHERE price_in_dollars > 700 ORDER BY capacity | [
16742,
262,
1438,
290,
5339,
286,
3186,
351,
2756,
3744,
621,
13037,
357,
259,
11403,
8,
5438,
2318,
8262,
11,
290,
905,
575,
12,
22704,
287,
41988,
1502,
13,
46506,
18388,
62,
13000,
62,
3672,
11,
5339,
16034,
44515,
62,
15842,
33411... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1438,
290,
5339,
286,
3186,
351,
2756,
3744,
621,
13037,
357,
259,
11403,
8,
5438,
2318,
8262,
11,
290,
905,
575,
12,
22704,
287,
41988,
1502,
13,
46506,
18388,
62,
13000,
62,
3672,
11,
5339,
16034,
44515,
62,
15842,
33411... |
Which Semi finalists had a Week of may 15? | SELECT semi_finalists FROM table_name_30 WHERE week = "may 15" | [
13828,
35525,
43736,
550,
257,
6119,
286,
743,
1315,
30,
46506,
10663,
62,
20311,
1023,
16034,
3084,
62,
3672,
62,
1270,
33411,
1285,
796,
366,
11261,
1315,
1
] | [
1,
1,
1,
1,
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,
35525,
43736,
550,
257,
6119,
286,
743,
1315,
30,
46506,
10663,
62,
20311,
1023,
16034,
3084,
62,
3672,
62,
1270,
33411,
1285,
796,
366,
11261,
1315,
1
] |
Show the transaction type descriptions and dates if the share count is smaller than 10. | SELECT T1.transaction_type_description, T2.date_of_transaction FROM Ref_Transaction_Types AS T1 JOIN TRANSACTIONS AS T2 ON T1.transaction_type_code = T2.transaction_type_code WHERE T2.share_count < 10 | [
15307,
262,
8611,
2099,
16969,
290,
9667,
611,
262,
2648,
954,
318,
4833,
621,
838,
13,
46506,
309,
16,
13,
7645,
2673,
62,
4906,
62,
11213,
11,
309,
17,
13,
4475,
62,
1659,
62,
7645,
2673,
16034,
6524,
62,
48720,
62,
31431,
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... | [
15307,
262,
8611,
2099,
16969,
290,
9667,
611,
262,
2648,
954,
318,
4833,
621,
838,
13,
46506,
309,
16,
13,
7645,
2673,
62,
4906,
62,
11213,
11,
309,
17,
13,
4475,
62,
1659,
62,
7645,
2673,
16034,
6524,
62,
48720,
62,
31431,
7054,
... |
what is the number of patients whose admission type is emergency and with procedure nasal sinus dx proc nec? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.short_title = "Nasal sinus dx proc NEC" | [
10919,
318,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
6334,
290,
351,
8771,
40829,
7813,
385,
44332,
13834,
27576,
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,
13938,
2099,
318,
6334,
290,
351,
8771,
40829,
7813,
385,
44332,
13834,
27576,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... |
how many patients whose admission type is urgent and drug code is clot10? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.formulary_drug_cd = "CLOT10" | [
4919,
867,
3871,
3025,
13938,
2099,
318,
18039,
290,
2563,
2438,
318,
5148,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13938,
2099,
318,
18039,
290,
2563,
2438,
318,
5148,
940,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
... |
What is the lowest disposable USD 2011? | SELECT MIN(disposable_usd_2011) FROM table_24486462_1 | [
2061,
318,
262,
9016,
32445,
11403,
2813,
30,
46506,
20625,
7,
6381,
1930,
540,
62,
385,
67,
62,
9804,
8,
16034,
3084,
62,
1731,
2780,
2414,
5237,
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
] | [
2061,
318,
262,
9016,
32445,
11403,
2813,
30,
46506,
20625,
7,
6381,
1930,
540,
62,
385,
67,
62,
9804,
8,
16034,
3084,
62,
1731,
2780,
2414,
5237,
62,
16
] |
What is the highest against when the lost is 3 with less than 30 points? | SELECT MAX(against) FROM table_name_73 WHERE lost = 3 AND points < 30 | [
2061,
318,
262,
4511,
1028,
618,
262,
2626,
318,
513,
351,
1342,
621,
1542,
2173,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
2626,
796,
513,
5357,
2173,
1279,
1542
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1028,
618,
262,
2626,
318,
513,
351,
1342,
621,
1542,
2173,
30,
46506,
25882,
7,
32826,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
2626,
796,
513,
5357,
2173,
1279,
1542
] |
Give me a bar chart to show how many days with a max temperature greater than or equal to 80 for each year, and could you list total number in ascending order? | SELECT date, COUNT(date) FROM weather WHERE max_temperature_f >= 80 ORDER BY COUNT(date) | [
23318,
502,
257,
2318,
8262,
284,
905,
703,
867,
1528,
351,
257,
3509,
5951,
3744,
621,
393,
4961,
284,
4019,
329,
1123,
614,
11,
290,
714,
345,
1351,
2472,
1271,
287,
41988,
1502,
30,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
284,
905,
703,
867,
1528,
351,
257,
3509,
5951,
3744,
621,
393,
4961,
284,
4019,
329,
1123,
614,
11,
290,
714,
345,
1351,
2472,
1271,
287,
41988,
1502,
30,
46506,
3128,
11,
327,
28270,
7,
4475,
8,
16034,... |
Who is the Incumbent of the Democratic Party at an election after 1992 in the New York 1 District who was Re-elected? | SELECT "Incumbent" FROM table_59520 WHERE "Party" = 'democratic' AND "Results" = 're-elected' AND "First elected" > '1992' AND "District" = 'new york 1' | [
8241,
318,
262,
3457,
2178,
298,
286,
262,
4390,
3615,
379,
281,
3071,
706,
9768,
287,
262,
968,
1971,
352,
5665,
508,
373,
797,
12,
28604,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
3270,
31211,
33411,
366,
33553,
1,
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... | [
8241,
318,
262,
3457,
2178,
298,
286,
262,
4390,
3615,
379,
281,
3071,
706,
9768,
287,
262,
968,
1971,
352,
5665,
508,
373,
797,
12,
28604,
30,
46506,
366,
25517,
2178,
298,
1,
16034,
3084,
62,
3270,
31211,
33411,
366,
33553,
1,
796... |
The Liberal Ticket listed which candidate when Jack A. Martin was listed on the Free Libertarian Ticket? | SELECT liberal_ticket FROM table_name_21 WHERE free_libertarian_ticket = "jack a. martin" | [
464,
12266,
24014,
5610,
543,
4540,
618,
3619,
317,
13,
5780,
373,
5610,
319,
262,
3232,
30226,
24014,
30,
46506,
7270,
62,
43350,
16034,
3084,
62,
3672,
62,
2481,
33411,
1479,
62,
33203,
14012,
62,
43350,
796,
366,
19650,
257,
13,
11... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
12266,
24014,
5610,
543,
4540,
618,
3619,
317,
13,
5780,
373,
5610,
319,
262,
3232,
30226,
24014,
30,
46506,
7270,
62,
43350,
16034,
3084,
62,
3672,
62,
2481,
33411,
1479,
62,
33203,
14012,
62,
43350,
796,
366,
19650,
257,
13,
11... |
What are all the round 3's after 1982? | SELECT "Round 3" FROM table_20043 WHERE "From" = '1982' | [
2061,
389,
477,
262,
2835,
513,
338,
706,
14489,
30,
46506,
366,
22685,
513,
1,
16034,
3084,
62,
2167,
3559,
33411,
366,
4863,
1,
796,
705,
30763,
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,
389,
477,
262,
2835,
513,
338,
706,
14489,
30,
46506,
366,
22685,
513,
1,
16034,
3084,
62,
2167,
3559,
33411,
366,
4863,
1,
796,
705,
30763,
6
] |
Tell me the county for mariano castro | SELECT county FROM table_name_48 WHERE grantee = "mariano castro" | [
24446,
502,
262,
7968,
329,
1667,
10115,
3350,
305,
46506,
7968,
16034,
3084,
62,
3672,
62,
2780,
33411,
7264,
1453,
796,
366,
76,
3699,
78,
3350,
305,
1
] | [
1,
1,
1,
1,
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,
7968,
329,
1667,
10115,
3350,
305,
46506,
7968,
16034,
3084,
62,
3672,
62,
2780,
33411,
7264,
1453,
796,
366,
76,
3699,
78,
3350,
305,
1
] |
name a senator who was elected before brown . | SELECT "name" FROM table_204_293 WHERE id = (SELECT id FROM table_204_293 WHERE "name" = 'troy brown') - 1 | [
3672,
257,
12329,
508,
373,
7018,
878,
7586,
764,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
31675,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
31675,
33411,
366,
3672,
1,
796,
705,
83,
3287,
7586,
11537,
532... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
3672,
257,
12329,
508,
373,
7018,
878,
7586,
764,
46506,
366,
3672,
1,
16034,
3084,
62,
18638,
62,
31675,
33411,
4686,
796,
357,
46506,
4686,
16034,
3084,
62,
18638,
62,
31675,
33411,
366,
3672,
1,
796,
705,
83,
3287,
7586,
11537,
532... |
How long has Sebastian Telfair played for Toronto? | SELECT "Years in Toronto" FROM table_32062 WHERE "Player" = 'sebastian telfair' | [
2437,
890,
468,
26190,
309,
7046,
958,
2826,
329,
6586,
30,
46506,
366,
40630,
287,
6586,
1,
16034,
3084,
62,
19504,
5237,
33411,
366,
14140,
1,
796,
705,
325,
65,
459,
666,
256,
7046,
958,
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
] | [
2437,
890,
468,
26190,
309,
7046,
958,
2826,
329,
6586,
30,
46506,
366,
40630,
287,
6586,
1,
16034,
3084,
62,
19504,
5237,
33411,
366,
14140,
1,
796,
705,
325,
65,
459,
666,
256,
7046,
958,
6
] |
give me the number of patients whose diagnoses long title is other respiratory problems after birth and drug type is main? | 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.long_title = "Other respiratory problems after birth" AND prescriptions.drug_type = "MAIN" | [
26535,
502,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
584,
22949,
2761,
706,
4082,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
26535,
502,
262,
1271,
286,
3871,
3025,
40567,
890,
3670,
318,
584,
22949,
2761,
706,
4082,
290,
2563,
2099,
318,
1388,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
12... |
I want the average events for top 10 less than 4 | SELECT AVG(events) FROM table_name_17 WHERE top_10 < 4 | [
40,
765,
262,
2811,
2995,
329,
1353,
838,
1342,
621,
604,
46506,
35224,
7,
31534,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
1353,
62,
940,
1279,
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
] | [
40,
765,
262,
2811,
2995,
329,
1353,
838,
1342,
621,
604,
46506,
35224,
7,
31534,
8,
16034,
3084,
62,
3672,
62,
1558,
33411,
1353,
62,
940,
1279,
604
] |
How many no votes from Alaska in 1998? | SELECT "No vote" FROM table_67455 WHERE "Date" = '1998' AND "State" = 'alaska' | [
2437,
867,
645,
5690,
422,
12926,
287,
7795,
30,
46506,
366,
2949,
3015,
1,
16034,
3084,
62,
3134,
30505,
33411,
366,
10430,
1,
796,
705,
21113,
6,
5357,
366,
9012,
1,
796,
705,
282,
8480,
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
] | [
2437,
867,
645,
5690,
422,
12926,
287,
7795,
30,
46506,
366,
2949,
3015,
1,
16034,
3084,
62,
3134,
30505,
33411,
366,
10430,
1,
796,
705,
21113,
6,
5357,
366,
9012,
1,
796,
705,
282,
8480,
6
] |
What engine did Scuderia Ambrosiana with fewer than 4 points have? | SELECT "Engine" FROM table_69943 WHERE "Entrant" = 'scuderia ambrosiana' AND "Points" < '4' | [
2061,
3113,
750,
1446,
463,
5142,
12457,
4951,
7484,
351,
7380,
621,
604,
2173,
423,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
47325,
3559,
33411,
366,
14539,
5250,
1,
796,
705,
1416,
463,
5142,
4915,
4951,
7484,
6,
5357,
366,
40710,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3113,
750,
1446,
463,
5142,
12457,
4951,
7484,
351,
7380,
621,
604,
2173,
423,
30,
46506,
366,
13798,
1,
16034,
3084,
62,
47325,
3559,
33411,
366,
14539,
5250,
1,
796,
705,
1416,
463,
5142,
4915,
4951,
7484,
6,
5357,
366,
40710,... |
What is the total number of points where there were 3 losses and a played number bigger than 12? | SELECT SUM(points) FROM table_name_40 WHERE lost = 3 AND played > 12 | [
2061,
318,
262,
2472,
1271,
286,
2173,
810,
612,
547,
513,
9089,
290,
257,
2826,
1271,
5749,
621,
1105,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2626,
796,
513,
5357,
2826,
1875,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
2173,
810,
612,
547,
513,
9089,
290,
257,
2826,
1271,
5749,
621,
1105,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1821,
33411,
2626,
796,
513,
5357,
2826,
1875,
1105
] |
What is the Academy Award for the Film Educating Peter? | SELECT "Academy Award" FROM table_13680 WHERE "Film" = 'educating peter' | [
2061,
318,
262,
8581,
11289,
329,
262,
13741,
7005,
803,
5613,
30,
46506,
366,
12832,
324,
3065,
11289,
1,
16034,
3084,
62,
20809,
1795,
33411,
366,
39750,
1,
796,
705,
18123,
803,
279,
2357,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
8581,
11289,
329,
262,
13741,
7005,
803,
5613,
30,
46506,
366,
12832,
324,
3065,
11289,
1,
16034,
3084,
62,
20809,
1795,
33411,
366,
39750,
1,
796,
705,
18123,
803,
279,
2357,
6
] |
what's the thursday iuppiter (jupiter) with friday venus (venus) being vendredi | SELECT "Thursday Iuppiter (Jupiter)" FROM table_17769 WHERE "Friday Venus (Venus)" = 'vendredi' | [
10919,
338,
262,
294,
3479,
1312,
7211,
2676,
357,
73,
21251,
8,
351,
1216,
2567,
8710,
385,
357,
574,
385,
8,
852,
10817,
445,
72,
46506,
366,
25381,
314,
7211,
2676,
357,
41,
21251,
16725,
16034,
3084,
62,
22413,
3388,
33411,
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
] | [
10919,
338,
262,
294,
3479,
1312,
7211,
2676,
357,
73,
21251,
8,
351,
1216,
2567,
8710,
385,
357,
574,
385,
8,
852,
10817,
445,
72,
46506,
366,
25381,
314,
7211,
2676,
357,
41,
21251,
16725,
16034,
3084,
62,
22413,
3388,
33411,
366,
... |
papers about object recognition | SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'object recognition' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid | [
40491,
546,
2134,
9465,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
15252,
9465,
6,
5357,
3348,
2539,
34675,
13,
2539... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40491,
546,
2134,
9465,
46506,
360,
8808,
1268,
4177,
3348,
13,
20189,
312,
16034,
1994,
34675,
11,
3348,
11,
3348,
2539,
34675,
33411,
1994,
34675,
13,
2539,
746,
8847,
12453,
796,
705,
15252,
9465,
6,
5357,
3348,
2539,
34675,
13,
2539... |
What is the % of seats where the difference is 0.19? | SELECT _percentage_of_seats FROM table_name_92 WHERE difference = "0.19" | [
2061,
318,
262,
4064,
286,
8632,
810,
262,
3580,
318,
657,
13,
1129,
30,
46506,
4808,
25067,
496,
62,
1659,
62,
325,
1381,
16034,
3084,
62,
3672,
62,
5892,
33411,
3580,
796,
366,
15,
13,
1129,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4064,
286,
8632,
810,
262,
3580,
318,
657,
13,
1129,
30,
46506,
4808,
25067,
496,
62,
1659,
62,
325,
1381,
16034,
3084,
62,
3672,
62,
5892,
33411,
3580,
796,
366,
15,
13,
1129,
1
] |
What is Ben-Tahir when Bello is 51? | SELECT ben_tahir FROM table_11447995_2 WHERE bello = "51" | [
2061,
318,
3932,
12,
51,
993,
343,
618,
7459,
78,
318,
6885,
30,
46506,
1888,
62,
83,
993,
343,
16034,
3084,
62,
1157,
34825,
33438,
62,
17,
33411,
8966,
78,
796,
366,
4349,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3932,
12,
51,
993,
343,
618,
7459,
78,
318,
6885,
30,
46506,
1888,
62,
83,
993,
343,
16034,
3084,
62,
1157,
34825,
33438,
62,
17,
33411,
8966,
78,
796,
366,
4349,
1
] |
What is Left Office, when Political Party is Ba'ath Party ( Syria Region ), and when Took Office is 7 March 1958? | SELECT "Left office" FROM table_9739 WHERE "Political party" = 'ba''ath party ( syria region )' AND "Took office" = '7 march 1958' | [
2061,
318,
9578,
4452,
11,
618,
14611,
3615,
318,
8999,
6,
776,
3615,
357,
4392,
17718,
10612,
290,
618,
309,
566,
4452,
318,
767,
2805,
24648,
30,
46506,
366,
18819,
2607,
1,
16034,
3084,
62,
5607,
2670,
33411,
366,
35443,
2151,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
9578,
4452,
11,
618,
14611,
3615,
318,
8999,
6,
776,
3615,
357,
4392,
17718,
10612,
290,
618,
309,
566,
4452,
318,
767,
2805,
24648,
30,
46506,
366,
18819,
2607,
1,
16034,
3084,
62,
5607,
2670,
33411,
366,
35443,
2151,
1,
... |
how many years did international passengers number at least 100,000 ? | SELECT COUNT("year") FROM table_203_396 WHERE "international passengers" >= 100000 | [
4919,
867,
812,
750,
3230,
10405,
1271,
379,
1551,
1802,
11,
830,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
22416,
62,
34107,
33411,
366,
45609,
10405,
1,
18189,
1802,
830
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
812,
750,
3230,
10405,
1271,
379,
1551,
1802,
11,
830,
5633,
46506,
327,
28270,
7203,
1941,
4943,
16034,
3084,
62,
22416,
62,
34107,
33411,
366,
45609,
10405,
1,
18189,
1802,
830
] |
What company constrcuted the vehicle with a circuit of oulton park on 15 april? | SELECT "Constructor" FROM table_77932 WHERE "Circuit" = 'oulton park' AND "Date" = '15 april' | [
2061,
1664,
1500,
6015,
7241,
262,
4038,
351,
257,
10349,
286,
267,
37944,
3952,
319,
1315,
46593,
346,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
40393,
2624,
33411,
366,
31560,
5013,
1,
796,
705,
2852,
1122,
3952,
6,
5357,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1664,
1500,
6015,
7241,
262,
4038,
351,
257,
10349,
286,
267,
37944,
3952,
319,
1315,
46593,
346,
30,
46506,
366,
42316,
273,
1,
16034,
3084,
62,
40393,
2624,
33411,
366,
31560,
5013,
1,
796,
705,
2852,
1122,
3952,
6,
5357,
366,... |
What is the Status with a novelty of gen et sp, and the name is haplocanthosaurus? | SELECT status FROM table_name_12 WHERE novelty = "gen et sp" AND name = "haplocanthosaurus" | [
2061,
318,
262,
12678,
351,
257,
31650,
286,
2429,
2123,
599,
11,
290,
262,
1438,
318,
42519,
420,
29313,
47650,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
1065,
33411,
31650,
796,
366,
5235,
2123,
599,
1,
5357,
1438,
796,
366,
3099,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12678,
351,
257,
31650,
286,
2429,
2123,
599,
11,
290,
262,
1438,
318,
42519,
420,
29313,
47650,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
1065,
33411,
31650,
796,
366,
5235,
2123,
599,
1,
5357,
1438,
796,
366,
3099,... |
Return a histogram on how many exhibitions has each artist had? | SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID | [
13615,
257,
1554,
21857,
319,
703,
867,
48130,
468,
1123,
6802,
550,
30,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
17127,
7054,
309,
16,
32357,
1268,
6802,
7054,
309,
17,
6177,
309,
16,
13,
43020,
62,
2389,
796,
309,
17,
13,
430... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13615,
257,
1554,
21857,
319,
703,
867,
48130,
468,
1123,
6802,
550,
30,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
17127,
7054,
309,
16,
32357,
1268,
6802,
7054,
309,
17,
6177,
309,
16,
13,
43020,
62,
2389,
796,
309,
17,
13,
430... |
What nationality is Demetris Nichols? | SELECT "Nationality" FROM table_54350 WHERE "Player" = 'demetris nichols' | [
2061,
29835,
318,
1897,
316,
2442,
38403,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
20,
3559,
1120,
33411,
366,
14140,
1,
796,
705,
9536,
316,
2442,
299,
488,
10220,
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,
29835,
318,
1897,
316,
2442,
38403,
30,
46506,
366,
16186,
414,
1,
16034,
3084,
62,
20,
3559,
1120,
33411,
366,
14140,
1,
796,
705,
9536,
316,
2442,
299,
488,
10220,
6
] |
count the number of patients whose admission year is less than 2157 and procedure long title is endoscopic sphincterotomy and papillotomy? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2157" AND procedures.long_title = "Endoscopic sphincterotomy and papillotomy" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
18458,
290,
8771,
890,
3670,
318,
886,
48228,
599,
71,
4612,
263,
38385,
290,
20461,
359,
38385,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
614,
318,
1342,
621,
362,
18458,
290,
8771,
890,
3670,
318,
886,
48228,
599,
71,
4612,
263,
38385,
290,
20461,
359,
38385,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
... |
I want to know the number of districts of markets they are on, and could you display in ascending by the y axis? | SELECT District, COUNT(District) FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID GROUP BY District ORDER BY COUNT(District) | [
40,
765,
284,
760,
262,
1271,
286,
12815,
286,
5939,
484,
389,
319,
11,
290,
714,
345,
3359,
287,
41988,
416,
262,
331,
16488,
30,
46506,
5665,
11,
327,
28270,
7,
44857,
8,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
1910,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
40,
765,
284,
760,
262,
1271,
286,
12815,
286,
5939,
484,
389,
319,
11,
290,
714,
345,
3359,
287,
41988,
416,
262,
331,
16488,
30,
46506,
5665,
11,
327,
28270,
7,
44857,
8,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
1910,
... |
count the number of patients who were prescribed thiamine in the same month after receiving a parent infus nutrit sub procedure since 5 years ago. | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'parent infu... | [
9127,
262,
1271,
286,
3871,
508,
547,
14798,
294,
1789,
500,
287,
262,
976,
1227,
706,
6464,
257,
2560,
1167,
385,
44867,
850,
8771,
1201,
642,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
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... | [
9127,
262,
1271,
286,
3871,
508,
547,
14798,
294,
1789,
500,
287,
262,
976,
1227,
706,
6464,
257,
2560,
1167,
385,
44867,
850,
8771,
1201,
642,
812,
2084,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
256,
16,
13,
32796,
62,
312,
... |
For all employees who have the letters D or S in their first name, give me the comparison about the amount of job_id over the job_id , and group by attribute job_id, show from high to low by the X-axis please. | SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID DESC | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1693,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
905,
422,
1029,
284,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1693,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
905,
422,
1029,
284,
... |
What years have joyce couwenberg as the character? | SELECT years FROM table_name_62 WHERE character = "joyce couwenberg" | [
2061,
812,
423,
8716,
344,
2284,
21006,
3900,
355,
262,
2095,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
5237,
33411,
2095,
796,
366,
2633,
344,
2284,
21006,
3900,
1
] | [
1,
1,
1,
1,
1,
1,
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,
423,
8716,
344,
2284,
21006,
3900,
355,
262,
2095,
30,
46506,
812,
16034,
3084,
62,
3672,
62,
5237,
33411,
2095,
796,
366,
2633,
344,
2284,
21006,
3900,
1
] |
When n is 3, what are all the ministires? | SELECT COUNT(ministries) FROM table_21422977_1 WHERE nº = 3 | [
2215,
299,
318,
513,
11,
644,
389,
477,
262,
949,
396,
2387,
30,
46506,
327,
28270,
7,
2201,
1678,
8,
16034,
3084,
62,
22291,
23539,
3324,
62,
16,
33411,
299,
36165,
796,
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
] | [
2215,
299,
318,
513,
11,
644,
389,
477,
262,
949,
396,
2387,
30,
46506,
327,
28270,
7,
2201,
1678,
8,
16034,
3084,
62,
22291,
23539,
3324,
62,
16,
33411,
299,
36165,
796,
513
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.