SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001354s ]
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.001263s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.005788s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001536s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000285s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000296s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000191s ]
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.005029s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001547s ]
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 'DS2431%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003142s ]
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 ('5988287','9021117','9021118','9021140','9027937','5251982','5251110','5250209','5251103','9027946','8055','5988284','9012138','9008335','5253530','4615112','4614752','4613988','4610521') ORDER BY FIELD(s.id, 5988287,9021117,9021118,9021140,9027937,5251982,5251110,5250209,5251103,9027946,8055,5988284,9012138,9008335,5253530,4615112,4614752,4613988,4610521) [ RunTime:0.004477s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5988287 LIMIT 4 [ RunTime:0.000921s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5988287 ORDER BY `minOrder` ASC [ RunTime:0.000477s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001806s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5988287 ORDER BY `unit` DESC [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5988287 LIMIT 2 [ RunTime:0.001543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5988287 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9021117 LIMIT 4 [ RunTime:0.000616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021117 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9021117 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9021117 LIMIT 2 [ RunTime:0.000762s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021117 ORDER BY `minOrder` ASC [ RunTime:0.000719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9021118 LIMIT 4 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021118 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9021118 ORDER BY `unit` DESC [ RunTime:0.002262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9021118 LIMIT 2 [ RunTime:0.002634s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021118 ORDER BY `minOrder` ASC [ RunTime:0.000501s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9021140 LIMIT 4 [ RunTime:0.000513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021140 ORDER BY `minOrder` ASC [ RunTime:0.003243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9021140 ORDER BY `unit` DESC [ RunTime:0.001431s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9021140 LIMIT 2 [ RunTime:0.001035s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021140 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9027937 LIMIT 4 [ RunTime:0.000855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9027937 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9027937 ORDER BY `unit` DESC [ RunTime:0.000300s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9027937 LIMIT 2 [ RunTime:0.000295s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9027937 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5251982 LIMIT 4 [ RunTime:0.000500s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251982 ORDER BY `minOrder` ASC [ RunTime:0.000607s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5251982 ORDER BY `unit` DESC [ RunTime:0.006441s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5251982 LIMIT 2 [ RunTime:0.000815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251982 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5251110 LIMIT 4 [ RunTime:0.000886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251110 ORDER BY `minOrder` ASC [ RunTime:0.000601s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5251110 ORDER BY `unit` DESC [ RunTime:0.002042s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5251110 LIMIT 2 [ RunTime:0.004796s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251110 ORDER BY `minOrder` ASC [ RunTime:0.005007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5250209 LIMIT 4 [ RunTime:0.002442s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5250209 ORDER BY `minOrder` ASC [ RunTime:0.004364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5250209 ORDER BY `unit` DESC [ RunTime:0.001828s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5250209 LIMIT 2 [ RunTime:0.004176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5250209 ORDER BY `minOrder` ASC [ RunTime:0.002443s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5251103 LIMIT 4 [ RunTime:0.003648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251103 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5251103 ORDER BY `unit` DESC [ RunTime:0.000566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5251103 LIMIT 2 [ RunTime:0.002328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251103 ORDER BY `minOrder` ASC [ RunTime:0.001344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9027946 LIMIT 4 [ RunTime:0.003395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9027946 ORDER BY `minOrder` ASC [ RunTime:0.000439s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9027946 ORDER BY `unit` DESC [ RunTime:0.001958s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9027946 LIMIT 2 [ RunTime:0.011957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9027946 ORDER BY `minOrder` ASC [ RunTime:0.000541s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8055 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8055 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8055 ORDER BY `unit` DESC [ RunTime:0.000400s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8055 LIMIT 2 [ RunTime:0.000374s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8055 ORDER BY `minOrder` ASC [ RunTime:0.000374s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002076s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS2431+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5988284 LIMIT 4 [ RunTime:0.002189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5988284 ORDER BY `minOrder` ASC [ RunTime:0.001563s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5988284 ORDER BY `unit` DESC [ RunTime:0.000965s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5988284 LIMIT 2 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5988284 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9012138 LIMIT 4 [ RunTime:0.000814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9012138 ORDER BY `minOrder` ASC [ RunTime:0.000527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9012138 ORDER BY `unit` DESC [ RunTime:0.006508s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9012138 LIMIT 2 [ RunTime:0.004000s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9012138 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9008335 LIMIT 4 [ RunTime:0.000767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9008335 ORDER BY `minOrder` ASC [ RunTime:0.001782s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9008335 ORDER BY `unit` DESC [ RunTime:0.003938s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9008335 LIMIT 2 [ RunTime:0.010938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9008335 ORDER BY `minOrder` ASC [ RunTime:0.002475s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5253530 LIMIT 4 [ RunTime:0.010525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5253530 ORDER BY `minOrder` ASC [ RunTime:0.003900s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5253530 ORDER BY `unit` DESC [ RunTime:0.000527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5253530 LIMIT 2 [ RunTime:0.001301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5253530 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4615112 LIMIT 4 [ RunTime:0.000816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4615112 ORDER BY `minOrder` ASC [ RunTime:0.000503s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4615112 ORDER BY `unit` DESC [ RunTime:0.000544s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4615112 LIMIT 2 [ RunTime:0.000890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4615112 ORDER BY `minOrder` ASC [ RunTime:0.001524s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4614752 LIMIT 4 [ RunTime:0.002378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4614752 ORDER BY `minOrder` ASC [ RunTime:0.003741s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4614752 ORDER BY `unit` DESC [ RunTime:0.001846s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4614752 LIMIT 2 [ RunTime:0.001526s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4614752 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4613988 LIMIT 4 [ RunTime:0.000702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613988 ORDER BY `minOrder` ASC [ RunTime:0.002338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4613988 ORDER BY `unit` DESC [ RunTime:0.001055s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4613988 LIMIT 2 [ RunTime:0.002953s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613988 ORDER BY `minOrder` ASC [ RunTime:0.003136s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4610521 LIMIT 4 [ RunTime:0.000791s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4610521 ORDER BY `minOrder` ASC [ RunTime:0.005034s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4610521 ORDER BY `unit` DESC [ RunTime:0.009130s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4610521 LIMIT 2 [ RunTime:0.000523s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4610521 ORDER BY `minOrder` ASC [ RunTime:0.000352s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'DS2431%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001433s ]