SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001226s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000478s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002708s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000414s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002278s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000373s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 696 LIMIT 1 [ RunTime:0.000651s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 696 [ RunTime:0.000309s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 52 [ RunTime:0.000312s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002871s ]
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.006440s ]
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.001624s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004152s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10545 LIMIT 4 [ RunTime:0.003488s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001002s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10545 ORDER BY `minOrder` ASC [ RunTime:0.001798s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000797s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10545 ORDER BY `unit` DESC [ RunTime:0.000556s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000916s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10545 LIMIT 2 [ RunTime:0.004504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10545 ORDER BY `minOrder` ASC [ RunTime:0.002422s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000905s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '94-B' OR `brand` LIKE 'ABB - ADAPTAFLEX%' ) ) LIMIT 1 [ RunTime:0.003131s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5382 LIMIT 4 [ RunTime:0.000171s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5382 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5382 ORDER BY `unit` DESC [ RunTime:0.000179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5382 LIMIT 2 [ RunTime:0.002089s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5382 ORDER BY `minOrder` ASC [ RunTime:0.000893s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DH-023' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.001489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 983 LIMIT 4 [ RunTime:0.000148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 983 ORDER BY `minOrder` ASC [ RunTime:0.001427s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 983 ORDER BY `unit` DESC [ RunTime:0.000146s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 983 LIMIT 2 [ RunTime:0.000142s ]
SELECT * FROM `stock_price` WHERE `stockid` = 983 ORDER BY `minOrder` ASC [ RunTime:0.000142s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53119010' OR `brand` LIKE 'LAPP KABEL%' ) ) LIMIT 1 [ RunTime:0.002588s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5383 LIMIT 4 [ RunTime:0.000820s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5383 ORDER BY `minOrder` ASC [ RunTime:0.002692s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5383 ORDER BY `unit` DESC [ RunTime:0.002357s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5383 LIMIT 2 [ RunTime:0.000315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5383 ORDER BY `minOrder` ASC [ RunTime:0.000408s ]
select * from pdf where partno='DH-023L2F' and brandshort='MULTICOMP' limit 1 [ RunTime:0.010475s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DH-023L2F' OR `brand` LIKE 'MULTICOMP%' ) ) LIMIT 1 [ RunTime:0.001821s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1162 LIMIT 4 [ RunTime:0.000301s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1162 ORDER BY `minOrder` ASC [ RunTime:0.001421s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1162 ORDER BY `unit` DESC [ RunTime:0.000349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1162 LIMIT 2 [ RunTime:0.004715s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1162 ORDER BY `minOrder` ASC [ RunTime:0.000683s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '53119110' OR `brand` LIKE 'LAPP KABEL%' ) ) LIMIT 1 [ RunTime:0.001643s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1889 LIMIT 4 [ RunTime:0.002321s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1889 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1889 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1889 LIMIT 2 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1889 ORDER BY `minOrder` ASC [ RunTime:0.000242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M3- HFA2-S100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.001361s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1879 LIMIT 4 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1879 ORDER BY `minOrder` ASC [ RunTime:0.000238s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1879 ORDER BY `unit` DESC [ RunTime:0.000255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1879 LIMIT 2 [ RunTime:0.003725s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1879 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M2.5- HFST-Z100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.000276s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8785 LIMIT 4 [ RunTime:0.000238s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8785 ORDER BY `minOrder` ASC [ RunTime:0.000241s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8785 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8785 LIMIT 2 [ RunTime:0.000237s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8785 ORDER BY `minOrder` ASC [ RunTime:0.005587s ]
select * from pdf where partno='RTS712N10P03' and brandshort='AMPHENOL SINE/TUCHEL' limit 1 [ RunTime:0.000525s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RTS712N10P03' OR `brand` LIKE 'AMPHENOL SINE/TUCHEL%' ) ) LIMIT 1 [ RunTime:0.000294s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9029 LIMIT 4 [ RunTime:0.000243s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9029 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9029 ORDER BY `unit` DESC [ RunTime:0.000292s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9029 LIMIT 2 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9029 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '142-TB' OR `brand` LIKE 'ABB - THOMAS & BETTS%' ) ) LIMIT 1 [ RunTime:0.000247s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7848 LIMIT 4 [ RunTime:0.000250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7848 ORDER BY `minOrder` ASC [ RunTime:0.000285s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7848 ORDER BY `unit` DESC [ RunTime:0.000284s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7848 LIMIT 2 [ RunTime:0.000234s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7848 ORDER BY `minOrder` ASC [ RunTime:0.000234s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '980' OR `brand` LIKE 'LASER%' ) ) LIMIT 1 [ RunTime:0.000243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5687 LIMIT 4 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5687 ORDER BY `minOrder` ASC [ RunTime:0.000289s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5687 ORDER BY `unit` DESC [ RunTime:0.000244s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5687 LIMIT 2 [ RunTime:0.000236s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5687 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '516-090-000-302' OR `brand` LIKE 'EDAC%' ) ) LIMIT 1 [ RunTime:0.000246s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6592 LIMIT 4 [ RunTime:0.000409s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6592 ORDER BY `minOrder` ASC [ RunTime:0.002377s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6592 ORDER BY `unit` DESC [ RunTime:0.002862s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6592 LIMIT 2 [ RunTime:0.000333s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6592 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'UTS710E7S' OR `brand` LIKE 'SOURIAU-SUNBANK / EATON%' ) ) LIMIT 1 [ RunTime:0.001537s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1880 LIMIT 4 [ RunTime:0.001067s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1880 ORDER BY `minOrder` ASC [ RunTime:0.004791s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1880 ORDER BY `unit` DESC [ RunTime:0.001343s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1880 LIMIT 2 [ RunTime:0.001338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1880 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M4- HFST-Z100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.002043s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1888 LIMIT 4 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1888 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1888 ORDER BY `unit` DESC [ RunTime:0.000289s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1888 LIMIT 2 [ RunTime:0.000284s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1888 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M2- HFA2-S100-' OR `brand` LIKE 'TR FASTENINGS%' ) ) LIMIT 1 [ RunTime:0.000248s ]
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.000823s ]