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

SQL

AخA
 
select page_title, replace(cl_to, "مواليد_", "") as "تاريخ الولادة",
2024 - replace(cl_to, "مواليد_", "") as "العمر"
from page
inner join categorylinks on cl_from = page_id
where page_namespace = 0 and page_is_redirect = 0
and cl_to like "%مواليد%" 
and page_id not in (select cl_from from categorylinks where page_id = cl_from and cl_to like "وفيات_%") 
and 2024 - replace(cl_to, "مواليد_", "") > 100
and length(replace(cl_to, "مواليد_", ""))=4;
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...