SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002241s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000482s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002441s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.21' ) [ RunTime:0.000306s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001793s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000325s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 643 LIMIT 1 [ RunTime:0.000766s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 643 [ RunTime:0.000228s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000233s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002126s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 643 ) AND `u`.`lockUser` = '0' [ RunTime:0.002418s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` = 4 AND `status` <> 2 AND `categoryid` = 643 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007918s ]
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 = 1) ) AND `s`.`id` IN ('15987','15895','15855','15837','15709','15264','15186') ORDER BY FIELD(s.id, 15987,15895,15855,15837,15709,15264,15186) [ RunTime:0.003523s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001904s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15987 LIMIT 4 [ RunTime:0.006257s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15987 ORDER BY `minOrder` ASC [ RunTime:0.003234s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001634s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15987 ORDER BY `unit` DESC [ RunTime:0.000565s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001486s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15987 LIMIT 2 [ RunTime:0.000949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15987 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
select * from pdf where partno='STC3100IST' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.002161s ]
select foldpath,foldpath2,filename from pdf_file where id=784856 limit 1 [ RunTime:0.003120s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002640s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001597s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15895 LIMIT 4 [ RunTime:0.008394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15895 ORDER BY `minOrder` ASC [ RunTime:0.007120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15895 ORDER BY `unit` DESC [ RunTime:0.001288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15895 LIMIT 2 [ RunTime:0.000631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15895 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
select * from pdf where partno='MAX77860EWG+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.001994s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX77860EWG+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.007032s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15855 LIMIT 4 [ RunTime:0.004711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15855 ORDER BY `minOrder` ASC [ RunTime:0.005901s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15855 ORDER BY `unit` DESC [ RunTime:0.001912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15855 LIMIT 2 [ RunTime:0.009714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15855 ORDER BY `minOrder` ASC [ RunTime:0.000458s ]
select * from pdf where partno='CH74-2032LF' and brandshort='MULTICOMP' limit 1 [ RunTime:0.001973s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.002424s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15837 LIMIT 4 [ RunTime:0.002162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15837 ORDER BY `minOrder` ASC [ RunTime:0.001381s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15837 ORDER BY `unit` DESC [ RunTime:0.019719s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15837 LIMIT 2 [ RunTime:0.020706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15837 ORDER BY `minOrder` ASC [ RunTime:0.011689s ]
select * from pdf where partno='MAX77960EFV06+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.013559s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX77960EFV06+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.004916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15709 LIMIT 4 [ RunTime:0.019917s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15709 ORDER BY `minOrder` ASC [ RunTime:0.026216s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15709 ORDER BY `unit` DESC [ RunTime:0.011906s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15709 LIMIT 2 [ RunTime:0.009807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15709 ORDER BY `minOrder` ASC [ RunTime:0.003601s ]
select * from pdf where partno='BQMTESTER' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.015717s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BQMTESTER' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.008453s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264 LIMIT 4 [ RunTime:0.008263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.000805s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264 ORDER BY `unit` DESC [ RunTime:0.000638s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264 LIMIT 2 [ RunTime:0.002533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.005080s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.003811s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.002743s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15186 LIMIT 4 [ RunTime:0.008030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15186 ORDER BY `minOrder` ASC [ RunTime:0.007327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15186 ORDER BY `unit` DESC [ RunTime:0.001133s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15186 LIMIT 2 [ RunTime:0.001014s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15186 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='228' and brandshort='KEYSTONE' limit 1 [ RunTime:0.003173s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '228' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.006740s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` = 4 AND `status` <> 2 AND `categoryid` = 643 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.007705s ]