SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002036s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000519s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002039s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000328s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002225s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000293s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000285s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000224s ]
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.000382s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002113s ]
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 'DR-25-1/2-0%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001884s ]
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 ('3962240','11689','6407412','6407276','6407050','6407049','6402541') ORDER BY FIELD(s.id, 3962240,11689,6407412,6407276,6407050,6407049,6402541) [ RunTime:0.004246s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002121s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3962240 LIMIT 4 [ RunTime:0.004396s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001131s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3962240 ORDER BY `minOrder` ASC [ RunTime:0.006132s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002704s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3962240 ORDER BY `unit` DESC [ RunTime:0.003650s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001006s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3962240 LIMIT 2 [ RunTime:0.002089s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3962240 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11689 LIMIT 4 [ RunTime:0.003371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11689 ORDER BY `minOrder` ASC [ RunTime:0.002076s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11689 ORDER BY `unit` DESC [ RunTime:0.001402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11689 LIMIT 2 [ RunTime:0.001037s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11689 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001152s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DR-25-1/2-0' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000827s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6407412 LIMIT 4 [ RunTime:0.000501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407412 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6407412 ORDER BY `unit` DESC [ RunTime:0.002261s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6407412 LIMIT 2 [ RunTime:0.004682s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407412 ORDER BY `minOrder` ASC [ RunTime:0.002853s ]
select * from pdf where partno='DR-25-1/2-0-SP' and brandshort='TE Connectivity Aerospace, Defense and Marine' limit 1 [ RunTime:0.001665s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6407276 LIMIT 4 [ RunTime:0.001726s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407276 ORDER BY `minOrder` ASC [ RunTime:0.001943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6407276 ORDER BY `unit` DESC [ RunTime:0.000521s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6407276 LIMIT 2 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407276 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6407050 LIMIT 4 [ RunTime:0.000797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407050 ORDER BY `minOrder` ASC [ RunTime:0.008120s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6407050 ORDER BY `unit` DESC [ RunTime:0.002669s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6407050 LIMIT 2 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407050 ORDER BY `minOrder` ASC [ RunTime:0.001110s ]
select * from pdf where partno='DR-25-1/2-0-CS-34034' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.000921s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6407049 LIMIT 4 [ RunTime:0.001343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407049 ORDER BY `minOrder` ASC [ RunTime:0.000762s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6407049 ORDER BY `unit` DESC [ RunTime:0.008369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6407049 LIMIT 2 [ RunTime:0.001601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407049 ORDER BY `minOrder` ASC [ RunTime:0.000975s ]
select * from pdf where partno='DR-25-1/2-0-SP-CS7143' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.000922s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6402541 LIMIT 4 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6402541 ORDER BY `minOrder` ASC [ RunTime:0.001173s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6402541 ORDER BY `unit` DESC [ RunTime:0.000952s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6402541 LIMIT 2 [ RunTime:0.000603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6402541 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'DR-25-1/2-0%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003113s ]