instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
Who came as a replacement in Sheffield United? | SELECT replaced_by FROM table_19359427_6 WHERE team = "Sheffield United" | [
8241,
1625,
355,
257,
9014,
287,
33496,
1578,
30,
46506,
6928,
62,
1525,
16034,
3084,
62,
1129,
2327,
5824,
1983,
62,
21,
33411,
1074,
796,
366,
3347,
31374,
1578,
1
] | [
1,
1,
1,
1,
1,
1,
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,
1625,
355,
257,
9014,
287,
33496,
1578,
30,
46506,
6928,
62,
1525,
16034,
3084,
62,
1129,
2327,
5824,
1983,
62,
21,
33411,
1074,
796,
366,
3347,
31374,
1578,
1
] |
how many days have elapsed since the last time that patient 49176 stayed in ward 14 in the current hospital visit? | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 49176 AND admissions.dischtime IS NULL)) AND transfers.... | [
4919,
867,
1528,
423,
42118,
1201,
262,
938,
640,
326,
5827,
5125,
24096,
9658,
287,
15305,
1478,
287,
262,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
42118,
1201,
262,
938,
640,
326,
5827,
5125,
24096,
9658,
287,
15305,
1478,
287,
262,
1459,
4436,
3187,
30,
46506,
352,
1635,
357,
18601,
9792,
12789,
10786,
4,
73,
3256,
327,
39237,
62,
34694,
28955,
532,
19269,
... |
What is the full name ( first name and last name ) for those employees who gets more salary than the employee whose id is 163? | SELECT first_name, last_name FROM employees WHERE salary > (SELECT salary FROM employees WHERE employee_id = 163) | [
2061,
318,
262,
1336,
1438,
357,
717,
1438,
290,
938,
1438,
1267,
329,
883,
4409,
508,
3011,
517,
9588,
621,
262,
6538,
3025,
4686,
318,
26826,
30,
46506,
717,
62,
3672,
11,
938,
62,
3672,
16034,
4409,
33411,
9588,
1875,
357,
46506,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1336,
1438,
357,
717,
1438,
290,
938,
1438,
1267,
329,
883,
4409,
508,
3011,
517,
9588,
621,
262,
6538,
3025,
4686,
318,
26826,
30,
46506,
717,
62,
3672,
11,
938,
62,
3672,
16034,
4409,
33411,
9588,
1875,
357,
46506,
... |
the first state formed ? | SELECT "name" FROM table_203_190 ORDER BY "formed" LIMIT 1 | [
1169,
717,
1181,
7042,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
19782,
38678,
11050,
366,
12214,
1,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1169,
717,
1181,
7042,
5633,
46506,
366,
3672,
1,
16034,
3084,
62,
22416,
62,
19782,
38678,
11050,
366,
12214,
1,
27564,
2043,
352
] |
Name the typed for formed from 6-pul trailer third in res unit | SELECT type FROM table_name_40 WHERE formed_from = "6-pul trailer third in res unit" | [
5376,
262,
25683,
329,
7042,
422,
718,
12,
79,
377,
12268,
2368,
287,
581,
4326,
46506,
2099,
16034,
3084,
62,
3672,
62,
1821,
33411,
7042,
62,
6738,
796,
366,
21,
12,
79,
377,
12268,
2368,
287,
581,
4326,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
25683,
329,
7042,
422,
718,
12,
79,
377,
12268,
2368,
287,
581,
4326,
46506,
2099,
16034,
3084,
62,
3672,
62,
1821,
33411,
7042,
62,
6738,
796,
366,
21,
12,
79,
377,
12268,
2368,
287,
581,
4326,
1
] |
how many times did patient 017-16041 produced a stool output on the current intensive care unit visit? | SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-16041') AND patient.unitdischargetime IS NULL) AND intakeoutput.cellpa... | [
4919,
867,
1661,
750,
5827,
5534,
22,
12,
1433,
50049,
4635,
257,
38753,
5072,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
327,
28270,
7,
28104,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
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... | [
4919,
867,
1661,
750,
5827,
5534,
22,
12,
1433,
50049,
4635,
257,
38753,
5072,
319,
262,
1459,
18590,
1337,
4326,
3187,
30,
46506,
327,
28270,
7,
28104,
16034,
10337,
22915,
33411,
10337,
22915,
13,
26029,
20850,
31712,
312,
3268,
357,
... |
show me the fares from DALLAS to SAN FRANCISCO | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare 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_... | [
12860,
502,
262,
33164,
422,
360,
7036,
1921,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
33164,
422,
360,
7036,
1921,
284,
37376,
8782,
20940,
37719,
14058,
16779,
360,
8808,
1268,
4177,
14505,
13,
9496,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,
11,
9003,
62,
15271,
7054... |
Where was the game on March 11, 1999 played? | SELECT venue FROM table_name_30 WHERE date = "march 11, 1999" | [
8496,
373,
262,
983,
319,
2805,
1367,
11,
7358,
2826,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1270,
33411,
3128,
796,
366,
76,
998,
1367,
11,
7358,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8496,
373,
262,
983,
319,
2805,
1367,
11,
7358,
2826,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
1270,
33411,
3128,
796,
366,
76,
998,
1367,
11,
7358,
1
] |
what is the three diagnoses which have the lowest four year survival rate? | SELECT t4.diagnosisname FROM (SELECT t3.diagnosisname, DENSE_RANK() OVER (ORDER BY t3.c1 DESC) AS c2 FROM (SELECT t2.diagnosisname, 100 - SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 4 * 365 THEN 1 ELSE 0 END) * 10... | [
10919,
318,
262,
1115,
40567,
543,
423,
262,
9016,
1440,
614,
9441,
2494,
30,
46506,
256,
19,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
18,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
1105... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1115,
40567,
543,
423,
262,
9016,
1440,
614,
9441,
2494,
30,
46506,
256,
19,
13,
47356,
5958,
3672,
16034,
357,
46506,
256,
18,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
1105... |
How many different constructors had Paul Thiel as a winning driver? | SELECT COUNT(constructor) FROM table_1140114_5 WHERE winning_driver = "Paul Thiel" | [
2437,
867,
1180,
5678,
669,
550,
3362,
42511,
355,
257,
5442,
4639,
30,
46506,
327,
28270,
7,
41571,
273,
8,
16034,
3084,
62,
16562,
486,
1415,
62,
20,
33411,
5442,
62,
26230,
796,
366,
12041,
42511,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
5678,
669,
550,
3362,
42511,
355,
257,
5442,
4639,
30,
46506,
327,
28270,
7,
41571,
273,
8,
16034,
3084,
62,
16562,
486,
1415,
62,
20,
33411,
5442,
62,
26230,
796,
366,
12041,
42511,
1
] |
What season had a date of 30 august 1980 | SELECT season FROM table_name_54 WHERE date = "30 august 1980" | [
2061,
1622,
550,
257,
3128,
286,
1542,
16339,
436,
7169,
46506,
1622,
16034,
3084,
62,
3672,
62,
4051,
33411,
3128,
796,
366,
1270,
16339,
436,
7169,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1622,
550,
257,
3128,
286,
1542,
16339,
436,
7169,
46506,
1622,
16034,
3084,
62,
3672,
62,
4051,
33411,
3128,
796,
366,
1270,
16339,
436,
7169,
1
] |
Who has a Jump 2 of 7.06, and what is this person's Jump 3? | SELECT jump_3 FROM table_name_80 WHERE jump_2 = "7.06" | [
8241,
468,
257,
15903,
362,
286,
767,
13,
3312,
11,
290,
644,
318,
428,
1048,
338,
15903,
513,
30,
46506,
4391,
62,
18,
16034,
3084,
62,
3672,
62,
1795,
33411,
4391,
62,
17,
796,
366,
22,
13,
3312,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
468,
257,
15903,
362,
286,
767,
13,
3312,
11,
290,
644,
318,
428,
1048,
338,
15903,
513,
30,
46506,
4391,
62,
18,
16034,
3084,
62,
3672,
62,
1795,
33411,
4391,
62,
17,
796,
366,
22,
13,
3312,
1
] |
What is the sum of Goals, when Season is '2005-06', and when Division is less than 1? | SELECT SUM(goals) FROM table_name_43 WHERE season = "2005-06" AND division < 1 | [
2061,
318,
262,
2160,
286,
28510,
11,
618,
7369,
318,
705,
14315,
12,
3312,
3256,
290,
618,
7458,
318,
1342,
621,
352,
30,
46506,
35683,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
1622,
796,
366,
14315,
12,
3312,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
28510,
11,
618,
7369,
318,
705,
14315,
12,
3312,
3256,
290,
618,
7458,
318,
1342,
621,
352,
30,
46506,
35683,
7,
2188,
874,
8,
16034,
3084,
62,
3672,
62,
3559,
33411,
1622,
796,
366,
14315,
12,
3312,
1,
... |
indicate the daily maximum arterial bp [systolic] of patient 20441 since 1190 days ago. | SELECT MAX(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 = 20441)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arte... | [
521,
5344,
262,
4445,
5415,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
1160,
39710,
1201,
15136,
15,
1528,
2084,
13,
46506,
25882,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
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... | [
521,
5344,
262,
4445,
5415,
30675,
498,
275,
79,
685,
1837,
301,
4160,
60,
286,
5827,
1160,
39710,
1201,
15136,
15,
1528,
2084,
13,
46506,
25882,
7,
40926,
31534,
13,
2100,
84,
44709,
8,
16034,
8262,
31534,
33411,
8262,
31534,
13,
291... |
What year was there no competition in Mixed Doubles? | SELECT year FROM table_name_45 WHERE mixed_doubles = "no competition" | [
2061,
614,
373,
612,
645,
5449,
287,
35250,
5728,
7689,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2231,
33411,
7668,
62,
67,
280,
7689,
796,
366,
3919,
5449,
1
] | [
1,
1,
1,
1,
1,
1,
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,
614,
373,
612,
645,
5449,
287,
35250,
5728,
7689,
30,
46506,
614,
16034,
3084,
62,
3672,
62,
2231,
33411,
7668,
62,
67,
280,
7689,
796,
366,
3919,
5449,
1
] |
Show the names of people and the number of times they have been on the affirmative side of debates, and rank by the bar in asc. | SELECT Name, COUNT(*) FROM debate_people AS T1 JOIN people AS T2 ON T1.Affirmative = T2.People_ID GROUP BY T2.Name ORDER BY Name | [
15307,
262,
3891,
286,
661,
290,
262,
1271,
286,
1661,
484,
423,
587,
319,
262,
27990,
1735,
286,
15389,
11,
290,
4279,
416,
262,
2318,
287,
10570,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
4384,
62,
15332,
7054,
309,
16,
32... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15307,
262,
3891,
286,
661,
290,
262,
1271,
286,
1661,
484,
423,
587,
319,
262,
27990,
1735,
286,
15389,
11,
290,
4279,
416,
262,
2318,
287,
10570,
13,
46506,
6530,
11,
327,
28270,
7,
28104,
16034,
4384,
62,
15332,
7054,
309,
16,
32... |
how many christian contemporary stations are there ? | SELECT COUNT(*) FROM table_203_657 WHERE "format" = 'christian contemporary' | [
4919,
867,
33826,
666,
11811,
8985,
389,
612,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
37680,
33411,
366,
18982,
1,
796,
705,
43533,
666,
11811,
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
] | [
4919,
867,
33826,
666,
11811,
8985,
389,
612,
5633,
46506,
327,
28270,
7,
28104,
16034,
3084,
62,
22416,
62,
37680,
33411,
366,
18982,
1,
796,
705,
43533,
666,
11811,
6
] |
What are the types and countries of competitions? | SELECT competition_type, country FROM competition | [
2061,
389,
262,
3858,
290,
2678,
286,
24174,
30,
46506,
5449,
62,
4906,
11,
1499,
16034,
5449
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
3858,
290,
2678,
286,
24174,
30,
46506,
5449,
62,
4906,
11,
1499,
16034,
5449
] |
For those employees who was hired before 2002-06-21, draw a bar chart about the distribution of job_id and the sum of manager_id , and group by attribute job_id, and list Y in desc order. | SELECT JOB_ID, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY SUM(MANAGER_ID) DESC | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
4706,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
1351,
575,
287,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
3197,
257,
2318,
8262,
546,
262,
6082,
286,
1693,
62,
312,
290,
262,
2160,
286,
4706,
62,
312,
837,
290,
1448,
416,
11688,
1693,
62,
312,
11,
290,
1351,
575,
287,... |
On what Date was the Attendance larger than 14,427 and a Loss of Jon Lieber (4 1)? | SELECT "Date" FROM table_5377 WHERE "Attendance" > '14,427' AND "Loss" = 'jon lieber (4–1)' | [
2202,
644,
7536,
373,
262,
46502,
590,
4025,
621,
1478,
11,
42363,
290,
257,
22014,
286,
5966,
12060,
527,
357,
19,
352,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
20,
26514,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1415,
11,
42... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7536,
373,
262,
46502,
590,
4025,
621,
1478,
11,
42363,
290,
257,
22014,
286,
5966,
12060,
527,
357,
19,
352,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
20,
26514,
33411,
366,
8086,
437,
590,
1,
1875,
705,
1415,
11,
42... |
What is Graeme's Guest, when Episode is '1x03'? | SELECT "Graeme's guest" FROM table_76327 WHERE "Episode" = '1x03' | [
2061,
318,
7037,
34755,
338,
22358,
11,
618,
7922,
318,
705,
16,
87,
3070,
30960,
46506,
366,
46971,
34755,
338,
8319,
1,
16034,
3084,
62,
4304,
34159,
33411,
366,
23758,
1,
796,
705,
16,
87,
3070,
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,
7037,
34755,
338,
22358,
11,
618,
7922,
318,
705,
16,
87,
3070,
30960,
46506,
366,
46971,
34755,
338,
8319,
1,
16034,
3084,
62,
4304,
34159,
33411,
366,
23758,
1,
796,
705,
16,
87,
3070,
6
] |
What myspace has linkedin as the site, with an orkit greater than 3? | SELECT AVG(myspace) FROM table_name_62 WHERE site = "linkedin" AND orkut > 3 | [
2061,
616,
13200,
468,
6692,
259,
355,
262,
2524,
11,
351,
281,
393,
15813,
3744,
621,
513,
30,
46506,
35224,
7,
28744,
10223,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
2524,
796,
366,
25614,
259,
1,
5357,
393,
74,
315,
1875,
513
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
616,
13200,
468,
6692,
259,
355,
262,
2524,
11,
351,
281,
393,
15813,
3744,
621,
513,
30,
46506,
35224,
7,
28744,
10223,
8,
16034,
3084,
62,
3672,
62,
5237,
33411,
2524,
796,
366,
25614,
259,
1,
5357,
393,
74,
315,
1875,
513
] |
Which score was for the Spurs as visitors with record of 35 16? | SELECT "Score" FROM table_39374 WHERE "Visitor" = 'spurs' AND "Record" = '35–16' | [
13828,
4776,
373,
329,
262,
18353,
355,
9692,
351,
1700,
286,
3439,
1467,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2670,
31020,
33411,
366,
15854,
2072,
1,
796,
705,
2777,
1834,
6,
5357,
366,
23739,
1,
796,
705,
2327,
1906,
1433,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4776,
373,
329,
262,
18353,
355,
9692,
351,
1700,
286,
3439,
1467,
30,
46506,
366,
26595,
1,
16034,
3084,
62,
2670,
31020,
33411,
366,
15854,
2072,
1,
796,
705,
2777,
1834,
6,
5357,
366,
23739,
1,
796,
705,
2327,
1906,
1433,
... |
For the game with 6,126 in attendance, how many points did both teams have in the standings? | SELECT COUNT(points) FROM table_name_16 WHERE attendance = 6 OFFSET 126 | [
1890,
262,
983,
351,
718,
11,
19420,
287,
14858,
11,
703,
867,
2173,
750,
1111,
3466,
423,
287,
262,
33864,
30,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
14858,
796,
718,
3963,
10652,
2767,
19710
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
983,
351,
718,
11,
19420,
287,
14858,
11,
703,
867,
2173,
750,
1111,
3466,
423,
287,
262,
33864,
30,
46506,
327,
28270,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
1433,
33411,
14858,
796,
718,
3963,
10652,
2767,
19710
] |
count the number of patients whose diagnosis short title is dmii renl nt st uncntrld and lab test abnormal status is abnormal. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "DMII renl nt st uncntrld" AND lab.flag = "abnormal" | [
9127,
262,
1271,
286,
3871,
3025,
13669,
1790,
3670,
318,
288,
76,
4178,
8851,
75,
299,
83,
336,
4591,
429,
81,
335,
290,
2248,
1332,
18801,
3722,
318,
18801,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
9127,
262,
1271,
286,
3871,
3025,
13669,
1790,
3670,
318,
288,
76,
4178,
8851,
75,
299,
83,
336,
4591,
429,
81,
335,
290,
2248,
1332,
18801,
3722,
318,
18801,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312... |
How much time did Coad make when the margin was 04:02? | SELECT total_time FROM table_name_44 WHERE margin = "04:02" AND driver = "coad" | [
2437,
881,
640,
750,
327,
1170,
787,
618,
262,
10330,
373,
8702,
25,
2999,
30,
46506,
2472,
62,
2435,
16034,
3084,
62,
3672,
62,
2598,
33411,
10330,
796,
366,
3023,
25,
2999,
1,
5357,
4639,
796,
366,
1073,
324,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
640,
750,
327,
1170,
787,
618,
262,
10330,
373,
8702,
25,
2999,
30,
46506,
2472,
62,
2435,
16034,
3084,
62,
3672,
62,
2598,
33411,
10330,
796,
366,
3023,
25,
2999,
1,
5357,
4639,
796,
366,
1073,
324,
1
] |
which tournament had the most points per game ? | SELECT "tournament" FROM table_203_527 ORDER BY "points per game" DESC LIMIT 1 | [
4758,
7756,
550,
262,
749,
2173,
583,
983,
5633,
46506,
366,
83,
5138,
1,
16034,
3084,
62,
22416,
62,
20,
1983,
38678,
11050,
366,
13033,
583,
983,
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
] | [
4758,
7756,
550,
262,
749,
2173,
583,
983,
5633,
46506,
366,
83,
5138,
1,
16034,
3084,
62,
22416,
62,
20,
1983,
38678,
11050,
366,
13033,
583,
983,
1,
22196,
34,
27564,
2043,
352
] |
List the names of all genres in alphabetical oder, together with its ratings in a bar chart. | SELECT g_name, rating FROM genre ORDER BY g_name | [
8053,
262,
3891,
286,
477,
27962,
287,
24830,
605,
267,
1082,
11,
1978,
351,
663,
10109,
287,
257,
2318,
8262,
13,
46506,
308,
62,
3672,
11,
7955,
16034,
12121,
38678,
11050,
308,
62,
3672
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
262,
3891,
286,
477,
27962,
287,
24830,
605,
267,
1082,
11,
1978,
351,
663,
10109,
287,
257,
2318,
8262,
13,
46506,
308,
62,
3672,
11,
7955,
16034,
12121,
38678,
11050,
308,
62,
3672
] |
until 2 years ago, what are the three most frequently ordered medications for patients of age 20s? | SELECT t1.drug FROM (SELECT prescriptions.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 20 AND 29) AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY pres... | [
28446,
362,
812,
2084,
11,
644,
389,
262,
1115,
749,
6777,
6149,
17638,
329,
3871,
286,
2479,
1160,
82,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
28446,
362,
812,
2084,
11,
644,
389,
262,
1115,
749,
6777,
6149,
17638,
329,
3871,
286,
2479,
1160,
82,
30,
46506,
256,
16,
13,
30349,
16034,
357,
46506,
34092,
13,
30349,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
... |
what is the total when the rank is total and the silver is less than 10? | SELECT SUM("Total") FROM table_65435 WHERE "Rank" = 'total' AND "Silver" < '10' | [
10919,
318,
262,
2472,
618,
262,
4279,
318,
2472,
290,
262,
8465,
318,
1342,
621,
838,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
39111,
2327,
33411,
366,
27520,
1,
796,
705,
23350,
6,
5357,
366,
26766,
1,
1279,
705,
940,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
262,
2472,
618,
262,
4279,
318,
2472,
290,
262,
8465,
318,
1342,
621,
838,
30,
46506,
35683,
7203,
14957,
4943,
16034,
3084,
62,
39111,
2327,
33411,
366,
27520,
1,
796,
705,
23350,
6,
5357,
366,
26766,
1,
1279,
705,
940,
... |
Who competed on may 6, 2006? | SELECT opponents FROM table_name_50 WHERE date = "may 6, 2006" | [
8241,
32440,
319,
743,
718,
11,
4793,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
1120,
33411,
3128,
796,
366,
11261,
718,
11,
4793,
1
] | [
1,
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,
32440,
319,
743,
718,
11,
4793,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
1120,
33411,
3128,
796,
366,
11261,
718,
11,
4793,
1
] |
In what year were laps less than 64 and the finish at 25? | SELECT "Year" FROM table_71481 WHERE "Laps" < '64' AND "Finish" = '25' | [
818,
644,
614,
547,
24590,
1342,
621,
5598,
290,
262,
5461,
379,
1679,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
45722,
6659,
33411,
366,
43,
1686,
1,
1279,
705,
2414,
6,
5357,
366,
48658,
1,
796,
705,
1495,
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
] | [
818,
644,
614,
547,
24590,
1342,
621,
5598,
290,
262,
5461,
379,
1679,
30,
46506,
366,
17688,
1,
16034,
3084,
62,
45722,
6659,
33411,
366,
43,
1686,
1,
1279,
705,
2414,
6,
5357,
366,
48658,
1,
796,
705,
1495,
6
] |
For a team with 332 points for, what was the try bonus? | SELECT try_bonus FROM table_name_16 WHERE points_for = "332" | [
1890,
257,
1074,
351,
41423,
2173,
329,
11,
644,
373,
262,
1949,
7202,
30,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
3672,
62,
1433,
33411,
2173,
62,
1640,
796,
366,
32148,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
257,
1074,
351,
41423,
2173,
329,
11,
644,
373,
262,
1949,
7202,
30,
46506,
1949,
62,
4189,
385,
16034,
3084,
62,
3672,
62,
1433,
33411,
2173,
62,
1640,
796,
366,
32148,
1
] |
What was the away team's score at Western Oval? | SELECT "Away team score" FROM table_32503 WHERE "Venue" = 'western oval' | [
2061,
373,
262,
1497,
1074,
338,
4776,
379,
4885,
25165,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2624,
31938,
33411,
366,
37522,
518,
1,
796,
705,
14197,
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
] | [
2061,
373,
262,
1497,
1074,
338,
4776,
379,
4885,
25165,
30,
46506,
366,
32,
1014,
1074,
4776,
1,
16034,
3084,
62,
2624,
31938,
33411,
366,
37522,
518,
1,
796,
705,
14197,
41186,
6
] |
What is the sum of losses for Against values over 1510? | SELECT SUM(losses) FROM table_name_70 WHERE against > 1510 | [
2061,
318,
262,
2160,
286,
9089,
329,
12914,
3815,
625,
1315,
940,
30,
46506,
35683,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
1028,
1875,
1315,
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
] | [
2061,
318,
262,
2160,
286,
9089,
329,
12914,
3815,
625,
1315,
940,
30,
46506,
35683,
7,
22462,
274,
8,
16034,
3084,
62,
3672,
62,
2154,
33411,
1028,
1875,
1315,
940
] |
What is the average round of the match in the Hero's 9 event with a time of 5:00? | SELECT AVG("Round") FROM table_15518 WHERE "Time" = '5:00' AND "Event" = 'hero''s 9' | [
2061,
318,
262,
2811,
2835,
286,
262,
2872,
287,
262,
8757,
338,
860,
1785,
351,
257,
640,
286,
642,
25,
405,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
18742,
1507,
33411,
366,
7575,
1,
796,
705,
20,
25,
405,
6,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
2835,
286,
262,
2872,
287,
262,
8757,
338,
860,
1785,
351,
257,
640,
286,
642,
25,
405,
30,
46506,
35224,
7203,
22685,
4943,
16034,
3084,
62,
18742,
1507,
33411,
366,
7575,
1,
796,
705,
20,
25,
405,
6,
5357,
... |
what were the five most frequent drugs prescribed within the same month to the patients aged 60 or above after they had been diagnosed with hepatic dysfunction - chronic,? | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hepatic dysfunction - chronic') AS t1 JOIN (SELECT... | [
10919,
547,
262,
1936,
749,
10792,
5010,
14798,
1626,
262,
976,
1227,
284,
262,
3871,
9722,
3126,
393,
2029,
706,
484,
550,
587,
14641,
351,
47585,
1512,
19327,
532,
10726,
11,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
547,
262,
1936,
749,
10792,
5010,
14798,
1626,
262,
976,
1227,
284,
262,
3871,
9722,
3126,
393,
2029,
706,
484,
550,
587,
14641,
351,
47585,
1512,
19327,
532,
10726,
11,
30,
46506,
256,
18,
13,
30349,
3672,
16034,
357,
46506,
2... |
what is the highest number of games played when there was 2 losses, percentage was 0.00% and more than 0 draws? | SELECT MAX("Played") FROM table_15294 WHERE "Lost" = '2' AND "Percentage" = '0.00%' AND "Drawn" > '0' | [
10919,
318,
262,
4511,
1271,
286,
1830,
2826,
618,
612,
373,
362,
9089,
11,
5873,
373,
657,
13,
405,
4,
290,
517,
621,
657,
14293,
30,
46506,
25882,
7203,
11002,
276,
4943,
16034,
3084,
62,
1314,
27696,
33411,
366,
31042,
1,
796,
70... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
4511,
1271,
286,
1830,
2826,
618,
612,
373,
362,
9089,
11,
5873,
373,
657,
13,
405,
4,
290,
517,
621,
657,
14293,
30,
46506,
25882,
7203,
11002,
276,
4943,
16034,
3084,
62,
1314,
27696,
33411,
366,
31042,
1,
796,
70... |
What is the Record of the Game on January 20 with Visitor Toronto Maple Leafs with a Score of 3 1? | SELECT record FROM table_name_63 WHERE score = "3–1" AND visitor = "toronto maple leafs" AND date = "january 20" | [
2061,
318,
262,
13266,
286,
262,
3776,
319,
3269,
1160,
351,
6911,
2072,
6586,
21249,
25479,
351,
257,
15178,
286,
513,
352,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5066,
33411,
4776,
796,
366,
18,
1906,
16,
1,
5357,
21493,
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
] | [
2061,
318,
262,
13266,
286,
262,
3776,
319,
3269,
1160,
351,
6911,
2072,
6586,
21249,
25479,
351,
257,
15178,
286,
513,
352,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
5066,
33411,
4776,
796,
366,
18,
1906,
16,
1,
5357,
21493,
796,
... |
, 2020. | SELECT p.OwnerUserId FROM (SELECT OwnerUserId, MIN(p.Id) AS firstpost FROM Posts AS p WHERE OwnerUserId IN (SELECT DISTINCT p1.OwnerUserId FROM Posts AS p1 WHERE p1.OwnerUserId > 0 GROUP BY p1.OwnerUserId HAVING YEAR(MIN(p1.CreationDate)) = 2020) GROUP BY OwnerUserId) AS f, Posts AS p WHERE p.Id = f.firstpost AND Tags ... | [
11,
12131,
13,
46506,
279,
13,
42419,
12982,
7390,
16034,
357,
46506,
23853,
12982,
7390,
11,
20625,
7,
79,
13,
7390,
8,
7054,
717,
7353,
16034,
12043,
7054,
279,
33411,
23853,
12982,
7390,
3268,
357,
46506,
360,
8808,
1268,
4177,
279,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
11,
12131,
13,
46506,
279,
13,
42419,
12982,
7390,
16034,
357,
46506,
23853,
12982,
7390,
11,
20625,
7,
79,
13,
7390,
8,
7054,
717,
7353,
16034,
12043,
7054,
279,
33411,
23853,
12982,
7390,
3268,
357,
46506,
360,
8808,
1268,
4177,
279,
... |
Which Home team score is on sunday 24 february? | SELECT home_team AS score FROM table_name_74 WHERE date = "sunday 24 february" | [
13828,
5995,
1074,
4776,
318,
319,
37437,
323,
1987,
730,
65,
3728,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
4524,
33411,
3128,
796,
366,
82,
917,
323,
1987,
730,
65,
3728,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5995,
1074,
4776,
318,
319,
37437,
323,
1987,
730,
65,
3728,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
4524,
33411,
3128,
796,
366,
82,
917,
323,
1987,
730,
65,
3728,
1
] |
Which courses involve parts of Integ Microsys Lab and Health Care Markets and Public Policies , can you show me ? | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id WHERE (area.area LIKE '%Health Care Markets and Public Policies%' OR course.description LIKE '%Health Care Markets and Public Policies%' OR course.name LIKE '%Health Care Markets and Public Pol... | [
13828,
10902,
6211,
3354,
286,
15995,
4527,
17597,
3498,
290,
3893,
7276,
30251,
290,
5094,
42283,
837,
460,
345,
905,
502,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
10902,
6211,
3354,
286,
15995,
4527,
17597,
3498,
290,
3893,
7276,
30251,
290,
5094,
42283,
837,
460,
345,
905,
502,
5633,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,... |
how did patient 51577 first enter the hospital until 2104? | SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 51577 AND STRFTIME('%y', admissions.admittime) <= '2104' ORDER BY admissions.admittime LIMIT 1 | [
4919,
750,
5827,
642,
1314,
3324,
717,
3802,
262,
4436,
1566,
362,
13464,
30,
46506,
25349,
13,
324,
3411,
62,
4906,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
642,
1314,
3324,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
750,
5827,
642,
1314,
3324,
717,
3802,
262,
4436,
1566,
362,
13464,
30,
46506,
25349,
13,
324,
3411,
62,
4906,
16034,
25349,
33411,
25349,
13,
32796,
62,
312,
796,
642,
1314,
3324,
5357,
19269,
9792,
12789,
10786,
4,
88,
3256,
2... |
What are the nationalities and their average ages of journalists. Show me a bar chart. | SELECT Nationality, AVG(Age) FROM journalist GROUP BY Nationality | [
2061,
389,
262,
2260,
871,
290,
511,
2811,
9337,
286,
9046,
13,
5438,
502,
257,
2318,
8262,
13,
46506,
2351,
414,
11,
35224,
7,
23396,
8,
16034,
10099,
44441,
11050,
2351,
414
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
2260,
871,
290,
511,
2811,
9337,
286,
9046,
13,
5438,
502,
257,
2318,
8262,
13,
46506,
2351,
414,
11,
35224,
7,
23396,
8,
16034,
10099,
44441,
11050,
2351,
414
] |
List the number of the description of all aircrafts, and rank by the Y-axis in desc please. | SELECT Description, COUNT(Description) FROM aircraft GROUP BY Description ORDER BY COUNT(Description) DESC | [
8053,
262,
1271,
286,
262,
6764,
286,
477,
6215,
82,
11,
290,
4279,
416,
262,
575,
12,
22704,
287,
1715,
3387,
13,
46506,
12489,
11,
327,
28270,
7,
11828,
8,
16034,
6215,
44441,
11050,
12489,
38678,
11050,
327,
28270,
7,
11828,
8,
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
] | [
8053,
262,
1271,
286,
262,
6764,
286,
477,
6215,
82,
11,
290,
4279,
416,
262,
575,
12,
22704,
287,
1715,
3387,
13,
46506,
12489,
11,
327,
28270,
7,
11828,
8,
16034,
6215,
44441,
11050,
12489,
38678,
11050,
327,
28270,
7,
11828,
8,
2... |
What chng has a rank greater than 6, with 12 as a prev? | SELECT chng FROM table_name_55 WHERE rank > 6 AND prev = 12 | [
2061,
442,
782,
468,
257,
4279,
3744,
621,
718,
11,
351,
1105,
355,
257,
8654,
30,
46506,
442,
782,
16034,
3084,
62,
3672,
62,
2816,
33411,
4279,
1875,
718,
5357,
8654,
796,
1105
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
442,
782,
468,
257,
4279,
3744,
621,
718,
11,
351,
1105,
355,
257,
8654,
30,
46506,
442,
782,
16034,
3084,
62,
3672,
62,
2816,
33411,
4279,
1875,
718,
5357,
8654,
796,
1105
] |
Which time has a Rider of anthony west? | SELECT "Time" FROM table_45701 WHERE "Rider" = 'anthony west' | [
13828,
640,
468,
257,
16414,
286,
26794,
1647,
7421,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
33032,
486,
33411,
366,
49,
1304,
1,
796,
705,
29313,
1647,
7421,
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
] | [
13828,
640,
468,
257,
16414,
286,
26794,
1647,
7421,
30,
46506,
366,
7575,
1,
16034,
3084,
62,
33032,
486,
33411,
366,
49,
1304,
1,
796,
705,
29313,
1647,
7421,
6
] |
What was the score in the final on 14 august 1994? | SELECT "Score in the final" FROM table_10808 WHERE "Date" = '14 august 1994' | [
2061,
373,
262,
4776,
287,
262,
2457,
319,
1478,
16339,
436,
9162,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
24045,
23,
33411,
366,
10430,
1,
796,
705,
1415,
16339,
436,
9162,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
287,
262,
2457,
319,
1478,
16339,
436,
9162,
30,
46506,
366,
26595,
287,
262,
2457,
1,
16034,
3084,
62,
24045,
23,
33411,
366,
10430,
1,
796,
705,
1415,
16339,
436,
9162,
6
] |
What is the lest amount of bronzes that ranked 2 and has less silvers than 0? | SELECT MIN(bronze) FROM table_name_79 WHERE rank = 2 AND silver < 0 | [
2061,
318,
262,
27380,
2033,
286,
18443,
12271,
326,
10307,
362,
290,
468,
1342,
3313,
690,
621,
657,
30,
46506,
20625,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
4279,
796,
362,
5357,
8465,
1279,
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
] | [
2061,
318,
262,
27380,
2033,
286,
18443,
12271,
326,
10307,
362,
290,
468,
1342,
3313,
690,
621,
657,
30,
46506,
20625,
7,
65,
1313,
2736,
8,
16034,
3084,
62,
3672,
62,
3720,
33411,
4279,
796,
362,
5357,
8465,
1279,
657
] |
tell me the name of patient with patient id 76446. | SELECT demographic.name FROM demographic WHERE demographic.subject_id = "76446" | [
33331,
502,
262,
1438,
286,
5827,
351,
5827,
4686,
767,
2414,
3510,
13,
46506,
16728,
13,
3672,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
22,
2414,
3510,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
33331,
502,
262,
1438,
286,
5827,
351,
5827,
4686,
767,
2414,
3510,
13,
46506,
16728,
13,
3672,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
22,
2414,
3510,
1
] |
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by weekday, show in ascending by the y axis please. | SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(EMPLOYEE_ID) | [
1890,
883,
4409,
508,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
11,
905,
287,
41988,
416,
262,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
373,
9657,
878,
6244,
12,
3312,
12,
2481,
11,
1441,
257,
2318,
8262,
546,
262,
6082,
286,
11078,
62,
4475,
290,
262,
2811,
286,
6538,
62,
312,
9874,
11078,
62,
4475,
416,
28269,
11,
905,
287,
41988,
416,
262,
... |
What is the Team with a Machine that is nsr250 and has Points of 8? | SELECT "Team" FROM table_43182 WHERE "Machine" = 'nsr250' AND "Points" = '8' | [
2061,
318,
262,
4816,
351,
257,
10850,
326,
318,
299,
27891,
9031,
290,
468,
11045,
286,
807,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3559,
24294,
33411,
366,
37573,
1,
796,
705,
5907,
81,
9031,
6,
5357,
366,
40710,
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
] | [
2061,
318,
262,
4816,
351,
257,
10850,
326,
318,
299,
27891,
9031,
290,
468,
11045,
286,
807,
30,
46506,
366,
15592,
1,
16034,
3084,
62,
3559,
24294,
33411,
366,
37573,
1,
796,
705,
5907,
81,
9031,
6,
5357,
366,
40710,
1,
796,
705,
... |
What is the earliest year where the mintage (proof) is 25,000? | SELECT MIN(year) FROM table_11916083_1 WHERE mintage__proof_ = "25,000" | [
2061,
318,
262,
14555,
614,
810,
262,
285,
14630,
357,
13288,
8,
318,
1679,
11,
830,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
16315,
1433,
48290,
62,
16,
33411,
285,
14630,
834,
13288,
62,
796,
366,
1495,
11,
830,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
14555,
614,
810,
262,
285,
14630,
357,
13288,
8,
318,
1679,
11,
830,
30,
46506,
20625,
7,
1941,
8,
16034,
3084,
62,
16315,
1433,
48290,
62,
16,
33411,
285,
14630,
834,
13288,
62,
796,
366,
1495,
11,
830,
1
] |
What's the minimal enrollment of any of the schools? | SELECT MIN(enrollment) FROM table_1969577_3 | [
2061,
338,
262,
10926,
20753,
286,
597,
286,
262,
4266,
30,
46506,
20625,
7,
268,
48108,
8,
16034,
3084,
62,
1129,
37381,
3324,
62,
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
] | [
2061,
338,
262,
10926,
20753,
286,
597,
286,
262,
4266,
30,
46506,
20625,
7,
268,
48108,
8,
16034,
3084,
62,
1129,
37381,
3324,
62,
18
] |
what are the top five common diagnoses until 2104? | SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE STRFTIME('%y', diagnosis.diagnosistime) <= '2104' GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 5 | [
10919,
389,
262,
1353,
1936,
2219,
40567,
1566,
362,
13464,
30,
46506,
256,
16,
13,
47356,
5958,
3672,
16034,
357,
46506,
13669,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
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... | [
10919,
389,
262,
1353,
1936,
2219,
40567,
1566,
362,
13464,
30,
46506,
256,
16,
13,
47356,
5958,
3672,
16034,
357,
46506,
13669,
13,
47356,
5958,
3672,
11,
360,
24290,
62,
49,
15154,
3419,
28729,
357,
12532,
1137,
11050,
327,
28270,
7,
... |
Visualize a bar chart about the distribution of ACC_Road and the average of School_ID , and group by attribute ACC_Road, could you order in ascending by the names? | SELECT ACC_Road, AVG(School_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2811,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
714,
345,
1502,
287,
41988,
416,
262,
3891,
30,
46506,
15859,
62,
29197,
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
] | [
36259,
1096,
257,
2318,
8262,
546,
262,
6082,
286,
15859,
62,
29197,
290,
262,
2811,
286,
3961,
62,
2389,
837,
290,
1448,
416,
11688,
15859,
62,
29197,
11,
714,
345,
1502,
287,
41988,
416,
262,
3891,
30,
46506,
15859,
62,
29197,
11,
... |
display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a T . | SELECT employee_id, first_name, last_name FROM employees WHERE department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%T%') | [
13812,
262,
6538,
1271,
290,
1438,
7,
717,
1438,
290,
938,
1438,
1267,
329,
477,
4409,
508,
670,
287,
257,
5011,
351,
597,
6538,
3025,
1438,
4909,
257,
309,
764,
46506,
6538,
62,
312,
11,
717,
62,
3672,
11,
938,
62,
3672,
16034,
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... | [
13812,
262,
6538,
1271,
290,
1438,
7,
717,
1438,
290,
938,
1438,
1267,
329,
477,
4409,
508,
670,
287,
257,
5011,
351,
597,
6538,
3025,
1438,
4909,
257,
309,
764,
46506,
6538,
62,
312,
11,
717,
62,
3672,
11,
938,
62,
3672,
16034,
4... |
What is the venue that Saint Joseph's University hosted at? | SELECT venue FROM table_name_38 WHERE host = "saint joseph's university" | [
2061,
318,
262,
14359,
326,
9281,
7212,
338,
2059,
12007,
379,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2548,
33411,
2583,
796,
366,
82,
2913,
474,
577,
746,
338,
6403,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
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,
326,
9281,
7212,
338,
2059,
12007,
379,
30,
46506,
14359,
16034,
3084,
62,
3672,
62,
2548,
33411,
2583,
796,
366,
82,
2913,
474,
577,
746,
338,
6403,
1
] |
what is 2008 when 2012 is 3r and 2009 is 2r? | SELECT 2008 FROM table_name_79 WHERE 2012 = "3r" AND 2009 = "2r" | [
10919,
318,
3648,
618,
2321,
318,
513,
81,
290,
3717,
318,
362,
81,
30,
46506,
3648,
16034,
3084,
62,
3672,
62,
3720,
33411,
2321,
796,
366,
18,
81,
1,
5357,
3717,
796,
366,
17,
81,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3648,
618,
2321,
318,
513,
81,
290,
3717,
318,
362,
81,
30,
46506,
3648,
16034,
3084,
62,
3672,
62,
3720,
33411,
2321,
796,
366,
18,
81,
1,
5357,
3717,
796,
366,
17,
81,
1
] |
The winning team of the race, los angeles times 500 is who? | SELECT winning_team FROM table_10706879_3 WHERE name = "Los Angeles Times 500" | [
464,
5442,
1074,
286,
262,
3234,
11,
22346,
18304,
274,
1661,
5323,
318,
508,
30,
46506,
5442,
62,
15097,
16034,
3084,
62,
940,
2154,
3104,
3720,
62,
18,
33411,
1438,
796,
366,
28903,
5652,
3782,
5323,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
5442,
1074,
286,
262,
3234,
11,
22346,
18304,
274,
1661,
5323,
318,
508,
30,
46506,
5442,
62,
15097,
16034,
3084,
62,
940,
2154,
3104,
3720,
62,
18,
33411,
1438,
796,
366,
28903,
5652,
3782,
5323,
1
] |
On what date is the winning score 8 (70-71-67=208)? | SELECT "Date" FROM table_45791 WHERE "Winning score" = '–8 (70-71-67=208)' | [
2202,
644,
3128,
318,
262,
5442,
4776,
807,
357,
2154,
12,
4869,
12,
3134,
28,
21315,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
2231,
3720,
16,
33411,
366,
16643,
768,
4776,
1,
796,
705,
1906,
23,
357,
2154,
12,
4869,
12,
3134,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
5442,
4776,
807,
357,
2154,
12,
4869,
12,
3134,
28,
21315,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
2231,
3720,
16,
33411,
366,
16643,
768,
4776,
1,
796,
705,
1906,
23,
357,
2154,
12,
4869,
12,
3134,
... |
who weighed the most ? | SELECT "nickname" FROM table_204_769 ORDER BY "weight at birth" DESC LIMIT 1 | [
8727,
20261,
262,
749,
5633,
46506,
366,
17172,
3672,
1,
16034,
3084,
62,
18638,
62,
22,
3388,
38678,
11050,
366,
6551,
379,
4082,
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
] | [
8727,
20261,
262,
749,
5633,
46506,
366,
17172,
3672,
1,
16034,
3084,
62,
18638,
62,
22,
3388,
38678,
11050,
366,
6551,
379,
4082,
1,
22196,
34,
27564,
2043,
352
] |
What is the fewest draws for percentages of 5.02%? | SELECT MIN("Draw") FROM table_66635 WHERE "Percentage" = '5.02%' | [
2061,
318,
262,
1178,
395,
14293,
329,
28071,
286,
642,
13,
2999,
4,
30,
46506,
20625,
7203,
25302,
4943,
16034,
3084,
62,
27310,
2327,
33411,
366,
31905,
496,
1,
796,
705,
20,
13,
2999,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1178,
395,
14293,
329,
28071,
286,
642,
13,
2999,
4,
30,
46506,
20625,
7203,
25302,
4943,
16034,
3084,
62,
27310,
2327,
33411,
366,
31905,
496,
1,
796,
705,
20,
13,
2999,
4,
6
] |
How much Rank has Points larger than 282.5? | SELECT COUNT("Rank") FROM table_34564 WHERE "Points" > '282.5' | [
2437,
881,
10916,
468,
11045,
4025,
621,
41810,
13,
20,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
27712,
2414,
33411,
366,
40710,
1,
1875,
705,
32568,
13,
20,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
10916,
468,
11045,
4025,
621,
41810,
13,
20,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
27712,
2414,
33411,
366,
40710,
1,
1875,
705,
32568,
13,
20,
6
] |
Which Representative was from Kentucky during the years of 1855 1859? | SELECT "Representative" FROM table_69137 WHERE "State" = 'kentucky' AND "Years" = '1855–1859' | [
13828,
19920,
373,
422,
11867,
1141,
262,
812,
286,
1248,
2816,
1248,
3270,
30,
46506,
366,
40171,
876,
1,
16034,
3084,
62,
3388,
19708,
33411,
366,
9012,
1,
796,
705,
74,
298,
5309,
6,
5357,
366,
40630,
1,
796,
705,
1507,
2816,
190... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
19920,
373,
422,
11867,
1141,
262,
812,
286,
1248,
2816,
1248,
3270,
30,
46506,
366,
40171,
876,
1,
16034,
3084,
62,
3388,
19708,
33411,
366,
9012,
1,
796,
705,
74,
298,
5309,
6,
5357,
366,
40630,
1,
796,
705,
1507,
2816,
190... |
Name the sprint with mass start of 2nd | SELECT sprint FROM table_name_28 WHERE mass_start = "2nd" | [
5376,
262,
18553,
351,
2347,
923,
286,
362,
358,
46506,
18553,
16034,
3084,
62,
3672,
62,
2078,
33411,
2347,
62,
9688,
796,
366,
17,
358,
1
] | [
1,
1,
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,
18553,
351,
2347,
923,
286,
362,
358,
46506,
18553,
16034,
3084,
62,
3672,
62,
2078,
33411,
2347,
62,
9688,
796,
366,
17,
358,
1
] |
When roxanne and daniel are the couple what is the highest rank? | SELECT MAX("Rank") FROM table_23247 WHERE "Couple" = 'Roxanne and Daniel' | [
2215,
686,
87,
21952,
290,
288,
6321,
389,
262,
3155,
644,
318,
262,
4511,
4279,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
1954,
23753,
33411,
366,
34,
43846,
1,
796,
705,
49,
1140,
21952,
290,
7806,
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
] | [
2215,
686,
87,
21952,
290,
288,
6321,
389,
262,
3155,
644,
318,
262,
4511,
4279,
30,
46506,
25882,
7203,
27520,
4943,
16034,
3084,
62,
1954,
23753,
33411,
366,
34,
43846,
1,
796,
705,
49,
1140,
21952,
290,
7806,
6
] |
How many apartments do not have any facility? | SELECT COUNT(*) FROM Apartments WHERE NOT apt_id IN (SELECT apt_id FROM Apartment_Facilities) | [
2437,
867,
19592,
466,
407,
423,
597,
6841,
30,
46506,
327,
28270,
7,
28104,
16034,
22596,
902,
33411,
5626,
15409,
62,
312,
3268,
357,
46506,
15409,
62,
312,
16034,
5949,
1823,
62,
47522,
2410,
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
] | [
2437,
867,
19592,
466,
407,
423,
597,
6841,
30,
46506,
327,
28270,
7,
28104,
16034,
22596,
902,
33411,
5626,
15409,
62,
312,
3268,
357,
46506,
15409,
62,
312,
16034,
5949,
1823,
62,
47522,
2410,
8
] |
The UFC 44 event has what method? | SELECT method FROM table_name_98 WHERE event = "ufc 44" | [
464,
11448,
5846,
1785,
468,
644,
2446,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
4089,
33411,
1785,
796,
366,
3046,
66,
5846,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
464,
11448,
5846,
1785,
468,
644,
2446,
30,
46506,
2446,
16034,
3084,
62,
3672,
62,
4089,
33411,
1785,
796,
366,
3046,
66,
5846,
1
] |
what flights from PITTSBURGH to NEWARK on monday | 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, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'NEWARK' AND date_day.day_number = 21 AND date_day.month_number = 2 AND da... | [
10919,
13956,
422,
49040,
4694,
38926,
17511,
284,
12682,
14175,
319,
285,
3204,
46506,
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,
31... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
13956,
422,
49040,
4694,
38926,
17511,
284,
12682,
14175,
319,
285,
3204,
46506,
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,
31... |
What is the highest total with a t12 finish? | SELECT MAX("Total") FROM table_69574 WHERE "Finish" = 't12' | [
2061,
318,
262,
4511,
2472,
351,
257,
256,
1065,
5461,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
3388,
46900,
33411,
366,
48658,
1,
796,
705,
83,
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
] | [
2061,
318,
262,
4511,
2472,
351,
257,
256,
1065,
5461,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
3388,
46900,
33411,
366,
48658,
1,
796,
705,
83,
1065,
6
] |
Who is the Opponents on May 3, 1982? | SELECT opponents FROM table_name_73 WHERE date = "may 3, 1982" | [
8241,
318,
262,
9385,
3906,
319,
1737,
513,
11,
14489,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
4790,
33411,
3128,
796,
366,
11261,
513,
11,
14489,
1
] | [
1,
1,
1,
1,
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,
9385,
3906,
319,
1737,
513,
11,
14489,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
4790,
33411,
3128,
796,
366,
11261,
513,
11,
14489,
1
] |
Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner? | SELECT 20 AS _questions FROM table_name_21 WHERE cover_model = "kimberley conrad hefner" | [
8241,
373,
262,
1160,
20396,
2665,
8998,
379,
618,
17546,
9104,
373,
36015,
1636,
39708,
679,
69,
1008,
30,
46506,
1160,
7054,
4808,
6138,
507,
16034,
3084,
62,
3672,
62,
2481,
33411,
3002,
62,
19849,
796,
366,
74,
320,
527,
1636,
369... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1160,
20396,
2665,
8998,
379,
618,
17546,
9104,
373,
36015,
1636,
39708,
679,
69,
1008,
30,
46506,
1160,
7054,
4808,
6138,
507,
16034,
3084,
62,
3672,
62,
2481,
33411,
3002,
62,
19849,
796,
366,
74,
320,
527,
1636,
369... |
what was the setting of club penguin ? | SELECT "setting" FROM table_204_700 WHERE "name" = 'club penguin' | [
10919,
373,
262,
4634,
286,
3430,
38373,
259,
5633,
46506,
366,
33990,
1,
16034,
3084,
62,
18638,
62,
9879,
33411,
366,
3672,
1,
796,
705,
18664,
38373,
259,
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
] | [
10919,
373,
262,
4634,
286,
3430,
38373,
259,
5633,
46506,
366,
33990,
1,
16034,
3084,
62,
18638,
62,
9879,
33411,
366,
3672,
1,
796,
705,
18664,
38373,
259,
6
] |
TecBrat's Postive Score Answers on ELL. | SELECT Id FROM Posts WHERE OwnerUserId = 1811 AND PostTypeId = 2 AND Score > 1 | [
51,
721,
9414,
265,
338,
2947,
425,
15178,
42612,
319,
412,
3069,
13,
46506,
5121,
16034,
12043,
33411,
23853,
12982,
7390,
796,
1248,
1157,
5357,
2947,
6030,
7390,
796,
362,
5357,
15178,
1875,
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
] | [
51,
721,
9414,
265,
338,
2947,
425,
15178,
42612,
319,
412,
3069,
13,
46506,
5121,
16034,
12043,
33411,
23853,
12982,
7390,
796,
1248,
1157,
5357,
2947,
6030,
7390,
796,
362,
5357,
15178,
1875,
352
] |
what is admission type and diagnoses icd9 code of subject id 28588? | SELECT demographic.admission_type, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "28588" | [
10919,
318,
13938,
2099,
290,
40567,
14158,
67,
24,
2438,
286,
2426,
4686,
2579,
39118,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
40567,
13,
291,
67,
24,
62,
8189,
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,
13938,
2099,
290,
40567,
14158,
67,
24,
2438,
286,
2426,
4686,
2579,
39118,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
40567,
13,
291,
67,
24,
62,
8189,
16034,
16728,
3268,
21479,
32357,
1268,
40567,
6177,
16728,
13,
1... |
What network has an aspect of 4:3 and a PSIP Short Name of qvc? | SELECT "Network" FROM table_51512 WHERE "Aspect" = '4:3' AND "PSIP Short Name" = 'qvc' | [
2061,
3127,
468,
281,
4843,
286,
604,
25,
18,
290,
257,
6599,
4061,
10073,
6530,
286,
10662,
28435,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
45969,
1065,
33411,
366,
1722,
806,
1,
796,
705,
19,
25,
18,
6,
5357,
366,
3705,
4061,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3127,
468,
281,
4843,
286,
604,
25,
18,
290,
257,
6599,
4061,
10073,
6530,
286,
10662,
28435,
30,
46506,
366,
26245,
1,
16034,
3084,
62,
45969,
1065,
33411,
366,
1722,
806,
1,
796,
705,
19,
25,
18,
6,
5357,
366,
3705,
4061,
... |
How many grids correspond to more than 24 laps? | SELECT MAX("Grid") FROM table_75270 WHERE "Laps" > '24' | [
2437,
867,
50000,
6053,
284,
517,
621,
1987,
24590,
30,
46506,
25882,
7203,
41339,
4943,
16034,
3084,
62,
2425,
20233,
33411,
366,
43,
1686,
1,
1875,
705,
1731,
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
] | [
2437,
867,
50000,
6053,
284,
517,
621,
1987,
24590,
30,
46506,
25882,
7203,
41339,
4943,
16034,
3084,
62,
2425,
20233,
33411,
366,
43,
1686,
1,
1875,
705,
1731,
6
] |
What is the name of the airport in S o Filipe that has an IATA of sfl? | SELECT "AIRPORTNAME" FROM table_8235 WHERE "CITY / TOWN" = 'são filipe' AND "IATA" = 'sfl' | [
2061,
318,
262,
1438,
286,
262,
9003,
287,
311,
267,
376,
2403,
431,
326,
468,
281,
314,
13563,
286,
264,
2704,
30,
46506,
366,
42149,
15490,
20608,
1,
16034,
3084,
62,
23,
22370,
33411,
366,
34,
9050,
1220,
309,
14165,
1,
796,
705,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1438,
286,
262,
9003,
287,
311,
267,
376,
2403,
431,
326,
468,
281,
314,
13563,
286,
264,
2704,
30,
46506,
366,
42149,
15490,
20608,
1,
16034,
3084,
62,
23,
22370,
33411,
366,
34,
9050,
1220,
309,
14165,
1,
796,
705,... |
Which , if any , advisory prerequisites are there for Food and Drink of Asia ? | SELECT DISTINCT advisory_requirement FROM course WHERE name LIKE '%Food and Drink of Asia%' | [
13828,
837,
611,
597,
837,
20852,
662,
34075,
389,
612,
329,
7318,
290,
32906,
286,
7229,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
1438,
34178,
705,
4,
24602,
290,
32906,
286,
7229,
4,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
837,
611,
597,
837,
20852,
662,
34075,
389,
612,
329,
7318,
290,
32906,
286,
7229,
5633,
46506,
360,
8808,
1268,
4177,
20852,
62,
8897,
24615,
16034,
1781,
33411,
1438,
34178,
705,
4,
24602,
290,
32906,
286,
7229,
4,
6
] |
What was the average number of rounds in the fight where Tank Abbott lost? | SELECT AVG(round) FROM table_name_66 WHERE loser = "tank abbott" | [
2061,
373,
262,
2811,
1271,
286,
9196,
287,
262,
1907,
810,
15447,
16988,
2626,
30,
46506,
35224,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
30256,
796,
366,
28451,
450,
10985,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
2811,
1271,
286,
9196,
287,
262,
1907,
810,
15447,
16988,
2626,
30,
46506,
35224,
7,
744,
8,
16034,
3084,
62,
3672,
62,
2791,
33411,
30256,
796,
366,
28451,
450,
10985,
1
] |
In Ca/Nv, what are all of the regional page #s? | SELECT "Regional Page #" FROM table_30738 WHERE "State name" = 'CA/NV' | [
818,
6488,
14,
45,
85,
11,
644,
389,
477,
286,
262,
7915,
2443,
1303,
82,
30,
46506,
366,
8081,
1538,
7873,
1303,
1,
16034,
3084,
62,
22996,
2548,
33411,
366,
9012,
1438,
1,
796,
705,
8141,
14,
27159,
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
] | [
818,
6488,
14,
45,
85,
11,
644,
389,
477,
286,
262,
7915,
2443,
1303,
82,
30,
46506,
366,
8081,
1538,
7873,
1303,
1,
16034,
3084,
62,
22996,
2548,
33411,
366,
9012,
1438,
1,
796,
705,
8141,
14,
27159,
6
] |
How many different episode numbers are there for episodes directed by Wayne Rose? | SELECT COUNT(_number) FROM table_21696800_1 WHERE directed_by = "Wayne Rose" | [
2437,
867,
1180,
4471,
3146,
389,
612,
329,
8640,
7924,
416,
13329,
8049,
30,
46506,
327,
28270,
28264,
17618,
8,
16034,
3084,
62,
20666,
38956,
405,
62,
16,
33411,
7924,
62,
1525,
796,
366,
25309,
710,
8049,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
4471,
3146,
389,
612,
329,
8640,
7924,
416,
13329,
8049,
30,
46506,
327,
28270,
28264,
17618,
8,
16034,
3084,
62,
20666,
38956,
405,
62,
16,
33411,
7924,
62,
1525,
796,
366,
25309,
710,
8049,
1
] |
What were the results of episodes with the first air date of March 6, 2008? | SELECT finish FROM table_11220799_2 WHERE first_air_date = "March 6, 2008" | [
2061,
547,
262,
2482,
286,
8640,
351,
262,
717,
1633,
3128,
286,
2805,
718,
11,
3648,
30,
46506,
5461,
16034,
3084,
62,
14686,
22745,
2079,
62,
17,
33411,
717,
62,
958,
62,
4475,
796,
366,
16192,
718,
11,
3648,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
547,
262,
2482,
286,
8640,
351,
262,
717,
1633,
3128,
286,
2805,
718,
11,
3648,
30,
46506,
5461,
16034,
3084,
62,
14686,
22745,
2079,
62,
17,
33411,
717,
62,
958,
62,
4475,
796,
366,
16192,
718,
11,
3648,
1
] |
what was the most reason given in the notes column ? | SELECT "notes" FROM table_204_882 GROUP BY "notes" ORDER BY COUNT(*) DESC LIMIT 1 | [
10919,
373,
262,
749,
1738,
1813,
287,
262,
4710,
5721,
5633,
46506,
366,
17815,
1,
16034,
3084,
62,
18638,
62,
42980,
44441,
11050,
366,
17815,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
373,
262,
749,
1738,
1813,
287,
262,
4710,
5721,
5633,
46506,
366,
17815,
1,
16034,
3084,
62,
18638,
62,
42980,
44441,
11050,
366,
17815,
1,
38678,
11050,
327,
28270,
7,
28104,
22196,
34,
27564,
2043,
352
] |
What year did Tom Watson win? | SELECT year_s__won FROM table_name_78 WHERE player = "tom watson" | [
2061,
614,
750,
4186,
14959,
1592,
30,
46506,
614,
62,
82,
834,
26502,
16034,
3084,
62,
3672,
62,
3695,
33411,
2137,
796,
366,
39532,
266,
13506,
1
] | [
1,
1,
1,
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,
614,
750,
4186,
14959,
1592,
30,
46506,
614,
62,
82,
834,
26502,
16034,
3084,
62,
3672,
62,
3695,
33411,
2137,
796,
366,
39532,
266,
13506,
1
] |
How many teachers does the student named CHRISSY NABOZNY have? | SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "CHRISSY" AND T1.lastname = "NABOZNY" | [
2437,
867,
7799,
857,
262,
3710,
3706,
32567,
16744,
56,
399,
6242,
46,
57,
12805,
423,
30,
46506,
327,
28270,
7,
28104,
16034,
1351,
7054,
309,
16,
32357,
1268,
7799,
7054,
309,
17,
6177,
309,
16,
13,
4871,
3823,
796,
309,
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... | [
2437,
867,
7799,
857,
262,
3710,
3706,
32567,
16744,
56,
399,
6242,
46,
57,
12805,
423,
30,
46506,
327,
28270,
7,
28104,
16034,
1351,
7054,
309,
16,
32357,
1268,
7799,
7054,
309,
17,
6177,
309,
16,
13,
4871,
3823,
796,
309,
17,
13,
... |
What is the team mascot for the soccer team in Charlottetown? | SELECT "Varsity Name" FROM table_3753 WHERE "City" = 'Charlottetown' | [
2061,
318,
262,
1074,
37358,
329,
262,
11783,
1074,
287,
6258,
1252,
316,
593,
30,
46506,
366,
53,
45826,
6530,
1,
16034,
3084,
62,
22318,
18,
33411,
366,
14941,
1,
796,
705,
24453,
1252,
316,
593,
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,
1074,
37358,
329,
262,
11783,
1074,
287,
6258,
1252,
316,
593,
30,
46506,
366,
53,
45826,
6530,
1,
16034,
3084,
62,
22318,
18,
33411,
366,
14941,
1,
796,
705,
24453,
1252,
316,
593,
6
] |
What were the high points on April 8? | SELECT high_points FROM table_27713030_12 WHERE date = "April 8" | [
2061,
547,
262,
1029,
2173,
319,
3035,
807,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
1983,
4869,
1270,
1270,
62,
1065,
33411,
3128,
796,
366,
16784,
807,
1
] | [
1,
1,
1,
1,
1,
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,
1029,
2173,
319,
3035,
807,
30,
46506,
1029,
62,
13033,
16034,
3084,
62,
1983,
4869,
1270,
1270,
62,
1065,
33411,
3128,
796,
366,
16784,
807,
1
] |
Which PAL M has a PAL I of 50HZ? | SELECT pal_m FROM table_name_55 WHERE pal_i = "50hz" | [
13828,
40795,
337,
468,
257,
40795,
314,
286,
2026,
39,
57,
30,
46506,
6340,
62,
76,
16034,
3084,
62,
3672,
62,
2816,
33411,
6340,
62,
72,
796,
366,
1120,
32179,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
40795,
337,
468,
257,
40795,
314,
286,
2026,
39,
57,
30,
46506,
6340,
62,
76,
16034,
3084,
62,
3672,
62,
2816,
33411,
6340,
62,
72,
796,
366,
1120,
32179,
1
] |
In how many rounds was Race 17? | SELECT COUNT("Round") FROM table_73937 WHERE "Race" = '17' | [
818,
703,
867,
9196,
373,
12588,
1596,
30,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
22,
2670,
2718,
33411,
366,
35157,
1,
796,
705,
1558,
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
] | [
818,
703,
867,
9196,
373,
12588,
1596,
30,
46506,
327,
28270,
7203,
22685,
4943,
16034,
3084,
62,
22,
2670,
2718,
33411,
366,
35157,
1,
796,
705,
1558,
6
] |
How much is the total ERP W for an 107.9 fm freqeuncy MHz? | SELECT COUNT(erp_w) FROM table_name_63 WHERE frequency_mhz = "107.9 fm" | [
2437,
881,
318,
262,
2472,
13793,
47,
370,
329,
281,
16226,
13,
24,
277,
76,
2030,
80,
68,
403,
948,
19805,
30,
46506,
327,
28270,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
8373,
62,
76,
32179,
796,
366,
159... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2437,
881,
318,
262,
2472,
13793,
47,
370,
329,
281,
16226,
13,
24,
277,
76,
2030,
80,
68,
403,
948,
19805,
30,
46506,
327,
28270,
7,
263,
79,
62,
86,
8,
16034,
3084,
62,
3672,
62,
5066,
33411,
8373,
62,
76,
32179,
796,
366,
159... |
count the number of patients whose insurance is private and procedure long title is transplant from cadaver? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.long_title = "Transplant from cadaver" | [
9127,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
8771,
890,
3670,
318,
23319,
422,
269,
4763,
332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
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... | [
9127,
262,
1271,
286,
3871,
3025,
5096,
318,
2839,
290,
8771,
890,
3670,
318,
23319,
422,
269,
4763,
332,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
9021,
6177... |
What is 2000, when Tournament is 'Canada Masters'? | SELECT "2000" FROM table_44361 WHERE "Tournament" = 'canada masters' | [
2061,
318,
4751,
11,
618,
9595,
318,
705,
17940,
15812,
30960,
46506,
366,
11024,
1,
16034,
3084,
62,
2598,
35195,
33411,
366,
51,
5138,
1,
796,
705,
5171,
4763,
18159,
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,
4751,
11,
618,
9595,
318,
705,
17940,
15812,
30960,
46506,
366,
11024,
1,
16034,
3084,
62,
2598,
35195,
33411,
366,
51,
5138,
1,
796,
705,
5171,
4763,
18159,
6
] |
What was the date when Boston was the team? | SELECT date FROM table_27713030_12 WHERE team = "Boston" | [
2061,
373,
262,
3128,
618,
6182,
373,
262,
1074,
30,
46506,
3128,
16034,
3084,
62,
1983,
4869,
1270,
1270,
62,
1065,
33411,
1074,
796,
366,
31710,
1
] | [
1,
1,
1,
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,
618,
6182,
373,
262,
1074,
30,
46506,
3128,
16034,
3084,
62,
1983,
4869,
1270,
1270,
62,
1065,
33411,
1074,
796,
366,
31710,
1
] |
Number of answers per year. | SELECT YEAR(CreationDate), COUNT(*) FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = 70 GROUP BY YEAR(CreationDate) | [
15057,
286,
7429,
583,
614,
13,
46506,
32914,
7,
12443,
341,
10430,
828,
327,
28270,
7,
28104,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
23853,
12982,
7390,
796,
4317,
44441,
11050,
32914,
7,
12443,
341,
10430,
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
] | [
15057,
286,
7429,
583,
614,
13,
46506,
32914,
7,
12443,
341,
10430,
828,
327,
28270,
7,
28104,
16034,
12043,
33411,
2947,
6030,
7390,
796,
362,
5357,
23853,
12982,
7390,
796,
4317,
44441,
11050,
32914,
7,
12443,
341,
10430,
8
] |
What is the fewest wins for Thomas in events he had entered exactly 9 times? | SELECT MIN(wins) FROM table_name_13 WHERE events = 9 | [
2061,
318,
262,
1178,
395,
7864,
329,
5658,
287,
2995,
339,
550,
5982,
3446,
860,
1661,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
2995,
796,
860
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1178,
395,
7864,
329,
5658,
287,
2995,
339,
550,
5982,
3446,
860,
1661,
30,
46506,
20625,
7,
86,
1040,
8,
16034,
3084,
62,
3672,
62,
1485,
33411,
2995,
796,
860
] |
Which team had a manager replaced by Ebrahim Talebi? | SELECT team FROM table_22297140_3 WHERE replaced_by = "Ebrahim Talebi" | [
13828,
1074,
550,
257,
4706,
6928,
416,
12119,
26922,
17388,
8482,
30,
46506,
1074,
16034,
3084,
62,
1828,
26561,
15187,
62,
18,
33411,
6928,
62,
1525,
796,
366,
36,
65,
26922,
17388,
8482,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1074,
550,
257,
4706,
6928,
416,
12119,
26922,
17388,
8482,
30,
46506,
1074,
16034,
3084,
62,
1828,
26561,
15187,
62,
18,
33411,
6928,
62,
1525,
796,
366,
36,
65,
26922,
17388,
8482,
1
] |
What are the transit connections from Pioneer Square U? | SELECT transit_connections FROM table_22771048_2 WHERE station = "Pioneer Square U" | [
2061,
389,
262,
11168,
8787,
422,
31437,
9276,
471,
30,
46506,
11168,
62,
8443,
507,
16034,
3084,
62,
1828,
3324,
940,
2780,
62,
17,
33411,
4429,
796,
366,
47,
7935,
263,
9276,
471,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11168,
8787,
422,
31437,
9276,
471,
30,
46506,
11168,
62,
8443,
507,
16034,
3084,
62,
1828,
3324,
940,
2780,
62,
17,
33411,
4429,
796,
366,
47,
7935,
263,
9276,
471,
1
] |
What competition took place on 10 August 2011? | SELECT "Competition" FROM table_68030 WHERE "Date" = '10 august 2011' | [
2061,
5449,
1718,
1295,
319,
838,
2932,
2813,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
37397,
1270,
33411,
366,
10430,
1,
796,
705,
940,
16339,
436,
2813,
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,
5449,
1718,
1295,
319,
838,
2932,
2813,
30,
46506,
366,
7293,
15620,
1,
16034,
3084,
62,
37397,
1270,
33411,
366,
10430,
1,
796,
705,
940,
16339,
436,
2813,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.