SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002296s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000596s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002797s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002073s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000320s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 152 LIMIT 1 [ RunTime:0.000342s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 152 [ RunTime:0.000269s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 25 [ RunTime:0.000255s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002301s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 152 ) [ RunTime:0.000350s ]
SELECT `s`.`id`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` = 152 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001148s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001993s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1179 LIMIT 4 [ RunTime:0.005513s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.000556s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003622s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1179 ORDER BY `unit` DESC [ RunTime:0.001569s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1179 LIMIT 2 [ RunTime:0.000496s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1179 ORDER BY `minOrder` ASC [ RunTime:0.001662s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002067s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4195 LIMIT 4 [ RunTime:0.000937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4195 ORDER BY `minOrder` ASC [ RunTime:0.002273s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4195 ORDER BY `unit` DESC [ RunTime:0.007596s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4195 LIMIT 2 [ RunTime:0.002681s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4195 ORDER BY `minOrder` ASC [ RunTime:0.004557s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC33152' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000719s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 962 LIMIT 4 [ RunTime:0.002521s ]
SELECT * FROM `stock_price` WHERE `stockid` = 962 ORDER BY `minOrder` ASC [ RunTime:0.000471s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 962 ORDER BY `unit` DESC [ RunTime:0.002749s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 962 LIMIT 2 [ RunTime:0.009898s ]
SELECT * FROM `stock_price` WHERE `stockid` = 962 ORDER BY `minOrder` ASC [ RunTime:0.000749s ]
select * from pdf where partno='RF2568-000.' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.006955s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RF2568-000.' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.010057s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1477 LIMIT 4 [ RunTime:0.004638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.002975s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1477 ORDER BY `unit` DESC [ RunTime:0.001273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1477 LIMIT 2 [ RunTime:0.001148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1477 ORDER BY `minOrder` ASC [ RunTime:0.000198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-PSMF050X-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.002151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16624 LIMIT 4 [ RunTime:0.000229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.000228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16624 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16624 LIMIT 2 [ RunTime:0.006149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16624 ORDER BY `minOrder` ASC [ RunTime:0.005982s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.000322s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.000364s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000268s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16496 LIMIT 4 [ RunTime:0.001910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.002007s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16496 ORDER BY `unit` DESC [ RunTime:0.000501s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16496 LIMIT 2 [ RunTime:0.000806s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16496 ORDER BY `minOrder` ASC [ RunTime:0.001148s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.003279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000290s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15605 LIMIT 4 [ RunTime:0.000256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15605 ORDER BY `unit` DESC [ RunTime:0.005963s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15605 LIMIT 2 [ RunTime:0.000441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15605 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='MF-NSMF020-2' and brandshort='BOURNS' limit 1 [ RunTime:0.000354s ]
select foldpath,foldpath2,filename from pdf_file where id=595703 limit 1 [ RunTime:0.000280s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-NSMF020-2' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.010772s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15476 LIMIT 4 [ RunTime:0.001233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15476 ORDER BY `unit` DESC [ RunTime:0.000306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15476 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15476 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000379s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.003711s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 960 LIMIT 4 [ RunTime:0.000466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 960 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 960 ORDER BY `unit` DESC [ RunTime:0.003660s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 960 LIMIT 2 [ RunTime:0.000345s ]
SELECT * FROM `stock_price` WHERE `stockid` = 960 ORDER BY `minOrder` ASC [ RunTime:0.001735s ]
select * from pdf where partno='RUEF185' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000330s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RUEF185' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.000261s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1682 LIMIT 4 [ RunTime:0.002028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1682 ORDER BY `minOrder` ASC [ RunTime:0.001968s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1682 ORDER BY `unit` DESC [ RunTime:0.005829s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1682 LIMIT 2 [ RunTime:0.001250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1682 ORDER BY `minOrder` ASC [ RunTime:0.000269s ]
select * from pdf where partno='SMD185F-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001743s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD185F-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004500s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 961 LIMIT 4 [ RunTime:0.002200s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.005968s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 961 ORDER BY `unit` DESC [ RunTime:0.003352s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 961 LIMIT 2 [ RunTime:0.000801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='RXEF050' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.000558s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RXEF050' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1683 LIMIT 4 [ RunTime:0.003387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1683 ORDER BY `minOrder` ASC [ RunTime:0.001795s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1683 ORDER BY `unit` DESC [ RunTime:0.000490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1683 LIMIT 2 [ RunTime:0.004248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1683 ORDER BY `minOrder` ASC [ RunTime:0.000789s ]
select * from pdf where partno='SMD260F-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001005s ]
select foldpath,foldpath2,filename from pdf_file where id=1638855 limit 1 [ RunTime:0.000456s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD260F-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.012068s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1681 LIMIT 4 [ RunTime:0.000813s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1681 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1681 ORDER BY `unit` DESC [ RunTime:0.000338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1681 LIMIT 2 [ RunTime:0.002165s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1681 ORDER BY `minOrder` ASC [ RunTime:0.000397s ]
select * from pdf where partno='SMD150F/33-2' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.002243s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SMD150F/33-2' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.007679s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14295 LIMIT 4 [ RunTime:0.001199s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.001050s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14295 ORDER BY `unit` DESC [ RunTime:0.001026s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14295 LIMIT 2 [ RunTime:0.000763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-R025' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.001673s ]
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.000320s ]