SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001327s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000440s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001158s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.220' ) [ RunTime:0.003598s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001363s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001551s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 676 LIMIT 1 [ RunTime:0.000687s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 676 [ RunTime:0.000344s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 51 [ RunTime:0.000156s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001102s ]
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.007253s ]
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.007045s ]
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.002944s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001037s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 16367 LIMIT 4 [ RunTime:0.002325s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002159s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16367 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 16367 ORDER BY `unit` DESC [ RunTime:0.000165s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001042s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 16367 LIMIT 2 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 16367 ORDER BY `minOrder` ASC [ RunTime:0.003010s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.000341s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001386s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000420s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15347 LIMIT 4 [ RunTime:0.000567s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15347 ORDER BY `minOrder` ASC [ RunTime:0.001292s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15347 ORDER BY `unit` DESC [ RunTime:0.000548s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15347 LIMIT 2 [ RunTime:0.000654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15347 ORDER BY `minOrder` ASC [ RunTime:0.001275s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.000354s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000358s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15219 LIMIT 4 [ RunTime:0.005256s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15219 ORDER BY `minOrder` ASC [ RunTime:0.001595s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15219 ORDER BY `unit` DESC [ RunTime:0.000339s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15219 LIMIT 2 [ RunTime:0.001387s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15219 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.000366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000346s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 15114 LIMIT 4 [ RunTime:0.005339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15114 ORDER BY `minOrder` ASC [ RunTime:0.002511s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 15114 ORDER BY `unit` DESC [ RunTime:0.002442s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 15114 LIMIT 2 [ RunTime:0.002972s ]
SELECT * FROM `stock_price` WHERE `stockid` = 15114 ORDER BY `minOrder` ASC [ RunTime:0.003699s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.000391s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000350s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8539 LIMIT 4 [ RunTime:0.000524s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.003476s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8539 ORDER BY `unit` DESC [ RunTime:0.000537s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8539 LIMIT 2 [ RunTime:0.002781s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8539 ORDER BY `minOrder` ASC [ RunTime:0.002007s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAV0120/3D' OR `brand` LIKE 'BULGIN LIMITED%' ) ) LIMIT 1 [ RunTime:0.003142s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5866 LIMIT 4 [ RunTime:0.004853s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5866 ORDER BY `minOrder` ASC [ RunTime:0.003698s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5866 ORDER BY `unit` DESC [ RunTime:0.002354s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5866 LIMIT 2 [ RunTime:0.002130s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5866 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RMD05024' OR `brand` LIKE 'SCHRACK - TE CONNECTIVITY%' ) ) LIMIT 1 [ RunTime:0.001356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3669 LIMIT 4 [ RunTime:0.000622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3669 ORDER BY `minOrder` ASC [ RunTime:0.000547s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3669 ORDER BY `unit` DESC [ RunTime:0.009230s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3669 LIMIT 2 [ RunTime:0.007732s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3669 ORDER BY `minOrder` ASC [ RunTime:0.003223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26705.' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001871s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13392 LIMIT 4 [ RunTime:0.001805s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13392 ORDER BY `minOrder` ASC [ RunTime:0.002017s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13392 ORDER BY `unit` DESC [ RunTime:0.003589s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13392 LIMIT 2 [ RunTime:0.000731s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13392 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XN100' OR `brand` LIKE 'WELLER XCELITE%' ) ) LIMIT 1 [ RunTime:0.000742s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3006 LIMIT 4 [ RunTime:0.002989s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3006 ORDER BY `minOrder` ASC [ RunTime:0.001073s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3006 ORDER BY `unit` DESC [ RunTime:0.000684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3006 LIMIT 2 [ RunTime:0.000694s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3006 ORDER BY `minOrder` ASC [ RunTime:0.000462s ]
select * from pdf where partno='26008' and brandshort='WIHA' limit 1 [ RunTime:0.007067s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26008' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001413s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13393 LIMIT 4 [ RunTime:0.004551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13393 ORDER BY `minOrder` ASC [ RunTime:0.000373s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13393 ORDER BY `unit` DESC [ RunTime:0.002838s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13393 LIMIT 2 [ RunTime:0.003353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13393 ORDER BY `minOrder` ASC [ RunTime:0.000366s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'XNB103' OR `brand` LIKE 'WELLER XCELITE%' ) ) LIMIT 1 [ RunTime:0.000366s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3078 LIMIT 4 [ RunTime:0.000901s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3078 ORDER BY `minOrder` ASC [ RunTime:0.005015s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3078 ORDER BY `unit` DESC [ RunTime:0.002149s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3078 LIMIT 2 [ RunTime:0.011140s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3078 ORDER BY `minOrder` ASC [ RunTime:0.016973s ]
select * from pdf where partno='36270' and brandshort='WIHA' limit 1 [ RunTime:0.007832s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36270' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.013487s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3056 LIMIT 4 [ RunTime:0.001983s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3056 ORDER BY `minOrder` ASC [ RunTime:0.006682s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3056 ORDER BY `unit` DESC [ RunTime:0.005465s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3056 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3056 ORDER BY `minOrder` ASC [ RunTime:0.000262s ]
select * from pdf where partno='31140' and brandshort='WIHA' limit 1 [ RunTime:0.001921s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31140' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.006017s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3086 LIMIT 4 [ RunTime:0.000704s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.000460s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3086 ORDER BY `unit` DESC [ RunTime:0.000355s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3086 LIMIT 2 [ RunTime:0.015220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3086 ORDER BY `minOrder` ASC [ RunTime:0.000422s ]
select * from pdf where partno='36280' and brandshort='WIHA' limit 1 [ RunTime:0.002306s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36280' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.004742s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3007 LIMIT 4 [ RunTime:0.000727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.007729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3007 ORDER BY `unit` DESC [ RunTime:0.004319s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3007 LIMIT 2 [ RunTime:0.000363s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3007 ORDER BY `minOrder` ASC [ RunTime:0.005905s ]
select * from pdf where partno='31118' and brandshort='WIHA' limit 1 [ RunTime:0.007186s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31118' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.007199s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10732 LIMIT 4 [ RunTime:0.001477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10732 ORDER BY `minOrder` ASC [ RunTime:0.000708s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10732 ORDER BY `unit` DESC [ RunTime:0.011460s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10732 LIMIT 2 [ RunTime:0.016263s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10732 ORDER BY `minOrder` ASC [ RunTime:0.002905s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '138070' OR `brand` LIKE 'WERA%' ) ) LIMIT 1 [ RunTime:0.003984s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3076 LIMIT 4 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3076 ORDER BY `minOrder` ASC [ RunTime:0.000785s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3076 ORDER BY `unit` DESC [ RunTime:0.000528s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3076 LIMIT 2 [ RunTime:0.000551s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3076 ORDER BY `minOrder` ASC [ RunTime:0.000481s ]
select * from pdf where partno='36266' and brandshort='WIHA' limit 1 [ RunTime:0.009216s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '36266' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.008048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3049 LIMIT 4 [ RunTime:0.000661s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3049 ORDER BY `minOrder` ASC [ RunTime:0.000616s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3049 ORDER BY `unit` DESC [ RunTime:0.000606s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3049 LIMIT 2 [ RunTime:0.002425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3049 ORDER BY `minOrder` ASC [ RunTime:0.007419s ]
select * from pdf where partno='26101' and brandshort='WIHA' limit 1 [ RunTime:0.000617s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '26101' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.000429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10790 LIMIT 4 [ RunTime:0.002959s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10790 ORDER BY `minOrder` ASC [ RunTime:0.002239s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10790 ORDER BY `unit` DESC [ RunTime:0.006701s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10790 LIMIT 2 [ RunTime:0.003951s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10790 ORDER BY `minOrder` ASC [ RunTime:0.000407s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'C-730' OR `brand` LIKE 'DURATOOL%' ) ) LIMIT 1 [ RunTime:0.001604s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3080 LIMIT 4 [ RunTime:0.000709s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3080 ORDER BY `minOrder` ASC [ RunTime:0.001283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3080 ORDER BY `unit` DESC [ RunTime:0.002158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3080 LIMIT 2 [ RunTime:0.006583s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3080 ORDER BY `minOrder` ASC [ RunTime:0.003561s ]
select * from pdf where partno='31115' and brandshort='WIHA' limit 1 [ RunTime:0.003023s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '31115' OR `brand` LIKE 'WIHA%' ) ) LIMIT 1 [ RunTime:0.001382s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11304 LIMIT 4 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11304 ORDER BY `minOrder` ASC [ RunTime:0.001729s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11304 ORDER BY `unit` DESC [ RunTime:0.009371s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11304 LIMIT 2 [ RunTime:0.010730s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11304 ORDER BY `minOrder` ASC [ RunTime:0.005877s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '002990' OR `brand` LIKE 'WERA%' ) ) LIMIT 1 [ RunTime:0.003264s ]
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.007857s ]