SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001805s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003343s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001981s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002260s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000283s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000253s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000221s ]
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.000372s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002104s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `partno` LIKE '1N4148WS-7-F%' AND `status` <> 2 ) [ RunTime:0.000775s ]
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 '1N4148WS-7-F%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000804s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002562s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4517 LIMIT 4 [ RunTime:0.000448s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001664s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.000436s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001652s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4517 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001635s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4517 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4517 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.001285s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002264s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.004497s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6209 LIMIT 4 [ RunTime:0.006880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.001948s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6209 ORDER BY `unit` DESC [ RunTime:0.001950s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6209 LIMIT 2 [ RunTime:0.000398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6209 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000708s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.003313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 29775 LIMIT 4 [ RunTime:0.005002s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29775 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 29775 ORDER BY `unit` DESC [ RunTime:0.000505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 29775 LIMIT 2 [ RunTime:0.000482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 29775 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000784s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.003992s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.007678s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 21231 LIMIT 4 [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21231 ORDER BY `minOrder` ASC [ RunTime:0.000637s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 21231 ORDER BY `unit` DESC [ RunTime:0.000621s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 21231 LIMIT 2 [ RunTime:0.000501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 21231 ORDER BY `minOrder` ASC [ RunTime:0.000342s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000438s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.000327s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES(美台)%' ) ) LIMIT 1 [ RunTime:0.006803s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 20385 LIMIT 4 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20385 ORDER BY `minOrder` ASC [ RunTime:0.003256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 20385 ORDER BY `unit` DESC [ RunTime:0.000499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 20385 LIMIT 2 [ RunTime:0.000478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 20385 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='1N4148WS-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.000421s ]
select foldpath,foldpath2,filename from pdf_file where id=602571 limit 1 [ RunTime:0.000322s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WS-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '1N4148WS-7-F%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000970s ]