instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
list the competitions that have the same relay as world championships from athens , greece . | SELECT "competition" FROM table_203_299 WHERE id <> (SELECT id FROM table_203_299 WHERE "competition" = 'world championships' AND "venue" = 'athens, greece') AND "notes" = (SELECT "notes" FROM table_203_299 WHERE "competition" = 'world championships' AND "venue" = 'athens, greece') | [
4868,
262,
24174,
326,
423,
262,
976,
24248,
355,
995,
27459,
422,
379,
5135,
837,
308,
631,
344,
764,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
22416,
62,
22579,
33411,
4686,
1279,
29,
357,
46506,
4686,
16034,
3084,
62,
22416,
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,
262,
24174,
326,
423,
262,
976,
24248,
355,
995,
27459,
422,
379,
5135,
837,
308,
631,
344,
764,
46506,
366,
5589,
15620,
1,
16034,
3084,
62,
22416,
62,
22579,
33411,
4686,
1279,
29,
357,
46506,
4686,
16034,
3084,
62,
22416,
62,... |
i need a flight from MEMPHIS to TACOMA that goes through LOS ANGELES | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LOS ANGELES' AND CITY_... | [
72,
761,
257,
5474,
422,
35153,
11909,
1797,
284,
309,
2246,
2662,
32,
326,
2925,
832,
406,
2640,
44892,
1546,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
72,
761,
257,
5474,
422,
35153,
11909,
1797,
284,
309,
2246,
2662,
32,
326,
2925,
832,
406,
2640,
44892,
1546,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
1... |
What team was the opponent in the 2008 09 season, with a final score of 2 3 l? | SELECT "Opponent" FROM table_7996 WHERE "Season" = '2008–09' AND "Final score" = '2–3 l' | [
2061,
1074,
373,
262,
6125,
287,
262,
3648,
7769,
1622,
11,
351,
257,
2457,
4776,
286,
362,
513,
300,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
22,
38565,
33411,
366,
18960,
1,
796,
705,
11528,
1906,
2931,
6,
5357,
366,
19006... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
373,
262,
6125,
287,
262,
3648,
7769,
1622,
11,
351,
257,
2457,
4776,
286,
362,
513,
300,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
22,
38565,
33411,
366,
18960,
1,
796,
705,
11528,
1906,
2931,
6,
5357,
366,
19006... |
List the names of mountains that do not have any climber. | SELECT name FROM mountain WHERE NOT mountain_id IN (SELECT mountain_id FROM climber) | [
8053,
262,
3891,
286,
12269,
326,
466,
407,
423,
597,
5424,
527,
13,
46506,
1438,
16034,
8598,
33411,
5626,
8598,
62,
312,
3268,
357,
46506,
8598,
62,
312,
16034,
5424,
527,
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
] | [
8053,
262,
3891,
286,
12269,
326,
466,
407,
423,
597,
5424,
527,
13,
46506,
1438,
16034,
8598,
33411,
5626,
8598,
62,
312,
3268,
357,
46506,
8598,
62,
312,
16034,
5424,
527,
8
] |
how much did patient 19144 weigh last measured in their first hospital visit? | 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 = 19144 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND chartevents.ite... | [
4919,
881,
750,
5827,
678,
18444,
10164,
938,
8630,
287,
511,
717,
4436,
3187,
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... | [
4919,
881,
750,
5827,
678,
18444,
10164,
938,
8630,
287,
511,
717,
4436,
3187,
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... |
For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of first_name and department_id . | SELECT FIRST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
717,
62,
3672,
290,
5011,
62,
312,
764,
46506,
31328,
62,
20608,
11,
5550,
30709,
109... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1890,
883,
4409,
508,
466,
407,
670,
287,
13346,
351,
11663,
326,
423,
220,
2340,
1022,
1802,
290,
939,
11,
257,
2318,
8262,
2523,
262,
6082,
286,
717,
62,
3672,
290,
5011,
62,
312,
764,
46506,
31328,
62,
20608,
11,
5550,
30709,
109... |
List the grape, winery and year of the wines whose price is bigger than 100 ordered by year. | SELECT grape, winery, year FROM wine WHERE price > 100 ORDER BY year | [
8053,
262,
30777,
11,
1592,
1924,
290,
614,
286,
262,
30680,
3025,
2756,
318,
5749,
621,
1802,
6149,
416,
614,
13,
46506,
30777,
11,
1592,
1924,
11,
614,
16034,
8237,
33411,
2756,
1875,
1802,
38678,
11050,
614
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
30777,
11,
1592,
1924,
290,
614,
286,
262,
30680,
3025,
2756,
318,
5749,
621,
1802,
6149,
416,
614,
13,
46506,
30777,
11,
1592,
1924,
11,
614,
16034,
8237,
33411,
2756,
1875,
1802,
38678,
11050,
614
] |
In 1976, who was the reporter for the Belmont Stakes? | SELECT "Reporters" FROM table_25129 WHERE "Year" = '1976' | [
818,
15408,
11,
508,
373,
262,
9095,
329,
262,
3944,
8691,
520,
1124,
30,
46506,
366,
6207,
3816,
1,
16034,
3084,
62,
1495,
18741,
33411,
366,
17688,
1,
796,
705,
38108,
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,
15408,
11,
508,
373,
262,
9095,
329,
262,
3944,
8691,
520,
1124,
30,
46506,
366,
6207,
3816,
1,
16034,
3084,
62,
1495,
18741,
33411,
366,
17688,
1,
796,
705,
38108,
6
] |
No of Answers Provided By Users of Pakistan. | SELECT COUNT(DISTINCT p.Id) AS Answers FROM Posts AS p JOIN PostTypes AS pt ON p.PostTypeId = pt.Id JOIN Users AS u ON p.OwnerUserId = u.Id WHERE (LOWER(u.Location) LIKE '%pakistan%' OR UPPER(u.Location) LIKE '%PK') AND pt.Name = 'Answer' | [
2949,
286,
42612,
29750,
2750,
18987,
286,
7648,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
279,
13,
7390,
8,
7054,
42612,
16034,
12043,
7054,
279,
32357,
1268,
2947,
31431,
7054,
42975,
6177,
279,
13,
6307,
6030,
7390,
796,
42975,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2949,
286,
42612,
29750,
2750,
18987,
286,
7648,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
279,
13,
7390,
8,
7054,
42612,
16034,
12043,
7054,
279,
32357,
1268,
2947,
31431,
7054,
42975,
6177,
279,
13,
6307,
6030,
7390,
796,
42975,... |
who is the away team when played at junction oval? | SELECT "Away team" FROM table_52264 WHERE "Venue" = 'junction oval' | [
8727,
318,
262,
1497,
1074,
618,
2826,
379,
35037,
41186,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
49542,
2414,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
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
] | [
8727,
318,
262,
1497,
1074,
618,
2826,
379,
35037,
41186,
30,
46506,
366,
32,
1014,
1074,
1,
16034,
3084,
62,
49542,
2414,
33411,
366,
37522,
518,
1,
796,
705,
73,
4575,
41186,
6
] |
what was the name of the drug that was prescribed to patient 005-66412 during the same hospital visit after they received the vte prophylaxis - compression stockings procedure until 09/2105? | SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid =... | [
10919,
373,
262,
1438,
286,
262,
2563,
326,
373,
14798,
284,
5827,
3571,
20,
12,
21,
2414,
1065,
1141,
262,
976,
4436,
3187,
706,
484,
2722,
262,
410,
660,
386,
746,
2645,
22704,
532,
19794,
4283,
654,
8771,
1566,
7769,
14,
17,
1334... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1438,
286,
262,
2563,
326,
373,
14798,
284,
5827,
3571,
20,
12,
21,
2414,
1065,
1141,
262,
976,
4436,
3187,
706,
484,
2722,
262,
410,
660,
386,
746,
2645,
22704,
532,
19794,
4283,
654,
8771,
1566,
7769,
14,
17,
1334... |
what's the engine where builder is gloucester rcw and withdrawn is 1959 | SELECT engine FROM table_1181375_1 WHERE builder = "Gloucester RCW" AND withdrawn = "1959" | [
10919,
338,
262,
3113,
810,
27098,
318,
1278,
280,
33187,
48321,
86,
290,
23019,
318,
23859,
46506,
3113,
16034,
3084,
62,
16817,
1485,
2425,
62,
16,
33411,
27098,
796,
366,
9861,
280,
33187,
13987,
54,
1,
5357,
23019,
796,
366,
45403,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
338,
262,
3113,
810,
27098,
318,
1278,
280,
33187,
48321,
86,
290,
23019,
318,
23859,
46506,
3113,
16034,
3084,
62,
16817,
1485,
2425,
62,
16,
33411,
27098,
796,
366,
9861,
280,
33187,
13987,
54,
1,
5357,
23019,
796,
366,
45403,
... |
What is To Par, when Country is United States, and when Score is 71-68-73=212? | SELECT "To par" FROM table_48861 WHERE "Country" = 'united states' AND "Score" = '71-68-73=212' | [
2061,
318,
1675,
2547,
11,
618,
12946,
318,
1578,
1829,
11,
290,
618,
15178,
318,
9166,
12,
3104,
12,
4790,
28,
21777,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2780,
4521,
16,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
1675,
2547,
11,
618,
12946,
318,
1578,
1829,
11,
290,
618,
15178,
318,
9166,
12,
3104,
12,
4790,
28,
21777,
30,
46506,
366,
2514,
1582,
1,
16034,
3084,
62,
2780,
4521,
16,
33411,
366,
33921,
1,
796,
705,
41187,
2585,
6,
... |
baseline hgb < 11.7 g / dl in female , or < 13 g / dl in male ; lymphopenia ( < 1000 / microl ) , or leukopenia ( < 3000 total leukocytes / microl ) , or an absolute cd4+ count < 500 / microl., or platelets < 150000 / microl | SELECT * FROM table_dev_36 WHERE (baseline_hemoglobin_hgb < 11.7 AND gender = 'female') OR (baseline_hemoglobin_hgb < 13 AND gender = 'male') OR lymphopenia < 1000 OR leukopenia < 3000 OR cd4_count < 500 OR platelets < 150000 | [
12093,
4470,
289,
22296,
1279,
1367,
13,
22,
308,
1220,
288,
75,
287,
4048,
837,
393,
1279,
1511,
308,
1220,
288,
75,
287,
4257,
2162,
28837,
9654,
544,
357,
1279,
8576,
1220,
4580,
75,
1267,
837,
393,
443,
2724,
9654,
544,
357,
127... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12093,
4470,
289,
22296,
1279,
1367,
13,
22,
308,
1220,
288,
75,
287,
4048,
837,
393,
1279,
1511,
308,
1220,
288,
75,
287,
4257,
2162,
28837,
9654,
544,
357,
1279,
8576,
1220,
4580,
75,
1267,
837,
393,
443,
2724,
9654,
544,
357,
127... |
What if the description of a ch-47d chinook? | SELECT description FROM table_10006830_1 WHERE aircraft = "CH-47D Chinook" | [
2061,
611,
262,
6764,
286,
257,
442,
12,
2857,
67,
22531,
566,
30,
46506,
6764,
16034,
3084,
62,
12825,
3104,
1270,
62,
16,
33411,
6215,
796,
366,
3398,
12,
2857,
35,
22604,
566,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
611,
262,
6764,
286,
257,
442,
12,
2857,
67,
22531,
566,
30,
46506,
6764,
16034,
3084,
62,
12825,
3104,
1270,
62,
16,
33411,
6215,
796,
366,
3398,
12,
2857,
35,
22604,
566,
1
] |
display those employees who contain a letter z to their first name and also display their last name, city. | SELECT T1.first_name, T1.last_name, T3.city FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id JOIN locations AS T3 ON T2.location_id = T3.location_id WHERE T1.first_name LIKE '%z%' | [
13812,
883,
4409,
508,
3994,
257,
3850,
1976,
284,
511,
717,
1438,
290,
635,
3359,
511,
938,
1438,
11,
1748,
13,
46506,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
11,
309,
18,
13,
19205,
16034,
4409,
7054,
309... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13812,
883,
4409,
508,
3994,
257,
3850,
1976,
284,
511,
717,
1438,
290,
635,
3359,
511,
938,
1438,
11,
1748,
13,
46506,
309,
16,
13,
11085,
62,
3672,
11,
309,
16,
13,
12957,
62,
3672,
11,
309,
18,
13,
19205,
16034,
4409,
7054,
309... |
What is the result for Chicago, Illinois? | SELECT result FROM table_name_60 WHERE hometown = "chicago, illinois" | [
2061,
318,
262,
1255,
329,
4842,
11,
9486,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1899,
33411,
20994,
796,
366,
354,
4549,
11,
2801,
8981,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1255,
329,
4842,
11,
9486,
30,
46506,
1255,
16034,
3084,
62,
3672,
62,
1899,
33411,
20994,
796,
366,
354,
4549,
11,
2801,
8981,
1
] |
What's the biggest zone? | SELECT MAX(zone) FROM table_15366849_1 | [
2061,
338,
262,
4094,
6516,
30,
46506,
25882,
7,
11340,
8,
16034,
3084,
62,
1314,
2623,
3104,
2920,
62,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
4094,
6516,
30,
46506,
25882,
7,
11340,
8,
16034,
3084,
62,
1314,
2623,
3104,
2920,
62,
16
] |
What winning amount has himesh reshammiya as the contestant name? | SELECT winning_amount FROM table_name_51 WHERE contestant_name = "himesh reshammiya" | [
2061,
5442,
2033,
468,
683,
5069,
581,
2763,
11632,
3972,
355,
262,
44047,
1438,
30,
46506,
5442,
62,
17287,
16034,
3084,
62,
3672,
62,
4349,
33411,
44047,
62,
3672,
796,
366,
71,
999,
71,
581,
2763,
11632,
3972,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2033,
468,
683,
5069,
581,
2763,
11632,
3972,
355,
262,
44047,
1438,
30,
46506,
5442,
62,
17287,
16034,
3084,
62,
3672,
62,
4349,
33411,
44047,
62,
3672,
796,
366,
71,
999,
71,
581,
2763,
11632,
3972,
1
] |
What was the score of Bernhard Langer after 3 rounds? | SELECT score FROM table_name_88 WHERE player = "bernhard langer" | [
2061,
373,
262,
4776,
286,
6206,
10424,
406,
2564,
706,
513,
9196,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3459,
33411,
2137,
796,
366,
33900,
10424,
300,
2564,
1
] | [
1,
1,
1,
1,
1,
1,
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,
286,
6206,
10424,
406,
2564,
706,
513,
9196,
30,
46506,
4776,
16034,
3084,
62,
3672,
62,
3459,
33411,
2137,
796,
366,
33900,
10424,
300,
2564,
1
] |
Advisor 1121 has how many students? | SELECT COUNT(*) FROM student WHERE advisor = 1121 | [
2782,
13131,
13539,
16,
468,
703,
867,
2444,
30,
46506,
327,
28270,
7,
28104,
16034,
3710,
33411,
20685,
796,
13539,
16
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2782,
13131,
13539,
16,
468,
703,
867,
2444,
30,
46506,
327,
28270,
7,
28104,
16034,
3710,
33411,
20685,
796,
13539,
16
] |
What is the production code for the episode that had 1.32 million U.S. viewers? | SELECT production_code FROM table_22347090_6 WHERE us_viewers__million_ = "1.32" | [
2061,
318,
262,
3227,
2438,
329,
262,
4471,
326,
550,
352,
13,
2624,
1510,
471,
13,
50,
13,
10209,
30,
46506,
3227,
62,
8189,
16034,
3084,
62,
1828,
2682,
2154,
3829,
62,
21,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
16... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3227,
2438,
329,
262,
4471,
326,
550,
352,
13,
2624,
1510,
471,
13,
50,
13,
10209,
30,
46506,
3227,
62,
8189,
16034,
3084,
62,
1828,
2682,
2154,
3829,
62,
21,
33411,
514,
62,
1177,
364,
834,
14100,
62,
796,
366,
16... |
Who is the opponent the Seattle Seahawks played when their record was 1-3? | SELECT opponent FROM table_name_57 WHERE record = "1-3" | [
8241,
318,
262,
6125,
262,
7312,
16732,
2826,
618,
511,
1700,
373,
352,
12,
18,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3553,
33411,
1700,
796,
366,
16,
12,
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
] | [
8241,
318,
262,
6125,
262,
7312,
16732,
2826,
618,
511,
1700,
373,
352,
12,
18,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
3553,
33411,
1700,
796,
366,
16,
12,
18,
1
] |
What is the average goals scored of the team who scored 44 points and placed higher than 5? | SELECT AVG("Goals Scored") FROM table_61522 WHERE "Points" = '44' AND "Place" > '5' | [
2061,
318,
262,
2811,
4661,
7781,
286,
262,
1074,
508,
7781,
5846,
2173,
290,
4624,
2440,
621,
642,
30,
46506,
35224,
7203,
5247,
874,
1446,
1850,
4943,
16034,
3084,
62,
47007,
1828,
33411,
366,
40710,
1,
796,
705,
2598,
6,
5357,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2811,
4661,
7781,
286,
262,
1074,
508,
7781,
5846,
2173,
290,
4624,
2440,
621,
642,
30,
46506,
35224,
7203,
5247,
874,
1446,
1850,
4943,
16034,
3084,
62,
47007,
1828,
33411,
366,
40710,
1,
796,
705,
2598,
6,
5357,
366,... |
Which round has a record of 5-3 (1)? | SELECT MIN(round) FROM table_name_51 WHERE record = "5-3 (1)" | [
13828,
2835,
468,
257,
1700,
286,
642,
12,
18,
357,
16,
19427,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
1700,
796,
366,
20,
12,
18,
357,
16,
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
] | [
13828,
2835,
468,
257,
1700,
286,
642,
12,
18,
357,
16,
19427,
46506,
20625,
7,
744,
8,
16034,
3084,
62,
3672,
62,
4349,
33411,
1700,
796,
366,
20,
12,
18,
357,
16,
16725
] |
what is admission type and admission location of subject id 2560? | SELECT demographic.admission_type, demographic.admission_location FROM demographic WHERE demographic.subject_id = "2560" | [
10919,
318,
13938,
2099,
290,
13938,
4067,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
324,
3411,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
318,
13938,
2099,
290,
13938,
4067,
286,
2426,
4686,
1679,
1899,
30,
46506,
16728,
13,
324,
3411,
62,
4906,
11,
16728,
13,
324,
3411,
62,
24886,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
How many goals against were scored when the goals for is less than 48 with 0 ties? | SELECT COUNT("Goals Against") FROM table_56334 WHERE "Goals For" < '48' AND "Ties" < '0' | [
2437,
867,
4661,
1028,
547,
7781,
618,
262,
4661,
329,
318,
1342,
621,
4764,
351,
657,
8470,
30,
46506,
327,
28270,
7203,
5247,
874,
12914,
4943,
16034,
3084,
62,
3980,
31380,
33411,
366,
5247,
874,
1114,
1,
1279,
705,
2780,
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
] | [
2437,
867,
4661,
1028,
547,
7781,
618,
262,
4661,
329,
318,
1342,
621,
4764,
351,
657,
8470,
30,
46506,
327,
28270,
7203,
5247,
874,
12914,
4943,
16034,
3084,
62,
3980,
31380,
33411,
366,
5247,
874,
1114,
1,
1279,
705,
2780,
6,
5357,
... |
What is the theme when the date of issue is 11 january 2010? | SELECT "Theme" FROM table_27706 WHERE "Date of Issue" = '11 January 2010' | [
2061,
318,
262,
7505,
618,
262,
3128,
286,
2071,
318,
1367,
42897,
2838,
3050,
30,
46506,
366,
47863,
1,
16034,
3084,
62,
1983,
35402,
33411,
366,
10430,
286,
18232,
1,
796,
705,
1157,
3269,
3050,
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,
7505,
618,
262,
3128,
286,
2071,
318,
1367,
42897,
2838,
3050,
30,
46506,
366,
47863,
1,
16034,
3084,
62,
1983,
35402,
33411,
366,
10430,
286,
18232,
1,
796,
705,
1157,
3269,
3050,
6
] |
What episode titles have 20.94 million U.S. viewers? | SELECT "Title" FROM table_20918 WHERE "U.S. viewers (millions)" = '20.94' | [
2061,
4471,
8714,
423,
1160,
13,
5824,
1510,
471,
13,
50,
13,
10209,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
22567,
1507,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
1238,
13,
5824,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
4471,
8714,
423,
1160,
13,
5824,
1510,
471,
13,
50,
13,
10209,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
22567,
1507,
33411,
366,
52,
13,
50,
13,
10209,
357,
17805,
507,
16725,
796,
705,
1238,
13,
5824,
6
] |
What is the Money ($) amount of the Player with a To par of e? | SELECT "Money ( $ )" FROM table_58861 WHERE "To par" = 'e' | [
2061,
318,
262,
12911,
45491,
2033,
286,
262,
7853,
351,
257,
1675,
1582,
286,
304,
30,
46506,
366,
26788,
357,
720,
1267,
1,
16034,
3084,
62,
3365,
4521,
16,
33411,
366,
2514,
1582,
1,
796,
705,
68,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
12911,
45491,
2033,
286,
262,
7853,
351,
257,
1675,
1582,
286,
304,
30,
46506,
366,
26788,
357,
720,
1267,
1,
16034,
3084,
62,
3365,
4521,
16,
33411,
366,
2514,
1582,
1,
796,
705,
68,
6
] |
how many patients whose gender is m and days of hospital stay is greater than 7? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.days_stay > "7" | [
4919,
867,
3871,
3025,
5279,
318,
285,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
767,
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,
5357,
16728... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3025,
5279,
318,
285,
290,
1528,
286,
4436,
2652,
318,
3744,
621,
767,
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,
5357,
16728... |
and what is the last flight from DENVER to BOSTON for tomorrow evening | 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 = 'BOSTON' AND date_day.day_number = 20 AND date_day.month_number = 1 AND ... | [
392,
644,
318,
262,
938,
5474,
422,
37692,
5959,
284,
347,
10892,
1340,
329,
9439,
6180,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
392,
644,
318,
262,
938,
5474,
422,
37692,
5959,
284,
347,
10892,
1340,
329,
9439,
6180,
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... |
what is the number of patients whose primary disease is st-segment elevation myocardial infarction\cardiac cath and age is less than 70? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ST-SEGMENT ELEVATION MYOCARDIAL INFARCTION\CARDIAC CATH" AND demographic.age < "70" | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
336,
12,
325,
5154,
22910,
616,
44412,
498,
1167,
283,
596,
59,
9517,
9607,
32171,
290,
2479,
318,
1342,
621,
4317,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
318,
262,
1271,
286,
3871,
3025,
4165,
4369,
318,
336,
12,
325,
5154,
22910,
616,
44412,
498,
1167,
283,
596,
59,
9517,
9607,
32171,
290,
2479,
318,
1342,
621,
4317,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
... |
What are the names of the all-female dorms? | SELECT dorm_name FROM dorm WHERE gender = 'F' | [
2061,
389,
262,
3891,
286,
262,
477,
12,
24724,
18586,
82,
30,
46506,
18586,
62,
3672,
16034,
18586,
33411,
5279,
796,
705,
37,
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,
389,
262,
3891,
286,
262,
477,
12,
24724,
18586,
82,
30,
46506,
18586,
62,
3672,
16034,
18586,
33411,
5279,
796,
705,
37,
6
] |
What is the share of votes in the 2000 (2nd) election? | SELECT share_of_votes FROM table_name_20 WHERE election = "2000 (2nd)" | [
2061,
318,
262,
2648,
286,
5690,
287,
262,
4751,
357,
17,
358,
8,
3071,
30,
46506,
2648,
62,
1659,
62,
29307,
16034,
3084,
62,
3672,
62,
1238,
33411,
3071,
796,
366,
11024,
357,
17,
358,
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
] | [
2061,
318,
262,
2648,
286,
5690,
287,
262,
4751,
357,
17,
358,
8,
3071,
30,
46506,
2648,
62,
1659,
62,
29307,
16034,
3084,
62,
3672,
62,
1238,
33411,
3071,
796,
366,
11024,
357,
17,
358,
16725
] |
Which team lives in mcg? | SELECT home_team FROM table_name_26 WHERE venue = "mcg" | [
13828,
1074,
3160,
287,
36650,
70,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2075,
33411,
14359,
796,
366,
23209,
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
] | [
13828,
1074,
3160,
287,
36650,
70,
30,
46506,
1363,
62,
15097,
16034,
3084,
62,
3672,
62,
2075,
33411,
14359,
796,
366,
23209,
70,
1
] |
what was the total attendance of the 11/09/2013 game ? | SELECT "attendance" FROM table_204_459 WHERE "date" = '11/09/2013' | [
10919,
373,
262,
2472,
14858,
286,
262,
1367,
14,
2931,
14,
6390,
983,
5633,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
18638,
62,
33459,
33411,
366,
4475,
1,
796,
705,
1157,
14,
2931,
14,
6390,
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
] | [
10919,
373,
262,
2472,
14858,
286,
262,
1367,
14,
2931,
14,
6390,
983,
5633,
46506,
366,
1078,
437,
590,
1,
16034,
3084,
62,
18638,
62,
33459,
33411,
366,
4475,
1,
796,
705,
1157,
14,
2931,
14,
6390,
6
] |
Which location has an elevation of 3798? | SELECT "Location" FROM table_29430 WHERE "Elevation (m)" = '3798' | [
13828,
4067,
468,
281,
22910,
286,
513,
43240,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
27696,
1270,
33411,
366,
36,
2768,
341,
357,
76,
16725,
796,
705,
2718,
4089,
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
] | [
13828,
4067,
468,
281,
22910,
286,
513,
43240,
30,
46506,
366,
14749,
1,
16034,
3084,
62,
27696,
1270,
33411,
366,
36,
2768,
341,
357,
76,
16725,
796,
705,
2718,
4089,
6
] |
how many prescriptions for metoclopramide until 1 year ago? | SELECT COUNT(*) FROM medication WHERE medication.drugname = 'metoclopramide' AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-1 year') | [
4919,
867,
34092,
329,
1138,
38679,
404,
859,
485,
1566,
352,
614,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
30349,
3672,
796,
705,
4164,
38679,
404,
859,
485,
6,
5357,
360,
1404,
2767,
12789,
7,
1150,
329... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
34092,
329,
1138,
38679,
404,
859,
485,
1566,
352,
614,
2084,
30,
46506,
327,
28270,
7,
28104,
16034,
14103,
33411,
14103,
13,
30349,
3672,
796,
705,
4164,
38679,
404,
859,
485,
6,
5357,
360,
1404,
2767,
12789,
7,
1150,
329... |
How many bonus points did the club who had 379 points for have? | SELECT "Bonus points" FROM table_3735 WHERE "Points for" = '379' | [
2437,
867,
7202,
2173,
750,
262,
3430,
508,
550,
45937,
2173,
329,
423,
30,
46506,
366,
29435,
2173,
1,
16034,
3084,
62,
2718,
2327,
33411,
366,
40710,
329,
1,
796,
705,
29088,
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
] | [
2437,
867,
7202,
2173,
750,
262,
3430,
508,
550,
45937,
2173,
329,
423,
30,
46506,
366,
29435,
2173,
1,
16034,
3084,
62,
2718,
2327,
33411,
366,
40710,
329,
1,
796,
705,
29088,
6
] |
How many bookings did each customer make? List the first name as the X-axis, and the count as the Y-axis in the bar chart, and show by the x axis in desc. | SELECT first_name, COUNT(*) FROM Customers AS T1 JOIN Bookings AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY first_name DESC | [
2437,
867,
1492,
654,
750,
1123,
6491,
787,
30,
7343,
262,
717,
1438,
355,
262,
1395,
12,
22704,
11,
290,
262,
954,
355,
262,
575,
12,
22704,
287,
262,
2318,
8262,
11,
290,
905,
416,
262,
2124,
16488,
287,
1715,
13,
46506,
717,
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... | [
2437,
867,
1492,
654,
750,
1123,
6491,
787,
30,
7343,
262,
717,
1438,
355,
262,
1395,
12,
22704,
11,
290,
262,
954,
355,
262,
575,
12,
22704,
287,
262,
2318,
8262,
11,
290,
905,
416,
262,
2124,
16488,
287,
1715,
13,
46506,
717,
62... |
what were the number of medals iran earned ? | SELECT "total" FROM table_203_747 WHERE "nation" = 'iran' | [
10919,
547,
262,
1271,
286,
28057,
4173,
272,
7366,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
48882,
33411,
366,
25729,
1,
796,
705,
343,
272,
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,
547,
262,
1271,
286,
28057,
4173,
272,
7366,
5633,
46506,
366,
23350,
1,
16034,
3084,
62,
22416,
62,
48882,
33411,
366,
25729,
1,
796,
705,
343,
272,
6
] |
Which player is from Utah? | SELECT player FROM table_11677691_7 WHERE college = "Utah" | [
13828,
2137,
318,
422,
10202,
30,
46506,
2137,
16034,
3084,
62,
1157,
40179,
49541,
62,
22,
33411,
4152,
796,
366,
44350,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
2137,
318,
422,
10202,
30,
46506,
2137,
16034,
3084,
62,
1157,
40179,
49541,
62,
22,
33411,
4152,
796,
366,
44350,
1
] |
renal insufficiency ( serum creatinine > 2 mg / dl ) | SELECT * FROM table_train_137 WHERE renal_disease = 1 OR serum_creatinine > 2 | [
918,
282,
1035,
1648,
19777,
357,
20502,
1827,
259,
500,
1875,
362,
10527,
1220,
288,
75,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
19708,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
20502,
62,
20123,
259,
500,
1875,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
918,
282,
1035,
1648,
19777,
357,
20502,
1827,
259,
500,
1875,
362,
10527,
1220,
288,
75,
1267,
46506,
1635,
16034,
3084,
62,
27432,
62,
19708,
33411,
44375,
62,
67,
786,
589,
796,
352,
6375,
20502,
62,
20123,
259,
500,
1875,
362
] |
Which opponent led to a 56-59 record? | SELECT opponent FROM table_name_53 WHERE record = "56-59" | [
13828,
6125,
2957,
284,
257,
7265,
12,
3270,
1700,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
4310,
33411,
1700,
796,
366,
3980,
12,
3270,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
6125,
2957,
284,
257,
7265,
12,
3270,
1700,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
4310,
33411,
1700,
796,
366,
3980,
12,
3270,
1
] |
count the number of patients whose age is less than 71 and year of death is less than or equal to 2132? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "71" AND demographic.dod_year <= "2132.0" | [
9127,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
9166,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
19924,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
9127,
262,
1271,
286,
3871,
3025,
2479,
318,
1342,
621,
9166,
290,
614,
286,
1918,
318,
1342,
621,
393,
4961,
284,
362,
19924,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
... |
What is the total when gold is 1, and rank is more than 4, and bronze is 0? | SELECT COUNT(total) FROM table_name_1 WHERE gold = 1 AND rank > 4 AND bronze = 0 | [
2061,
318,
262,
2472,
618,
3869,
318,
352,
11,
290,
4279,
318,
517,
621,
604,
11,
290,
22101,
318,
657,
30,
46506,
327,
28270,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
3869,
796,
352,
5357,
4279,
1875,
604,
5357,
22101,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
618,
3869,
318,
352,
11,
290,
4279,
318,
517,
621,
604,
11,
290,
22101,
318,
657,
30,
46506,
327,
28270,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
3869,
796,
352,
5357,
4279,
1875,
604,
5357,
22101,
... |
What is the second leg for Team 1 Servette? | SELECT "2nd leg" FROM table_60354 WHERE "Team 1" = 'servette' | [
2061,
318,
262,
1218,
1232,
329,
4816,
352,
2930,
33573,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
1899,
32182,
33411,
366,
15592,
352,
1,
796,
705,
2655,
33573,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
1218,
1232,
329,
4816,
352,
2930,
33573,
30,
46506,
366,
17,
358,
1232,
1,
16034,
3084,
62,
1899,
32182,
33411,
366,
15592,
352,
1,
796,
705,
2655,
33573,
6
] |
What is BYU's lowest pick? | SELECT MIN("Pick #") FROM table_39614 WHERE "College" = 'byu' | [
2061,
318,
37216,
338,
9016,
2298,
30,
46506,
20625,
7203,
31686,
1303,
4943,
16034,
3084,
62,
34107,
1415,
33411,
366,
38951,
1,
796,
705,
1525,
84,
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,
37216,
338,
9016,
2298,
30,
46506,
20625,
7203,
31686,
1303,
4943,
16034,
3084,
62,
34107,
1415,
33411,
366,
38951,
1,
796,
705,
1525,
84,
6
] |
Who was the GTU winning team when the TO winning team was #3 Camaro? | SELECT "GTU Winning Team" FROM table_849 WHERE "TO Winning Team" = '#3 Camaro' | [
8241,
373,
262,
7963,
52,
5442,
1074,
618,
262,
5390,
5442,
1074,
373,
1303,
18,
7298,
12022,
30,
46506,
366,
19555,
52,
40983,
4816,
1,
16034,
3084,
62,
23,
2920,
33411,
366,
10468,
40983,
4816,
1,
796,
705,
2,
18,
7298,
12022,
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
] | [
8241,
373,
262,
7963,
52,
5442,
1074,
618,
262,
5390,
5442,
1074,
373,
1303,
18,
7298,
12022,
30,
46506,
366,
19555,
52,
40983,
4816,
1,
16034,
3084,
62,
23,
2920,
33411,
366,
10468,
40983,
4816,
1,
796,
705,
2,
18,
7298,
12022,
6
] |
What production had Angela Lansbury as Rose and Barrie Ingham as Herbie? | SELECT "Productions" FROM table_52472 WHERE "Rose" = 'angela lansbury' AND "Herbie" = 'barrie ingham' | [
2061,
3227,
550,
17799,
34176,
10711,
355,
8049,
290,
2409,
5034,
554,
456,
321,
355,
2332,
12590,
30,
46506,
366,
11547,
2733,
1,
16034,
3084,
62,
48057,
4761,
33411,
366,
31087,
1,
796,
705,
8368,
64,
300,
504,
10711,
6,
5357,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
3227,
550,
17799,
34176,
10711,
355,
8049,
290,
2409,
5034,
554,
456,
321,
355,
2332,
12590,
30,
46506,
366,
11547,
2733,
1,
16034,
3084,
62,
48057,
4761,
33411,
366,
31087,
1,
796,
705,
8368,
64,
300,
504,
10711,
6,
5357,
366,
... |
What entrant had less than 3 points before 1963? | SELECT entrant FROM table_name_28 WHERE year < 1963 AND points < 3 | [
2061,
920,
5250,
550,
1342,
621,
513,
2173,
878,
19342,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
2078,
33411,
614,
1279,
19342,
5357,
2173,
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
] | [
2061,
920,
5250,
550,
1342,
621,
513,
2173,
878,
19342,
30,
46506,
920,
5250,
16034,
3084,
62,
3672,
62,
2078,
33411,
614,
1279,
19342,
5357,
2173,
1279,
513
] |
What was the score when essendon was the home team? | SELECT home_team AS score FROM table_name_75 WHERE home_team = "essendon" | [
2061,
373,
262,
4776,
618,
3209,
43153,
373,
262,
1363,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2425,
33411,
1363,
62,
15097,
796,
366,
408,
43153,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
4776,
618,
3209,
43153,
373,
262,
1363,
1074,
30,
46506,
1363,
62,
15097,
7054,
4776,
16034,
3084,
62,
3672,
62,
2425,
33411,
1363,
62,
15097,
796,
366,
408,
43153,
1
] |
What is the July 1, 2011 density if the July 1, 2010 official estimate is 800,482? | SELECT "July 1, 2011 density (/mi\u00b2)" FROM table_59595 WHERE "July 1, 2010 official estimate" = '800,482' | [
2061,
318,
262,
2901,
352,
11,
2813,
12109,
611,
262,
2901,
352,
11,
3050,
1743,
8636,
318,
10460,
11,
40149,
30,
46506,
366,
16157,
352,
11,
2813,
12109,
50247,
11632,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
3270,
35124,
33411,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2901,
352,
11,
2813,
12109,
611,
262,
2901,
352,
11,
3050,
1743,
8636,
318,
10460,
11,
40149,
30,
46506,
366,
16157,
352,
11,
2813,
12109,
50247,
11632,
59,
84,
405,
65,
17,
16725,
16034,
3084,
62,
3270,
35124,
33411,
... |
What is the parent magazine of Dengeki g's festival! deluxe? | SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe" | [
2061,
318,
262,
2560,
7093,
286,
360,
3540,
4106,
308,
338,
10876,
0,
1619,
18095,
30,
46506,
2560,
62,
19726,
4994,
16034,
3084,
62,
3672,
62,
3695,
33411,
3670,
796,
366,
67,
3540,
4106,
308,
338,
10876,
0,
1619,
18095,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2560,
7093,
286,
360,
3540,
4106,
308,
338,
10876,
0,
1619,
18095,
30,
46506,
2560,
62,
19726,
4994,
16034,
3084,
62,
3672,
62,
3695,
33411,
3670,
796,
366,
67,
3540,
4106,
308,
338,
10876,
0,
1619,
18095,
1
] |
Name the least number for nello pagani | SELECT MIN(no) FROM table_28578594_1 WHERE driver = "Nello Pagani" | [
5376,
262,
1551,
1271,
329,
497,
18798,
42208,
3216,
46506,
20625,
7,
3919,
8,
16034,
3084,
62,
2078,
38907,
46438,
62,
16,
33411,
4639,
796,
366,
45,
11109,
31525,
3216,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1551,
1271,
329,
497,
18798,
42208,
3216,
46506,
20625,
7,
3919,
8,
16034,
3084,
62,
2078,
38907,
46438,
62,
16,
33411,
4639,
796,
366,
45,
11109,
31525,
3216,
1
] |
What is the date of enrollment of the course named 'Spanish', and count them by a bar chart | SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "Spanish" | [
2061,
318,
262,
3128,
286,
20753,
286,
262,
1781,
3706,
705,
43584,
3256,
290,
954,
606,
416,
257,
2318,
8262,
46506,
3128,
62,
1659,
62,
268,
3225,
434,
11,
327,
28270,
7,
4475,
62,
1659,
62,
268,
3225,
434,
8,
16034,
2734,
8448,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3128,
286,
20753,
286,
262,
1781,
3706,
705,
43584,
3256,
290,
954,
606,
416,
257,
2318,
8262,
46506,
3128,
62,
1659,
62,
268,
3225,
434,
11,
327,
28270,
7,
4475,
62,
1659,
62,
268,
3225,
434,
8,
16034,
2734,
8448,
... |
On which date was the game played against the Milwaukee Bucks? | SELECT date FROM table_name_36 WHERE opponent = "milwaukee bucks" | [
2202,
543,
3128,
373,
262,
983,
2826,
1028,
262,
16629,
29751,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2623,
33411,
6125,
796,
366,
25433,
15428,
24780,
1
] | [
1,
1,
1,
1,
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,
543,
3128,
373,
262,
983,
2826,
1028,
262,
16629,
29751,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
2623,
33411,
6125,
796,
366,
25433,
15428,
24780,
1
] |
What is listed under tor floysvik when couple is maria & asmund? | SELECT MIN(tor_fløysvik) FROM table_28677723_10 WHERE couple = "Maria & Asmund" | [
2061,
318,
5610,
739,
7332,
781,
19417,
28930,
618,
3155,
318,
1667,
544,
1222,
355,
20125,
30,
46506,
20625,
7,
13165,
62,
2704,
24172,
893,
28930,
8,
16034,
3084,
62,
2078,
3134,
3324,
1954,
62,
940,
33411,
3155,
796,
366,
46827,
12... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
5610,
739,
7332,
781,
19417,
28930,
618,
3155,
318,
1667,
544,
1222,
355,
20125,
30,
46506,
20625,
7,
13165,
62,
2704,
24172,
893,
28930,
8,
16034,
3084,
62,
2078,
3134,
3324,
1954,
62,
940,
33411,
3155,
796,
366,
46827,
12... |
What is the average black value (Hispanic/Non-Hispanic) having a white (Hispanic/Non-Hispanic) under 61.9, Multiracial (Hispanic/Non-Hispanic) under 12.5 and Hispanic under 99.4? | SELECT AVG(black__both_hispanic_and_non_hispanic_) FROM table_name_99 WHERE white__both_hispanic_and_non_hispanic_ < 61.9 AND multiracial__both_hispanic_and_non_hispanic_ < 12.5 AND hispanic__of_any_race_ < 99.4 | [
2061,
318,
262,
2811,
2042,
1988,
357,
43830,
14,
15419,
12,
43830,
8,
1719,
257,
2330,
357,
43830,
14,
15419,
12,
43830,
8,
739,
8454,
13,
24,
11,
7854,
343,
18150,
357,
43830,
14,
15419,
12,
43830,
8,
739,
1105,
13,
20,
290,
169... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2042,
1988,
357,
43830,
14,
15419,
12,
43830,
8,
1719,
257,
2330,
357,
43830,
14,
15419,
12,
43830,
8,
739,
8454,
13,
24,
11,
7854,
343,
18150,
357,
43830,
14,
15419,
12,
43830,
8,
739,
1105,
13,
20,
290,
169... |
What is the sum of Points for 250cc class, ranked 13th, later than 1955? | SELECT SUM(points) FROM table_name_89 WHERE class = "250cc" AND rank = "13th" AND year > 1955 | [
2061,
318,
262,
2160,
286,
11045,
329,
8646,
535,
1398,
11,
10307,
1511,
400,
11,
1568,
621,
25325,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
1398,
796,
366,
9031,
535,
1,
5357,
4279,
796,
366,
1485,
400... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
11045,
329,
8646,
535,
1398,
11,
10307,
1511,
400,
11,
1568,
621,
25325,
30,
46506,
35683,
7,
13033,
8,
16034,
3084,
62,
3672,
62,
4531,
33411,
1398,
796,
366,
9031,
535,
1,
5357,
4279,
796,
366,
1485,
400... |
what is days of hospital stay of subject id 22999? | SELECT demographic.days_stay FROM demographic WHERE demographic.subject_id = "22999" | [
10919,
318,
1528,
286,
4436,
2652,
286,
2426,
4686,
31064,
2079,
30,
46506,
16728,
13,
12545,
62,
31712,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1828,
17032,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
1528,
286,
4436,
2652,
286,
2426,
4686,
31064,
2079,
30,
46506,
16728,
13,
12545,
62,
31712,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1828,
17032,
1
] |
Name the upper elective courses that are offered for CS . | SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id | [
5376,
262,
6727,
1742,
425,
10902,
326,
389,
4438,
329,
9429,
764,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
3417... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6727,
1742,
425,
10902,
326,
389,
4438,
329,
9429,
764,
46506,
360,
8808,
1268,
4177,
1781,
13,
10378,
1823,
11,
1781,
13,
3672,
11,
1781,
13,
17618,
16034,
1781,
11,
1430,
62,
17319,
33411,
1430,
62,
17319,
13,
22872,
3417... |
WHAT IS THE NAME WITH A SUMMER TRANSFER WINDOW, AND COUNTRY SEN? | SELECT "Name" FROM table_48484 WHERE "Transfer window" = 'summer' AND "Country" = 'sen' | [
32971,
3180,
3336,
36751,
13315,
317,
35683,
29296,
44069,
24302,
370,
12115,
3913,
11,
5357,
31404,
40405,
44738,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2780,
34137,
33411,
366,
43260,
4324,
1,
796,
705,
16345,
647,
6,
5357,
366,
33... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
36751,
13315,
317,
35683,
29296,
44069,
24302,
370,
12115,
3913,
11,
5357,
31404,
40405,
44738,
30,
46506,
366,
5376,
1,
16034,
3084,
62,
2780,
34137,
33411,
366,
43260,
4324,
1,
796,
705,
16345,
647,
6,
5357,
366,
33... |
What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87? | SELECT COUNT("Rank") FROM table_61888 WHERE "Total" > '19.42' AND "Taijiquan" < '9.87' | [
2061,
318,
262,
2472,
4279,
286,
262,
16076,
351,
257,
2472,
4025,
621,
678,
13,
3682,
290,
257,
256,
1872,
73,
1557,
272,
1342,
621,
860,
13,
5774,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
47448,
3459,
33411,
366,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
4279,
286,
262,
16076,
351,
257,
2472,
4025,
621,
678,
13,
3682,
290,
257,
256,
1872,
73,
1557,
272,
1342,
621,
860,
13,
5774,
30,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
47448,
3459,
33411,
366,
... |
What is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has? | SELECT MAX("Wins") FROM table_71768 WHERE "Cuts made" = '1' AND "Top-25" < '1' AND "Events" < '2' | [
2061,
318,
262,
4511,
1271,
286,
7864,
257,
7756,
351,
352,
6630,
925,
11,
257,
1353,
12,
1495,
1342,
621,
352,
11,
290,
1342,
621,
362,
2995,
468,
30,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
22,
1558,
3104,
33411,
366,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
4511,
1271,
286,
7864,
257,
7756,
351,
352,
6630,
925,
11,
257,
1353,
12,
1495,
1342,
621,
352,
11,
290,
1342,
621,
362,
2995,
468,
30,
46506,
25882,
7203,
54,
1040,
4943,
16034,
3084,
62,
22,
1558,
3104,
33411,
366,... |
What is the margin at the Nabisco Championship? | SELECT "Margin" FROM table_31649 WHERE "Championship" = 'nabisco championship' | [
2061,
318,
262,
10330,
379,
262,
36099,
4861,
10749,
30,
46506,
366,
24428,
259,
1,
16034,
3084,
62,
33400,
2920,
33411,
366,
1925,
4350,
1056,
1,
796,
705,
77,
397,
4861,
12184,
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,
10330,
379,
262,
36099,
4861,
10749,
30,
46506,
366,
24428,
259,
1,
16034,
3084,
62,
33400,
2920,
33411,
366,
1925,
4350,
1056,
1,
796,
705,
77,
397,
4861,
12184,
6
] |
What is the sum of the area values for districts having density over 462 and websites of http://krishna.nic.in/? | SELECT SUM("Area (km\u00b2)") FROM table_76086 WHERE "Density (/km\u00b2)" > '462' AND "Official website" = 'http://krishna.nic.in/' | [
2061,
318,
262,
2160,
286,
262,
1989,
3815,
329,
12815,
1719,
12109,
625,
604,
5237,
290,
9293,
286,
2638,
1378,
74,
37518,
2616,
13,
6988,
13,
259,
20924,
46506,
35683,
7203,
30547,
357,
13276,
59,
84,
405,
65,
17,
8,
4943,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
2061,
318,
262,
2160,
286,
262,
1989,
3815,
329,
12815,
1719,
12109,
625,
604,
5237,
290,
9293,
286,
2638,
1378,
74,
37518,
2616,
13,
6988,
13,
259,
20924,
46506,
35683,
7203,
30547,
357,
13276,
59,
84,
405,
65,
17,
8,
4943,
16034,
... |
All answers by deleted users. | SELECT a.Id AS "post_id", a.OwnerDisplayName FROM Posts AS a WHERE a.OwnerUserId IS NULL ORDER BY a.CreationDate | [
3237,
7429,
416,
13140,
2985,
13,
46506,
257,
13,
7390,
7054,
366,
7353,
62,
312,
1600,
257,
13,
42419,
23114,
5376,
16034,
12043,
7054,
257,
33411,
257,
13,
42419,
12982,
7390,
3180,
15697,
38678,
11050,
257,
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,
1,
1,
1,
1
] | [
3237,
7429,
416,
13140,
2985,
13,
46506,
257,
13,
7390,
7054,
366,
7353,
62,
312,
1600,
257,
13,
42419,
23114,
5376,
16034,
12043,
7054,
257,
33411,
257,
13,
42419,
12982,
7390,
3180,
15697,
38678,
11050,
257,
13,
12443,
341,
10430
] |
How many totals have a Silver of 40, and a Gold smaller than 39? | SELECT COUNT(total) FROM table_name_21 WHERE silver = 40 AND gold < 39 | [
2437,
867,
26310,
423,
257,
7698,
286,
2319,
11,
290,
257,
3561,
4833,
621,
5014,
30,
46506,
327,
28270,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
8465,
796,
2319,
5357,
3869,
1279,
5014
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
423,
257,
7698,
286,
2319,
11,
290,
257,
3561,
4833,
621,
5014,
30,
46506,
327,
28270,
7,
23350,
8,
16034,
3084,
62,
3672,
62,
2481,
33411,
8465,
796,
2319,
5357,
3869,
1279,
5014
] |
did the spanish player place above or below the japanese player ? | SELECT (SELECT "rank" FROM table_204_160 WHERE "nationality" = 'spain') < (SELECT "rank" FROM table_204_160 WHERE "nationality" = 'japan') | [
20839,
262,
599,
7115,
2137,
1295,
2029,
393,
2174,
262,
474,
2674,
2771,
2137,
5633,
46506,
357,
46506,
366,
43027,
1,
16034,
3084,
62,
18638,
62,
14198,
33411,
366,
14648,
414,
1,
796,
705,
2777,
391,
11537,
1279,
357,
46506,
366,
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
] | [
20839,
262,
599,
7115,
2137,
1295,
2029,
393,
2174,
262,
474,
2674,
2771,
2137,
5633,
46506,
357,
46506,
366,
43027,
1,
16034,
3084,
62,
18638,
62,
14198,
33411,
366,
14648,
414,
1,
796,
705,
2777,
391,
11537,
1279,
357,
46506,
366,
4... |
Posts by @userId since @startDate. | SELECT t.Name, COUNT(*) FROM Posts AS p JOIN PostTypes AS t ON p.PostTypeId = t.Id WHERE OwnerUserId = @userId AND CreationDate >= @startDate GROUP BY t.Name | [
21496,
416,
2488,
7220,
7390,
1201,
2488,
9688,
10430,
13,
46506,
256,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
12043,
7054,
279,
32357,
1268,
2947,
31431,
7054,
256,
6177,
279,
13,
6307,
6030,
7390,
796,
256,
13,
7390,
33411,
23853,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
21496,
416,
2488,
7220,
7390,
1201,
2488,
9688,
10430,
13,
46506,
256,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
12043,
7054,
279,
32357,
1268,
2947,
31431,
7054,
256,
6177,
279,
13,
6307,
6030,
7390,
796,
256,
13,
7390,
33411,
23853,
... |
what was the last heart rate value patient 26886 had? | 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 = 26886)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rat... | [
10919,
373,
262,
938,
2612,
2494,
1988,
5827,
2608,
44980,
550,
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,
436,
323,
62,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
373,
262,
938,
2612,
2494,
1988,
5827,
2608,
44980,
550,
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,
436,
323,
62,... |
A line chart for what are the number of the distinct visit dates? | SELECT Visit_Date, COUNT(Visit_Date) FROM Visits | [
32,
1627,
8262,
329,
644,
389,
262,
1271,
286,
262,
7310,
3187,
9667,
30,
46506,
16440,
62,
10430,
11,
327,
28270,
7,
31141,
62,
10430,
8,
16034,
6911,
896
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
32,
1627,
8262,
329,
644,
389,
262,
1271,
286,
262,
7310,
3187,
9667,
30,
46506,
16440,
62,
10430,
11,
327,
28270,
7,
31141,
62,
10430,
8,
16034,
6911,
896
] |
What is the away when the home is 3-2, and the season is 1959-60? | SELECT "Away" FROM table_13057 WHERE "Home" = '3-2' AND "Season" = '1959-60' | [
2061,
318,
262,
1497,
618,
262,
1363,
318,
513,
12,
17,
11,
290,
262,
1622,
318,
23859,
12,
1899,
30,
46506,
366,
32,
1014,
1,
16034,
3084,
62,
12952,
3553,
33411,
366,
16060,
1,
796,
705,
18,
12,
17,
6,
5357,
366,
18960,
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
] | [
2061,
318,
262,
1497,
618,
262,
1363,
318,
513,
12,
17,
11,
290,
262,
1622,
318,
23859,
12,
1899,
30,
46506,
366,
32,
1014,
1,
16034,
3084,
62,
12952,
3553,
33411,
366,
16060,
1,
796,
705,
18,
12,
17,
6,
5357,
366,
18960,
1,
796... |
When the present is mogu what is 1st? | SELECT "1st" FROM table_29419 WHERE "Present" = 'mogu' | [
2215,
262,
1944,
318,
32985,
84,
644,
318,
352,
301,
30,
46506,
366,
16,
301,
1,
16034,
3084,
62,
27696,
1129,
33411,
366,
34695,
1,
796,
705,
76,
519,
84,
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
] | [
2215,
262,
1944,
318,
32985,
84,
644,
318,
352,
301,
30,
46506,
366,
16,
301,
1,
16034,
3084,
62,
27696,
1129,
33411,
366,
34695,
1,
796,
705,
76,
519,
84,
6
] |
Name the total number of rank for growth raate for 14.47 | SELECT COUNT("Rank") FROM table_27492 WHERE "Growth Rate" = '14.47' | [
5376,
262,
2472,
1271,
286,
4279,
329,
3349,
2179,
378,
329,
1478,
13,
2857,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
1983,
40256,
33411,
366,
38,
13046,
14806,
1,
796,
705,
1415,
13,
2857,
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
] | [
5376,
262,
2472,
1271,
286,
4279,
329,
3349,
2179,
378,
329,
1478,
13,
2857,
46506,
327,
28270,
7203,
27520,
4943,
16034,
3084,
62,
1983,
40256,
33411,
366,
38,
13046,
14806,
1,
796,
705,
1415,
13,
2857,
6
] |
when was the last time in the first hospital visit that patient 7375 had the maximum value of bilirubin, total? | SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7375 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'bilir... | [
12518,
373,
262,
938,
640,
287,
262,
717,
4436,
3187,
326,
5827,
8854,
2425,
550,
262,
5415,
1988,
286,
47027,
343,
549,
259,
11,
2472,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
287,
262,
717,
4436,
3187,
326,
5827,
8854,
2425,
550,
262,
5415,
1988,
286,
47027,
343,
549,
259,
11,
2472,
30,
46506,
2248,
31534,
13,
40926,
2435,
16034,
2248,
31534,
33411,
2248,
31534,
13,
18108,
76,
62... |
Which Points classification has a Trofeo Fast Team of metauro mobili-pinarello, and a Stage of 6? | SELECT points_classification FROM table_name_85 WHERE trofeo_fast_team = "metauro mobili-pinarello" AND stage = "6" | [
13828,
11045,
17923,
468,
257,
8498,
5036,
78,
12549,
4816,
286,
1138,
559,
305,
7251,
2403,
12,
11635,
533,
18798,
11,
290,
257,
15371,
286,
718,
30,
46506,
2173,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
5332,
33411,
4161,
5036,
78... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
11045,
17923,
468,
257,
8498,
5036,
78,
12549,
4816,
286,
1138,
559,
305,
7251,
2403,
12,
11635,
533,
18798,
11,
290,
257,
15371,
286,
718,
30,
46506,
2173,
62,
4871,
2649,
16034,
3084,
62,
3672,
62,
5332,
33411,
4161,
5036,
78... |
compare the scottish national party to the conservative and determine which party had their leaders in office for a longer time . | SELECT "party" FROM table_201_25 WHERE "party" IN ('scottish national party', 'conservative') GROUP BY "party" ORDER BY SUM("to" - "from") DESC LIMIT 1 | [
5589,
533,
262,
629,
1252,
680,
2260,
2151,
284,
262,
5940,
290,
5004,
543,
2151,
550,
511,
2766,
287,
2607,
329,
257,
2392,
640,
764,
46506,
366,
10608,
1,
16034,
3084,
62,
1264,
62,
1495,
33411,
366,
10608,
1,
3268,
19203,
1416,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
5589,
533,
262,
629,
1252,
680,
2260,
2151,
284,
262,
5940,
290,
5004,
543,
2151,
550,
511,
2766,
287,
2607,
329,
257,
2392,
640,
764,
46506,
366,
10608,
1,
16034,
3084,
62,
1264,
62,
1495,
33411,
366,
10608,
1,
3268,
19203,
1416,
1... |
show me the flights that go from SAN DIEGO to NEWARK by way of HOUSTON | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'NEWARK' AND CITY_2.cit... | [
12860,
502,
262,
13956,
326,
467,
422,
37376,
14766,
7156,
46,
284,
12682,
14175,
416,
835,
286,
29068,
41924,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
12860,
502,
262,
13956,
326,
467,
422,
37376,
14766,
7156,
46,
284,
12682,
14175,
416,
835,
286,
29068,
41924,
46506,
360,
8808,
1268,
4177,
5474,
13,
22560,
62,
312,
16034,
9003,
62,
15271,
7054,
31600,
15490,
62,
35009,
27389,
62,
15,... |
What is the total when silver is more than 0, and bronze less than 0? | SELECT MAX("Total") FROM table_59804 WHERE "Silver" > '0' AND "Bronze" < '0' | [
2061,
318,
262,
2472,
618,
8465,
318,
517,
621,
657,
11,
290,
22101,
1342,
621,
657,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
3270,
36088,
33411,
366,
26766,
1,
1875,
705,
15,
6,
5357,
366,
18760,
2736,
1,
1279,
705,
15... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2472,
618,
8465,
318,
517,
621,
657,
11,
290,
22101,
1342,
621,
657,
30,
46506,
25882,
7203,
14957,
4943,
16034,
3084,
62,
3270,
36088,
33411,
366,
26766,
1,
1875,
705,
15,
6,
5357,
366,
18760,
2736,
1,
1279,
705,
15... |
What team lost with 30 tries against? | SELECT lost FROM table_name_35 WHERE tries_against = "30" | [
2061,
1074,
2626,
351,
1542,
8404,
1028,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
2327,
33411,
8404,
62,
32826,
796,
366,
1270,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
1074,
2626,
351,
1542,
8404,
1028,
30,
46506,
2626,
16034,
3084,
62,
3672,
62,
2327,
33411,
8404,
62,
32826,
796,
366,
1270,
1
] |
how long did this runner compete in years ? | SELECT MAX("year") - MIN("year") + 1 FROM table_204_298 | [
4919,
890,
750,
428,
17490,
9320,
287,
812,
5633,
46506,
25882,
7203,
1941,
4943,
532,
20625,
7203,
1941,
4943,
1343,
352,
16034,
3084,
62,
18638,
62,
27728
] | [
1,
1,
1,
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,
890,
750,
428,
17490,
9320,
287,
812,
5633,
46506,
25882,
7203,
1941,
4943,
532,
20625,
7203,
1941,
4943,
1343,
352,
16034,
3084,
62,
18638,
62,
27728
] |
has patient 027-155345 received a diagnosis of bladder ca? | SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-155345')) AND diagnosis.diagnosisname = 'bladder ca' | [
10134,
5827,
657,
1983,
12,
1314,
4310,
2231,
2722,
257,
13669,
286,
34918,
1275,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
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... | [
10134,
5827,
657,
1983,
12,
1314,
4310,
2231,
2722,
257,
13669,
286,
34918,
1275,
30,
46506,
327,
28270,
7,
28104,
1875,
657,
16034,
13669,
33411,
13669,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827,
13,
26029,
20850,
31712,
312,
... |
WHAT IS THE GAME ON SEPTEMBER 13? | SELECT AVG(game) FROM table_name_23 WHERE date = "september 13" | [
32971,
3180,
3336,
30517,
6177,
7946,
11571,
28952,
1511,
30,
46506,
35224,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
3128,
796,
366,
325,
457,
1491,
1511,
1
] | [
1,
1,
1,
1,
1,
1,
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,
30517,
6177,
7946,
11571,
28952,
1511,
30,
46506,
35224,
7,
6057,
8,
16034,
3084,
62,
3672,
62,
1954,
33411,
3128,
796,
366,
325,
457,
1491,
1511,
1
] |
Was the release on April 8 available on Windows? | SELECT windows FROM table_1322904_1 WHERE release = "April 8" | [
16973,
262,
2650,
319,
3035,
807,
1695,
319,
3964,
30,
46506,
9168,
16034,
3084,
62,
1485,
23539,
3023,
62,
16,
33411,
2650,
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
] | [
16973,
262,
2650,
319,
3035,
807,
1695,
319,
3964,
30,
46506,
9168,
16034,
3084,
62,
1485,
23539,
3023,
62,
16,
33411,
2650,
796,
366,
16784,
807,
1
] |
look for the number of patients born before 2182 who had main drug type prescription. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2182" AND prescriptions.drug_type = "MAIN" | [
5460,
329,
262,
1271,
286,
3871,
4642,
878,
362,
24294,
508,
550,
1388,
2563,
2099,
15077,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
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,
1... | [
5460,
329,
262,
1271,
286,
3871,
4642,
878,
362,
24294,
508,
550,
1388,
2563,
2099,
15077,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,
34092,
6177,
16728,
13,
1... |
Which League Cup goals have a Total larger than 14, and a League goals of 14, and a FA Cup goals of 0? | SELECT "League Cup goals" FROM table_43814 WHERE "Total" > '14' AND "League goals" = '14' AND "FA Cup goals" = '0' | [
13828,
4041,
5454,
4661,
423,
257,
7472,
4025,
621,
1478,
11,
290,
257,
4041,
4661,
286,
1478,
11,
290,
257,
9677,
5454,
4661,
286,
657,
30,
46506,
366,
24623,
5454,
4661,
1,
16034,
3084,
62,
43704,
1415,
33411,
366,
14957,
1,
1875,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13828,
4041,
5454,
4661,
423,
257,
7472,
4025,
621,
1478,
11,
290,
257,
4041,
4661,
286,
1478,
11,
290,
257,
9677,
5454,
4661,
286,
657,
30,
46506,
366,
24623,
5454,
4661,
1,
16034,
3084,
62,
43704,
1415,
33411,
366,
14957,
1,
1875,
... |
When valora roucek is the contestant how many heights in centimeters are there? | SELECT COUNT(height__cm_) FROM table_18626383_2 WHERE contestant = "Valora Roucek" | [
2215,
1188,
5799,
13805,
344,
74,
318,
262,
44047,
703,
867,
23245,
287,
48829,
389,
612,
30,
46506,
327,
28270,
7,
17015,
834,
11215,
62,
8,
16034,
3084,
62,
25096,
2075,
34741,
62,
17,
33411,
44047,
796,
366,
7762,
5799,
13876,
344,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1188,
5799,
13805,
344,
74,
318,
262,
44047,
703,
867,
23245,
287,
48829,
389,
612,
30,
46506,
327,
28270,
7,
17015,
834,
11215,
62,
8,
16034,
3084,
62,
25096,
2075,
34741,
62,
17,
33411,
44047,
796,
366,
7762,
5799,
13876,
344,... |
Name the least touchdowns for 11 points | SELECT MIN("Touchdowns") FROM table_72532 WHERE "Points" = '11' | [
5376,
262,
1551,
17692,
329,
1367,
2173,
46506,
20625,
7203,
35211,
30371,
4943,
16034,
3084,
62,
45151,
2624,
33411,
366,
40710,
1,
796,
705,
1157,
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
] | [
5376,
262,
1551,
17692,
329,
1367,
2173,
46506,
20625,
7203,
35211,
30371,
4943,
16034,
3084,
62,
45151,
2624,
33411,
366,
40710,
1,
796,
705,
1157,
6
] |
Who is the player with a 70-75=145 score? | SELECT "Player" FROM table_77460 WHERE "Score" = '70-75=145' | [
8241,
318,
262,
2137,
351,
257,
4317,
12,
2425,
28,
18781,
4776,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3324,
34716,
33411,
366,
26595,
1,
796,
705,
2154,
12,
2425,
28,
18781,
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
] | [
8241,
318,
262,
2137,
351,
257,
4317,
12,
2425,
28,
18781,
4776,
30,
46506,
366,
14140,
1,
16034,
3084,
62,
3324,
34716,
33411,
366,
26595,
1,
796,
705,
2154,
12,
2425,
28,
18781,
6
] |
What is the engine type where the 0 100km/h (62mph) is 11.2 sec? | SELECT "engine type" FROM table_15501 WHERE "0\u2013100km/h (62mph)" = '11.2 sec' | [
2061,
318,
262,
3113,
2099,
810,
262,
657,
1802,
13276,
14,
71,
357,
5237,
23335,
8,
318,
1367,
13,
17,
792,
30,
46506,
366,
18392,
2099,
1,
16034,
3084,
62,
18742,
486,
33411,
366,
15,
59,
84,
6390,
3064,
13276,
14,
71,
357,
5237... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3113,
2099,
810,
262,
657,
1802,
13276,
14,
71,
357,
5237,
23335,
8,
318,
1367,
13,
17,
792,
30,
46506,
366,
18392,
2099,
1,
16034,
3084,
62,
18742,
486,
33411,
366,
15,
59,
84,
6390,
3064,
13276,
14,
71,
357,
5237... |
Which candidates are associated with the Georgia 7 district? | SELECT "Candidates" FROM table_18565 WHERE "District" = 'Georgia 7' | [
13828,
5871,
389,
3917,
351,
262,
7859,
767,
4783,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
21652,
2996,
33411,
366,
44857,
1,
796,
705,
41072,
767,
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
] | [
13828,
5871,
389,
3917,
351,
262,
7859,
767,
4783,
30,
46506,
366,
41572,
37051,
1,
16034,
3084,
62,
21652,
2996,
33411,
366,
44857,
1,
796,
705,
41072,
767,
6
] |
how many countries earned at lest one bronze medal ? | SELECT COUNT("nation") FROM table_204_297 WHERE "bronze" >= 1 | [
4919,
867,
2678,
7366,
379,
27380,
530,
22101,
18279,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
18638,
62,
26561,
33411,
366,
65,
1313,
2736,
1,
18189,
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
] | [
4919,
867,
2678,
7366,
379,
27380,
530,
22101,
18279,
5633,
46506,
327,
28270,
7203,
25729,
4943,
16034,
3084,
62,
18638,
62,
26561,
33411,
366,
65,
1313,
2736,
1,
18189,
352
] |
what is minimum age of patients whose marital status is single and primary disease is pituitary bleed? | SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.diagnosis = "PITUITARY BLEED" | [
10919,
318,
5288,
2479,
286,
3871,
3025,
29555,
3722,
318,
2060,
290,
4165,
4369,
318,
6028,
5013,
560,
30182,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
50,
2751,
253... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5288,
2479,
286,
3871,
3025,
29555,
3722,
318,
2060,
290,
4165,
4369,
318,
6028,
5013,
560,
30182,
30,
46506,
20625,
7,
9536,
6826,
13,
496,
8,
16034,
16728,
33411,
16728,
13,
3876,
1287,
62,
13376,
796,
366,
50,
2751,
253... |
what AAA class has a school year of 1989-90? | SELECT "Class AAA" FROM table_36555 WHERE "School Year" = '1989-90' | [
10919,
25734,
1398,
468,
257,
1524,
614,
286,
11104,
12,
3829,
30,
46506,
366,
9487,
25734,
1,
16034,
3084,
62,
2623,
31046,
33411,
366,
26130,
6280,
1,
796,
705,
25475,
12,
3829,
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
] | [
10919,
25734,
1398,
468,
257,
1524,
614,
286,
11104,
12,
3829,
30,
46506,
366,
9487,
25734,
1,
16034,
3084,
62,
2623,
31046,
33411,
366,
26130,
6280,
1,
796,
705,
25475,
12,
3829,
6
] |
In 1990-2005 what is the lowest Start with Convs smaller than 2? | SELECT MIN(start) FROM table_name_93 WHERE span = "1990-2005" AND conv < 2 | [
818,
6303,
12,
14315,
644,
318,
262,
9016,
7253,
351,
1482,
14259,
4833,
621,
362,
30,
46506,
20625,
7,
9688,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
11506,
796,
366,
19891,
12,
14315,
1,
5357,
3063,
1279,
362
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
6303,
12,
14315,
644,
318,
262,
9016,
7253,
351,
1482,
14259,
4833,
621,
362,
30,
46506,
20625,
7,
9688,
8,
16034,
3084,
62,
3672,
62,
6052,
33411,
11506,
796,
366,
19891,
12,
14315,
1,
5357,
3063,
1279,
362
] |
what are the ids and names of all start stations that were the beginning of at least 200 trips?, and list Y from low to high order. | SELECT start_station_name, start_station_id FROM trip ORDER BY start_station_id | [
10919,
389,
262,
220,
2340,
290,
3891,
286,
477,
923,
8985,
326,
547,
262,
3726,
286,
379,
1551,
939,
13229,
21747,
290,
1351,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
923,
62,
17529,
62,
3672,
11,
923,
62,
17529,
62,
312,
16034,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
389,
262,
220,
2340,
290,
3891,
286,
477,
923,
8985,
326,
547,
262,
3726,
286,
379,
1551,
939,
13229,
21747,
290,
1351,
575,
422,
1877,
284,
1029,
1502,
13,
46506,
923,
62,
17529,
62,
3672,
11,
923,
62,
17529,
62,
312,
16034,... |
Which Country has a Score of 79-68-74=212? | SELECT "Country" FROM table_48297 WHERE "Score" = '79-68-74=212' | [
13828,
12946,
468,
257,
15178,
286,
9225,
12,
3104,
12,
4524,
28,
21777,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2780,
26561,
33411,
366,
26595,
1,
796,
705,
3720,
12,
3104,
12,
4524,
28,
21777,
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
] | [
13828,
12946,
468,
257,
15178,
286,
9225,
12,
3104,
12,
4524,
28,
21777,
30,
46506,
366,
33921,
1,
16034,
3084,
62,
2780,
26561,
33411,
366,
26595,
1,
796,
705,
3720,
12,
3104,
12,
4524,
28,
21777,
6
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.