SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001194s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000597s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001752s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000275s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001071s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000282s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000683s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000215s ]
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.000741s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002197s ]
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 'S6X8ES%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001815s ]
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 ('5145969','9216','8553840','6932715','6932714','6932713','5970325','5970320','5145828','5145827') ORDER BY FIELD(s.id, 5145969,9216,8553840,6932715,6932714,6932713,5970325,5970320,5145828,5145827) [ RunTime:0.002589s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001820s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5145969 LIMIT 4 [ RunTime:0.000947s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000923s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145969 ORDER BY `minOrder` ASC [ RunTime:0.000302s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001097s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5145969 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001064s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5145969 LIMIT 2 [ RunTime:0.000292s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145969 ORDER BY `minOrder` ASC [ RunTime:0.000164s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9216 LIMIT 4 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000496s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9216 ORDER BY `unit` DESC [ RunTime:0.000297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9216 LIMIT 2 [ RunTime:0.000282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216 ORDER BY `minOrder` ASC [ RunTime:0.000154s ]
select * from pdf where partno='S6X8ES' and brandshort='LITTELFUSE' limit 1 [ RunTime:0.001873s ]
select foldpath,foldpath2,filename from pdf_file where id=626060 limit 1 [ RunTime:0.000459s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001201s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S6X8ES' OR `brand` LIKE 'LITTELFUSE%' ) ) LIMIT 1 [ RunTime:0.004938s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8553840 LIMIT 4 [ RunTime:0.000486s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8553840 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8553840 ORDER BY `unit` DESC [ RunTime:0.000256s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8553840 LIMIT 2 [ RunTime:0.000260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8553840 ORDER BY `minOrder` ASC [ RunTime:0.000150s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6932715 LIMIT 4 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932715 ORDER BY `minOrder` ASC [ RunTime:0.000230s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6932715 ORDER BY `unit` DESC [ RunTime:0.000307s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6932715 LIMIT 2 [ RunTime:0.000258s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932715 ORDER BY `minOrder` ASC [ RunTime:0.000166s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6932714 LIMIT 4 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932714 ORDER BY `minOrder` ASC [ RunTime:0.000228s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6932714 ORDER BY `unit` DESC [ RunTime:0.000221s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6932714 LIMIT 2 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932714 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6932713 LIMIT 4 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932713 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6932713 ORDER BY `unit` DESC [ RunTime:0.000270s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6932713 LIMIT 2 [ RunTime:0.000253s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6932713 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5970325 LIMIT 4 [ RunTime:0.000350s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5970325 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5970325 ORDER BY `unit` DESC [ RunTime:0.000222s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5970325 LIMIT 2 [ RunTime:0.000221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5970325 ORDER BY `minOrder` ASC [ RunTime:0.000149s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5970320 LIMIT 4 [ RunTime:0.000220s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5970320 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5970320 ORDER BY `unit` DESC [ RunTime:0.000287s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5970320 LIMIT 2 [ RunTime:0.000277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5970320 ORDER BY `minOrder` ASC [ RunTime:0.000186s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5145828 LIMIT 4 [ RunTime:0.000353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145828 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5145828 ORDER BY `unit` DESC [ RunTime:0.000243s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5145828 LIMIT 2 [ RunTime:0.000235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145828 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5145827 LIMIT 4 [ RunTime:0.000952s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145827 ORDER BY `minOrder` ASC [ RunTime:0.000509s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5145827 ORDER BY `unit` DESC [ RunTime:0.000271s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5145827 LIMIT 2 [ RunTime:0.000259s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5145827 ORDER BY `minOrder` ASC [ RunTime:0.000158s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'S6X8ES%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000859s ]