SQL Select

Executed SQL
SELECT `cms_block`.*, `cbs`.`store_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='link-social-product') AND (is_active = 1) AND (cbs.store_id in (1, 0) ) ORDER BY `store_id` DESC LIMIT 1
block_id title identifier content creation_time update_time is_active store_id
15 Link social product link-social-product <ul class="overflow_fix"> <li><a class="social-link fb" target="_blank"><i class="fa fa-facebook"><span class="hidden">facebook</span></i></a></li> <li><a class="social-link pinterest" href="#" target="_blank"><i class="fa fa-pinterest-p"><span class="hidden">pinterest</span></i></a></li> </ul> 2015-05-26 04:49:45 2015-10-23 08:21:05 1 1