Last active
December 17, 2015 21:13
-
-
Save doublejosh/18dae257d20bb82586eb to your computer and use it in GitHub Desktop.
Get webinar URLs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT n.nid as 'node-id', n.tnid as 'translation-nid', n.title, n.language, d.field_on_demand_value as 'ondemand', u.alias AS url | |
| FROM node as n | |
| LEFT JOIN url_alias as u | |
| ON u.source = CONCAT('node/', n.nid) | |
| LEFT JOIN field_data_field_on_demand as d | |
| ON d.entity_id = n.nid | |
| WHERE n.type = 'webinar' | |
| ORDER BY nid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment