title: A SQL query that acquires the list of categories given a page title from Wikipedia
body: <p>Given a Wikipedia page title, I'd like to acquire its categories. However, I cannot seem to find where to do this efficiently.</p>
  
  <p>Here is the page table:
  <a href="http://www.mediawiki.org/wiki/Manual:Page_table" rel="nofollow">http://www.mediawiki.org/wiki/Manual:Page_table</a></p>
  
  <p>and here is the categorylinks table
  <a href="http://www.mediawiki.org/wiki/Manual:Categorylinks_table" rel="nofollow">http://www.mediawiki.org/wiki/Manual:Categorylinks_table</a></p>
  
  <p>Where categorylinks.cl_from = page.page_id ...However, in my project, I will only have a possible page title, not the page id.  And it appears that page_title is not unique. </p>
  
  <p>Is there a better way to go about this?</p>
  
  <p>Thanks.</p>