Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Chlod
.
Part of [[w:en:User:Chlod/Analysis/2021 Pacific typhoon season]].
Toggle Highlighting
SQL
SET @page = "2021 Pacific typhoon season"; SELECT COUNT(IF(LCASE(CONVERT(`comment_text` USING utf8)) LIKE '%current storm information%', 1, NULL)) as `CSI`, COUNT(IF(LCASE(CONVERT(`comment_text` USING utf8)) LIKE '%season effects%', 1, NULL)) as `SE`, COUNT(IF(LCASE(CONVERT(`comment_text` USING utf8)) LIKE '%watches and warnings%', 1, NULL)) as `W&W`, FROM revision r1 JOIN `comment` ON rev_comment_id = comment_id WHERE rev_page = (SELECT page_id FROM page WHERE page_namespace = 0 AND page_title = REPLACE(@page, " ", "_")) GROUP BY comment_text
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...