SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001763s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000469s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001964s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000290s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001742s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000297s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 277 LIMIT 1 [ RunTime:0.000318s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 277 [ RunTime:0.000219s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 29 [ RunTime:0.000223s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001977s ]
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` = 277 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004268s ]
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 ('6859','3666','3284','6059','7789','6058','8181','13616','238','6764','13615','12984','12983','12989','12982','4547','8725','4158','12986','12988') ORDER BY FIELD(s.id, 6859,3666,3284,6059,7789,6058,8181,13616,238,6764,13615,12984,12983,12989,12982,4547,8725,4158,12986,12988) [ RunTime:0.004487s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.003373s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6859 LIMIT 4 [ RunTime:0.000336s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004739s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6859 ORDER BY `minOrder` ASC [ RunTime:0.017177s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001145s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6859 ORDER BY `unit` DESC [ RunTime:0.000522s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002126s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6859 LIMIT 2 [ RunTime:0.000280s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6859 ORDER BY `minOrder` ASC [ RunTime:0.002346s ]
select * from pdf where partno='66601-2' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.004885s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002628s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '66601-2' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001626s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3666 LIMIT 4 [ RunTime:0.009465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3666 ORDER BY `minOrder` ASC [ RunTime:0.003529s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3666 ORDER BY `unit` DESC [ RunTime:0.001113s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3666 LIMIT 2 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3666 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
select * from pdf where partno='7001-8P8C-R-M' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.000376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '7001-8P8C-R-M' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000394s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3284 LIMIT 4 [ RunTime:0.000619s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3284 ORDER BY `minOrder` ASC [ RunTime:0.000824s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3284 ORDER BY `unit` DESC [ RunTime:0.001021s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3284 LIMIT 2 [ RunTime:0.001300s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3284 ORDER BY `minOrder` ASC [ RunTime:0.001653s ]
select * from pdf where partno='206070-8' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001561s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206070-8' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.002714s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6059 LIMIT 4 [ RunTime:0.003417s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6059 ORDER BY `minOrder` ASC [ RunTime:0.002954s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6059 ORDER BY `unit` DESC [ RunTime:0.002161s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6059 LIMIT 2 [ RunTime:0.000665s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6059 ORDER BY `minOrder` ASC [ RunTime:0.000380s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLP2-375' OR `brand` LIKE 'BIVAR%' ) ) LIMIT 1 [ RunTime:0.001415s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7789 LIMIT 4 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7789 ORDER BY `minOrder` ASC [ RunTime:0.000767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7789 ORDER BY `unit` DESC [ RunTime:0.000581s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7789 LIMIT 2 [ RunTime:0.000541s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7789 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
select * from pdf where partno='9774030243R' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.004500s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '9774030243R' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.002305s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6058 LIMIT 4 [ RunTime:0.007964s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6058 ORDER BY `minOrder` ASC [ RunTime:0.000399s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6058 ORDER BY `unit` DESC [ RunTime:0.000447s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6058 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6058 ORDER BY `minOrder` ASC [ RunTime:0.000370s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PLP2-500' OR `brand` LIKE 'BIVAR%' ) ) LIMIT 1 [ RunTime:0.000378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8181 LIMIT 4 [ RunTime:0.000520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8181 ORDER BY `minOrder` ASC [ RunTime:0.000776s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8181 ORDER BY `unit` DESC [ RunTime:0.002219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8181 LIMIT 2 [ RunTime:0.013029s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8181 ORDER BY `minOrder` ASC [ RunTime:0.007302s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT62-20-0122.' OR `brand` LIKE 'AMPHENOL SINE/TUCHEL%' ) ) LIMIT 1 [ RunTime:0.001892s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13616 LIMIT 4 [ RunTime:0.001855s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13616 ORDER BY `minOrder` ASC [ RunTime:0.000767s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13616 ORDER BY `unit` DESC [ RunTime:0.002612s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13616 LIMIT 2 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13616 ORDER BY `minOrder` ASC [ RunTime:0.000384s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182649-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000391s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 238 LIMIT 4 [ RunTime:0.000533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 238 ORDER BY `minOrder` ASC [ RunTime:0.000791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 238 ORDER BY `unit` DESC [ RunTime:0.001469s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 238 LIMIT 2 [ RunTime:0.009337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 238 ORDER BY `minOrder` ASC [ RunTime:0.002421s ]
select * from pdf where partno='206039-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.001394s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '206039-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001223s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6764 LIMIT 4 [ RunTime:0.002169s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6764 ORDER BY `minOrder` ASC [ RunTime:0.005215s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6764 ORDER BY `unit` DESC [ RunTime:0.001384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6764 LIMIT 2 [ RunTime:0.004324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6764 ORDER BY `minOrder` ASC [ RunTime:0.001266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SM24M1S6' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.001308s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13615 LIMIT 4 [ RunTime:0.007001s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13615 ORDER BY `minOrder` ASC [ RunTime:0.002068s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13615 ORDER BY `unit` DESC [ RunTime:0.000382s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13615 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13615 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
select * from pdf where partno='182651-1' and brandshort='AMP - TE CONNECTIVITY' limit 1 [ RunTime:0.000566s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '182651-1' OR `brand` LIKE 'AMP - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.000398s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12984 LIMIT 4 [ RunTime:0.000570s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12984 ORDER BY `minOrder` ASC [ RunTime:0.000378s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12984 ORDER BY `unit` DESC [ RunTime:0.000364s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12984 LIMIT 2 [ RunTime:0.000357s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12984 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='62GB-12E10-06SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.002287s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E10-06SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.000392s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12983 LIMIT 4 [ RunTime:0.000517s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.002218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12983 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12983 LIMIT 2 [ RunTime:0.000354s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12983 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
select * from pdf where partno='62GB-12E10-06PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.000513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E10-06PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.000389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12989 LIMIT 4 [ RunTime:0.001754s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12989 ORDER BY `minOrder` ASC [ RunTime:0.000831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12989 ORDER BY `unit` DESC [ RunTime:0.000720s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12989 LIMIT 2 [ RunTime:0.002474s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12989 ORDER BY `minOrder` ASC [ RunTime:0.002612s ]
select * from pdf where partno='62GB-56T10-06PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.006641s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-56T10-06PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.002042s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12982 LIMIT 4 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12982 ORDER BY `minOrder` ASC [ RunTime:0.000860s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12982 ORDER BY `unit` DESC [ RunTime:0.002100s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12982 LIMIT 2 [ RunTime:0.003292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12982 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
select * from pdf where partno='62GB-12E08-33SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.002774s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E08-33SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.000730s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4547 LIMIT 4 [ RunTime:0.000550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4547 ORDER BY `minOrder` ASC [ RunTime:0.001425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4547 ORDER BY `unit` DESC [ RunTime:0.001648s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4547 LIMIT 2 [ RunTime:0.002406s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4547 ORDER BY `minOrder` ASC [ RunTime:0.003402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ERZV10D221' OR `brand` LIKE 'PANASONIC%' ) ) LIMIT 1 [ RunTime:0.012145s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8725 LIMIT 4 [ RunTime:0.006385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8725 ORDER BY `minOrder` ASC [ RunTime:0.003446s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8725 ORDER BY `unit` DESC [ RunTime:0.000318s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8725 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8725 ORDER BY `minOrder` ASC [ RunTime:0.000246s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '005.33.220' OR `brand` LIKE 'ETTINGER%' ) ) LIMIT 1 [ RunTime:0.005110s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4158 LIMIT 4 [ RunTime:0.000401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4158 ORDER BY `minOrder` ASC [ RunTime:0.005256s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4158 ORDER BY `unit` DESC [ RunTime:0.000391s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4158 LIMIT 2 [ RunTime:0.002093s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4158 ORDER BY `minOrder` ASC [ RunTime:0.001087s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MBG12P1' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.002357s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12986 LIMIT 4 [ RunTime:0.002126s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12986 ORDER BY `minOrder` ASC [ RunTime:0.003046s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12986 ORDER BY `unit` DESC [ RunTime:0.003878s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12986 LIMIT 2 [ RunTime:0.005806s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12986 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
select * from pdf where partno='62GB-12E14-04SN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.003486s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-12E14-04SN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.011311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12988 LIMIT 4 [ RunTime:0.020550s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12988 ORDER BY `minOrder` ASC [ RunTime:0.002749s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12988 ORDER BY `unit` DESC [ RunTime:0.005270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12988 LIMIT 2 [ RunTime:0.001724s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12988 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
select * from pdf where partno='62GB-56T08-33PN' and brandshort='AMPHENOL LTD' limit 1 [ RunTime:0.006562s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '62GB-56T08-33PN' OR `brand` LIKE 'AMPHENOL LTD%' ) ) LIMIT 1 [ RunTime:0.005817s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 277 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003658s ]