SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001441s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000486s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001626s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001139s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000257s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 117 LIMIT 1 [ RunTime:0.000298s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 117 [ RunTime:0.000202s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000180s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001526s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 117 ) [ RunTime:0.001050s ]
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` = 117 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004132s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001282s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4530 LIMIT 4 [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001014s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4530 ORDER BY `unit` DESC [ RunTime:0.000189s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000929s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4530 LIMIT 2 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4530 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
select * from pdf where partno='BAT54S-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000725s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002830s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54S-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000312s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4651 LIMIT 4 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.000212s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4651 ORDER BY `unit` DESC [ RunTime:0.000247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4651 LIMIT 2 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4651 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
select * from pdf where partno='BAS70-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000274s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14459 LIMIT 4 [ RunTime:0.000217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.000203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14459 ORDER BY `unit` DESC [ RunTime:0.000262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14459 LIMIT 2 [ RunTime:0.000225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14459 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
select * from pdf where partno='BAT54STA' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54STA' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 293 LIMIT 4 [ RunTime:0.000219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.000211s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 293 ORDER BY `unit` DESC [ RunTime:0.000234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 293 LIMIT 2 [ RunTime:0.000200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 293 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='BAT54C,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4523 LIMIT 4 [ RunTime:0.000209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4523 ORDER BY `unit` DESC [ RunTime:0.000199s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4523 LIMIT 2 [ RunTime:0.000199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4523 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
select * from pdf where partno='BAT54C-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54C-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000242s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4686 LIMIT 4 [ RunTime:0.000201s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4686 ORDER BY `unit` DESC [ RunTime:0.000202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4686 LIMIT 2 [ RunTime:0.000196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4686 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS110B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4531 LIMIT 4 [ RunTime:0.000227s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4531 ORDER BY `unit` DESC [ RunTime:0.000202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4531 LIMIT 2 [ RunTime:0.000197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4531 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
select * from pdf where partno='BAS40-04-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.000344s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40-04-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14743 LIMIT 4 [ RunTime:0.000199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14743 ORDER BY `unit` DESC [ RunTime:0.000226s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14743 LIMIT 2 [ RunTime:0.000198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14743 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
select * from pdf where partno='BAT48' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000300s ]
select foldpath,foldpath2,filename from pdf_file where id=397613 limit 1 [ RunTime:0.000230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT48' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000215s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4126 LIMIT 4 [ RunTime:0.000206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.000210s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4126 ORDER BY `unit` DESC [ RunTime:0.000224s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4126 LIMIT 2 [ RunTime:0.000219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4126 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
select * from pdf where partno='BAS3010B03WE6327HTSA1' and brandshort='INFINEON' limit 1 [ RunTime:0.000337s ]
select foldpath,foldpath2,filename from pdf_file where id=1306444 limit 1 [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS3010B03WE6327HTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14744 LIMIT 4 [ RunTime:0.000207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14744 ORDER BY `minOrder` ASC [ RunTime:0.000199s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14744 ORDER BY `unit` DESC [ RunTime:0.000260s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14744 LIMIT 2 [ RunTime:0.000232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14744 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT54JFILM' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000208s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14825 LIMIT 4 [ RunTime:0.000198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.000206s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14825 ORDER BY `unit` DESC [ RunTime:0.000206s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14825 LIMIT 2 [ RunTime:0.000205s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14825 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
select * from pdf where partno='STPS3L60U' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000386s ]
select foldpath,foldpath2,filename from pdf_file where id=167780 limit 1 [ RunTime:0.000263s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPS3L60U' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000218s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 418 LIMIT 4 [ RunTime:0.000429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 418 ORDER BY `minOrder` ASC [ RunTime:0.001271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 418 ORDER BY `unit` DESC [ RunTime:0.002321s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 418 LIMIT 2 [ RunTime:0.002209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 418 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
select * from pdf where partno='BAS85,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.003046s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS85,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005484s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14740 LIMIT 4 [ RunTime:0.003069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14740 ORDER BY `minOrder` ASC [ RunTime:0.007078s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14740 ORDER BY `unit` DESC [ RunTime:0.000374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14740 LIMIT 2 [ RunTime:0.000352s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14740 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N6263' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000493s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2233 LIMIT 4 [ RunTime:0.000217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2233 ORDER BY `unit` DESC [ RunTime:0.000203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2233 LIMIT 2 [ RunTime:0.000197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2233 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
select * from pdf where partno='SS14' and brandshort='ONSEMI' limit 1 [ RunTime:0.000354s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000210s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6195 LIMIT 4 [ RunTime:0.000207s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6195 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6195 ORDER BY `unit` DESC [ RunTime:0.000223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6195 LIMIT 2 [ RunTime:0.000198s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6195 ORDER BY `minOrder` ASC [ RunTime:0.000201s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B140-13-F' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000212s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13924 LIMIT 4 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13924 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13924 ORDER BY `unit` DESC [ RunTime:0.000354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13924 LIMIT 2 [ RunTime:0.007508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13924 ORDER BY `minOrder` ASC [ RunTime:0.001793s ]
select * from pdf where partno='PMEG2005AEA,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.003255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG2005AEA,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14487 LIMIT 4 [ RunTime:0.002949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14487 ORDER BY `minOrder` ASC [ RunTime:0.005839s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14487 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14487 LIMIT 2 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14487 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
select * from pdf where partno='SS14-E3/61T' and brandshort='VISHAY' limit 1 [ RunTime:0.001618s ]
select foldpath,foldpath2,filename from pdf_file where id=786027 limit 1 [ RunTime:0.003472s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SS14-E3/61T' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.016169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6335 LIMIT 4 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6335 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6335 ORDER BY `unit` DESC [ RunTime:0.000334s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6335 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6335 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RB521S30T1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13925 LIMIT 4 [ RunTime:0.001529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13925 ORDER BY `minOrder` ASC [ RunTime:0.002094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13925 ORDER BY `unit` DESC [ RunTime:0.000482s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13925 LIMIT 2 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13925 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
select * from pdf where partno='PMEG4010BEA,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.000543s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PMEG4010BEA,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.000353s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4667 LIMIT 4 [ RunTime:0.000452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4667 ORDER BY `minOrder` ASC [ RunTime:0.000468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4667 ORDER BY `unit` DESC [ RunTime:0.002632s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4667 LIMIT 2 [ RunTime:0.003897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4667 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
select * from pdf where partno='BAT46WJ,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001683s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAT46WJ,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005225s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 117 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001559s ]