SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001606s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000523s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001317s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000311s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001112s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000244s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000418s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.002615s ]
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.000437s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001494s ]
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.007661s ]
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.010673s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001448s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3962240 LIMIT 4 [ RunTime:0.002372s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3962240 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3962240 ORDER BY `unit` DESC [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3962240 LIMIT 2 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3962240 ORDER BY `minOrder` ASC [ RunTime:0.001900s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11689 LIMIT 4 [ RunTime:0.000752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11689 ORDER BY `minOrder` ASC [ RunTime:0.006652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11689 ORDER BY `unit` DESC [ RunTime:0.001351s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11689 LIMIT 2 [ RunTime:0.001000s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11689 ORDER BY `minOrder` ASC [ RunTime:0.002916s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001072s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DR-25-1/2-0' OR `brand` LIKE 'RAYCHEM - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005527s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6407412 LIMIT 4 [ RunTime:0.007338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407412 ORDER BY `minOrder` ASC [ RunTime:0.000662s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6407412 ORDER BY `unit` DESC [ RunTime:0.008132s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6407412 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407412 ORDER BY `minOrder` ASC [ RunTime:0.000656s ]
select * from pdf where partno='DR-25-1/2-0-SP' and brandshort='TE Connectivity Aerospace, Defense and Marine' limit 1 [ RunTime:0.001966s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6407276 LIMIT 4 [ RunTime:0.002447s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407276 ORDER BY `minOrder` ASC [ RunTime:0.001157s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6407276 ORDER BY `unit` DESC [ RunTime:0.002754s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6407276 LIMIT 2 [ RunTime:0.001161s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407276 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6407050 LIMIT 4 [ RunTime:0.003139s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407050 ORDER BY `minOrder` ASC [ RunTime:0.001858s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6407050 ORDER BY `unit` DESC [ RunTime:0.001986s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6407050 LIMIT 2 [ RunTime:0.000316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407050 ORDER BY `minOrder` ASC [ RunTime:0.004287s ]
select * from pdf where partno='DR-25-1/2-0-CS-34034' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.000871s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6407049 LIMIT 4 [ RunTime:0.005376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407049 ORDER BY `minOrder` ASC [ RunTime:0.005315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6407049 ORDER BY `unit` DESC [ RunTime:0.002514s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6407049 LIMIT 2 [ RunTime:0.002864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6407049 ORDER BY `minOrder` ASC [ RunTime:0.002115s ]
select * from pdf where partno='DR-25-1/2-0-SP-CS7143' and brandshort='TE Connectivity Raychem Cable Protection' limit 1 [ RunTime:0.003398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6402541 LIMIT 4 [ RunTime:0.003595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6402541 ORDER BY `minOrder` ASC [ RunTime:0.000632s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6402541 ORDER BY `unit` DESC [ RunTime:0.005226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6402541 LIMIT 2 [ RunTime:0.003974s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6402541 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
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.003119s ]