SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001228s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.006127s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001346s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000289s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001081s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000257s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 410 LIMIT 1 [ RunTime:0.000270s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 410 [ RunTime:0.000520s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 39 [ RunTime:0.000571s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002978s ]
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` = 410 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001414s ]
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 ('12243','16997','15979','12050','13267','12907','12051') ORDER BY FIELD(s.id, 12243,16997,15979,12050,13267,12907,12051) [ RunTime:0.005373s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12243 LIMIT 4 [ RunTime:0.000520s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243 ORDER BY `minOrder` ASC [ RunTime:0.000727s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.005447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12243 ORDER BY `unit` DESC [ RunTime:0.000628s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.004769s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12243 LIMIT 2 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12243 ORDER BY `minOrder` ASC [ RunTime:0.003268s ]
select * from pdf where partno='MT41K256M8DA-125:K' and brandshort='MICRON' limit 1 [ RunTime:0.003882s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003096s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT41K256M8DA-125:K' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.003039s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16997 LIMIT 4 [ RunTime:0.005217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16997 ORDER BY `minOrder` ASC [ RunTime:0.005409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16997 ORDER BY `unit` DESC [ RunTime:0.003320s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16997 LIMIT 2 [ RunTime:0.004652s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16997 ORDER BY `minOrder` ASC [ RunTime:0.004510s ]
select * from pdf where partno='S80KS2564GACHI040' and brandshort='CYPRESS - INFINEON TECHNOLOGIES' limit 1 [ RunTime:0.005064s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S80KS2564GACHI040' OR `brand` LIKE 'CYPRESS - INFINEON TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.002027s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15979 LIMIT 4 [ RunTime:0.005477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15979 ORDER BY `minOrder` ASC [ RunTime:0.002749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15979 ORDER BY `unit` DESC [ RunTime:0.000992s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15979 LIMIT 2 [ RunTime:0.001633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15979 ORDER BY `minOrder` ASC [ RunTime:0.002372s ]
select * from pdf where partno='S80KS2564GACHI040' and brandshort='CYPRESS - INFINEON TECHNOLOGIES' limit 1 [ RunTime:0.000381s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S80KS2564GACHI040' OR `brand` LIKE 'CYPRESS - INFINEON TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.003249s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12050 LIMIT 4 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12050 ORDER BY `minOrder` ASC [ RunTime:0.003265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12050 ORDER BY `unit` DESC [ RunTime:0.001223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12050 LIMIT 2 [ RunTime:0.001167s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12050 ORDER BY `minOrder` ASC [ RunTime:0.001184s ]
select * from pdf where partno='MT41K256M16TW-093:P' and brandshort='MICRON' limit 1 [ RunTime:0.000760s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT41K256M16TW-093:P' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.002742s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13267 LIMIT 4 [ RunTime:0.004851s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13267 ORDER BY `minOrder` ASC [ RunTime:0.008008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13267 ORDER BY `unit` DESC [ RunTime:0.002016s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13267 LIMIT 2 [ RunTime:0.001274s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13267 ORDER BY `minOrder` ASC [ RunTime:0.000794s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S80KS2564GACHI040' OR `brand` LIKE 'CYPRESS - INFINEON TECHNOLOGIES%' ) ) LIMIT 1 [ RunTime:0.000221s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12907 LIMIT 4 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12907 ORDER BY `minOrder` ASC [ RunTime:0.001320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12907 ORDER BY `unit` DESC [ RunTime:0.000847s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12907 LIMIT 2 [ RunTime:0.000900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12907 ORDER BY `minOrder` ASC [ RunTime:0.004788s ]
select * from pdf where partno='MT60B1G16HC-48B:A' and brandshort='MICRON' limit 1 [ RunTime:0.001798s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT60B1G16HC-48B:A' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.002818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12051 LIMIT 4 [ RunTime:0.002501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12051 ORDER BY `minOrder` ASC [ RunTime:0.001084s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12051 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12051 LIMIT 2 [ RunTime:0.000889s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12051 ORDER BY `minOrder` ASC [ RunTime:0.000675s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT53E256M32D2DS-053 WT:B' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.001480s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 410 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001019s ]