SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001999s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000586s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002090s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000346s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001931s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000313s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 45 LIMIT 1 [ RunTime:0.000588s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 45 [ RunTime:0.000395s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) [ RunTime:0.000358s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002524s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) ) [ RunTime:0.000422s ]
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 ( `status` <> 2 AND `categoryid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002465s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003157s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9164 LIMIT 4 [ RunTime:0.000469s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9164 ORDER BY `minOrder` ASC [ RunTime:0.001415s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001660s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9164 ORDER BY `unit` DESC [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001619s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9164 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9164 ORDER BY `minOrder` ASC [ RunTime:0.000227s ]
select * from pdf where partno='RN4020-V/RM123' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000477s ]
select foldpath,foldpath2,filename from pdf_file where id=1458264 limit 1 [ RunTime:0.000244s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001945s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RN4020-V/RM123' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16733 LIMIT 4 [ RunTime:0.001527s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16733 ORDER BY `minOrder` ASC [ RunTime:0.001626s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16733 ORDER BY `unit` DESC [ RunTime:0.000277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16733 LIMIT 2 [ RunTime:0.000240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16733 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
select * from pdf where partno='LBWA1UZ1GC-901' and brandshort='MURATA' limit 1 [ RunTime:0.000310s ]
select foldpath,foldpath2,filename from pdf_file where id=2146538 limit 1 [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LBWA1UZ1GC-901' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15714 LIMIT 4 [ RunTime:0.000455s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15714 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15714 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15714 LIMIT 2 [ RunTime:0.000231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15714 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
select * from pdf where partno='LBWA1UZ1GC-901' and brandshort='MURATA' limit 1 [ RunTime:0.000269s ]
select foldpath,foldpath2,filename from pdf_file where id=2146538 limit 1 [ RunTime:0.000210s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LBWA1UZ1GC-901' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10204 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10204 ORDER BY `minOrder` ASC [ RunTime:0.002836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10204 ORDER BY `unit` DESC [ RunTime:0.003876s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10204 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10204 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BGM13P22F512GA-V2' OR `brand` LIKE 'SILICON LABS%' ) ) LIMIT 1 [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12613 LIMIT 4 [ RunTime:0.001315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12613 ORDER BY `minOrder` ASC [ RunTime:0.001310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12613 ORDER BY `unit` DESC [ RunTime:0.000258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12613 LIMIT 2 [ RunTime:0.000219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12613 ORDER BY `minOrder` ASC [ RunTime:0.000216s ]
select * from pdf where partno='MT53E2G32D4DE-046 WT:A' and brandshort='MICRON' limit 1 [ RunTime:0.000303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT53E2G32D4DE-046 WT:A' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.000241s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9377 LIMIT 4 [ RunTime:0.001434s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9377 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9377 ORDER BY `unit` DESC [ RunTime:0.000237s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9377 LIMIT 2 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9377 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LBWA1UZ1GC-901' OR `brand` LIKE 'MURATA%' ) ) LIMIT 1 [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12908 LIMIT 4 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12908 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12908 ORDER BY `unit` DESC [ RunTime:0.002200s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12908 LIMIT 2 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12908 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='MT60B2G8HB-48B:A' and brandshort='MICRON' limit 1 [ RunTime:0.000290s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MT60B2G8HB-48B:A' OR `brand` LIKE 'MICRON%' ) ) LIMIT 1 [ RunTime:0.000236s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (503,504,505,506,507,508,509,510,511,512,513,514,515) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000353s ]