Artikel

BCM-Award: Auf der Shortlist!

Mal wieder für einen Preis nominiert: ONE heißt das neue Mitarbeitermedium der Lufthansa. Es erscheint gedruckt und digital in Deutsch und Englisch und erreicht weltweit an die 120.000 Lufthanseaten. Die Agentur ist Axel Springer Corporate Solutions, ich bin seit Konzeption und Pitch dabei. Nominiert sind wir für "Best of Internal Crossmedia". Nun heißt es: Hoffen auf Gold! :)

Veröffentlicht am 12.05.2016 — 11:23
 
Compile Time: 0.489608s (0.023s/5% querytime, 19 queries)
Memory Usage: 25.87 MB (27126400 Bytes)

Query #1 (0.00027s):
SET NAMES 'utf8'

Query #2 (0.00107s, 1 result/s):
SELECT
BlogPost.id as 'BlogPost.id', BlogPost.flags as 'BlogPost.flags', BlogPost.status as 'BlogPost.status', BlogPost.views as 'BlogPost.views', BlogPost.user_id as 'BlogPost.user_id', BlogPost.uri as 'BlogPost.uri', BlogPost.headline as 'BlogPost.headline', BlogPost.text as 'BlogPost.text', BlogPost.tags as 'BlogPost.tags', BlogPost.published as 'BlogPost.published', BlogPost.created as 'BlogPost.created', BlogPost.updated as 'BlogPost.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated'
FROM
poganatz_blog_posts `BlogPost`
LEFT JOIN `poganatz_users` User ON BlogPost.user_id = User.id
WHERE
BlogPost.status & 1 AND BlogPost.published < UNIX_TIMESTAMP() AND BlogPost.uri = 'bcm-award-auf-der-shortlist'
ORDER BY BlogPost.flags & 2048 DESC,BlogPost.published DESC

Query #3 (0.00074s):
SELECT
Comment.id as 'Comment.id', Comment.flags as 'Comment.flags', Comment.status as 'Comment.status', Comment.user_id as 'Comment.user_id', Comment.foreign_id as 'Comment.foreign_id', Comment.model as 'Comment.model', Comment.name as 'Comment.name', Comment.email as 'Comment.email', Comment.url as 'Comment.url', Comment.text as 'Comment.text', Comment.created as 'Comment.created', Comment.updated as 'Comment.updated', BlogPost.id as 'BlogPost.id', BlogPost.flags as 'BlogPost.flags', BlogPost.status as 'BlogPost.status', BlogPost.views as 'BlogPost.views', BlogPost.user_id as 'BlogPost.user_id', BlogPost.uri as 'BlogPost.uri', BlogPost.headline as 'BlogPost.headline', BlogPost.text as 'BlogPost.text', BlogPost.tags as 'BlogPost.tags', BlogPost.published as 'BlogPost.published', BlogPost.created as 'BlogPost.created', BlogPost.updated as 'BlogPost.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated'
FROM
poganatz_comments `Comment`
LEFT JOIN `poganatz_blog_posts` BlogPost ON model = 'BlogPost' AND Comment.foreign_id = BlogPost.id
LEFT JOIN `poganatz_users` User ON Comment.user_id = User.id
WHERE
Comment.status & 1 AND model = 'BlogPost' AND Comment.foreign_id = 6
ORDER BY Comment.created DESC

Query #4 (0.00126s, 1 result/s):
-- --------------------------------------------------------------------------
-- Select Blog Posts and order them by their popularity
--
-- @author Marcel Eichner // Ephigenia
-- --------------------------------------------------------------------------

SELECT
BlogPost.id, BlogPost.headline, BlogPost.views,
BlogPost.text, BlogPost.views,
BlogPost.created, BlogPost.published, BlogPost.user_id,
(UNIX_TIMESTAMP() - BlogPost.published)/(3600*24) as ageInDays,
COUNT(Comment.id) as commentCount,
-- calculate points depending on comments, and views
(
BlogPost.views / (
(UNIX_TIMESTAMP() - BlogPost.published)/(3600*24) -- age in days
)
) +
-- comments count part
(
COUNT(Comment.id) * 4
)
as points
FROM
poganatz_blog_posts BlogPost
LEFT JOIN poganatz_comments Comment ON Comment.foreign_id = BlogPost.id AND Comment.model = 'BlogPost'
WHERE
BlogPost.views > 0
AND BlogPost.published < UNIX_TIMESTAMP()
-- limit blog entries to a specific age
AND BlogPost.published > UNIX_TIMESTAMP() - 3600 * 24 * (BlogPost.views * 0.5)
AND BlogPost.published < UNIX_TIMESTAMP() - 3600 * 24
GROUP BY
BlogPost.id
ORDER BY
points DESC
LIMIT 0, 4

Query #5 (0.00093s):
SELECT
Comment.id as 'Comment.id', Comment.flags as 'Comment.flags', Comment.status as 'Comment.status', Comment.user_id as 'Comment.user_id', Comment.foreign_id as 'Comment.foreign_id', Comment.model as 'Comment.model', Comment.name as 'Comment.name', Comment.email as 'Comment.email', Comment.url as 'Comment.url', Comment.text as 'Comment.text', Comment.created as 'Comment.created', Comment.updated as 'Comment.updated', BlogPost.id as 'BlogPost.id', BlogPost.flags as 'BlogPost.flags', BlogPost.status as 'BlogPost.status', BlogPost.views as 'BlogPost.views', BlogPost.user_id as 'BlogPost.user_id', BlogPost.uri as 'BlogPost.uri', BlogPost.headline as 'BlogPost.headline', BlogPost.text as 'BlogPost.text', BlogPost.tags as 'BlogPost.tags', BlogPost.published as 'BlogPost.published', BlogPost.created as 'BlogPost.created', BlogPost.updated as 'BlogPost.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated'
FROM
poganatz_comments `Comment`
LEFT JOIN `poganatz_blog_posts` BlogPost ON model = 'BlogPost' AND Comment.foreign_id = BlogPost.id
LEFT JOIN `poganatz_users` User ON Comment.user_id = User.id
WHERE
Comment.status & 1 AND model = 'BlogPost' AND Comment.foreign_id = 8
ORDER BY Comment.created DESC

Query #6 (0.00065s, 20 result/s):
SELECT
MediaFile.id as 'MediaFile.id', MediaFile.unique_id as 'MediaFile.unique_id', MediaFile.folder_id as 'MediaFile.folder_id', MediaFile.node_id as 'MediaFile.node_id', MediaFile.user_id as 'MediaFile.user_id', MediaFile.use_model as 'MediaFile.use_model', MediaFile.flags as 'MediaFile.flags', MediaFile.filename as 'MediaFile.filename', MediaFile.source_url as 'MediaFile.source_url', MediaFile.url as 'MediaFile.url', MediaFile.filesize as 'MediaFile.filesize', MediaFile.mime_type as 'MediaFile.mime_type', MediaFile.width as 'MediaFile.width', MediaFile.height as 'MediaFile.height', MediaFile.downloads as 'MediaFile.downloads', MediaFile.views as 'MediaFile.views', MediaFile.position as 'MediaFile.position', MediaFile.created as 'MediaFile.created', MediaFile.updated as 'MediaFile.updated', TextDe.id as 'TextDe.id', TextDe.media_file_id as 'TextDe.media_file_id', TextDe.user_id as 'TextDe.user_id', TextDe.language_id as 'TextDe.language_id', TextDe.revision as 'TextDe.revision', TextDe.title as 'TextDe.title', TextDe.text as 'TextDe.text', TextDe.created as 'TextDe.created', TextDe.updated as 'TextDe.updated', Node.id as 'Node.id', Node.parent_id as 'Node.parent_id', Node.lft as 'Node.lft', Node.rgt as 'Node.rgt', Node.level as 'Node.level', Node.flags as 'Node.flags', Node.status as 'Node.status', Node.user_id as 'Node.user_id', Node.name as 'Node.name', Node.template as 'Node.template', Node.published as 'Node.published', Node.created as 'Node.created', Node.updated as 'Node.updated'
FROM
poganatz_media_files `MediaFile`
LEFT JOIN `poganatz_media_texts` TextDe ON TextDe.language_id = 1 AND MediaFile.id = TextDe.media_file_id
LEFT JOIN `poganatz_nodes` Node ON MediaFile.node_id = Node.id
WHERE
MediaFile.use_model = 'MediaImage'
ORDER BY MediaFile.created DESC,MediaFile.position ASC
LIMIT 0, 20

Query #7 (0.00065s, 1 result/s):
SELECT
Node.id as 'Node.id', Node.parent_id as 'Node.parent_id', Node.lft as 'Node.lft', Node.rgt as 'Node.rgt', Node.level as 'Node.level', Node.flags as 'Node.flags', Node.status as 'Node.status', Node.user_id as 'Node.user_id', Node.name as 'Node.name', Node.template as 'Node.template', Node.published as 'Node.published', Node.created as 'Node.created', Node.updated as 'Node.updated', NodeTextDe.id as 'NodeTextDe.id', NodeTextDe.node_id as 'NodeTextDe.node_id', NodeTextDe.language_id as 'NodeTextDe.language_id', NodeTextDe.user_id as 'NodeTextDe.user_id', NodeTextDe.revision as 'NodeTextDe.revision', NodeTextDe.uri as 'NodeTextDe.uri', NodeTextDe.headline as 'NodeTextDe.headline', NodeTextDe.pagetitle as 'NodeTextDe.pagetitle', NodeTextDe.subline as 'NodeTextDe.subline', NodeTextDe.text as 'NodeTextDe.text', NodeTextDe.excerpt as 'NodeTextDe.excerpt', NodeTextDe.keywords as 'NodeTextDe.keywords', NodeTextDe.created as 'NodeTextDe.created', NodeTextDe.updated as 'NodeTextDe.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated'
FROM
poganatz_nodes `Node`
LEFT JOIN `poganatz_node_texts` NodeTextDe ON NodeTextDe.language_id = 1 AND Node.id = NodeTextDe.node_id
LEFT JOIN `poganatz_users` User ON Node.user_id = User.id
WHERE
Node.status & 1 AND Node.id = 3

Query #8 (0.00059s, 11 result/s):
SELECT
MediaFile.id as 'MediaFile.id', MediaFile.unique_id as 'MediaFile.unique_id', MediaFile.folder_id as 'MediaFile.folder_id', MediaFile.node_id as 'MediaFile.node_id', MediaFile.user_id as 'MediaFile.user_id', MediaFile.use_model as 'MediaFile.use_model', MediaFile.flags as 'MediaFile.flags', MediaFile.filename as 'MediaFile.filename', MediaFile.source_url as 'MediaFile.source_url', MediaFile.url as 'MediaFile.url', MediaFile.filesize as 'MediaFile.filesize', MediaFile.mime_type as 'MediaFile.mime_type', MediaFile.width as 'MediaFile.width', MediaFile.height as 'MediaFile.height', MediaFile.downloads as 'MediaFile.downloads', MediaFile.views as 'MediaFile.views', MediaFile.position as 'MediaFile.position', MediaFile.created as 'MediaFile.created', MediaFile.updated as 'MediaFile.updated', TextDe.id as 'TextDe.id', TextDe.media_file_id as 'TextDe.media_file_id', TextDe.user_id as 'TextDe.user_id', TextDe.language_id as 'TextDe.language_id', TextDe.revision as 'TextDe.revision', TextDe.title as 'TextDe.title', TextDe.text as 'TextDe.text', TextDe.created as 'TextDe.created', TextDe.updated as 'TextDe.updated', Node.id as 'Node.id', Node.parent_id as 'Node.parent_id', Node.lft as 'Node.lft', Node.rgt as 'Node.rgt', Node.level as 'Node.level', Node.flags as 'Node.flags', Node.status as 'Node.status', Node.user_id as 'Node.user_id', Node.name as 'Node.name', Node.template as 'Node.template', Node.published as 'Node.published', Node.created as 'Node.created', Node.updated as 'Node.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated', Folder.id as 'Folder.id', Folder.parent_id as 'Folder.parent_id', Folder.lft as 'Folder.lft', Folder.rgt as 'Folder.rgt', Folder.level as 'Folder.level', Folder.flags as 'Folder.flags', Folder.name as 'Folder.name', Folder.uri as 'Folder.uri', Folder.content_order as 'Folder.content_order', Folder.created as 'Folder.created', Folder.updated as 'Folder.updated'
FROM
poganatz_media_files `MediaFile`
LEFT JOIN `poganatz_media_texts` TextDe ON TextDe.language_id = 1 AND MediaFile.id = TextDe.media_file_id
LEFT JOIN `poganatz_nodes` Node ON MediaFile.node_id = Node.id
LEFT JOIN `poganatz_users` User ON MediaFile.user_id = User.id
LEFT JOIN `poganatz_folders` Folder ON MediaFile.folder_id = Folder.id
WHERE
MediaFile.node_id = 3
ORDER BY MediaFile.position ASC,MediaFile.created DESC

Query #9 (0.00783s, 54 result/s):
SELECT
/* Node->NestedSetBehavior->depth(depth: , depthModel: 0) */
Node.id as 'Node.id', Node.parent_id as 'Node.parent_id', Node.lft as 'Node.lft', Node.rgt as 'Node.rgt', Node.level as 'Node.level', Node.flags as 'Node.flags', Node.status as 'Node.status', Node.user_id as 'Node.user_id', Node.name as 'Node.name', Node.template as 'Node.template', Node.published as 'Node.published', Node.created as 'Node.created', Node.updated as 'Node.updated', NodeTextDe.id as 'NodeTextDe.id', NodeTextDe.node_id as 'NodeTextDe.node_id', NodeTextDe.language_id as 'NodeTextDe.language_id', NodeTextDe.user_id as 'NodeTextDe.user_id', NodeTextDe.revision as 'NodeTextDe.revision', NodeTextDe.uri as 'NodeTextDe.uri', NodeTextDe.headline as 'NodeTextDe.headline', NodeTextDe.pagetitle as 'NodeTextDe.pagetitle', NodeTextDe.subline as 'NodeTextDe.subline', NodeTextDe.text as 'NodeTextDe.text', NodeTextDe.excerpt as 'NodeTextDe.excerpt', NodeTextDe.keywords as 'NodeTextDe.keywords', NodeTextDe.created as 'NodeTextDe.created', NodeTextDe.updated as 'NodeTextDe.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated', COUNT(p.id)-1 AS level
FROM
(poganatz_nodes `Node`, poganatz_nodes `p`)
LEFT JOIN `poganatz_node_texts` NodeTextDe ON NodeTextDe.language_id = 1 AND Node.id = NodeTextDe.node_id
LEFT JOIN `poganatz_users` User ON Node.user_id = User.id
WHERE
Node.status & 1 AND Node.lft BETWEEN p.lft AND p.rgt AND Node.lft > 4 AND Node.rgt < 113 AND Node.level > 1
GROUP BY Node.lft
ORDER BY Node.lft

Query #10 (0.00062s):
SELECT
Node.id as 'Node.id', Node.parent_id as 'Node.parent_id', Node.lft as 'Node.lft', Node.rgt as 'Node.rgt', Node.level as 'Node.level', Node.flags as 'Node.flags', Node.status as 'Node.status', Node.user_id as 'Node.user_id', Node.name as 'Node.name', Node.template as 'Node.template', Node.published as 'Node.published', Node.created as 'Node.created', Node.updated as 'Node.updated', NodeTextDe.id as 'NodeTextDe.id', NodeTextDe.node_id as 'NodeTextDe.node_id', NodeTextDe.language_id as 'NodeTextDe.language_id', NodeTextDe.user_id as 'NodeTextDe.user_id', NodeTextDe.revision as 'NodeTextDe.revision', NodeTextDe.uri as 'NodeTextDe.uri', NodeTextDe.headline as 'NodeTextDe.headline', NodeTextDe.pagetitle as 'NodeTextDe.pagetitle', NodeTextDe.subline as 'NodeTextDe.subline', NodeTextDe.text as 'NodeTextDe.text', NodeTextDe.excerpt as 'NodeTextDe.excerpt', NodeTextDe.keywords as 'NodeTextDe.keywords', NodeTextDe.created as 'NodeTextDe.created', NodeTextDe.updated as 'NodeTextDe.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated'
FROM
poganatz_nodes `Node`
LEFT JOIN `poganatz_node_texts` NodeTextDe ON NodeTextDe.language_id = 1 AND Node.id = NodeTextDe.node_id
LEFT JOIN `poganatz_users` User ON Node.user_id = User.id
WHERE
Node.status & 1 AND Node.name = 'Projects'

Query #11 (0.00038s, 1 result/s):
SELECT
Language.id as 'Language.id', Language.code as 'Language.code', Language.flags as 'Language.flags', Language.name as 'Language.name'
FROM
poganatz_languages `Language`

Query #12 (0.00081s):
UPDATE poganatz_blog_posts SET `views` = 733 WHERE id = 6

Query #13 (0.0005s):
UPDATE
poganatz_blog_posts
SET
`id`=6, `flags`=1536, `status`=1, `views`=733, `user_id`=4, `uri`='bcm-award-auf-der-shortlist', `headline`='BCM-Award: Auf der Shortlist!', `text`='[[lhg-one.jpg]][[bcm-logo.png]]Mal wieder für einen Preis nominiert: ONE heißt das neue Mitarbeitermedium der Lufthansa. Es erscheint gedruckt und digital in Deutsch und Englisch und erreicht weltweit an die 120.000 Lufthanseaten. Die Agentur ist Axel Springer Corporate Solutions, ich bin seit Konzeption und Pitch dabei. Nominiert sind wir für \"Best of Internal Crossmedia\". Nun heißt es: Hoffen auf Gold! :) ', `tags`='', `published`=1463044980, `created`=1463045228, `updated`=1513572877
WHERE
id = 6

Query #14 (0.00089s, 4 result/s):
SELECT
BlogPost.id as 'BlogPost.id', BlogPost.flags as 'BlogPost.flags', BlogPost.status as 'BlogPost.status', BlogPost.views as 'BlogPost.views', BlogPost.user_id as 'BlogPost.user_id', BlogPost.uri as 'BlogPost.uri', BlogPost.headline as 'BlogPost.headline', BlogPost.text as 'BlogPost.text', BlogPost.tags as 'BlogPost.tags', BlogPost.published as 'BlogPost.published', BlogPost.created as 'BlogPost.created', BlogPost.updated as 'BlogPost.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated'
FROM
poganatz_blog_posts `BlogPost`
LEFT JOIN `poganatz_users` User ON BlogPost.user_id = User.id
WHERE
BlogPost.status & 1 AND BlogPost.published < UNIX_TIMESTAMP()
ORDER BY BlogPost.flags & 2048 DESC,BlogPost.published DESC
LIMIT 0, 4

Query #15 (0.00084s):
SELECT
Comment.id as 'Comment.id', Comment.flags as 'Comment.flags', Comment.status as 'Comment.status', Comment.user_id as 'Comment.user_id', Comment.foreign_id as 'Comment.foreign_id', Comment.model as 'Comment.model', Comment.name as 'Comment.name', Comment.email as 'Comment.email', Comment.url as 'Comment.url', Comment.text as 'Comment.text', Comment.created as 'Comment.created', Comment.updated as 'Comment.updated', BlogPost.id as 'BlogPost.id', BlogPost.flags as 'BlogPost.flags', BlogPost.status as 'BlogPost.status', BlogPost.views as 'BlogPost.views', BlogPost.user_id as 'BlogPost.user_id', BlogPost.uri as 'BlogPost.uri', BlogPost.headline as 'BlogPost.headline', BlogPost.text as 'BlogPost.text', BlogPost.tags as 'BlogPost.tags', BlogPost.published as 'BlogPost.published', BlogPost.created as 'BlogPost.created', BlogPost.updated as 'BlogPost.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated'
FROM
poganatz_comments `Comment`
LEFT JOIN `poganatz_blog_posts` BlogPost ON model = 'BlogPost' AND Comment.foreign_id = BlogPost.id
LEFT JOIN `poganatz_users` User ON Comment.user_id = User.id
WHERE
Comment.status & 1 AND model = 'BlogPost' AND Comment.foreign_id = 7
ORDER BY Comment.created DESC

Query #16 (0.00081s):
SELECT
Comment.id as 'Comment.id', Comment.flags as 'Comment.flags', Comment.status as 'Comment.status', Comment.user_id as 'Comment.user_id', Comment.foreign_id as 'Comment.foreign_id', Comment.model as 'Comment.model', Comment.name as 'Comment.name', Comment.email as 'Comment.email', Comment.url as 'Comment.url', Comment.text as 'Comment.text', Comment.created as 'Comment.created', Comment.updated as 'Comment.updated', BlogPost.id as 'BlogPost.id', BlogPost.flags as 'BlogPost.flags', BlogPost.status as 'BlogPost.status', BlogPost.views as 'BlogPost.views', BlogPost.user_id as 'BlogPost.user_id', BlogPost.uri as 'BlogPost.uri', BlogPost.headline as 'BlogPost.headline', BlogPost.text as 'BlogPost.text', BlogPost.tags as 'BlogPost.tags', BlogPost.published as 'BlogPost.published', BlogPost.created as 'BlogPost.created', BlogPost.updated as 'BlogPost.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated'
FROM
poganatz_comments `Comment`
LEFT JOIN `poganatz_blog_posts` BlogPost ON model = 'BlogPost' AND Comment.foreign_id = BlogPost.id
LEFT JOIN `poganatz_users` User ON Comment.user_id = User.id
WHERE
Comment.status & 1 AND model = 'BlogPost' AND Comment.foreign_id = 5
ORDER BY Comment.created DESC

Query #17 (0.00056s, 1 result/s):
SELECT
Node.id as 'Node.id', Node.parent_id as 'Node.parent_id', Node.lft as 'Node.lft', Node.rgt as 'Node.rgt', Node.level as 'Node.level', Node.flags as 'Node.flags', Node.status as 'Node.status', Node.user_id as 'Node.user_id', Node.name as 'Node.name', Node.template as 'Node.template', Node.published as 'Node.published', Node.created as 'Node.created', Node.updated as 'Node.updated', NodeTextDe.id as 'NodeTextDe.id', NodeTextDe.node_id as 'NodeTextDe.node_id', NodeTextDe.language_id as 'NodeTextDe.language_id', NodeTextDe.user_id as 'NodeTextDe.user_id', NodeTextDe.revision as 'NodeTextDe.revision', NodeTextDe.uri as 'NodeTextDe.uri', NodeTextDe.headline as 'NodeTextDe.headline', NodeTextDe.pagetitle as 'NodeTextDe.pagetitle', NodeTextDe.subline as 'NodeTextDe.subline', NodeTextDe.text as 'NodeTextDe.text', NodeTextDe.excerpt as 'NodeTextDe.excerpt', NodeTextDe.keywords as 'NodeTextDe.keywords', NodeTextDe.created as 'NodeTextDe.created', NodeTextDe.updated as 'NodeTextDe.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated'
FROM
poganatz_nodes `Node`
LEFT JOIN `poganatz_node_texts` NodeTextDe ON NodeTextDe.language_id = 1 AND Node.id = NodeTextDe.node_id
LEFT JOIN `poganatz_users` User ON Node.user_id = User.id
WHERE
Node.status & 1 AND Node.name = 'Artikel'

Query #18 (0.00056s):
SELECT
MediaFile.id as 'MediaFile.id', MediaFile.unique_id as 'MediaFile.unique_id', MediaFile.folder_id as 'MediaFile.folder_id', MediaFile.node_id as 'MediaFile.node_id', MediaFile.user_id as 'MediaFile.user_id', MediaFile.use_model as 'MediaFile.use_model', MediaFile.flags as 'MediaFile.flags', MediaFile.filename as 'MediaFile.filename', MediaFile.source_url as 'MediaFile.source_url', MediaFile.url as 'MediaFile.url', MediaFile.filesize as 'MediaFile.filesize', MediaFile.mime_type as 'MediaFile.mime_type', MediaFile.width as 'MediaFile.width', MediaFile.height as 'MediaFile.height', MediaFile.downloads as 'MediaFile.downloads', MediaFile.views as 'MediaFile.views', MediaFile.position as 'MediaFile.position', MediaFile.created as 'MediaFile.created', MediaFile.updated as 'MediaFile.updated', TextDe.id as 'TextDe.id', TextDe.media_file_id as 'TextDe.media_file_id', TextDe.user_id as 'TextDe.user_id', TextDe.language_id as 'TextDe.language_id', TextDe.revision as 'TextDe.revision', TextDe.title as 'TextDe.title', TextDe.text as 'TextDe.text', TextDe.created as 'TextDe.created', TextDe.updated as 'TextDe.updated', Node.id as 'Node.id', Node.parent_id as 'Node.parent_id', Node.lft as 'Node.lft', Node.rgt as 'Node.rgt', Node.level as 'Node.level', Node.flags as 'Node.flags', Node.status as 'Node.status', Node.user_id as 'Node.user_id', Node.name as 'Node.name', Node.template as 'Node.template', Node.published as 'Node.published', Node.created as 'Node.created', Node.updated as 'Node.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated', Folder.id as 'Folder.id', Folder.parent_id as 'Folder.parent_id', Folder.lft as 'Folder.lft', Folder.rgt as 'Folder.rgt', Folder.level as 'Folder.level', Folder.flags as 'Folder.flags', Folder.name as 'Folder.name', Folder.uri as 'Folder.uri', Folder.content_order as 'Folder.content_order', Folder.created as 'Folder.created', Folder.updated as 'Folder.updated'
FROM
poganatz_media_files `MediaFile`
LEFT JOIN `poganatz_media_texts` TextDe ON TextDe.language_id = 1 AND MediaFile.id = TextDe.media_file_id
LEFT JOIN `poganatz_nodes` Node ON MediaFile.node_id = Node.id
LEFT JOIN `poganatz_users` User ON MediaFile.user_id = User.id
LEFT JOIN `poganatz_folders` Folder ON MediaFile.folder_id = Folder.id
WHERE
MediaFile.node_id = 20
ORDER BY MediaFile.position ASC,MediaFile.created DESC

Query #19 (0.00277s, 51 result/s):
SELECT
/* Node->NestedSetBehavior->depth(depth: , depthModel: ) */
Node.id as 'Node.id', Node.parent_id as 'Node.parent_id', Node.lft as 'Node.lft', Node.rgt as 'Node.rgt', Node.level as 'Node.level', Node.flags as 'Node.flags', Node.status as 'Node.status', Node.user_id as 'Node.user_id', Node.name as 'Node.name', Node.template as 'Node.template', Node.published as 'Node.published', Node.created as 'Node.created', Node.updated as 'Node.updated', NodeTextDe.id as 'NodeTextDe.id', NodeTextDe.node_id as 'NodeTextDe.node_id', NodeTextDe.language_id as 'NodeTextDe.language_id', NodeTextDe.user_id as 'NodeTextDe.user_id', NodeTextDe.revision as 'NodeTextDe.revision', NodeTextDe.uri as 'NodeTextDe.uri', NodeTextDe.headline as 'NodeTextDe.headline', NodeTextDe.pagetitle as 'NodeTextDe.pagetitle', NodeTextDe.subline as 'NodeTextDe.subline', NodeTextDe.text as 'NodeTextDe.text', NodeTextDe.excerpt as 'NodeTextDe.excerpt', NodeTextDe.keywords as 'NodeTextDe.keywords', NodeTextDe.created as 'NodeTextDe.created', NodeTextDe.updated as 'NodeTextDe.updated', User.id as 'User.id', User.flags as 'User.flags', User.status as 'User.status', User.group_id as 'User.group_id', User.name as 'User.name', User.email as 'User.email', User.password as 'User.password', User.description as 'User.description', User.ip as 'User.ip', User.permanent_key as 'User.permanent_key', User.logins as 'User.logins', User.lastlogin as 'User.lastlogin', User.login_failed_start as 'User.login_failed_start', User.login_failed_count as 'User.login_failed_count', User.created as 'User.created', User.updated as 'User.updated', COUNT(p.id)-1 AS level
FROM
(poganatz_nodes `Node`, poganatz_nodes `p`)
LEFT JOIN `poganatz_node_texts` NodeTextDe ON NodeTextDe.language_id = 1 AND Node.id = NodeTextDe.node_id
LEFT JOIN `poganatz_users` User ON Node.user_id = User.id
WHERE
Node.status & 1 AND Node.lft BETWEEN p.lft AND p.rgt AND Node.lft > 114 AND Node.rgt < 217 AND Node.level > 1
GROUP BY Node.lft
ORDER BY Node.lft