instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
who was the opponent when the week was 9? | SELECT "Opponent" FROM table_52514 WHERE "Week" = '9' | [
8727,
373,
262,
6125,
618,
262,
1285,
373,
860,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
39088,
1415,
33411,
366,
20916,
1,
796,
705,
24,
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
] | [
8727,
373,
262,
6125,
618,
262,
1285,
373,
860,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
39088,
1415,
33411,
366,
20916,
1,
796,
705,
24,
6
] |
Visualize a pie chart with which parts have more than 2 faults? Show the part name and id. | SELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id | [
36259,
1096,
257,
2508,
8262,
351,
543,
3354,
423,
517,
621,
362,
31025,
30,
5438,
262,
636,
1438,
290,
4686,
13,
46506,
309,
16,
13,
3911,
62,
3672,
11,
309,
16,
13,
3911,
62,
312,
16034,
22349,
7054,
309,
16,
32357,
1268,
2142,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
36259,
1096,
257,
2508,
8262,
351,
543,
3354,
423,
517,
621,
362,
31025,
30,
5438,
262,
636,
1438,
290,
4686,
13,
46506,
309,
16,
13,
3911,
62,
3672,
11,
309,
16,
13,
3911,
62,
312,
16034,
22349,
7054,
309,
16,
32357,
1268,
2142,
... |
What is the average for games Lost where the Points are 25 and games Played are more than 18? | SELECT AVG("Lost") FROM table_7306 WHERE "Points" = '25' AND "Played" > '18' | [
2061,
318,
262,
2811,
329,
1830,
9164,
810,
262,
11045,
389,
1679,
290,
1830,
33101,
389,
517,
621,
1248,
30,
46506,
35224,
7203,
31042,
4943,
16034,
3084,
62,
22,
20548,
33411,
366,
40710,
1,
796,
705,
1495,
6,
5357,
366,
11002,
276,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
329,
1830,
9164,
810,
262,
11045,
389,
1679,
290,
1830,
33101,
389,
517,
621,
1248,
30,
46506,
35224,
7203,
31042,
4943,
16034,
3084,
62,
22,
20548,
33411,
366,
40710,
1,
796,
705,
1495,
6,
5357,
366,
11002,
276,... |
Questions and answers per year. | SELECT Date AS "dates", SUM(CASE WHEN PostTypeId = 1 THEN 1 ELSE 0 END) AS "questions", SUM(CASE WHEN PostTypeId = 2 THEN 1 ELSE 0 END) AS "answers" FROM (SELECT YEAR(CreationDate) AS "date", PostTypeId FROM Posts WHERE PostTypeId = 1 OR PostTypeId = 2) AS Sel GROUP BY Date ORDER BY Date DESC | [
35741,
290,
7429,
583,
614,
13,
46506,
7536,
7054,
366,
19581,
1600,
35683,
7,
34,
11159,
42099,
2947,
6030,
7390,
796,
352,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
366,
6138,
507,
1600,
35683,
7,
34,
11159,
42099,
2947,
6030,
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,
1,
1,
1,
1,
1,
1... | [
35741,
290,
7429,
583,
614,
13,
46506,
7536,
7054,
366,
19581,
1600,
35683,
7,
34,
11159,
42099,
2947,
6030,
7390,
796,
352,
42243,
352,
17852,
5188,
657,
23578,
8,
7054,
366,
6138,
507,
1600,
35683,
7,
34,
11159,
42099,
2947,
6030,
7... |
What is Nation, when Bronze is 1, when Gold is greater than 0, and when Rank is 2? | SELECT "Nation" FROM table_49685 WHERE "Bronze" = '1' AND "Gold" > '0' AND "Rank" = '2' | [
2061,
318,
8741,
11,
618,
19461,
318,
352,
11,
618,
3561,
318,
3744,
621,
657,
11,
290,
618,
10916,
318,
362,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
2920,
35978,
33411,
366,
18760,
2736,
1,
796,
705,
16,
6,
5357,
366,
13306,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8741,
11,
618,
19461,
318,
352,
11,
618,
3561,
318,
3744,
621,
657,
11,
290,
618,
10916,
318,
362,
30,
46506,
366,
46108,
1,
16034,
3084,
62,
2920,
35978,
33411,
366,
18760,
2736,
1,
796,
705,
16,
6,
5357,
366,
13306,
1... |
What 1:00 pm has a 4:30 pm of local programs, and a 7:30 am of the today show with katie couric & matt lauer? | SELECT "1:00 pm" FROM table_61740 WHERE "4:30 pm" = 'local programs' AND "7:30 am" = 'the today show with katie couric & matt lauer' | [
2061,
352,
25,
405,
9114,
468,
257,
604,
25,
1270,
9114,
286,
1957,
4056,
11,
290,
257,
767,
25,
1270,
716,
286,
262,
1909,
905,
351,
479,
265,
494,
1093,
291,
1222,
23963,
300,
16261,
30,
46506,
366,
16,
25,
405,
9114,
1,
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... | [
2061,
352,
25,
405,
9114,
468,
257,
604,
25,
1270,
9114,
286,
1957,
4056,
11,
290,
257,
767,
25,
1270,
716,
286,
262,
1909,
905,
351,
479,
265,
494,
1093,
291,
1222,
23963,
300,
16261,
30,
46506,
366,
16,
25,
405,
9114,
1,
16034,
... |
Find the name of customers who have loans of both Mortgages and Auto. | SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE loan_type = 'Mortgages' INTERSECT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE loan_type = 'Auto' | [
16742,
262,
1438,
286,
4297,
508,
423,
10021,
286,
1111,
10788,
70,
1095,
290,
11160,
13,
46506,
309,
16,
13,
66,
436,
62,
3672,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
62,
312,
79... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1438,
286,
4297,
508,
423,
10021,
286,
1111,
10788,
70,
1095,
290,
11160,
13,
46506,
309,
16,
13,
66,
436,
62,
3672,
16034,
6491,
7054,
309,
16,
32357,
1268,
8063,
7054,
309,
17,
6177,
309,
16,
13,
66,
436,
62,
312,
79... |
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the correlation between salary and department_id in a scatter chart. | SELECT SALARY, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
16096,
1022,
9588,
290,
5011,
62,
312,
287,
257,
41058,
8262,
13,
46506,
42475,
13153,
11,
5550,
30709,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
905,
502,
546,
262,
16096,
1022,
9588,
290,
5011,
62,
312,
287,
257,
41058,
8262,
13,
46506,
42475,
13153,
11,
5550,
30709,
... |
how many games were scheduled between september 3rd and january 2nd ? | SELECT COUNT(*) FROM table_204_55 | [
4919,
867,
1830,
547,
7530,
1022,
384,
457,
1491,
513,
4372,
290,
42897,
2838,
362,
358,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
2816
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
1830,
547,
7530,
1022,
384,
457,
1491,
513,
4372,
290,
42897,
2838,
362,
358,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
2816
] |
Return the number of booking end dates for the apartments that have type code 'Duplex' for each year in a bar chart, rank by the Y-axis in ascending. | SELECT booking_end_date, COUNT(booking_end_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = "Duplex" ORDER BY COUNT(booking_start_date) | [
13615,
262,
1271,
286,
25452,
886,
9667,
329,
262,
19592,
326,
423,
2099,
2438,
705,
35,
929,
2588,
6,
329,
1123,
614,
287,
257,
2318,
8262,
11,
4279,
416,
262,
575,
12,
22704,
287,
41988,
13,
46506,
25452,
62,
437,
62,
4475,
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... | [
13615,
262,
1271,
286,
25452,
886,
9667,
329,
262,
19592,
326,
423,
2099,
2438,
705,
35,
929,
2588,
6,
329,
1123,
614,
287,
257,
2318,
8262,
11,
4279,
416,
262,
575,
12,
22704,
287,
41988,
13,
46506,
25452,
62,
437,
62,
4475,
11,
... |
Name the most wins for sport colombia | SELECT MAX("Wins") FROM table_22562 WHERE "Team" = 'Sport Colombia' | [
5376,
262,
749,
7864,
329,
6332,
951,
2381,
544,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
18182,
5237,
33411,
366,
15592,
1,
796,
705,
42576,
21291,
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
] | [
5376,
262,
749,
7864,
329,
6332,
951,
2381,
544,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
18182,
5237,
33411,
366,
15592,
1,
796,
705,
42576,
21291,
6
] |
For Model e12 what is the IFLs/uIFLs? | SELECT "IFLs / uIFLs" FROM table_40962 WHERE "Model" = 'e12' | [
1890,
9104,
304,
1065,
644,
318,
262,
314,
3697,
82,
14,
84,
40,
3697,
82,
30,
46506,
366,
40,
3697,
82,
1220,
334,
40,
3697,
82,
1,
16034,
3084,
62,
1821,
4846,
17,
33411,
366,
17633,
1,
796,
705,
68,
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,
1,
1,
1,
1
] | [
1890,
9104,
304,
1065,
644,
318,
262,
314,
3697,
82,
14,
84,
40,
3697,
82,
30,
46506,
366,
40,
3697,
82,
1220,
334,
40,
3697,
82,
1,
16034,
3084,
62,
1821,
4846,
17,
33411,
366,
17633,
1,
796,
705,
68,
1065,
6
] |
what time was patient 23436 prescribed a drug for the last time this month? | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23436) AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') ORDER BY prescriptions.startdate DESC LIMIT 1 | [
10919,
640,
373,
5827,
34323,
2623,
14798,
257,
2563,
329,
262,
938,
640,
428,
1227,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
640,
373,
5827,
34323,
2623,
14798,
257,
2563,
329,
262,
938,
640,
428,
1227,
30,
46506,
34092,
13,
9688,
4475,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
... |
What location had 25/25 fatalities? | SELECT location FROM table_name_15 WHERE fatalities = "25/25" | [
2061,
4067,
550,
1679,
14,
1495,
30091,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
1314,
33411,
30091,
796,
366,
1495,
14,
1495,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4067,
550,
1679,
14,
1495,
30091,
30,
46506,
4067,
16034,
3084,
62,
3672,
62,
1314,
33411,
30091,
796,
366,
1495,
14,
1495,
1
] |
What was the record when the visitor was Cleveland in Dallas? | SELECT record FROM table_name_59 WHERE visitor = "cleveland" AND home = "dallas" | [
2061,
373,
262,
1700,
618,
262,
21493,
373,
10306,
287,
8533,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3270,
33411,
21493,
796,
366,
2375,
9731,
1,
5357,
1363,
796,
366,
67,
7826,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1700,
618,
262,
21493,
373,
10306,
287,
8533,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
3270,
33411,
21493,
796,
366,
2375,
9731,
1,
5357,
1363,
796,
366,
67,
7826,
1
] |
i'd like a round trip ticket from LOS ANGELES to TACOMA WASHINGTON | 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, fare, flight, flight_fare, state WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'TACOMA' AND NOT fare.round_trip_cost IS NULL AND flight_fare.fa... | [
72,
1549,
588,
257,
2835,
5296,
7846,
422,
406,
2640,
44892,
1546,
284,
309,
2246,
2662,
32,
370,
19436,
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... | [
72,
1549,
588,
257,
2835,
5296,
7846,
422,
406,
2640,
44892,
1546,
284,
309,
2246,
2662,
32,
370,
19436,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,... |
Name the result/games for 54530 | SELECT result_games FROM table_21436373_11 WHERE attendance = 54530 | [
5376,
262,
1255,
14,
19966,
329,
642,
2231,
1270,
46506,
1255,
62,
19966,
16034,
3084,
62,
22291,
2623,
34770,
62,
1157,
33411,
14858,
796,
642,
2231,
1270
] | [
1,
1,
1,
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,
1255,
14,
19966,
329,
642,
2231,
1270,
46506,
1255,
62,
19966,
16034,
3084,
62,
22291,
2623,
34770,
62,
1157,
33411,
14858,
796,
642,
2231,
1270
] |
what is the title when the imprint is dengeki bunko and the artist is kiyotaka haimura? | SELECT title FROM table_name_96 WHERE imprint = "dengeki bunko" AND artist = "kiyotaka haimura" | [
10919,
318,
262,
3670,
618,
262,
29122,
318,
2853,
469,
4106,
36355,
78,
290,
262,
6802,
318,
479,
7745,
313,
8130,
387,
43817,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
4846,
33411,
29122,
796,
366,
67,
3540,
4106,
36355,
78,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3670,
618,
262,
29122,
318,
2853,
469,
4106,
36355,
78,
290,
262,
6802,
318,
479,
7745,
313,
8130,
387,
43817,
30,
46506,
3670,
16034,
3084,
62,
3672,
62,
4846,
33411,
29122,
796,
366,
67,
3540,
4106,
36355,
78,
1,
... |
What is the area of the community with a census ranking of 636 of 5,008? | SELECT AVG(area_km_2) FROM table_name_97 WHERE census_ranking = "636 of 5,008" | [
2061,
318,
262,
1989,
286,
262,
2055,
351,
257,
21649,
12759,
286,
718,
2623,
286,
642,
11,
25257,
30,
46506,
35224,
7,
20337,
62,
13276,
62,
17,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
21649,
62,
28405,
796,
366,
21,
2623,
286,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1989,
286,
262,
2055,
351,
257,
21649,
12759,
286,
718,
2623,
286,
642,
11,
25257,
30,
46506,
35224,
7,
20337,
62,
13276,
62,
17,
8,
16034,
3084,
62,
3672,
62,
5607,
33411,
21649,
62,
28405,
796,
366,
21,
2623,
286,
... |
What is the 2009 result when 2011 is 1R and 2007 is A? | SELECT "2009" FROM table_7926 WHERE "2011" = '1r' AND "2007" = 'a' | [
2061,
318,
262,
3717,
1255,
618,
2813,
318,
352,
49,
290,
4343,
318,
317,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
3720,
2075,
33411,
366,
9804,
1,
796,
705,
16,
81,
6,
5357,
366,
12726,
1,
796,
705,
64,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3717,
1255,
618,
2813,
318,
352,
49,
290,
4343,
318,
317,
30,
46506,
366,
10531,
1,
16034,
3084,
62,
3720,
2075,
33411,
366,
9804,
1,
796,
705,
16,
81,
6,
5357,
366,
12726,
1,
796,
705,
64,
6
] |
What is the record when the method is decision and the location is Martigues, France? | SELECT "Record" FROM table_61730 WHERE "Method" = 'decision' AND "Location" = 'martigues, france' | [
2061,
318,
262,
1700,
618,
262,
2446,
318,
2551,
290,
262,
4067,
318,
3981,
328,
947,
11,
4881,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
47941,
1270,
33411,
366,
17410,
1,
796,
705,
12501,
1166,
6,
5357,
366,
14749,
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
] | [
2061,
318,
262,
1700,
618,
262,
2446,
318,
2551,
290,
262,
4067,
318,
3981,
328,
947,
11,
4881,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
47941,
1270,
33411,
366,
17410,
1,
796,
705,
12501,
1166,
6,
5357,
366,
14749,
1,
796,
705,
... |
what is the total number of patients diagnosed with icd9 code e8791? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "E8791" | [
10919,
318,
262,
2472,
1271,
286,
3871,
14641,
351,
14158,
67,
24,
2438,
304,
23,
3720,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
2472,
1271,
286,
3871,
14641,
351,
14158,
67,
24,
2438,
304,
23,
3720,
16,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
... |
What is the item for Leagues entering, when the value for Clubs is 8 4? | SELECT "Leagues entering" FROM table_66852 WHERE "Clubs" = '8 → 4' | [
2061,
318,
262,
2378,
329,
1004,
6120,
8218,
11,
618,
262,
1988,
329,
48901,
318,
807,
604,
30,
46506,
366,
3123,
6120,
8218,
1,
16034,
3084,
62,
35809,
4309,
33411,
366,
2601,
23161,
1,
796,
705,
23,
15168,
604,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2378,
329,
1004,
6120,
8218,
11,
618,
262,
1988,
329,
48901,
318,
807,
604,
30,
46506,
366,
3123,
6120,
8218,
1,
16034,
3084,
62,
35809,
4309,
33411,
366,
2601,
23161,
1,
796,
705,
23,
15168,
604,
6
] |
how many patients with icd9 code 5839 were admitted to phys referral/normal deli? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND diagnoses.icd9_code = "5839" | [
4919,
867,
3871,
351,
14158,
67,
24,
2438,
7618,
2670,
547,
6848,
284,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
351,
14158,
67,
24,
2438,
7618,
2670,
547,
6848,
284,
2281,
31413,
14,
11265,
1619,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177... |
how many diekirch districts also have diekirch as their canton ? | SELECT COUNT("district") FROM table_201_43 WHERE "canton" = 'diekirch' | [
4919,
867,
4656,
74,
343,
354,
12815,
635,
423,
4656,
74,
343,
354,
355,
511,
18548,
261,
5633,
46506,
327,
28270,
7203,
17080,
2012,
4943,
16034,
3084,
62,
1264,
62,
3559,
33411,
366,
66,
23026,
1,
796,
705,
11979,
74,
343,
354,
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
] | [
4919,
867,
4656,
74,
343,
354,
12815,
635,
423,
4656,
74,
343,
354,
355,
511,
18548,
261,
5633,
46506,
327,
28270,
7203,
17080,
2012,
4943,
16034,
3084,
62,
1264,
62,
3559,
33411,
366,
66,
23026,
1,
796,
705,
11979,
74,
343,
354,
6
... |
Name the having things for privacy, intimate spaces of togetherness | SELECT having__things_ FROM table_name_99 WHERE interacting__settings_ = "privacy, intimate spaces of togetherness" | [
5376,
262,
1719,
1243,
329,
6782,
11,
16584,
9029,
286,
1978,
1108,
46506,
1719,
834,
27971,
62,
16034,
3084,
62,
3672,
62,
2079,
33411,
24986,
834,
33692,
62,
796,
366,
13776,
1590,
11,
16584,
9029,
286,
1978,
1108,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1719,
1243,
329,
6782,
11,
16584,
9029,
286,
1978,
1108,
46506,
1719,
834,
27971,
62,
16034,
3084,
62,
3672,
62,
2079,
33411,
24986,
834,
33692,
62,
796,
366,
13776,
1590,
11,
16584,
9029,
286,
1978,
1108,
1
] |
Who is the player when the bbi is 5/27? | SELECT player FROM table_27268238_5 WHERE bbi = "5/27" | [
8241,
318,
262,
2137,
618,
262,
275,
8482,
318,
642,
14,
1983,
30,
46506,
2137,
16034,
3084,
62,
1983,
25022,
23721,
62,
20,
33411,
275,
8482,
796,
366,
20,
14,
1983,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2137,
618,
262,
275,
8482,
318,
642,
14,
1983,
30,
46506,
2137,
16034,
3084,
62,
1983,
25022,
23721,
62,
20,
33411,
275,
8482,
796,
366,
20,
14,
1983,
1
] |
For those employees who did not have any job in the past, draw a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time, and sort total number from low to high order. | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(EMPLOYEE_ID) | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
3297,
2472,
1271,
422,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
750,
407,
423,
597,
1693,
287,
262,
1613,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
640,
11,
290,
3297,
2472,
1271,
422,
... |
Which Year has a Label-Nr of 88146? | SELECT "Year" FROM table_64648 WHERE "Label-Nr" = '88146' | [
13828,
6280,
468,
257,
36052,
12,
45,
81,
286,
9193,
20964,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
2414,
34287,
33411,
366,
33986,
12,
45,
81,
1,
796,
705,
3459,
20964,
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,
6280,
468,
257,
36052,
12,
45,
81,
286,
9193,
20964,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
2414,
34287,
33411,
366,
33986,
12,
45,
81,
1,
796,
705,
3459,
20964,
6
] |
On what date was the result a draw? | SELECT "Date" FROM table_47021 WHERE "Result" = 'draw' | [
2202,
644,
3128,
373,
262,
1255,
257,
3197,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
27790,
2481,
33411,
366,
23004,
1,
796,
705,
19334,
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
] | [
2202,
644,
3128,
373,
262,
1255,
257,
3197,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
27790,
2481,
33411,
366,
23004,
1,
796,
705,
19334,
6
] |
how many patients have undergone venous catheterization procedure and are not classified elsewhere? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Venous catheterization, not elsewhere classified" | [
4919,
867,
3871,
423,
29900,
8710,
516,
3797,
43332,
1634,
8771,
290,
389,
407,
10090,
8057,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
29900,
8710,
516,
3797,
43332,
1634,
8771,
290,
389,
407,
10090,
8057,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
... |
there were years where he had 0 goals but was year did he have the most goals ? | SELECT "season" FROM table_203_34 ORDER BY "goals" DESC LIMIT 1 | [
8117,
547,
812,
810,
339,
550,
657,
4661,
475,
373,
614,
750,
339,
423,
262,
749,
4661,
5633,
46506,
366,
6230,
1,
16034,
3084,
62,
22416,
62,
2682,
38678,
11050,
366,
2188,
874,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8117,
547,
812,
810,
339,
550,
657,
4661,
475,
373,
614,
750,
339,
423,
262,
749,
4661,
5633,
46506,
366,
6230,
1,
16034,
3084,
62,
22416,
62,
2682,
38678,
11050,
366,
2188,
874,
1,
22196,
34,
27564,
2043,
352
] |
was patient 012-35970 underwent a pao2 test since 155 months ago? | SELECT COUNT(*) > 0 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-35970')) AND lab.labname = 'pao2' AND DATETIME(lab.labresulttime) >= DATETIME(CURREN... | [
9776,
5827,
5534,
17,
12,
30743,
2154,
25289,
257,
279,
5488,
17,
1332,
1201,
20708,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
2085... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9776,
5827,
5534,
17,
12,
30743,
2154,
25289,
257,
279,
5488,
17,
1332,
1201,
20708,
1933,
2084,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
2248,
33411,
2248,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
2085... |
Who was the runner-up at the Broadmoor Arena before 2008? | SELECT "Runner-up" FROM table_64556 WHERE "Year" < '2008' AND "Arena" = 'broadmoor arena' | [
8241,
373,
262,
17490,
12,
929,
379,
262,
9765,
76,
2675,
10937,
878,
3648,
30,
46506,
366,
49493,
12,
929,
1,
16034,
3084,
62,
49259,
3980,
33411,
366,
17688,
1,
1279,
705,
11528,
6,
5357,
366,
43199,
64,
1,
796,
705,
36654,
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
] | [
8241,
373,
262,
17490,
12,
929,
379,
262,
9765,
76,
2675,
10937,
878,
3648,
30,
46506,
366,
49493,
12,
929,
1,
16034,
3084,
62,
49259,
3980,
33411,
366,
17688,
1,
1279,
705,
11528,
6,
5357,
366,
43199,
64,
1,
796,
705,
36654,
76,
... |
Top 100 users from Nepal. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%nepal%' OR UPPER(Location) LIKE '%NEP' ORDER BY Reputation DESC LIMIT 100 | [
9126,
1802,
2985,
422,
27026,
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,
16034,
18987,
33411,
406,
36048,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9126,
1802,
2985,
422,
27026,
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,
16034,
18987,
33411,
406,
36048,
... |
For the city whose land area was 135.09, what was the total population density? | SELECT population_density__people_per_mi_2__ FROM table_22916979_1 WHERE land_area__mi_2__ = "135.09" | [
1890,
262,
1748,
3025,
1956,
1989,
373,
17501,
13,
2931,
11,
644,
373,
262,
2472,
3265,
12109,
30,
46506,
3265,
62,
43337,
834,
15332,
62,
525,
62,
11632,
62,
17,
834,
16034,
3084,
62,
23539,
22172,
3720,
62,
16,
33411,
1956,
62,
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,
1,
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,
262,
1748,
3025,
1956,
1989,
373,
17501,
13,
2931,
11,
644,
373,
262,
2472,
3265,
12109,
30,
46506,
3265,
62,
43337,
834,
15332,
62,
525,
62,
11632,
62,
17,
834,
16034,
3084,
62,
23539,
22172,
3720,
62,
16,
33411,
1956,
62,
20... |
Who is the home team that scored 12.14 (86) when their opponent scored 22.15 (147)? | SELECT "Home team" FROM table_55215 WHERE "Home team score" = '12.14 (86)' AND "Away team score" = '22.15 (147)' | [
8241,
318,
262,
1363,
1074,
326,
7781,
1105,
13,
1415,
357,
4521,
8,
618,
511,
6125,
7781,
2534,
13,
1314,
357,
20198,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
2816,
23349,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1065,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1363,
1074,
326,
7781,
1105,
13,
1415,
357,
4521,
8,
618,
511,
6125,
7781,
2534,
13,
1314,
357,
20198,
19427,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
2816,
23349,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
1065,
... |
suspected or confirmed infection | SELECT * FROM table_train_29 WHERE active_infection = 1 | [
82,
385,
7254,
393,
4999,
10280,
46506,
1635,
16034,
3084,
62,
27432,
62,
1959,
33411,
4075,
62,
27816,
295,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
82,
385,
7254,
393,
4999,
10280,
46506,
1635,
16034,
3084,
62,
27432,
62,
1959,
33411,
4075,
62,
27816,
295,
796,
352
] |
Which year has most matches? | SELECT year FROM betfront GROUP BY year ORDER BY COUNT(*) DESC LIMIT 1 | [
13828,
614,
468,
749,
7466,
30,
46506,
614,
16034,
731,
8534,
44441,
11050,
614,
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
] | [
13828,
614,
468,
749,
7466,
30,
46506,
614,
16034,
731,
8534,
44441,
11050,
614,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
How many times was Arizona the team and the round was bigger than 11? | SELECT COUNT(overall) FROM table_name_86 WHERE school_club_team = "arizona" AND round > 11 | [
2437,
867,
1661,
373,
7943,
262,
1074,
290,
262,
2835,
373,
5749,
621,
1367,
30,
46506,
327,
28270,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
283,
528,
4450,
1,
5357,
2835,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
1661,
373,
7943,
262,
1074,
290,
262,
2835,
373,
5749,
621,
1367,
30,
46506,
327,
28270,
7,
2502,
439,
8,
16034,
3084,
62,
3672,
62,
4521,
33411,
1524,
62,
18664,
62,
15097,
796,
366,
283,
528,
4450,
1,
5357,
2835,
1875,
... |
What is the elevation of the city with a number of 91,385 Housing dwellings in 2007? | SELECT "Elevation msl" FROM table_53121 WHERE "Housing (2007)" = '91,385' | [
2061,
318,
262,
22910,
286,
262,
1748,
351,
257,
1271,
286,
10495,
11,
27203,
16797,
50078,
287,
4343,
30,
46506,
366,
36,
2768,
341,
285,
6649,
1,
16034,
3084,
62,
4310,
19244,
33411,
366,
39,
12752,
357,
12726,
16725,
796,
705,
6420... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
22910,
286,
262,
1748,
351,
257,
1271,
286,
10495,
11,
27203,
16797,
50078,
287,
4343,
30,
46506,
366,
36,
2768,
341,
285,
6649,
1,
16034,
3084,
62,
4310,
19244,
33411,
366,
39,
12752,
357,
12726,
16725,
796,
705,
6420... |
What were the original teams for the season that was won at-home by Mark Pinkhasovich? | SELECT original_teams FROM table_name_15 WHERE at_home_winner = "mark pinkhasovich" | [
2061,
547,
262,
2656,
3466,
329,
262,
1622,
326,
373,
1839,
379,
12,
11195,
416,
2940,
14657,
10134,
18198,
30,
46506,
2656,
62,
660,
4105,
16034,
3084,
62,
3672,
62,
1314,
33411,
379,
62,
11195,
62,
39791,
796,
366,
4102,
11398,
1013... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
3466,
329,
262,
1622,
326,
373,
1839,
379,
12,
11195,
416,
2940,
14657,
10134,
18198,
30,
46506,
2656,
62,
660,
4105,
16034,
3084,
62,
3672,
62,
1314,
33411,
379,
62,
11195,
62,
39791,
796,
366,
4102,
11398,
1013... |
which group had the most members ? | SELECT "group" FROM table_203_266 ORDER BY "members" DESC LIMIT 1 | [
4758,
1448,
550,
262,
749,
1866,
5633,
46506,
366,
8094,
1,
16034,
3084,
62,
22416,
62,
25540,
38678,
11050,
366,
30814,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1448,
550,
262,
749,
1866,
5633,
46506,
366,
8094,
1,
16034,
3084,
62,
22416,
62,
25540,
38678,
11050,
366,
30814,
1,
22196,
34,
27564,
2043,
352
] |
Home site' of election voters. | SELECT COUNT(u.Id), u.Id FROM Badges AS b LEFT JOIN Users AS u ON u.Id = b.UserId WHERE b.Name = 'Constituent' GROUP BY u.Id | [
16060,
2524,
6,
286,
3071,
4446,
13,
46506,
327,
28270,
7,
84,
13,
7390,
828,
334,
13,
7390,
16034,
7772,
3212,
7054,
275,
12509,
9792,
32357,
1268,
18987,
7054,
334,
6177,
334,
13,
7390,
796,
275,
13,
12982,
7390,
33411,
275,
13,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16060,
2524,
6,
286,
3071,
4446,
13,
46506,
327,
28270,
7,
84,
13,
7390,
828,
334,
13,
7390,
16034,
7772,
3212,
7054,
275,
12509,
9792,
32357,
1268,
18987,
7054,
334,
6177,
334,
13,
7390,
796,
275,
13,
12982,
7390,
33411,
275,
13,
5... |
Users with more than X reputation. | SELECT COUNT(*) AS AmountOfUsers FROM Users WHERE Reputation > '##Reputation##' | [
14490,
351,
517,
621,
1395,
8507,
13,
46506,
327,
28270,
7,
28104,
7054,
26308,
5189,
14490,
16034,
18987,
33411,
1432,
7094,
1875,
705,
2235,
6207,
7094,
2235,
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
] | [
14490,
351,
517,
621,
1395,
8507,
13,
46506,
327,
28270,
7,
28104,
7054,
26308,
5189,
14490,
16034,
18987,
33411,
1432,
7094,
1875,
705,
2235,
6207,
7094,
2235,
6
] |
when has patient 018-20179 been prescribed medication for the first time since 02/2105 via intravenous route? | SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-20179')) AND medication.routeadmin = 'intravenous' AND STR... | [
12518,
468,
5827,
5534,
23,
12,
1264,
3720,
587,
14798,
14103,
329,
262,
717,
640,
1201,
7816,
14,
17,
13348,
2884,
45840,
516,
6339,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
326... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
5827,
5534,
23,
12,
1264,
3720,
587,
14798,
14103,
329,
262,
717,
640,
1201,
7816,
14,
17,
13348,
2884,
45840,
516,
6339,
30,
46506,
14103,
13,
30349,
9688,
2435,
16034,
14103,
33411,
14103,
13,
26029,
20850,
31712,
312,
326... |
What position was picked for Canada on Pick 8? | SELECT position FROM table_name_61 WHERE country = "canada" AND pick = "8" | [
2061,
2292,
373,
6497,
329,
3340,
319,
12346,
807,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
5333,
33411,
1499,
796,
366,
5171,
4763,
1,
5357,
2298,
796,
366,
23,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
2292,
373,
6497,
329,
3340,
319,
12346,
807,
30,
46506,
2292,
16034,
3084,
62,
3672,
62,
5333,
33411,
1499,
796,
366,
5171,
4763,
1,
5357,
2298,
796,
366,
23,
1
] |
Name the date for hard surface at maybelline classic with opponent of wendy turnbull | SELECT date FROM table_name_59 WHERE surface = "hard" AND tournament = "maybelline classic" AND opponent = "wendy turnbull" | [
5376,
262,
3128,
329,
1327,
4417,
379,
743,
7923,
500,
6833,
351,
6125,
286,
266,
437,
88,
1210,
16308,
46506,
3128,
16034,
3084,
62,
3672,
62,
3270,
33411,
4417,
796,
366,
10424,
1,
5357,
7756,
796,
366,
11261,
7923,
500,
6833,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
329,
1327,
4417,
379,
743,
7923,
500,
6833,
351,
6125,
286,
266,
437,
88,
1210,
16308,
46506,
3128,
16034,
3084,
62,
3672,
62,
3270,
33411,
4417,
796,
366,
10424,
1,
5357,
7756,
796,
366,
11261,
7923,
500,
6833,
1,
... |
Return a bar chart about the distribution of Time and ID , could you show by the X-axis from high to low please? | SELECT Time, ID FROM swimmer ORDER BY Time DESC | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
3862,
290,
4522,
837,
714,
345,
905,
416,
262,
1395,
12,
22704,
422,
1029,
284,
1877,
3387,
30,
46506,
3862,
11,
4522,
16034,
9422,
647,
38678,
11050,
3862,
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
] | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
3862,
290,
4522,
837,
714,
345,
905,
416,
262,
1395,
12,
22704,
422,
1029,
284,
1877,
3387,
30,
46506,
3862,
11,
4522,
16034,
9422,
647,
38678,
11050,
3862,
22196,
34
] |
What were the results of the womens u20 when the mens 45 was Sunwest Razorbacks def Northern Eagles? | SELECT womens_u20 FROM table_16724844_1 WHERE mens_45 = "SunWest Razorbacks def Northern Eagles" | [
2061,
547,
262,
2482,
286,
262,
1116,
641,
334,
1238,
618,
262,
285,
641,
4153,
373,
3825,
7038,
36065,
10146,
825,
8342,
13785,
30,
46506,
1116,
641,
62,
84,
1238,
16034,
3084,
62,
21940,
23045,
2598,
62,
16,
33411,
285,
641,
62,
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
] | [
2061,
547,
262,
2482,
286,
262,
1116,
641,
334,
1238,
618,
262,
285,
641,
4153,
373,
3825,
7038,
36065,
10146,
825,
8342,
13785,
30,
46506,
1116,
641,
62,
84,
1238,
16034,
3084,
62,
21940,
23045,
2598,
62,
16,
33411,
285,
641,
62,
2... |
Which ULCS classes are offered over the Winter ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id WHERE program_cour... | [
13828,
471,
29814,
6097,
389,
4438,
625,
262,
10633,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
471,
29814,
6097,
389,
4438,
625,
262,
10633,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
17319,... |
Return a bar chart about the distribution of All_Home and School_ID , and group by attribute ACC_Home, and order in asc by the Y-axis please. | SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY School_ID | [
13615,
257,
2318,
8262,
546,
262,
6082,
286,
1439,
62,
16060,
290,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
11,
290,
1502,
287,
10570,
416,
262,
575,
12,
22704,
3387,
13,
46506,
1439,
62,
16060,
11,
3961,
62,
23... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2318,
8262,
546,
262,
6082,
286,
1439,
62,
16060,
290,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
16060,
11,
290,
1502,
287,
10570,
416,
262,
575,
12,
22704,
3387,
13,
46506,
1439,
62,
16060,
11,
3961,
62,
23... |
Number of distinct users who posted a Q or an A, in the last year (365 days). Number of distinct users who posted a Q or an A, in the last 30 days | SELECT COUNT(DISTINCT Users.Id) FROM Users JOIN Posts ON Posts.OwnerUserId = Users.Id AND (Posts.PostTypeId = 1) WHERE DATEDIFF(day, Posts.CreationDate, GETDATE()) < 365 | [
15057,
286,
7310,
2985,
508,
4481,
257,
1195,
393,
281,
317,
11,
287,
262,
938,
614,
357,
24760,
1528,
737,
7913,
286,
7310,
2985,
508,
4481,
257,
1195,
393,
281,
317,
11,
287,
262,
938,
1542,
1528,
46506,
327,
28270,
7,
35,
8808,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7310,
2985,
508,
4481,
257,
1195,
393,
281,
317,
11,
287,
262,
938,
614,
357,
24760,
1528,
737,
7913,
286,
7310,
2985,
508,
4481,
257,
1195,
393,
281,
317,
11,
287,
262,
938,
1542,
1528,
46506,
327,
28270,
7,
35,
8808,
... |
What is the result of the game when the attendance is 56,906? | SELECT "Result" FROM table_43464 WHERE "Attendance" = '56,906' | [
2061,
318,
262,
1255,
286,
262,
983,
618,
262,
14858,
318,
7265,
11,
24,
3312,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
47101,
2414,
33411,
366,
8086,
437,
590,
1,
796,
705,
3980,
11,
24,
3312,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
286,
262,
983,
618,
262,
14858,
318,
7265,
11,
24,
3312,
30,
46506,
366,
23004,
1,
16034,
3084,
62,
47101,
2414,
33411,
366,
8086,
437,
590,
1,
796,
705,
3980,
11,
24,
3312,
6
] |
when did it last happen on the current icu visit that the heart rate of patient 18866 was less than 97.0? | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 18866) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WH... | [
12518,
750,
340,
938,
1645,
319,
262,
1459,
14158,
84,
3187,
326,
262,
2612,
2494,
286,
5827,
27778,
2791,
373,
1342,
621,
10111,
13,
15,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
3... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
750,
340,
938,
1645,
319,
262,
1459,
14158,
84,
3187,
326,
262,
2612,
2494,
286,
5827,
27778,
2791,
373,
1342,
621,
10111,
13,
15,
30,
46506,
8262,
31534,
13,
40926,
2435,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
3... |
What is the away team score at the Windy Hill venue? | SELECT "Away team score" FROM table_58046 WHERE "Venue" = 'windy hill' | [
2061,
318,
262,
1497,
1074,
4776,
379,
262,
3086,
88,
3327,
14359,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
39322,
3510,
33411,
366,
37522,
518,
1,
796,
705,
7972,
88,
12788,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1497,
1074,
4776,
379,
262,
3086,
88,
3327,
14359,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
39322,
3510,
33411,
366,
37522,
518,
1,
796,
705,
7972,
88,
12788,
6
] |
What rank did the nation with athlete peter snell category:articles with hcards have? | SELECT COUNT(rank) FROM table_22355_11 WHERE athlete = "Peter Snell Category:Articles with hCards" | [
2061,
4279,
750,
262,
3277,
351,
16076,
279,
2357,
3013,
695,
6536,
25,
26845,
351,
289,
27761,
423,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
1828,
28567,
62,
1157,
33411,
16076,
796,
366,
19727,
5489,
695,
21743,
25,
8001... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4279,
750,
262,
3277,
351,
16076,
279,
2357,
3013,
695,
6536,
25,
26845,
351,
289,
27761,
423,
30,
46506,
327,
28270,
7,
43027,
8,
16034,
3084,
62,
1828,
28567,
62,
1157,
33411,
16076,
796,
366,
19727,
5489,
695,
21743,
25,
8001... |
List all the places that the Apocalypstix occupied when the Denim Demons were 2nd. | SELECT "Apocalypstix" FROM table_31269 WHERE "Denim Demons" = '2nd' | [
8053,
477,
262,
4113,
326,
262,
5949,
12063,
79,
301,
844,
12030,
618,
262,
5601,
320,
38539,
547,
362,
358,
13,
46506,
366,
25189,
12063,
79,
301,
844,
1,
16034,
3084,
62,
27970,
3388,
33411,
366,
21306,
320,
38539,
1,
796,
705,
17... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
477,
262,
4113,
326,
262,
5949,
12063,
79,
301,
844,
12030,
618,
262,
5601,
320,
38539,
547,
362,
358,
13,
46506,
366,
25189,
12063,
79,
301,
844,
1,
16034,
3084,
62,
27970,
3388,
33411,
366,
21306,
320,
38539,
1,
796,
705,
17... |
What was the score when Bornor Regis Town was the opponent? | SELECT score FROM table_name_58 WHERE opponent = "bornor regis town" | [
2061,
373,
262,
4776,
618,
18889,
273,
3310,
271,
8329,
373,
262,
6125,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3365,
33411,
6125,
796,
366,
6286,
273,
842,
271,
3240,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
18889,
273,
3310,
271,
8329,
373,
262,
6125,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3365,
33411,
6125,
796,
366,
6286,
273,
842,
271,
3240,
1
] |
What is the height of player James Stanton? | SELECT "Height" FROM table_61436 WHERE "Name" = 'james stanton' | [
2061,
318,
262,
6001,
286,
2137,
3700,
36442,
30,
46506,
366,
23106,
1,
16034,
3084,
62,
46841,
2623,
33411,
366,
5376,
1,
796,
705,
73,
1047,
336,
23026,
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,
6001,
286,
2137,
3700,
36442,
30,
46506,
366,
23106,
1,
16034,
3084,
62,
46841,
2623,
33411,
366,
5376,
1,
796,
705,
73,
1047,
336,
23026,
6
] |
What is the 2nd round with a score of 3 - 3, and a team 1 fc gueugnon (d2)? | SELECT "2nd round" FROM table_48479 WHERE "Score" = '3 - 3' AND "Team 1" = 'fc gueugnon (d2)' | [
2061,
318,
262,
362,
358,
2835,
351,
257,
4776,
286,
513,
532,
513,
11,
290,
257,
1074,
352,
277,
66,
308,
518,
1018,
13159,
357,
67,
17,
19427,
46506,
366,
17,
358,
2835,
1,
16034,
3084,
62,
2780,
31714,
33411,
366,
26595,
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... | [
2061,
318,
262,
362,
358,
2835,
351,
257,
4776,
286,
513,
532,
513,
11,
290,
257,
1074,
352,
277,
66,
308,
518,
1018,
13159,
357,
67,
17,
19427,
46506,
366,
17,
358,
2835,
1,
16034,
3084,
62,
2780,
31714,
33411,
366,
26595,
1,
796... |
i would like to fly from BALTIMORE to SAN FRANCISCO on EA | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = ... | [
72,
561,
588,
284,
6129,
422,
347,
31429,
3955,
6965,
284,
37376,
8782,
20940,
1797,
8220,
319,
412,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
561,
588,
284,
6129,
422,
347,
31429,
3955,
6965,
284,
37376,
8782,
20940,
1797,
8220,
319,
412,
11159,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
... |
in how many meetings did kaseorg place 10th or better ? | SELECT COUNT(*) FROM table_204_202 WHERE "rank" <= 10 | [
259,
703,
867,
8292,
750,
479,
589,
2398,
1295,
838,
400,
393,
1365,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
19004,
33411,
366,
43027,
1,
19841,
838
] | [
1,
1,
1,
1,
1,
1,
1,
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,
703,
867,
8292,
750,
479,
589,
2398,
1295,
838,
400,
393,
1365,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
18638,
62,
19004,
33411,
366,
43027,
1,
19841,
838
] |
What was the record of the Wildcats after playing Florida? | SELECT "Record" FROM table_24104 WHERE "Opponent" = 'Florida' | [
2061,
373,
262,
1700,
286,
262,
46011,
706,
2712,
4744,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1731,
13464,
33411,
366,
27524,
3471,
1,
796,
705,
31135,
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,
1700,
286,
262,
46011,
706,
2712,
4744,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
1731,
13464,
33411,
366,
27524,
3471,
1,
796,
705,
31135,
6
] |
Showing posts that contain sdnalloh. | SELECT Id AS "post_link", CreationDate FROM Posts WHERE Body LIKE '%sdnalloh%' ORDER BY CreationDate DESC | [
2484,
7855,
6851,
326,
3994,
264,
32656,
439,
1219,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
12290,
34178,
705,
4,
21282,
77,
439,
1219,
4,
6,
38678,
11050,
21582,
10430,
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
] | [
2484,
7855,
6851,
326,
3994,
264,
32656,
439,
1219,
13,
46506,
5121,
7054,
366,
7353,
62,
8726,
1600,
21582,
10430,
16034,
12043,
33411,
12290,
34178,
705,
4,
21282,
77,
439,
1219,
4,
6,
38678,
11050,
21582,
10430,
22196,
34
] |
Which Points have an Opponent of vancouver canucks, and a November smaller than 11? | SELECT AVG(points) FROM table_name_42 WHERE opponent = "vancouver canucks" AND november < 11 | [
13828,
11045,
423,
281,
9385,
3471,
286,
410,
10264,
460,
6238,
11,
290,
257,
3389,
4833,
621,
1367,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
6125,
796,
366,
85,
10264,
460,
6238,
1,
5357,
645,
303,
191... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
281,
9385,
3471,
286,
410,
10264,
460,
6238,
11,
290,
257,
3389,
4833,
621,
1367,
30,
46506,
35224,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
3682,
33411,
6125,
796,
366,
85,
10264,
460,
6238,
1,
5357,
645,
303,
191... |
What place is player leo diegel? | SELECT "Place" FROM table_13191 WHERE "Player" = 'leo diegel' | [
2061,
1295,
318,
2137,
443,
78,
4656,
25280,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
1485,
26492,
33411,
366,
14140,
1,
796,
705,
293,
78,
4656,
25280,
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,
1295,
318,
2137,
443,
78,
4656,
25280,
30,
46506,
366,
27271,
1,
16034,
3084,
62,
1485,
26492,
33411,
366,
14140,
1,
796,
705,
293,
78,
4656,
25280,
6
] |
when was last time that patient 5520 had the maximum potassium value in 07/last year? | SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5520) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'potassium') AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURREN... | [
12518,
373,
938,
640,
326,
5827,
5996,
1238,
550,
262,
5415,
33156,
1988,
287,
8753,
14,
12957,
614,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
938,
640,
326,
5827,
5996,
1238,
550,
262,
5415,
33156,
1988,
287,
8753,
14,
12957,
614,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
... |
On what date was Richmond playing as an away team? | SELECT date FROM table_name_32 WHERE away_team = "richmond" | [
2202,
644,
3128,
373,
16940,
2712,
355,
281,
1497,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2624,
33411,
1497,
62,
15097,
796,
366,
7527,
6327,
1
] | [
1,
1,
1,
1,
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,
16940,
2712,
355,
281,
1497,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2624,
33411,
1497,
62,
15097,
796,
366,
7527,
6327,
1
] |
What is the district for carl vinson? | SELECT "District" FROM table_18453 WHERE "Incumbent" = 'Carl Vinson' | [
2061,
318,
262,
4783,
329,
1097,
75,
410,
7899,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
1507,
36625,
33411,
366,
25517,
2178,
298,
1,
796,
705,
26886,
569,
7899,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
4783,
329,
1097,
75,
410,
7899,
30,
46506,
366,
44857,
1,
16034,
3084,
62,
1507,
36625,
33411,
366,
25517,
2178,
298,
1,
796,
705,
26886,
569,
7899,
6
] |
Which PreMajor classes are being offered next Winter ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id WHERE program_cour... | [
13828,
3771,
24206,
6097,
389,
852,
4438,
1306,
10633,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
1731... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
3771,
24206,
6097,
389,
852,
4438,
1306,
10633,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
3268,
21479,
32357,
1268,
1781,
62,
2364,
1586,
6177,
1781,
13,
1731... |
How many sections does each course has Visualize by bar chart, and list in descending by the X-axis. | SELECT CRS_CODE, COUNT(*) FROM CLASS GROUP BY CRS_CODE ORDER BY CRS_CODE DESC | [
2437,
867,
9004,
857,
1123,
1781,
468,
15612,
1096,
416,
2318,
8262,
11,
290,
1351,
287,
31491,
416,
262,
1395,
12,
22704,
13,
46506,
327,
6998,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
42715,
44441,
11050,
327,
6998,
62,
34,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
9004,
857,
1123,
1781,
468,
15612,
1096,
416,
2318,
8262,
11,
290,
1351,
287,
31491,
416,
262,
1395,
12,
22704,
13,
46506,
327,
6998,
62,
34,
16820,
11,
327,
28270,
7,
28104,
16034,
42715,
44441,
11050,
327,
6998,
62,
34,
... |
What was the stadium past 2012? | SELECT stadium FROM table_name_31 WHERE year > 2012 | [
2061,
373,
262,
10308,
1613,
2321,
30,
46506,
10308,
16034,
3084,
62,
3672,
62,
3132,
33411,
614,
1875,
2321
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
10308,
1613,
2321,
30,
46506,
10308,
16034,
3084,
62,
3672,
62,
3132,
33411,
614,
1875,
2321
] |
Top Answerers for Tag: score = weighted sum of #accepted + #votes. | SELECT P.OwnerUserId AS "user_link", @AcceptWeight * SUM(CASE WHEN Q.AcceptedAnswerId = P.Id THEN 1 ELSE 0 END) + @ScoreWeight * SUM(P.Score) AS "TotalScore", COUNT(*) AS "#Answers" FROM Posts AS P INNER JOIN Posts AS Q ON Q.Id = P.ParentId INNER JOIN PostTags AS PT ON PT.PostId = Q.Id INNER JOIN Tags AS T ON T.Id = PT... | [
9126,
1052,
2032,
19288,
329,
17467,
25,
4776,
796,
26356,
2160,
286,
1303,
13635,
276,
1343,
1303,
29307,
13,
46506,
350,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
2488,
38855,
25844,
1635,
35683,
7,
34,
11159,
42099,
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... | [
9126,
1052,
2032,
19288,
329,
17467,
25,
4776,
796,
26356,
2160,
286,
1303,
13635,
276,
1343,
1303,
29307,
13,
46506,
350,
13,
42419,
12982,
7390,
7054,
366,
7220,
62,
8726,
1600,
2488,
38855,
25844,
1635,
35683,
7,
34,
11159,
42099,
11... |
when patient 006-140729 first received a procedure in 2105? | SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-140729')) AND STRFTIME('%y', treatment.treatmenttime) = '2105... | [
12518,
5827,
3571,
21,
12,
1415,
2998,
1959,
717,
2722,
257,
8771,
287,
362,
13348,
30,
46506,
3513,
13,
42487,
2435,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
5827,
3571,
21,
12,
1415,
2998,
1959,
717,
2722,
257,
8771,
287,
362,
13348,
30,
46506,
3513,
13,
42487,
2435,
16034,
3513,
33411,
3513,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
16034,
5... |
Name the most wins total with wins indoor of 0 and wins outdoor of 1 with rank less than 7 | SELECT MAX(wins__total_) FROM table_name_68 WHERE wins__indoor_ = 0 AND wins__outdoor_ = 1 AND rank < 7 | [
5376,
262,
749,
7864,
2472,
351,
7864,
22639,
286,
657,
290,
7864,
15162,
286,
352,
351,
4279,
1342,
621,
767,
46506,
25882,
7,
86,
1040,
834,
23350,
62,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
7864,
834,
521,
2675,
62,
796,
657,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
749,
7864,
2472,
351,
7864,
22639,
286,
657,
290,
7864,
15162,
286,
352,
351,
4279,
1342,
621,
767,
46506,
25882,
7,
86,
1040,
834,
23350,
62,
8,
16034,
3084,
62,
3672,
62,
3104,
33411,
7864,
834,
521,
2675,
62,
796,
657,... |
what is total number of title ? | SELECT COUNT("title") FROM table_204_238 | [
10919,
318,
2472,
1271,
286,
3670,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
18638,
62,
23721
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
2472,
1271,
286,
3670,
5633,
46506,
327,
28270,
7203,
7839,
4943,
16034,
3084,
62,
18638,
62,
23721
] |
which area under the satellite cities has the most in population ? | SELECT "name" FROM table_203_222 WHERE "category" = 'satellite cities' ORDER BY "population (2010 census)" DESC LIMIT 1 | [
4758,
1989,
739,
262,
11210,
4736,
468,
262,
749,
287,
3265,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
23148,
33411,
366,
22872,
1,
796,
705,
82,
26493,
4736,
6,
38678,
11050,
366,
39748,
357,
10333,
21649,
16725,
22196,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1989,
739,
262,
11210,
4736,
468,
262,
749,
287,
3265,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
23148,
33411,
366,
22872,
1,
796,
705,
82,
26493,
4736,
6,
38678,
11050,
366,
39748,
357,
10333,
21649,
16725,
22196,
... |
how many patients below 86 years of age followed the procedure endosc remove bile stone? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "86" AND procedures.short_title = "Endosc remove bile stone" | [
4919,
867,
3871,
2174,
9849,
812,
286,
2479,
3940,
262,
8771,
886,
17500,
4781,
275,
576,
7815,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
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,
1... | [
4919,
867,
3871,
2174,
9849,
812,
286,
2479,
3940,
262,
8771,
886,
17500,
4781,
275,
576,
7815,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
1... |
Count badges gold, silver, bronze. | SELECT (SELECT COUNT(*) FROM Badges WHERE Class = 3) AS Bronze, (SELECT COUNT(*) FROM Badges WHERE Class = 2) AS Silver, (SELECT COUNT(*) FROM Badges WHERE Class = 1) AS Gold | [
12332,
37583,
3869,
11,
8465,
11,
22101,
13,
46506,
357,
46506,
327,
28270,
7,
28104,
16034,
7772,
3212,
33411,
5016,
796,
513,
8,
7054,
19461,
11,
357,
46506,
327,
28270,
7,
28104,
16034,
7772,
3212,
33411,
5016,
796,
362,
8,
7054,
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,
1
] | [
12332,
37583,
3869,
11,
8465,
11,
22101,
13,
46506,
357,
46506,
327,
28270,
7,
28104,
16034,
7772,
3212,
33411,
5016,
796,
513,
8,
7054,
19461,
11,
357,
46506,
327,
28270,
7,
28104,
16034,
7772,
3212,
33411,
5016,
796,
362,
8,
7054,
7... |
What is the height for the Oakville Gymnastics Club? | SELECT height FROM table_name_96 WHERE club = "oakville gymnastics club" | [
2061,
318,
262,
6001,
329,
262,
9121,
4244,
31187,
77,
24232,
6289,
30,
46506,
6001,
16034,
3084,
62,
3672,
62,
4846,
33411,
3430,
796,
366,
15877,
4244,
38581,
24232,
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
] | [
2061,
318,
262,
6001,
329,
262,
9121,
4244,
31187,
77,
24232,
6289,
30,
46506,
6001,
16034,
3084,
62,
3672,
62,
4846,
33411,
3430,
796,
366,
15877,
4244,
38581,
24232,
3430,
1
] |
fever ( reported by the patient or family, or documented ) and 2 or more of the following signs: headache, rash, myalgia, arthralgia, abdominal pain, hemorrhage, thrombocytopenia | SELECT * FROM table_test_32 WHERE fever = 1 OR (CASE WHEN headache = 1 THEN 1 ELSE 0 END + CASE WHEN rash = 1 THEN 1 ELSE 0 END + CASE WHEN myalgia = 1 THEN 1 ELSE 0 END + CASE WHEN arthralgia = 1 THEN 1 ELSE 0 END + CASE WHEN abdominal_pain = 1 THEN 1 ELSE 0 END + CASE WHEN hemorrhage = 1 THEN 1 ELSE 0 END + CASE WHEN... | [
69,
964,
357,
2098,
416,
262,
5827,
393,
1641,
11,
393,
12395,
1267,
290,
362,
393,
517,
286,
262,
1708,
5895,
25,
24902,
11,
28509,
11,
616,
47111,
11,
610,
400,
1373,
70,
544,
11,
32692,
2356,
11,
42203,
496,
11,
294,
398,
65,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
69,
964,
357,
2098,
416,
262,
5827,
393,
1641,
11,
393,
12395,
1267,
290,
362,
393,
517,
286,
262,
1708,
5895,
25,
24902,
11,
28509,
11,
616,
47111,
11,
610,
400,
1373,
70,
544,
11,
32692,
2356,
11,
42203,
496,
11,
294,
398,
65,
... |
provide the number of patients whose gender is f and lab test category is blood gas? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab."CATEGORY" = "Blood Gas" | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
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,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
5279,
318,
277,
290,
2248,
1332,
6536,
318,
2910,
3623,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
1... |
What's the date for HOF week? | SELECT "Date" FROM table_40169 WHERE "Week" = 'hof' | [
2061,
338,
262,
3128,
329,
367,
19238,
1285,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
21844,
3388,
33411,
366,
20916,
1,
796,
705,
39891,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
3128,
329,
367,
19238,
1285,
30,
46506,
366,
10430,
1,
16034,
3084,
62,
21844,
3388,
33411,
366,
20916,
1,
796,
705,
39891,
6
] |
provide the number of patients whose ethnicity is asian and drug type is main? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "ASIAN" AND prescriptions.drug_type = "MAIN" | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
355,
666,
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,
1268,
34092,
6177,
16728,
13,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
26289,
318,
355,
666,
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,
1268,
34092,
6177,
16728,
13,
18... |
Next year , do you know which courses Prof. Bufford Ang will be teaching ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Bufford Ang%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offer... | [
10019,
614,
837,
466,
345,
760,
543,
10902,
4415,
13,
8792,
585,
2895,
481,
307,
7743,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10019,
614,
837,
466,
345,
760,
543,
10902,
4415,
13,
8792,
585,
2895,
481,
307,
7743,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1781,
62,
2364,
1586,
11,
21... |
what is the total number of countries in this preliminary qualifying round | SELECT COUNT("team 1") + COUNT("team 2") FROM table_204_324 | [
10919,
318,
262,
2472,
1271,
286,
2678,
287,
428,
15223,
18677,
2835,
46506,
327,
28270,
7203,
15097,
352,
4943,
1343,
327,
28270,
7203,
15097,
362,
4943,
16034,
3084,
62,
18638,
62,
33916
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
1271,
286,
2678,
287,
428,
15223,
18677,
2835,
46506,
327,
28270,
7203,
15097,
352,
4943,
1343,
327,
28270,
7203,
15097,
362,
4943,
16034,
3084,
62,
18638,
62,
33916
] |
How many Giro positions are associated with the year 1971 and Tour final positions over 50? | SELECT COUNT("Final Position - Giro") FROM table_71170 WHERE "Year" = '1971' AND "Final Position - Tour" > '50' | [
2437,
867,
402,
7058,
6116,
389,
3917,
351,
262,
614,
16382,
290,
9852,
2457,
6116,
625,
2026,
30,
46506,
327,
28270,
7203,
19006,
23158,
532,
402,
7058,
4943,
16034,
3084,
62,
22,
1157,
2154,
33411,
366,
17688,
1,
796,
705,
41208,
6,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
402,
7058,
6116,
389,
3917,
351,
262,
614,
16382,
290,
9852,
2457,
6116,
625,
2026,
30,
46506,
327,
28270,
7203,
19006,
23158,
532,
402,
7058,
4943,
16034,
3084,
62,
22,
1157,
2154,
33411,
366,
17688,
1,
796,
705,
41208,
6,... |
What was the relationship to monarch of the heir Minyekyawswa? | SELECT "Relationship to Monarch" FROM table_73960 WHERE "Heir" = 'Minyekyawswa' | [
2061,
373,
262,
2776,
284,
26464,
286,
262,
28625,
1855,
88,
988,
88,
707,
2032,
64,
30,
46506,
366,
47117,
1056,
284,
41768,
1,
16034,
3084,
62,
22,
2670,
1899,
33411,
366,
1544,
343,
1,
796,
705,
44,
3541,
988,
88,
707,
2032,
64... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2776,
284,
26464,
286,
262,
28625,
1855,
88,
988,
88,
707,
2032,
64,
30,
46506,
366,
47117,
1056,
284,
41768,
1,
16034,
3084,
62,
22,
2670,
1899,
33411,
366,
1544,
343,
1,
796,
705,
44,
3541,
988,
88,
707,
2032,
64... |
During what period was the career average 44.10? | SELECT period FROM table_21100348_10 WHERE average = "44.10" | [
7191,
644,
2278,
373,
262,
3451,
2811,
5846,
13,
940,
30,
46506,
2278,
16034,
3084,
62,
21895,
405,
28978,
62,
940,
33411,
2811,
796,
366,
2598,
13,
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
] | [
7191,
644,
2278,
373,
262,
3451,
2811,
5846,
13,
940,
30,
46506,
2278,
16034,
3084,
62,
21895,
405,
28978,
62,
940,
33411,
2811,
796,
366,
2598,
13,
940,
1
] |
What city is in Saskatchewan? | SELECT city FROM table_name_70 WHERE province = "saskatchewan" | [
2061,
1748,
318,
287,
31346,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
2154,
33411,
8473,
796,
366,
82,
2093,
29736,
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,
318,
287,
31346,
30,
46506,
1748,
16034,
3084,
62,
3672,
62,
2154,
33411,
8473,
796,
366,
82,
2093,
29736,
1
] |
give me the number of patients whose drug code is kcl40i? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "KCL40I" | [
26535,
502,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
479,
565,
1821,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2563,
2438,
318,
479,
565,
1821,
72,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
18108,
76,
62,
... |
what is the total population for yanglin ? | SELECT "population (2005)" FROM table_204_891 WHERE "name" = 'yanglin' | [
10919,
318,
262,
2472,
3265,
329,
331,
648,
2815,
5633,
46506,
366,
39748,
357,
14315,
16725,
16034,
3084,
62,
18638,
62,
4531,
16,
33411,
366,
3672,
1,
796,
705,
17859,
2815,
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
] | [
10919,
318,
262,
2472,
3265,
329,
331,
648,
2815,
5633,
46506,
366,
39748,
357,
14315,
16725,
16034,
3084,
62,
18638,
62,
4531,
16,
33411,
366,
3672,
1,
796,
705,
17859,
2815,
6
] |
please list all the flights from DALLAS to SAN FRANCISCO | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRA... | [
29688,
1351,
477,
262,
13956,
422,
360,
7036,
1921,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
29688,
1351,
477,
262,
13956,
422,
360,
7036,
1921,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271... |
What are the candidates for new york 35? | SELECT candidates FROM table_1342233_32 WHERE district = "New York 35" | [
2061,
389,
262,
5871,
329,
649,
331,
967,
3439,
30,
46506,
5871,
16034,
3084,
62,
19880,
1828,
2091,
62,
2624,
33411,
4783,
796,
366,
3791,
1971,
3439,
1
] | [
1,
1,
1,
1,
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,
5871,
329,
649,
331,
967,
3439,
30,
46506,
5871,
16034,
3084,
62,
19880,
1828,
2091,
62,
2624,
33411,
4783,
796,
366,
3791,
1971,
3439,
1
] |
how many patients born before year 2085 had s/p fall as their primary disease? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P FALL" AND demographic.dob_year < "2085" | [
4919,
867,
3871,
4642,
878,
614,
1160,
5332,
550,
264,
14,
79,
2121,
355,
511,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
50,
14,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
4642,
878,
614,
1160,
5332,
550,
264,
14,
79,
2121,
355,
511,
4165,
4369,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
50,
14,
... |
What is the screen size and pixel amount of model p5000 when the dimensions are 98 64.5 41? | SELECT screen_size, pixels FROM table_name_28 WHERE dimensions_w×h×d__mm_ = "98×64.5×41" AND model = "p5000" | [
2061,
318,
262,
3159,
2546,
290,
17465,
2033,
286,
2746,
279,
27641,
618,
262,
15225,
389,
9661,
5598,
13,
20,
6073,
30,
46506,
3159,
62,
7857,
11,
17848,
16034,
3084,
62,
3672,
62,
2078,
33411,
15225,
62,
86,
12906,
71,
12906,
67,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3159,
2546,
290,
17465,
2033,
286,
2746,
279,
27641,
618,
262,
15225,
389,
9661,
5598,
13,
20,
6073,
30,
46506,
3159,
62,
7857,
11,
17848,
16034,
3084,
62,
3672,
62,
2078,
33411,
15225,
62,
86,
12906,
71,
12906,
67,
... |
Name the location of buffalo sabres | SELECT "Location" FROM table_26076 WHERE "Opponent" = 'Buffalo Sabres' | [
5376,
262,
4067,
286,
45019,
17463,
411,
46506,
366,
14749,
1,
16034,
3084,
62,
21719,
4304,
33411,
366,
27524,
3471,
1,
796,
705,
36474,
7335,
45899,
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
] | [
5376,
262,
4067,
286,
45019,
17463,
411,
46506,
366,
14749,
1,
16034,
3084,
62,
21719,
4304,
33411,
366,
27524,
3471,
1,
796,
705,
36474,
7335,
45899,
6
] |
When altos hornos zapla is the home (1st leg) what is overall amount of 1st leg? | SELECT COUNT(1 AS st_leg) FROM table_14219514_2 WHERE home__1st_leg_ = "Altos Hornos Zapla" | [
2215,
5988,
418,
12718,
418,
1976,
64,
489,
64,
318,
262,
1363,
357,
16,
301,
1232,
8,
644,
318,
4045,
2033,
286,
352,
301,
1232,
30,
46506,
327,
28270,
7,
16,
7054,
336,
62,
1455,
8,
16034,
3084,
62,
23726,
22186,
1415,
62,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
5988,
418,
12718,
418,
1976,
64,
489,
64,
318,
262,
1363,
357,
16,
301,
1232,
8,
644,
318,
4045,
2033,
286,
352,
301,
1232,
30,
46506,
327,
28270,
7,
16,
7054,
336,
62,
1455,
8,
16034,
3084,
62,
23726,
22186,
1415,
62,
17,
... |
what is the number of patients whose year of death is less than or equal to 2179 and diagnoses long title is psychogenic paranoid psychosis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dod_year <= "2179.0" AND diagnoses.long_title = "Psychogenic paranoid psychosis" | [
10919,
318,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
21738,
290,
40567,
890,
3670,
318,
3795,
15147,
30285,
37926,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
21738,
290,
40567,
890,
3670,
318,
3795,
15147,
30285,
37926,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.