instruction stringlengths 0 1.06k | response stringlengths 2 3.61k | input_ids list | attention_mask list | labels list |
|---|---|---|---|---|
what are the new drugs today of patient 10855 compared to those prescribed yesterday? | SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10855) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT prescriptions.drug FROM prescriptions WHERE... | [
10919,
389,
262,
649,
5010,
1909,
286,
5827,
15495,
2816,
3688,
284,
883,
14798,
7415,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
10919,
389,
262,
649,
5010,
1909,
286,
5827,
15495,
2816,
3688,
284,
883,
14798,
7415,
30,
46506,
34092,
13,
30349,
16034,
34092,
33411,
34092,
13,
18108,
76,
62,
312,
3268,
357,
46506,
25349,
13,
18108,
76,
62,
312,
16034,
25349,
33411... |
tell me the name of the specimen test that patient 031-3507 had last received? | SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3507')) ORDER BY microlab.culturetakentime DESC LIMIT 1 | [
33331,
502,
262,
1438,
286,
262,
31674,
1332,
326,
5827,
657,
3132,
12,
14877,
22,
550,
938,
2722,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
262,
31674,
1332,
326,
5827,
657,
3132,
12,
14877,
22,
550,
938,
2722,
30,
46506,
4580,
23912,
13,
40820,
942,
578,
16034,
4580,
23912,
33411,
4580,
23912,
13,
26029,
20850,
31712,
312,
3268,
357,
46506,
5827... |
Which visitors have a leading scorer of roy : 25 | SELECT visitor FROM table_11964047_7 WHERE leading_scorer = "Roy : 25" | [
13828,
9692,
423,
257,
3756,
30664,
286,
10611,
1058,
1679,
46506,
21493,
16034,
3084,
62,
16315,
31102,
2857,
62,
22,
33411,
3756,
62,
1416,
11934,
796,
366,
32027,
1058,
1679,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
9692,
423,
257,
3756,
30664,
286,
10611,
1058,
1679,
46506,
21493,
16034,
3084,
62,
16315,
31102,
2857,
62,
22,
33411,
3756,
62,
1416,
11934,
796,
366,
32027,
1058,
1679,
1
] |
For End of Fiscal Years past 1980 that also have as % of GDP Low-High of 83.4-84.4, and a Debt Held By Public ($Billions) smaller than 7,552 what would be the average Gross Debt in $Billions undeflated Treas. in said years? | SELECT AVG("Gross Debt in $Billions undeflated Treas.") FROM table_54105 WHERE "End of Fiscal Year" > '1980' AND "as % of GDP Low-High" = '83.4-84.4' AND "Debt Held By Public ($Billions)" < '7,552' | [
1890,
5268,
286,
33522,
13212,
1613,
7169,
326,
635,
423,
355,
4064,
286,
12396,
7754,
12,
11922,
286,
9698,
13,
19,
12,
5705,
13,
19,
11,
290,
257,
30319,
44584,
2750,
5094,
7198,
17798,
507,
8,
4833,
621,
767,
11,
40427,
644,
561,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
5268,
286,
33522,
13212,
1613,
7169,
326,
635,
423,
355,
4064,
286,
12396,
7754,
12,
11922,
286,
9698,
13,
19,
12,
5705,
13,
19,
11,
290,
257,
30319,
44584,
2750,
5094,
7198,
17798,
507,
8,
4833,
621,
767,
11,
40427,
644,
561,... |
What is the highest against value for Palmeiras and position less than 4? | SELECT MAX("Against") FROM table_35487 WHERE "Team" = 'palmeiras' AND "Position" < '4' | [
2061,
318,
262,
4511,
1028,
1988,
329,
3175,
1326,
343,
292,
290,
2292,
1342,
621,
604,
30,
46506,
25882,
7203,
39276,
4943,
16034,
3084,
62,
2327,
35133,
33411,
366,
15592,
1,
796,
705,
18596,
1326,
343,
292,
6,
5357,
366,
26545,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1028,
1988,
329,
3175,
1326,
343,
292,
290,
2292,
1342,
621,
604,
30,
46506,
25882,
7203,
39276,
4943,
16034,
3084,
62,
2327,
35133,
33411,
366,
15592,
1,
796,
705,
18596,
1326,
343,
292,
6,
5357,
366,
26545,
1,
... |
When extending eminent domain over roads and ways is the description what is the highest means number? | SELECT MAX(meas_num) FROM table_256286_13 WHERE description = "Extending Eminent Domain Over Roads and Ways" | [
2215,
16610,
37820,
7386,
625,
9725,
290,
2842,
318,
262,
6764,
644,
318,
262,
4511,
1724,
1271,
30,
46506,
25882,
7,
1326,
292,
62,
22510,
8,
16034,
3084,
62,
11645,
27033,
62,
1485,
33411,
6764,
796,
366,
11627,
1571,
412,
19669,
20... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
16610,
37820,
7386,
625,
9725,
290,
2842,
318,
262,
6764,
644,
318,
262,
4511,
1724,
1271,
30,
46506,
25882,
7,
1326,
292,
62,
22510,
8,
16034,
3084,
62,
11645,
27033,
62,
1485,
33411,
6764,
796,
366,
11627,
1571,
412,
19669,
20... |
Gold Badges for JavaScript Worldwide. Find worldwide experts on JavaScript | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Users.Id AS "user_link", Reputation, Location FROM Users, Badges WHERE Users.Id = Badges.UserId AND Badges.Class = 1 AND Badges.TagBased = 1 AND Badges.Name = 'javascript' ORDER BY Reputation DESC | [
13306,
7772,
3212,
329,
11933,
33140,
13,
9938,
8688,
6154,
319,
11933,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
13306,
7772,
3212,
329,
11933,
33140,
13,
9938,
8688,
6154,
319,
11933,
46506,
371,
3913,
62,
41359,
13246,
3419,
28729,
357,
12532,
1137,
11050,
1432,
7094,
22196,
34,
8,
7054,
25113,
1600,
18987,
13,
7390,
7054,
366,
7220,
62,
8726,
1... |
What is the 2013 of the grand slam tournaments? | SELECT 2013 FROM table_name_71 WHERE tournament = "grand slam tournaments" | [
2061,
318,
262,
2211,
286,
262,
4490,
21158,
18130,
30,
46506,
2211,
16034,
3084,
62,
3672,
62,
4869,
33411,
7756,
796,
366,
23936,
21158,
18130,
1
] | [
1,
1,
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,
2211,
286,
262,
4490,
21158,
18130,
30,
46506,
2211,
16034,
3084,
62,
3672,
62,
4869,
33411,
7756,
796,
366,
23936,
21158,
18130,
1
] |
What college did the player with a school of huntsville high school go to? | SELECT "College" FROM table_10729 WHERE "School" = 'huntsville high school' | [
2061,
4152,
750,
262,
2137,
351,
257,
1524,
286,
42984,
4244,
1029,
1524,
467,
284,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
15982,
1959,
33411,
366,
26130,
1,
796,
705,
20088,
912,
4244,
1029,
1524,
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,
4152,
750,
262,
2137,
351,
257,
1524,
286,
42984,
4244,
1029,
1524,
467,
284,
30,
46506,
366,
38951,
1,
16034,
3084,
62,
15982,
1959,
33411,
366,
26130,
1,
796,
705,
20088,
912,
4244,
1029,
1524,
6
] |
what is warfarin sodium 2.5 mg po tabs's way of ingesting it? | SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'warfarin sodium 2.5 mg po tabs' | [
10919,
318,
1175,
16370,
259,
21072,
362,
13,
20,
10527,
745,
22524,
338,
835,
286,
26151,
278,
340,
30,
46506,
360,
8808,
1268,
4177,
14103,
13,
81,
448,
1329,
1084,
16034,
14103,
33411,
14103,
13,
30349,
3672,
796,
705,
5767,
16370,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1175,
16370,
259,
21072,
362,
13,
20,
10527,
745,
22524,
338,
835,
286,
26151,
278,
340,
30,
46506,
360,
8808,
1268,
4177,
14103,
13,
81,
448,
1329,
1084,
16034,
14103,
33411,
14103,
13,
30349,
3672,
796,
705,
5767,
16370,
... |
when was the last time patient 016-35266 was admitted via a hospital other hospital? | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '016-35266' AND patient.hospitaladmitsource = 'other hospital' ORDER BY patient.hospitaladmittime DESC LIMIT 1 | [
12518,
373,
262,
938,
640,
5827,
5534,
21,
12,
2327,
25540,
373,
6848,
2884,
257,
4436,
584,
4436,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
2327,
25540,
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,
1,
1,
1,
1,
1,
1,
1... | [
12518,
373,
262,
938,
640,
5827,
5534,
21,
12,
2327,
25540,
373,
6848,
2884,
257,
4436,
584,
4436,
30,
46506,
5827,
13,
49257,
324,
20124,
524,
16034,
5827,
33411,
5827,
13,
403,
1557,
538,
312,
796,
705,
27037,
12,
2327,
25540,
6,
... |
What the cores with a release date of February 2011 and a BGA-1023 socket? | SELECT cores FROM table_name_81 WHERE socket = "bga-1023" AND release_date = "february 2011" | [
2061,
262,
21758,
351,
257,
2650,
3128,
286,
3945,
2813,
290,
257,
347,
9273,
12,
940,
1954,
17802,
30,
46506,
21758,
16034,
3084,
62,
3672,
62,
6659,
33411,
17802,
796,
366,
65,
4908,
12,
940,
1954,
1,
5357,
2650,
62,
4475,
796,
36... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
262,
21758,
351,
257,
2650,
3128,
286,
3945,
2813,
290,
257,
347,
9273,
12,
940,
1954,
17802,
30,
46506,
21758,
16034,
3084,
62,
3672,
62,
6659,
33411,
17802,
796,
366,
65,
4908,
12,
940,
1954,
1,
5357,
2650,
62,
4475,
796,
36... |
How many people are in regions greater than 3? | SELECT SUM(population) FROM table_name_18 WHERE region > 3 | [
2437,
867,
661,
389,
287,
7652,
3744,
621,
513,
30,
46506,
35683,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
3814,
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
] | [
2437,
867,
661,
389,
287,
7652,
3744,
621,
513,
30,
46506,
35683,
7,
39748,
8,
16034,
3084,
62,
3672,
62,
1507,
33411,
3814,
1875,
513
] |
Find the number of different cities which banks are located at. | SELECT COUNT(DISTINCT city) FROM bank | [
16742,
262,
1271,
286,
1180,
4736,
543,
6341,
389,
5140,
379,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1748,
8,
16034,
3331
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1271,
286,
1180,
4736,
543,
6341,
389,
5140,
379,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
1748,
8,
16034,
3331
] |
which player got the most yards ? | SELECT "player" FROM table_203_8 ORDER BY "yards" DESC LIMIT 1 | [
4758,
2137,
1392,
262,
749,
5695,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
23,
38678,
11050,
366,
33750,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
2137,
1392,
262,
749,
5695,
5633,
46506,
366,
7829,
1,
16034,
3084,
62,
22416,
62,
23,
38678,
11050,
366,
33750,
1,
22196,
34,
27564,
2043,
352
] |
What is title of episode 06-02-407? | SELECT "Title" FROM table_22603 WHERE "Production code" = '06-02-407' | [
2061,
318,
3670,
286,
4471,
9130,
12,
2999,
12,
30120,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1828,
35642,
33411,
366,
35027,
2438,
1,
796,
705,
3312,
12,
2999,
12,
30120,
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,
3670,
286,
4471,
9130,
12,
2999,
12,
30120,
30,
46506,
366,
19160,
1,
16034,
3084,
62,
1828,
35642,
33411,
366,
35027,
2438,
1,
796,
705,
3312,
12,
2999,
12,
30120,
6
] |
What machine has tony rutter as the rider? | SELECT "Machine" FROM table_40930 WHERE "Rider" = 'tony rutter' | [
2061,
4572,
468,
256,
1647,
374,
10381,
355,
262,
17876,
30,
46506,
366,
37573,
1,
16034,
3084,
62,
29416,
1270,
33411,
366,
49,
1304,
1,
796,
705,
1122,
88,
374,
10381,
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,
4572,
468,
256,
1647,
374,
10381,
355,
262,
17876,
30,
46506,
366,
37573,
1,
16034,
3084,
62,
29416,
1270,
33411,
366,
49,
1304,
1,
796,
705,
1122,
88,
374,
10381,
6
] |
what player has place t10 | SELECT "Player" FROM table_66295 WHERE "Place" = 't10' | [
10919,
2137,
468,
1295,
256,
940,
46506,
366,
14140,
1,
16034,
3084,
62,
2791,
25710,
33411,
366,
27271,
1,
796,
705,
83,
940,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
10919,
2137,
468,
1295,
256,
940,
46506,
366,
14140,
1,
16034,
3084,
62,
2791,
25710,
33411,
366,
27271,
1,
796,
705,
83,
940,
6
] |
Show the number of names of phones in a bar chart, and list by the X in descending. | SELECT Name, COUNT(Name) FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID GROUP BY Name ORDER BY Name DESC | [
15307,
262,
1271,
286,
3891,
286,
9512,
287,
257,
2318,
8262,
11,
290,
1351,
416,
262,
1395,
287,
31491,
13,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
1910,
7054,
309,
17,
6177,
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... | [
15307,
262,
1271,
286,
3891,
286,
9512,
287,
257,
2318,
8262,
11,
290,
1351,
416,
262,
1395,
287,
31491,
13,
46506,
6530,
11,
327,
28270,
7,
5376,
8,
16034,
3072,
62,
10728,
7054,
309,
16,
32357,
1268,
1910,
7054,
309,
17,
6177,
309... |
patients with uncontrolled ( treated or untreated ) hypertension | SELECT * FROM table_dev_61 WHERE hypertension = 1 | [
8071,
2334,
351,
47913,
357,
5716,
393,
41539,
1267,
37454,
46506,
1635,
16034,
3084,
62,
7959,
62,
5333,
33411,
37454,
796,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8071,
2334,
351,
47913,
357,
5716,
393,
41539,
1267,
37454,
46506,
1635,
16034,
3084,
62,
7959,
62,
5333,
33411,
37454,
796,
352
] |
What is the Author of the Title with an Ongoing Last Issue? | SELECT author FROM table_name_1 WHERE last_issue = "ongoing" | [
2061,
318,
262,
6434,
286,
262,
11851,
351,
281,
48041,
40519,
4586,
18232,
30,
46506,
1772,
16034,
3084,
62,
3672,
62,
16,
33411,
938,
62,
21949,
796,
366,
25162,
278,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
6434,
286,
262,
11851,
351,
281,
48041,
40519,
4586,
18232,
30,
46506,
1772,
16034,
3084,
62,
3672,
62,
16,
33411,
938,
62,
21949,
796,
366,
25162,
278,
1
] |
What is the name of the platform used for various computers and consoles? | SELECT "Platform" FROM table_77522 WHERE "System" = 'various computers and consoles' | [
2061,
318,
262,
1438,
286,
262,
3859,
973,
329,
2972,
9061,
290,
22629,
30,
46506,
366,
37148,
1,
16034,
3084,
62,
34483,
1828,
33411,
366,
11964,
1,
796,
705,
7785,
699,
9061,
290,
22629,
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
] | [
2061,
318,
262,
1438,
286,
262,
3859,
973,
329,
2972,
9061,
290,
22629,
30,
46506,
366,
37148,
1,
16034,
3084,
62,
34483,
1828,
33411,
366,
11964,
1,
796,
705,
7785,
699,
9061,
290,
22629,
6
] |
Which Longi- tude is on jun 6? | SELECT "Longi- tude" FROM table_75541 WHERE "Date \u00b3" = 'jun 6' | [
13828,
5882,
72,
12,
256,
2507,
318,
319,
10891,
718,
30,
46506,
366,
14617,
72,
12,
256,
2507,
1,
16034,
3084,
62,
38172,
3901,
33411,
366,
10430,
3467,
84,
405,
65,
18,
1,
796,
705,
29741,
718,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
5882,
72,
12,
256,
2507,
318,
319,
10891,
718,
30,
46506,
366,
14617,
72,
12,
256,
2507,
1,
16034,
3084,
62,
38172,
3901,
33411,
366,
10430,
3467,
84,
405,
65,
18,
1,
796,
705,
29741,
718,
6
] |
What tournament took place on 7 Aug 2011? | SELECT "Tournament" FROM table_55450 WHERE "Date" = '7 aug 2011' | [
2061,
7756,
1718,
1295,
319,
767,
2447,
2813,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2816,
17885,
33411,
366,
10430,
1,
796,
705,
22,
16339,
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
] | [
2061,
7756,
1718,
1295,
319,
767,
2447,
2813,
30,
46506,
366,
51,
5138,
1,
16034,
3084,
62,
2816,
17885,
33411,
366,
10430,
1,
796,
705,
22,
16339,
2813,
6
] |
What Grid had 14 laps completed? | SELECT AVG("Grid") FROM table_54529 WHERE "Laps" = '14' | [
2061,
24846,
550,
1478,
24590,
5668,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
45326,
1959,
33411,
366,
43,
1686,
1,
796,
705,
1415,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
24846,
550,
1478,
24590,
5668,
30,
46506,
35224,
7203,
41339,
4943,
16034,
3084,
62,
45326,
1959,
33411,
366,
43,
1686,
1,
796,
705,
1415,
6
] |
What was the team's position in table when Danny OST was the outgoing manager? | SELECT position_in_table FROM table_27374004_4 WHERE outgoing_manager = "Danny Ost" | [
2061,
373,
262,
1074,
338,
2292,
287,
3084,
618,
15105,
440,
2257,
373,
262,
28181,
4706,
30,
46506,
2292,
62,
259,
62,
11487,
16034,
3084,
62,
1983,
2718,
7029,
19,
62,
19,
33411,
28181,
62,
37153,
796,
366,
45478,
38919,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1074,
338,
2292,
287,
3084,
618,
15105,
440,
2257,
373,
262,
28181,
4706,
30,
46506,
2292,
62,
259,
62,
11487,
16034,
3084,
62,
1983,
2718,
7029,
19,
62,
19,
33411,
28181,
62,
37153,
796,
366,
45478,
38919,
1
] |
What was the crowd attendance when the home team was Melbourne? | SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne" | [
2061,
373,
262,
4315,
14858,
618,
262,
1363,
1074,
373,
14819,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
1363,
62,
15097,
796,
366,
17694,
12544,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4315,
14858,
618,
262,
1363,
1074,
373,
14819,
30,
46506,
327,
28270,
7,
66,
3986,
8,
16034,
3084,
62,
3672,
62,
4790,
33411,
1363,
62,
15097,
796,
366,
17694,
12544,
1
] |
Find the name, age, and job title of persons who are friends with Alice for the longest years. | SELECT T1.name, T1.age, T1.job FROM person AS T1 JOIN personfriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Alice' AND T2.year = (SELECT MAX(year) FROM personfriend WHERE friend = 'Alice') | [
16742,
262,
1438,
11,
2479,
11,
290,
1693,
3670,
286,
6506,
508,
389,
2460,
351,
14862,
329,
262,
14069,
812,
13,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
496,
11,
309,
16,
13,
21858,
16034,
1048,
7054,
309,
16,
32357,
1268,
104... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
16742,
262,
1438,
11,
2479,
11,
290,
1693,
3670,
286,
6506,
508,
389,
2460,
351,
14862,
329,
262,
14069,
812,
13,
46506,
309,
16,
13,
3672,
11,
309,
16,
13,
496,
11,
309,
16,
13,
21858,
16034,
1048,
7054,
309,
16,
32357,
1268,
104... |
What was the engine when the chassis was a porsche 718?? | SELECT engine FROM table_name_87 WHERE chassis = "porsche 718" | [
2061,
373,
262,
3113,
618,
262,
24587,
373,
257,
279,
26164,
767,
1507,
3548,
46506,
3113,
16034,
3084,
62,
3672,
62,
5774,
33411,
24587,
796,
366,
79,
26164,
767,
1507,
1
] | [
1,
1,
1,
1,
1,
1,
1,
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,
3113,
618,
262,
24587,
373,
257,
279,
26164,
767,
1507,
3548,
46506,
3113,
16034,
3084,
62,
3672,
62,
5774,
33411,
24587,
796,
366,
79,
26164,
767,
1507,
1
] |
Draw a bar chart about the distribution of date_address_to and the amount of date_address_to , and group by attribute other_details and bin date_address_to by weekday. | SELECT date_address_to, COUNT(date_address_to) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
3128,
62,
21975,
62,
1462,
290,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
584,
62,
36604,
290,
9874,
3128,
62,
21975,
62,
1462,
416,
28269,
13,
46506,
3128,
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,
1,
1,
1,
1,
1,
1,
1... | [
25302,
257,
2318,
8262,
546,
262,
6082,
286,
3128,
62,
21975,
62,
1462,
290,
262,
2033,
286,
3128,
62,
21975,
62,
1462,
837,
290,
1448,
416,
11688,
584,
62,
36604,
290,
9874,
3128,
62,
21975,
62,
1462,
416,
28269,
13,
46506,
3128,
6... |
What is Game, when Road Team is 'Syracuse', and when Result is '96-89'? | SELECT game FROM table_name_47 WHERE road_team = "syracuse" AND result = "96-89" | [
2061,
318,
3776,
11,
618,
5567,
4816,
318,
705,
50,
2417,
330,
1904,
3256,
290,
618,
25414,
318,
705,
4846,
12,
4531,
30960,
46506,
983,
16034,
3084,
62,
3672,
62,
2857,
33411,
2975,
62,
15097,
796,
366,
1837,
28268,
1,
5357,
1255,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
3776,
11,
618,
5567,
4816,
318,
705,
50,
2417,
330,
1904,
3256,
290,
618,
25414,
318,
705,
4846,
12,
4531,
30960,
46506,
983,
16034,
3084,
62,
3672,
62,
2857,
33411,
2975,
62,
15097,
796,
366,
1837,
28268,
1,
5357,
1255,
... |
What is the sum grid number when the driver was Luciano Burti? | SELECT COUNT("Grid") FROM table_54813 WHERE "Driver" = 'luciano burti' | [
2061,
318,
262,
2160,
10706,
1271,
618,
262,
4639,
373,
7598,
10115,
347,
3325,
72,
30,
46506,
327,
28270,
7203,
41339,
4943,
16034,
3084,
62,
49934,
1485,
33411,
366,
32103,
1,
796,
705,
75,
1229,
10115,
275,
3325,
72,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
2160,
10706,
1271,
618,
262,
4639,
373,
7598,
10115,
347,
3325,
72,
30,
46506,
327,
28270,
7203,
41339,
4943,
16034,
3084,
62,
49934,
1485,
33411,
366,
32103,
1,
796,
705,
75,
1229,
10115,
275,
3325,
72,
6
] |
Which number was the lyricist ahmed metwally? | SELECT no FROM table_28005100_1 WHERE lyricist = "Ahmed Metwally" | [
13828,
1271,
373,
262,
43086,
396,
29042,
1150,
1138,
86,
453,
30,
46506,
645,
16034,
3084,
62,
2078,
22544,
3064,
62,
16,
33411,
43086,
396,
796,
366,
10910,
1150,
3395,
86,
453,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1271,
373,
262,
43086,
396,
29042,
1150,
1138,
86,
453,
30,
46506,
645,
16034,
3084,
62,
2078,
22544,
3064,
62,
16,
33411,
43086,
396,
796,
366,
10910,
1150,
3395,
86,
453,
1
] |
What is the highest pick for a player from auburn? | SELECT MAX("Pick") FROM table_77537 WHERE "School" = 'auburn' | [
2061,
318,
262,
4511,
2298,
329,
257,
2137,
422,
257,
549,
700,
30,
46506,
25882,
7203,
31686,
4943,
16034,
3084,
62,
34483,
2718,
33411,
366,
26130,
1,
796,
705,
64,
549,
700,
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,
4511,
2298,
329,
257,
2137,
422,
257,
549,
700,
30,
46506,
25882,
7203,
31686,
4943,
16034,
3084,
62,
34483,
2718,
33411,
366,
26130,
1,
796,
705,
64,
549,
700,
6
] |
If the equation is 1 9 + 4 9 + 0, what is the 2nd throw? | SELECT 2 AS nd_throw FROM table_17265535_7 WHERE equation = "1 × 9² + 4 × 9 + 0" | [
1532,
262,
16022,
318,
352,
860,
1343,
604,
860,
1343,
657,
11,
644,
318,
262,
362,
358,
3714,
30,
46506,
362,
7054,
299,
67,
62,
16939,
16034,
3084,
62,
1558,
2075,
2816,
2327,
62,
22,
33411,
16022,
796,
366,
16,
13958,
860,
31185,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
1532,
262,
16022,
318,
352,
860,
1343,
604,
860,
1343,
657,
11,
644,
318,
262,
362,
358,
3714,
30,
46506,
362,
7054,
299,
67,
62,
16939,
16034,
3084,
62,
1558,
2075,
2816,
2327,
62,
22,
33411,
16022,
796,
366,
16,
13958,
860,
31185,... |
When did the home team score 9.13 (67)? | SELECT "Date" FROM table_58563 WHERE "Home team score" = '9.13 (67)' | [
2215,
750,
262,
1363,
1074,
4776,
860,
13,
1485,
357,
3134,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3365,
46572,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
24,
13,
1485,
357,
3134,
33047
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2215,
750,
262,
1363,
1074,
4776,
860,
13,
1485,
357,
3134,
19427,
46506,
366,
10430,
1,
16034,
3084,
62,
3365,
46572,
33411,
366,
16060,
1074,
4776,
1,
796,
705,
24,
13,
1485,
357,
3134,
33047
] |
How many cash prizes were given for the hindi language film jodhaa akbar? | SELECT COUNT("Cash Prize") FROM table_28196 WHERE "Language" = 'Hindi' AND "Name of Film" = 'Jodhaa Akbar' | [
2437,
867,
5003,
21740,
547,
1813,
329,
262,
16222,
72,
3303,
2646,
474,
375,
3099,
64,
47594,
5657,
30,
46506,
327,
28270,
7203,
35361,
15895,
4943,
16034,
3084,
62,
2078,
25272,
33411,
366,
32065,
1,
796,
705,
39,
521,
72,
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,
1,
1,
1
] | [
2437,
867,
5003,
21740,
547,
1813,
329,
262,
16222,
72,
3303,
2646,
474,
375,
3099,
64,
47594,
5657,
30,
46506,
327,
28270,
7203,
35361,
15895,
4943,
16034,
3084,
62,
2078,
25272,
33411,
366,
32065,
1,
796,
705,
39,
521,
72,
6,
5357,
... |
What is the mean number of laps where time/retired was +1:05.564? | SELECT AVG(laps) FROM table_name_67 WHERE time_retired = "+1:05.564" | [
2061,
318,
262,
1612,
1271,
286,
24590,
810,
640,
14,
1186,
1202,
373,
1343,
16,
25,
2713,
13,
20,
2414,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
640,
62,
1186,
1202,
796,
43825,
16,
25,
2713,
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
] | [
2061,
318,
262,
1612,
1271,
286,
24590,
810,
640,
14,
1186,
1202,
373,
1343,
16,
25,
2713,
13,
20,
2414,
30,
46506,
35224,
7,
75,
1686,
8,
16034,
3084,
62,
3672,
62,
3134,
33411,
640,
62,
1186,
1202,
796,
43825,
16,
25,
2713,
13,
... |
Who won the tournament for the Atlantic Sun Conference? | SELECT "Tournament Winner" FROM table_3025 WHERE "Conference" = 'Atlantic Sun Conference' | [
8241,
1839,
262,
7756,
329,
262,
10596,
3825,
8785,
30,
46506,
366,
51,
5138,
25358,
1,
16034,
3084,
62,
1270,
1495,
33411,
366,
3103,
4288,
1,
796,
705,
41120,
3825,
8785,
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
] | [
8241,
1839,
262,
7756,
329,
262,
10596,
3825,
8785,
30,
46506,
366,
51,
5138,
25358,
1,
16034,
3084,
62,
1270,
1495,
33411,
366,
3103,
4288,
1,
796,
705,
41120,
3825,
8785,
6
] |
When are the COMPLIT 374 classes in the week . | SELECT DISTINCT course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_i... | [
2215,
389,
262,
9440,
6489,
2043,
49020,
6097,
287,
262,
1285,
764,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1586,
13,
82,
3658,
11,
1781,
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... | [
2215,
389,
262,
9440,
6489,
2043,
49020,
6097,
287,
262,
1285,
764,
46506,
360,
8808,
1268,
4177,
1781,
62,
2364,
1586,
13,
8310,
2567,
11,
1781,
62,
2364,
1586,
13,
76,
3204,
11,
1781,
62,
2364,
1586,
13,
82,
3658,
11,
1781,
62,
... |
What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies. | SELECT T1.allergy, T1.allergytype FROM allergy_type AS T1 JOIN has_allergy AS T2 ON T1.allergy = T2.allergy JOIN student AS T3 ON T3.stuid = T2.stuid WHERE T3.fname = "Lisa" ORDER BY T1.allergy | [
2061,
389,
262,
36665,
290,
511,
3858,
326,
262,
3710,
351,
717,
1438,
15378,
468,
30,
843,
1502,
262,
1255,
416,
1438,
286,
36665,
13,
46506,
309,
16,
13,
439,
26079,
11,
309,
16,
13,
439,
26079,
4906,
16034,
36197,
62,
4906,
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... | [
2061,
389,
262,
36665,
290,
511,
3858,
326,
262,
3710,
351,
717,
1438,
15378,
468,
30,
843,
1502,
262,
1255,
416,
1438,
286,
36665,
13,
46506,
309,
16,
13,
439,
26079,
11,
309,
16,
13,
439,
26079,
4906,
16034,
36197,
62,
4906,
7054,... |
What was Rosie's winning score on Apr 29, 2001? | SELECT "Winning score" FROM table_63368 WHERE "Date" = 'apr 29, 2001' | [
2061,
373,
10018,
494,
338,
5442,
4776,
319,
2758,
2808,
11,
5878,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
21,
2091,
3104,
33411,
366,
10430,
1,
796,
705,
499,
81,
2808,
11,
5878,
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,
373,
10018,
494,
338,
5442,
4776,
319,
2758,
2808,
11,
5878,
30,
46506,
366,
16643,
768,
4776,
1,
16034,
3084,
62,
21,
2091,
3104,
33411,
366,
10430,
1,
796,
705,
499,
81,
2808,
11,
5878,
6
] |
When rudolph kleberg (d) is the successor what is the date of successors taking office? | SELECT date_of_successors_taking_office FROM table_2417445_4 WHERE successor = "Rudolph Kleberg (D)" | [
2215,
28906,
10196,
479,
293,
3900,
357,
67,
8,
318,
262,
17270,
644,
318,
262,
3128,
286,
41491,
2263,
2607,
30,
46506,
3128,
62,
1659,
62,
13138,
669,
62,
26103,
62,
31810,
16034,
3084,
62,
1731,
22985,
2231,
62,
19,
33411,
17270,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
28906,
10196,
479,
293,
3900,
357,
67,
8,
318,
262,
17270,
644,
318,
262,
3128,
286,
41491,
2263,
2607,
30,
46506,
3128,
62,
1659,
62,
13138,
669,
62,
26103,
62,
31810,
16034,
3084,
62,
1731,
22985,
2231,
62,
19,
33411,
17270,
... |
What is the # for the episode with viewing figures of 7.02 million ? | SELECT MAX("#") FROM table_19797 WHERE "Viewing figure" = '7.02 million' | [
2061,
318,
262,
1303,
329,
262,
4471,
351,
11681,
5538,
286,
767,
13,
2999,
1510,
5633,
46506,
25882,
7203,
2,
4943,
16034,
3084,
62,
33581,
22,
33411,
366,
7680,
278,
3785,
1,
796,
705,
22,
13,
2999,
1510,
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
] | [
2061,
318,
262,
1303,
329,
262,
4471,
351,
11681,
5538,
286,
767,
13,
2999,
1510,
5633,
46506,
25882,
7203,
2,
4943,
16034,
3084,
62,
33581,
22,
33411,
366,
7680,
278,
3785,
1,
796,
705,
22,
13,
2999,
1510,
6
] |
What's the C_{low} value when C_{high} is 12.0? | SELECT "C_{low}" FROM table_73107 WHERE "C_{high}" = '12.0' | [
2061,
338,
262,
327,
23330,
9319,
92,
1988,
618,
327,
23330,
8929,
92,
318,
1105,
13,
15,
30,
46506,
366,
34,
23330,
9319,
36786,
16034,
3084,
62,
4790,
15982,
33411,
366,
34,
23330,
8929,
36786,
796,
705,
1065,
13,
15,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
327,
23330,
9319,
92,
1988,
618,
327,
23330,
8929,
92,
318,
1105,
13,
15,
30,
46506,
366,
34,
23330,
9319,
36786,
16034,
3084,
62,
4790,
15982,
33411,
366,
34,
23330,
8929,
36786,
796,
705,
1065,
13,
15,
6
] |
how many patients whose admission type is urgent and age is less than 70? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.age < "70" | [
4919,
867,
3871,
3025,
13938,
2099,
318,
18039,
290,
2479,
318,
1342,
621,
4317,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
4261,
38,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4919,
867,
3871,
3025,
13938,
2099,
318,
18039,
290,
2479,
318,
1342,
621,
4317,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
324,
3411,
62,
4906,
796,
366,
4261,
38,
... |
Which state was Dai from? | SELECT state FROM table_name_9 WHERE name = "dai" | [
13828,
1181,
373,
39604,
422,
30,
46506,
1181,
16034,
3084,
62,
3672,
62,
24,
33411,
1438,
796,
366,
67,
1872,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
13828,
1181,
373,
39604,
422,
30,
46506,
1181,
16034,
3084,
62,
3672,
62,
24,
33411,
1438,
796,
366,
67,
1872,
1
] |
Which club participated with a record of 45 tries against? | SELECT club FROM table_name_91 WHERE tries_against = "45" | [
13828,
3430,
14888,
351,
257,
1700,
286,
4153,
8404,
1028,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
6420,
33411,
8404,
62,
32826,
796,
366,
2231,
1
] | [
1,
1,
1,
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,
3430,
14888,
351,
257,
1700,
286,
4153,
8404,
1028,
30,
46506,
3430,
16034,
3084,
62,
3672,
62,
6420,
33411,
8404,
62,
32826,
796,
366,
2231,
1
] |
Find the number of products for each manufacturer, showing the name of each company. Show bar chart. | SELECT T2.Name, COUNT(*) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name | [
16742,
262,
1271,
286,
3186,
329,
1123,
11554,
11,
4478,
262,
1438,
286,
1123,
1664,
13,
5438,
2318,
8262,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
16742,
262,
1271,
286,
3186,
329,
1123,
11554,
11,
4478,
262,
1438,
286,
1123,
1664,
13,
5438,
2318,
8262,
13,
46506,
309,
17,
13,
5376,
11,
327,
28270,
7,
28104,
16034,
18675,
7054,
309,
16,
32357,
1268,
17858,
17496,
7054,
309,
17,
... |
provide the marital status and date of birth of subject id 2560. | SELECT demographic.marital_status, demographic.dob FROM demographic WHERE demographic.subject_id = "2560" | [
15234,
485,
262,
29555,
3722,
290,
3128,
286,
4082,
286,
2426,
4686,
1679,
1899,
13,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
67,
672,
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
] | [
15234,
485,
262,
29555,
3722,
290,
3128,
286,
4082,
286,
2426,
4686,
1679,
1899,
13,
46506,
16728,
13,
3876,
1287,
62,
13376,
11,
16728,
13,
67,
672,
16034,
16728,
33411,
16728,
13,
32796,
62,
312,
796,
366,
1495,
1899,
1
] |
Post ID and Tags for 2017. | SELECT Id, PostTypeId, CreationDate, Tags FROM Posts WHERE CreationDate BETWEEN '2017-01-01' AND '2017-12-31' AND NOT NULLIF(Tags, '') IS NULL | [
6307,
4522,
290,
44789,
329,
2177,
13,
46506,
5121,
11,
2947,
6030,
7390,
11,
21582,
10430,
11,
44789,
16034,
12043,
33411,
21582,
10430,
38651,
8845,
1677,
705,
5539,
12,
486,
12,
486,
6,
5357,
705,
5539,
12,
1065,
12,
3132,
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
] | [
6307,
4522,
290,
44789,
329,
2177,
13,
46506,
5121,
11,
2947,
6030,
7390,
11,
21582,
10430,
11,
44789,
16034,
12043,
33411,
21582,
10430,
38651,
8845,
1677,
705,
5539,
12,
486,
12,
486,
6,
5357,
705,
5539,
12,
1065,
12,
3132,
6,
5357,... |
Who had the most assist when the opponent was Cleveland? | SELECT "High assists" FROM table_1329 WHERE "Team" = 'Cleveland' | [
8241,
550,
262,
749,
3342,
618,
262,
6125,
373,
10306,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
1485,
1959,
33411,
366,
15592,
1,
796,
705,
34,
5715,
392,
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
] | [
8241,
550,
262,
749,
3342,
618,
262,
6125,
373,
10306,
30,
46506,
366,
11922,
13648,
1,
16034,
3084,
62,
1485,
1959,
33411,
366,
15592,
1,
796,
705,
34,
5715,
392,
6
] |
How many total runners had jockeys of Olivier Peslier with placings under 2? | SELECT SUM("Runners") FROM table_69270 WHERE "Jockey" = 'olivier peslier' AND "Placing" < '2' | [
2437,
867,
2472,
19323,
550,
474,
420,
13083,
286,
45674,
38434,
2505,
351,
21957,
654,
739,
362,
30,
46506,
35683,
7203,
10987,
2741,
4943,
16034,
3084,
62,
3388,
20233,
33411,
366,
41,
8337,
1,
796,
705,
349,
452,
959,
32317,
2505,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2472,
19323,
550,
474,
420,
13083,
286,
45674,
38434,
2505,
351,
21957,
654,
739,
362,
30,
46506,
35683,
7203,
10987,
2741,
4943,
16034,
3084,
62,
3388,
20233,
33411,
366,
41,
8337,
1,
796,
705,
349,
452,
959,
32317,
2505,
... |
Name the 2003 for atp masters series 1998 | SELECT "2003" FROM table_6204 WHERE "1998" = 'atp masters series' | [
5376,
262,
5816,
329,
379,
79,
18159,
2168,
7795,
46506,
366,
16088,
1,
16034,
3084,
62,
21,
18638,
33411,
366,
21113,
1,
796,
705,
265,
79,
18159,
2168,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
5376,
262,
5816,
329,
379,
79,
18159,
2168,
7795,
46506,
366,
16088,
1,
16034,
3084,
62,
21,
18638,
33411,
366,
21113,
1,
796,
705,
265,
79,
18159,
2168,
6
] |
Name the surface for february 25, 1996 | SELECT surface FROM table_name_58 WHERE date = "february 25, 1996" | [
5376,
262,
4417,
329,
730,
65,
3728,
1679,
11,
8235,
46506,
4417,
16034,
3084,
62,
3672,
62,
3365,
33411,
3128,
796,
366,
69,
1765,
3728,
1679,
11,
8235,
1
] | [
1,
1,
1,
1,
1,
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,
4417,
329,
730,
65,
3728,
1679,
11,
8235,
46506,
4417,
16034,
3084,
62,
3672,
62,
3365,
33411,
3128,
796,
366,
69,
1765,
3728,
1679,
11,
8235,
1
] |
What is the Date of the Competition with Man of the Match Ollie Bronnimann? | SELECT date FROM table_name_41 WHERE man_of_the_match = "ollie bronnimann" | [
2061,
318,
262,
7536,
286,
262,
27348,
351,
1869,
286,
262,
13225,
440,
297,
494,
8923,
77,
320,
1236,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3901,
33411,
582,
62,
1659,
62,
1169,
62,
15699,
796,
366,
692,
494,
18443,
77,
320,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
7536,
286,
262,
27348,
351,
1869,
286,
262,
13225,
440,
297,
494,
8923,
77,
320,
1236,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
3901,
33411,
582,
62,
1659,
62,
1169,
62,
15699,
796,
366,
692,
494,
18443,
77,
320,
... |
Where is the home venue of carlton that had a crowd bigger than 12,000? | SELECT "Venue" FROM table_56667 WHERE "Crowd" > '12,000' AND "Home team" = 'carlton' | [
8496,
318,
262,
1363,
14359,
286,
1097,
75,
1122,
326,
550,
257,
4315,
5749,
621,
1105,
11,
830,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
20,
2791,
3134,
33411,
366,
34,
3986,
1,
1875,
705,
1065,
11,
830,
6,
5357,
366,
1606... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
318,
262,
1363,
14359,
286,
1097,
75,
1122,
326,
550,
257,
4315,
5749,
621,
1105,
11,
830,
30,
46506,
366,
37522,
518,
1,
16034,
3084,
62,
20,
2791,
3134,
33411,
366,
34,
3986,
1,
1875,
705,
1065,
11,
830,
6,
5357,
366,
1606... |
What begin has victoria as the state/territory and a ICA0 of ymml? | SELECT begin FROM table_name_18 WHERE state_territory = "victoria" AND icao = "ymml" | [
2061,
2221,
468,
2210,
7661,
355,
262,
1181,
14,
353,
799,
652,
290,
257,
314,
8141,
15,
286,
331,
3020,
75,
30,
46506,
2221,
16034,
3084,
62,
3672,
62,
1507,
33411,
1181,
62,
353,
799,
652,
796,
366,
32433,
7661,
1,
5357,
220,
39... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2221,
468,
2210,
7661,
355,
262,
1181,
14,
353,
799,
652,
290,
257,
314,
8141,
15,
286,
331,
3020,
75,
30,
46506,
2221,
16034,
3084,
62,
3672,
62,
1507,
33411,
1181,
62,
353,
799,
652,
796,
366,
32433,
7661,
1,
5357,
220,
39... |
in what city did piotr 's last 1st place finish occur ? | SELECT "venue" FROM table_204_622 WHERE "position" = 1 ORDER BY "year" DESC LIMIT 1 | [
259,
644,
1748,
750,
279,
5151,
81,
705,
82,
938,
352,
301,
1295,
5461,
3051,
5633,
46506,
366,
4080,
1,
16034,
3084,
62,
18638,
62,
21,
1828,
33411,
366,
9150,
1,
796,
352,
38678,
11050,
366,
1941,
1,
22196,
34,
27564,
2043,
352
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
259,
644,
1748,
750,
279,
5151,
81,
705,
82,
938,
352,
301,
1295,
5461,
3051,
5633,
46506,
366,
4080,
1,
16034,
3084,
62,
18638,
62,
21,
1828,
33411,
366,
9150,
1,
796,
352,
38678,
11050,
366,
1941,
1,
22196,
34,
27564,
2043,
352
] |
When playing on grass who was the opponents in a year greater than 1993, and playing with Jonas Bj rkman? | SELECT opponents FROM table_name_10 WHERE surface = "grass" AND year > 1993 AND partner = "jonas björkman" | [
2215,
2712,
319,
8701,
508,
373,
262,
7691,
287,
257,
614,
3744,
621,
9656,
11,
290,
2712,
351,
40458,
34254,
374,
74,
805,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
940,
33411,
4417,
796,
366,
29815,
1,
5357,
614,
1875,
9656,
535... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2712,
319,
8701,
508,
373,
262,
7691,
287,
257,
614,
3744,
621,
9656,
11,
290,
2712,
351,
40458,
34254,
374,
74,
805,
30,
46506,
7691,
16034,
3084,
62,
3672,
62,
940,
33411,
4417,
796,
366,
29815,
1,
5357,
614,
1875,
9656,
535... |
Which County has a Precincts of 33/33? | SELECT "County" FROM table_59244 WHERE "Precincts" = '33/33' | [
13828,
3418,
468,
257,
28737,
4612,
82,
286,
4747,
14,
2091,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
3270,
25707,
33411,
366,
6719,
66,
4612,
82,
1,
796,
705,
2091,
14,
2091,
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
] | [
13828,
3418,
468,
257,
28737,
4612,
82,
286,
4747,
14,
2091,
30,
46506,
366,
12332,
88,
1,
16034,
3084,
62,
3270,
25707,
33411,
366,
6719,
66,
4612,
82,
1,
796,
705,
2091,
14,
2091,
6
] |
What is the average crowd size for games with hawthorn as the home side? | SELECT AVG("Crowd") FROM table_33524 WHERE "Home team" = 'hawthorn' | [
2061,
318,
262,
2811,
4315,
2546,
329,
1830,
351,
23185,
400,
1211,
355,
262,
1363,
1735,
30,
46506,
35224,
7203,
34,
3986,
4943,
16034,
3084,
62,
27326,
1731,
33411,
366,
16060,
1074,
1,
796,
705,
26615,
400,
1211,
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
] | [
2061,
318,
262,
2811,
4315,
2546,
329,
1830,
351,
23185,
400,
1211,
355,
262,
1363,
1735,
30,
46506,
35224,
7203,
34,
3986,
4943,
16034,
3084,
62,
27326,
1731,
33411,
366,
16060,
1074,
1,
796,
705,
26615,
400,
1211,
6
] |
Which Platelet count has a Partial thromboplastin time of prolonged or unaffected? | SELECT "Platelet count" FROM table_42608 WHERE "Partial thromboplastin time" = 'prolonged or unaffected' | [
13828,
23648,
1616,
954,
468,
257,
43689,
294,
398,
65,
404,
12957,
259,
640,
286,
20573,
393,
35290,
30,
46506,
366,
3646,
378,
1616,
954,
1,
16034,
3084,
62,
3682,
28688,
33411,
366,
7841,
498,
294,
398,
65,
404,
12957,
259,
640,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
23648,
1616,
954,
468,
257,
43689,
294,
398,
65,
404,
12957,
259,
640,
286,
20573,
393,
35290,
30,
46506,
366,
3646,
378,
1616,
954,
1,
16034,
3084,
62,
3682,
28688,
33411,
366,
7841,
498,
294,
398,
65,
404,
12957,
259,
640,
... |
What kind of paper were the stamps with the theme duck decoys, barrow's golden eye printed on? | SELECT paper_type FROM table_11900773_4 WHERE theme = "Duck Decoys, Barrow's Golden Eye" | [
2061,
1611,
286,
3348,
547,
262,
25560,
351,
262,
7505,
22045,
875,
19417,
11,
2318,
808,
338,
10861,
4151,
10398,
319,
30,
46506,
3348,
62,
4906,
16034,
3084,
62,
16315,
405,
46871,
62,
19,
33411,
7505,
796,
366,
35,
1347,
4280,
1941... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1611,
286,
3348,
547,
262,
25560,
351,
262,
7505,
22045,
875,
19417,
11,
2318,
808,
338,
10861,
4151,
10398,
319,
30,
46506,
3348,
62,
4906,
16034,
3084,
62,
16315,
405,
46871,
62,
19,
33411,
7505,
796,
366,
35,
1347,
4280,
1941... |
Who were the opponents during game 30? | SELECT "Opponent" FROM table_49125 WHERE "Game" = '30' | [
8241,
547,
262,
7691,
1141,
983,
1542,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2920,
11623,
33411,
366,
8777,
1,
796,
705,
1270,
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
] | [
8241,
547,
262,
7691,
1141,
983,
1542,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2920,
11623,
33411,
366,
8777,
1,
796,
705,
1270,
6
] |
On what date was Richmond hosted as the away team? | SELECT date FROM table_name_50 WHERE away_team = "richmond" | [
2202,
644,
3128,
373,
16940,
12007,
355,
262,
1497,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1120,
33411,
1497,
62,
15097,
796,
366,
7527,
6327,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2202,
644,
3128,
373,
16940,
12007,
355,
262,
1497,
1074,
30,
46506,
3128,
16034,
3084,
62,
3672,
62,
1120,
33411,
1497,
62,
15097,
796,
366,
7527,
6327,
1
] |
Which Torque Nm@rpm has a Power kW@rpm equal to 184 @ 2500 and a GVM (kg) Technical Capacity of 16000? | SELECT "Torque Nm@rpm" FROM table_54074 WHERE "Power kW@rpm" = '184 @ 2500' AND "GVM (kg) Technical Capacity" = '16000' | [
13828,
4022,
4188,
399,
76,
31,
48235,
468,
257,
4333,
50223,
31,
48235,
4961,
284,
28598,
2488,
33507,
290,
257,
402,
15996,
357,
10025,
8,
20671,
29765,
286,
1467,
830,
30,
46506,
366,
15884,
4188,
399,
76,
31,
48235,
1,
16034,
3084... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4022,
4188,
399,
76,
31,
48235,
468,
257,
4333,
50223,
31,
48235,
4961,
284,
28598,
2488,
33507,
290,
257,
402,
15996,
357,
10025,
8,
20671,
29765,
286,
1467,
830,
30,
46506,
366,
15884,
4188,
399,
76,
31,
48235,
1,
16034,
3084... |
Who is the second member for the Second Party Liberal, and the Third Party Conservative, after the 1841 election? | SELECT second_member FROM table_name_70 WHERE second_party = "liberal" AND third_party = "conservative" AND election > 1841 | [
8241,
318,
262,
1218,
2888,
329,
262,
5498,
3615,
12266,
11,
290,
262,
10467,
3615,
11132,
11,
706,
262,
1248,
3901,
3071,
30,
46506,
1218,
62,
19522,
16034,
3084,
62,
3672,
62,
2154,
33411,
1218,
62,
10608,
796,
366,
35739,
1,
5357,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8241,
318,
262,
1218,
2888,
329,
262,
5498,
3615,
12266,
11,
290,
262,
10467,
3615,
11132,
11,
706,
262,
1248,
3901,
3071,
30,
46506,
1218,
62,
19522,
16034,
3084,
62,
3672,
62,
2154,
33411,
1218,
62,
10608,
796,
366,
35739,
1,
5357,
... |
How many simplified names are there for xin county? | SELECT COUNT("Simplified") FROM table_4032 WHERE "English Name" = 'Xin County' | [
2437,
867,
27009,
3891,
389,
612,
329,
2124,
259,
7968,
30,
46506,
327,
28270,
7203,
8890,
489,
1431,
4943,
16034,
3084,
62,
1821,
2624,
33411,
366,
15823,
6530,
1,
796,
705,
55,
259,
3418,
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
] | [
2437,
867,
27009,
3891,
389,
612,
329,
2124,
259,
7968,
30,
46506,
327,
28270,
7203,
8890,
489,
1431,
4943,
16034,
3084,
62,
1821,
2624,
33411,
366,
15823,
6530,
1,
796,
705,
55,
259,
3418,
6
] |
What bridge is in Mcville? | SELECT name FROM table_name_69 WHERE location = "mcville" | [
2061,
7696,
318,
287,
1982,
4244,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3388,
33411,
4067,
796,
366,
23209,
4244,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
7696,
318,
287,
1982,
4244,
30,
46506,
1438,
16034,
3084,
62,
3672,
62,
3388,
33411,
4067,
796,
366,
23209,
4244,
1
] |
what is the number of formula one series races that cochet has been in ? | SELECT COUNT("series") FROM table_203_198 WHERE "series" = 'formula one' | [
10919,
318,
262,
1271,
286,
10451,
530,
2168,
9558,
326,
8954,
3202,
468,
587,
287,
5633,
46506,
327,
28270,
7203,
25076,
4943,
16034,
3084,
62,
22416,
62,
22337,
33411,
366,
25076,
1,
796,
705,
687,
4712,
530,
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,
318,
262,
1271,
286,
10451,
530,
2168,
9558,
326,
8954,
3202,
468,
587,
287,
5633,
46506,
327,
28270,
7203,
25076,
4943,
16034,
3084,
62,
22416,
62,
22337,
33411,
366,
25076,
1,
796,
705,
687,
4712,
530,
6
] |
how many different tv shows was gauri tejwani in before 2000 ? | SELECT COUNT("show") FROM table_203_485 WHERE "year" < 2000 | [
4919,
867,
1180,
31557,
2523,
373,
308,
35190,
573,
73,
86,
3216,
287,
878,
4751,
5633,
46506,
327,
28270,
7203,
12860,
4943,
16034,
3084,
62,
22416,
62,
32642,
33411,
366,
1941,
1,
1279,
4751
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1180,
31557,
2523,
373,
308,
35190,
573,
73,
86,
3216,
287,
878,
4751,
5633,
46506,
327,
28270,
7203,
12860,
4943,
16034,
3084,
62,
22416,
62,
32642,
33411,
366,
1941,
1,
1279,
4751
] |
What is the date of birth for the player from Ulster and plays at Centre position? | SELECT date_of_birth__age_ FROM table_name_26 WHERE club_province = "ulster" AND position = "centre" | [
2061,
318,
262,
3128,
286,
4082,
329,
262,
2137,
422,
50026,
290,
5341,
379,
9072,
2292,
30,
46506,
3128,
62,
1659,
62,
24280,
834,
496,
62,
16034,
3084,
62,
3672,
62,
2075,
33411,
3430,
62,
15234,
924,
796,
366,
377,
1706,
1,
5357,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
3128,
286,
4082,
329,
262,
2137,
422,
50026,
290,
5341,
379,
9072,
2292,
30,
46506,
3128,
62,
1659,
62,
24280,
834,
496,
62,
16034,
3084,
62,
3672,
62,
2075,
33411,
3430,
62,
15234,
924,
796,
366,
377,
1706,
1,
5357,... |
Which opponent had a 113-124 score? | SELECT "Opponent" FROM table_49218 WHERE "Score" = '113-124' | [
13828,
6125,
550,
257,
17318,
12,
17464,
4776,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2920,
28727,
33411,
366,
26595,
1,
796,
705,
16616,
12,
17464,
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,
6125,
550,
257,
17318,
12,
17464,
4776,
30,
46506,
366,
27524,
3471,
1,
16034,
3084,
62,
2920,
28727,
33411,
366,
26595,
1,
796,
705,
16616,
12,
17464,
6
] |
What is the college hall of fame of the player who plays fullback? | SELECT college_hall_of_fame FROM table_name_83 WHERE position = "fullback" | [
2061,
318,
262,
4152,
6899,
286,
16117,
286,
262,
2137,
508,
5341,
49570,
30,
46506,
4152,
62,
18323,
62,
1659,
62,
69,
480,
16034,
3084,
62,
3672,
62,
5999,
33411,
2292,
796,
366,
12853,
1891,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4152,
6899,
286,
16117,
286,
262,
2137,
508,
5341,
49570,
30,
46506,
4152,
62,
18323,
62,
1659,
62,
69,
480,
16034,
3084,
62,
3672,
62,
5999,
33411,
2292,
796,
366,
12853,
1891,
1
] |
What's the date of the new orleans team ? | SELECT "Date" FROM table_29890 WHERE "Team" = 'New Orleans' | [
2061,
338,
262,
3128,
286,
262,
649,
393,
11861,
1074,
5633,
46506,
366,
10430,
1,
16034,
3084,
62,
27728,
3829,
33411,
366,
15592,
1,
796,
705,
3791,
12255,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
338,
262,
3128,
286,
262,
649,
393,
11861,
1074,
5633,
46506,
366,
10430,
1,
16034,
3084,
62,
27728,
3829,
33411,
366,
15592,
1,
796,
705,
3791,
12255,
6
] |
Who held the same position in 2014 that Jarrah Rubinstein held in 2013? | SELECT "2014" FROM table_7282 WHERE "2013" = 'jarrah rubinstein' | [
8241,
2714,
262,
976,
2292,
287,
1946,
326,
15374,
11392,
6256,
11962,
2714,
287,
2211,
30,
46506,
366,
4967,
1,
16034,
3084,
62,
22,
32568,
33411,
366,
6390,
1,
796,
705,
9491,
11392,
6437,
11962,
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
] | [
8241,
2714,
262,
976,
2292,
287,
1946,
326,
15374,
11392,
6256,
11962,
2714,
287,
2211,
30,
46506,
366,
4967,
1,
16034,
3084,
62,
22,
32568,
33411,
366,
6390,
1,
796,
705,
9491,
11392,
6437,
11962,
6
] |
What is order S24's LNER 1946 number? | SELECT "LNER 1946 No." FROM table_74769 WHERE "Order No." = 's24' | [
2061,
318,
1502,
311,
1731,
338,
406,
21479,
22717,
1271,
30,
46506,
366,
43,
21479,
22717,
1400,
526,
16034,
3084,
62,
48882,
3388,
33411,
366,
18743,
1400,
526,
796,
705,
82,
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,
1,
1,
1,
1
] | [
2061,
318,
1502,
311,
1731,
338,
406,
21479,
22717,
1271,
30,
46506,
366,
43,
21479,
22717,
1400,
526,
16034,
3084,
62,
48882,
3388,
33411,
366,
18743,
1400,
526,
796,
705,
82,
1731,
6
] |
get the number of patients diagnosed with contact dermatitis and other eczema, unspecified cause who were hospitalized for more than 30 days. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "30" AND diagnoses.long_title = "Contact dermatitis and other eczema, unspecified cause" | [
1136,
262,
1271,
286,
3871,
14641,
351,
2800,
40363,
11815,
290,
584,
9940,
89,
19687,
11,
29547,
2728,
508,
547,
31736,
329,
517,
621,
1542,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
1136,
262,
1271,
286,
3871,
14641,
351,
2800,
40363,
11815,
290,
584,
9940,
89,
19687,
11,
29547,
2728,
508,
547,
31736,
329,
517,
621,
1542,
1528,
13,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
... |
What is the Mountain Pass with a 21 Rank? | SELECT "Mountain Pass" FROM table_74812 WHERE "Rank" = '21' | [
2061,
318,
262,
9638,
6251,
351,
257,
2310,
10916,
30,
46506,
366,
44,
18635,
6251,
1,
16034,
3084,
62,
48246,
1065,
33411,
366,
27520,
1,
796,
705,
2481,
6
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
318,
262,
9638,
6251,
351,
257,
2310,
10916,
30,
46506,
366,
44,
18635,
6251,
1,
16034,
3084,
62,
48246,
1065,
33411,
366,
27520,
1,
796,
705,
2481,
6
] |
I want the total number of points for against of 753 and points diff more than -114 | SELECT COUNT("Points") FROM table_52801 WHERE "Against" = '753' AND "Points Diff" > '-114' | [
40,
765,
262,
2472,
1271,
286,
2173,
329,
1028,
286,
767,
4310,
290,
2173,
814,
517,
621,
532,
16562,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
49351,
486,
33411,
366,
39276,
1,
796,
705,
44550,
6,
5357,
366,
40710,
10631... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
40,
765,
262,
2472,
1271,
286,
2173,
329,
1028,
286,
767,
4310,
290,
2173,
814,
517,
621,
532,
16562,
46506,
327,
28270,
7203,
40710,
4943,
16034,
3084,
62,
49351,
486,
33411,
366,
39276,
1,
796,
705,
44550,
6,
5357,
366,
40710,
10631... |
provide the number of patients whose drug code is mags1i and lab test fluid is ascites? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "MAGS1I" AND lab.fluid = "Ascites" | [
15234,
485,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
2153,
82,
16,
72,
290,
2248,
1332,
11711,
318,
10570,
2737,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | [
15234,
485,
262,
1271,
286,
3871,
3025,
2563,
2438,
318,
2153,
82,
16,
72,
290,
2248,
1332,
11711,
318,
10570,
2737,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
3268,
21479,
32357,
1268,... |
which three teams have been playing for the most seasons ? | SELECT "team" FROM table_204_506 WHERE "seasons" = (SELECT MAX("seasons") FROM table_204_506) | [
4758,
1115,
3466,
423,
587,
2712,
329,
262,
749,
7028,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
35638,
33411,
366,
325,
2812,
1,
796,
357,
46506,
25882,
7203,
325,
2812,
4943,
16034,
3084,
62,
18638,
62,
35638,
8
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
4758,
1115,
3466,
423,
587,
2712,
329,
262,
749,
7028,
5633,
46506,
366,
15097,
1,
16034,
3084,
62,
18638,
62,
35638,
33411,
366,
325,
2812,
1,
796,
357,
46506,
25882,
7203,
325,
2812,
4943,
16034,
3084,
62,
18638,
62,
35638,
8
] |
What was the record the the match against vs. calgary stampeders before week 15? | SELECT record FROM table_name_66 WHERE opponent = "vs. calgary stampeders" AND week < 15 | [
2061,
373,
262,
1700,
262,
262,
2872,
1028,
3691,
13,
2386,
14849,
28305,
364,
878,
1285,
1315,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2791,
33411,
6125,
796,
366,
14259,
13,
2386,
14849,
28305,
364,
1,
5357,
1285,
1279,
1315
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
373,
262,
1700,
262,
262,
2872,
1028,
3691,
13,
2386,
14849,
28305,
364,
878,
1285,
1315,
30,
46506,
1700,
16034,
3084,
62,
3672,
62,
2791,
33411,
6125,
796,
366,
14259,
13,
2386,
14849,
28305,
364,
1,
5357,
1285,
1279,
1315
] |
What are the notes for the rower in ranks over 2 and having a time of 7:00:46? | SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "7:00:46" | [
2061,
389,
262,
4710,
329,
262,
5752,
263,
287,
9803,
625,
362,
290,
1719,
257,
640,
286,
767,
25,
405,
25,
3510,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
2780,
33411,
4279,
1875,
362,
5357,
640,
796,
366,
22,
25,
405,
25,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
2061,
389,
262,
4710,
329,
262,
5752,
263,
287,
9803,
625,
362,
290,
1719,
257,
640,
286,
767,
25,
405,
25,
3510,
30,
46506,
4710,
16034,
3084,
62,
3672,
62,
2780,
33411,
4279,
1875,
362,
5357,
640,
796,
366,
22,
25,
405,
25,
3510... |
What was the timeslot for the episode in the year 2008? | SELECT timeslot FROM table_2639433_4 WHERE year = 2008 | [
2061,
373,
262,
1661,
26487,
329,
262,
4471,
287,
262,
614,
3648,
30,
46506,
1661,
26487,
16034,
3084,
62,
2075,
34626,
2091,
62,
19,
33411,
614,
796,
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
] | [
2061,
373,
262,
1661,
26487,
329,
262,
4471,
287,
262,
614,
3648,
30,
46506,
1661,
26487,
16034,
3084,
62,
2075,
34626,
2091,
62,
19,
33411,
614,
796,
3648
] |
What is the NBA Draft status of the person who went to college at LSU? | SELECT "NBA Draft" FROM table_54860 WHERE "College" = 'lsu' | [
2061,
318,
262,
7403,
13650,
3722,
286,
262,
1048,
508,
1816,
284,
4152,
379,
28078,
30,
46506,
366,
32470,
13650,
1,
16034,
3084,
62,
49934,
1899,
33411,
366,
38951,
1,
796,
705,
75,
2385,
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
] | [
2061,
318,
262,
7403,
13650,
3722,
286,
262,
1048,
508,
1816,
284,
4152,
379,
28078,
30,
46506,
366,
32470,
13650,
1,
16034,
3084,
62,
49934,
1899,
33411,
366,
38951,
1,
796,
705,
75,
2385,
6
] |
how many of the patients with hypoxia were aged below 51? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "HYPOXIA" AND demographic.age < "51" | [
4919,
867,
286,
262,
3871,
351,
5328,
1140,
544,
547,
9722,
2174,
6885,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
42598,
16402,
55,
3539,
1,
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
286,
262,
3871,
351,
5328,
1140,
544,
547,
9722,
2174,
6885,
30,
46506,
327,
28270,
7,
35,
8808,
1268,
4177,
16728,
13,
32796,
62,
312,
8,
16034,
16728,
33411,
16728,
13,
47356,
5958,
796,
366,
42598,
16402,
55,
3539,
1,
... |
How many floors have 207 w. hastings st. as the address? | SELECT COUNT(floors) FROM table_name_1 WHERE street_address = "207 w. hastings st." | [
2437,
867,
18570,
423,
27791,
266,
13,
19338,
654,
336,
13,
355,
262,
2209,
30,
46506,
327,
28270,
7,
48679,
669,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
4675,
62,
21975,
796,
366,
22745,
266,
13,
19338,
654,
336,
526
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
18570,
423,
27791,
266,
13,
19338,
654,
336,
13,
355,
262,
2209,
30,
46506,
327,
28270,
7,
48679,
669,
8,
16034,
3084,
62,
3672,
62,
16,
33411,
4675,
62,
21975,
796,
366,
22745,
266,
13,
19338,
654,
336,
526
] |
Which 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80? | SELECT MIN(2007) FROM table_name_91 WHERE 2004 = 78 AND 2006 < 80 | [
13828,
4343,
318,
262,
9016,
530,
326,
468,
257,
5472,
286,
8699,
11,
290,
257,
4793,
4833,
621,
4019,
30,
46506,
20625,
7,
12726,
8,
16034,
3084,
62,
3672,
62,
6420,
33411,
5472,
796,
8699,
5357,
4793,
1279,
4019
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
4343,
318,
262,
9016,
530,
326,
468,
257,
5472,
286,
8699,
11,
290,
257,
4793,
4833,
621,
4019,
30,
46506,
20625,
7,
12726,
8,
16034,
3084,
62,
3672,
62,
6420,
33411,
5472,
796,
8699,
5357,
4793,
1279,
4019
] |
List all headquarters and the number of companies in each headquarter with a bar chart, show Headquarters in descending order. | SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters ORDER BY Headquarters DESC | [
8053,
477,
10043,
290,
262,
1271,
286,
2706,
287,
1123,
1182,
24385,
351,
257,
2318,
8262,
11,
905,
32193,
287,
31491,
1502,
13,
46506,
32193,
11,
327,
28270,
7,
28104,
16034,
1664,
44441,
11050,
32193,
38678,
11050,
32193,
22196,
34
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | [
8053,
477,
10043,
290,
262,
1271,
286,
2706,
287,
1123,
1182,
24385,
351,
257,
2318,
8262,
11,
905,
32193,
287,
31491,
1502,
13,
46506,
32193,
11,
327,
28270,
7,
28104,
16034,
1664,
44441,
11050,
32193,
38678,
11050,
32193,
22196,
34
] |
For the Player from Brampton, ON what is their NBA Draft status? | SELECT "NBA Draft" FROM table_53975 WHERE "Hometown" = 'brampton, on' | [
1890,
262,
7853,
422,
35315,
10972,
11,
6177,
644,
318,
511,
7403,
13650,
3722,
30,
46506,
366,
32470,
13650,
1,
16034,
3084,
62,
20,
2670,
2425,
33411,
366,
39,
19191,
1,
796,
705,
65,
859,
10972,
11,
319,
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
] | [
1890,
262,
7853,
422,
35315,
10972,
11,
6177,
644,
318,
511,
7403,
13650,
3722,
30,
46506,
366,
32470,
13650,
1,
16034,
3084,
62,
20,
2670,
2425,
33411,
366,
39,
19191,
1,
796,
705,
65,
859,
10972,
11,
319,
6
] |
What is Score, when Game is greater than 78, and when Date is '4'? | SELECT "Score" FROM table_46905 WHERE "Game" > '78' AND "Date" = '4' | [
2061,
318,
15178,
11,
618,
3776,
318,
3744,
621,
8699,
11,
290,
618,
7536,
318,
705,
19,
30960,
46506,
366,
26595,
1,
16034,
3084,
62,
42947,
2713,
33411,
366,
8777,
1,
1875,
705,
3695,
6,
5357,
366,
10430,
1,
796,
705,
19,
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
] | [
2061,
318,
15178,
11,
618,
3776,
318,
3744,
621,
8699,
11,
290,
618,
7536,
318,
705,
19,
30960,
46506,
366,
26595,
1,
16034,
3084,
62,
42947,
2713,
33411,
366,
8777,
1,
1875,
705,
3695,
6,
5357,
366,
10430,
1,
796,
705,
19,
6
] |
How many vacancies happened on 25 May? | SELECT COUNT(manner_of_departure) FROM table_17327458_1 WHERE date_of_vacancy = "25 May" | [
2437,
867,
48639,
3022,
319,
1679,
1737,
30,
46506,
327,
28270,
7,
805,
1008,
62,
1659,
62,
10378,
433,
495,
8,
16034,
3084,
62,
25399,
1983,
29334,
62,
16,
33411,
3128,
62,
1659,
62,
85,
330,
3883,
796,
366,
1495,
1737,
1
] | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
48639,
3022,
319,
1679,
1737,
30,
46506,
327,
28270,
7,
805,
1008,
62,
1659,
62,
10378,
433,
495,
8,
16034,
3084,
62,
25399,
1983,
29334,
62,
16,
33411,
3128,
62,
1659,
62,
85,
330,
3883,
796,
366,
1495,
1737,
1
] |
What were the results of episodes with the first air date of March 6, 2008? | SELECT "Finish" FROM table_16536 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,
366,
48658,
1,
16034,
3084,
62,
20986,
2623,
33411,
366,
5962,
1633,
3128,
1,
796,
705,
16192,
718,
11,
3648,
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
] | [
2061,
547,
262,
2482,
286,
8640,
351,
262,
717,
1633,
3128,
286,
2805,
718,
11,
3648,
30,
46506,
366,
48658,
1,
16034,
3084,
62,
20986,
2623,
33411,
366,
5962,
1633,
3128,
1,
796,
705,
16192,
718,
11,
3648,
6
] |
when was the first time the respiration for patient 015-58787 was less than 29.0 today? | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-58787')) AND vitalperiodic.respiration < 29.0 A... | [
12518,
373,
262,
717,
640,
262,
1217,
15297,
329,
5827,
5534,
20,
12,
3365,
41019,
373,
1342,
621,
2808,
13,
15,
1909,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
717,
640,
262,
1217,
15297,
329,
5827,
5534,
20,
12,
3365,
41019,
373,
1342,
621,
2808,
13,
15,
1909,
30,
46506,
9204,
41007,
291,
13,
672,
3168,
341,
2435,
16034,
9204,
41007,
291,
33411,
9204,
41007,
291,
13,
26029,... |
When the area sq mi (km 2 ) (rank) is sqmi (km2) (5) what is the population (2010) (rank)? | SELECT population__2010___rank_ FROM table_14253123_1 WHERE area_sq_mi__km_2____rank_ = "sqmi (km2) (5)" | [
2215,
262,
1989,
19862,
21504,
357,
13276,
362,
1267,
357,
43027,
8,
318,
19862,
11632,
357,
13276,
17,
8,
357,
20,
8,
644,
318,
262,
3265,
357,
10333,
8,
357,
43027,
19427,
46506,
3265,
834,
10333,
17569,
43027,
62,
16034,
3084,
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... | [
2215,
262,
1989,
19862,
21504,
357,
13276,
362,
1267,
357,
43027,
8,
318,
19862,
11632,
357,
13276,
17,
8,
357,
20,
8,
644,
318,
262,
3265,
357,
10333,
8,
357,
43027,
19427,
46506,
3265,
834,
10333,
17569,
43027,
62,
16034,
3084,
62,
... |
Who was their Opponent on April 26? | SELECT opponent FROM table_name_62 WHERE date = "april 26" | [
8241,
373,
511,
9385,
3471,
319,
3035,
2608,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
5237,
33411,
3128,
796,
366,
499,
22379,
2608,
1
] | [
1,
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,
511,
9385,
3471,
319,
3035,
2608,
30,
46506,
6125,
16034,
3084,
62,
3672,
62,
5237,
33411,
3128,
796,
366,
499,
22379,
2608,
1
] |
what lane did inna nikitina have? | SELECT MAX("Lane") FROM table_80287 WHERE "Name" = 'inna nikitina' | [
10919,
11193,
750,
287,
2616,
299,
1134,
270,
1437,
423,
30,
46506,
25882,
7203,
43,
1531,
4943,
16034,
3084,
62,
1795,
27800,
33411,
366,
5376,
1,
796,
705,
259,
2616,
299,
1134,
270,
1437,
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
] | [
10919,
11193,
750,
287,
2616,
299,
1134,
270,
1437,
423,
30,
46506,
25882,
7203,
43,
1531,
4943,
16034,
3084,
62,
1795,
27800,
33411,
366,
5376,
1,
796,
705,
259,
2616,
299,
1134,
270,
1437,
6
] |
What's the sum of the number of episodes that originally aired after 1991 with a series number smaller than 21 and a DVD Region 2 release date of 26 march 2012? | SELECT SUM(number_of_episodes) FROM table_name_99 WHERE original_air_date > 1991 AND series_number < 21 AND dvd_region_2_release_date = "26 march 2012" | [
2061,
338,
262,
2160,
286,
262,
1271,
286,
8640,
326,
6198,
18530,
706,
10249,
351,
257,
2168,
1271,
4833,
621,
2310,
290,
257,
12490,
17718,
362,
2650,
3128,
286,
2608,
9960,
2321,
30,
46506,
35683,
7,
17618,
62,
1659,
62,
538,
8052,... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
2160,
286,
262,
1271,
286,
8640,
326,
6198,
18530,
706,
10249,
351,
257,
2168,
1271,
4833,
621,
2310,
290,
257,
12490,
17718,
362,
2650,
3128,
286,
2608,
9960,
2321,
30,
46506,
35683,
7,
17618,
62,
1659,
62,
538,
8052,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.