Query Time: 0.25 ms Query memory: 0.013 MB Memory before query: 2.278 MB Rows returned: 0
SELECT `data`
FROM `cp38l_session`
WHERE `session_id` = 'fftjt2gc221jem0jqi23otmjr1'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | cp38l_session | const | PRIMARY | PRIMARY | 602 | const | 1 | |
Error |
---|
MySql have_profiling = off |
JROOT/libraries/joomla/session/storage/database.php:46
JROOT/libraries/joomla/session/session.php:658
JROOT/libraries/joomla/session/session.php:596
JROOT/libraries/cms/application/cms.php:668
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:328
JROOT/libraries/joomla/factory.php:124
JROOT/index.php:37
Query Time: 0.18 ms After last query: 2.11 ms Query memory: 0.010 MB Memory before query: 2.424 MB Rows returned: 0
SELECT `session_id`
FROM `cp38l_session`
WHERE `session_id` = 'fftjt2gc221jem0jqi23otmjr1'
LIMIT 0, 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | cp38l_session | const | PRIMARY | PRIMARY | 602 | const | 1 | Using index |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/application/cms.php:175
JROOT/libraries/cms/application/cms.php:694
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:328
JROOT/libraries/joomla/factory.php:124
JROOT/index.php:37
Query Time: 6.17 ms After last query: 0.29 ms Query memory: 0.009 MB Memory before query: 2.437 MB
INSERT INTO `cp38l_session`
(`session_id`, `client_id`, `time`)
VALUES
('fftjt2gc221jem0jqi23otmjr1', 0, '1576311146')
EXPLAIN not possible on query: INSERT INTO `cp38l_session`
(`session_id`, `client_id`, `time`) VALUES
('fftjt2gc221jem0jqi23otmjr1', 0, '1576311146')
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/application/cms.php:207
JROOT/libraries/cms/application/cms.php:694
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:328
JROOT/libraries/joomla/factory.php:124
JROOT/index.php:37
Query Time: 0.36 ms After last query: 7.02 ms Query memory: 0.013 MB Memory before query: 2.890 MB Rows returned: 2
SELECT b.id
FROM cp38l_usergroups AS a
LEFT JOIN cp38l_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
WHERE a.id = 9
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | a | const | PRIMARY | PRIMARY | 4 | const | 1 | |
1 | SIMPLE | b | range | idx_usergroup_nested_set_lookup | idx_usergroup_nested_set_lookup | 4 | NULL | 3 | Using where; Using index |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/joomla/access/access.php:334
JROOT/libraries/joomla/access/access.php:403
JROOT/libraries/joomla/user/user.php:428
JROOT/libraries/cms/plugin/helper.php:298
JROOT/libraries/cms/plugin/helper.php:165
JROOT/libraries/cms/application/site.php:575
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:251
JROOT/index.php:40
Query Time: 0.14 ms After last query: 0.83 ms Query memory: 0.011 MB Memory before query: 2.954 MB Rows returned: 5
SELECT id, rules
FROM `cp38l_viewlevels`
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | cp38l_viewlevels | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 5 | |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/joomla/access/access.php:420
JROOT/libraries/joomla/user/user.php:428
JROOT/libraries/cms/plugin/helper.php:298
JROOT/libraries/cms/plugin/helper.php:165
JROOT/libraries/cms/application/site.php:575
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:251
JROOT/index.php:40
Query Time: 0.47 ms After last query: 5.95 ms Query memory: 0.012 MB Memory before query: 3.420 MB Rows returned: 1
SELECT COUNT(*)
FROM `cp38l_menu`
WHERE home = 1
AND published = 1
AND client_id = 0
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | cp38l_menu | ref | idx_client_id_parent_id_alias_language | idx_client_id_parent_id_alias_language | 1 | const | 66 | Using where |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/administrator/components/com_languages/helpers/multilangstatus.php:32
JROOT/plugins/system/languagefilter/languagefilter.php:71
JROOT/libraries/cms/plugin/helper.php:257
JROOT/libraries/cms/plugin/helper.php:172
JROOT/libraries/cms/application/site.php:575
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:251
JROOT/index.php:40
Query Time: 1.81 ms After last query: 19.95 ms Query memory: 0.019 MB Memory before query: 4.486 MB Rows returned: 78
SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,`m`.`browserNav`, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
FROM cp38l_menu AS m
LEFT JOIN cp38l_extensions AS e
ON m.component_id = e.extension_id
WHERE m.published = 1
AND m.parent_id > 0
AND m.client_id = 0
ORDER BY m.lft
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | m | ref | idx_client_id_parent_id_alias_language | idx_client_id_parent_id_alias_language | 1 | const | 66 | Using where; Using filesort |
1 | SIMPLE | e | eq_ref | PRIMARY | PRIMARY | 4 | iclbrandin_db.m.component_id | 1 | |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/menu/site.php:47
JROOT/libraries/cms/menu/menu.php:64
JROOT/libraries/cms/menu/menu.php:118
JROOT/libraries/cms/application/cms.php:353
JROOT/libraries/cms/application/site.php:279
JROOT/libraries/cms/router/site.php:218
JROOT/libraries/cms/router/router.php:408
JROOT/libraries/cms/router/router.php:192
JROOT/libraries/cms/router/site.php:90
JROOT/libraries/cms/application/cms.php:1018
JROOT/libraries/cms/application/site.php:749
JROOT/libraries/cms/application/site.php:231
JROOT/libraries/cms/application/cms.php:251
JROOT/index.php:40
Query Time: 3.36 ms After last query: 9.63 ms Query memory: 0.018 MB Memory before query: 5.502 MB
UPDATE `cp38l_extensions`
SET `params` = '{\"mediaversion\":\"993d758531c2542d36699f67cc951a92\"}'
WHERE `type` = 'library'
AND `element` = 'joomla'
EXPLAIN not possible on query: UPDATE `cp38l_extensions`
SET `params` = '{\"mediaversion\":\"993d758531c2542d36699f67cc951a92\"}'
WHERE `type` = 'library' AND `element` = 'joomla'
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/library/helper.php:119
JROOT/libraries/cms/version/version.php:230
JROOT/libraries/cms/version/version.php:189
JROOT/libraries/joomla/factory.php:734
JROOT/libraries/joomla/factory.php:215
JROOT/plugins/system/sef/sef.php:30
JROOT/libraries/joomla/event/event.php:71
JROOT/libraries/joomla/event/dispatcher.php:162
JROOT/libraries/joomla/application/base.php:106
JROOT/libraries/cms/application/cms.php:1027
JROOT/libraries/cms/application/site.php:749
JROOT/libraries/cms/application/site.php:231
JROOT/libraries/cms/application/cms.php:251
JROOT/index.php:40
Query Time: 0.90 ms After last query: 14.96 ms Query memory: 0.023 MB Memory before query: 6.454 MB Rows returned: 1
SELECT COUNT(*)
FROM `cp38l_icl_front_page_items` AS a
LEFT JOIN cp38l_users AS uc
ON uc.id=a.checked_out
LEFT JOIN cp38l_users AS created_by
ON created_by.id = a.created_by
LEFT JOIN cp38l_content AS cp38l_content_1521491
ON cp38l_content_1521491.id = a.scroll_to
WHERE (a.language = 'en-GB' OR a.language = '*')
AND a.state = 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | a | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 79 | Using where |
1 | SIMPLE | uc | eq_ref | PRIMARY | PRIMARY | 4 | iclbrandin_db.a.checked_out | 1 | Using index |
1 | SIMPLE | created_by | eq_ref | PRIMARY | PRIMARY | 4 | iclbrandin_db.a.created_by | 1 | Using index |
1 | SIMPLE | cp38l_content_1521491 | eq_ref | PRIMARY | PRIMARY | 4 | iclbrandin_db.a.scroll_to | 1 | Using index |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/legacy/model/legacy.php:327
JROOT/libraries/legacy/model/list.php:276
JROOT/libraries/legacy/model/list.php:310
JROOT/libraries/legacy/model/list.php:171
JROOT/components/com_icl_front_page/models/frontpageitems.php:204
JROOT/libraries/legacy/view/legacy.php:398
JROOT/components/com_icl_front_page/views/frontpageitems/view.html.php:38
JROOT/libraries/legacy/controller/legacy.php:693
JROOT/components/com_icl_front_page/controller.php:32
JROOT/libraries/legacy/controller/legacy.php:730
JROOT/components/com_icl_front_page/icl_front_page.php:17
JROOT/libraries/cms/component/helper.php:352
JROOT/libraries/cms/component/helper.php:332
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:237
JROOT/libraries/cms/application/cms.php:251
JROOT/index.php:40
Query Time: 1.24 ms After last query: 0.21 ms Query memory: 0.020 MB Memory before query: 6.469 MB Rows returned: 9
SELECT DISTINCT a.*,uc.name AS editor,cp38l_content_1521491.title AS content_title_1521491
FROM `cp38l_icl_front_page_items` AS a
LEFT JOIN cp38l_users AS uc
ON uc.id=a.checked_out
LEFT JOIN cp38l_users AS created_by
ON created_by.id = a.created_by
LEFT JOIN cp38l_content AS cp38l_content_1521491
ON cp38l_content_1521491.id = a.scroll_to
WHERE (a.language = 'en-GB' OR a.language = '*')
AND a.state = 1
ORDER BY a.ordering
LIMIT 0, 20
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | a | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 79 | Using where; Using temporary; Using filesort |
1 | SIMPLE | uc | eq_ref | PRIMARY | PRIMARY | 4 | iclbrandin_db.a.checked_out | 1 | |
1 | SIMPLE | created_by | eq_ref | PRIMARY | PRIMARY | 4 | iclbrandin_db.a.created_by | 1 | Using index |
1 | SIMPLE | cp38l_content_1521491 | eq_ref | PRIMARY | PRIMARY | 4 | iclbrandin_db.a.scroll_to | 1 | |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/legacy/model/legacy.php:301
JROOT/libraries/legacy/model/list.php:171
JROOT/components/com_icl_front_page/models/frontpageitems.php:204
JROOT/libraries/legacy/view/legacy.php:398
JROOT/components/com_icl_front_page/views/frontpageitems/view.html.php:38
JROOT/libraries/legacy/controller/legacy.php:693
JROOT/components/com_icl_front_page/controller.php:32
JROOT/libraries/legacy/controller/legacy.php:730
JROOT/components/com_icl_front_page/icl_front_page.php:17
JROOT/libraries/cms/component/helper.php:352
JROOT/libraries/cms/component/helper.php:332
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:237
JROOT/libraries/cms/application/cms.php:251
JROOT/index.php:40
Query Time: 0.43 ms After last query: 27.16 ms Query memory: 0.013 MB Memory before query: 7.461 MB Rows returned: 0
SELECT m2.language, m2.id
FROM cp38l_menu as m
INNER JOIN cp38l_associations as a
ON a.id=m.id
AND a.context='com_menus.item'
INNER JOIN cp38l_associations as a2
ON a.key=a2.key
INNER JOIN cp38l_menu as m2
ON a2.id=m2.id
WHERE m.id=173
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | NULL | NULL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | NULL | Impossible WHERE noticed after reading const tables |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/administrator/components/com_menus/helpers/menus.php:257
JROOT/plugins/system/languagefilter/languagefilter.php:592
JROOT/libraries/joomla/event/event.php:71
JROOT/libraries/joomla/event/dispatcher.php:162
JROOT/libraries/joomla/application/base.php:106
JROOT/libraries/cms/application/site.php:196
JROOT/libraries/cms/application/site.php:237
JROOT/libraries/cms/application/cms.php:251
JROOT/index.php:40
Query Time: 2.32 ms After last query: 16.21 ms Query memory: 0.015 MB Memory before query: 8.096 MB Rows returned: 12
SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM cp38l_modules AS m
LEFT JOIN cp38l_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN cp38l_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id
WHERE m.published = 1
AND e.enabled = 1
AND (m.publish_up = '0000-00-00 00:00:00' OR m.publish_up <= '2019-12-14 08:12:26')
AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2019-12-14 08:12:26')
AND m.access IN (1,1,5)
AND m.client_id = 0
AND (mm.menuid = 173 OR mm.menuid <= 0)
AND m.language IN ('en-GB','*')
ORDER BY m.position, m.ordering
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | m | ref | PRIMARY,published,newsfeeds,idx_language | published | 1 | const | 34 | Using where; Using filesort |
1 | SIMPLE | mm | ref | PRIMARY | PRIMARY | 4 | iclbrandin_db.m.id | 1 | Using where; Using index |
1 | SIMPLE | e | ref | element_clientid,element_folder_clientid | element_clientid | 303 | iclbrandin_db.m.module,const | 1 | Using where |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/module/helper.php:376
JROOT/libraries/cms/module/helper.php:84
JROOT/libraries/joomla/document/html/html.php:510
JROOT/templates/icl/index.php:40
JROOT/libraries/joomla/document/html/html.php:576
JROOT/libraries/joomla/document/html/html.php:634
JROOT/libraries/joomla/document/html/html.php:452
JROOT/libraries/cms/application/cms.php:974
JROOT/libraries/cms/application/site.php:731
JROOT/libraries/cms/application/cms.php:257
JROOT/index.php:40
Query Time: 0.32 ms After last query: 5.78 ms Query memory: 0.018 MB Memory before query: 8.223 MB Rows returned: 0
SELECT m2.language, m2.id
FROM cp38l_menu as m
INNER JOIN cp38l_associations as a
ON a.id=m.id
AND a.context='com_menus.item'
INNER JOIN cp38l_associations as a2
ON a.key=a2.key
INNER JOIN cp38l_menu as m2
ON a2.id=m2.id
WHERE m.id=173
id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|
1 | SIMPLE | NULL | NULL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | NULL | Impossible WHERE noticed after reading const tables |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/administrator/components/com_menus/helpers/menus.php:257
JROOT/modules/mod_languages/helper.php:58
JROOT/modules/mod_languages/mod_languages.php:18
JROOT/libraries/cms/module/helper.php:190
JROOT/libraries/joomla/document/html/renderer/module.php:105
JROOT/libraries/joomla/document/html/renderer/modules.php:46
JROOT/libraries/joomla/document/html/html.php:408
JROOT/libraries/joomla/document/html/html.php:696
JROOT/libraries/joomla/document/html/html.php:474
JROOT/libraries/cms/application/cms.php:988
JROOT/libraries/cms/application/site.php:731
JROOT/libraries/cms/application/cms.php:257
JROOT/index.php:40
Query Time: 2.48 ms After last query: 7.36 ms Query memory: 0.003 MB Memory before query: 8.326 MB
UPDATE `cp38l_session`
SET `data` = '__default|a:9:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1576311146;s:18:\"session.timer.last\";i:1576311146;s:17:\"session.timer.now\";i:1576311146;s:24:\"session.client.forwarded\";s:13:\"3.234.214.179\";s:22:\"session.client.browser\";s:40:\"CCBot/2.0 (https://commoncrawl.org/faq/)\";s:8:\"registry\";O:24:\"Joomla\\Registry\\Registry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:4:\"user\";O:5:\"JUser\":25:{s:9:\"\\0\\0\\0isRoot\";N;s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:6:\"groups\";a:1:{i:0;s:1:\"9\";}s:5:\"guest\";i:1;s:13:\"lastResetTime\";N;s:10:\"resetCount\";N;s:12:\"requireReset\";N;s:10:\"\\0\\0\\0_params\";O:24:\"Joomla\\Registry\\Registry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:14:\"\\0\\0\\0_authGroups\";N;s:14:\"\\0\\0\\0_authLevels\";a:3:{i:0;i:1;i:1;i:1;i:2;i:5;}s:15:\"\\0\\0\\0_authActions\";N;s:12:\"\\0\\0\\0_errorMsg\";N;s:10:\"\\0\\0\\0_errors\";a:0:{}s:3:\"aid\";i:0;}s:13:\"session.token\";s:32:\"f35f272e488caff2c746e4bb01c71317\";}'
, `time` = '1576311146'
WHERE `session_id` = 'fftjt2gc221jem0jqi23otmjr1'
EXPLAIN not possible on query: UPDATE `cp38l_session`
SET `data` = '__default|a:9:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1576311146;s:18:\"session.timer.last\";i:1576311146;s:17:\"session.timer.now\";i:1576311146;s:24:\"session.client.forwarded\";s:13:\"3.234.214.179\";s:22:\"session.client.browser\";s:40:\"CCBot/2.0 (https://commoncrawl.org/faq/)\";s:8:\"registry\";O:24:\"Joomla\\Registry\\Registry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:4:\"user\";O:5:\"JUser\":25:{s:9:\"\\0\\0\\0isRoot\";N;s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:6:\"groups\";a:1:{i:0;s:1:\"9\";}s:5:\"guest\";i:1;s:13:\"lastResetTime\";N;s:10:\"resetCount\";N;s:12:\"requireReset\";N;s:10:\"\\0\\0\\0_params\";O:24:\"Joomla\\Registry\\Registry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:14:\"\\0\\0\\0_authGroups\";N;s:14:\"\\0\\0\\0_authLevels\";a:3:{i:0;i:1;i:1;i:1;i:2;i:5;}s:15:\"\\0\\0\\0_authActions\";N;s:12:\"\\0\\0\\0_errorMsg\";N;s:10:\"\\0\\0\\0_errors\";a:0:{}s:3:\"aid\";i:0;}s:13:\"session.token\";s:32:\"f35f272e488caff2c746e4bb01c71317\";}'
, `time` = '1576311146'
WHERE `session_id` = 'fftjt2gc221jem0jqi23otmjr1'
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/joomla/session/storage/database.php:85
2 × SELECT m2.language, m2.id
FROM cp38l_menu as m
INNER JOIN cp38l_associations as a
ON a.id=m.id
AND a.context='com_menus.item'
INNER JOIN cp38l_associations as a2
ON a.key=a2.key
INNER JOIN cp38l_menu as m2
ON a2.id=m2.id
1 × SELECT COUNT(*)
FROM `cp38l_icl_front_page_items` AS a
LEFT JOIN cp38l_users AS uc
ON uc.id=a.checked_out
LEFT JOIN cp38l_users AS created_by
ON created_by.id = a.created_by
LEFT JOIN cp38l_content AS cp38l_content_1521491
ON cp38l_content_1521491.id = a.scroll_to
1 × SELECT DISTINCT a.*,uc.name AS editor,cp38l_content_1521491.title AS content_title_1521491
FROM `cp38l_icl_front_page_items` AS a
LEFT JOIN cp38l_users AS uc
ON uc.id=a.checked_out
LEFT JOIN cp38l_users AS created_by
ON created_by.id = a.created_by
LEFT JOIN cp38l_content AS cp38l_content_1521491
ON cp38l_content_1521491.id = a.scroll_to
1 × SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,`m`.`browserNav`, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
FROM cp38l_menu AS m
LEFT JOIN cp38l_extensions AS e
ON m.component_id = e.extension_id
1 × SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM cp38l_modules AS m
LEFT JOIN cp38l_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN cp38l_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id
1 × SELECT COUNT(*)
FROM `cp38l_menu`
1 × SELECT `session_id`
FROM `cp38l_session`
1 × SELECT b.id
FROM cp38l_usergroups AS a
LEFT JOIN cp38l_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
1 × SELECT id, rules
FROM `cp38l_viewlevels
1 × SELECT `data`
FROM `cp38l_session`