SHOW FULL COLUMNS FROM `xkyx_classify` [ RunTime:0.000976s ]
SELECT * FROM `xkyx_classify` WHERE `pid` = 0 [ RunTime:0.000683s ]
SELECT * FROM `xkyx_classify` WHERE `pid` = 12 [ RunTime:0.000624s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 12 LIMIT 1 [ RunTime:0.000497s ]
SELECT * FROM `xkyx_classify` WHERE `pid` = 684 [ RunTime:0.000502s ]
SELECT `title` FROM `xkyx_classify` WHERE `id` = 684 LIMIT 1 [ RunTime:0.000495s ]
SHOW FULL COLUMNS FROM `xkyx_brand` [ RunTime:0.000827s ]
SELECT `title` FROM `xkyx_brand` WHERE `id` = 2057 LIMIT 1 [ RunTime:0.000403s ]
SHOW FULL COLUMNS FROM `xkyx_goods` [ RunTime:0.000862s ]
SELECT `b`.`title`,`b`.`id` FROM `xkyx_goods` `g` INNER JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` WHERE `g`.`g_c` = '12' AND `g`.`g_cs` = '684' AND `g`.`brand` = '2057' GROUP BY `brand` [ RunTime:0.001207s ]
SELECT COUNT(*) AS think_count FROM `xkyx_goods` `g` LEFT JOIN `xkyx_brand` `b` ON `g`.`brand`=`b`.`id` LEFT JOIN `xkyx_br_address` `br` ON `br`.`id`=`b`.`address` LEFT JOIN `xkyx_picture` `pic` ON `pic`.`id`=`g`.`pic` INNER JOIN `xkyx_goods_price` `gp` ON `g`.`id`=`gp`.`goods_id` INNER JOIN `xkyx_price` `p` ON `p`.`id`=`gp`.`price_id` INNER JOIN `xkyx_shopapp` `s` ON `g`.`sid`=`s`.`id` WHERE `g`.`g_c` = '12' AND `g`.`g_cs` = '684' AND `g`.`brand` = '2057' AND `g`.`use_shop` = '1' AND `p`.`default` = '1' LIMIT 1 [ RunTime:0.001064s ]