SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002223s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000501s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002256s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000305s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002704s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000286s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000312s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000224s ]
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.000447s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002215s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'T520V337M2R5ATE025%' AND `status` <> 2 ) [ RunTime:0.002798s ]
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 'T520V337M2R5ATE025%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000870s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001733s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 23477 LIMIT 4 [ RunTime:0.000535s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 23477 ORDER BY `minOrder` ASC [ RunTime:0.002630s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003953s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 23477 ORDER BY `unit` DESC [ RunTime:0.000486s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002061s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 23477 LIMIT 2 [ RunTime:0.000443s ]
SELECT * FROM `stock_price` WHERE `stockid` = 23477 ORDER BY `minOrder` ASC [ RunTime:0.003091s ]
select * from pdf where partno='T520V337M2R5ATE025' and brandshort='KEMET' limit 1 [ RunTime:0.001613s ]
select foldpath,foldpath2,filename from pdf_file where id=1291202 limit 1 [ RunTime:0.000747s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001794s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T520V337M2R5ATE025' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.009136s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4457 LIMIT 4 [ RunTime:0.001483s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4457 ORDER BY `minOrder` ASC [ RunTime:0.000758s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4457 ORDER BY `unit` DESC [ RunTime:0.001720s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4457 LIMIT 2 [ RunTime:0.006070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4457 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
select * from pdf where partno='T520V337M2R5ATE025' and brandshort='KEMET' limit 1 [ RunTime:0.000406s ]
select foldpath,foldpath2,filename from pdf_file where id=1291202 limit 1 [ RunTime:0.000241s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T520V337M2R5ATE025' OR `brand` LIKE 'KEMET%' ) ) LIMIT 1 [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7584940 LIMIT 4 [ RunTime:0.002586s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7584940 ORDER BY `minOrder` ASC [ RunTime:0.001289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7584940 ORDER BY `unit` DESC [ RunTime:0.000637s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7584940 LIMIT 2 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7584940 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
select * from pdf where partno='T520V337M2R5ATE0252478' and brandshort='KEMET' limit 1 [ RunTime:0.000824s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7584815 LIMIT 4 [ RunTime:0.005910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7584815 ORDER BY `minOrder` ASC [ RunTime:0.009672s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7584815 ORDER BY `unit` DESC [ RunTime:0.011469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7584815 LIMIT 2 [ RunTime:0.003941s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7584815 ORDER BY `minOrder` ASC [ RunTime:0.005076s ]
select * from pdf where partno='T520V337M2R5ATE0257280' and brandshort='KEMET' limit 1 [ RunTime:0.001600s ]
select foldpath,foldpath2,filename from pdf_file where id=1491093 limit 1 [ RunTime:0.010275s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7584316 LIMIT 4 [ RunTime:0.003318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7584316 ORDER BY `minOrder` ASC [ RunTime:0.001133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7584316 ORDER BY `unit` DESC [ RunTime:0.000740s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7584316 LIMIT 2 [ RunTime:0.000548s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7584316 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4393176 LIMIT 4 [ RunTime:0.000779s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4393176 ORDER BY `minOrder` ASC [ RunTime:0.000562s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4393176 ORDER BY `unit` DESC [ RunTime:0.000643s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4393176 LIMIT 2 [ RunTime:0.002853s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4393176 ORDER BY `minOrder` ASC [ RunTime:0.000677s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4392998 LIMIT 4 [ RunTime:0.000757s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4392998 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4392998 ORDER BY `unit` DESC [ RunTime:0.002528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4392998 LIMIT 2 [ RunTime:0.005031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4392998 ORDER BY `minOrder` ASC [ RunTime:0.000405s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'T520V337M2R5ATE025%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.002280s ]