SQL
AخA
SELECT CONCAT('Category:', P.page_title) AS "リダイレクト元のページ名",
CONCAT ('Category:', R.rd_title) AS "リダイレクト先のページ名",
COUNT(H.rev_id) AS "リダイレクト元の履歴数",
MAX(H.rev_id) AS "MIN"
FROM page P
INNER JOIN redirect R
ON P.page_id = R.rd_from
INNER JOIN revision H
ON P.page_id = H.rev_page
WHERE P.page_namespace=14
AND R.rd_namespace=14
GROUP BY P.page_title, R.rd_title
LIMIT 10
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.