SQL
AخA
SELECT
*
FROM `logging_userindex` pc
LEFT JOIN `actor_logging` ON `actor_id` = pc.`log_actor`
LEFT JOIN `comment_logging` ON `log_comment_id` = pc.`comment_id`
LEFT JOIN `logging_logindex` pd ON pd.`log_id` = (
SELECT pds.`log_id` FROM `logging_logindex` pds
WHERE pds.`log_page` = pc.`log_page` AND pds.`log_type` = "delete" AND pds.`log_action` = "delete"
ORDER BY pds.`log_timestamp` DESC
)
WHERE `log_type` = "delete" AND `log_action` = "delete" AND `log_actor` = (
SELECT a.`actor_id` FROM `actor_logging` a WHERE a.`actor_name` = "Chlod"
)
ORDER BY `log_timestamp` DESC
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.