SHOW FULL COLUMNS FROM `product_category` [ RunTime:0.000836s ]
SELECT * FROM `product_category` WHERE `status` = 1 ORDER BY `sort` ASC,`categoryid` ASC [ RunTime:0.001132s ]
SHOW FULL COLUMNS FROM `setting` [ RunTime:0.000592s ]
SELECT * FROM `product_category` WHERE `categoryid` = 31505 LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `product_category` WHERE `categoryid` = 0 [ RunTime:0.000227s ]
SELECT `categoryid` FROM `product_category` WHERE ( find_in_set(31505, parentsid) ) AND `status` = 1 [ RunTime:0.000195s ]
SHOW FULL COLUMNS FROM `product` [ RunTime:0.000390s ]
SELECT `p`.* FROM `product` `p` LEFT JOIN `product_sku_item` `psi` ON `p`.`productid`=`psi`.`productid` WHERE `p`.`categoryid` IN ('31506','31507','31508','31509','31505') AND `p`.`status` = '1' GROUP BY `p`.`productid` LIMIT 0,24 [ RunTime:0.000241s ]
SHOW FULL COLUMNS FROM `product_spec_item` [ RunTime:0.000342s ]
SELECT pspi.specid,pspi.itemid,pspi.value,count(*) FROM `product_spec_item` `pspi` LEFT JOIN `product_sku_item` `psi` ON `pspi`.`itemid`=`psi`.`itemid` LEFT JOIN `product_sku` `ps` ON `psi`.`skuid`=`ps`.`skuid` LEFT JOIN `product` `p` ON `psi`.`productid`=`p`.`productid` WHERE `p`.`categoryid` IN ('31506','31507','31508','31509','31505') AND `ps`.`stock` > '0' GROUP BY `pspi`.`itemid` [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `product_spec` [ RunTime:0.000363s ]
SELECT * FROM `product_spec` WHERE 0 = 1 [ RunTime:0.000156s ]