SQL
AخA
SELECT
IF(
page_is_redirect = 1,
CONCAT(
'[{{fullurl:Kategorie:',
REPLACE(page_title, '_', ' '),
'}} ',
REPLACE(page_title, '_', ' '),
'] <small>(Redirect)</small>'
),
CONCAT('', REPLACE(page_title, '_', ' '), '')
) AS Link
FROM
category,
page
WHERE
page_title = cat_title
AND page_namespace = 14
AND cat_pages = 0
AND cat_subcats = 0
AND cat_files = 0
ORDER BY
page_title
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.