SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001983s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.006332s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002301s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.001885s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001850s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.002223s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 676 LIMIT 1 [ RunTime:0.001537s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 676 [ RunTime:0.002154s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.000343s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002639s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` = 676 ) AND `u`.`lockUser` = '0' [ RunTime:0.015476s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 676 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007090s ]
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 = 1) ) AND `s`.`id` IN ('16367','15347','15219','15114','8539','5866','3669','13392','3006','13393','3078','3056','3086','3007','10732','3076','3049','10790','3080','11304') ORDER BY FIELD(s.id, 16367,15347,15219,15114,8539,5866,3669,13392,3006,13393,3078,3056,3086,3007,10732,3076,3049,10790,3080,11304) [ RunTime:0.014786s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001939s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16367 LIMIT 4 [ RunTime:0.002672s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002197s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16367 ORDER BY `minOrder` ASC [ RunTime:0.000752s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002227s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16367 ORDER BY `unit` DESC [ RunTime:0.004777s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.003582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16367 LIMIT 2 [ RunTime:0.001833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16367 ORDER BY `minOrder` ASC [ RunTime:0.000437s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.002322s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001397s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001060s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15347 LIMIT 4 [ RunTime:0.002159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15347 ORDER BY `minOrder` ASC [ RunTime:0.009104s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15347 ORDER BY `unit` DESC [ RunTime:0.009476s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15347 LIMIT 2 [ RunTime:0.000800s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15347 ORDER BY `minOrder` ASC [ RunTime:0.000746s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.001777s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.002644s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15219 LIMIT 4 [ RunTime:0.002706s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15219 ORDER BY `minOrder` ASC [ RunTime:0.003391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15219 ORDER BY `unit` DESC [ RunTime:0.000389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15219 LIMIT 2 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15219 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.003555s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.003301s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15114 LIMIT 4 [ RunTime:0.002990s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15114 ORDER BY `minOrder` ASC [ RunTime:0.004802s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15114 ORDER BY `unit` DESC [ RunTime:0.003273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15114 LIMIT 2 [ RunTime:0.004892s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15114 ORDER BY `minOrder` ASC [ RunTime:0.003163s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.002616s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000467s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8539 LIMIT 4 [ RunTime:0.000475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.003066s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8539 ORDER BY `unit` DESC [ RunTime:0.002338s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8539 LIMIT 2 [ RunTime:0.005115s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.002504s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAV0120/3D' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.001837s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5866 LIMIT 4 [ RunTime:0.000581s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5866 ORDER BY `minOrder` ASC [ RunTime:0.002388s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5866 ORDER BY `unit` DESC [ RunTime:0.008975s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5866 LIMIT 2 [ RunTime:0.002112s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5866 ORDER BY `minOrder` ASC [ RunTime:0.006451s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RMD05024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.003574s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3669 LIMIT 4 [ RunTime:0.002249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3669 ORDER BY `minOrder` ASC [ RunTime:0.003732s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3669 ORDER BY `unit` DESC [ RunTime:0.000497s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3669 LIMIT 2 [ RunTime:0.001518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3669 ORDER BY `minOrder` ASC [ RunTime:0.005597s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26705.' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.003716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13392 LIMIT 4 [ RunTime:0.003170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13392 ORDER BY `minOrder` ASC [ RunTime:0.001016s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13392 ORDER BY `unit` DESC [ RunTime:0.007569s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13392 LIMIT 2 [ RunTime:0.004239s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13392 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XN100' OR `brand` LIKE 'WELLER XCELITE%' ) ) LIMIT 1 [ RunTime:0.003280s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3006 LIMIT 4 [ RunTime:0.004616s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3006 ORDER BY `minOrder` ASC [ RunTime:0.004565s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3006 ORDER BY `unit` DESC [ RunTime:0.000527s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3006 LIMIT 2 [ RunTime:0.000466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3006 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
select * from pdf where partno='26008' and brandshort='WIHA' limit 1 [ RunTime:0.001122s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26008' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.005439s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13393 LIMIT 4 [ RunTime:0.000761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13393 ORDER BY `minOrder` ASC [ RunTime:0.001319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13393 ORDER BY `unit` DESC [ RunTime:0.002493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13393 LIMIT 2 [ RunTime:0.003512s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13393 ORDER BY `minOrder` ASC [ RunTime:0.001149s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XNB103' OR `brand` LIKE 'WELLER XCELITE%' ) ) LIMIT 1 [ RunTime:0.000591s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3078 LIMIT 4 [ RunTime:0.002176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3078 ORDER BY `minOrder` ASC [ RunTime:0.003075s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3078 ORDER BY `unit` DESC [ RunTime:0.000470s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3078 LIMIT 2 [ RunTime:0.002822s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3078 ORDER BY `minOrder` ASC [ RunTime:0.000339s ]
select * from pdf where partno='36270' and brandshort='WIHA' limit 1 [ RunTime:0.001074s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36270' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001222s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3056 LIMIT 4 [ RunTime:0.000471s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3056 ORDER BY `minOrder` ASC [ RunTime:0.000483s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3056 ORDER BY `unit` DESC [ RunTime:0.001265s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3056 LIMIT 2 [ RunTime:0.000445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3056 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
select * from pdf where partno='31140' and brandshort='WIHA' limit 1 [ RunTime:0.001284s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31140' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.002346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3086 LIMIT 4 [ RunTime:0.002228s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.004016s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3086 ORDER BY `unit` DESC [ RunTime:0.000600s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3086 LIMIT 2 [ RunTime:0.000479s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.000669s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000395s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3007 LIMIT 4 [ RunTime:0.000501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.004210s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3007 ORDER BY `unit` DESC [ RunTime:0.000534s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3007 LIMIT 2 [ RunTime:0.000525s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.000357s ]
select * from pdf where partno='31118' and brandshort='WIHA' limit 1 [ RunTime:0.001288s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31118' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001979s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10732 LIMIT 4 [ RunTime:0.000513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10732 ORDER BY `minOrder` ASC [ RunTime:0.000647s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10732 ORDER BY `unit` DESC [ RunTime:0.000534s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10732 LIMIT 2 [ RunTime:0.001895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10732 ORDER BY `minOrder` ASC [ RunTime:0.004573s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '138070' OR `brand` LIKE 'WERA%' ) ) LIMIT 1 [ RunTime:0.003427s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3076 LIMIT 4 [ RunTime:0.001734s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3076 ORDER BY `minOrder` ASC [ RunTime:0.004144s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3076 ORDER BY `unit` DESC [ RunTime:0.008396s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3076 LIMIT 2 [ RunTime:0.000560s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3076 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
select * from pdf where partno='36266' and brandshort='WIHA' limit 1 [ RunTime:0.002666s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36266' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000688s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3049 LIMIT 4 [ RunTime:0.001863s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3049 ORDER BY `minOrder` ASC [ RunTime:0.003804s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3049 ORDER BY `unit` DESC [ RunTime:0.001978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3049 LIMIT 2 [ RunTime:0.007485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3049 ORDER BY `minOrder` ASC [ RunTime:0.001983s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.000495s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.004183s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10790 LIMIT 4 [ RunTime:0.002547s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10790 ORDER BY `minOrder` ASC [ RunTime:0.002717s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10790 ORDER BY `unit` DESC [ RunTime:0.004966s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10790 LIMIT 2 [ RunTime:0.001173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10790 ORDER BY `minOrder` ASC [ RunTime:0.004350s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C-730' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.001093s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3080 LIMIT 4 [ RunTime:0.000611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3080 ORDER BY `minOrder` ASC [ RunTime:0.002097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3080 ORDER BY `unit` DESC [ RunTime:0.001405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3080 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3080 ORDER BY `minOrder` ASC [ RunTime:0.004347s ]
select * from pdf where partno='31115' and brandshort='WIHA' limit 1 [ RunTime:0.001885s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31115' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000478s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11304 LIMIT 4 [ RunTime:0.001618s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11304 ORDER BY `minOrder` ASC [ RunTime:0.001363s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11304 ORDER BY `unit` DESC [ RunTime:0.002609s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11304 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11304 ORDER BY `minOrder` ASC [ RunTime:0.000834s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '002990' OR `brand` LIKE 'WERA%' ) ) LIMIT 1 [ RunTime:0.000794s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 676 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000820s ]