1 |
4.97 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(456)
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(456)
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(456) ;
|
2 |
74.19 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 (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1980341,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,15862624,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,29195233,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,17804775,25052280,39685585,1972098,25413382,1967010,1966954,45930227,1980321,22204981,1978863,2194254,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1972617,1965688,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,50878032,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,29072957,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,42829790,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1979549,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1980402,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1980873,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,17804792,1981153,1958743,43604597,1969057,1981496,1974902,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,4062930,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431)
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 (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1980341,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
15862624,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
29195233,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
17804775,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
1980321,
22204981,
1978863,
2194254,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1972617,
1965688,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
50878032,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
29072957,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
42829790,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1979549,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1980402,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1980873,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
17804792,
1981153,
1958743,
43604597,
1969057,
1981496,
1974902,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
4062930,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431
)
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 (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1980341,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,15862624,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,29195233,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,17804775,25052280,39685585,1972098,25413382,1967010,1966954,45930227,1980321,22204981,1978863,2194254,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1972617,1965688,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,50878032,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,29072957,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,42829790,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1979549,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1980402,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1980873,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,17804792,1981153,1958743,43604597,1969057,1981496,1974902,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,4062930,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431)
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 |
1729.24 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
4 |
0.19 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
5 |
16.58 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)
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)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id ;
|
6 |
0.13 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 |
1604.12 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
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 (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
9 |
1.89 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)
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
)
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)
AND
src_id IN
(select id from `steiermark`.accoIdsTowns)
group by dest_id ;
|
10 |
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;;
|
11 |
1649.64 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
12 |
0.27 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
13 |
0.09 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 |
2012.10 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
15 |
0.15 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
16 |
13.42 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 ;
|
17 |
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;;
|
18 |
2150.60 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
19 |
0.18 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
20 |
0.39 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)
;
|
21 |
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;;
|
22 |
2025.86 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
23 |
0.17 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
24 |
0.66 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)
;
|
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 |
1931.78 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
27 |
0.17 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
28 |
1.21 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)
;
|
29 |
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;;
|
30 |
1535.55 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
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 (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
32 |
0.27 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)
;
|
33 |
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;;
|
34 |
1528.25 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
35 |
0.20 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
36 |
2.41 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)
;
|
37 |
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;;
|
38 |
1452.20 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
39 |
0.17 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
40 |
0.41 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)
;
|
41 |
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;;
|
42 |
1533.17 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
43 |
0.11 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
44 |
1.12 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)
;
|
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 |
1458.57 ms |
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456)
SELECT
dacco.isTop,
dacco.bookable,
dacco.oo_id oo_id
FROM
`steiermark`.object_8 dacco
WHERE
dacco.oo_id IN (
2679537,
1964231,
1961622,
1980918,
1964283,
1974078,
1978568,
12253807,
9886077,
1970969,
1967421,
1958966,
1968072,
1984347,
1975478,
1976860,
1956234,
1971898,
1971299,
1968497,
1958857,
1965827,
1977652,
19472755,
1970683,
1969382,
1962257,
28018930,
1969193,
27982954,
1975374,
1976678,
1960793,
30763608,
41969421,
1967244,
42830442,
1973113,
1958820,
17593669,
1972169,
1961566,
1968545,
1959487,
1964932,
1964207,
2082137,
17275786,
2679052,
1970828,
1966219,
1971852,
1972698,
7018201,
1981704,
1972504,
14600421,
1972286,
1980811,
1960995,
1964588,
1977360,
1971966,
1972521,
1959573,
1968062,
1968807,
1960488,
34961275,
1968484,
25052280,
39685585,
1972098,
25413382,
1967010,
1966954,
45930227,
22204981,
1978863,
1959784,
15201310,
1964801,
1975076,
1975952,
1973855,
1962766,
1956116,
11281445,
1974607,
1969702,
1983839,
1976233,
1983681,
1979636,
1963111,
1970512,
1968105,
1980881,
1982005,
1975205,
20847844,
1973794,
1978956,
1984371,
1963049,
2082202,
1976935,
1964833,
1965236,
1962451,
25681111,
1981054,
26342382,
1969595,
1983002,
1981922,
1960354,
1965841,
1966779,
49681004,
1971267,
1980553,
1967866,
1964182,
14659907,
1976486,
1977077,
1977942,
1983915,
7938552,
1957311,
15692025,
1965803,
17462725,
1967217,
1963035,
1976072,
1962474,
1964612,
42448818,
1979472,
1970550,
1967514,
1966404,
1959845,
1979772,
1974719,
1970018,
1976977,
1972586,
1967229,
1961040,
1964566,
1970644,
41188273,
1967131,
1957466,
1984126,
1983483,
1979378,
1978760,
1976167,
1968789,
1967087,
17770044,
44526349,
1977491,
1969075,
1965083,
1965864,
1967609,
1983516,
1982238,
1959616,
1969608,
39312810,
1972350,
1977269,
1970788,
2486062,
1960869,
4063201,
1961528,
49924348,
1971191,
1979726,
1969008,
3190492,
1981834,
1983752,
1978012,
1965992,
15176970,
1980474,
1972326,
1964869,
1975018,
43484376,
1981033,
1974937,
27700476,
1970440,
1962811,
1966986,
1981953,
1968049,
1968180,
1978070,
1965726,
1983110,
1968001,
1972784,
1957805,
1973390,
1959914,
1971834,
1976587,
1969164,
1961578,
47158211,
1968884,
1980389,
1981615,
1971344,
1971885,
1976273,
1979290,
1980623,
26447592,
1978718,
1964721,
1970266,
17469346,
1962416,
1981655,
1972880,
1970986,
1976408,
1984093,
1972047,
1964399,
1972255,
1977210,
1971387,
1964309,
1978670,
1982812,
1973715,
1976365,
1979347,
1975571,
1973992,
2676863,
1976549,
1970810,
1974122,
1977863,
1979421,
1965052,
1978232,
1974566,
1980584,
1975247,
1973199,
34024549,
1977743,
1965631,
1972642,
1966052,
44526346,
1969409,
1959380,
1981153,
1958743,
43604597,
1969057,
1981496,
1966896,
1973664,
1974684,
1969318,
1974283,
1962754,
1974755,
1960316,
1966440,
1968595,
1961476,
1982404,
14660255,
1969741,
1974380,
1967192,
1974528,
1960586,
1975755,
1967445,
1974414,
1961503,
1971221,
1982263,
1973018,
1972735,
13104309,
1982912,
1982334,
4063124,
1967144,
1981017,
1966648,
1968982,
1983086,
1965642,
1976710,
7970607,
1973899,
1956154,
20847987,
1957403,
1970366,
1968641,
1982666,
1960667,
1968121,
1969267,
1972399,
1969581,
1961516,
1976775,
1969455,
1960208,
1975511,
49585241,
1959004,
1966865,
1981594,
1973431,
1980341,
15862624,
29195233,
17804775,
1980321,
2194254,
1972617,
1965688,
50878032,
29072957,
42829790,
1979549,
1980402,
1980873,
17804792,
1974902,
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(456)
SELECT dacco.isTop, dacco.bookable, dacco.oo_id oo_id FROM `steiermark`.object_8 dacco WHERE dacco.oo_id IN (2679537,1964231,1961622,1980918,1964283,1974078,1978568,12253807,9886077,1970969,1967421,1958966,1968072,1984347,1975478,1976860,1956234,1971898,1971299,1968497,1958857,1965827,1977652,19472755,1970683,1969382,1962257,28018930,1969193,27982954,1975374,1976678,1960793,30763608,41969421,1967244,42830442,1973113,1958820,17593669,1972169,1961566,1968545,1959487,1964932,1964207,2082137,17275786,2679052,1970828,1966219,1971852,1972698,7018201,1981704,1972504,14600421,1972286,1980811,1960995,1964588,1977360,1971966,1972521,1959573,1968062,1968807,1960488,34961275,1968484,25052280,39685585,1972098,25413382,1967010,1966954,45930227,22204981,1978863,1959784,15201310,1964801,1975076,1975952,1973855,1962766,1956116,11281445,1974607,1969702,1983839,1976233,1983681,1979636,1963111,1970512,1968105,1980881,1982005,1975205,20847844,1973794,1978956,1984371,1963049,2082202,1976935,1964833,1965236,1962451,25681111,1981054,26342382,1969595,1983002,1981922,1960354,1965841,1966779,49681004,1971267,1980553,1967866,1964182,14659907,1976486,1977077,1977942,1983915,7938552,1957311,15692025,1965803,17462725,1967217,1963035,1976072,1962474,1964612,42448818,1979472,1970550,1967514,1966404,1959845,1979772,1974719,1970018,1976977,1972586,1967229,1961040,1964566,1970644,41188273,1967131,1957466,1984126,1983483,1979378,1978760,1976167,1968789,1967087,17770044,44526349,1977491,1969075,1965083,1965864,1967609,1983516,1982238,1959616,1969608,39312810,1972350,1977269,1970788,2486062,1960869,4063201,1961528,49924348,1971191,1979726,1969008,3190492,1981834,1983752,1978012,1965992,15176970,1980474,1972326,1964869,1975018,43484376,1981033,1974937,27700476,1970440,1962811,1966986,1981953,1968049,1968180,1978070,1965726,1983110,1968001,1972784,1957805,1973390,1959914,1971834,1976587,1969164,1961578,47158211,1968884,1980389,1981615,1971344,1971885,1976273,1979290,1980623,26447592,1978718,1964721,1970266,17469346,1962416,1981655,1972880,1970986,1976408,1984093,1972047,1964399,1972255,1977210,1971387,1964309,1978670,1982812,1973715,1976365,1979347,1975571,1973992,2676863,1976549,1970810,1974122,1977863,1979421,1965052,1978232,1974566,1980584,1975247,1973199,34024549,1977743,1965631,1972642,1966052,44526346,1969409,1959380,1981153,1958743,43604597,1969057,1981496,1966896,1973664,1974684,1969318,1974283,1962754,1974755,1960316,1966440,1968595,1961476,1982404,14660255,1969741,1974380,1967192,1974528,1960586,1975755,1967445,1974414,1961503,1971221,1982263,1973018,1972735,13104309,1982912,1982334,4063124,1967144,1981017,1966648,1968982,1983086,1965642,1976710,7970607,1973899,1956154,20847987,1957403,1970366,1968641,1982666,1960667,1968121,1969267,1972399,1969581,1961516,1976775,1969455,1960208,1975511,49585241,1959004,1966865,1981594,1973431,1980341,15862624,29195233,17804775,1980321,2194254,1972617,1965688,50878032,29072957,42829790,1979549,1980402,1980873,17804792,1974902,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(456) ;
|
47 |
0.17 ms |
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
) engine = memory; insert into `steiermark`.accoIdsTowns (id)
values
(1980341),
(1965083),
(1962811),
(9886077),
(1964588),
(1976408),
(1983483),
(1970788),
(41969421),
(1972642),
(1968497),
(1958966),
(1969193),
(45930227),
(1977942),
(1981594),
(1956234),
(1973390),
(1972326),
(1969318),
(1958857),
(1965827),
(1982238),
(4063201),
(1972169),
(1970969),
(1962416),
(1966986),
(1970366),
(1972504),
(2676863),
(1977863),
(1979472),
(1960793),
(14659907),
(1980918),
(1968484),
(1964566),
(1975952),
(42829790),
(1958820),
(1983915),
(1967609),
(1961622),
(1969702),
(1959487),
(1965642),
(1964309),
(49681004),
(1961476),
(1980321),
(1972617),
(1966779),
(1973113),
(1975018),
(1968982),
(17462725),
(1974122),
(1961040),
(1973855),
(1974414),
(3190492),
(1961503),
(1964833),
(1981953),
(1973431),
(1975076),
(1959573),
(1969164),
(1970266),
(1960488),
(50878032),
(1968884),
(43604597),
(1980873),
(1974755),
(1973715),
(1974380),
(1967421),
(1967131),
(1962754),
(2486062),
(1980811),
(1982666),
(1972350),
(1959784),
(1969008),
(1965052),
(1977491),
(1978568),
(1975511),
(1963049),
(1956116),
(42448818),
(1976860),
(1982912),
(30763608),
(1978760),
(29072957),
(1975571),
(1964231),
(1971966),
(1968807),
(4063124),
(17770044),
(1974528),
(1966404),
(1977652),
(1980623),
(1975478),
(1983752),
(41188273),
(1964207),
(49924348),
(1981615),
(1965236),
(1965803),
(1962451),
(1980881),
(13104309),
(1984093),
(1970550),
(26342382),
(22204981),
(1960354),
(1965841),
(1968072),
(1984126),
(1972286),
(7970607),
(1968789),
(1964283),
(1974719),
(1979347),
(1979549),
(1981704),
(34961275),
(1983839),
(1957311),
(1980584),
(1966648),
(34024549),
(1969382),
(1968121),
(1964182),
(1978670),
(1962474),
(1964869),
(1981017),
(49585241),
(1972047),
(1968595),
(1966865),
(1959845),
(15692025),
(1976977),
(1983002),
(1981655),
(1975205),
(1968180),
(1961516),
(1964801),
(1972098),
(1964399),
(44526349),
(1967445),
(1957466),
(39685585),
(27982954),
(15201310),
(1982404),
(1978718),
(1969455),
(1967192),
(1970810),
(1974937),
(1982005),
(1970828),
(1965726),
(1965864),
(1968641),
(28018930),
(17804775),
(1959616),
(1971387),
(1972521),
(1973992),
(1979726),
(1972586),
(1979772),
(7018201),
(1960869),
(1975755),
(1960995),
(1981054),
(1972735),
(1982812),
(1969608),
(1980389),
(20847987),
(29195233),
(1981834),
(2082137),
(1967010),
(1980553),
(7938552),
(1973899),
(1965631),
(1977360),
(17469346),
(12253807),
(1977269),
(1968062),
(1971898),
(1963111),
(1967144),
(17593669),
(1969075),
(1969267),
(1983086),
(2194254),
(1966440),
(27700476),
(1969057),
(1968001),
(1957805),
(1976167),
(1959914),
(1973018),
(1979421),
(1971221),
(1962257),
(1965992),
(1969581),
(2082202),
(15176970),
(1972784),
(1973199),
(1978863),
(1967217),
(2679537),
(47158211),
(1983681),
(1964932),
(1971852),
(43484376),
(1962766),
(17275786),
(1974607),
(1972698),
(1979290),
(39312810),
(1973664),
(1964721),
(1973794),
(1979636),
(1972880),
(1964612),
(1983516),
(25413382),
(4062930),
(1975374),
(1978956),
(1984347),
(1978070),
(1976365),
(1971299),
(1979378),
(1970644),
(1976486),
(1982334),
(1984371),
(1965688),
(1983110),
(1976775),
(2679052),
(1977743),
(1976072),
(1981922),
(1982263),
(1966052),
(1967866),
(1967087),
(42830442),
(1970986),
(1959380),
(44526346),
(14600421),
(1958743),
(1974902),
(1971191),
(15862624),
(1977210),
(1967244),
(1975247),
(1976935),
(1970440),
(1976549),
(1963035),
(1977077),
(1960316),
(1966896),
(1969741),
(1970683),
(1961528),
(20847844),
(1980474),
(1971834),
(1976587),
(1968105),
(1976710),
(1960586),
(1978232),
(1968545),
(1976678),
(1961566),
(1972255),
(17804792),
(1974684),
(1974566),
(1968049),
(25681111),
(19472755),
(1980402),
(1967514),
(11281445),
(1966954),
(1969595),
(26447592),
(1966219),
(1981153),
(1974283),
(1976273),
(1956154),
(1972399),
(1957403),
(1971885),
(1970018),
(25052280),
(1960667),
(1969409),
(1971267),
(1974078),
(1970512),
(1961578),
(1981496),
(1971344),
(1960208),
(1978012),
(1981033),
(1959004),
(1967229),
(14660255),
(1976233)
create TEMPORARY table `steiermark`.accoIdsTowns(
id int(11) NOT NULL,
PRIMARY KEY (`id`)
)
engine=memory;
insert into `steiermark`.accoIdsTowns (id) values (1980341),(1965083),(1962811),(9886077),(1964588),(1976408),(1983483),(1970788),(41969421),(1972642),(1968497),(1958966),(1969193),(45930227),(1977942),(1981594),(1956234),(1973390),(1972326),(1969318),(1958857),(1965827),(1982238),(4063201),(1972169),(1970969),(1962416),(1966986),(1970366),(1972504),(2676863),(1977863),(1979472),(1960793),(14659907),(1980918),(1968484),(1964566),(1975952),(42829790),(1958820),(1983915),(1967609),(1961622),(1969702),(1959487),(1965642),(1964309),(49681004),(1961476),(1980321),(1972617),(1966779),(1973113),(1975018),(1968982),(17462725),(1974122),(1961040),(1973855),(1974414),(3190492),(1961503),(1964833),(1981953),(1973431),(1975076),(1959573),(1969164),(1970266),(1960488),(50878032),(1968884),(43604597),(1980873),(1974755),(1973715),(1974380),(1967421),(1967131),(1962754),(2486062),(1980811),(1982666),(1972350),(1959784),(1969008),(1965052),(1977491),(1978568),(1975511),(1963049),(1956116),(42448818),(1976860),(1982912),(30763608),(1978760),(29072957),(1975571),(1964231),(1971966),(1968807),(4063124),(17770044),(1974528),(1966404),(1977652),(1980623),(1975478),(1983752),(41188273),(1964207),(49924348),(1981615),(1965236),(1965803),(1962451),(1980881),(13104309),(1984093),(1970550),(26342382),(22204981),(1960354),(1965841),(1968072),(1984126),(1972286),(7970607),(1968789),(1964283),(1974719),(1979347),(1979549),(1981704),(34961275),(1983839),(1957311),(1980584),(1966648),(34024549),(1969382),(1968121),(1964182),(1978670),(1962474),(1964869),(1981017),(49585241),(1972047),(1968595),(1966865),(1959845),(15692025),(1976977),(1983002),(1981655),(1975205),(1968180),(1961516),(1964801),(1972098),(1964399),(44526349),(1967445),(1957466),(39685585),(27982954),(15201310),(1982404),(1978718),(1969455),(1967192),(1970810),(1974937),(1982005),(1970828),(1965726),(1965864),(1968641),(28018930),(17804775),(1959616),(1971387),(1972521),(1973992),(1979726),(1972586),(1979772),(7018201),(1960869),(1975755),(1960995),(1981054),(1972735),(1982812),(1969608),(1980389),(20847987),(29195233),(1981834),(2082137),(1967010),(1980553),(7938552),(1973899),(1965631),(1977360),(17469346),(12253807),(1977269),(1968062),(1971898),(1963111),(1967144),(17593669),(1969075),(1969267),(1983086),(2194254),(1966440),(27700476),(1969057),(1968001),(1957805),(1976167),(1959914),(1973018),(1979421),(1971221),(1962257),(1965992),(1969581),(2082202),(15176970),(1972784),(1973199),(1978863),(1967217),(2679537),(47158211),(1983681),(1964932),(1971852),(43484376),(1962766),(17275786),(1974607),(1972698),(1979290),(39312810),(1973664),(1964721),(1973794),(1979636),(1972880),(1964612),(1983516),(25413382),(4062930),(1975374),(1978956),(1984347),(1978070),(1976365),(1971299),(1979378),(1970644),(1976486),(1982334),(1984371),(1965688),(1983110),(1976775),(2679052),(1977743),(1976072),(1981922),(1982263),(1966052),(1967866),(1967087),(42830442),(1970986),(1959380),(44526346),(14600421),(1958743),(1974902),(1971191),(15862624),(1977210),(1967244),(1975247),(1976935),(1970440),(1976549),(1963035),(1977077),(1960316),(1966896),(1969741),(1970683),(1961528),(20847844),(1980474),(1971834),(1976587),(1968105),(1976710),(1960586),(1978232),(1968545),(1976678),(1961566),(1972255),(17804792),(1974684),(1974566),(1968049),(25681111),(19472755),(1980402),(1967514),(11281445),(1966954),(1969595),(26447592),(1966219),(1981153),(1974283),(1976273),(1956154),(1972399),(1957403),(1971885),(1970018),(25052280),(1960667),(1969409),(1971267),(1974078),(1970512),(1961578),(1981496),(1971344),(1960208),(1978012),(1981033),(1959004),(1967229),(14660255),(1976233);
|
48 |
4.86 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 ;
|
49 |
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;;
|