SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001237s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001288s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000226s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000901s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000190s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000204s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000150s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.000271s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001080s ]
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 ( `partno` LIKE 'SS54%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001119s ]
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 ('4639397','5293387','9145381','4688','29047','27615','19657','18225','9147099','9147091','4639552','4639549') ORDER BY FIELD(s.id, 4639397,5293387,9145381,4688,29047,27615,19657,18225,9147099,9147091,4639552,4639549) [ RunTime:0.003658s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000932s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4639397 LIMIT 4 [ RunTime:0.000765s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001281s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639397 ORDER BY `minOrder` ASC [ RunTime:0.000736s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002896s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4639397 ORDER BY `unit` DESC [ RunTime:0.002424s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003050s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4639397 LIMIT 2 [ RunTime:0.003086s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639397 ORDER BY `minOrder` ASC [ RunTime:0.003391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5293387 LIMIT 4 [ RunTime:0.004343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5293387 ORDER BY `minOrder` ASC [ RunTime:0.001718s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5293387 ORDER BY `unit` DESC [ RunTime:0.001031s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5293387 LIMIT 2 [ RunTime:0.008182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5293387 ORDER BY `minOrder` ASC [ RunTime:0.000699s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9145381 LIMIT 4 [ RunTime:0.000809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9145381 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9145381 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9145381 LIMIT 2 [ RunTime:0.000378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9145381 ORDER BY `minOrder` ASC [ RunTime:0.000629s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4688 LIMIT 4 [ RunTime:0.001910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4688 ORDER BY `minOrder` ASC [ RunTime:0.003308s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4688 ORDER BY `unit` DESC [ RunTime:0.003406s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4688 LIMIT 2 [ RunTime:0.002088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4688 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002029s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29047 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29047 ORDER BY `minOrder` ASC [ RunTime:0.001419s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29047 ORDER BY `unit` DESC [ RunTime:0.000557s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29047 LIMIT 2 [ RunTime:0.000537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29047 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
select * from pdf where partno='SS54 SMB' and brandshort='NA' limit 1 [ RunTime:0.002138s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54 SMB' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.012470s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27615 LIMIT 4 [ RunTime:0.003042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27615 ORDER BY `minOrder` ASC [ RunTime:0.012851s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27615 ORDER BY `unit` DESC [ RunTime:0.002819s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27615 LIMIT 2 [ RunTime:0.006956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27615 ORDER BY `minOrder` ASC [ RunTime:0.000375s ]
select * from pdf where partno='SS54B' and brandshort='YANGJIE' limit 1 [ RunTime:0.001449s ]
select foldpath,foldpath2,filename from pdf_file where id=938513 limit 1 [ RunTime:0.003716s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54B' OR `brand` LIKE 'YANGJIE(扬杰)%' ) ) LIMIT 1 [ RunTime:0.002037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19657 LIMIT 4 [ RunTime:0.000883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19657 ORDER BY `minOrder` ASC [ RunTime:0.001816s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19657 ORDER BY `unit` DESC [ RunTime:0.009861s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19657 LIMIT 2 [ RunTime:0.000811s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19657 ORDER BY `minOrder` ASC [ RunTime:0.000832s ]
select * from pdf where partno='SS54 SMB' and brandshort='NA' limit 1 [ RunTime:0.000384s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54 SMB' OR `brand` LIKE 'NA%' ) ) LIMIT 1 [ RunTime:0.000362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 18225 LIMIT 4 [ RunTime:0.000490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18225 ORDER BY `minOrder` ASC [ RunTime:0.003694s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 18225 ORDER BY `unit` DESC [ RunTime:0.001609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 18225 LIMIT 2 [ RunTime:0.004635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 18225 ORDER BY `minOrder` ASC [ RunTime:0.001552s ]
select * from pdf where partno='SS54B' and brandshort='YANGJIE' limit 1 [ RunTime:0.000597s ]
select foldpath,foldpath2,filename from pdf_file where id=938513 limit 1 [ RunTime:0.000274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS54B' OR `brand` LIKE 'YANGJIE(扬杰)%' ) ) LIMIT 1 [ RunTime:0.000421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9147099 LIMIT 4 [ RunTime:0.000877s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147099 ORDER BY `minOrder` ASC [ RunTime:0.003368s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9147099 ORDER BY `unit` DESC [ RunTime:0.001199s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9147099 LIMIT 2 [ RunTime:0.007161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147099 ORDER BY `minOrder` ASC [ RunTime:0.000919s ]
select * from pdf where partno='SS549BT' and brandshort='Honeywell Sensing and Productivity Solutions' limit 1 [ RunTime:0.002106s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9147091 LIMIT 4 [ RunTime:0.001942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147091 ORDER BY `minOrder` ASC [ RunTime:0.008703s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9147091 ORDER BY `unit` DESC [ RunTime:0.006335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9147091 LIMIT 2 [ RunTime:0.001037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9147091 ORDER BY `minOrder` ASC [ RunTime:0.000757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4639552 LIMIT 4 [ RunTime:0.000721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639552 ORDER BY `minOrder` ASC [ RunTime:0.000511s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4639552 ORDER BY `unit` DESC [ RunTime:0.003111s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4639552 LIMIT 2 [ RunTime:0.004989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639552 ORDER BY `minOrder` ASC [ RunTime:0.001821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4639549 LIMIT 4 [ RunTime:0.003385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639549 ORDER BY `minOrder` ASC [ RunTime:0.006559s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4639549 ORDER BY `unit` DESC [ RunTime:0.004247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4639549 LIMIT 2 [ RunTime:0.006239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639549 ORDER BY `minOrder` ASC [ RunTime:0.000400s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'SS54%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001273s ]