SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002455s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001925s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002489s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.001084s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002404s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000319s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000293s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000259s ]
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.000348s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002476s ]
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.001739s ]
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.001862s ]
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.005488s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002255s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4639 LIMIT 4 [ RunTime:0.004080s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006842s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639 ORDER BY `minOrder` ASC [ RunTime:0.006605s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002581s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4639 ORDER BY `unit` DESC [ RunTime:0.005794s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.006276s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4639 LIMIT 2 [ RunTime:0.006462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4639 ORDER BY `minOrder` ASC [ RunTime:0.007457s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002837s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PEL12T-4225S-S1024-DEL' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.001226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2577 LIMIT 4 [ RunTime:0.000629s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.000619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2577 ORDER BY `unit` DESC [ RunTime:0.008318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2577 LIMIT 2 [ RunTime:0.000598s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.000401s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCLTL-613R' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.007106s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10902 LIMIT 4 [ RunTime:0.003117s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.006487s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10902 ORDER BY `unit` DESC [ RunTime:0.000472s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10902 LIMIT 2 [ RunTime:0.000585s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.003202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FSMSMTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9881 LIMIT 4 [ RunTime:0.004579s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.001219s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9881 ORDER BY `unit` DESC [ RunTime:0.000750s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9881 LIMIT 2 [ RunTime:0.000592s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
select * from pdf where partno='EVQPUL02K' and brandshort='PANASONIC' limit 1 [ RunTime:0.006434s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQPUL02K' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.012139s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9869 LIMIT 4 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.000528s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9869 ORDER BY `unit` DESC [ RunTime:0.002044s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9869 LIMIT 2 [ RunTime:0.006423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.000450s ]
select * from pdf where partno='KSEK43G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.001385s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSEK43G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.001287s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1148 LIMIT 4 [ RunTime:0.000507s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.002744s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1148 ORDER BY `unit` DESC [ RunTime:0.004872s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1148 LIMIT 2 [ RunTime:0.001328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
select * from pdf where partno='KMR221G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.001154s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KMR221G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.001403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10372 LIMIT 4 [ RunTime:0.000723s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.000785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10372 ORDER BY `unit` DESC [ RunTime:0.001046s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10372 LIMIT 2 [ RunTime:0.003601s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.000344s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSLPT5252CG3BTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000960s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2119 LIMIT 4 [ RunTime:0.002638s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2119 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2119 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2119 LIMIT 2 [ RunTime:0.000359s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2119 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MB110N 454630/1/MA' OR `brand` LIKE 'NSF (CONTROLS)%' ) ) LIMIT 1 [ RunTime:0.000382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13800 LIMIT 4 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.001730s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13800 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13800 LIMIT 2 [ RunTime:0.002977s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13800 ORDER BY `minOrder` ASC [ RunTime:0.000639s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MFP201N-RA' OR `brand` LIKE 'KNITTER-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000379s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3892 LIMIT 4 [ RunTime:0.000742s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3892 ORDER BY `minOrder` ASC [ RunTime:0.000968s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3892 ORDER BY `unit` DESC [ RunTime:0.000566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3892 LIMIT 2 [ RunTime:0.002066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3892 ORDER BY `minOrder` ASC [ RunTime:0.002444s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1350AGAAA' OR `brand` LIKE 'ARCOLECTRIC (BULGIN LIMITED)%' ) ) LIMIT 1 [ RunTime:0.003408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5062 LIMIT 4 [ RunTime:0.001702s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.001701s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5062 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5062 LIMIT 2 [ RunTime:0.000595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.003668s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SKHMQKE010' OR `brand` LIKE 'ALPS ALPINE%' ) ) LIMIT 1 [ RunTime:0.003123s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7171 LIMIT 4 [ RunTime:0.000738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.000595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7171 ORDER BY `unit` DESC [ RunTime:0.000560s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7171 LIMIT 2 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7171 ORDER BY `minOrder` ASC [ RunTime:0.001906s ]
select * from pdf where partno='OS102011MA1QS1' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.001921s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OS102011MA1QS1' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.003285s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16328 LIMIT 4 [ RunTime:0.002479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16328 ORDER BY `minOrder` ASC [ RunTime:0.001329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16328 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16328 LIMIT 2 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16328 ORDER BY `minOrder` ASC [ RunTime:0.002570s ]
select * from pdf where partno='PEL12T-4225S-S1024-DEL' and brandshort='BOURNS' limit 1 [ RunTime:0.000441s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PEL12T-4225S-S1024-DEL' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000410s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16312 LIMIT 4 [ RunTime:0.002486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.002798s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16312 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16312 LIMIT 2 [ RunTime:0.003406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.001579s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000455s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000408s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15308 LIMIT 4 [ RunTime:0.000614s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15308 ORDER BY `minOrder` ASC [ RunTime:0.000415s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15308 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15308 LIMIT 2 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15308 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
select * from pdf where partno='PEL12T-4225S-S1024-DEL' and brandshort='BOURNS' limit 1 [ RunTime:0.000393s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PEL12T-4225S-S1024-DEL' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000449s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15292 LIMIT 4 [ RunTime:0.001989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.003342s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15292 ORDER BY `unit` DESC [ RunTime:0.000390s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15292 LIMIT 2 [ RunTime:0.002553s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.002251s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000431s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15179 LIMIT 4 [ RunTime:0.000725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15179 ORDER BY `unit` DESC [ RunTime:0.000385s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15179 LIMIT 2 [ RunTime:0.000567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15179 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000529s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000399s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15074 LIMIT 4 [ RunTime:0.003666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.006248s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15074 ORDER BY `unit` DESC [ RunTime:0.002878s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15074 LIMIT 2 [ RunTime:0.004632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15074 ORDER BY `minOrder` ASC [ RunTime:0.006538s ]
select * from pdf where partno='EG2308' and brandshort='E-SWITCH' limit 1 [ RunTime:0.000577s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EG2308' OR `brand` LIKE 'E-SWITCH%' ) ) LIMIT 1 [ RunTime:0.000417s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5313 LIMIT 4 [ RunTime:0.000399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5313 ORDER BY `minOrder` ASC [ RunTime:0.000395s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5313 ORDER BY `unit` DESC [ RunTime:0.000399s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5313 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5313 ORDER BY `minOrder` ASC [ RunTime:0.000377s ]
select * from pdf where partno='MCRM3HAF-16R-V-B' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000553s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCRM3HAF-16R-V-B' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000381s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3508 LIMIT 4 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3508 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3508 ORDER BY `unit` DESC [ RunTime:0.000383s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3508 LIMIT 2 [ RunTime:0.000377s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3508 ORDER BY `minOrder` ASC [ RunTime:0.000369s ]
select * from pdf where partno='A6K-102RF' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.007356s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'A6K-102RF' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.004289s ]
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.003202s ]