SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001217s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.003997s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001252s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000292s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001160s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.001929s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000802s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.005922s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,800,1068,1296,1456,1822,1929,2017,2101,2342,2393,2475,2518,2568) [ RunTime:0.002026s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002198s ]
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 ( `partno` LIKE 'RXEF050%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001671s ]
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 ('4815138','4817803','4817793','4350769','4352555','961','4816339','4815952') ORDER BY FIELD(s.id, 4815138,4817803,4817793,4350769,4352555,961,4816339,4815952) [ RunTime:0.002324s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4815138 LIMIT 4 [ RunTime:0.000542s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4815138 ORDER BY `minOrder` ASC [ RunTime:0.002152s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000986s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4815138 ORDER BY `unit` DESC [ RunTime:0.000958s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000881s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4815138 LIMIT 2 [ RunTime:0.002914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4815138 ORDER BY `minOrder` ASC [ RunTime:0.004711s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4817803 LIMIT 4 [ RunTime:0.005038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817803 ORDER BY `minOrder` ASC [ RunTime:0.000833s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4817803 ORDER BY `unit` DESC [ RunTime:0.002008s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4817803 LIMIT 2 [ RunTime:0.002249s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817803 ORDER BY `minOrder` ASC [ RunTime:0.003490s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4817793 LIMIT 4 [ RunTime:0.001533s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817793 ORDER BY `minOrder` ASC [ RunTime:0.005539s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4817793 ORDER BY `unit` DESC [ RunTime:0.000502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4817793 LIMIT 2 [ RunTime:0.012692s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817793 ORDER BY `minOrder` ASC [ RunTime:0.001129s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4350769 LIMIT 4 [ RunTime:0.005758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4350769 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4350769 ORDER BY `unit` DESC [ RunTime:0.002517s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4350769 LIMIT 2 [ RunTime:0.004272s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4350769 ORDER BY `minOrder` ASC [ RunTime:0.007566s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4352555 LIMIT 4 [ RunTime:0.008337s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4352555 ORDER BY `minOrder` ASC [ RunTime:0.007057s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4352555 ORDER BY `unit` DESC [ RunTime:0.004389s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4352555 LIMIT 2 [ RunTime:0.001401s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4352555 ORDER BY `minOrder` ASC [ RunTime:0.006750s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 961 LIMIT 4 [ RunTime:0.001362s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.026698s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 961 ORDER BY `unit` DESC [ RunTime:0.008807s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 961 LIMIT 2 [ RunTime:0.002861s ]
SELECT * FROM `stock_price` WHERE `stockid` = 961 ORDER BY `minOrder` ASC [ RunTime:0.000418s ]
select * from pdf where partno='RXEF050' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.008608s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001286s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RXEF050' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.026446s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4816339 LIMIT 4 [ RunTime:0.006122s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816339 ORDER BY `minOrder` ASC [ RunTime:0.005763s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4816339 ORDER BY `unit` DESC [ RunTime:0.006315s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4816339 LIMIT 2 [ RunTime:0.000349s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816339 ORDER BY `minOrder` ASC [ RunTime:0.000918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4815952 LIMIT 4 [ RunTime:0.000492s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4815952 ORDER BY `minOrder` ASC [ RunTime:0.009408s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4815952 ORDER BY `unit` DESC [ RunTime:0.010988s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4815952 LIMIT 2 [ RunTime:0.000366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4815952 ORDER BY `minOrder` ASC [ RunTime:0.000239s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'RXEF050%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001175s ]