This query is marked as a draft This query has been published by Cryptic.

SQL

AخA
 
SELECT CAST(log_timestamp AS DATETIME) AS `timestamp`,
       actor_name,
       page_title,
       page_len,
       comment_text,
       CONCAT('[[:Category:', GROUP_CONCAT(cl_to SEPARATOR ']] [[:Category:'), ']]') AS `categories`
FROM (SELECT log_timestamp, actor_name, page_title, log_page, page_len, comment_text
      FROM logging
      LEFT JOIN actor_logging ON actor_id = log_actor
      JOIN page ON page_id = log_page
      LEFT JOIN comment_logging ON comment_id = log_comment_id
      WHERE log_type = 'create'
        AND page_namespace = 0
        AND page_is_redirect = 0
      ORDER BY log_id DESC
      LIMIT 100) sq
LEFT JOIN categorylinks ON cl_from = log_page
GROUP BY log_timestamp, actor_name, page_title
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.

Checking query status...