instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
where is a good place in mountain view for arabic food ? | SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5 | [
3003,
318,
257,
922,
1295,
287,
8598,
1570,
329,
610,
397,
291,
2057,
5633,
46506,
4067,
13,
4803,
62,
17618,
11,
7072,
13,
3672,
16034,
4067,
11,
7072,
33411,
4067,
13,
19205,
62,
3672,
796,
705,
14948,
391,
1570,
6,
5357,
7072,
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... | [
3003,
318,
257,
922,
1295,
287,
8598,
1570,
329,
610,
397,
291,
2057,
5633,
46506,
4067,
13,
4803,
62,
17618,
11,
7072,
13,
3672,
16034,
4067,
11,
7072,
33411,
4067,
13,
19205,
62,
3672,
796,
705,
14948,
391,
1570,
6,
5357,
7072,
13... |
Which Population density (per km ) has a Change (%) larger than 4.9, and a Land area (km ) smaller than 15.59, and a Population (2011) larger than 790? | SELECT MAX(population_density__per_km²_) FROM table_name_90 WHERE change___percentage_ > 4.9 AND land_area__km²_ < 15.59 AND population__2011_ > 790 | [
13828,
20133,
12109,
357,
525,
10571,
1267,
468,
257,
9794,
11509,
4025,
621,
604,
13,
24,
11,
290,
257,
6379,
1989,
357,
13276,
1267,
4833,
621,
1315,
13,
3270,
11,
290,
257,
20133,
357,
9804,
8,
4025,
621,
767,
3829,
30,
46506,
25... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
20133,
12109,
357,
525,
10571,
1267,
468,
257,
9794,
11509,
4025,
621,
604,
13,
24,
11,
290,
257,
6379,
1989,
357,
13276,
1267,
4833,
621,
1315,
13,
3270,
11,
290,
257,
20133,
357,
9804,
8,
4025,
621,
767,
3829,
30,
46506,
25... |
What Class has a Frequency of 90.1 FM? | SELECT class FROM table_name_8 WHERE frequency = "90.1 fm" | [
2061,
5016,
468,
257,
31902,
286,
4101,
13,
16,
18695,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
23,
33411,
8373,
796,
366,
3829,
13,
16,
277,
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
] | [
2061,
5016,
468,
257,
31902,
286,
4101,
13,
16,
18695,
30,
46506,
1398,
16034,
3084,
62,
3672,
62,
23,
33411,
8373,
796,
366,
3829,
13,
16,
277,
76,
1
] |
WHAT SCORE HAD A RECORD OF 1-1? | SELECT "Score" FROM table_47868 WHERE "Record" = '1-1' | [
32971,
6374,
6965,
367,
2885,
317,
19644,
12532,
3963,
352,
12,
16,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
29059,
3104,
33411,
366,
23739,
1,
796,
705,
16,
12,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32971,
6374,
6965,
367,
2885,
317,
19644,
12532,
3963,
352,
12,
16,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
29059,
3104,
33411,
366,
23739,
1,
796,
705,
16,
12,
16,
6
] |
give me the number of patients whose days of hospital stay is greater than 10 and diagnoses icd9 code is 76513? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "10" AND diagnoses.icd9_code = "76513" | [
26535,
502,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
838,
290,
40567,
14158,
67,
24,
2438,
318,
767,
2996,
1485,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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... | [
26535,
502,
262,
1271,
286,
3871,
3025,
1528,
286,
4436,
2652,
318,
3744,
621,
838,
290,
40567,
14158,
67,
24,
2438,
318,
767,
2996,
1485,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3... |
Users who post longest answers. Statistical summary of users who like to post long answers.
Filters for users above a minimal post count.
(Fixed to have user links and shorter column names.) | SELECT Rank = ROW_NUMBER() OVER (ORDER BY AVG(LENGTH(p.Body)) DESC), 'user_link' = p.OwnerUserId, Posts = COUNT(*), LengthAvg = AVG(LENGTH(p.Body)), LengthMax = MAX(LENGTH(p.Body)), LengthStDev = CAST(STDEV(LENGTH(p.Body)) AS INT), LengthTotal = SUM(LENGTH(p.Body)), Reputation = MIN(u.Reputation), RepPer1000Char = CAST... | [
14490,
508,
1281,
14069,
7429,
13,
34931,
10638,
286,
2985,
508,
588,
284,
1281,
890,
7429,
13,
201,
198,
11928,
1010,
329,
2985,
2029,
257,
10926,
1281,
954,
13,
201,
198,
7,
13715,
284,
423,
2836,
6117,
290,
12238,
5721,
3891,
2014,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
508,
1281,
14069,
7429,
13,
34931,
10638,
286,
2985,
508,
588,
284,
1281,
890,
7429,
13,
201,
198,
11928,
1010,
329,
2985,
2029,
257,
10926,
1281,
954,
13,
201,
198,
7,
13715,
284,
423,
2836,
6117,
290,
12238,
5721,
3891,
2014,... |
did patient 031-4987 have the results of the microbiological tests during a month before? | SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-4987')) AND DATETIME(microlab.culturetakentime, 'start of month') = DATETI... | [
20839,
5827,
657,
3132,
12,
2920,
5774,
423,
262,
2482,
286,
262,
24559,
2770,
5254,
1141,
257,
1227,
878,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
4650... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
5827,
657,
3132,
12,
2920,
5774,
423,
262,
2482,
286,
262,
24559,
2770,
5254,
1141,
257,
1227,
878,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
4650... |
what was the win for the 6 matches? | SELECT "Wins" FROM table_42341 WHERE "Matches" = '6' | [
10919,
373,
262,
1592,
329,
262,
718,
7466,
30,
46506,
366,
54,
1040,
1,
16034,
3084,
62,
43356,
3901,
33411,
366,
19044,
2052,
1,
796,
705,
21,
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
] | [
10919,
373,
262,
1592,
329,
262,
718,
7466,
30,
46506,
366,
54,
1040,
1,
16034,
3084,
62,
43356,
3901,
33411,
366,
19044,
2052,
1,
796,
705,
21,
6
] |
what are the five most commonly prescribed drugs for patients since 1 year ago that are also prescribed with aspirin 81 mg chewable tablet at the same time? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'aspirin 81 mg chewable tablet' AND DATETIME(medicat... | [
10919,
389,
262,
1936,
749,
8811,
14798,
5010,
329,
3871,
1201,
352,
614,
2084,
326,
389,
635,
14798,
351,
49550,
9773,
10527,
34722,
540,
14147,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
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,
389,
262,
1936,
749,
8811,
14798,
5010,
329,
3871,
1201,
352,
614,
2084,
326,
389,
635,
14798,
351,
49550,
9773,
10527,
34722,
540,
14147,
379,
262,
976,
640,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
256,
17,
13,... |
Comments created before their posts. | SELECT COUNT(*) FROM Posts, Comments WHERE Comments.PostId = Posts.Id AND Comments.CreationDate < Posts.CreationDate | [
23903,
2727,
878,
511,
6851,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
11,
19502,
33411,
19502,
13,
6307,
7390,
796,
12043,
13,
7390,
5357,
19502,
13,
12443,
341,
10430,
1279,
12043,
13,
12443,
341,
10430
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23903,
2727,
878,
511,
6851,
13,
46506,
327,
28270,
7,
28104,
16034,
12043,
11,
19502,
33411,
19502,
13,
6307,
7390,
796,
12043,
13,
7390,
5357,
19502,
13,
12443,
341,
10430,
1279,
12043,
13,
12443,
341,
10430
] |
What is the venue in the city of Brussels, Belgium? | SELECT "Venue" FROM table_69200 WHERE "City" = 'brussels, belgium' | [
2061,
318,
262,
14359,
287,
262,
1748,
286,
16445,
11,
15664,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
3388,
2167,
33411,
366,
14941,
1,
796,
705,
1671,
385,
14002,
11,
894,
70,
1505,
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,
14359,
287,
262,
1748,
286,
16445,
11,
15664,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
3388,
2167,
33411,
366,
14941,
1,
796,
705,
1671,
385,
14002,
11,
894,
70,
1505,
6
] |
what is the top five most frequent output events in this year? | SELECT t1.celllabel FROM (SELECT intakeoutput.celllabel, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM intakeoutput WHERE intakeoutput.cellpath LIKE '%output%' AND DATETIME(intakeoutput.intakeoutputtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY intakeoutput.celllabel) AS ... | [
10919,
318,
262,
1353,
1936,
749,
10792,
5072,
2995,
287,
428,
614,
30,
46506,
256,
16,
13,
3846,
18242,
16034,
357,
46506,
10337,
22915,
13,
3846,
18242,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1353,
1936,
749,
10792,
5072,
2995,
287,
428,
614,
30,
46506,
256,
16,
13,
3846,
18242,
16034,
357,
46506,
10337,
22915,
13,
3846,
18242,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
... |
What's the green (SW) of the model with charcoal/white interior/roof? | SELECT MIN(green__sw_) FROM table_2066296_5 WHERE interior_roof = "Charcoal/white" | [
2061,
338,
262,
4077,
357,
17887,
8,
286,
262,
2746,
351,
33512,
14,
11186,
11087,
14,
305,
1659,
30,
46506,
20625,
7,
14809,
834,
2032,
62,
8,
16034,
3084,
62,
1238,
2791,
27137,
62,
20,
33411,
11087,
62,
305,
1659,
796,
366,
12441... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4077,
357,
17887,
8,
286,
262,
2746,
351,
33512,
14,
11186,
11087,
14,
305,
1659,
30,
46506,
20625,
7,
14809,
834,
2032,
62,
8,
16034,
3084,
62,
1238,
2791,
27137,
62,
20,
33411,
11087,
62,
305,
1659,
796,
366,
12441... |
What was the score in the September 20 game? | SELECT "Score" FROM table_47353 WHERE "Date" = 'september 20' | [
2061,
373,
262,
4776,
287,
262,
2693,
1160,
983,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2857,
33319,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
1160,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
287,
262,
2693,
1160,
983,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2857,
33319,
33411,
366,
10430,
1,
796,
705,
325,
457,
1491,
1160,
6
] |
Bar chart of how many headquarters from each headquarters, list names in asc order. | SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters ORDER BY Headquarters | [
10374,
8262,
286,
703,
867,
10043,
422,
1123,
10043,
11,
1351,
3891,
287,
10570,
1502,
13,
46506,
32193,
11,
327,
28270,
7,
13847,
8230,
8,
16034,
1664,
44441,
11050,
32193,
38678,
11050,
32193
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
703,
867,
10043,
422,
1123,
10043,
11,
1351,
3891,
287,
10570,
1502,
13,
46506,
32193,
11,
327,
28270,
7,
13847,
8230,
8,
16034,
1664,
44441,
11050,
32193,
38678,
11050,
32193
] |
Display a bar chart for how many counties correspond to each police force?, show by the names in desc. | SELECT Police_force, COUNT(*) FROM county_public_safety GROUP BY Police_force ORDER BY Police_force DESC | [
23114,
257,
2318,
8262,
329,
703,
867,
14683,
6053,
284,
1123,
1644,
2700,
21747,
905,
416,
262,
3891,
287,
1715,
13,
46506,
4287,
62,
3174,
11,
327,
28270,
7,
28104,
16034,
7968,
62,
11377,
62,
44708,
44441,
11050,
4287,
62,
3174,
38... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
23114,
257,
2318,
8262,
329,
703,
867,
14683,
6053,
284,
1123,
1644,
2700,
21747,
905,
416,
262,
3891,
287,
1715,
13,
46506,
4287,
62,
3174,
11,
327,
28270,
7,
28104,
16034,
7968,
62,
11377,
62,
44708,
44441,
11050,
4287,
62,
3174,
38... |
Draw a scatter chart about the correlation between student_id and monthly_rental . | SELECT student_id, monthly_rental FROM Student_Addresses ORDER BY monthly_rental DESC | [
25302,
257,
41058,
8262,
546,
262,
16096,
1022,
3710,
62,
312,
290,
9651,
62,
1156,
282,
764,
46506,
3710,
62,
312,
11,
9651,
62,
1156,
282,
16034,
13613,
62,
4550,
16746,
38678,
11050,
9651,
62,
1156,
282,
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
] | [
25302,
257,
41058,
8262,
546,
262,
16096,
1022,
3710,
62,
312,
290,
9651,
62,
1156,
282,
764,
46506,
3710,
62,
312,
11,
9651,
62,
1156,
282,
16034,
13613,
62,
4550,
16746,
38678,
11050,
9651,
62,
1156,
282,
22196,
34
] |
how many delegates are under the ways and means committee and represented washington county ? | SELECT COUNT("delegate") FROM table_203_247 WHERE "counties represented" = 'washington' AND "committee" = 'ways and means' | [
4919,
867,
15265,
389,
739,
262,
2842,
290,
1724,
5583,
290,
7997,
20518,
1122,
7968,
5633,
46506,
327,
28270,
7203,
2934,
34637,
4943,
16034,
3084,
62,
22416,
62,
23753,
33411,
366,
9127,
444,
7997,
1,
796,
705,
86,
2542,
6,
5357,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
15265,
389,
739,
262,
2842,
290,
1724,
5583,
290,
7997,
20518,
1122,
7968,
5633,
46506,
327,
28270,
7203,
2934,
34637,
4943,
16034,
3084,
62,
22416,
62,
23753,
33411,
366,
9127,
444,
7997,
1,
796,
705,
86,
2542,
6,
5357,
36... |
Who was the trainer when Crowd Pleaser won? | SELECT trainer FROM table_name_67 WHERE winner = "crowd pleaser" | [
8241,
373,
262,
21997,
618,
29452,
18063,
6005,
1839,
30,
46506,
21997,
16034,
3084,
62,
3672,
62,
3134,
33411,
8464,
796,
366,
66,
3986,
3339,
6005,
1
] | [
1,
1,
1,
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,
21997,
618,
29452,
18063,
6005,
1839,
30,
46506,
21997,
16034,
3084,
62,
3672,
62,
3134,
33411,
8464,
796,
366,
66,
3986,
3339,
6005,
1
] |
how many days is it since patient 027-120575 first received the mch lab test in the current hospital visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-120575' AND patient.hosp... | [
4919,
867,
1528,
318,
340,
1201,
5827,
657,
1983,
12,
1065,
2713,
2425,
717,
2722,
262,
285,
354,
2248,
1332,
287,
262,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1528,
318,
340,
1201,
5827,
657,
1983,
12,
1065,
2713,
2425,
717,
2722,
262,
285,
354,
2248,
1332,
287,
262,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,... |
What's the language in the school teaching grades 4-12? | SELECT language FROM table_1930857_1 WHERE grades = "4-12" | [
2061,
338,
262,
3303,
287,
262,
1524,
7743,
19051,
604,
12,
1065,
30,
46506,
3303,
16034,
3084,
62,
1129,
21495,
3553,
62,
16,
33411,
19051,
796,
366,
19,
12,
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
] | [
2061,
338,
262,
3303,
287,
262,
1524,
7743,
19051,
604,
12,
1065,
30,
46506,
3303,
16034,
3084,
62,
1129,
21495,
3553,
62,
16,
33411,
19051,
796,
366,
19,
12,
1065,
1
] |
What is the election date for the electorate of member charles brown category:articles with hcards? | SELECT election_date FROM table_name_94 WHERE member = "charles brown category:articles with hcards" | [
2061,
318,
262,
3071,
3128,
329,
262,
23879,
286,
2888,
1149,
829,
7586,
6536,
25,
26845,
351,
289,
27761,
30,
46506,
3071,
62,
4475,
16034,
3084,
62,
3672,
62,
5824,
33411,
2888,
796,
366,
10641,
829,
7586,
6536,
25,
26845,
351,
289,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3071,
3128,
329,
262,
23879,
286,
2888,
1149,
829,
7586,
6536,
25,
26845,
351,
289,
27761,
30,
46506,
3071,
62,
4475,
16034,
3084,
62,
3672,
62,
5824,
33411,
2888,
796,
366,
10641,
829,
7586,
6536,
25,
26845,
351,
289,... |
Moorabbin oval is home to what team? | SELECT "Home team" FROM table_52962 WHERE "Venue" = 'moorabbin oval' | [
44,
2675,
6485,
259,
41186,
318,
1363,
284,
644,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
49721,
5237,
33411,
366,
37522,
518,
1,
796,
705,
76,
2675,
6485,
259,
41186,
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
] | [
44,
2675,
6485,
259,
41186,
318,
1363,
284,
644,
1074,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
49721,
5237,
33411,
366,
37522,
518,
1,
796,
705,
76,
2675,
6485,
259,
41186,
6
] |
What is the famous for where the finished is 5th? | SELECT "Famous for" FROM table_19298 WHERE "Finished" = '5th' | [
2061,
318,
262,
5863,
329,
810,
262,
5201,
318,
642,
400,
30,
46506,
366,
37,
10877,
329,
1,
16034,
3084,
62,
1129,
27728,
33411,
366,
18467,
1348,
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,
1,
1
] | [
2061,
318,
262,
5863,
329,
810,
262,
5201,
318,
642,
400,
30,
46506,
366,
37,
10877,
329,
1,
16034,
3084,
62,
1129,
27728,
33411,
366,
18467,
1348,
1,
796,
705,
20,
400,
6
] |
What is the maximum enrollment across all schools? | SELECT MAX(enrollment) FROM university | [
2061,
318,
262,
5415,
20753,
1973,
477,
4266,
30,
46506,
25882,
7,
268,
48108,
8,
16034,
6403
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
5415,
20753,
1973,
477,
4266,
30,
46506,
25882,
7,
268,
48108,
8,
16034,
6403
] |
what is the pick when the school is jasper hs (jasper, texas)? | SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)" | [
10919,
318,
262,
2298,
618,
262,
1524,
318,
474,
32981,
289,
82,
357,
28121,
525,
11,
48659,
292,
19427,
46506,
2298,
16034,
3084,
62,
3672,
62,
5066,
33411,
1524,
796,
366,
28121,
525,
289,
82,
357,
28121,
525,
11,
48659,
292,
16725
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2298,
618,
262,
1524,
318,
474,
32981,
289,
82,
357,
28121,
525,
11,
48659,
292,
19427,
46506,
2298,
16034,
3084,
62,
3672,
62,
5066,
33411,
1524,
796,
366,
28121,
525,
289,
82,
357,
28121,
525,
11,
48659,
292,
16725
... |
What is the figure for Tujunga when Pasadena is 134,941? | SELECT "Tujunga" FROM table_78546 WHERE "Pasadena" = '134,941' | [
2061,
318,
262,
3785,
329,
16749,
73,
2150,
64,
618,
41010,
318,
22352,
11,
24,
3901,
30,
46506,
366,
51,
23577,
2150,
64,
1,
16034,
3084,
62,
41172,
3510,
33411,
366,
47,
292,
38047,
1,
796,
705,
19880,
11,
24,
3901,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3785,
329,
16749,
73,
2150,
64,
618,
41010,
318,
22352,
11,
24,
3901,
30,
46506,
366,
51,
23577,
2150,
64,
1,
16034,
3084,
62,
41172,
3510,
33411,
366,
47,
292,
38047,
1,
796,
705,
19880,
11,
24,
3901,
6
] |
how many patients received a potassium, urine lab test in 2100? | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'potassium, urine') AND STRFTIME('%y', labevents.charttime) = '2100') | [
4919,
867,
3871,
2722,
257,
33156,
11,
18922,
2248,
1332,
287,
38123,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
2248,
31534,
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,
2722,
257,
33156,
11,
18922,
2248,
1332,
287,
38123,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
25349,
13,
32796,
62,
312,
8,
16034,
25349,
33411,
25349,
13,
18108,
76,
62,
312,
3268,
357,
46506,
2248,
31534,
13,... |
What was the result in the 2012 for the US Open tournament? | SELECT 2012 FROM table_name_12 WHERE tournament = "us open" | [
2061,
373,
262,
1255,
287,
262,
2321,
329,
262,
1294,
4946,
7756,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
1065,
33411,
7756,
796,
366,
385,
1280,
1
] | [
1,
1,
1,
1,
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,
1255,
287,
262,
2321,
329,
262,
1294,
4946,
7756,
30,
46506,
2321,
16034,
3084,
62,
3672,
62,
1065,
33411,
7756,
796,
366,
385,
1280,
1
] |
Which in 2007/ 08 has a 2009/ 10 of non-ranking? | SELECT "2007/ 08" FROM table_64192 WHERE "2009/ 10" = 'non-ranking' | [
13828,
287,
4343,
14,
8487,
468,
257,
3717,
14,
838,
286,
1729,
12,
28405,
30,
46506,
366,
12726,
14,
8487,
1,
16034,
3084,
62,
2414,
17477,
33411,
366,
10531,
14,
838,
1,
796,
705,
13159,
12,
28405,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
287,
4343,
14,
8487,
468,
257,
3717,
14,
838,
286,
1729,
12,
28405,
30,
46506,
366,
12726,
14,
8487,
1,
16034,
3084,
62,
2414,
17477,
33411,
366,
10531,
14,
838,
1,
796,
705,
13159,
12,
28405,
6
] |
Questions not answered by me. | SELECT p.Id, p.Id AS "post_link", p.Tags, p.CreationDate, p.ViewCount, p.OwnerUserId AS "user_link" FROM Posts AS p LEFT JOIN LATERAL (SELECT Id FROM Posts WHERE ParentId = p.Id AND OwnerUserId = 860099) AS a WHERE a.Id IS NULL AND p.PostTypeId = 1 AND p.Tags LIKE '%javascript%' ORDER BY p.Id LIMIT 100 | [
35741,
407,
9373,
416,
502,
13,
46506,
279,
13,
7390,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
36142,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
7680,
12332,
11,
279,
13,
42419,
12982,
7390,
7054,
366,
7220,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
407,
9373,
416,
502,
13,
46506,
279,
13,
7390,
11,
279,
13,
7390,
7054,
366,
7353,
62,
8726,
1600,
279,
13,
36142,
11,
279,
13,
12443,
341,
10430,
11,
279,
13,
7680,
12332,
11,
279,
13,
42419,
12982,
7390,
7054,
366,
7220,
... |
When did Prime Minister Agathe Uwilingiyimana's mandate end? | SELECT mandate_end FROM table_name_44 WHERE office = "prime minister" AND name_a = "agathe uwilingiyimana" | [
2215,
750,
5537,
4139,
2449,
26221,
471,
86,
4386,
7745,
320,
2271,
338,
14598,
886,
30,
46506,
14598,
62,
437,
16034,
3084,
62,
3672,
62,
2598,
33411,
2607,
796,
366,
35505,
5342,
1,
5357,
1438,
62,
64,
796,
366,
363,
26221,
334,
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
] | [
2215,
750,
5537,
4139,
2449,
26221,
471,
86,
4386,
7745,
320,
2271,
338,
14598,
886,
30,
46506,
14598,
62,
437,
16034,
3084,
62,
3672,
62,
2598,
33411,
2607,
796,
366,
35505,
5342,
1,
5357,
1438,
62,
64,
796,
366,
363,
26221,
334,
8... |
What is the total number of ties a team with less than 3 losses have? | SELECT COUNT(ties) FROM table_name_98 WHERE losses < 3 | [
2061,
318,
262,
2472,
1271,
286,
8470,
257,
1074,
351,
1342,
621,
513,
9089,
423,
30,
46506,
327,
28270,
7,
4278,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
9089,
1279,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
1271,
286,
8470,
257,
1074,
351,
1342,
621,
513,
9089,
423,
30,
46506,
327,
28270,
7,
4278,
8,
16034,
3084,
62,
3672,
62,
4089,
33411,
9089,
1279,
513
] |
How many titles have the number 11 | SELECT COUNT(title) FROM table_10470082_5 WHERE _number = 11 | [
2437,
867,
8714,
423,
262,
1271,
1367,
46506,
327,
28270,
7,
7839,
8,
16034,
3084,
62,
940,
2857,
405,
6469,
62,
20,
33411,
4808,
17618,
796,
1367
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
8714,
423,
262,
1271,
1367,
46506,
327,
28270,
7,
7839,
8,
16034,
3084,
62,
940,
2857,
405,
6469,
62,
20,
33411,
4808,
17618,
796,
1367
] |
list the top five most frequent drugs that the patients were prescribed with within 2 months after they were prescribed with heparin flush picc (100 units/ml) last year. | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'heparin flush picc (100 units/ml)' AND DATETIME(prescriptions.sta... | [
4868,
262,
1353,
1936,
749,
10792,
5010,
326,
262,
3871,
547,
14798,
351,
1626,
362,
1933,
706,
484,
547,
14798,
351,
339,
1845,
259,
24773,
8301,
66,
357,
3064,
4991,
14,
4029,
8,
938,
614,
13,
46506,
256,
18,
13,
30349,
16034,
357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
4868,
262,
1353,
1936,
749,
10792,
5010,
326,
262,
3871,
547,
14798,
351,
1626,
362,
1933,
706,
484,
547,
14798,
351,
339,
1845,
259,
24773,
8301,
66,
357,
3064,
4991,
14,
4029,
8,
938,
614,
13,
46506,
256,
18,
13,
30349,
16034,
357... |
count the number of patients whose admission type is urgent and lab test category is chemistry. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab."CATEGORY" = "Chemistry" | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2248,
1332,
6536,
318,
16585,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
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... | [
9127,
262,
1271,
286,
3871,
3025,
13938,
2099,
318,
18039,
290,
2248,
1332,
6536,
318,
16585,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
2248,
6177,
16728,
13,
... |
Create a bar chart showing all_games_percent across acc regular season, and could you sort Y-axis in asc order? | SELECT ACC_Regular_Season, All_Games_Percent FROM basketball_match ORDER BY All_Games_Percent | [
16447,
257,
2318,
8262,
4478,
477,
62,
19966,
62,
25067,
1973,
697,
3218,
1622,
11,
290,
714,
345,
3297,
575,
12,
22704,
287,
10570,
1502,
30,
46506,
15859,
62,
40164,
62,
18960,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16447,
257,
2318,
8262,
4478,
477,
62,
19966,
62,
25067,
1973,
697,
3218,
1622,
11,
290,
714,
345,
3297,
575,
12,
22704,
287,
10570,
1502,
30,
46506,
15859,
62,
40164,
62,
18960,
11,
1439,
62,
24474,
62,
31905,
16034,
9669,
62,
15699,... |
today, what was last arterial bp mean for patient 19428? | SELECT chartevents.valuenum 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 = 19428)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial ... | [
40838,
11,
644,
373,
938,
30675,
498,
275,
79,
1612,
329,
5827,
30483,
2078,
30,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
40838,
11,
644,
373,
938,
30675,
498,
275,
79,
1612,
329,
5827,
30483,
2078,
30,
46506,
8262,
31534,
13,
2100,
84,
44709,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291,
436,
323,
62,
312,
3268,
357,
46506,
14158,
436,
592,
13,
291,
... |
How many apartment bookings for each year? Draw a bar chart binning booking start date by year interval, sort by the the number of booking start date in desc. | SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id ORDER BY COUNT(booking_start_date) DESC | [
2437,
867,
7962,
1492,
654,
329,
1123,
614,
30,
15315,
257,
2318,
8262,
9874,
768,
25452,
923,
3128,
416,
614,
16654,
11,
3297,
416,
262,
262,
1271,
286,
25452,
923,
3128,
287,
1715,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2437,
867,
7962,
1492,
654,
329,
1123,
614,
30,
15315,
257,
2318,
8262,
9874,
768,
25452,
923,
3128,
416,
614,
16654,
11,
3297,
416,
262,
262,
1271,
286,
25452,
923,
3128,
287,
1715,
13,
46506,
25452,
62,
9688,
62,
4475,
11,
327,
28... |
Who is the away side at windy hill? | SELECT away_team FROM table_name_35 WHERE venue = "windy hill" | [
8241,
318,
262,
1497,
1735,
379,
2344,
88,
12788,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2327,
33411,
14359,
796,
366,
7972,
88,
12788,
1
] | [
1,
1,
1,
1,
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,
1735,
379,
2344,
88,
12788,
30,
46506,
1497,
62,
15097,
16034,
3084,
62,
3672,
62,
2327,
33411,
14359,
796,
366,
7972,
88,
12788,
1
] |
When belgrano is the home (1st leg) what is the home (2nd leg)? | SELECT "Home (2nd leg)" FROM table_19175 WHERE "Home (1st leg)" = 'Belgrano' | [
2215,
894,
2164,
5733,
318,
262,
1363,
357,
16,
301,
1232,
8,
644,
318,
262,
1363,
357,
17,
358,
1232,
19427,
46506,
366,
16060,
357,
17,
358,
1232,
16725,
16034,
3084,
62,
1129,
17430,
33411,
366,
16060,
357,
16,
301,
1232,
16725,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
894,
2164,
5733,
318,
262,
1363,
357,
16,
301,
1232,
8,
644,
318,
262,
1363,
357,
17,
358,
1232,
19427,
46506,
366,
16060,
357,
17,
358,
1232,
16725,
16034,
3084,
62,
1129,
17430,
33411,
366,
16060,
357,
16,
301,
1232,
16725,
... |
Which Original Team has a Hometown of Brooklyn, New York and a Background of Comedienne? | SELECT "Original Team" FROM table_43418 WHERE "Hometown" = 'brooklyn, new york' AND "Background" = 'comedienne' | [
13828,
13745,
4816,
468,
257,
367,
19191,
286,
12232,
11,
968,
1971,
290,
257,
25353,
286,
37024,
37938,
30,
46506,
366,
20556,
4816,
1,
16034,
3084,
62,
47101,
1507,
33411,
366,
39,
19191,
1,
796,
705,
19094,
6213,
11,
649,
331,
967,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
13745,
4816,
468,
257,
367,
19191,
286,
12232,
11,
968,
1971,
290,
257,
25353,
286,
37024,
37938,
30,
46506,
366,
20556,
4816,
1,
16034,
3084,
62,
47101,
1507,
33411,
366,
39,
19191,
1,
796,
705,
19094,
6213,
11,
649,
331,
967,... |
Before taking course CHEMBIO 501 , which courses do I need to take ? | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT... | [
8421,
2263,
1781,
5870,
3620,
3483,
46,
24555,
837,
543,
10902,
466,
314,
761,
284,
1011,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
1761... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
8421,
2263,
1781,
5870,
3620,
3483,
46,
24555,
837,
543,
10902,
466,
314,
761,
284,
1011,
5633,
46506,
360,
8808,
1268,
4177,
37384,
5188,
62,
15,
13,
10378,
1823,
11,
37384,
5188,
62,
15,
13,
3672,
11,
37384,
5188,
62,
15,
13,
1761... |
Which nominee was nominated in the Outstanding Director of a Musical category? | SELECT "Nominee" FROM table_40295 WHERE "Category" = 'outstanding director of a musical' | [
13828,
10429,
373,
19332,
287,
262,
3806,
5646,
5890,
286,
257,
33375,
6536,
30,
46506,
366,
45,
296,
500,
68,
1,
16034,
3084,
62,
1821,
25710,
33411,
366,
27313,
1,
796,
705,
448,
5646,
3437,
286,
257,
10530,
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
] | [
13828,
10429,
373,
19332,
287,
262,
3806,
5646,
5890,
286,
257,
33375,
6536,
30,
46506,
366,
45,
296,
500,
68,
1,
16034,
3084,
62,
1821,
25710,
33411,
366,
27313,
1,
796,
705,
448,
5646,
3437,
286,
257,
10530,
6
] |
body mass index > 30 kg / m2 | SELECT * FROM table_train_271 WHERE body_mass_index_bmi > 30 | [
2618,
2347,
6376,
1875,
1542,
14211,
1220,
285,
17,
46506,
1635,
16034,
3084,
62,
27432,
62,
28977,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
1875,
1542
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2618,
2347,
6376,
1875,
1542,
14211,
1220,
285,
17,
46506,
1635,
16034,
3084,
62,
27432,
62,
28977,
33411,
1767,
62,
22208,
62,
9630,
62,
65,
11632,
1875,
1542
] |
How many millions of U.S. viewers watched the episode titled 'New Beginnings'? | SELECT "U.S. viewers (million)" FROM table_30683 WHERE "Title" = 'New Beginnings' | [
2437,
867,
5242,
286,
471,
13,
50,
13,
10209,
7342,
262,
4471,
11946,
705,
3791,
16623,
23400,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
16034,
3084,
62,
1270,
47521,
33411,
366,
19160,
1,
796,
705,
3791,
16623,
234... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
5242,
286,
471,
13,
50,
13,
10209,
7342,
262,
4471,
11946,
705,
3791,
16623,
23400,
30960,
46506,
366,
52,
13,
50,
13,
10209,
357,
14100,
16725,
16034,
3084,
62,
1270,
47521,
33411,
366,
19160,
1,
796,
705,
3791,
16623,
234... |
What is the average number of attendees for performances? | SELECT AVG(Attendance) FROM performance | [
2061,
318,
262,
2811,
1271,
286,
21736,
329,
13289,
30,
46506,
35224,
7,
8086,
437,
590,
8,
16034,
2854
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
1271,
286,
21736,
329,
13289,
30,
46506,
35224,
7,
8086,
437,
590,
8,
16034,
2854
] |
What winning team has volleyball as the sport? | SELECT "Winning team" FROM table_36274 WHERE "Sport" = 'volleyball' | [
2061,
5442,
1074,
468,
50196,
355,
262,
6332,
30,
46506,
366,
16643,
768,
1074,
1,
16034,
3084,
62,
2623,
28857,
33411,
366,
42576,
1,
796,
705,
10396,
1636,
1894,
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,
5442,
1074,
468,
50196,
355,
262,
6332,
30,
46506,
366,
16643,
768,
1074,
1,
16034,
3084,
62,
2623,
28857,
33411,
366,
42576,
1,
796,
705,
10396,
1636,
1894,
6
] |
What's the comp when the score was 393? | SELECT comp FROM table_name_81 WHERE score = "393" | [
2061,
338,
262,
552,
618,
262,
4776,
373,
5014,
18,
30,
46506,
552,
16034,
3084,
62,
3672,
62,
6659,
33411,
4776,
796,
366,
26007,
1
] | [
1,
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,
552,
618,
262,
4776,
373,
5014,
18,
30,
46506,
552,
16034,
3084,
62,
3672,
62,
6659,
33411,
4776,
796,
366,
26007,
1
] |
Name the total number of production code by david richardson and todd holland | SELECT COUNT(production_code) FROM table_1876825_2 WHERE written_by = "David Richardson" AND directed_by = "Todd Holland" | [
5376,
262,
2472,
1271,
286,
3227,
2438,
416,
21970,
5527,
1371,
261,
290,
23646,
289,
692,
392,
46506,
327,
28270,
7,
25493,
62,
8189,
8,
16034,
3084,
62,
23451,
3104,
1495,
62,
17,
33411,
3194,
62,
1525,
796,
366,
11006,
21679,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
1271,
286,
3227,
2438,
416,
21970,
5527,
1371,
261,
290,
23646,
289,
692,
392,
46506,
327,
28270,
7,
25493,
62,
8189,
8,
16034,
3084,
62,
23451,
3104,
1495,
62,
17,
33411,
3194,
62,
1525,
796,
366,
11006,
21679,
1,
... |
What is the grid for the Minardi Team USA with laps smaller than 90? | SELECT "Grid" FROM table_77750 WHERE "Laps" < '90' AND "Team" = 'minardi team usa' | [
2061,
318,
262,
10706,
329,
262,
1855,
22490,
4816,
4916,
351,
24590,
4833,
621,
4101,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
3324,
15426,
33411,
366,
43,
1686,
1,
1279,
705,
3829,
6,
5357,
366,
15592,
1,
796,
705,
1084,
22490,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10706,
329,
262,
1855,
22490,
4816,
4916,
351,
24590,
4833,
621,
4101,
30,
46506,
366,
41339,
1,
16034,
3084,
62,
3324,
15426,
33411,
366,
43,
1686,
1,
1279,
705,
3829,
6,
5357,
366,
15592,
1,
796,
705,
1084,
22490,
... |
What is the original title of the Gypsy Magic film title used in nomination? | SELECT original_title FROM table_name_67 WHERE film_title_used_in_nomination = "gypsy magic" | [
2061,
318,
262,
2656,
3670,
286,
262,
18488,
13764,
6139,
2646,
3670,
973,
287,
11872,
30,
46506,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
3134,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
1360,
13764,
5536,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2656,
3670,
286,
262,
18488,
13764,
6139,
2646,
3670,
973,
287,
11872,
30,
46506,
2656,
62,
7839,
16034,
3084,
62,
3672,
62,
3134,
33411,
2646,
62,
7839,
62,
1484,
62,
259,
62,
26601,
1883,
796,
366,
1360,
13764,
5536,... |
When was the record of 0-1 set? | SELECT date FROM table_13258806_2 WHERE record = "0-1" | [
2215,
373,
262,
1700,
286,
657,
12,
16,
900,
30,
46506,
3128,
16034,
3084,
62,
1485,
25600,
37988,
62,
17,
33411,
1700,
796,
366,
15,
12,
16,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
373,
262,
1700,
286,
657,
12,
16,
900,
30,
46506,
3128,
16034,
3084,
62,
1485,
25600,
37988,
62,
17,
33411,
1700,
796,
366,
15,
12,
16,
1
] |
Name the manager for playoffs of missed for 1999 | SELECT manager FROM table_name_45 WHERE playoffs = "missed" AND year = "1999" | [
5376,
262,
4706,
329,
12980,
286,
6825,
329,
7358,
46506,
4706,
16034,
3084,
62,
3672,
62,
2231,
33411,
12980,
796,
366,
3927,
276,
1,
5357,
614,
796,
366,
18946,
1
] | [
1,
1,
1,
1,
1,
1,
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,
4706,
329,
12980,
286,
6825,
329,
7358,
46506,
4706,
16034,
3084,
62,
3672,
62,
2231,
33411,
12980,
796,
366,
3927,
276,
1,
5357,
614,
796,
366,
18946,
1
] |
What player has a total of 158/ | SELECT player FROM table_name_54 WHERE total = "158" | [
2061,
2137,
468,
257,
2472,
286,
24063,
14,
46506,
2137,
16034,
3084,
62,
3672,
62,
4051,
33411,
2472,
796,
366,
21273,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
2137,
468,
257,
2472,
286,
24063,
14,
46506,
2137,
16034,
3084,
62,
3672,
62,
4051,
33411,
2472,
796,
366,
21273,
1
] |
What is the method where there is a loss with time 5:00? | SELECT method FROM table_name_76 WHERE res = "loss" AND time = "5:00" | [
2061,
318,
262,
2446,
810,
612,
318,
257,
2994,
351,
640,
642,
25,
405,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
4304,
33411,
581,
796,
366,
22462,
1,
5357,
640,
796,
366,
20,
25,
405,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2446,
810,
612,
318,
257,
2994,
351,
640,
642,
25,
405,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
4304,
33411,
581,
796,
366,
22462,
1,
5357,
640,
796,
366,
20,
25,
405,
1
] |
What is the venue where john zibnack was the runner-up? | SELECT venue FROM table_name_54 WHERE runner_up = "john zibnack" | [
2061,
318,
262,
14359,
810,
45610,
1976,
571,
77,
441,
373,
262,
17490,
12,
929,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
4051,
33411,
17490,
62,
929,
796,
366,
30686,
1976,
571,
77,
441,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14359,
810,
45610,
1976,
571,
77,
441,
373,
262,
17490,
12,
929,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
4051,
33411,
17490,
62,
929,
796,
366,
30686,
1976,
571,
77,
441,
1
] |
How many gains have a long greater than 8, with avg/g of 124.9? | SELECT SUM("Gain") FROM table_65668 WHERE "Long" > '8' AND "Avg/G" = '124.9' | [
2437,
867,
8810,
423,
257,
890,
3744,
621,
807,
11,
351,
42781,
14,
70,
286,
19755,
13,
24,
30,
46506,
35683,
7203,
38,
391,
4943,
16034,
3084,
62,
2996,
35809,
33411,
366,
14617,
1,
1875,
705,
23,
6,
5357,
366,
48997,
14,
38,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
8810,
423,
257,
890,
3744,
621,
807,
11,
351,
42781,
14,
70,
286,
19755,
13,
24,
30,
46506,
35683,
7203,
38,
391,
4943,
16034,
3084,
62,
2996,
35809,
33411,
366,
14617,
1,
1875,
705,
23,
6,
5357,
366,
48997,
14,
38,
1,
... |
Which Second has a Lead of ben hebert? | SELECT second FROM table_name_6 WHERE lead = "ben hebert" | [
13828,
5498,
468,
257,
20116,
286,
1888,
339,
4835,
30,
46506,
1218,
16034,
3084,
62,
3672,
62,
21,
33411,
1085,
796,
366,
11722,
339,
4835,
1
] | [
1,
1,
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,
5498,
468,
257,
20116,
286,
1888,
339,
4835,
30,
46506,
1218,
16034,
3084,
62,
3672,
62,
21,
33411,
1085,
796,
366,
11722,
339,
4835,
1
] |
Name the transliteration for | SELECT "Transliteration" FROM table_23672 WHERE "Malayalam name" = 'ചിങ്ങം' | [
5376,
262,
4779,
2676,
341,
329,
46506,
366,
8291,
17201,
341,
1,
16034,
3084,
62,
1954,
43864,
33411,
366,
15029,
323,
44949,
1438,
1,
796,
705,
156,
112,
248,
156,
112,
123,
156,
112,
247,
156,
113,
235,
156,
112,
247,
156,
112,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4779,
2676,
341,
329,
46506,
366,
8291,
17201,
341,
1,
16034,
3084,
62,
1954,
43864,
33411,
366,
15029,
323,
44949,
1438,
1,
796,
705,
156,
112,
248,
156,
112,
123,
156,
112,
247,
156,
113,
235,
156,
112,
247,
156,
112,
... |
How many episode titles have series number 4? | SELECT COUNT(title) FROM table_28859177_2 WHERE series__number = 4 | [
2437,
867,
4471,
8714,
423,
2168,
1271,
604,
30,
46506,
327,
28270,
7,
7839,
8,
16034,
3084,
62,
25270,
3270,
22413,
62,
17,
33411,
2168,
834,
17618,
796,
604
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
867,
4471,
8714,
423,
2168,
1271,
604,
30,
46506,
327,
28270,
7,
7839,
8,
16034,
3084,
62,
25270,
3270,
22413,
62,
17,
33411,
2168,
834,
17618,
796,
604
] |
what is the number of patients whose gender is m and admission year is less than 2127? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.admityear < "2127" | [
10919,
318,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
13938,
614,
318,
1342,
621,
362,
16799,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
1271,
286,
3871,
3025,
5279,
318,
285,
290,
13938,
614,
318,
1342,
621,
362,
16799,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
8388,
796,
366,
44,
1... |
In what week was the Result L 35-10? | SELECT MIN("Week") FROM table_6255 WHERE "Result" = 'l 35-10' | [
818,
644,
1285,
373,
262,
25414,
406,
3439,
12,
940,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
21,
13381,
33411,
366,
23004,
1,
796,
705,
75,
3439,
12,
940,
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
] | [
818,
644,
1285,
373,
262,
25414,
406,
3439,
12,
940,
30,
46506,
20625,
7203,
20916,
4943,
16034,
3084,
62,
21,
13381,
33411,
366,
23004,
1,
796,
705,
75,
3439,
12,
940,
6
] |
Which Number has a Name of cooper, c. kenneth, and a Year End larger than 1984? | SELECT AVG("Number") FROM table_79077 WHERE "Name" = 'cooper, c. kenneth' AND "Year End" > '1984' | [
13828,
7913,
468,
257,
6530,
286,
6788,
11,
269,
13,
479,
1697,
2788,
11,
290,
257,
6280,
5268,
4025,
621,
12844,
30,
46506,
35224,
7203,
15057,
4943,
16034,
3084,
62,
3720,
2998,
22,
33411,
366,
5376,
1,
796,
705,
1073,
3575,
11,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7913,
468,
257,
6530,
286,
6788,
11,
269,
13,
479,
1697,
2788,
11,
290,
257,
6280,
5268,
4025,
621,
12844,
30,
46506,
35224,
7203,
15057,
4943,
16034,
3084,
62,
3720,
2998,
22,
33411,
366,
5376,
1,
796,
705,
1073,
3575,
11,
2... |
Which event has a Method of submission (triangle choke), and an Opponent of thiago tavares? | SELECT "Event" FROM table_56024 WHERE "Method" = 'submission (triangle choke)' AND "Opponent" = 'thiago tavares' | [
13828,
1785,
468,
257,
11789,
286,
14498,
357,
28461,
9248,
28504,
828,
290,
281,
9385,
3471,
286,
294,
29601,
256,
615,
3565,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
34135,
1731,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
284... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1785,
468,
257,
11789,
286,
14498,
357,
28461,
9248,
28504,
828,
290,
281,
9385,
3471,
286,
294,
29601,
256,
615,
3565,
30,
46506,
366,
9237,
1,
16034,
3084,
62,
34135,
1731,
33411,
366,
17410,
1,
796,
705,
7266,
3411,
357,
284... |
select Id from Posts. | SELECT Id FROM Posts | [
19738,
5121,
422,
12043,
13,
46506,
5121,
16034,
12043
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
19738,
5121,
422,
12043,
13,
46506,
5121,
16034,
12043
] |
What episode did Pamela Anderson guest host. | SELECT COUNT("Episode Number") FROM table_20427 WHERE "Guest Host" = 'Pamela Anderson' | [
2061,
4471,
750,
43341,
9918,
8319,
2583,
13,
46506,
327,
28270,
7203,
23758,
7913,
4943,
16034,
3084,
62,
18638,
1983,
33411,
366,
42481,
14504,
1,
796,
705,
47,
321,
10304,
9918,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4471,
750,
43341,
9918,
8319,
2583,
13,
46506,
327,
28270,
7203,
23758,
7913,
4943,
16034,
3084,
62,
18638,
1983,
33411,
366,
42481,
14504,
1,
796,
705,
47,
321,
10304,
9918,
6
] |
Give me a bar chart that the X-axis is the date_moved_in and the Y-axis is Count them. | SELECT date_moved_in, COUNT(date_moved_in) FROM Customer_Events GROUP BY date_moved_in | [
23318,
502,
257,
2318,
8262,
326,
262,
1395,
12,
22704,
318,
262,
3128,
62,
76,
2668,
62,
259,
290,
262,
575,
12,
22704,
318,
2764,
606,
13,
46506,
3128,
62,
76,
2668,
62,
259,
11,
327,
28270,
7,
4475,
62,
76,
2668,
62,
259,
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
] | [
23318,
502,
257,
2318,
8262,
326,
262,
1395,
12,
22704,
318,
262,
3128,
62,
76,
2668,
62,
259,
290,
262,
575,
12,
22704,
318,
2764,
606,
13,
46506,
3128,
62,
76,
2668,
62,
259,
11,
327,
28270,
7,
4475,
62,
76,
2668,
62,
259,
8,
... |
What is the value of D 45 O when the value of D 44 O is majority? | SELECT d_45_o FROM table_name_67 WHERE d_44_o = "← majority" | [
2061,
318,
262,
1988,
286,
360,
4153,
440,
618,
262,
1988,
286,
360,
5846,
440,
318,
3741,
30,
46506,
288,
62,
2231,
62,
78,
16034,
3084,
62,
3672,
62,
3134,
33411,
288,
62,
2598,
62,
78,
796,
366,
29705,
238,
3741,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1988,
286,
360,
4153,
440,
618,
262,
1988,
286,
360,
5846,
440,
318,
3741,
30,
46506,
288,
62,
2231,
62,
78,
16034,
3084,
62,
3672,
62,
3134,
33411,
288,
62,
2598,
62,
78,
796,
366,
29705,
238,
3741,
1
] |
during their last hospital visit what was the insurance plan of patient 29741? | SELECT admissions.insurance FROM admissions WHERE admissions.subject_id = 29741 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1 | [
42122,
511,
938,
4436,
3187,
644,
373,
262,
5096,
1410,
286,
5827,
41103,
3901,
30,
46506,
25349,
13,
1040,
3874,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
41103,
3901,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
386... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
42122,
511,
938,
4436,
3187,
644,
373,
262,
5096,
1410,
286,
5827,
41103,
3901,
30,
46506,
25349,
13,
1040,
3874,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
41103,
3901,
5357,
5626,
25349,
13,
6381,
354,
2435,
3180,
15697,
386... |
What was the total of A Score when the E Score was greater than 9.383, total was less than 19.716 and the T Score was larger than 4? | SELECT SUM("A Score") FROM table_38625 WHERE "E Score" > '9.383' AND "Total" < '19.716' AND "T Score" > '4' | [
2061,
373,
262,
2472,
286,
317,
15178,
618,
262,
412,
15178,
373,
3744,
621,
860,
13,
34741,
11,
2472,
373,
1342,
621,
678,
13,
22,
1433,
290,
262,
309,
15178,
373,
4025,
621,
604,
30,
46506,
35683,
7203,
32,
15178,
4943,
16034,
308... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
373,
262,
2472,
286,
317,
15178,
618,
262,
412,
15178,
373,
3744,
621,
860,
13,
34741,
11,
2472,
373,
1342,
621,
678,
13,
22,
1433,
290,
262,
309,
15178,
373,
4025,
621,
604,
30,
46506,
35683,
7203,
32,
15178,
4943,
16034,
308... |
Loss of willis has what record? | SELECT "Record" FROM table_70162 WHERE "Loss" = 'willis' | [
43,
793,
286,
481,
271,
468,
644,
1700,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
41583,
5237,
33411,
366,
43,
793,
1,
796,
705,
10594,
271,
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
] | [
43,
793,
286,
481,
271,
468,
644,
1700,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
41583,
5237,
33411,
366,
43,
793,
1,
796,
705,
10594,
271,
6
] |
list all flights leaving DENVER on CO on sunday after 2134 | SELECT DISTINCT flight.flight_id FROM airport_service, city, date_day, days, flight WHERE ((date_day.day_number = 27 AND date_day.month_number = 8 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time > 2134 AND flight.flight_days = days.days_code) AND city.city_code = airport_service... | [
4868,
477,
13956,
4305,
37692,
5959,
319,
7375,
319,
37437,
323,
706,
362,
19880,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
14808,
4475,
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... | [
4868,
477,
13956,
4305,
37692,
5959,
319,
7375,
319,
37437,
323,
706,
362,
19880,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
11,
1748,
11,
3128,
62,
820,
11,
1528,
11,
5474,
33411,
14808,
4475,
62,... |
WHAT IS THE RANK OF UNIVERSAL, AND DIRECTOR JOHN HUGHES? | SELECT "Rank" FROM table_50419 WHERE "Studio" = 'universal' AND "Director" = 'john hughes' | [
32971,
3180,
3336,
371,
15154,
3963,
49677,
1847,
11,
5357,
42242,
1581,
39263,
367,
44004,
1546,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
33580,
1129,
33411,
366,
41501,
1,
796,
705,
40082,
6,
5357,
366,
28702,
1,
796,
705,
30686,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
371,
15154,
3963,
49677,
1847,
11,
5357,
42242,
1581,
39263,
367,
44004,
1546,
30,
46506,
366,
27520,
1,
16034,
3084,
62,
33580,
1129,
33411,
366,
41501,
1,
796,
705,
40082,
6,
5357,
366,
28702,
1,
796,
705,
30686,
... |
Which Player has a Score smaller than 69, and a Place of t1? | SELECT "Player" FROM table_9374 WHERE "Score" < '69' AND "Place" = 't1' | [
13828,
7853,
468,
257,
15178,
4833,
621,
8644,
11,
290,
257,
8474,
286,
256,
16,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
24,
31020,
33411,
366,
26595,
1,
1279,
705,
3388,
6,
5357,
366,
27271,
1,
796,
705,
83,
16,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
7853,
468,
257,
15178,
4833,
621,
8644,
11,
290,
257,
8474,
286,
256,
16,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
24,
31020,
33411,
366,
26595,
1,
1279,
705,
3388,
6,
5357,
366,
27271,
1,
796,
705,
83,
16,
6
] |
How many totals are there for players with an average under 8 and less than 4 matches? | SELECT COUNT("Total") FROM table_32613 WHERE "Average" < '8' AND "Matches" < '4' | [
2437,
867,
26310,
389,
612,
329,
1938,
351,
281,
2811,
739,
807,
290,
1342,
621,
604,
7466,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
39195,
1485,
33411,
366,
26287,
1,
1279,
705,
23,
6,
5357,
366,
19044,
2052,
1,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
26310,
389,
612,
329,
1938,
351,
281,
2811,
739,
807,
290,
1342,
621,
604,
7466,
30,
46506,
327,
28270,
7203,
14957,
4943,
16034,
3084,
62,
39195,
1485,
33411,
366,
26287,
1,
1279,
705,
23,
6,
5357,
366,
19044,
2052,
1,
1... |
On what date was the episode aired where event 2 was Hang Tough? | SELECT "Air Date" FROM table_21431 WHERE "Event 2" = 'Hang Tough' | [
2202,
644,
3128,
373,
262,
4471,
18530,
810,
1785,
362,
373,
24300,
37223,
30,
46506,
366,
16170,
7536,
1,
16034,
3084,
62,
22291,
3132,
33411,
366,
9237,
362,
1,
796,
705,
39,
648,
37223,
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
] | [
2202,
644,
3128,
373,
262,
4471,
18530,
810,
1785,
362,
373,
24300,
37223,
30,
46506,
366,
16170,
7536,
1,
16034,
3084,
62,
22291,
3132,
33411,
366,
9237,
362,
1,
796,
705,
39,
648,
37223,
6
] |
Give the proportion of what is the average price for each type of product? | SELECT product_type_code, AVG(product_price) FROM Products GROUP BY product_type_code | [
23318,
262,
9823,
286,
644,
318,
262,
2811,
2756,
329,
1123,
2099,
286,
1720,
30,
46506,
1720,
62,
4906,
62,
8189,
11,
35224,
7,
11167,
62,
20888,
8,
16034,
18675,
44441,
11050,
1720,
62,
4906,
62,
8189
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
9823,
286,
644,
318,
262,
2811,
2756,
329,
1123,
2099,
286,
1720,
30,
46506,
1720,
62,
4906,
62,
8189,
11,
35224,
7,
11167,
62,
20888,
8,
16034,
18675,
44441,
11050,
1720,
62,
4906,
62,
8189
] |
What was the date of the poll from Survey USA that showed a lead margin smaller than 5.5? | SELECT dates_administered FROM table_name_87 WHERE lead_margin < 5.5 AND poll_source = "survey usa" | [
2061,
373,
262,
3128,
286,
262,
3278,
422,
13084,
4916,
326,
3751,
257,
1085,
10330,
4833,
621,
642,
13,
20,
30,
46506,
9667,
62,
39081,
1068,
16034,
3084,
62,
3672,
62,
5774,
33411,
1085,
62,
36153,
1279,
642,
13,
20,
5357,
3278,
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
] | [
2061,
373,
262,
3128,
286,
262,
3278,
422,
13084,
4916,
326,
3751,
257,
1085,
10330,
4833,
621,
642,
13,
20,
30,
46506,
9667,
62,
39081,
1068,
16034,
3084,
62,
3672,
62,
5774,
33411,
1085,
62,
36153,
1279,
642,
13,
20,
5357,
3278,
6... |
did the hall of fame player awarded the year after tony coton earn more goals than he did ? | SELECT (SELECT "goals" FROM table_204_340 WHERE "year inducted" = (SELECT "year inducted" FROM table_204_340 WHERE "name" = 'tony coton') + 1) > (SELECT "goals" FROM table_204_340 WHERE "name" = 'tony coton') | [
20839,
262,
6899,
286,
16117,
2137,
11343,
262,
614,
706,
256,
1647,
269,
18970,
5160,
517,
4661,
621,
339,
750,
5633,
46506,
357,
46506,
366,
2188,
874,
1,
16034,
3084,
62,
18638,
62,
23601,
33411,
366,
1941,
28948,
276,
1,
796,
357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
20839,
262,
6899,
286,
16117,
2137,
11343,
262,
614,
706,
256,
1647,
269,
18970,
5160,
517,
4661,
621,
339,
750,
5633,
46506,
357,
46506,
366,
2188,
874,
1,
16034,
3084,
62,
18638,
62,
23601,
33411,
366,
1941,
28948,
276,
1,
796,
357,... |
What was the percentage of safari when firefox was 24.66% | SELECT safari FROM table_name_10 WHERE firefox = "24.66%" | [
2061,
373,
262,
5873,
286,
1932,
2743,
618,
2046,
12792,
373,
1987,
13,
2791,
4,
46506,
1932,
2743,
16034,
3084,
62,
3672,
62,
940,
33411,
2046,
12792,
796,
366,
1731,
13,
2791,
39658
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
5873,
286,
1932,
2743,
618,
2046,
12792,
373,
1987,
13,
2791,
4,
46506,
1932,
2743,
16034,
3084,
62,
3672,
62,
940,
33411,
2046,
12792,
796,
366,
1731,
13,
2791,
39658
] |
What is the number of students playing as a goalie? | SELECT COUNT(*) FROM tryout WHERE ppos = 'goalie' | [
2061,
318,
262,
1271,
286,
2444,
2712,
355,
257,
31071,
30,
46506,
327,
28270,
7,
28104,
16034,
1949,
448,
33411,
279,
1930,
796,
705,
35231,
494,
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,
318,
262,
1271,
286,
2444,
2712,
355,
257,
31071,
30,
46506,
327,
28270,
7,
28104,
16034,
1949,
448,
33411,
279,
1930,
796,
705,
35231,
494,
6
] |
What was week 12's record? | SELECT "Record" FROM table_32532 WHERE "Week" = '12' | [
2061,
373,
1285,
1105,
338,
1700,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
26582,
2624,
33411,
366,
20916,
1,
796,
705,
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
] | [
2061,
373,
1285,
1105,
338,
1700,
30,
46506,
366,
23739,
1,
16034,
3084,
62,
26582,
2624,
33411,
366,
20916,
1,
796,
705,
1065,
6
] |
show me flights between DENVER and BALTIMORE | 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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMO... | [
12860,
502,
13956,
1022,
37692,
5959,
290,
347,
31429,
3955,
1581,
33635,
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,
7054,
31600,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
13956,
1022,
37692,
5959,
290,
347,
31429,
3955,
1581,
33635,
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,
7054,
31600,
15... |
What is the home team that had an away team of lincoln city? | SELECT "Home team" FROM table_64727 WHERE "Away team" = 'lincoln city' | [
2061,
318,
262,
1363,
1074,
326,
550,
281,
1497,
1074,
286,
300,
11690,
1748,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
33981,
1983,
33411,
366,
32,
1014,
1074,
1,
796,
705,
75,
11690,
1748,
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,
1363,
1074,
326,
550,
281,
1497,
1074,
286,
300,
11690,
1748,
30,
46506,
366,
16060,
1074,
1,
16034,
3084,
62,
33981,
1983,
33411,
366,
32,
1014,
1074,
1,
796,
705,
75,
11690,
1748,
6
] |
What is the average number of goals for games played that total more than 8? | SELECT AVG("Goals For") FROM table_13485 WHERE "Games Played" > '8' | [
2061,
318,
262,
2811,
1271,
286,
4661,
329,
1830,
2826,
326,
2472,
517,
621,
807,
30,
46506,
35224,
7203,
5247,
874,
1114,
4943,
16034,
3084,
62,
1485,
32642,
33411,
366,
24474,
33101,
1,
1875,
705,
23,
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,
2811,
1271,
286,
4661,
329,
1830,
2826,
326,
2472,
517,
621,
807,
30,
46506,
35224,
7203,
5247,
874,
1114,
4943,
16034,
3084,
62,
1485,
32642,
33411,
366,
24474,
33101,
1,
1875,
705,
23,
6
] |
Which base has a company of Theatro Technis Karolos Koun? | SELECT base FROM table_name_59 WHERE company = "theatro technis karolos koun" | [
13828,
2779,
468,
257,
1664,
286,
383,
47756,
5429,
271,
9375,
349,
418,
509,
977,
30,
46506,
2779,
16034,
3084,
62,
3672,
62,
3270,
33411,
1664,
796,
366,
1169,
47756,
1579,
271,
479,
283,
349,
418,
479,
977,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2779,
468,
257,
1664,
286,
383,
47756,
5429,
271,
9375,
349,
418,
509,
977,
30,
46506,
2779,
16034,
3084,
62,
3672,
62,
3270,
33411,
1664,
796,
366,
1169,
47756,
1579,
271,
479,
283,
349,
418,
479,
977,
1
] |
Which couple had a week 2 score of exactly 23? | SELECT couple FROM table_28946565_2 WHERE week_2 = 23 | [
13828,
3155,
550,
257,
1285,
362,
4776,
286,
3446,
2242,
30,
46506,
3155,
16034,
3084,
62,
2078,
5824,
2996,
2996,
62,
17,
33411,
1285,
62,
17,
796,
2242
] | [
1,
1,
1,
1,
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,
3155,
550,
257,
1285,
362,
4776,
286,
3446,
2242,
30,
46506,
3155,
16034,
3084,
62,
2078,
5824,
2996,
2996,
62,
17,
33411,
1285,
62,
17,
796,
2242
] |
Before round 9, when Takashi Kogure held pole position, who was the team? | SELECT "Team" FROM table_4466 WHERE "Round" < '9' AND "Pole Position" = 'takashi kogure' | [
8421,
2835,
860,
11,
618,
15804,
12144,
509,
519,
495,
2714,
16825,
2292,
11,
508,
373,
262,
1074,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2598,
2791,
33411,
366,
22685,
1,
1279,
705,
24,
6,
5357,
366,
47,
2305,
23158,
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
] | [
8421,
2835,
860,
11,
618,
15804,
12144,
509,
519,
495,
2714,
16825,
2292,
11,
508,
373,
262,
1074,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
2598,
2791,
33411,
366,
22685,
1,
1279,
705,
24,
6,
5357,
366,
47,
2305,
23158,
1,
796,
... |
what was the four most common lab test done since 3 years ago for patients aged 30s? | SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 30 AND 39) AND DATETIME(lab.labresulttime) >= DATETIME(CURRENT_TIME(), '-3 year') GROUP BY lab.labname) AS t1 WHER... | [
10919,
373,
262,
1440,
749,
2219,
2248,
1332,
1760,
1201,
513,
812,
2084,
329,
3871,
9722,
1542,
82,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
1440,
749,
2219,
2248,
1332,
1760,
1201,
513,
812,
2084,
329,
3871,
9722,
1542,
82,
30,
46506,
256,
16,
13,
23912,
3672,
16034,
357,
46506,
2248,
13,
23912,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532... |
Name the number of reporters for heywood hale broun | SELECT COUNT(reporters) FROM table_22514845_5 WHERE s_analyst = "Heywood Hale Broun" | [
5376,
262,
1271,
286,
7638,
329,
17207,
3822,
289,
1000,
275,
472,
77,
46506,
327,
28270,
7,
260,
1819,
1010,
8,
16034,
3084,
62,
18182,
18294,
2231,
62,
20,
33411,
264,
62,
272,
21470,
796,
366,
10814,
3822,
35056,
347,
472,
77,
1
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7638,
329,
17207,
3822,
289,
1000,
275,
472,
77,
46506,
327,
28270,
7,
260,
1819,
1010,
8,
16034,
3084,
62,
18182,
18294,
2231,
62,
20,
33411,
264,
62,
272,
21470,
796,
366,
10814,
3822,
35056,
347,
472,
77,
1
... |
how many teams had the most seasons ? | SELECT COUNT("team") FROM table_204_506 WHERE "seasons" = (SELECT MAX("seasons") FROM table_204_506) | [
4919,
867,
3466,
550,
262,
749,
7028,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
18638,
62,
35638,
33411,
366,
325,
2812,
1,
796,
357,
46506,
25882,
7203,
325,
2812,
4943,
16034,
3084,
62,
18638,
62,
35638,
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
] | [
4919,
867,
3466,
550,
262,
749,
7028,
5633,
46506,
327,
28270,
7203,
15097,
4943,
16034,
3084,
62,
18638,
62,
35638,
33411,
366,
325,
2812,
1,
796,
357,
46506,
25882,
7203,
325,
2812,
4943,
16034,
3084,
62,
18638,
62,
35638,
8
] |
When 8.3 is the q-band what is the property? | SELECT property FROM table_186468_1 WHERE q_band = "8.3" | [
2215,
807,
13,
18,
318,
262,
10662,
12,
3903,
644,
318,
262,
3119,
30,
46506,
3119,
16034,
3084,
62,
1507,
2414,
3104,
62,
16,
33411,
10662,
62,
3903,
796,
366,
23,
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
] | [
2215,
807,
13,
18,
318,
262,
10662,
12,
3903,
644,
318,
262,
3119,
30,
46506,
3119,
16034,
3084,
62,
1507,
2414,
3104,
62,
16,
33411,
10662,
62,
3903,
796,
366,
23,
13,
18,
1
] |
For those records from the products and each product's manufacturer, give me the comparison about the average of manufacturer over the headquarter , and group by attribute headquarter, show by the y-axis in asc. | SELECT Headquarter, AVG(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY AVG(Manufacturer) | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
11554,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
905,
416,
262,
331,
12,
22704,
287,
10570,
13,
4... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4406,
422,
262,
3186,
290,
1123,
1720,
338,
11554,
11,
1577,
502,
262,
7208,
546,
262,
2811,
286,
11554,
625,
262,
1182,
24385,
837,
290,
1448,
416,
11688,
1182,
24385,
11,
905,
416,
262,
331,
12,
22704,
287,
10570,
13,
4... |
Which Position has a Level of tier 3 and a Season smaller than 1999? | SELECT "Position" FROM table_5754 WHERE "Level" = 'tier 3' AND "Season" < '1999' | [
13828,
23158,
468,
257,
5684,
286,
14249,
513,
290,
257,
7369,
4833,
621,
7358,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
36189,
19,
33411,
366,
4971,
1,
796,
705,
24948,
513,
6,
5357,
366,
18960,
1,
1279,
705,
18946,
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
] | [
13828,
23158,
468,
257,
5684,
286,
14249,
513,
290,
257,
7369,
4833,
621,
7358,
30,
46506,
366,
26545,
1,
16034,
3084,
62,
36189,
19,
33411,
366,
4971,
1,
796,
705,
24948,
513,
6,
5357,
366,
18960,
1,
1279,
705,
18946,
6
] |
Who directed episode number 2? | SELECT "Director" FROM table_28075 WHERE "No." = '2' | [
8241,
7924,
4471,
1271,
362,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
21033,
2425,
33411,
366,
2949,
526,
796,
705,
17,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
7924,
4471,
1271,
362,
30,
46506,
366,
28702,
1,
16034,
3084,
62,
21033,
2425,
33411,
366,
2949,
526,
796,
705,
17,
6
] |
specify procedural long title of patient travis hofman | SELECT procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Travis Hofman" | [
16684,
1958,
27931,
890,
3670,
286,
5827,
1291,
4703,
289,
1659,
805,
46506,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
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
] | [
16684,
1958,
27931,
890,
3670,
286,
5827,
1291,
4703,
289,
1659,
805,
46506,
9021,
13,
6511,
62,
7839,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177,
16728,
13,
18108,
76,
62,
312,
796,
9021,
13,
18108,
76,
62,
312,
33411,
16728,
... |
How many enrolment students in each month? Return a bar chart binning date of enrolment by month interval, and I want to order in asc by the y-axis. | SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Student_Course_Enrolment ORDER BY COUNT(date_of_enrolment) | [
2437,
867,
34311,
434,
2444,
287,
1123,
1227,
30,
8229,
257,
2318,
8262,
9874,
768,
3128,
286,
34311,
434,
416,
1227,
16654,
11,
290,
314,
765,
284,
1502,
287,
10570,
416,
262,
331,
12,
22704,
13,
46506,
3128,
62,
1659,
62,
268,
322... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
34311,
434,
2444,
287,
1123,
1227,
30,
8229,
257,
2318,
8262,
9874,
768,
3128,
286,
34311,
434,
416,
1227,
16654,
11,
290,
314,
765,
284,
1502,
287,
10570,
416,
262,
331,
12,
22704,
13,
46506,
3128,
62,
1659,
62,
268,
322... |
Show how many carrriers for each shops in a bar chart, and could you sort bars from high to low order? | SELECT Shop_Name, COUNT(Shop_Name) FROM stock AS T1 JOIN device AS T2 ON T1.Device_ID = T2.Device_ID JOIN shop AS T3 ON T1.Shop_ID = T3.Shop_ID GROUP BY Shop_Name ORDER BY Shop_Name DESC | [
15307,
703,
867,
1097,
81,
8910,
329,
1123,
12437,
287,
257,
2318,
8262,
11,
290,
714,
345,
3297,
9210,
422,
1029,
284,
1877,
1502,
30,
46506,
13705,
62,
5376,
11,
327,
28270,
7,
29917,
62,
5376,
8,
16034,
4283,
7054,
309,
16,
32357... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
703,
867,
1097,
81,
8910,
329,
1123,
12437,
287,
257,
2318,
8262,
11,
290,
714,
345,
3297,
9210,
422,
1029,
284,
1877,
1502,
30,
46506,
13705,
62,
5376,
11,
327,
28270,
7,
29917,
62,
5376,
8,
16034,
4283,
7054,
309,
16,
32357... |
Which Set 2 has a Date of 25 may, and a Set 3 of 21 25? | SELECT set_2 FROM table_name_45 WHERE date = "25 may" AND set_3 = "21–25" | [
13828,
5345,
362,
468,
257,
7536,
286,
1679,
743,
11,
290,
257,
5345,
513,
286,
2310,
1679,
30,
46506,
900,
62,
17,
16034,
3084,
62,
3672,
62,
2231,
33411,
3128,
796,
366,
1495,
743,
1,
5357,
900,
62,
18,
796,
366,
2481,
1906,
149... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5345,
362,
468,
257,
7536,
286,
1679,
743,
11,
290,
257,
5345,
513,
286,
2310,
1679,
30,
46506,
900,
62,
17,
16034,
3084,
62,
3672,
62,
2231,
33411,
3128,
796,
366,
1495,
743,
1,
5357,
900,
62,
18,
796,
366,
2481,
1906,
149... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.