SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001407s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000483s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001356s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.43' ) [ RunTime:0.000226s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001331s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000216s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000233s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) [ RunTime:0.000377s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001064s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) [ RunTime:0.000354s ]
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` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 160,20 [ RunTime:0.007880s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4052 LIMIT 4 [ RunTime:0.005341s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001094s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4052 ORDER BY `minOrder` ASC [ RunTime:0.001272s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001086s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4052 ORDER BY `unit` DESC [ RunTime:0.000733s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4052 LIMIT 2 [ RunTime:0.000540s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4052 ORDER BY `minOrder` ASC [ RunTime:0.000188s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000845s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '103653-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13615 LIMIT 4 [ RunTime:0.000233s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13615 ORDER BY `minOrder` ASC [ RunTime:0.001970s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13615 ORDER BY `unit` DESC [ RunTime:0.002727s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13615 LIMIT 2 [ RunTime:0.009249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13615 ORDER BY `minOrder` ASC [ RunTime:0.001860s ]
select * from pdf where partno='182651-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001568s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182651-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000737s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14927 LIMIT 4 [ RunTime:0.000192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927 ORDER BY `minOrder` ASC [ RunTime:0.000156s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14927 ORDER BY `unit` DESC [ RunTime:0.000149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14927 LIMIT 2 [ RunTime:0.000148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14927 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
select * from pdf where partno='CNT-M254-1*40-GD-6/6/1.5' and brandshort='CNT' limit 1 [ RunTime:0.000190s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-1*40-GD-6/6/1.5' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.000167s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1949 LIMIT 4 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1949 ORDER BY `minOrder` ASC [ RunTime:0.001897s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1949 ORDER BY `unit` DESC [ RunTime:0.000764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1949 LIMIT 2 [ RunTime:0.004099s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1949 ORDER BY `minOrder` ASC [ RunTime:0.000860s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-09-2031' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005608s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3529 LIMIT 4 [ RunTime:0.003847s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3529 ORDER BY `minOrder` ASC [ RunTime:0.012492s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3529 ORDER BY `unit` DESC [ RunTime:0.002758s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3529 LIMIT 2 [ RunTime:0.002467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3529 ORDER BY `minOrder` ASC [ RunTime:0.003387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-2125' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.025771s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4382 LIMIT 4 [ RunTime:0.000637s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4382 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4382 ORDER BY `unit` DESC [ RunTime:0.000455s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4382 LIMIT 2 [ RunTime:0.000397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4382 ORDER BY `minOrder` ASC [ RunTime:0.006830s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SHDR-30V-S-B' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.004792s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14851 LIMIT 4 [ RunTime:0.002538s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14851 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14851 ORDER BY `unit` DESC [ RunTime:0.000306s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14851 LIMIT 2 [ RunTime:0.000252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14851 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
select * from pdf where partno='430251600' and brandshort='MOLEX' limit 1 [ RunTime:0.000576s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '430251600' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6898 LIMIT 4 [ RunTime:0.003470s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6898 ORDER BY `minOrder` ASC [ RunTime:0.007133s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6898 ORDER BY `unit` DESC [ RunTime:0.000424s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6898 LIMIT 2 [ RunTime:0.003609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6898 ORDER BY `minOrder` ASC [ RunTime:0.004630s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PUDP-12V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.003918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14552 LIMIT 4 [ RunTime:0.004023s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14552 ORDER BY `minOrder` ASC [ RunTime:0.002330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14552 ORDER BY `unit` DESC [ RunTime:0.001088s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14552 LIMIT 2 [ RunTime:0.000773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14552 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '794939-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3257 LIMIT 4 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3257 ORDER BY `minOrder` ASC [ RunTime:0.000628s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3257 ORDER BY `unit` DESC [ RunTime:0.000463s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3257 LIMIT 2 [ RunTime:0.004297s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3257 ORDER BY `minOrder` ASC [ RunTime:0.002050s ]
select * from pdf where partno='1-640520-0' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001633s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-640520-0' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002510s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3271 LIMIT 4 [ RunTime:0.006535s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3271 ORDER BY `minOrder` ASC [ RunTime:0.008691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3271 ORDER BY `unit` DESC [ RunTime:0.000711s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3271 LIMIT 2 [ RunTime:0.000653s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3271 ORDER BY `minOrder` ASC [ RunTime:0.003795s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1375820-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.008604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4388 LIMIT 4 [ RunTime:0.010451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4388 ORDER BY `minOrder` ASC [ RunTime:0.010174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4388 ORDER BY `unit` DESC [ RunTime:0.000617s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4388 LIMIT 2 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4388 ORDER BY `minOrder` ASC [ RunTime:0.010930s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XADRP-08V' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.005892s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12984 LIMIT 4 [ RunTime:0.016516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12984 ORDER BY `minOrder` ASC [ RunTime:0.005225s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12984 ORDER BY `unit` DESC [ RunTime:0.006679s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12984 LIMIT 2 [ RunTime:0.010806s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12984 ORDER BY `minOrder` ASC [ RunTime:0.002610s ]
select * from pdf where partno='62GB-12E10-06SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.001939s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E10-06SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.001411s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14926 LIMIT 4 [ RunTime:0.000283s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14926 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14926 ORDER BY `unit` DESC [ RunTime:0.000295s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14926 LIMIT 2 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14926 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
select * from pdf where partno='CNT-M254-2*40-GS-6/3' and brandshort='CNT' limit 1 [ RunTime:0.000383s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-2*40-GS-6/3' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.000320s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14925 LIMIT 4 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14925 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14925 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14925 LIMIT 2 [ RunTime:0.000286s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14925 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
select * from pdf where partno='CNT-M254-1*40-GS-6/3' and brandshort='CNT' limit 1 [ RunTime:0.000366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CNT-M254-1*40-GS-6/3' OR `brand` LIKE 'CNT%' ) ) LIMIT 1 [ RunTime:0.000303s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13302 LIMIT 4 [ RunTime:0.000464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13302 ORDER BY `minOrder` ASC [ RunTime:0.004482s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13302 ORDER BY `unit` DESC [ RunTime:0.006809s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13302 LIMIT 2 [ RunTime:0.000908s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13302 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39012240' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006910s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5192 LIMIT 4 [ RunTime:0.000572s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5192 ORDER BY `minOrder` ASC [ RunTime:0.004950s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5192 ORDER BY `unit` DESC [ RunTime:0.004694s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5192 LIMIT 2 [ RunTime:0.001008s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5192 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '03-09-1027' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.007892s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11039 LIMIT 4 [ RunTime:0.000937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11039 ORDER BY `minOrder` ASC [ RunTime:0.000924s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11039 ORDER BY `unit` DESC [ RunTime:0.005421s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11039 LIMIT 2 [ RunTime:0.006348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11039 ORDER BY `minOrder` ASC [ RunTime:0.000410s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '105307-1205' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.012603s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4544 LIMIT 4 [ RunTime:0.004125s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.001582s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4544 ORDER BY `unit` DESC [ RunTime:0.005073s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4544 LIMIT 2 [ RunTime:0.014809s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4544 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C1608X8R1H103K080AA.' OR `brand` LIKE 'TDK%' ) ) LIMIT 1 [ RunTime:0.008818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3253 LIMIT 4 [ RunTime:0.003441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3253 ORDER BY `minOrder` ASC [ RunTime:0.000430s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3253 ORDER BY `unit` DESC [ RunTime:0.002524s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3253 LIMIT 2 [ RunTime:0.005745s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3253 ORDER BY `minOrder` ASC [ RunTime:0.005110s ]
select * from pdf where partno='1-640509-0' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004452s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-640509-0' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000662s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000859s ]