SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001404s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000425s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002217s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.002267s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001837s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000282s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000315s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000229s ]
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.000435s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002115s ]
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 'MF-R025%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.001456s ]
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 ('4350621','4817894','14295','4817719','4817652','4817604','4816440','4816395','4351689','4351666') ORDER BY FIELD(s.id, 4350621,4817894,14295,4817719,4817652,4817604,4816440,4816395,4351689,4351666) [ RunTime:0.003859s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001701s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4350621 LIMIT 4 [ RunTime:0.001814s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000956s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4350621 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000929s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4350621 ORDER BY `unit` DESC [ RunTime:0.001984s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001016s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4350621 LIMIT 2 [ RunTime:0.000929s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4350621 ORDER BY `minOrder` ASC [ RunTime:0.001052s ]
select * from pdf where partno='MF-R025-2' and brandshort='Bourns Inc.' limit 1 [ RunTime:0.001844s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4817894 LIMIT 4 [ RunTime:0.004164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817894 ORDER BY `minOrder` ASC [ RunTime:0.000631s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4817894 ORDER BY `unit` DESC [ RunTime:0.001412s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4817894 LIMIT 2 [ RunTime:0.002277s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817894 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
select * from pdf where partno='MF-R025' and brandshort='Bourns Inc.' limit 1 [ RunTime:0.002133s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14295 LIMIT 4 [ RunTime:0.000269s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.000222s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14295 ORDER BY `unit` DESC [ RunTime:0.000219s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14295 LIMIT 2 [ RunTime:0.000218s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14295 ORDER BY `minOrder` ASC [ RunTime:0.000215s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002159s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MF-R025' OR `brand` LIKE 'BOURNS%' ) ) LIMIT 1 [ RunTime:0.000258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4817719 LIMIT 4 [ RunTime:0.000609s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817719 ORDER BY `minOrder` ASC [ RunTime:0.000473s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4817719 ORDER BY `unit` DESC [ RunTime:0.002490s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4817719 LIMIT 2 [ RunTime:0.007658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817719 ORDER BY `minOrder` ASC [ RunTime:0.002418s ]
select * from pdf where partno='MF-R025-AP-99' and brandshort='Bourns Inc.' limit 1 [ RunTime:0.003019s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4817652 LIMIT 4 [ RunTime:0.001940s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817652 ORDER BY `minOrder` ASC [ RunTime:0.003789s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4817652 ORDER BY `unit` DESC [ RunTime:0.001288s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4817652 LIMIT 2 [ RunTime:0.005151s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817652 ORDER BY `minOrder` ASC [ RunTime:0.001659s ]
select * from pdf where partno='MF-R025-2-99' and brandshort='Bourns Inc.' limit 1 [ RunTime:0.000713s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4817604 LIMIT 4 [ RunTime:0.001575s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817604 ORDER BY `minOrder` ASC [ RunTime:0.000623s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4817604 ORDER BY `unit` DESC [ RunTime:0.000443s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4817604 LIMIT 2 [ RunTime:0.000435s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4817604 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
select * from pdf where partno='MF-R025-0-99' and brandshort='Bourns Inc.' limit 1 [ RunTime:0.001196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4816440 LIMIT 4 [ RunTime:0.002421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816440 ORDER BY `minOrder` ASC [ RunTime:0.000517s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4816440 ORDER BY `unit` DESC [ RunTime:0.000481s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4816440 LIMIT 2 [ RunTime:0.002164s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816440 ORDER BY `minOrder` ASC [ RunTime:0.002991s ]
select * from pdf where partno='MF-R025-AP-17' and brandshort='Bourns Inc.' limit 1 [ RunTime:0.001581s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4816395 LIMIT 4 [ RunTime:0.001950s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816395 ORDER BY `minOrder` ASC [ RunTime:0.000522s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4816395 ORDER BY `unit` DESC [ RunTime:0.000568s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4816395 LIMIT 2 [ RunTime:0.001733s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4816395 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='MF-R025-AP' and brandshort='Bourns Inc.' limit 1 [ RunTime:0.002273s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4351689 LIMIT 4 [ RunTime:0.002397s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4351689 ORDER BY `minOrder` ASC [ RunTime:0.004480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4351689 ORDER BY `unit` DESC [ RunTime:0.001576s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4351689 LIMIT 2 [ RunTime:0.003423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4351689 ORDER BY `minOrder` ASC [ RunTime:0.001283s ]
select * from pdf where partno='MF-R025-2-17' and brandshort='Bourns Inc.' limit 1 [ RunTime:0.000789s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4351666 LIMIT 4 [ RunTime:0.001552s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4351666 ORDER BY `minOrder` ASC [ RunTime:0.001784s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4351666 ORDER BY `unit` DESC [ RunTime:0.001064s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4351666 LIMIT 2 [ RunTime:0.000648s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4351666 ORDER BY `minOrder` ASC [ RunTime:0.000385s ]
select * from pdf where partno='MF-R025-0-17' and brandshort='Bourns Inc.' limit 1 [ RunTime:0.000998s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'MF-R025%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.005033s ]