SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001353s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000652s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002494s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000350s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001789s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000277s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 287 LIMIT 1 [ RunTime:0.000329s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 287 [ RunTime:0.000221s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 30 [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001996s ]
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` = 287 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000398s ]
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 ('2577','10902','9881','9869','1148','10372','5062','16312','15292','7047','11784','9830','9882','6050','10901','4767','8275') ORDER BY FIELD(s.id, 2577,10902,9881,9869,1148,10372,5062,16312,15292,7047,11784,9830,9882,6050,10901,4767,8275) [ RunTime:0.000871s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001028s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2577 LIMIT 4 [ RunTime:0.000190s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000792s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.001808s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001094s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2577 ORDER BY `unit` DESC [ RunTime:0.000183s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000830s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2577 LIMIT 2 [ RunTime:0.000158s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2577 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000835s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCLTL-613R' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10902 LIMIT 4 [ RunTime:0.000153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.000151s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10902 ORDER BY `unit` DESC [ RunTime:0.000154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10902 LIMIT 2 [ RunTime:0.000151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10902 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FSMSMTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9881 LIMIT 4 [ RunTime:0.000157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9881 ORDER BY `unit` DESC [ RunTime:0.000154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9881 LIMIT 2 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9881 ORDER BY `minOrder` ASC [ RunTime:0.000142s ]
select * from pdf where partno='EVQPUL02K' and brandshort='PANASONIC' limit 1 [ RunTime:0.000260s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQPUL02K' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9869 LIMIT 4 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9869 ORDER BY `unit` DESC [ RunTime:0.000155s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9869 LIMIT 2 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9869 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
select * from pdf where partno='KSEK43G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000225s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KSEK43G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1148 LIMIT 4 [ RunTime:0.000143s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.000143s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1148 ORDER BY `unit` DESC [ RunTime:0.000147s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1148 LIMIT 2 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1148 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
select * from pdf where partno='KMR221G LFS' and brandshort='C&K COMPONENTS' limit 1 [ RunTime:0.000230s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KMR221G LFS' OR `brand` LIKE 'C&K COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10372 LIMIT 4 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10372 ORDER BY `unit` DESC [ RunTime:0.000159s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10372 LIMIT 2 [ RunTime:0.000151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10372 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MSLPT5252CG3BTR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5062 LIMIT 4 [ RunTime:0.000153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5062 ORDER BY `unit` DESC [ RunTime:0.000149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5062 LIMIT 2 [ RunTime:0.000168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5062 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SKHMQKE010' OR `brand` LIKE 'ALPS ALPINE%' ) ) LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16312 LIMIT 4 [ RunTime:0.000145s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.000153s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16312 ORDER BY `unit` DESC [ RunTime:0.000150s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16312 LIMIT 2 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16312 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000219s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000165s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15292 LIMIT 4 [ RunTime:0.000157s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.000157s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15292 ORDER BY `unit` DESC [ RunTime:0.000156s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15292 LIMIT 2 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15292 ORDER BY `minOrder` ASC [ RunTime:0.000148s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7047 LIMIT 4 [ RunTime:0.000154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7047 ORDER BY `unit` DESC [ RunTime:0.000149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7047 LIMIT 2 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7047 ORDER BY `minOrder` ASC [ RunTime:0.000146s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQPT9A15' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11784 LIMIT 4 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11784 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11784 ORDER BY `unit` DESC [ RunTime:0.000148s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11784 LIMIT 2 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11784 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B3U-3100PM-B' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000153s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9830 LIMIT 4 [ RunTime:0.000144s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9830 ORDER BY `minOrder` ASC [ RunTime:0.000148s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9830 ORDER BY `unit` DESC [ RunTime:0.000228s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9830 LIMIT 2 [ RunTime:0.000150s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9830 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
select * from pdf where partno='B3SE-1002P' and brandshort='OMRON ELECTRONIC COMPONENTS' limit 1 [ RunTime:0.000222s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'B3SE-1002P' OR `brand` LIKE 'OMRON ELECTRONIC COMPONENTS%' ) ) LIMIT 1 [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9882 LIMIT 4 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9882 ORDER BY `minOrder` ASC [ RunTime:0.000146s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9882 ORDER BY `unit` DESC [ RunTime:0.000146s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9882 LIMIT 2 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9882 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EVQP2T02M' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.000161s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6050 LIMIT 4 [ RunTime:0.000148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6050 ORDER BY `minOrder` ASC [ RunTime:0.000152s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6050 ORDER BY `unit` DESC [ RunTime:0.000150s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6050 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6050 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'FSM4JSMATR' OR `brand` LIKE 'ALCOSWITCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.004860s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10901 LIMIT 4 [ RunTime:0.000168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10901 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10901 ORDER BY `unit` DESC [ RunTime:0.000189s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10901 LIMIT 2 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10901 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
select * from pdf where partno='1825027-8' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000300s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1825027-8' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4767 LIMIT 4 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4767 ORDER BY `unit` DESC [ RunTime:0.000183s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4767 LIMIT 2 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4767 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
select * from pdf where partno='434123050816' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.000209s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '434123050816' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8275 LIMIT 4 [ RunTime:0.000153s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8275 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8275 ORDER BY `unit` DESC [ RunTime:0.000308s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8275 LIMIT 2 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8275 ORDER BY `minOrder` ASC [ RunTime:0.000148s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC32879' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000187s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 287 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000199s ]