SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002160s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.008492s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002442s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.138' ) [ RunTime:0.004300s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001921s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000327s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 273 LIMIT 1 [ RunTime:0.000631s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 273 [ RunTime:0.000225s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002099s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 273 ) AND `u`.`lockUser` = '0' [ RunTime:0.001581s ]
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` <> 2 AND `categoryid` = 273 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000825s ]
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 ('13791','13622','231','13390','13620','233','232','13388','13623','229','230','13621','221') ORDER BY FIELD(s.id, 13791,13622,231,13390,13620,233,232,13388,13623,229,230,13621,221) [ RunTime:0.002309s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13791 LIMIT 4 [ RunTime:0.004106s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.007369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13791 ORDER BY `minOrder` ASC [ RunTime:0.006574s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13791 ORDER BY `unit` DESC [ RunTime:0.001501s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001992s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13791 LIMIT 2 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13791 ORDER BY `minOrder` ASC [ RunTime:0.001431s ]
select * from pdf where partno='926898-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.006964s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002353s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '926898-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004850s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13622 LIMIT 4 [ RunTime:0.001533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13622 ORDER BY `minOrder` ASC [ RunTime:0.017822s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13622 ORDER BY `unit` DESC [ RunTime:0.023708s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13622 LIMIT 2 [ RunTime:0.010812s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13622 ORDER BY `minOrder` ASC [ RunTime:0.012616s ]
select * from pdf where partno='206061-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.012058s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206061-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.018191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 231 LIMIT 4 [ RunTime:0.021598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.022561s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 231 ORDER BY `unit` DESC [ RunTime:0.022010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 231 LIMIT 2 [ RunTime:0.005559s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.010400s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206705-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.013103s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13390 LIMIT 4 [ RunTime:0.008183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13390 ORDER BY `minOrder` ASC [ RunTime:0.000794s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13390 ORDER BY `unit` DESC [ RunTime:0.000454s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13390 LIMIT 2 [ RunTime:0.013179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13390 ORDER BY `minOrder` ASC [ RunTime:0.010883s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '183040-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.024369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13620 LIMIT 4 [ RunTime:0.012305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13620 ORDER BY `minOrder` ASC [ RunTime:0.001195s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13620 ORDER BY `unit` DESC [ RunTime:0.000360s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13620 LIMIT 2 [ RunTime:0.000342s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13620 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206705-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.015582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 233 LIMIT 4 [ RunTime:0.003194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 233 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 233 ORDER BY `unit` DESC [ RunTime:0.001649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 233 LIMIT 2 [ RunTime:0.007077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 233 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
select * from pdf where partno='206151-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.003553s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206151-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 232 LIMIT 4 [ RunTime:0.003381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.008257s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 232 ORDER BY `unit` DESC [ RunTime:0.008836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 232 LIMIT 2 [ RunTime:0.007286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.001716s ]
select * from pdf where partno='206036-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001411s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206036-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001811s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13388 LIMIT 4 [ RunTime:0.000751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.000943s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13388 ORDER BY `unit` DESC [ RunTime:0.002280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13388 LIMIT 2 [ RunTime:0.006836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211768-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.028138s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13623 LIMIT 4 [ RunTime:0.012491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13623 ORDER BY `minOrder` ASC [ RunTime:0.022894s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13623 ORDER BY `unit` DESC [ RunTime:0.002960s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13623 LIMIT 2 [ RunTime:0.002672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13623 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206838-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 229 LIMIT 4 [ RunTime:0.000628s ]
SELECT * FROM `stock_price` WHERE `stockid` = 229 ORDER BY `minOrder` ASC [ RunTime:0.000589s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 229 ORDER BY `unit` DESC [ RunTime:0.005002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 229 LIMIT 2 [ RunTime:0.003507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 229 ORDER BY `minOrder` ASC [ RunTime:0.007683s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206153-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.023132s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 230 LIMIT 4 [ RunTime:0.002667s ]
SELECT * FROM `stock_price` WHERE `stockid` = 230 ORDER BY `minOrder` ASC [ RunTime:0.004576s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 230 ORDER BY `unit` DESC [ RunTime:0.000494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 230 LIMIT 2 [ RunTime:0.000460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 230 ORDER BY `minOrder` ASC [ RunTime:0.002330s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206838-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.006512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13621 LIMIT 4 [ RunTime:0.016095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13621 ORDER BY `minOrder` ASC [ RunTime:0.017319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13621 ORDER BY `unit` DESC [ RunTime:0.014555s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13621 LIMIT 2 [ RunTime:0.004345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13621 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
select * from pdf where partno='206036-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.016521s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206036-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 221 LIMIT 4 [ RunTime:0.014117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 221 ORDER BY `minOrder` ASC [ RunTime:0.035406s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 221 ORDER BY `unit` DESC [ RunTime:0.010277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 221 LIMIT 2 [ RunTime:0.003492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 221 ORDER BY `minOrder` ASC [ RunTime:0.009588s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211767-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.016691s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 273 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.022388s ]