SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001160s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000407s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001115s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000207s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000901s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000214s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000153s ]
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.000277s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001354s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'CRCW04020000Z0ED%' AND `status` <> 2 ) [ RunTime:0.005417s ]
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 'CRCW04020000Z0ED%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005761s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001019s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7883681 LIMIT 4 [ RunTime:0.003559s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7883681 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002482s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7883681 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002066s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7883681 LIMIT 2 [ RunTime:0.000306s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7883681 ORDER BY `minOrder` ASC [ RunTime:0.002123s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6785778 LIMIT 4 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6785778 ORDER BY `minOrder` ASC [ RunTime:0.009626s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6785778 ORDER BY `unit` DESC [ RunTime:0.003944s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6785778 LIMIT 2 [ RunTime:0.005400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6785778 ORDER BY `minOrder` ASC [ RunTime:0.004874s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7883725 LIMIT 4 [ RunTime:0.004585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7883725 ORDER BY `minOrder` ASC [ RunTime:0.001046s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7883725 ORDER BY `unit` DESC [ RunTime:0.007476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7883725 LIMIT 2 [ RunTime:0.004964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7883725 ORDER BY `minOrder` ASC [ RunTime:0.001315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2280 LIMIT 4 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2280 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2280 ORDER BY `unit` DESC [ RunTime:0.000255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2280 LIMIT 2 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2280 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='CRCW04020000Z0ED' and brandshort='VISHAY' limit 1 [ RunTime:0.000454s ]
select foldpath,foldpath2,filename from pdf_file where id=1141018 limit 1 [ RunTime:0.000279s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001485s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW04020000Z0ED' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000371s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17000 LIMIT 4 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17000 ORDER BY `minOrder` ASC [ RunTime:0.000934s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17000 ORDER BY `unit` DESC [ RunTime:0.000294s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17000 LIMIT 2 [ RunTime:0.000293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17000 ORDER BY `minOrder` ASC [ RunTime:0.000290s ]
select * from pdf where partno='CRCW04020000Z0ED' and brandshort='VISHAY' limit 1 [ RunTime:0.000601s ]
select foldpath,foldpath2,filename from pdf_file where id=1141018 limit 1 [ RunTime:0.000271s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW04020000Z0ED' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15982 LIMIT 4 [ RunTime:0.003611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15982 ORDER BY `minOrder` ASC [ RunTime:0.002658s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15982 ORDER BY `unit` DESC [ RunTime:0.003605s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15982 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15982 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='CRCW04020000Z0ED' and brandshort='VISHAY' limit 1 [ RunTime:0.000650s ]
select foldpath,foldpath2,filename from pdf_file where id=1141018 limit 1 [ RunTime:0.000269s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW04020000Z0ED' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 26429 LIMIT 4 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26429 ORDER BY `minOrder` ASC [ RunTime:0.000841s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 26429 ORDER BY `unit` DESC [ RunTime:0.000330s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 26429 LIMIT 2 [ RunTime:0.000321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26429 ORDER BY `minOrder` ASC [ RunTime:0.001463s ]
select * from pdf where partno='CRCW04020000Z0ED' and brandshort='Vishay' limit 1 [ RunTime:0.004043s ]
select foldpath,foldpath2,filename from pdf_file where id=1141018 limit 1 [ RunTime:0.000299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW04020000Z0ED' OR `brand` LIKE 'Vishay%' ) ) LIMIT 1 [ RunTime:0.006740s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8482 LIMIT 4 [ RunTime:0.008138s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8482 ORDER BY `minOrder` ASC [ RunTime:0.001318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8482 ORDER BY `unit` DESC [ RunTime:0.000845s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8482 LIMIT 2 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8482 ORDER BY `minOrder` ASC [ RunTime:0.000962s ]
select * from pdf where partno='CRCW04020000Z0EDHP' and brandshort='VISHAY' limit 1 [ RunTime:0.000816s ]
select foldpath,foldpath2,filename from pdf_file where id=1132263 limit 1 [ RunTime:0.000290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW04020000Z0EDHP' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.007760s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'CRCW04020000Z0ED%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003289s ]