SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001970s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000588s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002727s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000380s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002357s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000337s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 127 LIMIT 1 [ RunTime:0.001239s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 127 [ RunTime:0.000291s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 21 [ RunTime:0.000262s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002776s ]
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.009247s ]
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.005985s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2891 LIMIT 4 [ RunTime:0.000217s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000937s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.000197s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000932s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2891 ORDER BY `unit` DESC [ RunTime:0.000190s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2891 LIMIT 2 [ RunTime:0.000185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2891 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.000973s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SSL-LX3059IGW' OR `brand` LIKE 'LUMEX%' ) ) LIMIT 1 [ RunTime:0.000243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10315 LIMIT 4 [ RunTime:0.000329s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10315 ORDER BY `unit` DESC [ RunTime:0.000176s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10315 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10315 ORDER BY `minOrder` ASC [ RunTime:0.000181s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MC703-1062' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000184s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14493 LIMIT 4 [ RunTime:0.000261s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.000759s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14493 ORDER BY `unit` DESC [ RunTime:0.002202s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14493 LIMIT 2 [ RunTime:0.002698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14493 ORDER BY `minOrder` ASC [ RunTime:0.000214s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-4' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000712s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 61 LIMIT 4 [ RunTime:0.000230s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.000343s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 61 ORDER BY `unit` DESC [ RunTime:0.006474s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 61 LIMIT 2 [ RunTime:0.002163s ]
SELECT * FROM `stock_price` WHERE `stockid` = 61 ORDER BY `minOrder` ASC [ RunTime:0.000871s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-4000' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.002031s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 177 LIMIT 4 [ RunTime:0.004887s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000801s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 177 ORDER BY `unit` DESC [ RunTime:0.000268s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 177 LIMIT 2 [ RunTime:0.003191s ]
SELECT * FROM `stock_price` WHERE `stockid` = 177 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLHR4900' OR `brand` LIKE 'VISHAY%' ) ) LIMIT 1 [ RunTime:0.006423s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13849 LIMIT 4 [ RunTime:0.000244s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.000240s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13849 ORDER BY `unit` DESC [ RunTime:0.001541s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13849 LIMIT 2 [ RunTime:0.004187s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13849 ORDER BY `minOrder` ASC [ RunTime:0.000167s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KP-2012EC' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.001455s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2210 LIMIT 4 [ RunTime:0.000193s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2210 ORDER BY `unit` DESC [ RunTime:0.000188s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2210 LIMIT 2 [ RunTime:0.000154s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2210 ORDER BY `minOrder` ASC [ RunTime:0.000142s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '5988070107F' OR `brand` LIKE 'DIALIGHT%' ) ) LIMIT 1 [ RunTime:0.000150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7786 LIMIT 4 [ RunTime:0.000242s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7786 ORDER BY `unit` DESC [ RunTime:0.003021s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7786 LIMIT 2 [ RunTime:0.001083s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7786 ORDER BY `minOrder` ASC [ RunTime:0.000760s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMG-C190' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.003988s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2774 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2774 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2774 ORDER BY `unit` DESC [ RunTime:0.000582s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2774 LIMIT 2 [ RunTime:0.004034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2774 ORDER BY `minOrder` ASC [ RunTime:0.000194s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCL-S270GC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000594s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1315 LIMIT 4 [ RunTime:0.001578s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1315 ORDER BY `minOrder` ASC [ RunTime:0.005670s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1315 ORDER BY `unit` DESC [ RunTime:0.001539s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1315 LIMIT 2 [ RunTime:0.002192s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1315 ORDER BY `minOrder` ASC [ RunTime:0.005312s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LS R976' OR `brand` LIKE 'AMS OSRAM GROUP%' ) ) LIMIT 1 [ RunTime:0.014715s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3089 LIMIT 4 [ RunTime:0.004048s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3089 ORDER BY `minOrder` ASC [ RunTime:0.000394s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3089 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3089 LIMIT 2 [ RunTime:0.000347s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3089 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LC503FBL1-15Q-A3-00001' OR `brand` LIKE 'CREE LED%' ) ) LIMIT 1 [ RunTime:0.000370s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5373 LIMIT 4 [ RunTime:0.000564s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5373 ORDER BY `minOrder` ASC [ RunTime:0.000515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5373 ORDER BY `unit` DESC [ RunTime:0.002492s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5373 LIMIT 2 [ RunTime:0.002942s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5373 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KPT-1608CGCK' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.002575s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 13579 LIMIT 4 [ RunTime:0.001315s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13579 ORDER BY `minOrder` ASC [ RunTime:0.001255s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 13579 ORDER BY `unit` DESC [ RunTime:0.000532s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 13579 LIMIT 2 [ RunTime:0.000528s ]
SELECT * FROM `stock_price` WHERE `stockid` = 13579 ORDER BY `minOrder` ASC [ RunTime:0.000347s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HSMS-C170' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.003230s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14494 LIMIT 4 [ RunTime:0.005868s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14494 ORDER BY `minOrder` ASC [ RunTime:0.000379s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14494 ORDER BY `unit` DESC [ RunTime:0.000418s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14494 LIMIT 2 [ RunTime:0.000364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14494 ORDER BY `minOrder` ASC [ RunTime:0.000387s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LED3-5' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.000404s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3693 LIMIT 4 [ RunTime:0.010252s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3693 ORDER BY `minOrder` ASC [ RunTime:0.005834s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3693 ORDER BY `unit` DESC [ RunTime:0.000768s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3693 LIMIT 2 [ RunTime:0.000669s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3693 ORDER BY `minOrder` ASC [ RunTime:0.002065s ]
select * from pdf where partno='703-0069' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.001706s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '703-0069' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.003597s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7873 LIMIT 4 [ RunTime:0.001146s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7873 ORDER BY `minOrder` ASC [ RunTime:0.000788s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7873 ORDER BY `unit` DESC [ RunTime:0.000903s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7873 LIMIT 2 [ RunTime:0.003958s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7873 ORDER BY `minOrder` ASC [ RunTime:0.000644s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SML-P11VTT86R' OR `brand` LIKE 'ROHM%' ) ) LIMIT 1 [ RunTime:0.003842s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9642 LIMIT 4 [ RunTime:0.004621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9642 ORDER BY `minOrder` ASC [ RunTime:0.001727s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9642 ORDER BY `unit` DESC [ RunTime:0.004290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9642 LIMIT 2 [ RunTime:0.001398s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9642 ORDER BY `minOrder` ASC [ RunTime:0.000402s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MCL034RHC' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.001313s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2429 LIMIT 4 [ RunTime:0.010031s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2429 ORDER BY `minOrder` ASC [ RunTime:0.005486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2429 ORDER BY `unit` DESC [ RunTime:0.006675s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2429 LIMIT 2 [ RunTime:0.003106s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2429 ORDER BY `minOrder` ASC [ RunTime:0.000428s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'OVLEW1CB9' OR `brand` LIKE 'TT ELECTRONICS / OPTEK TECHNOLOGY%' ) ) LIMIT 1 [ RunTime:0.001194s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 764 LIMIT 4 [ RunTime:0.000556s ]
SELECT * FROM `stock_price` WHERE `stockid` = 764 ORDER BY `minOrder` ASC [ RunTime:0.000678s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 764 ORDER BY `unit` DESC [ RunTime:0.001803s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 764 LIMIT 2 [ RunTime:0.003445s ]
SELECT * FROM `stock_price` WHERE `stockid` = 764 ORDER BY `minOrder` ASC [ RunTime:0.000733s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'L-937EGW' OR `brand` LIKE 'KINGBRIGHT%' ) ) LIMIT 1 [ RunTime:0.000953s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 54 LIMIT 4 [ RunTime:0.001654s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54 ORDER BY `minOrder` ASC [ RunTime:0.003742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 54 ORDER BY `unit` DESC [ RunTime:0.000401s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 54 LIMIT 2 [ RunTime:0.005225s ]
SELECT * FROM `stock_price` WHERE `stockid` = 54 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'HLMP-1540' OR `brand` LIKE 'BROADCOM%' ) ) LIMIT 1 [ RunTime:0.001751s ]
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.001756s ]