1 |
5.92 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
2 |
78.85 ms |
SELECT pt.acco_id, pt.product_id, bp.price as minPrice, pt.rule type, pt.nights nights
FROM `steiermark_vacancies`.price_template pt
INNER JOIN
`steiermark_vacancies`.price_template_base_prices bp
ON bp.price_template_id = pt.id
WHERE pt.acco_id IN (1969581,25413382,1979549,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,17804775,1967609,1972735,1979421,1977210,1963035,1965688,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1972617,1968062,1980341,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,1974902,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,17804792,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1980402,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1980321,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,1980873,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,42829790,1976935,1961578,1983516,50878032,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,15862624,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,29072957,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,2194254,1965827,1964588,1959784,15176970,29195233,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,4062930,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374)
AND pt.stdOccupancy BETWEEN bp.occupancyFrom AND bp.occupancyTo
AND price > 0 and (select active from `steiermark`.object_6 product where product.o_id = pt.product_id)
order by minPrice
SELECT
pt.acco_id,
pt.product_id,
bp.price as minPrice,
pt.rule type,
pt.nights nights
FROM
`steiermark_vacancies`.price_template pt
INNER JOIN `steiermark_vacancies`.price_template_base_prices bp ON bp.price_template_id = pt.id
WHERE
pt.acco_id IN (
1969581,
25413382,
1979549,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
17804775,
1967609,
1972735,
1979421,
1977210,
1963035,
1965688,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1972617,
1968062,
1980341,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
1974902,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
17804792,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1980402,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1980321,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
1980873,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
42829790,
1976935,
1961578,
1983516,
50878032,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
15862624,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
29072957,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
2194254,
1965827,
1964588,
1959784,
15176970,
29195233,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
4062930,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374
)
AND pt.stdOccupancy BETWEEN bp.occupancyFrom
AND bp.occupancyTo
AND price > 0
and (
select
active
from
`steiermark`.object_6 product
where
product.o_id = pt.product_id
)
order by
minPrice
SELECT pt.acco_id, pt.product_id, bp.price as minPrice, pt.rule type, pt.nights nights
FROM `steiermark_vacancies`.price_template pt
INNER JOIN
`steiermark_vacancies`.price_template_base_prices bp
ON bp.price_template_id = pt.id
WHERE pt.acco_id IN (1969581,25413382,1979549,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,17804775,1967609,1972735,1979421,1977210,1963035,1965688,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1972617,1968062,1980341,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,1974902,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,17804792,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1980402,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1980321,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,1980873,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,42829790,1976935,1961578,1983516,50878032,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,15862624,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,29072957,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,2194254,1965827,1964588,1959784,15176970,29195233,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,4062930,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374)
AND pt.stdOccupancy BETWEEN bp.occupancyFrom AND bp.occupancyTo
AND price > 0 and (select active from `steiermark`.object_6 product where product.o_id = pt.product_id)
order by minPrice
;
|
3 |
1446.63 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
4 |
0.15 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
5 |
15.97 ms |
SELECT dest_id, count(src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6815, 6813, 6825, 6809, 6831, 6806, 6839, 6807, 6814, 6838, 6817, 6816, 6832, 6827, 13756965)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id
SELECT dest_id, count(src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6815, 6813, 6825, 6809, 6831, 6806, 6839, 6807, 6814, 6838, 6817, 6816, 6832, 6827, 13756965)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id ;
|
6 |
0.10 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
7 |
1493.95 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
8 |
0.17 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
9 |
1.85 ms |
SELECT dest_id, count(src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12164, 12155, 12152, 12525, 12162, 12154, 5099244, 12157, 3238735, 12110, 12120, 12123, 12135, 12137, 12098, 12099, 12140, 12117, 12108, 12151, 12109, 12156, 12106, 12126, 12132, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112, 12134, 3552346)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id
SELECT
dest_id,
count(src_id) as accoCount
FROM
`steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (
12146, 12115, 12122, 12133, 12531, 12143,
12116, 12129, 12138, 12136, 12118,
12164, 12155, 12152, 12525, 12162,
12154, 5099244, 12157, 3238735, 12110,
12120, 12123, 12135, 12137, 12098,
12099, 12140, 12117, 12108, 12151,
12109, 12156, 12106, 12126, 12132,
12158, 12103, 12139, 3552349, 12114,
12111, 12160, 12112, 12134, 3552346
)
AND src_id IN (
select
id
from
`steiermark`.accoIdsTowns
)
group by
dest_id
SELECT dest_id, count(src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12164, 12155, 12152, 12525, 12162, 12154, 5099244, 12157, 3238735, 12110, 12120, 12123, 12135, 12137, 12098, 12099, 12140, 12117, 12108, 12151, 12109, 12156, 12106, 12126, 12132, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112, 12134, 3552346)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id ;
|
10 |
0.08 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
11 |
1536.69 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
12 |
0.16 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
13 |
0.06 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
14 |
1555.73 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
15 |
0.13 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
16 |
0.27 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6925)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6925)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
17 |
0.05 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
18 |
1457.33 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
19 |
0.19 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
20 |
0.65 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6898)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6898)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
21 |
0.06 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
22 |
1446.27 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
23 |
0.16 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
24 |
1.10 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6896)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6896)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
25 |
0.07 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
26 |
1453.37 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
27 |
0.14 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
28 |
0.28 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6853)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6853)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
29 |
0.06 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
30 |
1480.42 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
31 |
0.14 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
32 |
2.14 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9944)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9944)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
33 |
0.07 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
34 |
1469.79 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
35 |
0.17 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
36 |
0.43 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9939)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9939)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
37 |
0.07 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
38 |
1461.27 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
39 |
0.14 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
40 |
1.16 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9948)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9948)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
41 |
0.06 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
42 |
1458.35 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
43 |
0.15 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
44 |
0.34 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9943)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9943)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
45 |
0.06 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
46 |
1486.30 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
47 |
0.13 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
48 |
0.22 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6868)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6868)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
49 |
0.05 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
50 |
1486.91 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
51 |
0.16 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
52 |
0.57 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6859)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6859)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
53 |
0.06 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
54 |
1394.77 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
55 |
0.11 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
56 |
0.88 ms |
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6877)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
SELECT count(DISTINCT src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (6877)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
;
|
57 |
0.07 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
58 |
1420.14 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
59 |
0.18 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
60 |
11.24 ms |
SELECT dest_id, count(src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (8212, 7299, 8006, 7500, 7584, 7999)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id
SELECT dest_id, count(src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (8212, 7299, 8006, 7500, 7584, 7999)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id ;
|
61 |
0.08 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|
62 |
1438.95 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
1969581,
25413382,
1971387,
1966986,
1981496,
47158211,
1959573,
1970644,
39312810,
1978718,
41188273,
1968105,
1967609,
1972735,
1979421,
1977210,
1963035,
2486062,
1965803,
3190492,
7970607,
1966896,
1965052,
1973715,
17593669,
34024549,
1972698,
1973899,
1967192,
1966052,
1980584,
1980623,
1982263,
1968807,
1969193,
1966648,
1968062,
1971885,
1960869,
1970810,
1967010,
14659907,
1971852,
1974380,
1978863,
17275786,
1975571,
12253807,
1961503,
1979636,
1973390,
1973664,
13104309,
1970366,
1956234,
1960667,
49924348,
1965864,
1980811,
1978956,
14660255,
1981153,
43604597,
1981953,
1961040,
1963111,
1974078,
1983839,
1971898,
1981033,
1968072,
1969267,
1972286,
1965642,
1975018,
1958966,
1964612,
26342382,
1971267,
1969595,
1982238,
1969057,
1962754,
1977269,
26447592,
1957805,
1976167,
1966954,
1975076,
1964283,
1968001,
1972326,
1969318,
1979472,
1959914,
1977863,
1974719,
1981655,
1973113,
1983681,
7018201,
1973431,
25052280,
1984347,
44526349,
1967087,
1974528,
1984093,
1976775,
1980881,
1969008,
1961476,
1966219,
1981704,
1970512,
1981054,
1967229,
1982005,
1975511,
1970986,
1982404,
1973018,
1956154,
1975247,
1965992,
1973855,
1959616,
2082202,
1967131,
1969164,
27982954,
1968789,
1977360,
1970969,
1958857,
1978070,
1983752,
1972521,
1964399,
1976678,
1967866,
1972504,
1976072,
1981594,
9886077,
1974122,
1957466,
1972047,
1972098,
1960354,
1963049,
42830442,
1971221,
1969382,
1969075,
1973992,
1969608,
1976408,
1964182,
1966779,
1976587,
25681111,
1966404,
39685585,
42448818,
1964801,
1960995,
1966440,
1967445,
1960208,
1962766,
2679537,
1979290,
4063201,
1974414,
2679052,
45930227,
1961622,
1976710,
1971191,
1967144,
20847844,
1977652,
1968595,
1959487,
1962257,
1980474,
1965083,
1972642,
1978760,
1970266,
1974755,
1976977,
1974684,
1977743,
1969455,
1958820,
1981834,
41969421,
1971966,
15692025,
1969741,
1975755,
11281445,
1983110,
1964566,
1957311,
1976486,
1975205,
1959380,
1964721,
1962474,
2082137,
1965726,
1968982,
1978232,
1972169,
1975952,
1965631,
1964231,
1957403,
4063124,
1977077,
17469346,
1961516,
1976549,
1968180,
1976935,
1961578,
1983516,
1974283,
1971299,
1972350,
1982912,
1972399,
1983483,
1980918,
1970683,
7938552,
14600421,
1965236,
1968545,
1982334,
1976273,
1966865,
1971344,
1979347,
49585241,
1977491,
1964833,
44526346,
1968641,
1968049,
1968497,
1983002,
27700476,
30763608,
1983086,
1973199,
1970018,
1960316,
1970550,
1961528,
1965827,
1964588,
1959784,
15176970,
15201310,
1971834,
1964309,
43484376,
2676863,
1962416,
1964869,
1981615,
1979726,
1959004,
1981017,
1960488,
1958743,
17462725,
1984371,
1975478,
1969702,
1970828,
1983915,
1962451,
49681004,
1968484,
1972586,
1980389,
1976233,
1980553,
1979378,
1972880,
1967421,
1964207,
1974607,
1956116,
1972255,
1982812,
1960793,
1967217,
1973794,
1965841,
1964932,
1967514,
1976860,
1962811,
1974937,
19472755,
1976365,
1969409,
1961566,
28018930,
1979772,
1959845,
1960586,
1981922,
1982666,
1977942,
1970440,
20847987,
1968884,
1984126,
1974566,
17770044,
34961275,
1972784,
1978568,
1967244,
1978012,
1970788,
22204981,
1968121,
1978670,
1975374,
1979549,
17804775,
1965688,
1972617,
1980341,
1974902,
17804792,
1980402,
1980321,
1980873,
42829790,
50878032,
15862624,
29072957,
2194254,
29195233,
4062930
)
AND dacco.o_published = 1
AND (
dacco.town__id IN (
3239518, 12146, 12115, 12122, 12133,
12531, 12143, 12116, 12129, 12138,
12136, 12118, 12163, 12164, 12155,
12152, 12525, 3552351, 12162, 12154,
5099244, 3552346, 3190431, 12157,
3552350, 3238735, 12110, 3552345,
3552348, 3552347, 12120, 12123, 12135,
12137, 12140, 12099, 12098, 12117,
12108, 12151, 12134, 12109, 12156,
12106, 12126, 12132, 3190432, 12158,
12103, 12139, 3552349, 12114, 12111,
12160, 12112
)
)
GROUP BY
dacco.oo_id
ORDER BY
RAND(3)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (1969581,25413382,1971387,1966986,1981496,47158211,1959573,1970644,39312810,1978718,41188273,1968105,1967609,1972735,1979421,1977210,1963035,2486062,1965803,3190492,7970607,1966896,1965052,1973715,17593669,34024549,1972698,1973899,1967192,1966052,1980584,1980623,1982263,1968807,1969193,1966648,1968062,1971885,1960869,1970810,1967010,14659907,1971852,1974380,1978863,17275786,1975571,12253807,1961503,1979636,1973390,1973664,13104309,1970366,1956234,1960667,49924348,1965864,1980811,1978956,14660255,1981153,43604597,1981953,1961040,1963111,1974078,1983839,1971898,1981033,1968072,1969267,1972286,1965642,1975018,1958966,1964612,26342382,1971267,1969595,1982238,1969057,1962754,1977269,26447592,1957805,1976167,1966954,1975076,1964283,1968001,1972326,1969318,1979472,1959914,1977863,1974719,1981655,1973113,1983681,7018201,1973431,25052280,1984347,44526349,1967087,1974528,1984093,1976775,1980881,1969008,1961476,1966219,1981704,1970512,1981054,1967229,1982005,1975511,1970986,1982404,1973018,1956154,1975247,1965992,1973855,1959616,2082202,1967131,1969164,27982954,1968789,1977360,1970969,1958857,1978070,1983752,1972521,1964399,1976678,1967866,1972504,1976072,1981594,9886077,1974122,1957466,1972047,1972098,1960354,1963049,42830442,1971221,1969382,1969075,1973992,1969608,1976408,1964182,1966779,1976587,25681111,1966404,39685585,42448818,1964801,1960995,1966440,1967445,1960208,1962766,2679537,1979290,4063201,1974414,2679052,45930227,1961622,1976710,1971191,1967144,20847844,1977652,1968595,1959487,1962257,1980474,1965083,1972642,1978760,1970266,1974755,1976977,1974684,1977743,1969455,1958820,1981834,41969421,1971966,15692025,1969741,1975755,11281445,1983110,1964566,1957311,1976486,1975205,1959380,1964721,1962474,2082137,1965726,1968982,1978232,1972169,1975952,1965631,1964231,1957403,4063124,1977077,17469346,1961516,1976549,1968180,1976935,1961578,1983516,1974283,1971299,1972350,1982912,1972399,1983483,1980918,1970683,7938552,14600421,1965236,1968545,1982334,1976273,1966865,1971344,1979347,49585241,1977491,1964833,44526346,1968641,1968049,1968497,1983002,27700476,30763608,1983086,1973199,1970018,1960316,1970550,1961528,1965827,1964588,1959784,15176970,15201310,1971834,1964309,43484376,2676863,1962416,1964869,1981615,1979726,1959004,1981017,1960488,1958743,17462725,1984371,1975478,1969702,1970828,1983915,1962451,49681004,1968484,1972586,1980389,1976233,1980553,1979378,1972880,1967421,1964207,1974607,1956116,1972255,1982812,1960793,1967217,1973794,1965841,1964932,1967514,1976860,1962811,1974937,19472755,1976365,1969409,1961566,28018930,1979772,1959845,1960586,1981922,1982666,1977942,1970440,20847987,1968884,1984126,1974566,17770044,34961275,1972784,1978568,1967244,1978012,1970788,22204981,1968121,1978670,1975374,1979549,17804775,1965688,1972617,1980341,1974902,17804792,1980402,1980321,1980873,42829790,50878032,15862624,29072957,2194254,29195233,4062930) AND dacco.o_published = 1 AND (dacco.town__id IN (3239518, 12146, 12115, 12122, 12133, 12531, 12143, 12116, 12129, 12138, 12136, 12118, 12163, 12164, 12155, 12152, 12525, 3552351, 12162, 12154, 5099244, 3552346, 3190431, 12157, 3552350, 3238735, 12110, 3552345, 3552348, 3552347, 12120, 12123, 12135, 12137, 12140, 12099, 12098, 12117, 12108, 12151, 12134, 12109, 12156, 12106, 12126, 12132, 3190432, 12158, 12103, 12139, 3552349, 12114, 12111, 12160, 12112)) GROUP BY dacco.oo_id ORDER BY RAND(3) ;
|
63 |
0.19 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1970512),
(1974380),
(2082137),
(1972880),
(1967144),
(15862624),
(1965992),
(1959573),
(1972098),
(1972521),
(1983681),
(1964399),
(1968807),
(43604597),
(1968641),
(1974566),
(1984371),
(1979636),
(1964182),
(1966404),
(1979772),
(1966648),
(1980389),
(1974283),
(1967244),
(1965688),
(1975374),
(1983915),
(1981922),
(1975018),
(1976273),
(1968105),
(1967087),
(2679052),
(2679537),
(17804792),
(1970266),
(1970366),
(1966954),
(1974528),
(1969164),
(2676863),
(1973199),
(1960869),
(1970644),
(1967421),
(1974719),
(1973113),
(1976587),
(1982666),
(1961476),
(1978070),
(1970788),
(1961566),
(1975571),
(1976167),
(1975247),
(1977210),
(1968049),
(1971885),
(1956234),
(1960667),
(1981054),
(1965864),
(3190492),
(1983752),
(1980474),
(14600421),
(1974902),
(17593669),
(1961516),
(44526346),
(1964231),
(1976408),
(30763608),
(1973390),
(12253807),
(1969193),
(1971267),
(1973855),
(1966219),
(1977360),
(1958966),
(1964869),
(1984093),
(1972286),
(1970550),
(17804775),
(1971191),
(1963035),
(1979726),
(47158211),
(1957805),
(1978718),
(1967131),
(1977491),
(1964588),
(1969057),
(1973899),
(1970440),
(49585241),
(1959914),
(1982334),
(1976977),
(17275786),
(1975952),
(29072957),
(1968982),
(1976233),
(1980873),
(45930227),
(1974937),
(1967192),
(1976710),
(39312810),
(1981496),
(4063124),
(1969608),
(1961528),
(1966779),
(17462725),
(1971966),
(13104309),
(1968180),
(17770044),
(1978012),
(1972698),
(20847844),
(1974684),
(1956154),
(1977743),
(1967010),
(1975511),
(1959616),
(49924348),
(1967445),
(1971221),
(1972504),
(1969455),
(1981953),
(1972642),
(1958857),
(1983086),
(29195233),
(1975076),
(1964721),
(1979472),
(2194254),
(1968789),
(1974122),
(1978670),
(14660255),
(41969421),
(1976486),
(1957466),
(1973664),
(1973715),
(1960354),
(1964207),
(1964566),
(1972255),
(1970969),
(2486062),
(1970828),
(1976365),
(1971387),
(1979290),
(1964283),
(1968072),
(1979421),
(1980881),
(1966865),
(1974755),
(1981017),
(1965052),
(1961503),
(1966896),
(1968545),
(1960208),
(1963049),
(1980341),
(1967217),
(1975755),
(1976678),
(1980321),
(1962754),
(1962811),
(1981153),
(1972735),
(1967514),
(4062930),
(1980623),
(1982238),
(1969741),
(1959487),
(1962416),
(7938552),
(1965726),
(1967866),
(1982404),
(1971852),
(1977077),
(1981655),
(1976935),
(1982263),
(1971344),
(1958820),
(20847987),
(1980918),
(1973431),
(1980584),
(1971834),
(1978232),
(42448818),
(27700476),
(1964801),
(1957311),
(1979347),
(1977652),
(1959380),
(1964932),
(1962474),
(49681004),
(1966440),
(1969595),
(1983110),
(1967609),
(1978568),
(1966052),
(1965083),
(1957403),
(1980402),
(1979549),
(43484376),
(1961578),
(1979378),
(1969267),
(7018201),
(1981615),
(1962257),
(28018930),
(34024549),
(1976549),
(1972326),
(1973992),
(25681111),
(1974078),
(27982954),
(9886077),
(1972169),
(1983839),
(1961040),
(1965803),
(1969702),
(19472755),
(42829790),
(1978863),
(1967229),
(1972784),
(1984347),
(1981033),
(1982005),
(1965236),
(42830442),
(1970018),
(44526349),
(1969075),
(1969318),
(26342382),
(1968062),
(14659907),
(26447592),
(1976072),
(1983002),
(1960316),
(1972047),
(1960995),
(1972350),
(1965827),
(1964833),
(1959784),
(1980553),
(1974414),
(1969008),
(1973018),
(1964612),
(17469346),
(1971299),
(1962766),
(1965631),
(15176970),
(1982812),
(1959004),
(11281445),
(1960488),
(1958743),
(1969382),
(41188273),
(1977942),
(1982912),
(1972617),
(34961275),
(1962451),
(1984126),
(1968884),
(1975205),
(2082202),
(1978760),
(7970607),
(1970683),
(15201310),
(1974607),
(1968497),
(1964309),
(1976860),
(1956116),
(1973794),
(25413382),
(1960793),
(1968121),
(1975478),
(1965841),
(1965642),
(1968595),
(1981594),
(1963111),
(1977269),
(4063201),
(1978956),
(1970986),
(1961622),
(1966986),
(15692025),
(1959845),
(1960586),
(22204981),
(25052280),
(1981704),
(1971898),
(1972399),
(1969581),
(39685585),
(1976775),
(1970810),
(50878032),
(1968001),
(1983483),
(1968484),
(1981834),
(1972586),
(1980811),
(1969409),
(1983516),
(1977863)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1970512),(1974380),(2082137),(1972880),(1967144),(15862624),(1965992),(1959573),(1972098),(1972521),(1983681),(1964399),(1968807),(43604597),(1968641),(1974566),(1984371),(1979636),(1964182),(1966404),(1979772),(1966648),(1980389),(1974283),(1967244),(1965688),(1975374),(1983915),(1981922),(1975018),(1976273),(1968105),(1967087),(2679052),(2679537),(17804792),(1970266),(1970366),(1966954),(1974528),(1969164),(2676863),(1973199),(1960869),(1970644),(1967421),(1974719),(1973113),(1976587),(1982666),(1961476),(1978070),(1970788),(1961566),(1975571),(1976167),(1975247),(1977210),(1968049),(1971885),(1956234),(1960667),(1981054),(1965864),(3190492),(1983752),(1980474),(14600421),(1974902),(17593669),(1961516),(44526346),(1964231),(1976408),(30763608),(1973390),(12253807),(1969193),(1971267),(1973855),(1966219),(1977360),(1958966),(1964869),(1984093),(1972286),(1970550),(17804775),(1971191),(1963035),(1979726),(47158211),(1957805),(1978718),(1967131),(1977491),(1964588),(1969057),(1973899),(1970440),(49585241),(1959914),(1982334),(1976977),(17275786),(1975952),(29072957),(1968982),(1976233),(1980873),(45930227),(1974937),(1967192),(1976710),(39312810),(1981496),(4063124),(1969608),(1961528),(1966779),(17462725),(1971966),(13104309),(1968180),(17770044),(1978012),(1972698),(20847844),(1974684),(1956154),(1977743),(1967010),(1975511),(1959616),(49924348),(1967445),(1971221),(1972504),(1969455),(1981953),(1972642),(1958857),(1983086),(29195233),(1975076),(1964721),(1979472),(2194254),(1968789),(1974122),(1978670),(14660255),(41969421),(1976486),(1957466),(1973664),(1973715),(1960354),(1964207),(1964566),(1972255),(1970969),(2486062),(1970828),(1976365),(1971387),(1979290),(1964283),(1968072),(1979421),(1980881),(1966865),(1974755),(1981017),(1965052),(1961503),(1966896),(1968545),(1960208),(1963049),(1980341),(1967217),(1975755),(1976678),(1980321),(1962754),(1962811),(1981153),(1972735),(1967514),(4062930),(1980623),(1982238),(1969741),(1959487),(1962416),(7938552),(1965726),(1967866),(1982404),(1971852),(1977077),(1981655),(1976935),(1982263),(1971344),(1958820),(20847987),(1980918),(1973431),(1980584),(1971834),(1978232),(42448818),(27700476),(1964801),(1957311),(1979347),(1977652),(1959380),(1964932),(1962474),(49681004),(1966440),(1969595),(1983110),(1967609),(1978568),(1966052),(1965083),(1957403),(1980402),(1979549),(43484376),(1961578),(1979378),(1969267),(7018201),(1981615),(1962257),(28018930),(34024549),(1976549),(1972326),(1973992),(25681111),(1974078),(27982954),(9886077),(1972169),(1983839),(1961040),(1965803),(1969702),(19472755),(42829790),(1978863),(1967229),(1972784),(1984347),(1981033),(1982005),(1965236),(42830442),(1970018),(44526349),(1969075),(1969318),(26342382),(1968062),(14659907),(26447592),(1976072),(1983002),(1960316),(1972047),(1960995),(1972350),(1965827),(1964833),(1959784),(1980553),(1974414),(1969008),(1973018),(1964612),(17469346),(1971299),(1962766),(1965631),(15176970),(1982812),(1959004),(11281445),(1960488),(1958743),(1969382),(41188273),(1977942),(1982912),(1972617),(34961275),(1962451),(1984126),(1968884),(1975205),(2082202),(1978760),(7970607),(1970683),(15201310),(1974607),(1968497),(1964309),(1976860),(1956116),(1973794),(25413382),(1960793),(1968121),(1975478),(1965841),(1965642),(1968595),(1981594),(1963111),(1977269),(4063201),(1978956),(1970986),(1961622),(1966986),(15692025),(1959845),(1960586),(22204981),(25052280),(1981704),(1971898),(1972399),(1969581),(39685585),(1976775),(1970810),(50878032),(1968001),(1983483),(1968484),(1981834),(1972586),(1980811),(1969409),(1983516),(1977863);
|
64 |
3.15 ms |
SELECT dest_id, count(src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9804, 9751, 9610, 9616, 9618, 9707, 9683)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id
SELECT dest_id, count(src_id) as accoCount
FROM `steiermark`.object_relations_8 daccorel
WHERE
dest_id IN (9804, 9751, 9610, 9616, 9618, 9707, 9683)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id ;
|
65 |
0.10 ms |
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;
DROP TABLE IF EXISTS `steiermark`.accoIdsTowns; DROP TABLE IF EXISTS `steiermark`.productIdsTowns;;
|