SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002023s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000647s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002988s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.101' ) [ RunTime:0.000435s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002049s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000291s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 273 LIMIT 1 [ RunTime:0.000369s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 273 [ RunTime:0.000291s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000260s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.004199s ]
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.001932s ]
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.000824s ]
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.001662s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13791 LIMIT 4 [ RunTime:0.000352s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001065s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13791 ORDER BY `minOrder` ASC [ RunTime:0.002934s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13791 ORDER BY `unit` DESC [ RunTime:0.000639s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13791 LIMIT 2 [ RunTime:0.000589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13791 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='926898-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001342s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001650s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '926898-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000957s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13622 LIMIT 4 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13622 ORDER BY `minOrder` ASC [ RunTime:0.000659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13622 ORDER BY `unit` DESC [ RunTime:0.000347s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13622 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13622 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='206061-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001951s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206061-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000933s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 231 LIMIT 4 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.002350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 231 ORDER BY `unit` DESC [ RunTime:0.001408s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 231 LIMIT 2 [ RunTime:0.000521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 231 ORDER BY `minOrder` ASC [ RunTime:0.000248s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206705-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000946s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13390 LIMIT 4 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13390 ORDER BY `minOrder` ASC [ RunTime:0.000726s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13390 ORDER BY `unit` DESC [ RunTime:0.000293s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13390 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13390 ORDER BY `minOrder` ASC [ RunTime:0.000233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '183040-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.016066s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13620 LIMIT 4 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13620 ORDER BY `minOrder` ASC [ RunTime:0.000466s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13620 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13620 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13620 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206705-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001055s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 233 LIMIT 4 [ RunTime:0.000383s ]
SELECT * FROM `stock_price` WHERE `stockid` = 233 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 233 ORDER BY `unit` DESC [ RunTime:0.000303s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 233 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 233 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
select * from pdf where partno='206151-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206151-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000738s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 232 LIMIT 4 [ RunTime:0.000381s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.000404s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 232 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 232 LIMIT 2 [ RunTime:0.000596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
select * from pdf where partno='206036-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.002042s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206036-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001578s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13388 LIMIT 4 [ RunTime:0.000343s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13388 ORDER BY `unit` DESC [ RunTime:0.000423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13388 LIMIT 2 [ RunTime:0.000606s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13388 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211768-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.012597s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13623 LIMIT 4 [ RunTime:0.000715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13623 ORDER BY `minOrder` ASC [ RunTime:0.000617s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13623 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13623 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13623 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206838-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000617s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 229 LIMIT 4 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 229 ORDER BY `minOrder` ASC [ RunTime:0.000476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 229 ORDER BY `unit` DESC [ RunTime:0.000393s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 229 LIMIT 2 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 229 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206153-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 230 LIMIT 4 [ RunTime:0.000610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 230 ORDER BY `minOrder` ASC [ RunTime:0.000471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 230 ORDER BY `unit` DESC [ RunTime:0.000397s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 230 LIMIT 2 [ RunTime:0.000367s ]
SELECT * FROM `stock_price` WHERE `stockid` = 230 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206838-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000846s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13621 LIMIT 4 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13621 ORDER BY `minOrder` ASC [ RunTime:0.000471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13621 ORDER BY `unit` DESC [ RunTime:0.000561s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13621 LIMIT 2 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13621 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
select * from pdf where partno='206036-3' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000632s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206036-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001072s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 221 LIMIT 4 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 221 ORDER BY `minOrder` ASC [ RunTime:0.001240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 221 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 221 LIMIT 2 [ RunTime:0.000387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 221 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '211767-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000695s ]
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.001226s ]