instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Bar chart x axis name y axis how many name, and could you sort in ascending by the Y? | SELECT Name, COUNT(Name) FROM editor GROUP BY Name ORDER BY COUNT(Name) | [
10374,
8262,
2124,
16488,
1438,
331,
16488,
703,
867,
1438,
11,
290,
714,
345,
3297,
287,
41988,
416,
262,
575,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
5464,
44441,
11050,
6530,
38678,
11050,
327,
28270,
7,
5376,
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
] | [
10374,
8262,
2124,
16488,
1438,
331,
16488,
703,
867,
1438,
11,
290,
714,
345,
3297,
287,
41988,
416,
262,
575,
30,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
5464,
44441,
11050,
6530,
38678,
11050,
327,
28270,
7,
5376,
8
] |
Name the Qual 2 which has the name of katherine legge | SELECT qual_2 FROM table_name_40 WHERE name = "katherine legge" | [
5376,
262,
9537,
362,
543,
468,
262,
1438,
286,
479,
15289,
1232,
469,
46506,
4140,
62,
17,
16034,
3084,
62,
3672,
62,
1821,
33411,
1438,
796,
366,
74,
15289,
1232,
469,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
9537,
362,
543,
468,
262,
1438,
286,
479,
15289,
1232,
469,
46506,
4140,
62,
17,
16034,
3084,
62,
3672,
62,
1821,
33411,
1438,
796,
366,
74,
15289,
1232,
469,
1
] |
which is the only driver whose vehicle used a brm 202 v12 engine ? | SELECT "driver" FROM table_203_1 WHERE "engine" = 'brm 202 v12' | [
4758,
318,
262,
691,
4639,
3025,
4038,
973,
257,
865,
76,
22131,
410,
1065,
3113,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
22416,
62,
16,
33411,
366,
18392,
1,
796,
705,
1671,
76,
22131,
410,
1065,
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
] | [
4758,
318,
262,
691,
4639,
3025,
4038,
973,
257,
865,
76,
22131,
410,
1065,
3113,
5633,
46506,
366,
26230,
1,
16034,
3084,
62,
22416,
62,
16,
33411,
366,
18392,
1,
796,
705,
1671,
76,
22131,
410,
1065,
6
] |
What is the lowest rank for El Paso Natural Gas Company Building? | SELECT MIN("Rank") FROM table_64743 WHERE "Name" = 'el paso natural gas company building' | [
2061,
318,
262,
9016,
4279,
329,
2574,
39245,
12068,
14345,
5834,
11819,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
33981,
3559,
33411,
366,
5376,
1,
796,
705,
417,
38836,
78,
3288,
3623,
1664,
2615,
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,
9016,
4279,
329,
2574,
39245,
12068,
14345,
5834,
11819,
30,
46506,
20625,
7203,
27520,
4943,
16034,
3084,
62,
33981,
3559,
33411,
366,
5376,
1,
796,
705,
417,
38836,
78,
3288,
3623,
1664,
2615,
6
] |
What was the lowest round for a tight end position? | SELECT MIN("Round") FROM table_36195 WHERE "Position" = 'tight end' | [
2061,
373,
262,
9016,
2835,
329,
257,
5381,
886,
2292,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
2623,
22186,
33411,
366,
26545,
1,
796,
705,
33464,
886,
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,
373,
262,
9016,
2835,
329,
257,
5381,
886,
2292,
30,
46506,
20625,
7203,
22685,
4943,
16034,
3084,
62,
2623,
22186,
33411,
366,
26545,
1,
796,
705,
33464,
886,
6
] |
what is the game when the opponent is @ chicago stags? | SELECT SUM("Game") FROM table_8875 WHERE "Opponent" = '@ chicago stags' | [
10919,
318,
262,
983,
618,
262,
6125,
318,
2488,
442,
4549,
336,
3775,
30,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
3459,
2425,
33411,
366,
27524,
3471,
1,
796,
705,
31,
442,
4549,
336,
3775,
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,
983,
618,
262,
6125,
318,
2488,
442,
4549,
336,
3775,
30,
46506,
35683,
7203,
8777,
4943,
16034,
3084,
62,
3459,
2425,
33411,
366,
27524,
3471,
1,
796,
705,
31,
442,
4549,
336,
3775,
6
] |
What are the names of customers who use payment method 'Cash'? | SELECT customer_name FROM customers WHERE payment_method = "Cash" | [
2061,
389,
262,
3891,
286,
4297,
508,
779,
6074,
2446,
705,
35361,
30960,
46506,
6491,
62,
3672,
16034,
4297,
33411,
6074,
62,
24396,
796,
366,
35361,
1
] | [
1,
1,
1,
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,
3891,
286,
4297,
508,
779,
6074,
2446,
705,
35361,
30960,
46506,
6491,
62,
3672,
16034,
4297,
33411,
6074,
62,
24396,
796,
366,
35361,
1
] |
How many rounds were run at Calder Park? | SELECT COUNT("Round") FROM table_58052 WHERE "Circuit" = 'calder park' | [
2437,
867,
9196,
547,
1057,
379,
36468,
3250,
30,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
39322,
4309,
33411,
366,
31560,
5013,
1,
796,
705,
9948,
1082,
3952,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
9196,
547,
1057,
379,
36468,
3250,
30,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
39322,
4309,
33411,
366,
31560,
5013,
1,
796,
705,
9948,
1082,
3952,
6
] |
Who were the candidates in district Wisconsin 1? | SELECT "Candidates" FROM table_697 WHERE "District" = 'Wisconsin 1' | [
8241,
547,
262,
5871,
287,
4783,
9279,
352,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
40035,
33411,
366,
44857,
1,
796,
705,
49097,
352,
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
] | [
8241,
547,
262,
5871,
287,
4783,
9279,
352,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
40035,
33411,
366,
44857,
1,
796,
705,
49097,
352,
6
] |
What was the date of appointment when J rgen Kohler was the outgoing manager? | SELECT date_of_appointment FROM table_17085981_2 WHERE outgoing_manager = "Jürgen Kohler" | [
2061,
373,
262,
3128,
286,
12557,
618,
449,
374,
5235,
24754,
1754,
373,
262,
28181,
4706,
30,
46506,
3128,
62,
1659,
62,
1324,
49805,
16034,
3084,
62,
1558,
2919,
3270,
6659,
62,
17,
33411,
28181,
62,
37153,
796,
366,
41,
25151,
5235... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
3128,
286,
12557,
618,
449,
374,
5235,
24754,
1754,
373,
262,
28181,
4706,
30,
46506,
3128,
62,
1659,
62,
1324,
49805,
16034,
3084,
62,
1558,
2919,
3270,
6659,
62,
17,
33411,
28181,
62,
37153,
796,
366,
41,
25151,
5235... |
what is patient 032-32248's height for the first time in their last hospital visit? | SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-32248' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1) AND NOT patient.admissionheight IS NULL ORDER... | [
10919,
318,
5827,
657,
2624,
12,
2624,
23045,
338,
6001,
329,
262,
717,
640,
287,
511,
938,
4436,
3187,
30,
46506,
5827,
13,
324,
3411,
17015,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
5827,
657,
2624,
12,
2624,
23045,
338,
6001,
329,
262,
717,
640,
287,
511,
938,
4436,
3187,
30,
46506,
5827,
13,
324,
3411,
17015,
16034,
5827,
33411,
5827,
13,
26029,
13948,
10057,
31712,
312,
3268,
357,
46506,
5827,
13,
... |
could you please list all of the classes of flights there are | SELECT DISTINCT booking_class FROM class_of_service | [
24089,
345,
3387,
1351,
477,
286,
262,
6097,
286,
13956,
612,
389,
46506,
360,
8808,
1268,
4177,
25452,
62,
4871,
16034,
1398,
62,
1659,
62,
15271
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
24089,
345,
3387,
1351,
477,
286,
262,
6097,
286,
13956,
612,
389,
46506,
360,
8808,
1268,
4177,
25452,
62,
4871,
16034,
1398,
62,
1659,
62,
15271
] |
Which date had a score of 5-1? | SELECT date FROM table_name_20 WHERE score = "5-1" | [
13828,
3128,
550,
257,
4776,
286,
642,
12,
16,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1238,
33411,
4776,
796,
366,
20,
12,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3128,
550,
257,
4776,
286,
642,
12,
16,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1238,
33411,
4776,
796,
366,
20,
12,
16,
1
] |
tell me the total number that were laid down on an unknown date . | SELECT COUNT(*) FROM table_204_781 WHERE "laid down" IS NULL | [
33331,
502,
262,
2472,
1271,
326,
547,
8104,
866,
319,
281,
6439,
3128,
764,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
49703,
33411,
366,
75,
1698,
866,
1,
3180,
15697
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33331,
502,
262,
2472,
1271,
326,
547,
8104,
866,
319,
281,
6439,
3128,
764,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
49703,
33411,
366,
75,
1698,
866,
1,
3180,
15697
] |
Name the number of season number for jeff truman | SELECT COUNT(season__number) FROM table_15838081_3 WHERE writer_s_ = "Jeff Truman" | [
5376,
262,
1271,
286,
1622,
1271,
329,
11223,
487,
491,
3778,
46506,
327,
28270,
7,
6230,
834,
17618,
8,
16034,
3084,
62,
1314,
5999,
1795,
6659,
62,
18,
33411,
6260,
62,
82,
62,
796,
366,
19139,
33027,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1622,
1271,
329,
11223,
487,
491,
3778,
46506,
327,
28270,
7,
6230,
834,
17618,
8,
16034,
3084,
62,
1314,
5999,
1795,
6659,
62,
18,
33411,
6260,
62,
82,
62,
796,
366,
19139,
33027,
1
] |
Count of Question with no Accepted Answer. | SELECT COUNT(Q.Id) FROM Posts AS Q WHERE Q.AcceptedAnswerId IS NULL AND Q.PostTypeId = 1 AND q.ClosedDate IS NULL | [
12332,
286,
18233,
351,
645,
21699,
276,
23998,
13,
46506,
327,
28270,
7,
48,
13,
7390,
8,
16034,
12043,
7054,
1195,
33411,
1195,
13,
38855,
276,
33706,
7390,
3180,
15697,
5357,
1195,
13,
6307,
6030,
7390,
796,
352,
5357,
10662,
13,
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
] | [
12332,
286,
18233,
351,
645,
21699,
276,
23998,
13,
46506,
327,
28270,
7,
48,
13,
7390,
8,
16034,
12043,
7054,
1195,
33411,
1195,
13,
38855,
276,
33706,
7390,
3180,
15697,
5357,
1195,
13,
6307,
6030,
7390,
796,
352,
5357,
10662,
13,
2... |
What is the highest episode number? | SELECT MAX(no) FROM table_23294081_11 | [
2061,
318,
262,
4511,
4471,
1271,
30,
46506,
25882,
7,
3919,
8,
16034,
3084,
62,
1954,
1959,
1821,
6659,
62,
1157
] | [
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,
4471,
1271,
30,
46506,
25882,
7,
3919,
8,
16034,
3084,
62,
1954,
1959,
1821,
6659,
62,
1157
] |
WHAT IS THE SAKA ERA WITH MONTHS IN MEDAM? | SELECT "Saka era" FROM table_49748 WHERE "Months in Malayalam Era" = 'medam' | [
32971,
3180,
3336,
311,
10206,
32,
18802,
13315,
25000,
4221,
50,
3268,
26112,
2390,
30,
46506,
366,
50,
8130,
6980,
1,
16034,
3084,
62,
38073,
2780,
33411,
366,
9069,
9998,
287,
4434,
323,
44949,
25466,
1,
796,
705,
1150,
321,
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
] | [
32971,
3180,
3336,
311,
10206,
32,
18802,
13315,
25000,
4221,
50,
3268,
26112,
2390,
30,
46506,
366,
50,
8130,
6980,
1,
16034,
3084,
62,
38073,
2780,
33411,
366,
9069,
9998,
287,
4434,
323,
44949,
25466,
1,
796,
705,
1150,
321,
6
] |
How many average carries for the player with 3 as a long? | SELECT AVG(car) FROM table_name_58 WHERE long = "3" | [
2437,
867,
2811,
10732,
329,
262,
2137,
351,
513,
355,
257,
890,
30,
46506,
35224,
7,
7718,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
890,
796,
366,
18,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2811,
10732,
329,
262,
2137,
351,
513,
355,
257,
890,
30,
46506,
35224,
7,
7718,
8,
16034,
3084,
62,
3672,
62,
3365,
33411,
890,
796,
366,
18,
1
] |
Find the year and semester when offers the largest number of courses. | SELECT semester, YEAR FROM SECTION GROUP BY semester, YEAR ORDER BY COUNT(*) DESC LIMIT 1 | [
16742,
262,
614,
290,
24878,
618,
4394,
262,
4387,
1271,
286,
10902,
13,
46506,
24878,
11,
32914,
16034,
44513,
44441,
11050,
24878,
11,
32914,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
614,
290,
24878,
618,
4394,
262,
4387,
1271,
286,
10902,
13,
46506,
24878,
11,
32914,
16034,
44513,
44441,
11050,
24878,
11,
32914,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
What is the home team of the game on May 22 with the Edmonton Oilers as the visiting team? | SELECT "Home" FROM table_14390 WHERE "Visitor" = 'edmonton oilers' AND "Date" = 'may 22' | [
2061,
318,
262,
1363,
1074,
286,
262,
983,
319,
1737,
2534,
351,
262,
21165,
35004,
355,
262,
10013,
1074,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
1415,
25964,
33411,
366,
15854,
2072,
1,
796,
705,
276,
19729,
3056,
364,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1363,
1074,
286,
262,
983,
319,
1737,
2534,
351,
262,
21165,
35004,
355,
262,
10013,
1074,
30,
46506,
366,
16060,
1,
16034,
3084,
62,
1415,
25964,
33411,
366,
15854,
2072,
1,
796,
705,
276,
19729,
3056,
364,
6,
5357,
... |
When was the poll that showed 54% for and 22% undecided conducted? | SELECT "Date of opinion poll" FROM table_23809 WHERE "For" = '54%' AND "Undecided" = '22%' | [
2215,
373,
262,
3278,
326,
3751,
7175,
4,
329,
290,
2534,
4,
39511,
5952,
30,
46506,
366,
10430,
286,
4459,
3278,
1,
16034,
3084,
62,
1954,
34583,
33411,
366,
1890,
1,
796,
705,
4051,
4,
6,
5357,
366,
31319,
35503,
1,
796,
705,
18... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3278,
326,
3751,
7175,
4,
329,
290,
2534,
4,
39511,
5952,
30,
46506,
366,
10430,
286,
4459,
3278,
1,
16034,
3084,
62,
1954,
34583,
33411,
366,
1890,
1,
796,
705,
4051,
4,
6,
5357,
366,
31319,
35503,
1,
796,
705,
18... |
were there more n31 or e34 ordered ? | SELECT "order" FROM table_204_737 WHERE "order" IN ('n31', 'e34') ORDER BY "quantity" DESC LIMIT 1 | [
22474,
612,
517,
299,
3132,
393,
304,
2682,
6149,
5633,
46506,
366,
2875,
1,
16034,
3084,
62,
18638,
62,
22,
2718,
33411,
366,
2875,
1,
3268,
19203,
77,
3132,
3256,
705,
68,
2682,
11537,
38678,
11050,
366,
40972,
414,
1,
22196,
34,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
22474,
612,
517,
299,
3132,
393,
304,
2682,
6149,
5633,
46506,
366,
2875,
1,
16034,
3084,
62,
18638,
62,
22,
2718,
33411,
366,
2875,
1,
3268,
19203,
77,
3132,
3256,
705,
68,
2682,
11537,
38678,
11050,
366,
40972,
414,
1,
22196,
34,
... |
drop goals larger than 0, and a Penalties of 52, and a Number larger than 5 had what lowest score? | SELECT MIN("Score") FROM table_70938 WHERE "drop goals" > '0' AND "Penalties" = '52' AND "Number" > '5' | [
14781,
4661,
4025,
621,
657,
11,
290,
257,
7507,
10355,
286,
6740,
11,
290,
257,
7913,
4025,
621,
642,
550,
644,
9016,
4776,
30,
46506,
20625,
7203,
26595,
4943,
16034,
3084,
62,
31495,
2548,
33411,
366,
14781,
4661,
1,
1875,
705,
15,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
14781,
4661,
4025,
621,
657,
11,
290,
257,
7507,
10355,
286,
6740,
11,
290,
257,
7913,
4025,
621,
642,
550,
644,
9016,
4776,
30,
46506,
20625,
7203,
26595,
4943,
16034,
3084,
62,
31495,
2548,
33411,
366,
14781,
4661,
1,
1875,
705,
15,... |
What is the lowest poles of team comtec racing, which has a nc position? | SELECT MIN("Poles") FROM table_13933 WHERE "Position" = 'nc' AND "Team" = 'comtec racing' | [
2061,
318,
262,
9016,
24971,
286,
1074,
401,
36281,
11717,
11,
543,
468,
257,
299,
66,
2292,
30,
46506,
20625,
7203,
47,
4316,
4943,
16034,
3084,
62,
20219,
2091,
33411,
366,
26545,
1,
796,
705,
10782,
6,
5357,
366,
15592,
1,
796,
7... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9016,
24971,
286,
1074,
401,
36281,
11717,
11,
543,
468,
257,
299,
66,
2292,
30,
46506,
20625,
7203,
47,
4316,
4943,
16034,
3084,
62,
20219,
2091,
33411,
366,
26545,
1,
796,
705,
10782,
6,
5357,
366,
15592,
1,
796,
7... |
What is the End Source from the Hartlepool United Loan Club? | SELECT "End Source" FROM table_14703 WHERE "Loan Club" = 'hartlepool united' | [
2061,
318,
262,
5268,
8090,
422,
262,
11345,
293,
7742,
1578,
32314,
6289,
30,
46506,
366,
12915,
8090,
1,
16034,
3084,
62,
1415,
36809,
33411,
366,
43,
24611,
6289,
1,
796,
705,
18647,
293,
7742,
16503,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5268,
8090,
422,
262,
11345,
293,
7742,
1578,
32314,
6289,
30,
46506,
366,
12915,
8090,
1,
16034,
3084,
62,
1415,
36809,
33411,
366,
43,
24611,
6289,
1,
796,
705,
18647,
293,
7742,
16503,
6
] |
What 1997 has grand slams for the 1999? | SELECT "1997" FROM table_34160 WHERE "1999" = 'grand slams' | [
2061,
8309,
468,
4490,
45846,
329,
262,
7358,
30,
46506,
366,
21498,
1,
16034,
3084,
62,
2682,
14198,
33411,
366,
18946,
1,
796,
705,
23936,
45846,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
8309,
468,
4490,
45846,
329,
262,
7358,
30,
46506,
366,
21498,
1,
16034,
3084,
62,
2682,
14198,
33411,
366,
18946,
1,
796,
705,
23936,
45846,
6
] |
What is Justin Leonard with a To par of 7's Score? | SELECT "Score" FROM table_12811 WHERE "To par" = '–7' AND "Player" = 'justin leonard' | [
2061,
318,
10799,
20131,
351,
257,
1675,
1582,
286,
767,
338,
15178,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
12762,
1157,
33411,
366,
2514,
1582,
1,
796,
705,
1906,
22,
6,
5357,
366,
14140,
1,
796,
705,
3137,
259,
443,
261,
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,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
10799,
20131,
351,
257,
1675,
1582,
286,
767,
338,
15178,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
12762,
1157,
33411,
366,
2514,
1582,
1,
796,
705,
1906,
22,
6,
5357,
366,
14140,
1,
796,
705,
3137,
259,
443,
261,
446,
... |
which athlete from poland had the lowest time ? | SELECT "athlete" FROM table_204_155 WHERE "nationality" = 'poland' ORDER BY "time" LIMIT 1 | [
4758,
16076,
422,
755,
392,
550,
262,
9016,
640,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
18638,
62,
18742,
33411,
366,
14648,
414,
1,
796,
705,
16104,
392,
6,
38678,
11050,
366,
2435,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
16076,
422,
755,
392,
550,
262,
9016,
640,
5633,
46506,
366,
776,
5807,
1,
16034,
3084,
62,
18638,
62,
18742,
33411,
366,
14648,
414,
1,
796,
705,
16104,
392,
6,
38678,
11050,
366,
2435,
1,
27564,
2043,
352
] |
What is the title of the episode number 11 of the season? | SELECT title FROM table_27833469_1 WHERE season__number = "11" | [
2061,
318,
262,
3670,
286,
262,
4471,
1271,
1367,
286,
262,
1622,
30,
46506,
3670,
16034,
3084,
62,
25870,
31380,
3388,
62,
16,
33411,
1622,
834,
17618,
796,
366,
1157,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3670,
286,
262,
4471,
1271,
1367,
286,
262,
1622,
30,
46506,
3670,
16034,
3084,
62,
25870,
31380,
3388,
62,
16,
33411,
1622,
834,
17618,
796,
366,
1157,
1
] |
Posts with the most links. | SELECT COUNT(*) AS NumLinks, p.Id AS "post_link" FROM PostLinks AS pl, Posts AS p WHERE pl.LinkTypeId = 1 AND p.Id = pl.PostId GROUP BY p.Id ORDER BY COUNT(*) DESC LIMIT 100 | [
21496,
351,
262,
749,
6117,
13,
46506,
327,
28270,
7,
28104,
7054,
31835,
31815,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
2947,
31815,
7054,
458,
11,
12043,
7054,
279,
33411,
458,
13,
11280,
6030,
7390,
796,
352,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
21496,
351,
262,
749,
6117,
13,
46506,
327,
28270,
7,
28104,
7054,
31835,
31815,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1,
16034,
2947,
31815,
7054,
458,
11,
12043,
7054,
279,
33411,
458,
13,
11280,
6030,
7390,
796,
352,
5357,
... |
Return a histogram on how many students are from each city, and which cities have more than one cities?, and order city_code in descending order please. | SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code DESC | [
13615,
257,
1554,
21857,
319,
703,
867,
2444,
389,
422,
1123,
1748,
11,
290,
543,
4736,
423,
517,
621,
530,
4736,
21747,
290,
1502,
1748,
62,
8189,
287,
31491,
1502,
3387,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
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
] | [
13615,
257,
1554,
21857,
319,
703,
867,
2444,
389,
422,
1123,
1748,
11,
290,
543,
4736,
423,
517,
621,
530,
4736,
21747,
290,
1502,
1748,
62,
8189,
287,
31491,
1502,
3387,
13,
46506,
1748,
62,
8189,
11,
327,
28270,
7,
28104,
16034,
... |
what's the score against crusaders | SELECT "Score" FROM table_24216 WHERE "Opponent" = 'Crusaders' | [
10919,
338,
262,
4776,
1028,
25164,
9972,
46506,
366,
26595,
1,
16034,
3084,
62,
1731,
20666,
33411,
366,
27524,
3471,
1,
796,
705,
13916,
385,
9972,
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
] | [
10919,
338,
262,
4776,
1028,
25164,
9972,
46506,
366,
26595,
1,
16034,
3084,
62,
1731,
20666,
33411,
366,
27524,
3471,
1,
796,
705,
13916,
385,
9972,
6
] |
what is maximum age of patients whose death status is 0 and primary disease is coronary artery disease\coronary artery bypass graft with mvr; ? maze? | SELECT MAX(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT WITH MVR; ? MAZE" | [
10919,
318,
5415,
2479,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
351,
285,
37020,
26,
5633,
31237,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
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,
1,
1,
1,
1,
1... | [
10919,
318,
5415,
2479,
286,
3871,
3025,
1918,
3722,
318,
657,
290,
4165,
4369,
318,
37151,
37646,
4369,
59,
10215,
261,
560,
37646,
17286,
38455,
351,
285,
37020,
26,
5633,
31237,
30,
46506,
25882,
7,
9536,
6826,
13,
496,
8,
16034,
1... |
Name the first elected for abner j. mikva | SELECT first_elected FROM table_1341672_14 WHERE incumbent = "Abner J. Mikva" | [
5376,
262,
717,
7018,
329,
450,
1008,
474,
13,
285,
1134,
6862,
46506,
717,
62,
28604,
16034,
3084,
62,
19880,
1433,
4761,
62,
1415,
33411,
23526,
796,
366,
4826,
1008,
449,
13,
17722,
6862,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
7018,
329,
450,
1008,
474,
13,
285,
1134,
6862,
46506,
717,
62,
28604,
16034,
3084,
62,
19880,
1433,
4761,
62,
1415,
33411,
23526,
796,
366,
4826,
1008,
449,
13,
17722,
6862,
1
] |
tell me whether the evd output (ml)-icp/external ventricular drain (evd) right ventriculostomy event happend to patient 006-133605 on the current icu visit? | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-133605') AND patient.unitdischargetime IS NULL) AND intakeoutput.c... | [
33331,
502,
1771,
262,
819,
67,
5072,
357,
4029,
13219,
291,
79,
14,
22615,
7435,
41001,
14782,
357,
1990,
67,
8,
826,
7435,
1173,
377,
455,
9145,
1785,
1147,
437,
284,
5827,
3571,
21,
12,
1485,
15277,
20,
319,
262,
1459,
14158,
84,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
33331,
502,
1771,
262,
819,
67,
5072,
357,
4029,
13219,
291,
79,
14,
22615,
7435,
41001,
14782,
357,
1990,
67,
8,
826,
7435,
1173,
377,
455,
9145,
1785,
1147,
437,
284,
5827,
3571,
21,
12,
1485,
15277,
20,
319,
262,
1459,
14158,
84,... |
Who is the opponent for the winner outcome on a hard surface on August 27, 2011? | SELECT opponent FROM table_name_6 WHERE outcome = "winner" AND surface = "hard" AND date = "august 27, 2011" | [
8241,
318,
262,
6125,
329,
262,
8464,
8055,
319,
257,
1327,
4417,
319,
2932,
2681,
11,
2813,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
21,
33411,
8055,
796,
366,
39791,
1,
5357,
4417,
796,
366,
10424,
1,
5357,
3128,
796,
366,
7493... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6125,
329,
262,
8464,
8055,
319,
257,
1327,
4417,
319,
2932,
2681,
11,
2813,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
21,
33411,
8055,
796,
366,
39791,
1,
5357,
4417,
796,
366,
10424,
1,
5357,
3128,
796,
366,
7493... |
What is team 1 if Renova is team 2? | SELECT "Team 1" FROM table_58763 WHERE "Team 2" = 'renova' | [
2061,
318,
1074,
352,
611,
7152,
10071,
318,
1074,
362,
30,
46506,
366,
15592,
352,
1,
16034,
3084,
62,
3365,
49641,
33411,
366,
15592,
362,
1,
796,
705,
918,
10071,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
1074,
352,
611,
7152,
10071,
318,
1074,
362,
30,
46506,
366,
15592,
352,
1,
16034,
3084,
62,
3365,
49641,
33411,
366,
15592,
362,
1,
796,
705,
918,
10071,
6
] |
how many games did the senators play in january ? | SELECT COUNT(*) FROM table_203_517 WHERE "date" = 1 | [
4919,
867,
1830,
750,
262,
15469,
711,
287,
42897,
2838,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
48170,
33411,
366,
4475,
1,
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
] | [
4919,
867,
1830,
750,
262,
15469,
711,
287,
42897,
2838,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
48170,
33411,
366,
4475,
1,
796,
352
] |
Name the D 44 which has D 42 O of d 33 | SELECT "D 44 +" FROM table_70953 WHERE "D 42 O" = 'd 33' | [
5376,
262,
360,
5846,
543,
468,
360,
5433,
440,
286,
288,
4747,
46506,
366,
35,
5846,
1343,
1,
16034,
3084,
62,
2154,
49649,
33411,
366,
35,
5433,
440,
1,
796,
705,
67,
4747,
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
] | [
5376,
262,
360,
5846,
543,
468,
360,
5433,
440,
286,
288,
4747,
46506,
366,
35,
5846,
1343,
1,
16034,
3084,
62,
2154,
49649,
33411,
366,
35,
5433,
440,
1,
796,
705,
67,
4747,
6
] |
Tell me the sum of bp 2nd comp with bp azeo of 57.5 | SELECT SUM("b.p. 2nd comp. (\u02daC)") FROM table_31856 WHERE "b.p. azeo. (\u02daC)" = '57.5' | [
24446,
502,
262,
2160,
286,
275,
79,
362,
358,
552,
351,
275,
79,
257,
2736,
78,
286,
7632,
13,
20,
46506,
35683,
7203,
65,
13,
79,
13,
362,
358,
552,
13,
357,
59,
84,
2999,
6814,
34,
8,
4943,
16034,
3084,
62,
36042,
3980,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
24446,
502,
262,
2160,
286,
275,
79,
362,
358,
552,
351,
275,
79,
257,
2736,
78,
286,
7632,
13,
20,
46506,
35683,
7203,
65,
13,
79,
13,
362,
358,
552,
13,
357,
59,
84,
2999,
6814,
34,
8,
4943,
16034,
3084,
62,
36042,
3980,
33411... |
Pts Agst of 572, and a Pts For larger than 346 has what total number of position? | SELECT COUNT(position) FROM table_name_22 WHERE pts_agst = 572 AND pts_for > 346 | [
47,
912,
2449,
301,
286,
642,
4761,
11,
290,
257,
350,
912,
1114,
4025,
621,
44729,
468,
644,
2472,
1271,
286,
2292,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
43344,
62,
363,
301,
796,
642,
4761,
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
] | [
47,
912,
2449,
301,
286,
642,
4761,
11,
290,
257,
350,
912,
1114,
4025,
621,
44729,
468,
644,
2472,
1271,
286,
2292,
30,
46506,
327,
28270,
7,
9150,
8,
16034,
3084,
62,
3672,
62,
1828,
33411,
43344,
62,
363,
301,
796,
642,
4761,
5... |
What is the Release date for the Covered Song named ' sign o' the times ' by prince .? | SELECT "Release date" FROM table_41311 WHERE "Covered Song" = ' sign o'' the times " by prince .' | [
2061,
318,
262,
13868,
3128,
329,
262,
327,
2557,
10940,
3706,
705,
1051,
267,
6,
262,
1661,
705,
416,
19716,
764,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
44103,
1157,
33411,
366,
34,
2557,
10940,
1,
796,
705,
1051,
267,
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
] | [
2061,
318,
262,
13868,
3128,
329,
262,
327,
2557,
10940,
3706,
705,
1051,
267,
6,
262,
1661,
705,
416,
19716,
764,
30,
46506,
366,
26362,
3128,
1,
16034,
3084,
62,
44103,
1157,
33411,
366,
34,
2557,
10940,
1,
796,
705,
1051,
267,
70... |
What is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points? | SELECT MIN("Conceded") FROM table_35525 WHERE "Wins" < '8' AND "Scored" = '21' AND "Points" < '23' | [
2061,
318,
262,
9016,
1271,
24684,
329,
262,
1074,
326,
550,
1342,
621,
807,
7864,
11,
7781,
2310,
11,
290,
550,
1342,
621,
2242,
2173,
30,
46506,
20625,
7203,
3103,
771,
276,
4943,
16034,
3084,
62,
28567,
1495,
33411,
366,
54,
1040,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
24684,
329,
262,
1074,
326,
550,
1342,
621,
807,
7864,
11,
7781,
2310,
11,
290,
550,
1342,
621,
2242,
2173,
30,
46506,
20625,
7203,
3103,
771,
276,
4943,
16034,
3084,
62,
28567,
1495,
33411,
366,
54,
1040,
... |
Of all the courses which one can I take in the Fall or Winter semester to satisfy my MDE requirement ? | SELECT DISTINCT COURSEalias0.department, COURSEalias0.name, COURSEalias0.number, SEMESTERalias0.semester FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, program_course AS PROGRAM_COURSEalias0... | [
5189,
477,
262,
10902,
543,
530,
460,
314,
1011,
287,
262,
7218,
393,
10633,
24878,
284,
15959,
616,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
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,
1... | [
5189,
477,
262,
10902,
543,
530,
460,
314,
1011,
287,
262,
7218,
393,
10633,
24878,
284,
15959,
616,
337,
7206,
9079,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
26011,
15,
13,
10378,
1823,
11,
37384,
5188,
26011,
15,
13,
3672,
1... |
what is the first song on this album ? | SELECT "title" FROM table_204_573 WHERE "#" = 1 | [
10919,
318,
262,
717,
3496,
319,
428,
5062,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
48638,
33411,
25113,
1,
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
] | [
10919,
318,
262,
717,
3496,
319,
428,
5062,
5633,
46506,
366,
7839,
1,
16034,
3084,
62,
18638,
62,
48638,
33411,
25113,
1,
796,
352
] |
Which team had 3:18.513 on day 1? | SELECT "Team" FROM table_55452 WHERE "Day 1" = '3:18.513' | [
13828,
1074,
550,
513,
25,
1507,
13,
48645,
319,
1110,
352,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2816,
37730,
33411,
366,
12393,
352,
1,
796,
705,
18,
25,
1507,
13,
48645,
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,
1074,
550,
513,
25,
1507,
13,
48645,
319,
1110,
352,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2816,
37730,
33411,
366,
12393,
352,
1,
796,
705,
18,
25,
1507,
13,
48645,
6
] |
What college is draft pick #327 from? | SELECT "College" FROM table_39716 WHERE "Pick #" = '327' | [
2061,
4152,
318,
4538,
2298,
1303,
34159,
422,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
33372,
1433,
33411,
366,
31686,
1303,
1,
796,
705,
34159,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4152,
318,
4538,
2298,
1303,
34159,
422,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
33372,
1433,
33411,
366,
31686,
1303,
1,
796,
705,
34159,
6
] |
how did patient 66958 last get in a hospital in 2103? | SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 66958 AND STRFTIME('%y', admissions.admittime) = '2103' ORDER BY admissions.admittime DESC LIMIT 1 | [
4919,
750,
5827,
718,
3388,
3365,
938,
651,
287,
257,
4436,
287,
362,
15197,
30,
46506,
25349,
13,
324,
3411,
62,
4906,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
718,
3388,
3365,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
750,
5827,
718,
3388,
3365,
938,
651,
287,
257,
4436,
287,
362,
15197,
30,
46506,
25349,
13,
324,
3411,
62,
4906,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
718,
3388,
3365,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256... |
How many numbers were listed under Silver Medals for Portsmouth HS? | SELECT COUNT(silver_medals) FROM table_1305623_20 WHERE ensemble = "Portsmouth HS" | [
2437,
867,
3146,
547,
5610,
739,
7698,
42171,
329,
48823,
18070,
30,
46506,
327,
28270,
7,
40503,
62,
1150,
874,
8,
16034,
3084,
62,
12952,
3980,
1954,
62,
1238,
33411,
34549,
796,
366,
47,
2096,
14775,
18070,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3146,
547,
5610,
739,
7698,
42171,
329,
48823,
18070,
30,
46506,
327,
28270,
7,
40503,
62,
1150,
874,
8,
16034,
3084,
62,
12952,
3980,
1954,
62,
1238,
33411,
34549,
796,
366,
47,
2096,
14775,
18070,
1
] |
What were the notes when his position was 10th? | SELECT notes FROM table_name_2 WHERE position = "10th" | [
2061,
547,
262,
4710,
618,
465,
2292,
373,
838,
400,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
17,
33411,
2292,
796,
366,
940,
400,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
4710,
618,
465,
2292,
373,
838,
400,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
17,
33411,
2292,
796,
366,
940,
400,
1
] |
SO users from Des Moines. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%des moines%' ORDER BY Reputation DESC | [
15821,
2985,
422,
2935,
36576,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
13397,
16034,
18987,
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,
1,
1,
1,
1,
1
] | [
15821,
2985,
422,
2935,
36576,
13,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
5121,
7054,
366,
7220,
62,
8726,
1600,
1432,
7094,
11,
13397,
16034,
18987,
33411,
... |
What is the fewest number of wins for a team ranked 8th with fewer than 32 points in the 350cc class? | SELECT MIN("Wins") FROM table_35812 WHERE "Points" < '32' AND "Class" = '350cc' AND "Rank" = '8th' | [
2061,
318,
262,
1178,
395,
1271,
286,
7864,
329,
257,
1074,
10307,
807,
400,
351,
7380,
621,
3933,
2173,
287,
262,
13803,
535,
1398,
30,
46506,
20625,
7203,
54,
1040,
4943,
16034,
3084,
62,
31128,
1065,
33411,
366,
40710,
1,
1279,
705... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1178,
395,
1271,
286,
7864,
329,
257,
1074,
10307,
807,
400,
351,
7380,
621,
3933,
2173,
287,
262,
13803,
535,
1398,
30,
46506,
20625,
7203,
54,
1040,
4943,
16034,
3084,
62,
31128,
1065,
33411,
366,
40710,
1,
1279,
705... |
in a game against st kilda, what was the away team's score? | SELECT away_team FROM table_name_33 WHERE home_team = "st kilda" | [
259,
257,
983,
1028,
336,
479,
27281,
11,
644,
373,
262,
1497,
1074,
338,
4776,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2091,
33411,
1363,
62,
15097,
796,
366,
301,
479,
27281,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
257,
983,
1028,
336,
479,
27281,
11,
644,
373,
262,
1497,
1074,
338,
4776,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2091,
33411,
1363,
62,
15097,
796,
366,
301,
479,
27281,
1
] |
What is the title of the episode with production code 3x5405? | SELECT title FROM table_24938621_2 WHERE production_code = "3X5405" | [
2061,
318,
262,
3670,
286,
262,
4471,
351,
3227,
2438,
513,
87,
20,
26598,
30,
46506,
3670,
16034,
3084,
62,
21626,
21734,
2481,
62,
17,
33411,
3227,
62,
8189,
796,
366,
18,
55,
20,
26598,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
286,
262,
4471,
351,
3227,
2438,
513,
87,
20,
26598,
30,
46506,
3670,
16034,
3084,
62,
21626,
21734,
2481,
62,
17,
33411,
3227,
62,
8189,
796,
366,
18,
55,
20,
26598,
1
] |
How much Rank has Points larger than 282.5? | SELECT COUNT(rank) FROM table_name_11 WHERE points > 282.5 | [
2437,
881,
10916,
468,
11045,
4025,
621,
41810,
13,
20,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
2173,
1875,
41810,
13,
20
] | [
1,
1,
1,
1,
1,
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,
881,
10916,
468,
11045,
4025,
621,
41810,
13,
20,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
3672,
62,
1157,
33411,
2173,
1875,
41810,
13,
20
] |
how many patients within the same hospital visit received exploratory laparoscopy after hematopoietic growth factors - filgrastim (neupogen) in this year? | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'hematopoietic growth factors - filgrastim (neupogen)' AND DATETIME(treatm... | [
4919,
867,
3871,
1626,
262,
976,
4436,
3187,
2722,
39180,
2870,
14779,
283,
17500,
11081,
706,
339,
6759,
404,
78,
1155,
291,
3349,
5087,
532,
1226,
2164,
459,
320,
357,
710,
929,
6644,
8,
287,
428,
614,
30,
46506,
327,
28270,
7,
35... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1626,
262,
976,
4436,
3187,
2722,
39180,
2870,
14779,
283,
17500,
11081,
706,
339,
6759,
404,
78,
1155,
291,
3349,
5087,
532,
1226,
2164,
459,
320,
357,
710,
929,
6644,
8,
287,
428,
614,
30,
46506,
327,
28270,
7,
35... |
when was patient 20441 last prescribed both potassium chl 20 meq / 1000 ml d5 1/2 ns and vial at the same time in 03/this year? | SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'potassium chl 20 meq / 1000 ml d5 1/2 ns' AND admissions.subject_id = 20441 AND DATETIME(prescriptions.startdate, 'start of year') ... | [
12518,
373,
5827,
1160,
39710,
938,
14798,
1111,
33156,
442,
75,
1160,
502,
80,
1220,
8576,
25962,
288,
20,
352,
14,
17,
36545,
290,
410,
498,
379,
262,
976,
640,
287,
7643,
14,
5661,
614,
30,
46506,
256,
16,
13,
9688,
4475,
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,
1,
1,
1,
1... | [
12518,
373,
5827,
1160,
39710,
938,
14798,
1111,
33156,
442,
75,
1160,
502,
80,
1220,
8576,
25962,
288,
20,
352,
14,
17,
36545,
290,
410,
498,
379,
262,
976,
640,
287,
7643,
14,
5661,
614,
30,
46506,
256,
16,
13,
9688,
4475,
16034,
... |
Show all the actual delivery dates and bin by year in a line chart, and I want to display from high to low by the X-axis. | SELECT Actual_Delivery_Date, COUNT(Actual_Delivery_Date) FROM Bookings ORDER BY Actual_Delivery_Date DESC | [
15307,
477,
262,
4036,
7585,
9667,
290,
9874,
416,
614,
287,
257,
1627,
8262,
11,
290,
314,
765,
284,
3359,
422,
1029,
284,
1877,
416,
262,
1395,
12,
22704,
13,
46506,
33520,
62,
33129,
62,
10430,
11,
327,
28270,
7,
6398,
723,
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
] | [
15307,
477,
262,
4036,
7585,
9667,
290,
9874,
416,
614,
287,
257,
1627,
8262,
11,
290,
314,
765,
284,
3359,
422,
1029,
284,
1877,
416,
262,
1395,
12,
22704,
13,
46506,
33520,
62,
33129,
62,
10430,
11,
327,
28270,
7,
6398,
723,
62,
... |
Name the Lineup that has an Assist/pass of carli lloyd,a Competition of 2010 concacaf world cup qualifying group stage? | SELECT "Lineup" FROM table_79555 WHERE "Assist/pass" = 'carli lloyd' AND "Competition" = '2010 concacaf world cup qualifying – group stage' | [
5376,
262,
6910,
929,
326,
468,
281,
43627,
14,
6603,
286,
1097,
4528,
32660,
12192,
11,
64,
27348,
286,
3050,
1673,
330,
1878,
995,
6508,
18677,
1448,
3800,
30,
46506,
366,
13949,
929,
1,
16034,
3084,
62,
3720,
31046,
33411,
366,
802... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6910,
929,
326,
468,
281,
43627,
14,
6603,
286,
1097,
4528,
32660,
12192,
11,
64,
27348,
286,
3050,
1673,
330,
1878,
995,
6508,
18677,
1448,
3800,
30,
46506,
366,
13949,
929,
1,
16034,
3084,
62,
3720,
31046,
33411,
366,
802... |
What is Status, when Area km 2 is greater than 303.73? | SELECT status FROM table_name_93 WHERE area_km_2 > 303.73 | [
2061,
318,
12678,
11,
618,
9498,
10571,
362,
318,
3744,
621,
30727,
13,
4790,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
6052,
33411,
1989,
62,
13276,
62,
17,
1875,
30727,
13,
4790
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
12678,
11,
618,
9498,
10571,
362,
318,
3744,
621,
30727,
13,
4790,
30,
46506,
3722,
16034,
3084,
62,
3672,
62,
6052,
33411,
1989,
62,
13276,
62,
17,
1875,
30727,
13,
4790
] |
Which Position has an Against of 5, and a Drawn larger than 0? | SELECT SUM("Position") FROM table_5106 WHERE "Against" = '5' AND "Drawn" > '0' | [
13828,
23158,
468,
281,
12914,
286,
642,
11,
290,
257,
50061,
4025,
621,
657,
30,
46506,
35683,
7203,
26545,
4943,
16034,
3084,
62,
20,
15801,
33411,
366,
39276,
1,
796,
705,
20,
6,
5357,
366,
35,
5791,
1,
1875,
705,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
23158,
468,
281,
12914,
286,
642,
11,
290,
257,
50061,
4025,
621,
657,
30,
46506,
35683,
7203,
26545,
4943,
16034,
3084,
62,
20,
15801,
33411,
366,
39276,
1,
796,
705,
20,
6,
5357,
366,
35,
5791,
1,
1875,
705,
15,
6
] |
When was tony parker (guard) born? | SELECT MAX("Year born") FROM table_14662 WHERE "Position" = 'guard' AND "Player" = 'tony parker' | [
2215,
373,
256,
1647,
3952,
263,
357,
14864,
8,
4642,
30,
46506,
25882,
7203,
17688,
4642,
4943,
16034,
3084,
62,
1415,
39380,
33411,
366,
26545,
1,
796,
705,
14864,
6,
5357,
366,
14140,
1,
796,
705,
1122,
88,
3952,
263,
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
] | [
2215,
373,
256,
1647,
3952,
263,
357,
14864,
8,
4642,
30,
46506,
25882,
7203,
17688,
4642,
4943,
16034,
3084,
62,
1415,
39380,
33411,
366,
26545,
1,
796,
705,
14864,
6,
5357,
366,
14140,
1,
796,
705,
1122,
88,
3952,
263,
6
] |
Bronze Badges for Node.js Worldwide. Find worldwide experts on Node.js | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Users.Id AS "user_link", Reputation, Location FROM Users, Badges WHERE Users.Id = Badges.UserId AND Badges.Class = 3 AND Badges.TagBased = 1 AND Badges.Name = 'node.js' ORDER BY Reputation DESC | [
18760,
2736,
7772,
3212,
329,
19081,
13,
8457,
33140,
13,
9938,
8688,
6154,
319,
19081,
13,
8457,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
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... | [
18760,
2736,
7772,
3212,
329,
19081,
13,
8457,
33140,
13,
9938,
8688,
6154,
319,
19081,
13,
8457,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
70... |
For all employees who have the letters D or S in their first name, give me the comparison about the sum of department_id over the job_id , and group by attribute job_id. | SELECT JOB_ID, SUM(DEPARTMENT_ID) 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,
2160,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
13,
46506,
449,
9864,
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... | [
1890,
477,
4409,
508,
423,
262,
7475,
360,
393,
311,
287,
511,
717,
1438,
11,
1577,
502,
262,
7208,
546,
262,
2160,
286,
5011,
62,
312,
625,
262,
1693,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
13,
46506,
449,
9864,
62,
... |
Which Points for has a Losing bonus of 2, and a Club of bridgend sports rfc? | SELECT points_for FROM table_name_33 WHERE losing_bonus = "2" AND club = "bridgend sports rfc" | [
13828,
11045,
329,
468,
257,
406,
2752,
7202,
286,
362,
11,
290,
257,
6289,
286,
38265,
70,
437,
5701,
374,
16072,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
3672,
62,
2091,
33411,
6078,
62,
4189,
385,
796,
366,
17,
1,
5357,
3430,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
11045,
329,
468,
257,
406,
2752,
7202,
286,
362,
11,
290,
257,
6289,
286,
38265,
70,
437,
5701,
374,
16072,
30,
46506,
2173,
62,
1640,
16034,
3084,
62,
3672,
62,
2091,
33411,
6078,
62,
4189,
385,
796,
366,
17,
1,
5357,
3430,
... |
Who is the away team that played home team Perth Wildcats? | SELECT "Away team" FROM table_44792 WHERE "Home team" = 'perth wildcats' | [
8241,
318,
262,
1497,
1074,
326,
2826,
1363,
1074,
29913,
46011,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2598,
48156,
33411,
366,
16060,
1074,
1,
796,
705,
525,
400,
4295,
24619,
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
] | [
8241,
318,
262,
1497,
1074,
326,
2826,
1363,
1074,
29913,
46011,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
2598,
48156,
33411,
366,
16060,
1074,
1,
796,
705,
525,
400,
4295,
24619,
6
] |
For those records from the products and each product's manufacturer, give me the comparison about the amount of headquarter over the headquarter , and group by attribute headquarter by a bar chart. | SELECT Headquarter, COUNT(Headquarter) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1182,
24385,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
416,
257,
2318,
8262,
13,
46506,
7123,
24385,
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... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2033,
286,
1182,
24385,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
416,
257,
2318,
8262,
13,
46506,
7123,
24385,
11... |
what flights are there from ATLANTA to WASHINGTON early on THURSDAY mornings | 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, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND days.day_name = 'THURSDAY' AND flight.flight_days = days.days_code... | [
10919,
13956,
389,
612,
422,
5161,
25697,
5603,
284,
370,
19436,
1903,
319,
2320,
4261,
10305,
4792,
31143,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
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,
13956,
389,
612,
422,
5161,
25697,
5603,
284,
370,
19436,
1903,
319,
2320,
4261,
10305,
4792,
31143,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11... |
Which female challengers featured in episode 28? | SELECT challengers__female_ FROM table_24051050_1 WHERE episode = 28 | [
13828,
4048,
49112,
8096,
287,
4471,
2579,
30,
46506,
49112,
834,
24724,
62,
16034,
3084,
62,
1731,
2713,
940,
1120,
62,
16,
33411,
4471,
796,
2579
] | [
1,
1,
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,
4048,
49112,
8096,
287,
4471,
2579,
30,
46506,
49112,
834,
24724,
62,
16034,
3084,
62,
1731,
2713,
940,
1120,
62,
16,
33411,
4471,
796,
2579
] |
What is 2004, when 2005 is 'Not Tier I'? | SELECT "2004" FROM table_78684 WHERE "2005" = 'not tier i' | [
2061,
318,
5472,
11,
618,
5075,
318,
705,
3673,
15917,
314,
30960,
46506,
366,
15724,
1,
16034,
3084,
62,
3695,
41580,
33411,
366,
14315,
1,
796,
705,
1662,
14249,
1312,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5472,
11,
618,
5075,
318,
705,
3673,
15917,
314,
30960,
46506,
366,
15724,
1,
16034,
3084,
62,
3695,
41580,
33411,
366,
14315,
1,
796,
705,
1662,
14249,
1312,
6
] |
when patient 016-27397 was last diagnosed with hypomagnesemia since 2 years ago? | SELECT diagnosis.diagnosistime FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-27397')) AND diagnosis.diagnosisname = 'hypomagnesemia' AND D... | [
12518,
5827,
5534,
21,
12,
1983,
33372,
373,
938,
14641,
351,
5328,
296,
363,
2516,
22859,
1201,
362,
812,
2084,
30,
46506,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
582... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5827,
5534,
21,
12,
1983,
33372,
373,
938,
14641,
351,
5328,
296,
363,
2516,
22859,
1201,
362,
812,
2084,
30,
46506,
13669,
13,
47356,
418,
396,
524,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
582... |
Which of the entrants had Luigi Fagioli as a driver? | SELECT entrant FROM table_name_79 WHERE driver = "luigi fagioli" | [
13828,
286,
262,
49117,
550,
39139,
376,
363,
1669,
72,
355,
257,
4639,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
3720,
33411,
4639,
796,
366,
2290,
25754,
277,
363,
1669,
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
] | [
13828,
286,
262,
49117,
550,
39139,
376,
363,
1669,
72,
355,
257,
4639,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
3720,
33411,
4639,
796,
366,
2290,
25754,
277,
363,
1669,
72,
1
] |
Number of 'thank you' comments.. | SELECT COUNT(*) FROM Comments AS c WHERE LOWER(c.Text) LIKE '% %' | [
15057,
286,
705,
40716,
345,
6,
3651,
492,
46506,
327,
28270,
7,
28104,
16034,
19502,
7054,
269,
33411,
406,
36048,
7,
66,
13,
8206,
8,
34178,
705,
4,
4064,
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
] | [
15057,
286,
705,
40716,
345,
6,
3651,
492,
46506,
327,
28270,
7,
28104,
16034,
19502,
7054,
269,
33411,
406,
36048,
7,
66,
13,
8206,
8,
34178,
705,
4,
4064,
6
] |
Show a bar chart to show different names and credit scores of customers who have taken a loan. | SELECT cust_name, credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_ID = T2.cust_ID | [
15307,
257,
2318,
8262,
284,
905,
1180,
3891,
290,
3884,
8198,
286,
4297,
508,
423,
2077,
257,
8063,
13,
46506,
9378,
62,
3672,
11,
3884,
62,
26675,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
17,
6177,
309,
16,
13,
66... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
2318,
8262,
284,
905,
1180,
3891,
290,
3884,
8198,
286,
4297,
508,
423,
2077,
257,
8063,
13,
46506,
9378,
62,
3672,
11,
3884,
62,
26675,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
17,
6177,
309,
16,
13,
66... |
Which entrant had a Brabham BT10 chassis before 1965? | SELECT entrant FROM table_name_12 WHERE year < 1965 AND chassis = "brabham bt10" | [
13828,
920,
5250,
550,
257,
1709,
397,
2763,
22205,
940,
24587,
878,
17672,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
1065,
33411,
614,
1279,
17672,
5357,
24587,
796,
366,
1671,
397,
2763,
275,
83,
940,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
920,
5250,
550,
257,
1709,
397,
2763,
22205,
940,
24587,
878,
17672,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
1065,
33411,
614,
1279,
17672,
5357,
24587,
796,
366,
1671,
397,
2763,
275,
83,
940,
1
] |
With Lindsay Lee-Waters as a partner, what was the final score? | SELECT "Score in the final" FROM table_67546 WHERE "Partner" = 'lindsay lee-waters' | [
3152,
33127,
5741,
12,
54,
8605,
355,
257,
5212,
11,
644,
373,
262,
2457,
4776,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
42444,
3510,
33411,
366,
7841,
1008,
1,
796,
705,
75,
521,
16706,
443,
68,
12,
41555,
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
] | [
3152,
33127,
5741,
12,
54,
8605,
355,
257,
5212,
11,
644,
373,
262,
2457,
4776,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
42444,
3510,
33411,
366,
7841,
1008,
1,
796,
705,
75,
521,
16706,
443,
68,
12,
41555,
6
] |
What grid did the driver who earned 19 points start at? | SELECT grid FROM table_17244483_1 WHERE points = "19" | [
2061,
10706,
750,
262,
4639,
508,
7366,
678,
2173,
923,
379,
30,
46506,
10706,
16034,
3084,
62,
1558,
1731,
2598,
5999,
62,
16,
33411,
2173,
796,
366,
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
] | [
2061,
10706,
750,
262,
4639,
508,
7366,
678,
2173,
923,
379,
30,
46506,
10706,
16034,
3084,
62,
1558,
1731,
2598,
5999,
62,
16,
33411,
2173,
796,
366,
1129,
1
] |
What is the average win as a percentage of German racer Rudi Altig, who has ridden in over 79 races? | SELECT AVG(win_average) FROM table_name_50 WHERE nationality = "german" AND name = "rudi altig" AND races_ridden > 79 | [
2061,
318,
262,
2811,
1592,
355,
257,
5873,
286,
2679,
48233,
17421,
72,
12344,
328,
11,
508,
468,
46715,
287,
625,
9225,
9558,
30,
46506,
35224,
7,
5404,
62,
23913,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
29835,
796,
366,
1362,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1592,
355,
257,
5873,
286,
2679,
48233,
17421,
72,
12344,
328,
11,
508,
468,
46715,
287,
625,
9225,
9558,
30,
46506,
35224,
7,
5404,
62,
23913,
8,
16034,
3084,
62,
3672,
62,
1120,
33411,
29835,
796,
366,
1362,
... |
what are the COACH fares for flights from NEWARK to LOS ANGELES leaving after 1500 | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LOS ANGELES' AND flight.departure_time > 1500 AND flight.to_ai... | [
10919,
389,
262,
7375,
16219,
33164,
329,
13956,
422,
12682,
14175,
284,
406,
2640,
44892,
1546,
4305,
706,
20007,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
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... | [
10919,
389,
262,
7375,
16219,
33164,
329,
13956,
422,
12682,
14175,
284,
406,
2640,
44892,
1546,
4305,
706,
20007,
46506,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
... |
How many white patients were admitted to the hospital before the year 2152? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.admityear < "2152" | [
2437,
867,
2330,
3871,
547,
6848,
284,
262,
4436,
878,
262,
614,
362,
17827,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709,
1,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
2330,
3871,
547,
6848,
284,
262,
4436,
878,
262,
614,
362,
17827,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
38546,
414,
796,
366,
12418,
12709,
1,
5357,
... |
what's the fcc info with call sign being w265av | SELECT fcc_info FROM table_13998897_1 WHERE call_sign = "W265AV" | [
10919,
338,
262,
277,
535,
7508,
351,
869,
1051,
852,
266,
22980,
615,
46506,
277,
535,
62,
10951,
16034,
3084,
62,
1485,
2079,
3459,
5607,
62,
16,
33411,
869,
62,
12683,
796,
366,
54,
22980,
10116,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
277,
535,
7508,
351,
869,
1051,
852,
266,
22980,
615,
46506,
277,
535,
62,
10951,
16034,
3084,
62,
1485,
2079,
3459,
5607,
62,
16,
33411,
869,
62,
12683,
796,
366,
54,
22980,
10116,
1
] |
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the sum of code , and group by attribute name. | SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
309,
17,
13,
5376,
11,
309,
16,
13,
10669,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
38350,
257,
2318,
8262,
546,
262,
6082,
286,
1438,
290,
262,
2160,
286,
2438,
837,
290,
1448,
416,
11688,
1438,
13,
46506,
309,
17,
13,
5376,
11,
309,
16,
13,
10669,
... |
what is the method when the time is 0:51? | SELECT "Method" FROM table_68341 WHERE "Time" = '0:51' | [
10919,
318,
262,
2446,
618,
262,
640,
318,
657,
25,
4349,
30,
46506,
366,
17410,
1,
16034,
3084,
62,
3104,
33660,
33411,
366,
7575,
1,
796,
705,
15,
25,
4349,
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
] | [
10919,
318,
262,
2446,
618,
262,
640,
318,
657,
25,
4349,
30,
46506,
366,
17410,
1,
16034,
3084,
62,
3104,
33660,
33411,
366,
7575,
1,
796,
705,
15,
25,
4349,
6
] |
calculate the number of patients who have stayed in the 979 ward in this year. | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 979 AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
423,
9658,
287,
262,
860,
3720,
15305,
287,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
904,
312,
796,
860,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9948,
3129,
378,
262,
1271,
286,
3871,
508,
423,
9658,
287,
262,
860,
3720,
15305,
287,
428,
614,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
5827,
13,
403,
1557,
538,
312,
8,
16034,
5827,
33411,
5827,
13,
904,
312,
796,
860,
... |
What was the time of the person in lane 7? | SELECT "Time" FROM table_66760 WHERE "Lane" = '7' | [
2061,
373,
262,
640,
286,
262,
1048,
287,
11193,
767,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
28933,
1899,
33411,
366,
43,
1531,
1,
796,
705,
22,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
640,
286,
262,
1048,
287,
11193,
767,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
28933,
1899,
33411,
366,
43,
1531,
1,
796,
705,
22,
6
] |
When was the last day you MISSED A WHOLE DAY on the site?. The last full day that the specified user has no record of activity in any of: Posts, Comments, Votes, or PostHistory. (aka consecutive days in a row) | SELECT MIN(CreationDate) FROM Comments | [
2215,
373,
262,
938,
1110,
345,
49684,
1961,
317,
19494,
2538,
24644,
319,
262,
2524,
30,
13,
383,
938,
1336,
1110,
326,
262,
7368,
2836,
468,
645,
1700,
286,
3842,
287,
597,
286,
25,
12043,
11,
19502,
11,
39584,
11,
393,
2947,
1812... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
938,
1110,
345,
49684,
1961,
317,
19494,
2538,
24644,
319,
262,
2524,
30,
13,
383,
938,
1336,
1110,
326,
262,
7368,
2836,
468,
645,
1700,
286,
3842,
287,
597,
286,
25,
12043,
11,
19502,
11,
39584,
11,
393,
2947,
1812... |
what is the sanskrit of western star name arcturus | SELECT "Sanskrit" FROM table_23561 WHERE "Western star name" = 'Arcturus' | [
10919,
318,
262,
264,
34738,
799,
286,
8830,
3491,
1438,
610,
310,
31891,
46506,
366,
50,
34738,
799,
1,
16034,
3084,
62,
1954,
47915,
33411,
366,
24227,
3491,
1438,
1,
796,
705,
3163,
310,
31891,
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
] | [
10919,
318,
262,
264,
34738,
799,
286,
8830,
3491,
1438,
610,
310,
31891,
46506,
366,
50,
34738,
799,
1,
16034,
3084,
62,
1954,
47915,
33411,
366,
24227,
3491,
1438,
1,
796,
705,
3163,
310,
31891,
6
] |
If the score is 62-70, what are the high points? | SELECT high_points FROM table_17118657_10 WHERE score = "62-70" | [
1532,
262,
4776,
318,
8190,
12,
2154,
11,
644,
389,
262,
1029,
2173,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
1558,
16817,
37680,
62,
940,
33411,
4776,
796,
366,
5237,
12,
2154,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
4776,
318,
8190,
12,
2154,
11,
644,
389,
262,
1029,
2173,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
1558,
16817,
37680,
62,
940,
33411,
4776,
796,
366,
5237,
12,
2154,
1
] |
Name the rufus guest for 15 december 2008 | SELECT COUNT(rufus_guest) FROM table_19930660_1 WHERE first_broadcast = "15 December 2008" | [
5376,
262,
374,
3046,
385,
8319,
329,
1315,
390,
3273,
3648,
46506,
327,
28270,
7,
622,
69,
385,
62,
5162,
395,
8,
16034,
3084,
62,
19104,
20548,
1899,
62,
16,
33411,
717,
62,
36654,
2701,
796,
366,
1314,
3426,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
374,
3046,
385,
8319,
329,
1315,
390,
3273,
3648,
46506,
327,
28270,
7,
622,
69,
385,
62,
5162,
395,
8,
16034,
3084,
62,
19104,
20548,
1899,
62,
16,
33411,
717,
62,
36654,
2701,
796,
366,
1314,
3426,
3648,
1
] |
Name the perfect stem for jo | SELECT COUNT(perfect_stem) FROM table_12784134_24 WHERE short_stem = "jo" | [
5376,
262,
2818,
10717,
329,
2525,
46506,
327,
28270,
7,
25833,
62,
927,
8,
16034,
3084,
62,
1065,
37688,
19880,
62,
1731,
33411,
1790,
62,
927,
796,
366,
7639,
1
] | [
1,
1,
1,
1,
1,
1,
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,
2818,
10717,
329,
2525,
46506,
327,
28270,
7,
25833,
62,
927,
8,
16034,
3084,
62,
1065,
37688,
19880,
62,
1731,
33411,
1790,
62,
927,
796,
366,
7639,
1
] |
Give me the comparison about ACC_Percent over the ACC_Regular_Season by a bar chart, and order Y-axis in asc order. | SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match ORDER BY ACC_Percent | [
23318,
502,
262,
7208,
546,
15859,
62,
31905,
625,
262,
15859,
62,
40164,
62,
18960,
416,
257,
2318,
8262,
11,
290,
1502,
575,
12,
22704,
287,
10570,
1502,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
15859,
62,
31905,
16034,
9669,
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
] | [
23318,
502,
262,
7208,
546,
15859,
62,
31905,
625,
262,
15859,
62,
40164,
62,
18960,
416,
257,
2318,
8262,
11,
290,
1502,
575,
12,
22704,
287,
10570,
1502,
13,
46506,
15859,
62,
40164,
62,
18960,
11,
15859,
62,
31905,
16034,
9669,
62,... |
What is the ioc code when the country is listed as Singapore? | SELECT "IOC Code" FROM table_30743 WHERE "Country" = 'Singapore' | [
2061,
318,
262,
1312,
420,
2438,
618,
262,
1499,
318,
5610,
355,
12551,
30,
46506,
366,
40,
4503,
6127,
1,
16034,
3084,
62,
22996,
3559,
33411,
366,
33921,
1,
796,
705,
29974,
11656,
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,
1312,
420,
2438,
618,
262,
1499,
318,
5610,
355,
12551,
30,
46506,
366,
40,
4503,
6127,
1,
16034,
3084,
62,
22996,
3559,
33411,
366,
33921,
1,
796,
705,
29974,
11656,
6
] |
Which 2010 has a 2006 of w? | SELECT 2010 FROM table_name_51 WHERE 2006 = "w" | [
13828,
3050,
468,
257,
4793,
286,
266,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
4349,
33411,
4793,
796,
366,
86,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
3050,
468,
257,
4793,
286,
266,
30,
46506,
3050,
16034,
3084,
62,
3672,
62,
4349,
33411,
4793,
796,
366,
86,
1
] |
what were the outputs of patient 655 for the first time on the last intensive care unit visit? | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT outputevents.itemid 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 = 655) AND NOT icustays.outtime IS NULL ORDE... | [
10919,
547,
262,
23862,
286,
5827,
45021,
329,
262,
717,
640,
319,
262,
938,
18590,
1337,
4326,
3187,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
38701,
1133,
85... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23862,
286,
5827,
45021,
329,
262,
717,
640,
319,
262,
938,
18590,
1337,
4326,
3187,
30,
46506,
288,
62,
23814,
13,
18242,
16034,
288,
62,
23814,
33411,
288,
62,
23814,
13,
9186,
312,
3268,
357,
46506,
38701,
1133,
85... |
what is the number of patients whose item id is 51466 and lab test abnormal status is abnormal? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51466" AND lab.flag = "abnormal" | [
10919,
318,
262,
1271,
286,
3871,
3025,
2378,
4686,
318,
642,
1415,
2791,
290,
2248,
1332,
18801,
3722,
318,
18801,
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,
2378,
4686,
318,
642,
1415,
2791,
290,
2248,
1332,
18801,
3722,
318,
18801,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
... |
What is the league on 5 October 1997? | SELECT "League" FROM table_52242 WHERE "Date" = '5 october 1997' | [
2061,
318,
262,
4652,
319,
642,
3267,
8309,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
4309,
27877,
33411,
366,
10430,
1,
796,
705,
20,
19318,
2023,
8309,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4652,
319,
642,
3267,
8309,
30,
46506,
366,
24623,
1,
16034,
3084,
62,
4309,
27877,
33411,
366,
10430,
1,
796,
705,
20,
19318,
2023,
8309,
6
] |
When the team is newman/haas racing and the grid size is 3, what's the time/retired? | SELECT time_retired FROM table_name_8 WHERE team = "newman/haas racing" AND grid = 3 | [
2215,
262,
1074,
318,
649,
805,
14,
3099,
292,
11717,
290,
262,
10706,
2546,
318,
513,
11,
644,
338,
262,
640,
14,
1186,
1202,
30,
46506,
640,
62,
1186,
1202,
16034,
3084,
62,
3672,
62,
23,
33411,
1074,
796,
366,
3605,
805,
14,
30... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
262,
1074,
318,
649,
805,
14,
3099,
292,
11717,
290,
262,
10706,
2546,
318,
513,
11,
644,
338,
262,
640,
14,
1186,
1202,
30,
46506,
640,
62,
1186,
1202,
16034,
3084,
62,
3672,
62,
23,
33411,
1074,
796,
366,
3605,
805,
14,
30... |
Position in nhl team centre are all smaller pick than 243.0 | SELECT nhl_team FROM table_1013129_10 WHERE position = "Centre" AND pick < 243.0 | [
26545,
287,
299,
18519,
1074,
7372,
389,
477,
4833,
2298,
621,
35989,
13,
15,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
8784,
18,
18741,
62,
940,
33411,
2292,
796,
366,
19085,
260,
1,
5357,
2298,
1279,
35989,
13,
15
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
26545,
287,
299,
18519,
1074,
7372,
389,
477,
4833,
2298,
621,
35989,
13,
15,
46506,
299,
18519,
62,
15097,
16034,
3084,
62,
8784,
18,
18741,
62,
940,
33411,
2292,
796,
366,
19085,
260,
1,
5357,
2298,
1279,
35989,
13,
15
] |
How many rankings did the 5th season have? | SELECT COUNT("Ranking") FROM table_18762 WHERE "Season" = '5th' | [
2437,
867,
16905,
750,
262,
642,
400,
1622,
423,
30,
46506,
327,
28270,
7203,
49,
15230,
4943,
16034,
3084,
62,
1507,
48194,
33411,
366,
18960,
1,
796,
705,
20,
400,
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
] | [
2437,
867,
16905,
750,
262,
642,
400,
1622,
423,
30,
46506,
327,
28270,
7203,
49,
15230,
4943,
16034,
3084,
62,
1507,
48194,
33411,
366,
18960,
1,
796,
705,
20,
400,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.