SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001936s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.023380s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002238s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.217.130' ) [ RunTime:0.008424s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002800s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.011190s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 30 LIMIT 1 [ RunTime:0.006037s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.003233s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305) [ RunTime:0.006253s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.003410s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305) ) AND `u`.`lockUser` = '0' [ RunTime:0.027156s ]
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` IN (287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.041292s ]
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 ('4639','2577','10902','9881','9869','1148','10372','2119','13800','3892','5062','7171','16328','16312','15308','15292','15179','15074','5313','3508') ORDER BY FIELD(s.id, 4639,2577,10902,9881,9869,1148,10372,2119,13800,3892,5062,7171,16328,16312,15308,15292,15179,15074,5313,3508) [ RunTime:0.051972s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4639 LIMIT 4 [ RunTime:0.011366s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.003313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639 ORDER BY `minOrder` ASC [ RunTime:0.011577s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.012304s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4639 ORDER BY `unit` DESC [ RunTime:0.029654s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002160s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4639 LIMIT 2 [ RunTime:0.019265s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639 ORDER BY `minOrder` ASC [ RunTime:0.008646s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001356s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PEL12T-4225S-S1024-DEL' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.025087s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2577 LIMIT 4 [ RunTime:0.051087s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.015885s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2577 ORDER BY `unit` DESC [ RunTime:0.011744s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2577 LIMIT 2 [ RunTime:0.000498s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.008299s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCLTL-613R' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001757s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10902 LIMIT 4 [ RunTime:0.014475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.011247s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10902 ORDER BY `unit` DESC [ RunTime:0.005034s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10902 LIMIT 2 [ RunTime:0.014997s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.007795s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FSMSMTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.019062s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9881 LIMIT 4 [ RunTime:0.005191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.002859s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9881 ORDER BY `unit` DESC [ RunTime:0.010823s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9881 LIMIT 2 [ RunTime:0.001019s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.001013s ]
select * from pdf where partno='EVQPUL02K' and brandshort='PANASONIC' limit 1 [ RunTime:0.003964s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQPUL02K' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.016889s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9869 LIMIT 4 [ RunTime:0.016027s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.002665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9869 ORDER BY `unit` DESC [ RunTime:0.012072s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9869 LIMIT 2 [ RunTime:0.000860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.002999s ]
select * from pdf where partno='KSEK43G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.010827s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSEK43G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.003848s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1148 LIMIT 4 [ RunTime:0.005888s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.014306s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1148 ORDER BY `unit` DESC [ RunTime:0.002914s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1148 LIMIT 2 [ RunTime:0.004259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.007359s ]
select * from pdf where partno='KMR221G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.004362s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KMR221G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.004641s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10372 LIMIT 4 [ RunTime:0.005801s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.002409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10372 ORDER BY `unit` DESC [ RunTime:0.006461s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10372 LIMIT 2 [ RunTime:0.006421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.003319s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSLPT5252CG3BTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.010118s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2119 LIMIT 4 [ RunTime:0.001963s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2119 ORDER BY `minOrder` ASC [ RunTime:0.000555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2119 ORDER BY `unit` DESC [ RunTime:0.004795s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2119 LIMIT 2 [ RunTime:0.008823s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2119 ORDER BY `minOrder` ASC [ RunTime:0.008168s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MB110N 454630/1/MA' OR `brand` LIKE 'NSF (CONTROLS)%' ) ) LIMIT 1 [ RunTime:0.003677s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13800 LIMIT 4 [ RunTime:0.001136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.003497s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13800 ORDER BY `unit` DESC [ RunTime:0.000599s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13800 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFP201N-RA' OR `brand` LIKE 'KNITTER-SWITCH%' ) ) LIMIT 1 [ RunTime:0.002130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3892 LIMIT 4 [ RunTime:0.003625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3892 ORDER BY `minOrder` ASC [ RunTime:0.002668s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3892 ORDER BY `unit` DESC [ RunTime:0.000384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3892 LIMIT 2 [ RunTime:0.003410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3892 ORDER BY `minOrder` ASC [ RunTime:0.006414s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1350AGAAA' OR `brand` LIKE 'ARCOLECTRIC (BULGIN LIMITED)%' ) ) LIMIT 1 [ RunTime:0.007173s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5062 LIMIT 4 [ RunTime:0.004354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.008062s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5062 ORDER BY `unit` DESC [ RunTime:0.011763s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5062 LIMIT 2 [ RunTime:0.000653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.000673s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SKHMQKE010' OR `brand` LIKE 'ALPS ALPINE%' ) ) LIMIT 1 [ RunTime:0.001971s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7171 LIMIT 4 [ RunTime:0.001066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.000519s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7171 ORDER BY `unit` DESC [ RunTime:0.011622s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7171 LIMIT 2 [ RunTime:0.001519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.003272s ]
select * from pdf where partno='OS102011MA1QS1' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.001911s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OS102011MA1QS1' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.001805s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16328 LIMIT 4 [ RunTime:0.003220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16328 ORDER BY `minOrder` ASC [ RunTime:0.006029s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16328 ORDER BY `unit` DESC [ RunTime:0.004353s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16328 LIMIT 2 [ RunTime:0.005897s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16328 ORDER BY `minOrder` ASC [ RunTime:0.004372s ]
select * from pdf where partno='PEL12T-4225S-S1024-DEL' and brandshort='BOURNS' limit 1 [ RunTime:0.017740s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PEL12T-4225S-S1024-DEL' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.005673s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16312 LIMIT 4 [ RunTime:0.002632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16312 ORDER BY `unit` DESC [ RunTime:0.001792s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16312 LIMIT 2 [ RunTime:0.002394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.004268s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.017572s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.008780s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15308 LIMIT 4 [ RunTime:0.012419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15308 ORDER BY `minOrder` ASC [ RunTime:0.026522s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15308 ORDER BY `unit` DESC [ RunTime:0.008233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15308 LIMIT 2 [ RunTime:0.012846s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15308 ORDER BY `minOrder` ASC [ RunTime:0.004942s ]
select * from pdf where partno='PEL12T-4225S-S1024-DEL' and brandshort='BOURNS' limit 1 [ RunTime:0.008918s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PEL12T-4225S-S1024-DEL' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.012202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15292 LIMIT 4 [ RunTime:0.003748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15292 ORDER BY `unit` DESC [ RunTime:0.000273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15292 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.002713s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000401s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000272s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15179 LIMIT 4 [ RunTime:0.000206s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000213s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15179 ORDER BY `unit` DESC [ RunTime:0.000205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15179 LIMIT 2 [ RunTime:0.000204s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.002094s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.006698s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15074 LIMIT 4 [ RunTime:0.006337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.005082s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15074 ORDER BY `unit` DESC [ RunTime:0.003865s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15074 LIMIT 2 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.007422s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000468s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000299s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5313 LIMIT 4 [ RunTime:0.000677s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5313 ORDER BY `minOrder` ASC [ RunTime:0.009088s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5313 ORDER BY `unit` DESC [ RunTime:0.019480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5313 LIMIT 2 [ RunTime:0.013847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5313 ORDER BY `minOrder` ASC [ RunTime:0.014209s ]
select * from pdf where partno='MCRM3HAF-16R-V-B' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.008017s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCRM3HAF-16R-V-B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001916s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3508 LIMIT 4 [ RunTime:0.001505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3508 ORDER BY `minOrder` ASC [ RunTime:0.010537s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3508 ORDER BY `unit` DESC [ RunTime:0.011394s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3508 LIMIT 2 [ RunTime:0.020391s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3508 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
select * from pdf where partno='A6K-102RF' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.016391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A6K-102RF' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.001881s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.015313s ]