SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.000987s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000414s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001264s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001202s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000220s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 696 LIMIT 1 [ RunTime:0.000240s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 696 [ RunTime:0.000142s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 52 [ RunTime:0.000147s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002650s ]
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.000498s ]
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.000596s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002044s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10545 LIMIT 4 [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001922s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10545 ORDER BY `minOrder` ASC [ RunTime:0.001734s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001665s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10545 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001760s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10545 LIMIT 2 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10545 ORDER BY `minOrder` ASC [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001922s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '94-B' OR `brand` LIKE 'ABB - ADAPTAFLEX%' ) ) LIMIT 1 [ RunTime:0.000254s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5382 LIMIT 4 [ RunTime:0.000222s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5382 ORDER BY `minOrder` ASC [ RunTime:0.000218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5382 ORDER BY `unit` DESC [ RunTime:0.000218s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5382 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5382 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DH-023' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000266s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 983 LIMIT 4 [ RunTime:0.000216s ]
SELECT * FROM `stock_price` WHERE `stockid` = 983 ORDER BY `minOrder` ASC [ RunTime:0.000219s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 983 ORDER BY `unit` DESC [ RunTime:0.000217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 983 LIMIT 2 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 983 ORDER BY `minOrder` ASC [ RunTime:0.000223s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53119010' OR `brand` LIKE 'LAPP KABEL%' ) ) LIMIT 1 [ RunTime:0.000273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5383 LIMIT 4 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5383 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5383 ORDER BY `unit` DESC [ RunTime:0.000217s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5383 LIMIT 2 [ RunTime:0.000213s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5383 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
select * from pdf where partno='DH-023L2F' and brandshort='MULTICOMP' limit 1 [ RunTime:0.000707s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DH-023L2F' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.000727s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1162 LIMIT 4 [ RunTime:0.000491s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1162 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1162 ORDER BY `unit` DESC [ RunTime:0.000340s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1162 LIMIT 2 [ RunTime:0.000322s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1162 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53119110' OR `brand` LIKE 'LAPP KABEL%' ) ) LIMIT 1 [ RunTime:0.000356s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1889 LIMIT 4 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1889 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1889 ORDER BY `unit` DESC [ RunTime:0.000316s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1889 LIMIT 2 [ RunTime:0.000313s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1889 ORDER BY `minOrder` ASC [ RunTime:0.000326s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3- HFA2-S100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.000332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1879 LIMIT 4 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1879 ORDER BY `minOrder` ASC [ RunTime:0.000315s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1879 ORDER BY `unit` DESC [ RunTime:0.000336s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1879 LIMIT 2 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1879 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M2.5- HFST-Z100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.000328s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8785 LIMIT 4 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8785 ORDER BY `minOrder` ASC [ RunTime:0.000333s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8785 ORDER BY `unit` DESC [ RunTime:0.000317s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8785 LIMIT 2 [ RunTime:0.000312s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8785 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
select * from pdf where partno='RTS712N10P03' and brandshort='AMPHENOL SINE/TUCHEL' limit 1 [ RunTime:0.000762s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTS712N10P03' OR `brand` LIKE 'AMPHENOL SINE/TUCHEL%' ) ) LIMIT 1 [ RunTime:0.000338s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9029 LIMIT 4 [ RunTime:0.000311s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9029 ORDER BY `minOrder` ASC [ RunTime:0.000309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9029 ORDER BY `unit` DESC [ RunTime:0.003574s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9029 LIMIT 2 [ RunTime:0.001763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9029 ORDER BY `minOrder` ASC [ RunTime:0.000324s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '142-TB' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.000389s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7848 LIMIT 4 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7848 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7848 ORDER BY `unit` DESC [ RunTime:0.000316s ]
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.000312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '980' OR `brand` LIKE 'LASER%' ) ) LIMIT 1 [ RunTime:0.000331s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5687 LIMIT 4 [ RunTime:0.000314s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5687 ORDER BY `minOrder` ASC [ RunTime:0.000312s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5687 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5687 LIMIT 2 [ RunTime:0.000309s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5687 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '516-090-000-302' OR `brand` LIKE 'EDAC%' ) ) LIMIT 1 [ RunTime:0.000326s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6592 LIMIT 4 [ RunTime:0.004818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6592 ORDER BY `minOrder` ASC [ RunTime:0.003513s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6592 ORDER BY `unit` DESC [ RunTime:0.000356s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6592 LIMIT 2 [ RunTime:0.000334s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6592 ORDER BY `minOrder` ASC [ RunTime:0.000318s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTS710E7S' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.000332s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1880 LIMIT 4 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1880 ORDER BY `minOrder` ASC [ RunTime:0.000317s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1880 ORDER BY `unit` DESC [ RunTime:0.000322s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1880 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1880 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M4- HFST-Z100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1888 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1888 ORDER BY `minOrder` ASC [ RunTime:0.000319s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1888 ORDER BY `unit` DESC [ RunTime:0.000315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1888 LIMIT 2 [ RunTime:0.000310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1888 ORDER BY `minOrder` ASC [ RunTime:0.000314s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M2- HFA2-S100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.000335s ]
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.000390s ]