Skip to content

Instantly share code, notes, and snippets.

@jeff
Created March 18, 2016 13:40
Show Gist options
  • Save jeff/45d799d50b9f87ad83b5 to your computer and use it in GitHub Desktop.
Save jeff/45d799d50b9f87ad83b5 to your computer and use it in GitHub Desktop.
SELECT
bre.id,
oils_xpath_string('//*[@tag="245"]/*[@code="a" or @code="b"]', marc) as title
FROM biblio.record_entry bre
LIMIT 100;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment