SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002516s ]
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.002448s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.002147s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002131s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000360s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 577 LIMIT 1 [ RunTime:0.003316s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 577 [ RunTime:0.001096s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 48 [ RunTime:0.000276s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002423s ]
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` = 577 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.005013s ]
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 ('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.005404s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.005625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4505 LIMIT 4 [ RunTime:0.001054s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000884s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4505 ORDER BY `minOrder` ASC [ RunTime:0.001898s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4505 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001444s ]
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.000261s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001041s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STMPS2151STR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003131s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7107 LIMIT 4 [ RunTime:0.000881s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7107 ORDER BY `unit` DESC [ RunTime:0.000158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7107 LIMIT 2 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7107 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS3410GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.002606s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5779 LIMIT 4 [ RunTime:0.004706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5779 ORDER BY `unit` DESC [ RunTime:0.000154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5779 LIMIT 2 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5779 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4141NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11136 LIMIT 4 [ RunTime:0.003353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.002063s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11136 ORDER BY `unit` DESC [ RunTime:0.006824s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11136 LIMIT 2 [ RunTime:0.004462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11136 ORDER BY `minOrder` ASC [ RunTime:0.002099s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE75008ESDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.008462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7885 LIMIT 4 [ RunTime:0.003732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.001904s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7885 ORDER BY `unit` DESC [ RunTime:0.003983s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7885 LIMIT 2 [ RunTime:0.000764s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7885 ORDER BY `minOrder` ASC [ RunTime:0.004191s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MIC2009A-1YM6-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012033s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11424 LIMIT 4 [ RunTime:0.005537s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.001255s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11424 ORDER BY `unit` DESC [ RunTime:0.000277s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11424 LIMIT 2 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11424 ORDER BY `minOrder` ASC [ RunTime:0.001503s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L99PM62GXPTR' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10337 LIMIT 4 [ RunTime:0.002318s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10337 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10337 LIMIT 2 [ RunTime:0.007261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10337 ORDER BY `minOrder` ASC [ RunTime:0.001778s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS712204ESAXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.008502s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5787 LIMIT 4 [ RunTime:0.000390s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.003066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5787 ORDER BY `unit` DESC [ RunTime:0.007526s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5787 LIMIT 2 [ RunTime:0.004077s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5787 ORDER BY `minOrder` ASC [ RunTime:0.001312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP742RIXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.009616s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11980 LIMIT 4 [ RunTime:0.005004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.002482s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11980 ORDER BY `unit` DESC [ RunTime:0.004843s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11980 LIMIT 2 [ RunTime:0.003152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11980 ORDER BY `minOrder` ASC [ RunTime:0.004653s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE7240SLXUMA4' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.010137s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12233 LIMIT 4 [ RunTime:0.005146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.002631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12233 ORDER BY `unit` DESC [ RunTime:0.002231s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12233 LIMIT 2 [ RunTime:0.001772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12233 ORDER BY `minOrder` ASC [ RunTime:0.000562s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS70802EPZXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.008081s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5786 LIMIT 4 [ RunTime:0.007570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.003035s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5786 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5786 LIMIT 2 [ RunTime:0.002573s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5786 ORDER BY `minOrder` ASC [ RunTime:0.003061s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BSP752RXUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.006508s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4542 LIMIT 4 [ RunTime:0.005045s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.001730s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4542 ORDER BY `unit` DESC [ RunTime:0.000796s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4542 LIMIT 2 [ RunTime:0.011729s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4542 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'GLFR1608T100M-LR' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.011618s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8813 LIMIT 4 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.002405s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8813 ORDER BY `unit` DESC [ RunTime:0.003368s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8813 LIMIT 2 [ RunTime:0.000456s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8813 ORDER BY `minOrder` ASC [ RunTime:0.000200s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ITS4300SSJDXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007796s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7112 LIMIT 4 [ RunTime:0.000335s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.002585s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7112 ORDER BY `unit` DESC [ RunTime:0.003971s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7112 LIMIT 2 [ RunTime:0.001159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7112 ORDER BY `minOrder` ASC [ RunTime:0.000169s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS6163DAUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.004849s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10942 LIMIT 4 [ RunTime:0.003932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.004214s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10942 ORDER BY `unit` DESC [ RunTime:0.000272s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10942 LIMIT 2 [ RunTime:0.001765s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10942 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
select * from pdf where partno='TLF35584QVVS2XUMA2' and brandshort='INFINEON' limit 1 [ RunTime:0.007553s ]
select foldpath,foldpath2,filename from pdf_file where id=1324759 limit 1 [ RunTime:0.000452s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLF35584QVVS2XUMA2' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.004896s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5783 LIMIT 4 [ RunTime:0.001505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.003787s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5783 ORDER BY `unit` DESC [ RunTime:0.000966s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5783 LIMIT 2 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5783 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS724GXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.005903s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5778 LIMIT 4 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.000927s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5778 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5778 LIMIT 2 [ RunTime:0.001005s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5778 ORDER BY `minOrder` ASC [ RunTime:0.000551s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS4142NHUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.007131s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5784 LIMIT 4 [ RunTime:0.004154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.001081s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5784 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5784 LIMIT 2 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5784 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'BTS716GBXUMA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.004712s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11517 LIMIT 4 [ RunTime:0.000402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.000450s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11517 ORDER BY `unit` DESC [ RunTime:0.000280s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11517 LIMIT 2 [ RunTime:0.000271s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11517 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PCA9450CHNY' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006260s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9532 LIMIT 4 [ RunTime:0.007030s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.002964s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9532 ORDER BY `unit` DESC [ RunTime:0.002051s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9532 LIMIT 2 [ RunTime:0.001474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9532 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
select * from pdf where partno='FPF2006' and brandshort='ONSEMI' limit 1 [ RunTime:0.003286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FPF2006' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.006094s ]
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.002758s ]