|
0 | SELECT `ws_visits`.* FROM `ws_visits` WHERE (`ws_visits`.`hash_id` = '3d0efd5c6404c051302b780c8b0f5573') LIMIT 1; |
1 | SELECT `cities`.*, ST_AsText(`cities`.location) AS `location` FROM `cities` WHERE (`cities`.`seo_link` = 'moscow') LIMIT 1; |
2 | SELECT `estate_ad`.* FROM `estate_ad` WHERE (`estate_ad`.`id` = '38161'); |
3 | SELECT `streets`.* FROM `streets` WHERE (`streets`.`id` = '180907'); |
4 | SELECT country_id FROM country_polygons WHERE St_Contains(polygon, POINT(-83.0061, 39.9625)) LIMIT 1; |
5 | SELECT city_id FROM city_polygons WHERE St_Contains(polygon, POINT(-83.0061, 39.9625)) LIMIT 1; |
6 | SELECT city_id FROM cities WHERE country_id = 75 AND ( name = "Колумбус" OR name_en = "Columbus"); |
7 | UPDATE estate_ad SET visits = (visits + 1) WHERE id = 38161; |
8 | SELECT id FROM estate_ad_visit_days WHERE ad_id = 38161 AND yearmonthday = 20250514; |
9 | UPDATE estate_ad_visit_days SET visits = (visits + 1), roomer = (roomer + 0) WHERE id = 62119138; |
10 | SELECT id FROM estate_ad_visit_month WHERE ad_id = 38161 AND yearmonth = 202505; |
11 | UPDATE estate_ad_visit_month SET visits = (visits + 1), roomer = (roomer + 0) WHERE id = 3400776; |
12 | SELECT `estate_ad_visit`.* FROM `estate_ad_visit` WHERE (`estate_ad_visit`.`session_id` = '7cnh38itucnnhfa1g5n9gjl03m') AND (`estate_ad_visit`.`roomer` = 0) AND (utime >= "2025-05-14 15:05:55") ORDER BY `utime` DESC LIMIT 1; |
13 | SELECT `cities`.*, ST_AsText(`cities`.location) AS `location` FROM `cities` WHERE (`cities`.`pay` = 1) ORDER BY `sequence` DESC, `name` ASC; |
14 | INSERT INTO `estate_ad_visit` SET `ad_id` = 38161, `session_id` = '7cnh38itucnnhfa1g5n9gjl03m', `ctime` = '2025-05-14 15:35:55', `utime` = '2025-05-14 15:35:55', `paid_ad` = 1, `city_id` = 5973, `country_id` = 75, `ip` = '3.141.40.160', `user_agent` = 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)', `c` = 1, `year` = 2025, `yearmonth` = 202505, `yearmonthday` = 20250514, `ad_city_id` = 166, `owner_id` = 43624; |
15 | SELECT * FROM estate_ad_calendar WHERE actual = 1 AND ad_id = 38161; |
16 | SELECT `streets`.* FROM `streets` WHERE (`streets`.`id` = '180907') LIMIT 1; |
17 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
18 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
19 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
20 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
21 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
22 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
23 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
24 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
25 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
26 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
27 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
28 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
29 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
30 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
31 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
32 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
33 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
34 | SELECT countries.*, ST_AsText(location) as location FROM countries WHERE country_id = 0 order by name asc; |
35 | SELECT *, CASE WHEN `type` = "image" THEN 1 WHEN `type` = "video"
THEN 2 WHEN vcode IS NOT NULL AND vcode <> "" then 3 END as ordered
FROM estate_media WHERE ad_id = 38161
AND IF(`type` = "image", IF (small IS NULL OR small = "", false, true), true)
ORDER BY ordered ASC, sequence ASC; |
36 | SELECT DISTINCT ad_id FROM n2n_estate_ad_recent WHERE session_id = "7cnh38itucnnhfa1g5n9gjl03m" ORDER BY ctime DESC; |