SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002307s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000600s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002638s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000397s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002647s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000356s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 127 LIMIT 1 [ RunTime:0.000400s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 127 [ RunTime:0.000262s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000264s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002313s ]
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` = 127 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.003952s ]
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 ('2891','10315','14493','61','177','13849','2210','7786','2774','1315','3089','5373','13579','14494','3693','7873','9642','2429','764','54') ORDER BY FIELD(s.id, 2891,10315,14493,61,177,13849,2210,7786,2774,1315,3089,5373,13579,14494,3693,7873,9642,2429,764,54) [ RunTime:0.003960s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001262s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2891 LIMIT 4 [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000836s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000796s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2891 ORDER BY `unit` DESC [ RunTime:0.000160s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000763s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2891 LIMIT 2 [ RunTime:0.000154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000829s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SSL-LX3059IGW' OR `brand` LIKE 'LUMEX%' ) ) LIMIT 1 [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10315 LIMIT 4 [ RunTime:0.000147s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.000155s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10315 ORDER BY `unit` DESC [ RunTime:0.000154s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10315 LIMIT 2 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC703-1062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000154s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14493 LIMIT 4 [ RunTime:0.000148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.000165s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14493 ORDER BY `unit` DESC [ RunTime:0.000159s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14493 LIMIT 2 [ RunTime:0.000148s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-4' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000155s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61 LIMIT 4 [ RunTime:0.000146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61 ORDER BY `unit` DESC [ RunTime:0.000152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61 LIMIT 2 [ RunTime:0.000149s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.000146s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-4000' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.000182s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 177 LIMIT 4 [ RunTime:0.000156s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 177 ORDER BY `unit` DESC [ RunTime:0.000152s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 177 LIMIT 2 [ RunTime:0.000141s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000144s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLHR4900' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.000158s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13849 LIMIT 4 [ RunTime:0.000168s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.004228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13849 ORDER BY `unit` DESC [ RunTime:0.000153s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13849 LIMIT 2 [ RunTime:0.002826s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.000145s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-2012EC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2210 LIMIT 4 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.004354s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2210 ORDER BY `unit` DESC [ RunTime:0.001158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2210 LIMIT 2 [ RunTime:0.000639s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.000565s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5988070107F' OR `brand` LIKE 'DIALIGHT%' ) ) LIMIT 1 [ RunTime:0.001130s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7786 LIMIT 4 [ RunTime:0.001085s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000734s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7786 ORDER BY `unit` DESC [ RunTime:0.000434s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7786 LIMIT 2 [ RunTime:0.000643s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000513s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMG-C190' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002074s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2774 LIMIT 4 [ RunTime:0.001091s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2774 ORDER BY `minOrder` ASC [ RunTime:0.000879s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2774 ORDER BY `unit` DESC [ RunTime:0.000613s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2774 LIMIT 2 [ RunTime:0.000632s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2774 ORDER BY `minOrder` ASC [ RunTime:0.000505s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCL-S270GC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000618s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1315 LIMIT 4 [ RunTime:0.001022s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1315 ORDER BY `minOrder` ASC [ RunTime:0.002237s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1315 ORDER BY `unit` DESC [ RunTime:0.000492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1315 LIMIT 2 [ RunTime:0.001437s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1315 ORDER BY `minOrder` ASC [ RunTime:0.000729s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LS R976' OR `brand` LIKE 'AMS OSRAM GROUP%' ) ) LIMIT 1 [ RunTime:0.000818s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3089 LIMIT 4 [ RunTime:0.001129s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3089 ORDER BY `minOrder` ASC [ RunTime:0.000972s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3089 ORDER BY `unit` DESC [ RunTime:0.000903s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3089 LIMIT 2 [ RunTime:0.000895s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3089 ORDER BY `minOrder` ASC [ RunTime:0.000671s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LC503FBL1-15Q-A3-00001' OR `brand` LIKE 'CREE LED%' ) ) LIMIT 1 [ RunTime:0.000687s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5373 LIMIT 4 [ RunTime:0.001272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5373 ORDER BY `minOrder` ASC [ RunTime:0.000922s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5373 ORDER BY `unit` DESC [ RunTime:0.000642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5373 LIMIT 2 [ RunTime:0.000775s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5373 ORDER BY `minOrder` ASC [ RunTime:0.000666s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KPT-1608CGCK' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.001571s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13579 LIMIT 4 [ RunTime:0.001635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13579 ORDER BY `minOrder` ASC [ RunTime:0.000854s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13579 ORDER BY `unit` DESC [ RunTime:0.000430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13579 LIMIT 2 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13579 ORDER BY `minOrder` ASC [ RunTime:0.000555s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMS-C170' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002657s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14494 LIMIT 4 [ RunTime:0.001788s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14494 ORDER BY `minOrder` ASC [ RunTime:0.000873s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14494 ORDER BY `unit` DESC [ RunTime:0.000505s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14494 LIMIT 2 [ RunTime:0.000678s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14494 ORDER BY `minOrder` ASC [ RunTime:0.000574s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-5' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000791s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3693 LIMIT 4 [ RunTime:0.001325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3693 ORDER BY `minOrder` ASC [ RunTime:0.000821s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3693 ORDER BY `unit` DESC [ RunTime:0.000639s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3693 LIMIT 2 [ RunTime:0.000622s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3693 ORDER BY `minOrder` ASC [ RunTime:0.000488s ]
select * from pdf where partno='703-0069' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001724s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '703-0069' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001038s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7873 LIMIT 4 [ RunTime:0.002396s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7873 ORDER BY `minOrder` ASC [ RunTime:0.000560s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7873 ORDER BY `unit` DESC [ RunTime:0.004978s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7873 LIMIT 2 [ RunTime:0.001546s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7873 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SML-P11VTT86R' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.002756s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9642 LIMIT 4 [ RunTime:0.000910s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9642 ORDER BY `minOrder` ASC [ RunTime:0.000611s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9642 ORDER BY `unit` DESC [ RunTime:0.000458s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9642 LIMIT 2 [ RunTime:0.000484s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9642 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCL034RHC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000412s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2429 LIMIT 4 [ RunTime:0.000852s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2429 ORDER BY `minOrder` ASC [ RunTime:0.000626s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2429 ORDER BY `unit` DESC [ RunTime:0.000370s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2429 LIMIT 2 [ RunTime:0.000642s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2429 ORDER BY `minOrder` ASC [ RunTime:0.000412s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OVLEW1CB9' OR `brand` LIKE 'TT ELECTRONICS / OPTEK TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.000734s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 764 LIMIT 4 [ RunTime:0.000828s ]
SELECT * FROM `stock_price` WHERE `stockid` = 764 ORDER BY `minOrder` ASC [ RunTime:0.000542s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 764 ORDER BY `unit` DESC [ RunTime:0.000192s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 764 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 764 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-937EGW' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.002502s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 54 LIMIT 4 [ RunTime:0.001355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54 ORDER BY `minOrder` ASC [ RunTime:0.001064s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 54 ORDER BY `unit` DESC [ RunTime:0.002642s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 54 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-1540' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.005217s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 127 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.003772s ]