SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001037s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000474s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001737s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.113' ) [ RunTime:0.000675s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001500s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002683s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 643 LIMIT 1 [ RunTime:0.000394s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 643 [ RunTime:0.001935s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 49 [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002626s ]
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.003387s ]
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.001071s ]
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.006986s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15987 LIMIT 4 [ RunTime:0.000554s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15987 ORDER BY `minOrder` ASC [ RunTime:0.001999s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15987 ORDER BY `unit` DESC [ RunTime:0.007685s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15987 LIMIT 2 [ RunTime:0.000719s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15987 ORDER BY `minOrder` ASC [ RunTime:0.000311s ]
select * from pdf where partno='STC3100IST' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.001677s ]
select foldpath,foldpath2,filename from pdf_file where id=784856 limit 1 [ RunTime:0.002045s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002435s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STC3100IST' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001827s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15895 LIMIT 4 [ RunTime:0.001440s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15895 ORDER BY `minOrder` ASC [ RunTime:0.001818s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15895 ORDER BY `unit` DESC [ RunTime:0.002503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15895 LIMIT 2 [ RunTime:0.008060s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15895 ORDER BY `minOrder` ASC [ RunTime:0.007820s ]
select * from pdf where partno='MAX77860EWG+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.011477s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX77860EWG+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.026619s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15855 LIMIT 4 [ RunTime:0.019981s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15855 ORDER BY `minOrder` ASC [ RunTime:0.007987s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15855 ORDER BY `unit` DESC [ RunTime:0.011290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15855 LIMIT 2 [ RunTime:0.014139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15855 ORDER BY `minOrder` ASC [ RunTime:0.009020s ]
select * from pdf where partno='CH74-2032LF' and brandshort='MULTICOMP' limit 1 [ RunTime:0.011326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CH74-2032LF' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.015285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15837 LIMIT 4 [ RunTime:0.002290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15837 ORDER BY `minOrder` ASC [ RunTime:0.007410s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15837 ORDER BY `unit` DESC [ RunTime:0.005157s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15837 LIMIT 2 [ RunTime:0.017507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15837 ORDER BY `minOrder` ASC [ RunTime:0.008342s ]
select * from pdf where partno='MAX77960EFV06+' and brandshort='ANALOG DEVICES' limit 1 [ RunTime:0.000625s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX77960EFV06+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.001254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15709 LIMIT 4 [ RunTime:0.001150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15709 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15709 ORDER BY `unit` DESC [ RunTime:0.002800s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15709 LIMIT 2 [ RunTime:0.002080s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15709 ORDER BY `minOrder` ASC [ RunTime:0.039025s ]
select * from pdf where partno='BQMTESTER' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.007700s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BQMTESTER' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.005081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15264 LIMIT 4 [ RunTime:0.004729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.004213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15264 ORDER BY `unit` DESC [ RunTime:0.001466s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15264 LIMIT 2 [ RunTime:0.001323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15264 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='3013' and brandshort='KEYSTONE' limit 1 [ RunTime:0.004747s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3013' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.002995s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15186 LIMIT 4 [ RunTime:0.003241s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15186 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15186 ORDER BY `unit` DESC [ RunTime:0.000727s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15186 LIMIT 2 [ RunTime:0.000430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15186 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
select * from pdf where partno='228' and brandshort='KEYSTONE' limit 1 [ RunTime:0.008156s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '228' OR `brand` LIKE 'KEYSTONE%' ) ) LIMIT 1 [ RunTime:0.008687s ]
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.002516s ]