SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001833s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002146s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002588s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.007433s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001909s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.008921s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 577 LIMIT 1 [ RunTime:0.003830s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 577 [ RunTime:0.004651s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.002411s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002018s ]
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.032637s ]
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.014985s ]
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.004256s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.008093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4505 LIMIT 4 [ RunTime:0.005125s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.003351s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001053s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4505 ORDER BY `unit` DESC [ RunTime:0.009084s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001232s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4505 LIMIT 2 [ RunTime:0.006429s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.000295s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000959s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000680s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7107 LIMIT 4 [ RunTime:0.000263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7107 ORDER BY `unit` DESC [ RunTime:0.002493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7107 LIMIT 2 [ RunTime:0.014189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.009870s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS3410GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.012641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5779 LIMIT 4 [ RunTime:0.002297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.008830s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5779 ORDER BY `unit` DESC [ RunTime:0.011499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5779 LIMIT 2 [ RunTime:0.003460s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.006805s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4141NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.012724s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11136 LIMIT 4 [ RunTime:0.001194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.002642s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11136 ORDER BY `unit` DESC [ RunTime:0.002661s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11136 LIMIT 2 [ RunTime:0.020022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.007428s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE75008ESDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.015805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7885 LIMIT 4 [ RunTime:0.004573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.007004s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7885 ORDER BY `unit` DESC [ RunTime:0.002931s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7885 LIMIT 2 [ RunTime:0.000681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC2009A-1YM6-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012344s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11424 LIMIT 4 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.002371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11424 ORDER BY `unit` DESC [ RunTime:0.007045s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11424 LIMIT 2 [ RunTime:0.000668s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L99PM62GXPTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10337 LIMIT 4 [ RunTime:0.005332s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.016803s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10337 ORDER BY `unit` DESC [ RunTime:0.011702s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10337 LIMIT 2 [ RunTime:0.003673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.007599s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS712204ESAXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011335s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5787 LIMIT 4 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.000440s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5787 ORDER BY `unit` DESC [ RunTime:0.000494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5787 LIMIT 2 [ RunTime:0.002618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.005277s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP742RIXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.017709s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11980 LIMIT 4 [ RunTime:0.001095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.003990s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11980 ORDER BY `unit` DESC [ RunTime:0.021712s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11980 LIMIT 2 [ RunTime:0.014576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.007471s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE7240SLXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.013911s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12233 LIMIT 4 [ RunTime:0.008735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.001836s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12233 ORDER BY `unit` DESC [ RunTime:0.002088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12233 LIMIT 2 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS70802EPZXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.023149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5786 LIMIT 4 [ RunTime:0.011474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.013706s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5786 ORDER BY `unit` DESC [ RunTime:0.017950s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5786 LIMIT 2 [ RunTime:0.012855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.005592s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP752RXUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.026671s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4542 LIMIT 4 [ RunTime:0.011629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.008176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4542 ORDER BY `unit` DESC [ RunTime:0.000451s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4542 LIMIT 2 [ RunTime:0.006903s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GLFR1608T100M-LR' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.012129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8813 LIMIT 4 [ RunTime:0.006647s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.015989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8813 ORDER BY `unit` DESC [ RunTime:0.004091s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8813 LIMIT 2 [ RunTime:0.003122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.003078s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ITS4300SSJDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.016928s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7112 LIMIT 4 [ RunTime:0.006963s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.008338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7112 ORDER BY `unit` DESC [ RunTime:0.004857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7112 LIMIT 2 [ RunTime:0.002402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.001507s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS6163DAUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.011544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10942 LIMIT 4 [ RunTime:0.003230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.000831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10942 ORDER BY `unit` DESC [ RunTime:0.000417s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10942 LIMIT 2 [ RunTime:0.015994s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.000827s ]
select * from pdf where partno='TLF35584QVVS2XUMA2' and brandshort='INFINEON' limit 1 [ RunTime:0.003452s ]
select foldpath,foldpath2,filename from pdf_file where id=1324759 limit 1 [ RunTime:0.009539s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLF35584QVVS2XUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.023062s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5783 LIMIT 4 [ RunTime:0.008095s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.006627s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5783 ORDER BY `unit` DESC [ RunTime:0.017371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5783 LIMIT 2 [ RunTime:0.001710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.000448s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS724GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010437s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5778 LIMIT 4 [ RunTime:0.002588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.022076s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5778 ORDER BY `unit` DESC [ RunTime:0.027432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5778 LIMIT 2 [ RunTime:0.005424s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.007464s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4142NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.031188s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5784 LIMIT 4 [ RunTime:0.031710s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.006882s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5784 ORDER BY `unit` DESC [ RunTime:0.006824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5784 LIMIT 2 [ RunTime:0.027243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.012454s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS716GBXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.009897s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11517 LIMIT 4 [ RunTime:0.017496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.012292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11517 ORDER BY `unit` DESC [ RunTime:0.001601s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11517 LIMIT 2 [ RunTime:0.011531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.004744s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCA9450CHNY' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006855s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9532 LIMIT 4 [ RunTime:0.004807s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.003194s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9532 ORDER BY `unit` DESC [ RunTime:0.001494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9532 LIMIT 2 [ RunTime:0.020195s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.001613s ]
select * from pdf where partno='FPF2006' and brandshort='ONSEMI' limit 1 [ RunTime:0.002404s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FPF2006' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.019266s ]
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.005531s ]