SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001159s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000584s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001544s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001066s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000242s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 60 LIMIT 1 [ RunTime:0.005456s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 60 [ RunTime:0.004672s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 16 [ RunTime:0.000212s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001708s ]
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 ( `status` <> 2 AND `categoryid` = 60 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001180s ]
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 ('14970','10076','3488','3054','6245','846','5340') ORDER BY FIELD(s.id, 14970,10076,3488,3054,6245,846,5340) [ RunTime:0.016128s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001016s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14970 LIMIT 4 [ RunTime:0.000182s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000928s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000189s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000773s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14970 ORDER BY `unit` DESC [ RunTime:0.000158s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000825s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14970 LIMIT 2 [ RunTime:0.000185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14970 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
select * from pdf where partno='TAJC476K016R' and brandshort='AVX' limit 1 [ RunTime:0.000589s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001404s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TAJC476K016R' OR `brand` LIKE 'AVX%' ) ) LIMIT 1 [ RunTime:0.000382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10076 LIMIT 4 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10076 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10076 LIMIT 2 [ RunTime:0.000289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10076 ORDER BY `minOrder` ASC [ RunTime:0.000277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494X476K035AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3488 LIMIT 4 [ RunTime:0.006023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.015304s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3488 ORDER BY `unit` DESC [ RunTime:0.000693s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3488 LIMIT 2 [ RunTime:0.001509s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3488 ORDER BY `minOrder` ASC [ RunTime:0.001094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '594D187X0016R2T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.019031s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3054 LIMIT 4 [ RunTime:0.004551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.001245s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3054 ORDER BY `unit` DESC [ RunTime:0.000321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3054 LIMIT 2 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3054 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='T494B685K025AT' and brandshort='KEMET' limit 1 [ RunTime:0.000302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T494B685K025AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6245 LIMIT 4 [ RunTime:0.000504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.000487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6245 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6245 LIMIT 2 [ RunTime:0.001996s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6245 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
select * from pdf where partno='T491A106M020AT.' and brandshort='KEMET' limit 1 [ RunTime:0.000976s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T491A106M020AT.' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.008491s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 846 LIMIT 4 [ RunTime:0.004072s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.000732s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 846 ORDER BY `unit` DESC [ RunTime:0.002731s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 846 LIMIT 2 [ RunTime:0.006700s ]
SELECT * FROM `stock_price` WHERE `stockid` = 846 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T353G106K035AT' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.004289s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5340 LIMIT 4 [ RunTime:0.000907s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.000500s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5340 ORDER BY `unit` DESC [ RunTime:0.004468s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5340 LIMIT 2 [ RunTime:0.005527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5340 ORDER BY `minOrder` ASC [ RunTime:0.002392s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M39006/22-0619' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.015134s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 60 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001123s ]