SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001923s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000531s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002440s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001869s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000281s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000328s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000233s ]
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.000433s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002118s ]
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 'MAX8556ETE%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.002309s ]
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 ('6011293','6011294','27153','26972','17763','17582','8056','5277632','5277448') ORDER BY FIELD(s.id, 6011293,6011294,27153,26972,17763,17582,8056,5277632,5277448) [ RunTime:0.002386s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001429s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6011293 LIMIT 4 [ RunTime:0.000549s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011293 ORDER BY `minOrder` ASC [ RunTime:0.000256s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.000819s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6011293 ORDER BY `unit` DESC [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000908s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6011293 LIMIT 2 [ RunTime:0.000246s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011293 ORDER BY `minOrder` ASC [ RunTime:0.000160s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6011294 LIMIT 4 [ RunTime:0.001251s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011294 ORDER BY `minOrder` ASC [ RunTime:0.002835s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6011294 ORDER BY `unit` DESC [ RunTime:0.002362s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6011294 LIMIT 2 [ RunTime:0.002028s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011294 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27153 LIMIT 4 [ RunTime:0.000275s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27153 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27153 ORDER BY `unit` DESC [ RunTime:0.000337s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27153 LIMIT 2 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27153 ORDER BY `minOrder` ASC [ RunTime:0.000195s ]
select * from pdf where partno='MAX8556ETE' and brandshort='MAXIM' limit 1 [ RunTime:0.002036s ]
select foldpath,foldpath2,filename from pdf_file where id=429831 limit 1 [ RunTime:0.007194s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.001259s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 26972 LIMIT 4 [ RunTime:0.002452s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26972 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 26972 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 26972 LIMIT 2 [ RunTime:0.000336s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26972 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='MAX8556ETE+' and brandshort='MAXIM' limit 1 [ RunTime:0.001263s ]
select foldpath,foldpath2,filename from pdf_file where id=1065440 limit 1 [ RunTime:0.001085s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE+' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.000560s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17763 LIMIT 4 [ RunTime:0.000574s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17763 ORDER BY `minOrder` ASC [ RunTime:0.002282s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17763 ORDER BY `unit` DESC [ RunTime:0.002007s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17763 LIMIT 2 [ RunTime:0.000708s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17763 ORDER BY `minOrder` ASC [ RunTime:0.000299s ]
select * from pdf where partno='MAX8556ETE' and brandshort='MAXIM' limit 1 [ RunTime:0.000326s ]
select foldpath,foldpath2,filename from pdf_file where id=429831 limit 1 [ RunTime:0.000227s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.000256s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17582 LIMIT 4 [ RunTime:0.002763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17582 ORDER BY `minOrder` ASC [ RunTime:0.000512s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17582 ORDER BY `unit` DESC [ RunTime:0.004032s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17582 LIMIT 2 [ RunTime:0.000328s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17582 ORDER BY `minOrder` ASC [ RunTime:0.000260s ]
select * from pdf where partno='MAX8556ETE+' and brandshort='MAXIM' limit 1 [ RunTime:0.000365s ]
select foldpath,foldpath2,filename from pdf_file where id=1065440 limit 1 [ RunTime:0.000233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE+' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.000264s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8056 LIMIT 4 [ RunTime:0.000317s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8056 ORDER BY `minOrder` ASC [ RunTime:0.004137s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8056 ORDER BY `unit` DESC [ RunTime:0.000825s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8056 LIMIT 2 [ RunTime:0.002821s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8056 ORDER BY `minOrder` ASC [ RunTime:0.000294s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000613s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5277632 LIMIT 4 [ RunTime:0.000751s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5277632 ORDER BY `minOrder` ASC [ RunTime:0.000353s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5277632 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5277632 LIMIT 2 [ RunTime:0.001960s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5277632 ORDER BY `minOrder` ASC [ RunTime:0.001171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5277448 LIMIT 4 [ RunTime:0.000532s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5277448 ORDER BY `minOrder` ASC [ RunTime:0.003575s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5277448 ORDER BY `unit` DESC [ RunTime:0.001329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5277448 LIMIT 2 [ RunTime:0.001508s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5277448 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'MAX8556ETE%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000866s ]