SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001399s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000624s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002246s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000314s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001762s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000278s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 696 LIMIT 1 [ RunTime:0.008399s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 696 [ RunTime:0.000248s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 52 [ RunTime:0.000224s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002191s ]
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` = 696 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001114s ]
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 ('10545','5382','983','5383','1162','1889','1879','8785','9029','7848','5687','6592','1880','1888') ORDER BY FIELD(s.id, 10545,5382,983,5383,1162,1889,1879,8785,9029,7848,5687,6592,1880,1888) [ RunTime:0.003970s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10545 LIMIT 4 [ RunTime:0.002758s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.004066s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10545 ORDER BY `minOrder` ASC [ RunTime:0.000424s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000896s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10545 ORDER BY `unit` DESC [ RunTime:0.002015s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001135s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10545 LIMIT 2 [ RunTime:0.002491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10545 ORDER BY `minOrder` ASC [ RunTime:0.002539s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001030s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '94-B' OR `brand` LIKE 'ABB - ADAPTAFLEX%' ) ) LIMIT 1 [ RunTime:0.002288s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5382 LIMIT 4 [ RunTime:0.004253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5382 ORDER BY `minOrder` ASC [ RunTime:0.003219s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5382 ORDER BY `unit` DESC [ RunTime:0.001989s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5382 LIMIT 2 [ RunTime:0.000341s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5382 ORDER BY `minOrder` ASC [ RunTime:0.000687s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DH-023' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000917s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 983 LIMIT 4 [ RunTime:0.003412s ]
SELECT * FROM `stock_price` WHERE `stockid` = 983 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 983 ORDER BY `unit` DESC [ RunTime:0.000786s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 983 LIMIT 2 [ RunTime:0.000415s ]
SELECT * FROM `stock_price` WHERE `stockid` = 983 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53119010' OR `brand` LIKE 'LAPP KABEL%' ) ) LIMIT 1 [ RunTime:0.000881s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5383 LIMIT 4 [ RunTime:0.001896s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5383 ORDER BY `minOrder` ASC [ RunTime:0.000409s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5383 ORDER BY `unit` DESC [ RunTime:0.000361s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5383 LIMIT 2 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5383 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
select * from pdf where partno='DH-023L2F' and brandshort='MULTICOMP' limit 1 [ RunTime:0.001734s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DH-023L2F' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.007612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1162 LIMIT 4 [ RunTime:0.002465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1162 ORDER BY `minOrder` ASC [ RunTime:0.002128s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1162 ORDER BY `unit` DESC [ RunTime:0.001937s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1162 LIMIT 2 [ RunTime:0.000691s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1162 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53119110' OR `brand` LIKE 'LAPP KABEL%' ) ) LIMIT 1 [ RunTime:0.000841s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1889 LIMIT 4 [ RunTime:0.000610s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1889 ORDER BY `minOrder` ASC [ RunTime:0.003984s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1889 ORDER BY `unit` DESC [ RunTime:0.011402s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1889 LIMIT 2 [ RunTime:0.009493s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1889 ORDER BY `minOrder` ASC [ RunTime:0.002177s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3- HFA2-S100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.001462s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1879 LIMIT 4 [ RunTime:0.001904s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1879 ORDER BY `minOrder` ASC [ RunTime:0.002921s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1879 ORDER BY `unit` DESC [ RunTime:0.008050s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1879 LIMIT 2 [ RunTime:0.002484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1879 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M2.5- HFST-Z100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.002643s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8785 LIMIT 4 [ RunTime:0.000542s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8785 ORDER BY `minOrder` ASC [ RunTime:0.000610s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8785 ORDER BY `unit` DESC [ RunTime:0.000412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8785 LIMIT 2 [ RunTime:0.002728s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8785 ORDER BY `minOrder` ASC [ RunTime:0.003126s ]
select * from pdf where partno='RTS712N10P03' and brandshort='AMPHENOL SINE/TUCHEL' limit 1 [ RunTime:0.001718s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTS712N10P03' OR `brand` LIKE 'AMPHENOL SINE/TUCHEL%' ) ) LIMIT 1 [ RunTime:0.000596s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9029 LIMIT 4 [ RunTime:0.000394s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9029 ORDER BY `minOrder` ASC [ RunTime:0.000429s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9029 ORDER BY `unit` DESC [ RunTime:0.000518s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9029 LIMIT 2 [ RunTime:0.008346s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9029 ORDER BY `minOrder` ASC [ RunTime:0.000554s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '142-TB' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.002519s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7848 LIMIT 4 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7848 ORDER BY `minOrder` ASC [ RunTime:0.000297s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7848 ORDER BY `unit` DESC [ RunTime:0.000301s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7848 LIMIT 2 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7848 ORDER BY `minOrder` ASC [ RunTime:0.000303s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '980' OR `brand` LIKE 'LASER%' ) ) LIMIT 1 [ RunTime:0.000313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5687 LIMIT 4 [ RunTime:0.000883s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5687 ORDER BY `minOrder` ASC [ RunTime:0.000453s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5687 ORDER BY `unit` DESC [ RunTime:0.000432s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5687 LIMIT 2 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5687 ORDER BY `minOrder` ASC [ RunTime:0.002689s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '516-090-000-302' OR `brand` LIKE 'EDAC%' ) ) LIMIT 1 [ RunTime:0.004459s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6592 LIMIT 4 [ RunTime:0.005786s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6592 ORDER BY `minOrder` ASC [ RunTime:0.011061s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6592 ORDER BY `unit` DESC [ RunTime:0.001645s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6592 LIMIT 2 [ RunTime:0.001853s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6592 ORDER BY `minOrder` ASC [ RunTime:0.004483s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTS710E7S' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.005039s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1880 LIMIT 4 [ RunTime:0.004839s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1880 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1880 ORDER BY `unit` DESC [ RunTime:0.000299s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1880 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1880 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M4- HFST-Z100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.000321s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1888 LIMIT 4 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1888 ORDER BY `minOrder` ASC [ RunTime:0.000283s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1888 ORDER BY `unit` DESC [ RunTime:0.000282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1888 LIMIT 2 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1888 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M2- HFA2-S100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.000338s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 696 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.008371s ]