{!--exp:query sql="SELECT field_id_585 as section_name, field_id_613 as section_short_name, field_id_587 as section_url, entry_id as section_id, count(*) as the_count FROM exp_channel_data cd JOIN exp_playa_relationships pr WHERE cd.entry_id = pr.child_entry_id AND pr.parent_entry_id='{entry_id}' AND (pr.parent_field_id='569' OR pr.parent_field_id='541' OR pr.parent_field_id='580') ORDER BY pr.rel_id ASC LIMIT 1"--}
Query
~~exp:query sql="SELECT ebb.entry_id as the_id, ect.url_title as the_url, ect.title as the_title, ecd.field_id_878 as canon_url FROM exp_blocks_atom eba JOIN exp_blocks_block ebb ON eba.block_id = ebb.id JOIN exp_channel_titles ect ON ebb.entry_id = ect.entry_id JOIN exp_channel_data ecd ON ecd.entry_id = ect.entry_id WHERE data LIKE '%Hawaii Guide's Recommended%' "~~
Entry {the_id} - {the_title}
~~/exp:query~~
Results
{exp:query sql="SELECT ebb.entry_id as the_id, ect.url_title as the_url, ect.title as the_title, ecd.field_id_878 as canon_url FROM exp_blocks_atom eba JOIN exp_blocks_block ebb ON eba.block_id = ebb.id JOIN exp_channel_titles ect ON ebb.entry_id = ect.entry_id JOIN exp_channel_data ecd ON ecd.entry_id = ect.entry_id WHERE data LIKE '%Hawaii Guide's Recommended%' "} Entry {the_id} - {the_title}
{/exp:query}