SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.000967s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000402s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001119s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.153' ) [ RunTime:0.000218s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000862s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000185s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 29 LIMIT 1 [ RunTime:0.000179s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000159s ]
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.000354s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.000992s ]
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.000369s ]
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 600,20 [ RunTime:0.000412s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11618 LIMIT 4 [ RunTime:0.000176s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11618 ORDER BY `minOrder` ASC [ RunTime:0.000161s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000770s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11618 ORDER BY `unit` DESC [ RunTime:0.000159s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000774s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11618 LIMIT 2 [ RunTime:0.000156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11618 ORDER BY `minOrder` ASC [ RunTime:0.000147s ]
select * from pdf where partno='1-1903131-0' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000311s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000924s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1903131-0' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000201s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11578 LIMIT 4 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11578 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11578 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11578 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11578 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='2-967624-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000360s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2-967624-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9245 LIMIT 4 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9245 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9245 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9245 LIMIT 2 [ RunTime:0.000186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9245 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KGG-MC 1,5/ 8' OR `brand` LIKE 'PHOENIX CONTACT%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7880 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7880 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7880 LIMIT 2 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7880 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
select * from pdf where partno='NC5MX-B' and brandshort='NEUTRIK' limit 1 [ RunTime:0.000359s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'NC5MX-B' OR `brand` LIKE 'NEUTRIK%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6952 LIMIT 4 [ RunTime:0.000209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6952 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6952 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6952 LIMIT 2 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6952 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTS1JC1412S' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6775 LIMIT 4 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6775 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6775 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6775 LIMIT 2 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6775 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '170001-0106' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14574 LIMIT 4 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14574 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14574 ORDER BY `unit` DESC [ RunTime:0.000176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14574 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14574 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '338TTA025M' OR `brand` LIKE 'CORNELL DUBILIER%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13645 LIMIT 4 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13645 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13645 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13645 LIMIT 2 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13645 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
select * from pdf where partno='MS3106A-14S5P' and brandshort='AMPHENOL AEROSPACE' limit 1 [ RunTime:0.000355s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MS3106A-14S5P' OR `brand` LIKE 'AMPHENOL AEROSPACE%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12841 LIMIT 4 [ RunTime:0.000186s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12841 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12841 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12841 LIMIT 2 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12841 ORDER BY `minOrder` ASC [ RunTime:0.000187s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2103321-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000185s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10925 LIMIT 4 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10925 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10925 ORDER BY `unit` DESC [ RunTime:0.000178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10925 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10925 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='4-2103177-1' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '4-2103177-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10923 LIMIT 4 [ RunTime:0.000194s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10923 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10923 ORDER BY `unit` DESC [ RunTime:0.000186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10923 LIMIT 2 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10923 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
select * from pdf where partno='1-1718644-1' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '1-1718644-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000187s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9041 LIMIT 4 [ RunTime:0.000189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9041 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9041 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9041 LIMIT 2 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9041 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
select * from pdf where partno='STPSC30H12CWL' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000349s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'STPSC30H12CWL' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9030 LIMIT 4 [ RunTime:0.000191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9030 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9030 ORDER BY `unit` DESC [ RunTime:0.000193s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9030 LIMIT 2 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9030 ORDER BY `minOrder` ASC [ RunTime:0.000202s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '66565-7' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5472 LIMIT 4 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5472 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5472 ORDER BY `unit` DESC [ RunTime:0.000181s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5472 LIMIT 2 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5472 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MP101401' OR `brand` LIKE 'ZF%' ) ) LIMIT 1 [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12886 LIMIT 4 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12886 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12886 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12886 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12886 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
select * from pdf where partno='2387120-1' and brandshort='TE CONNECTIVITY' limit 1 [ RunTime:0.000354s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '2387120-1' OR `brand` LIKE 'TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000189s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11285 LIMIT 4 [ RunTime:0.000188s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11285 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11285 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11285 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11285 ORDER BY `minOrder` ASC [ RunTime:0.000205s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '160074-6002' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000192s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10364 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10364 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10364 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10364 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10364 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '13956021' OR `brand` LIKE 'APTIV / DELPHI%' ) ) LIMIT 1 [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10254 LIMIT 4 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10254 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10254 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10254 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10254 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '99-5661-15-19' OR `brand` LIKE 'BINDER%' ) ) LIMIT 1 [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8334 LIMIT 4 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8334 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8334 ORDER BY `unit` DESC [ RunTime:0.000178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8334 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8334 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DTP04-4P' OR `brand` LIKE 'DEUTSCH - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6778 LIMIT 4 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6778 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6778 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6778 LIMIT 2 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6778 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '171692-0112' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.000182s ]
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.000472s ]