SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002468s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000745s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001541s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.000278s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001800s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000256s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 577 LIMIT 1 [ RunTime:0.000288s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 577 [ RunTime:0.000193s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000193s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001530s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 577 ) AND `u`.`lockUser` = '0' [ RunTime:0.001824s ]
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` = 577 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004998s ]
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 ('4505','7107','5779','11136','7885','11424','10337','5787','11980','12233','5786','4542','8813','7112','10942','5783','5778','5784','11517','9532') ORDER BY FIELD(s.id, 4505,7107,5779,11136,7885,11424,10337,5787,11980,12233,5786,4542,8813,7112,10942,5783,5778,5784,11517,9532) [ RunTime:0.009059s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004813s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4505 LIMIT 4 [ RunTime:0.007923s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.006396s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001339s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4505 ORDER BY `unit` DESC [ RunTime:0.000969s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001247s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4505 LIMIT 2 [ RunTime:0.000373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001118s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000926s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7107 LIMIT 4 [ RunTime:0.001114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.009347s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7107 ORDER BY `unit` DESC [ RunTime:0.006900s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7107 LIMIT 2 [ RunTime:0.001011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000509s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS3410GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.025081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5779 LIMIT 4 [ RunTime:0.002506s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.006232s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5779 ORDER BY `unit` DESC [ RunTime:0.000445s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5779 LIMIT 2 [ RunTime:0.006662s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.008263s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4141NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000684s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11136 LIMIT 4 [ RunTime:0.003021s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.002160s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11136 ORDER BY `unit` DESC [ RunTime:0.002190s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11136 LIMIT 2 [ RunTime:0.010144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.012316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE75008ESDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.003608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7885 LIMIT 4 [ RunTime:0.005019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.004753s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7885 ORDER BY `unit` DESC [ RunTime:0.001015s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7885 LIMIT 2 [ RunTime:0.000611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.001760s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC2009A-1YM6-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.026278s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11424 LIMIT 4 [ RunTime:0.001614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.002743s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11424 ORDER BY `unit` DESC [ RunTime:0.001411s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11424 LIMIT 2 [ RunTime:0.001478s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.001130s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L99PM62GXPTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001377s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10337 LIMIT 4 [ RunTime:0.000602s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.000639s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10337 ORDER BY `unit` DESC [ RunTime:0.005523s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10337 LIMIT 2 [ RunTime:0.000659s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS712204ESAXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.012547s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5787 LIMIT 4 [ RunTime:0.000714s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.000441s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5787 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5787 LIMIT 2 [ RunTime:0.000587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP742RIXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010007s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11980 LIMIT 4 [ RunTime:0.004976s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.004196s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11980 ORDER BY `unit` DESC [ RunTime:0.001132s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11980 LIMIT 2 [ RunTime:0.002002s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.001328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE7240SLXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.012296s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12233 LIMIT 4 [ RunTime:0.000943s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.002034s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12233 ORDER BY `unit` DESC [ RunTime:0.000649s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12233 LIMIT 2 [ RunTime:0.000575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.000433s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS70802EPZXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005861s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5786 LIMIT 4 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5786 ORDER BY `unit` DESC [ RunTime:0.000358s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5786 LIMIT 2 [ RunTime:0.002731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.000288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP752RXUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.013518s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4542 LIMIT 4 [ RunTime:0.000676s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.000673s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4542 ORDER BY `unit` DESC [ RunTime:0.000627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4542 LIMIT 2 [ RunTime:0.000591s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.007193s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GLFR1608T100M-LR' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.014721s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8813 LIMIT 4 [ RunTime:0.001752s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.001827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8813 ORDER BY `unit` DESC [ RunTime:0.000539s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8813 LIMIT 2 [ RunTime:0.000497s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ITS4300SSJDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010369s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7112 LIMIT 4 [ RunTime:0.000590s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7112 ORDER BY `unit` DESC [ RunTime:0.000335s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7112 LIMIT 2 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.000359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS6163DAUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10942 LIMIT 4 [ RunTime:0.000718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.003560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10942 ORDER BY `unit` DESC [ RunTime:0.008191s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10942 LIMIT 2 [ RunTime:0.004011s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.001480s ]
select * from pdf where partno='TLF35584QVVS2XUMA2' and brandshort='INFINEON' limit 1 [ RunTime:0.001633s ]
select foldpath,foldpath2,filename from pdf_file where id=1324759 limit 1 [ RunTime:0.000953s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLF35584QVVS2XUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006986s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5783 LIMIT 4 [ RunTime:0.006834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.008380s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5783 ORDER BY `unit` DESC [ RunTime:0.001955s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5783 LIMIT 2 [ RunTime:0.008937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.001722s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS724GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.008766s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5778 LIMIT 4 [ RunTime:0.003414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.001468s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5778 ORDER BY `unit` DESC [ RunTime:0.011805s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5778 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4142NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.009127s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5784 LIMIT 4 [ RunTime:0.002761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.002594s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5784 ORDER BY `unit` DESC [ RunTime:0.004002s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5784 LIMIT 2 [ RunTime:0.000816s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.001537s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS716GBXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006481s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11517 LIMIT 4 [ RunTime:0.005165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.001467s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11517 ORDER BY `unit` DESC [ RunTime:0.001765s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11517 LIMIT 2 [ RunTime:0.001067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.000584s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCA9450CHNY' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.003745s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9532 LIMIT 4 [ RunTime:0.002625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.000845s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9532 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9532 LIMIT 2 [ RunTime:0.000947s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
select * from pdf where partno='FPF2006' and brandshort='ONSEMI' limit 1 [ RunTime:0.000598s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FPF2006' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.000347s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 577 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.004919s ]