float= The Red Rook (cover).png

Parallel Visions: City of Angels City of Demons ebook and trade paperback available on Amazon (or here).
The question of whether Vance was dead or not became more than academic when he found himself in a bathtub up to his chin in ice water like some forgotten cocktail garnish, a demonic woman standing over him, and no memory of how he got there.
Read free chapters of Parallel Visions: City of Angels City of Demons here
The Red Rook, sequel to Dispensing Justice and the second novel of Nova Genesis World is now available for Kindle or as a paperback at Amazon.
Read free chapters of Dispensing Justice here (or get it here).
Read free chapters of The Red Rook here (or get it here). -- Fritz Freiheit

Dispensing Justice (cover).png 20th Annual Writer's Digest Self-Published Book Awards - Honorable Mention.png

MediaWiki SQL

From FritzWiki
Jump to: navigation, search
http://fritzfreiheit.com/wiki/MediaWiki_SQL is best viewed with JavaScript turned on.
 
Article icon.svg
 v • d • e 

List pages

 -- pages equal
 select page_id, page_namespace, page_title 
 from page where page_title = 'PageTitle';
 -- pages like
 select page_id, page_namespace, page_title 
 from page where page_title like 'PageTitle%';

List all the pages in a given category

 select page_id, page_namespace, page_title
 from categorylinks, page
 where cl_to = 'CftN'
   and cl_from = page_id
 order by page_title
 ;
 -- Restrict name space to 0
 select page_id, page_title
 from categorylinks, page
 where cl_to = 'CftN'
   and cl_from = page_id
   and 0 = page_namespace
 order by page_title
 ;

[[File:|right|thumbnail|50px]]

v • d • e