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