SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001985s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000517s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002618s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000362s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002341s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000348s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 152 LIMIT 1 [ RunTime:0.000363s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 152 [ RunTime:0.000219s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002400s ]
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` = 152 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001314s ]
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 ('1179','4195','962','1477','16624','16496','15605','15476','960','1682','961','1683','1681','14295') ORDER BY FIELD(s.id, 1179,4195,962,1477,16624,16496,15605,15476,960,1682,961,1683,1681,14295) [ RunTime:0.007613s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002880s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1179 LIMIT 4 [ RunTime:0.000588s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.000714s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002800s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1179 ORDER BY `unit` DESC [ RunTime:0.003088s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1179 LIMIT 2 [ RunTime:0.002653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.001425s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002008s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.004628s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4195 LIMIT 4 [ RunTime:0.004033s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4195 ORDER BY `minOrder` ASC [ RunTime:0.000500s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4195 ORDER BY `unit` DESC [ RunTime:0.001547s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4195 LIMIT 2 [ RunTime:0.001166s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4195 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC33152' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001443s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 962 LIMIT 4 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 962 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 962 ORDER BY `unit` DESC [ RunTime:0.001458s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 962 LIMIT 2 [ RunTime:0.003718s ]
SELECT * FROM `stock_price` WHERE `stockid` = 962 ORDER BY `minOrder` ASC [ RunTime:0.000331s ]
select * from pdf where partno='RF2568-000.' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001487s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RF2568-000.' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.010434s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1477 LIMIT 4 [ RunTime:0.002782s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.004331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1477 ORDER BY `unit` DESC [ RunTime:0.005375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1477 LIMIT 2 [ RunTime:0.002834s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.002366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-PSMF050X-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002442s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16624 LIMIT 4 [ RunTime:0.002136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.013437s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16624 ORDER BY `unit` DESC [ RunTime:0.000820s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16624 LIMIT 2 [ RunTime:0.010425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.002288s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.006900s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.002444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000359s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16496 LIMIT 4 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.000701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16496 ORDER BY `unit` DESC [ RunTime:0.001353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16496 LIMIT 2 [ RunTime:0.000326s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001732s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.009435s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15605 LIMIT 4 [ RunTime:0.003056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15605 ORDER BY `unit` DESC [ RunTime:0.000374s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15605 LIMIT 2 [ RunTime:0.001937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.000368s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.000228s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15476 LIMIT 4 [ RunTime:0.001703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.000920s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15476 ORDER BY `unit` DESC [ RunTime:0.000428s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15476 LIMIT 2 [ RunTime:0.000742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.000292s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000368s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 960 LIMIT 4 [ RunTime:0.001908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 960 ORDER BY `minOrder` ASC [ RunTime:0.002321s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 960 ORDER BY `unit` DESC [ RunTime:0.000448s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 960 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 960 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000270s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1682 LIMIT 4 [ RunTime:0.000371s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1682 ORDER BY `minOrder` ASC [ RunTime:0.005027s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1682 ORDER BY `unit` DESC [ RunTime:0.000788s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1682 LIMIT 2 [ RunTime:0.000650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1682 ORDER BY `minOrder` ASC [ RunTime:0.000601s ]
select * from pdf where partno='SMD185F-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001837s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD185F-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.006868s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 961 LIMIT 4 [ RunTime:0.001618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.000709s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 961 ORDER BY `unit` DESC [ RunTime:0.000597s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 961 LIMIT 2 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
select * from pdf where partno='RXEF050' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001488s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RXEF050' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004752s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1683 LIMIT 4 [ RunTime:0.001485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1683 ORDER BY `minOrder` ASC [ RunTime:0.004227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1683 ORDER BY `unit` DESC [ RunTime:0.000372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1683 LIMIT 2 [ RunTime:0.001002s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1683 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='SMD260F-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.002553s ]
select foldpath,foldpath2,filename from pdf_file where id=1638855 limit 1 [ RunTime:0.000645s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD260F-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1681 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1681 ORDER BY `minOrder` ASC [ RunTime:0.001117s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1681 ORDER BY `unit` DESC [ RunTime:0.003480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1681 LIMIT 2 [ RunTime:0.001837s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1681 ORDER BY `minOrder` ASC [ RunTime:0.001365s ]
select * from pdf where partno='SMD150F/33-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001055s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD150F/33-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004656s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14295 LIMIT 4 [ RunTime:0.000863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.001749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14295 ORDER BY `unit` DESC [ RunTime:0.000494s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14295 LIMIT 2 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-R025' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.001614s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 152 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001173s ]