SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002359s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000592s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002479s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000377s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002054s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000324s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000385s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000264s ]
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.000451s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002497s ]
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.000658s ]
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.000691s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001045s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5988287 LIMIT 4 [ RunTime:0.000175s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000825s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5988287 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5988287 ORDER BY `unit` DESC [ RunTime:0.000170s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000808s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5988287 LIMIT 2 [ RunTime:0.000163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5988287 ORDER BY `minOrder` ASC [ RunTime:0.000146s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9021117 LIMIT 4 [ RunTime:0.000155s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021117 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9021117 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9021117 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021117 ORDER BY `minOrder` ASC [ RunTime:0.000141s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9021118 LIMIT 4 [ RunTime:0.000150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021118 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9021118 ORDER BY `unit` DESC [ RunTime:0.000148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9021118 LIMIT 2 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021118 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9021140 LIMIT 4 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021140 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9021140 ORDER BY `unit` DESC [ RunTime:0.000207s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9021140 LIMIT 2 [ RunTime:0.000166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9021140 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9027937 LIMIT 4 [ RunTime:0.000170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9027937 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9027937 ORDER BY `unit` DESC [ RunTime:0.000212s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9027937 LIMIT 2 [ RunTime:0.000196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9027937 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5251982 LIMIT 4 [ RunTime:0.000185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251982 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5251982 ORDER BY `unit` DESC [ RunTime:0.000189s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5251982 LIMIT 2 [ RunTime:0.000204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251982 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5251110 LIMIT 4 [ RunTime:0.000202s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251110 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5251110 ORDER BY `unit` DESC [ RunTime:0.000219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5251110 LIMIT 2 [ RunTime:0.000208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251110 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5250209 LIMIT 4 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5250209 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5250209 ORDER BY `unit` DESC [ RunTime:0.000180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5250209 LIMIT 2 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5250209 ORDER BY `minOrder` ASC [ RunTime:0.000172s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5251103 LIMIT 4 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251103 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5251103 ORDER BY `unit` DESC [ RunTime:0.000205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5251103 LIMIT 2 [ RunTime:0.000205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5251103 ORDER BY `minOrder` ASC [ RunTime:0.000169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9027946 LIMIT 4 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9027946 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9027946 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9027946 LIMIT 2 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9027946 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8055 LIMIT 4 [ RunTime:0.000205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8055 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8055 ORDER BY `unit` DESC [ RunTime:0.000176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8055 LIMIT 2 [ RunTime:0.000171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8055 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001407s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS2431+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000277s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5988284 LIMIT 4 [ RunTime:0.000228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5988284 ORDER BY `minOrder` ASC [ RunTime:0.000225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5988284 ORDER BY `unit` DESC [ RunTime:0.000217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5988284 LIMIT 2 [ RunTime:0.000208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5988284 ORDER BY `minOrder` ASC [ RunTime:0.000208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9012138 LIMIT 4 [ RunTime:0.000226s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9012138 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9012138 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9012138 LIMIT 2 [ RunTime:0.000204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9012138 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9008335 LIMIT 4 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9008335 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9008335 ORDER BY `unit` DESC [ RunTime:0.000220s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9008335 LIMIT 2 [ RunTime:0.000206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9008335 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5253530 LIMIT 4 [ RunTime:0.000203s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5253530 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5253530 ORDER BY `unit` DESC [ RunTime:0.000180s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5253530 LIMIT 2 [ RunTime:0.000166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5253530 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4615112 LIMIT 4 [ RunTime:0.000184s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4615112 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4615112 ORDER BY `unit` DESC [ RunTime:0.000215s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4615112 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4615112 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4614752 LIMIT 4 [ RunTime:0.000210s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4614752 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4614752 ORDER BY `unit` DESC [ RunTime:0.000201s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4614752 LIMIT 2 [ RunTime:0.000272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4614752 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4613988 LIMIT 4 [ RunTime:0.000207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613988 ORDER BY `minOrder` ASC [ RunTime:0.000220s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4613988 ORDER BY `unit` DESC [ RunTime:0.000205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4613988 LIMIT 2 [ RunTime:0.000201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4613988 ORDER BY `minOrder` ASC [ RunTime:0.000202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4610521 LIMIT 4 [ RunTime:0.000228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4610521 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4610521 ORDER BY `unit` DESC [ RunTime:0.000231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4610521 LIMIT 2 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4610521 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
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.000276s ]