SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.000965s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000411s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002155s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001814s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000273s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 121 LIMIT 1 [ RunTime:0.000430s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 121 [ RunTime:0.004647s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.004475s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002233s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 121 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005091s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('4031','8351','4047','2585','7482','7153','4950','14976','7400','4656','14982','7486','291','4533','4949','7484','4947','16762','16442','16343') ORDER BY FIELD(s.id, 4031,8351,4047,2585,7482,7153,4950,14976,7400,4656,14982,7486,291,4533,4949,7484,4947,16762,16442,16343) [ RunTime:0.009667s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4031 LIMIT 4 [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000902s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001192s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4031 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001036s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4031 LIMIT 2 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.000252s ]
select * from pdf where partno='1N4148WT-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004810s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.000297s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8351 LIMIT 4 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.003857s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8351 ORDER BY `unit` DESC [ RunTime:0.000250s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8351 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
select * from pdf where partno='BAW56S,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.005642s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56S,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003866s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4047 LIMIT 4 [ RunTime:0.000310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.002603s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4047 ORDER BY `unit` DESC [ RunTime:0.006996s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4047 LIMIT 2 [ RunTime:0.001587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.002677s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001031s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2585 LIMIT 4 [ RunTime:0.002596s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.000785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2585 ORDER BY `unit` DESC [ RunTime:0.000641s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2585 LIMIT 2 [ RunTime:0.000702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.001606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.002816s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7482 LIMIT 4 [ RunTime:0.002909s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7482 ORDER BY `minOrder` ASC [ RunTime:0.000711s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7482 ORDER BY `unit` DESC [ RunTime:0.000901s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7482 LIMIT 2 [ RunTime:0.003248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7482 ORDER BY `minOrder` ASC [ RunTime:0.002432s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.012421s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7153 LIMIT 4 [ RunTime:0.003701s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.000265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7153 ORDER BY `unit` DESC [ RunTime:0.000265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7153 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
select * from pdf where partno='1N4148W-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.000783s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4950 LIMIT 4 [ RunTime:0.001971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.001644s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4950 ORDER BY `unit` DESC [ RunTime:0.000844s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4950 LIMIT 2 [ RunTime:0.000658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
select * from pdf where partno='BAS70-06,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001950s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-06,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005292s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14976 LIMIT 4 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14976 ORDER BY `unit` DESC [ RunTime:0.003093s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14976 LIMIT 2 [ RunTime:0.001208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='MMBD4148SE' and brandshort='ON' limit 1 [ RunTime:0.003113s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD4148SE' OR `brand` LIKE 'ON%' ) ) LIMIT 1 [ RunTime:0.007109s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7400 LIMIT 4 [ RunTime:0.001866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.002058s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7400 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7400 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.000798s ]
select * from pdf where partno='1N4148WT' and brandshort='ONSEMI' limit 1 [ RunTime:0.001935s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008405s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4656 LIMIT 4 [ RunTime:0.001799s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.001006s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4656 ORDER BY `unit` DESC [ RunTime:0.000674s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4656 LIMIT 2 [ RunTime:0.001449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='BAV21W-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.006649s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV21W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.002071s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14982 LIMIT 4 [ RunTime:0.004506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.003959s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14982 ORDER BY `unit` DESC [ RunTime:0.003262s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14982 LIMIT 2 [ RunTime:0.000400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.003102s ]
select * from pdf where partno='MMBD3004S-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.003282s ]
select foldpath,foldpath2,filename from pdf_file where id=613255 limit 1 [ RunTime:0.002443s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD3004S-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.008462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7486 LIMIT 4 [ RunTime:0.005992s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.000451s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7486 ORDER BY `unit` DESC [ RunTime:0.001986s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7486 LIMIT 2 [ RunTime:0.003223s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS45AL,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 291 LIMIT 4 [ RunTime:0.001475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.001246s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 291 ORDER BY `unit` DESC [ RunTime:0.000414s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 291 LIMIT 2 [ RunTime:0.000395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.000730s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4533 LIMIT 4 [ RunTime:0.000843s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.006251s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4533 ORDER BY `unit` DESC [ RunTime:0.003264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4533 LIMIT 2 [ RunTime:0.007418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='1N4448WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.004820s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4448WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.007086s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4949 LIMIT 4 [ RunTime:0.000561s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.000423s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4949 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4949 LIMIT 2 [ RunTime:0.000384s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.004130s ]
select * from pdf where partno='BAS40L,315' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001340s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40L,315' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.003839s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7484 LIMIT 4 [ RunTime:0.001537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.004352s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7484 ORDER BY `unit` DESC [ RunTime:0.002682s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7484 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.000614s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20HT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.007851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4947 LIMIT 4 [ RunTime:0.003619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.000583s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4947 ORDER BY `unit` DESC [ RunTime:0.000678s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4947 LIMIT 2 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
select * from pdf where partno='BAS16H,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.001635s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS16H,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.005372s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16762 LIMIT 4 [ RunTime:0.000420s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.002042s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16762 ORDER BY `unit` DESC [ RunTime:0.000907s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16762 LIMIT 2 [ RunTime:0.000514s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.003194s ]
select * from pdf where partno='BAW56LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.000892s ]
select foldpath,foldpath2,filename from pdf_file where id=568830 limit 1 [ RunTime:0.001212s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16442 LIMIT 4 [ RunTime:0.000611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.000569s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16442 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16442 LIMIT 2 [ RunTime:0.000639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.001348s ]
select * from pdf where partno='1SS355TE-17' and brandshort='ROHM' limit 1 [ RunTime:0.001657s ]
select foldpath,foldpath2,filename from pdf_file where id=1106100 limit 1 [ RunTime:0.001607s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.000310s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16343 LIMIT 4 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.000756s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16343 ORDER BY `unit` DESC [ RunTime:0.000416s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16343 LIMIT 2 [ RunTime:0.000369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.001048s ]
select * from pdf where partno='BAV74LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.001324s ]
select foldpath,foldpath2,filename from pdf_file where id=668717 limit 1 [ RunTime:0.001605s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV74LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006442s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 121 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000871s ]