SHOW FULL COLUMNS FROM `tp_system` [ RunTime:0.000722s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000396s ]
SELECT * FROM `tp_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000347s ]
SHOW FULL COLUMNS FROM `tp_cate` [ RunTime:0.000559s ]
SELECT `module_id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.000211s ]
SHOW FULL COLUMNS FROM `tp_module` [ RunTime:0.000488s ]
SELECT `table_name` FROM `tp_module` WHERE `id` = 22 LIMIT 1 [ RunTime:0.000212s ]
SHOW FULL COLUMNS FROM `tp_field` [ RunTime:0.000492s ]
SELECT * FROM `tp_field` WHERE `module_id` = 22 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000741s ]
SELECT `id` FROM `tp_cate` WHERE `cate_folder` = 'Product' LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `tp_cate` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000284s ]
SELECT `id`,`parent_id` FROM `tp_cate` [ RunTime:0.000196s ]
SHOW FULL COLUMNS FROM `tp_page` [ RunTime:0.000446s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000237s ]
SELECT * FROM `tp_page` WHERE `cate_id` = 18 AND `status` = 1 LIMIT 1 [ RunTime:0.000243s ]
SHOW FULL COLUMNS FROM `tp_item` [ RunTime:0.000505s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 114 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000351s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000301s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000308s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 116 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000296s ]
SELECT `id`,`title` FROM `tp_item` WHERE `pid` = 416 AND `status` = 1 ORDER BY `sort` ASC,`id` ASC [ RunTime:0.000308s ]
SHOW FULL COLUMNS FROM `tp_product` [ RunTime:0.000581s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `tp_product` WHERE ( status = 1 and (items in (416)) ) GROUP BY `title` ) `_group_count_` [ RunTime:0.001145s ]
SELECT * FROM `tp_product` WHERE ( status = 1 and (items in (416)) ) GROUP BY `title` ORDER BY `sort` ASC,`id` DESC LIMIT 0,12 [ RunTime:0.002934s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.000814s ]
SELECT COUNT(*) AS think_count FROM ( SELECT count(*) AS think_count FROM `tp_product` WHERE ( status = 1 and (items in (416)) ) GROUP BY `title` ) `_group_count_` [ RunTime:0.000977s ]
SELECT * FROM `tp_product` WHERE ( status = 1 and (items in (416)) ) GROUP BY `title` ORDER BY `sort` ASC,`id` DESC LIMIT 0,12 [ RunTime:0.002852s ]
SELECT COUNT(*) AS think_count FROM `tp_product` WHERE ( status =1 and title = '應急照明配電箱' ) [ RunTime:0.000796s ]