SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001409s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001847s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001528s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.004107s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001342s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000682s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 577 LIMIT 1 [ RunTime:0.000291s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 577 [ RunTime:0.000215s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002617s ]
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.008701s ]
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.003811s ]
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.009723s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4505 LIMIT 4 [ RunTime:0.003338s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.005075s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000895s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000979s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4505 ORDER BY `unit` DESC [ RunTime:0.002223s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001078s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4505 LIMIT 2 [ RunTime:0.004698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001065s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7107 LIMIT 4 [ RunTime:0.000360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000806s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7107 ORDER BY `unit` DESC [ RunTime:0.000348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7107 LIMIT 2 [ RunTime:0.002346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.004801s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS3410GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.012801s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5779 LIMIT 4 [ RunTime:0.001711s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000788s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5779 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5779 LIMIT 2 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4141NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006020s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11136 LIMIT 4 [ RunTime:0.005315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.009450s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11136 ORDER BY `unit` DESC [ RunTime:0.004234s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11136 LIMIT 2 [ RunTime:0.011240s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.002514s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE75008ESDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7885 LIMIT 4 [ RunTime:0.002865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.010859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7885 ORDER BY `unit` DESC [ RunTime:0.001646s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7885 LIMIT 2 [ RunTime:0.003403s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC2009A-1YM6-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11424 LIMIT 4 [ RunTime:0.005547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.000281s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11424 ORDER BY `unit` DESC [ RunTime:0.004153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11424 LIMIT 2 [ RunTime:0.002858s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.003003s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L99PM62GXPTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10337 LIMIT 4 [ RunTime:0.004166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.008019s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10337 ORDER BY `unit` DESC [ RunTime:0.002223s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10337 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.004604s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS712204ESAXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010664s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5787 LIMIT 4 [ RunTime:0.008723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.009571s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5787 ORDER BY `unit` DESC [ RunTime:0.001900s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5787 LIMIT 2 [ RunTime:0.008104s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.001126s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP742RIXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11980 LIMIT 4 [ RunTime:0.005022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.001815s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11980 ORDER BY `unit` DESC [ RunTime:0.005658s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11980 LIMIT 2 [ RunTime:0.001529s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.002943s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE7240SLXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12233 LIMIT 4 [ RunTime:0.004747s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.002553s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12233 ORDER BY `unit` DESC [ RunTime:0.004162s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12233 LIMIT 2 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.001365s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS70802EPZXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.016590s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5786 LIMIT 4 [ RunTime:0.007578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.001209s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5786 ORDER BY `unit` DESC [ RunTime:0.007716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5786 LIMIT 2 [ RunTime:0.002051s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.001197s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP752RXUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006116s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4542 LIMIT 4 [ RunTime:0.004386s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.001628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4542 ORDER BY `unit` DESC [ RunTime:0.001125s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4542 LIMIT 2 [ RunTime:0.000337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GLFR1608T100M-LR' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.009780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8813 LIMIT 4 [ RunTime:0.002587s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.000619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8813 ORDER BY `unit` DESC [ RunTime:0.000662s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8813 LIMIT 2 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ITS4300SSJDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006211s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7112 LIMIT 4 [ RunTime:0.011627s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.004429s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7112 ORDER BY `unit` DESC [ RunTime:0.007986s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7112 LIMIT 2 [ RunTime:0.001742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.000806s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS6163DAUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.009849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10942 LIMIT 4 [ RunTime:0.002094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.002200s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10942 ORDER BY `unit` DESC [ RunTime:0.013852s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10942 LIMIT 2 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.000270s ]
select * from pdf where partno='TLF35584QVVS2XUMA2' and brandshort='INFINEON' limit 1 [ RunTime:0.001926s ]
select foldpath,foldpath2,filename from pdf_file where id=1324759 limit 1 [ RunTime:0.004159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLF35584QVVS2XUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011060s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5783 LIMIT 4 [ RunTime:0.005217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.000310s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5783 ORDER BY `unit` DESC [ RunTime:0.000286s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5783 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.002586s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS724GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.001037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5778 LIMIT 4 [ RunTime:0.004183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.001385s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5778 ORDER BY `unit` DESC [ RunTime:0.000369s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5778 LIMIT 2 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.001084s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4142NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005602s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5784 LIMIT 4 [ RunTime:0.001710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5784 ORDER BY `unit` DESC [ RunTime:0.000415s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5784 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.000305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS716GBXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11517 LIMIT 4 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.000637s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11517 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11517 LIMIT 2 [ RunTime:0.000470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCA9450CHNY' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.003562s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9532 LIMIT 4 [ RunTime:0.004969s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.002008s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9532 ORDER BY `unit` DESC [ RunTime:0.000526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9532 LIMIT 2 [ RunTime:0.000494s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.001834s ]
select * from pdf where partno='FPF2006' and brandshort='ONSEMI' limit 1 [ RunTime:0.004359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FPF2006' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006543s ]
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.002123s ]