SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001226s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000418s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001291s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.187' ) [ RunTime:0.000228s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000890s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000182s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000158s ]
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.000312s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001113s ]
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.000362s ]
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 300,20 [ RunTime:0.004395s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.000938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8592 LIMIT 4 [ RunTime:0.000829s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000814s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8592 ORDER BY `minOrder` ASC [ RunTime:0.001509s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001061s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8592 ORDER BY `unit` DESC [ RunTime:0.001060s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000817s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8592 LIMIT 2 [ RunTime:0.000733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8592 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
select * from pdf where partno='205204-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000993s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002901s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '205204-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3524 LIMIT 4 [ RunTime:0.010289s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3524 ORDER BY `minOrder` ASC [ RunTime:0.006883s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3524 ORDER BY `unit` DESC [ RunTime:0.003527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3524 LIMIT 2 [ RunTime:0.002594s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3524 ORDER BY `minOrder` ASC [ RunTime:0.004743s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '39-01-3028' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 195 LIMIT 4 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 195 ORDER BY `minOrder` ASC [ RunTime:0.000775s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 195 ORDER BY `unit` DESC [ RunTime:0.000870s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 195 LIMIT 2 [ RunTime:0.004503s ]
SELECT * FROM `stock_price` WHERE `stockid` = 195 ORDER BY `minOrder` ASC [ RunTime:0.007824s ]
select * from pdf where partno='UTG12AC' and brandshort='SOURIAU-SUNBANK / EATON' limit 1 [ RunTime:0.004711s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTG12AC' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.006562s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6902 LIMIT 4 [ RunTime:0.003339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6902 ORDER BY `minOrder` ASC [ RunTime:0.003809s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6902 ORDER BY `unit` DESC [ RunTime:0.001608s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6902 LIMIT 2 [ RunTime:0.001364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6902 ORDER BY `minOrder` ASC [ RunTime:0.004115s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VHR-6N' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.001027s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1528 LIMIT 4 [ RunTime:0.000368s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1528 ORDER BY `minOrder` ASC [ RunTime:0.002018s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1528 ORDER BY `unit` DESC [ RunTime:0.005430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1528 LIMIT 2 [ RunTime:0.002293s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1528 ORDER BY `minOrder` ASC [ RunTime:0.001374s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'EKMG250ELL222MK25S' OR `brand` LIKE 'CHEMI-CON%' ) ) LIMIT 1 [ RunTime:0.002843s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 471 LIMIT 4 [ RunTime:0.000728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 471 ORDER BY `minOrder` ASC [ RunTime:0.000695s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 471 ORDER BY `unit` DESC [ RunTime:0.001152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 471 LIMIT 2 [ RunTime:0.001482s ]
SELECT * FROM `stock_price` WHERE `stockid` = 471 ORDER BY `minOrder` ASC [ RunTime:0.006598s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3-640442-3' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.005380s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9251 LIMIT 4 [ RunTime:0.002015s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251 ORDER BY `minOrder` ASC [ RunTime:0.002930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9251 ORDER BY `unit` DESC [ RunTime:0.000483s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9251 LIMIT 2 [ RunTime:0.002248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9251 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='1-1827864-4' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.004229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1827864-4' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002400s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9308 LIMIT 4 [ RunTime:0.002025s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9308 ORDER BY `minOrder` ASC [ RunTime:0.000411s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9308 ORDER BY `unit` DESC [ RunTime:0.001848s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9308 LIMIT 2 [ RunTime:0.007321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9308 ORDER BY `minOrder` ASC [ RunTime:0.004501s ]
select * from pdf where partno='50-84-1020' and brandshort='MOLEX' limit 1 [ RunTime:0.001422s ]
select foldpath,foldpath2,filename from pdf_file where id=1903736 limit 1 [ RunTime:0.002615s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '50-84-1020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.018087s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4376 LIMIT 4 [ RunTime:0.000748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4376 ORDER BY `minOrder` ASC [ RunTime:0.003331s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4376 ORDER BY `unit` DESC [ RunTime:0.005203s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4376 LIMIT 2 [ RunTime:0.000607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4376 ORDER BY `minOrder` ASC [ RunTime:0.001909s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PUDP-14V-S' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11049 LIMIT 4 [ RunTime:0.003824s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11049 ORDER BY `minOrder` ASC [ RunTime:0.011526s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11049 ORDER BY `unit` DESC [ RunTime:0.002144s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11049 LIMIT 2 [ RunTime:0.002314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11049 ORDER BY `minOrder` ASC [ RunTime:0.001241s ]
select * from pdf where partno='44133-1800' and brandshort='MOLEX' limit 1 [ RunTime:0.002011s ]
select foldpath,foldpath2,filename from pdf_file where id=851921 limit 1 [ RunTime:0.001668s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '44133-1800' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.013678s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3262 LIMIT 4 [ RunTime:0.001957s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3262 ORDER BY `minOrder` ASC [ RunTime:0.000619s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3262 ORDER BY `unit` DESC [ RunTime:0.002144s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3262 LIMIT 2 [ RunTime:0.004827s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3262 ORDER BY `minOrder` ASC [ RunTime:0.002334s ]
select * from pdf where partno='776164-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.003962s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '776164-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13651 LIMIT 4 [ RunTime:0.002402s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13651 ORDER BY `minOrder` ASC [ RunTime:0.003098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13651 ORDER BY `unit` DESC [ RunTime:0.002179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13651 LIMIT 2 [ RunTime:0.002112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13651 ORDER BY `minOrder` ASC [ RunTime:0.004788s ]
select * from pdf where partno='43025-2400' and brandshort='MOLEX' limit 1 [ RunTime:0.003488s ]
select foldpath,foldpath2,filename from pdf_file where id=827943 limit 1 [ RunTime:0.000706s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '43025-2400' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.013321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6904 LIMIT 4 [ RunTime:0.007693s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6904 ORDER BY `minOrder` ASC [ RunTime:0.003674s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6904 ORDER BY `unit` DESC [ RunTime:0.000589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6904 LIMIT 2 [ RunTime:0.002433s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6904 ORDER BY `minOrder` ASC [ RunTime:0.003560s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XAP-10V-1' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.007475s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3268 LIMIT 4 [ RunTime:0.001788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3268 ORDER BY `minOrder` ASC [ RunTime:0.001173s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3268 ORDER BY `unit` DESC [ RunTime:0.000851s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3268 LIMIT 2 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3268 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '102387-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000622s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 232 LIMIT 4 [ RunTime:0.000449s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.002922s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 232 ORDER BY `unit` DESC [ RunTime:0.006620s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 232 LIMIT 2 [ RunTime:0.000493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 232 ORDER BY `minOrder` ASC [ RunTime:0.000350s ]
select * from pdf where partno='206036-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001595s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206036-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001083s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11566 LIMIT 4 [ RunTime:0.007476s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11566 ORDER BY `minOrder` ASC [ RunTime:0.006546s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11566 ORDER BY `unit` DESC [ RunTime:0.000407s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11566 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11566 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
select * from pdf where partno='1-1719393-1' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1719393-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000362s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4365 LIMIT 4 [ RunTime:0.001218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4365 ORDER BY `minOrder` ASC [ RunTime:0.000479s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4365 ORDER BY `unit` DESC [ RunTime:0.001642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4365 LIMIT 2 [ RunTime:0.000458s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4365 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PHR-15' OR `brand` LIKE 'JST (JAPAN SOLDERLESS TERMINALS)%' ) ) LIMIT 1 [ RunTime:0.000908s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5441 LIMIT 4 [ RunTime:0.000462s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5441 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5441 ORDER BY `unit` DESC [ RunTime:0.007010s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5441 LIMIT 2 [ RunTime:0.009102s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5441 ORDER BY `minOrder` ASC [ RunTime:0.002124s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '3901-2165' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.011031s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5443 LIMIT 4 [ RunTime:0.002070s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5443 ORDER BY `minOrder` ASC [ RunTime:0.005577s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5443 ORDER BY `unit` DESC [ RunTime:0.000550s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5443 LIMIT 2 [ RunTime:0.003720s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5443 ORDER BY `minOrder` ASC [ RunTime:0.001550s ]
select * from pdf where partno='5916G4' and brandshort='ANDERSON POWER PRODUCTS' limit 1 [ RunTime:0.001077s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5916G4' OR `brand` LIKE 'ANDERSON POWER PRODUCTS%' ) ) LIMIT 1 [ RunTime:0.003239s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8141 LIMIT 4 [ RunTime:0.002348s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8141 ORDER BY `minOrder` ASC [ RunTime:0.002820s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8141 ORDER BY `unit` DESC [ RunTime:0.000646s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8141 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8141 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'VY1221K31Y5SQ63V0' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.010480s ]
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.000868s ]