SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001676s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.028332s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002325s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.170' ) [ RunTime:0.006336s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001883s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.005724s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 676 LIMIT 1 [ RunTime:0.000668s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 676 [ RunTime:0.003154s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.005340s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002706s ]
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.024106s ]
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.018249s ]
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.013815s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002054s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16367 LIMIT 4 [ RunTime:0.010987s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16367 ORDER BY `minOrder` ASC [ RunTime:0.015174s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.006730s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16367 ORDER BY `unit` DESC [ RunTime:0.015282s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001807s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16367 LIMIT 2 [ RunTime:0.003486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16367 ORDER BY `minOrder` ASC [ RunTime:0.002006s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.005053s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001611s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001142s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15347 LIMIT 4 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15347 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15347 ORDER BY `unit` DESC [ RunTime:0.000481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15347 LIMIT 2 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15347 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.000522s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000364s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15219 LIMIT 4 [ RunTime:0.000513s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15219 ORDER BY `minOrder` ASC [ RunTime:0.000605s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15219 ORDER BY `unit` DESC [ RunTime:0.000477s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15219 LIMIT 2 [ RunTime:0.002532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15219 ORDER BY `minOrder` ASC [ RunTime:0.001139s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.003784s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.007638s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15114 LIMIT 4 [ RunTime:0.001860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15114 ORDER BY `minOrder` ASC [ RunTime:0.000659s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15114 ORDER BY `unit` DESC [ RunTime:0.000442s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15114 LIMIT 2 [ RunTime:0.000505s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15114 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.000479s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000311s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8539 LIMIT 4 [ RunTime:0.002773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.006098s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8539 ORDER BY `unit` DESC [ RunTime:0.003820s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8539 LIMIT 2 [ RunTime:0.004759s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.002080s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAV0120/3D' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.003321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5866 LIMIT 4 [ RunTime:0.004886s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5866 ORDER BY `minOrder` ASC [ RunTime:0.003203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5866 ORDER BY `unit` DESC [ RunTime:0.006598s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5866 LIMIT 2 [ RunTime:0.004569s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5866 ORDER BY `minOrder` ASC [ RunTime:0.002249s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RMD05024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.010247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3669 LIMIT 4 [ RunTime:0.007777s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3669 ORDER BY `minOrder` ASC [ RunTime:0.002995s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3669 ORDER BY `unit` DESC [ RunTime:0.002666s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3669 LIMIT 2 [ RunTime:0.001744s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3669 ORDER BY `minOrder` ASC [ RunTime:0.002671s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26705.' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.003429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13392 LIMIT 4 [ RunTime:0.001308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13392 ORDER BY `minOrder` ASC [ RunTime:0.008717s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13392 ORDER BY `unit` DESC [ RunTime:0.002499s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13392 LIMIT 2 [ RunTime:0.006217s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13392 ORDER BY `minOrder` ASC [ RunTime:0.000869s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XN100' OR `brand` LIKE 'WELLER XCELITE%' ) ) LIMIT 1 [ RunTime:0.005748s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3006 LIMIT 4 [ RunTime:0.002103s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3006 ORDER BY `minOrder` ASC [ RunTime:0.009555s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3006 ORDER BY `unit` DESC [ RunTime:0.000627s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3006 LIMIT 2 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3006 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='26008' and brandshort='WIHA' limit 1 [ RunTime:0.005735s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26008' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001169s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13393 LIMIT 4 [ RunTime:0.000370s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13393 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13393 ORDER BY `unit` DESC [ RunTime:0.000540s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13393 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13393 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XNB103' OR `brand` LIKE 'WELLER XCELITE%' ) ) LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3078 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3078 ORDER BY `minOrder` ASC [ RunTime:0.001700s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3078 ORDER BY `unit` DESC [ RunTime:0.001653s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3078 LIMIT 2 [ RunTime:0.000733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3078 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
select * from pdf where partno='36270' and brandshort='WIHA' limit 1 [ RunTime:0.003439s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36270' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000706s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3056 LIMIT 4 [ RunTime:0.001475s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3056 ORDER BY `minOrder` ASC [ RunTime:0.000539s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3056 ORDER BY `unit` DESC [ RunTime:0.002743s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3056 LIMIT 2 [ RunTime:0.004196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3056 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
select * from pdf where partno='31140' and brandshort='WIHA' limit 1 [ RunTime:0.002452s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31140' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001115s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3086 LIMIT 4 [ RunTime:0.000501s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.000530s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3086 ORDER BY `unit` DESC [ RunTime:0.002245s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3086 LIMIT 2 [ RunTime:0.003895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.000297s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000318s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3007 LIMIT 4 [ RunTime:0.002545s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.005337s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3007 ORDER BY `unit` DESC [ RunTime:0.000615s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3007 LIMIT 2 [ RunTime:0.000463s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.005695s ]
select * from pdf where partno='31118' and brandshort='WIHA' limit 1 [ RunTime:0.000913s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31118' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.003003s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10732 LIMIT 4 [ RunTime:0.005189s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10732 ORDER BY `minOrder` ASC [ RunTime:0.000640s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10732 ORDER BY `unit` DESC [ RunTime:0.000571s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10732 LIMIT 2 [ RunTime:0.000427s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10732 ORDER BY `minOrder` ASC [ RunTime:0.000692s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '138070' OR `brand` LIKE 'WERA%' ) ) LIMIT 1 [ RunTime:0.001433s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3076 LIMIT 4 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3076 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3076 ORDER BY `unit` DESC [ RunTime:0.000409s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3076 LIMIT 2 [ RunTime:0.002287s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3076 ORDER BY `minOrder` ASC [ RunTime:0.000970s ]
select * from pdf where partno='36266' and brandshort='WIHA' limit 1 [ RunTime:0.001147s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36266' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3049 LIMIT 4 [ RunTime:0.001485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3049 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3049 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3049 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3049 ORDER BY `minOrder` ASC [ RunTime:0.001815s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000202s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10790 LIMIT 4 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10790 ORDER BY `minOrder` ASC [ RunTime:0.001827s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10790 ORDER BY `unit` DESC [ RunTime:0.000263s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10790 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10790 ORDER BY `minOrder` ASC [ RunTime:0.001305s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C-730' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.000666s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3080 LIMIT 4 [ RunTime:0.004356s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3080 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3080 ORDER BY `unit` DESC [ RunTime:0.000169s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3080 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3080 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
select * from pdf where partno='31115' and brandshort='WIHA' limit 1 [ RunTime:0.000247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31115' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000207s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11304 LIMIT 4 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11304 ORDER BY `minOrder` ASC [ RunTime:0.000518s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11304 ORDER BY `unit` DESC [ RunTime:0.001807s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11304 LIMIT 2 [ RunTime:0.007487s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11304 ORDER BY `minOrder` ASC [ RunTime:0.000538s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '002990' OR `brand` LIKE 'WERA%' ) ) LIMIT 1 [ RunTime:0.001519s ]
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.000792s ]