SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001080s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000475s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001441s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.188' ) [ RunTime:0.000254s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001096s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000283s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000229s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000268s ]
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.000412s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001324s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'BACC45FN20-41S%' AND `status` <> 2 ) [ RunTime:0.000940s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'BACC45FN20-41S%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000756s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2116013 LIMIT 4 [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001121s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2116013 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000944s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2116013 ORDER BY `unit` DESC [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2116013 LIMIT 2 [ RunTime:0.000164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2116013 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
select * from pdf where partno='BACC45FN20-41S7H' and brandshort='Cinch Connectivity Solutions' limit 1 [ RunTime:0.000457s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1532017 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1532017 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1532017 ORDER BY `unit` DESC [ RunTime:0.000200s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1532017 LIMIT 2 [ RunTime:0.000159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1532017 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
select * from pdf where partno='BACC45FN20-41S7' and brandshort='Cinch Connectivity Solutions' limit 1 [ RunTime:0.000579s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3324157 LIMIT 4 [ RunTime:0.000672s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3324157 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3324157 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3324157 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3324157 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
select * from pdf where partno='BACC45FN20-41SH' and brandshort='Cinch Connectivity Solutions' limit 1 [ RunTime:0.001324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1157484 LIMIT 4 [ RunTime:0.000558s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1157484 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1157484 ORDER BY `unit` DESC [ RunTime:0.000235s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1157484 LIMIT 2 [ RunTime:0.000224s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1157484 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
select * from pdf where partno='BACC45FN20-41S' and brandshort='Cinch Connectivity Solutions' limit 1 [ RunTime:0.000687s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5339 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5339 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5339 ORDER BY `unit` DESC [ RunTime:0.000276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5339 LIMIT 2 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5339 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BACC45FN20-41S' OR `brand` LIKE 'CINCH CONNECTIVITY SOLUTIONS%' ) ) LIMIT 1 [ RunTime:0.000887s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'BACC45FN20-41S%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000540s ]