SELECT `id`,`category`,`intro-text`,`pg-rating`,`image`,`url`,`name`,`views`,`public`,`public-date`,`public-update`,`public-user`,`event-start-date`,`event-start-time`,`event-end-date`,`event-end-time`,`event-calendar`,`admin-checked` FROM `#__content_articles` WHERE ( (`public`=1) AND (`parent`=0 OR `parent`!=0) AND (`category`=1 OR ( `id` IN ( SELECT DISTINCT `value-id` FROM `#__content_articles_categories` WHERE `category-id`=1 ) ) ) ) AND `event-feed`=1 ORDER BY id DESC LIMIT 12 OFFSET 0

События