SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001772s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000473s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002040s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001759s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002936s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 279 LIMIT 1 [ RunTime:0.000301s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 279 [ RunTime:0.000217s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.005343s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002287s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 279 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000387s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('7876','10663','10659','16661','15642','601','13319','1796','7881','7880','602') ORDER BY FIELD(s.id, 7876,10663,10659,16661,15642,601,13319,1796,7881,7880,602) [ RunTime:0.000577s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7876 LIMIT 4 [ RunTime:0.000236s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7876 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7876 ORDER BY `unit` DESC [ RunTime:0.000239s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001605s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7876 LIMIT 2 [ RunTime:0.006464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7876 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
select * from pdf where partno='NC5MX' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000620s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC5MX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10663 LIMIT 4 [ RunTime:0.000391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10663 ORDER BY `unit` DESC [ RunTime:0.000381s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10663 LIMIT 2 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10663 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3FX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10659 LIMIT 4 [ RunTime:0.000362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10659 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10659 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10659 LIMIT 2 [ RunTime:0.000361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10659 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
select * from pdf where partno='NC3MX' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3MX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16661 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16661 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16661 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16661 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16661 ORDER BY `minOrder` ASC [ RunTime:0.000361s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000516s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000386s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15642 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15642 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15642 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15642 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15642 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000588s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 601 LIMIT 4 [ RunTime:0.000215s ]
SELECT * FROM `stock_price` WHERE `stockid` = 601 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 601 ORDER BY `unit` DESC [ RunTime:0.000186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 601 LIMIT 2 [ RunTime:0.000190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 601 ORDER BY `minOrder` ASC [ RunTime:0.000185s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4MXX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13319 LIMIT 4 [ RunTime:0.000201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13319 ORDER BY `minOrder` ASC [ RunTime:0.000190s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13319 ORDER BY `unit` DESC [ RunTime:0.000184s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13319 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13319 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
select * from pdf where partno='NA2MBNC' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000282s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NA2MBNC' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1796 LIMIT 4 [ RunTime:0.000164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1796 ORDER BY `minOrder` ASC [ RunTime:0.000148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1796 ORDER BY `unit` DESC [ RunTime:0.000149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1796 LIMIT 2 [ RunTime:0.000171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1796 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC3FD-LX' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7881 LIMIT 4 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7881 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7881 ORDER BY `unit` DESC [ RunTime:0.000185s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7881 LIMIT 2 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7881 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='NC4FX-B' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000231s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4FX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7880 LIMIT 4 [ RunTime:0.000187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7880 ORDER BY `unit` DESC [ RunTime:0.000187s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7880 LIMIT 2 [ RunTime:0.000183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.000173s ]
select * from pdf where partno='NC5MX-B' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC5MX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 602 LIMIT 4 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 602 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 602 ORDER BY `unit` DESC [ RunTime:0.000144s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 602 LIMIT 2 [ RunTime:0.000142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 602 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC4MXX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 279 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000243s ]