SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001950s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000476s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002017s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000309s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001795s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000275s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000400s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000287s ]
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.000443s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002763s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE 'CRCW08051M00FKEA%' AND `status` <> 2 ) [ RunTime:0.000898s ]
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 'CRCW08051M00FKEA%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000861s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001993s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8019039 LIMIT 4 [ RunTime:0.000484s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8019039 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001838s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8019039 ORDER BY `unit` DESC [ RunTime:0.000480s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001676s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8019039 LIMIT 2 [ RunTime:0.003165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8019039 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7929062 LIMIT 4 [ RunTime:0.001064s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7929062 ORDER BY `minOrder` ASC [ RunTime:0.000650s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7929062 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7929062 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7929062 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7980551 LIMIT 4 [ RunTime:0.000406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7980551 ORDER BY `minOrder` ASC [ RunTime:0.000450s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7980551 ORDER BY `unit` DESC [ RunTime:0.000459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7980551 LIMIT 2 [ RunTime:0.001206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7980551 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3182 LIMIT 4 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3182 ORDER BY `minOrder` ASC [ RunTime:0.000467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3182 ORDER BY `unit` DESC [ RunTime:0.001658s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3182 LIMIT 2 [ RunTime:0.001444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3182 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
select * from pdf where partno='CRCW08051M00FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.000494s ]
select foldpath,foldpath2,filename from pdf_file where id=1132266 limit 1 [ RunTime:0.000400s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002135s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW08051M00FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000269s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17020 LIMIT 4 [ RunTime:0.001135s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17020 ORDER BY `minOrder` ASC [ RunTime:0.001010s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17020 ORDER BY `unit` DESC [ RunTime:0.000241s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17020 LIMIT 2 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17020 ORDER BY `minOrder` ASC [ RunTime:0.000231s ]
select * from pdf where partno='CRCW08051M00FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.000322s ]
select foldpath,foldpath2,filename from pdf_file where id=1132266 limit 1 [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW08051M00FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000236s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16002 LIMIT 4 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16002 ORDER BY `minOrder` ASC [ RunTime:0.000392s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16002 ORDER BY `unit` DESC [ RunTime:0.000395s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16002 LIMIT 2 [ RunTime:0.002497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16002 ORDER BY `minOrder` ASC [ RunTime:0.000991s ]
select * from pdf where partno='CRCW08051M00FKEA' and brandshort='VISHAY' limit 1 [ RunTime:0.000295s ]
select foldpath,foldpath2,filename from pdf_file where id=1132266 limit 1 [ RunTime:0.000218s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW08051M00FKEA' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 25165 LIMIT 4 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25165 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 25165 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 25165 LIMIT 2 [ RunTime:0.001890s ]
SELECT * FROM `stock_price` WHERE `stockid` = 25165 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
select * from pdf where partno='CRCW08051M00FKEA' and brandshort='VISHAY / DALE' limit 1 [ RunTime:0.001634s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CRCW08051M00FKEA' OR `brand` LIKE 'VISHAY / DALE%' ) ) LIMIT 1 [ RunTime:0.000555s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'CRCW08051M00FKEA%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000953s ]