SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002943s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000603s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002844s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.94' ) [ RunTime:0.001312s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001483s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001229s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 121 LIMIT 1 [ RunTime:0.000364s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 121 [ RunTime:0.000270s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.003213s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.006240s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 121 ) AND `u`.`lockUser` = '0' [ RunTime:0.008326s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 121 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.006935s ]
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 = 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.034699s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.009928s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4031 LIMIT 4 [ RunTime:0.002021s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.011268s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.011071s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4031 ORDER BY `unit` DESC [ RunTime:0.023009s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.013639s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4031 LIMIT 2 [ RunTime:0.019496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4031 ORDER BY `minOrder` ASC [ RunTime:0.033579s ]
select * from pdf where partno='1N4148WT-7' and brandshort='DIODES INC.' limit 1 [ RunTime:0.012003s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003698s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT-7' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.006014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8351 LIMIT 4 [ RunTime:0.004629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.001214s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8351 ORDER BY `unit` DESC [ RunTime:0.010173s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8351 LIMIT 2 [ RunTime:0.012387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8351 ORDER BY `minOrder` ASC [ RunTime:0.017514s ]
select * from pdf where partno='BAW56S,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.011606s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56S,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.012382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4047 LIMIT 4 [ RunTime:0.008702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.003371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4047 ORDER BY `unit` DESC [ RunTime:0.000421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4047 LIMIT 2 [ RunTime:0.009061s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4047 ORDER BY `minOrder` ASC [ RunTime:0.003709s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.023849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2585 LIMIT 4 [ RunTime:0.007430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.004293s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2585 ORDER BY `unit` DESC [ RunTime:0.012147s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2585 LIMIT 2 [ RunTime:0.023921s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2585 ORDER BY `minOrder` ASC [ RunTime:0.004527s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.019126s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7482 LIMIT 4 [ RunTime:0.003190s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7482 ORDER BY `minOrder` ASC [ RunTime:0.003328s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7482 ORDER BY `unit` DESC [ RunTime:0.009851s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7482 LIMIT 2 [ RunTime:0.011469s ]
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.017014s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7153 LIMIT 4 [ RunTime:0.008279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.011774s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7153 ORDER BY `unit` DESC [ RunTime:0.008459s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7153 LIMIT 2 [ RunTime:0.004971s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7153 ORDER BY `minOrder` ASC [ RunTime:0.003152s ]
select * from pdf where partno='1N4148W-E3-08' and brandshort='VISHAY' limit 1 [ RunTime:0.013466s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148W-E3-08' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.017809s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4950 LIMIT 4 [ RunTime:0.000817s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.000925s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4950 ORDER BY `unit` DESC [ RunTime:0.007436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4950 LIMIT 2 [ RunTime:0.007219s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4950 ORDER BY `minOrder` ASC [ RunTime:0.001913s ]
select * from pdf where partno='BAS70-06,215' and brandshort='NEXPERIA' limit 1 [ RunTime:0.003396s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS70-06,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.004970s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14976 LIMIT 4 [ RunTime:0.003873s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.010394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14976 ORDER BY `unit` DESC [ RunTime:0.003962s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14976 LIMIT 2 [ RunTime:0.017049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14976 ORDER BY `minOrder` ASC [ RunTime:0.002405s ]
select * from pdf where partno='MMBD4148SE' and brandshort='ON' limit 1 [ RunTime:0.004618s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD4148SE' OR `brand` LIKE 'ON%' ) ) LIMIT 1 [ RunTime:0.014331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7400 LIMIT 4 [ RunTime:0.010231s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.019309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7400 ORDER BY `unit` DESC [ RunTime:0.004606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7400 LIMIT 2 [ RunTime:0.016092s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7400 ORDER BY `minOrder` ASC [ RunTime:0.003478s ]
select * from pdf where partno='1N4148WT' and brandshort='ONSEMI' limit 1 [ RunTime:0.004022s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4148WT' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.008674s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4656 LIMIT 4 [ RunTime:0.002175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.006648s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4656 ORDER BY `unit` DESC [ RunTime:0.013093s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4656 LIMIT 2 [ RunTime:0.001655s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4656 ORDER BY `minOrder` ASC [ RunTime:0.000337s ]
select * from pdf where partno='BAV21W-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.006938s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV21W-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.003607s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14982 LIMIT 4 [ RunTime:0.000487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.000432s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14982 ORDER BY `unit` DESC [ RunTime:0.007767s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14982 LIMIT 2 [ RunTime:0.015088s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14982 ORDER BY `minOrder` ASC [ RunTime:0.002403s ]
select * from pdf where partno='MMBD3004S-7-F' and brandshort='DIODES' limit 1 [ RunTime:0.005099s ]
select foldpath,foldpath2,filename from pdf_file where id=613255 limit 1 [ RunTime:0.007300s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MMBD3004S-7-F' OR `brand` LIKE 'DIODES%' ) ) LIMIT 1 [ RunTime:0.013207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7486 LIMIT 4 [ RunTime:0.001897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.011083s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7486 ORDER BY `unit` DESC [ RunTime:0.013413s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7486 LIMIT 2 [ RunTime:0.012238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7486 ORDER BY `minOrder` ASC [ RunTime:0.009291s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS45AL,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.026693s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 291 LIMIT 4 [ RunTime:0.004309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.043084s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 291 ORDER BY `unit` DESC [ RunTime:0.018674s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 291 LIMIT 2 [ RunTime:0.028797s ]
SELECT * FROM `stock_price` WHERE `stockid` = 291 ORDER BY `minOrder` ASC [ RunTime:0.017021s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20,215' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.009058s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4533 LIMIT 4 [ RunTime:0.027318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.097277s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4533 ORDER BY `unit` DESC [ RunTime:0.021165s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4533 LIMIT 2 [ RunTime:0.046576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4533 ORDER BY `minOrder` ASC [ RunTime:0.012520s ]
select * from pdf where partno='1N4448WS-7-F' and brandshort='DIODES INC.' limit 1 [ RunTime:0.030965s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1N4448WS-7-F' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.021852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4949 LIMIT 4 [ RunTime:0.007604s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.000729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4949 ORDER BY `unit` DESC [ RunTime:0.009398s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4949 LIMIT 2 [ RunTime:0.001587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4949 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
select * from pdf where partno='BAS40L,315' and brandshort='NEXPERIA' limit 1 [ RunTime:0.005478s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS40L,315' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.019942s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7484 LIMIT 4 [ RunTime:0.004691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.018458s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7484 ORDER BY `unit` DESC [ RunTime:0.007419s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7484 LIMIT 2 [ RunTime:0.017033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7484 ORDER BY `minOrder` ASC [ RunTime:0.010898s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS20HT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.022166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4947 LIMIT 4 [ RunTime:0.000903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.000756s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4947 ORDER BY `unit` DESC [ RunTime:0.002568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4947 LIMIT 2 [ RunTime:0.002716s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4947 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
select * from pdf where partno='BAS16H,115' and brandshort='NEXPERIA' limit 1 [ RunTime:0.002858s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAS16H,115' OR `brand` LIKE 'NEXPERIA%' ) ) LIMIT 1 [ RunTime:0.012571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16762 LIMIT 4 [ RunTime:0.007049s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.001617s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16762 ORDER BY `unit` DESC [ RunTime:0.000925s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16762 LIMIT 2 [ RunTime:0.009359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16762 ORDER BY `minOrder` ASC [ RunTime:0.022082s ]
select * from pdf where partno='BAW56LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.009666s ]
select foldpath,foldpath2,filename from pdf_file where id=568830 limit 1 [ RunTime:0.001891s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAW56LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000738s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16442 LIMIT 4 [ RunTime:0.002878s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.008841s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16442 ORDER BY `unit` DESC [ RunTime:0.001160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16442 LIMIT 2 [ RunTime:0.008075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16442 ORDER BY `minOrder` ASC [ RunTime:0.013978s ]
select * from pdf where partno='1SS355TE-17' and brandshort='ROHM' limit 1 [ RunTime:0.023160s ]
select foldpath,foldpath2,filename from pdf_file where id=1106100 limit 1 [ RunTime:0.018987s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1SS355TE-17' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.015182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16343 LIMIT 4 [ RunTime:0.007880s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.027015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16343 ORDER BY `unit` DESC [ RunTime:0.013005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16343 LIMIT 2 [ RunTime:0.013113s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16343 ORDER BY `minOrder` ASC [ RunTime:0.004014s ]
select * from pdf where partno='BAV74LT1G' and brandshort='ONSEMI' limit 1 [ RunTime:0.007191s ]
select foldpath,foldpath2,filename from pdf_file where id=668717 limit 1 [ RunTime:0.000757s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BAV74LT1G' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.010145s ]
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.009333s ]