UPDATE `read` SET `view` = ROUND(`view` + 1 + (`view` * 0.0015)) WHERE `id` = 109664
No such file or directory
SELECT
`user_id` AS `id`,
`url`,
`icq`,
`vkontakte`,
`facebook`,
`instagramm`,
`twitter`,
`blood_group`,
`experience`,
`occupation`,
`interest`,
`subscriber`,
`entries`,
UNIX_TIMESTAMP(`entry_last_date`) AS `entry_last_date`
FROM `users_addition` WHERE `user_id` = "48268"
No such file or directory
SELECT `id` FROM `hashtags` WHERE `object_type` = "" AND `object_id` = ""
No such file or directory
SELECT
`r`.`id`
FROM `read` `r`
WHERE `r`.`hide` = 0 AND `r`.`deleted` = 0 AND `r`.`date` < (NOW() + INTERVAL 2 MINUTE) AND (`r`.`link_type` = "gallery" AND `r`.`link_id` = 6334) OR (`r`.`link_type` = "review" AND `r`.`link_id` = 6334)
GROUP BY `r`.`key`
ORDER BY `r`.`date` DESC
No such file or directory
SELECT `id` FROM `images` WHERE `object_type` = "gallery" AND `object_id` = 6334 AND `user_id` = 48268
No such file or directory 3 фотографии c «МотоСтолица 2019» от
SELECT
`p`.`id`,
`p`.`company_id`,
`p`.`tariff_type`,
`p`.`tariff_count`,
`p`.`tariff_price`,
`p`.`limit_day`,
UNIX_TIMESTAMP(`p`.`date_end`) AS `date_end`,
`p`.`view`,
`c`.`place_id`,
`c`.`limit_type`,
`c`.`limit_count`,
`c`.`ext`,
`c`.`link`,
`c`.`target`,
`c`.`priority`,
`c`.`dealer`
FROM `ad_periods` `p`
RIGHT JOIN `ad_companies` `c` ON `c`.`id` = `p`.`company_id`
LEFT JOIN `ad_limits` `l` ON `l`.`company_id` = `p`.`company_id` AND `l`.`key` = "versions"
WHERE `c`.`place_id` = 4 AND `p`.`end` = 0 AND `p`.`date_start` <= NOW() AND `p`.`date_end` >= NOW() AND ((`l`.`value` = "8") OR `l`.`value` IS NULL)
GROUP BY `p`.`company_id`