SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001299s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000552s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001419s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.37' ) [ RunTime:0.003277s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002938s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000409s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000478s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000310s ]
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.000480s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002876s ]
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.005180s ]
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.004168s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.004118s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6011293 LIMIT 4 [ RunTime:0.000749s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011293 ORDER BY `minOrder` ASC [ RunTime:0.001314s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001183s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6011293 ORDER BY `unit` DESC [ RunTime:0.002548s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6011293 LIMIT 2 [ RunTime:0.003069s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011293 ORDER BY `minOrder` ASC [ RunTime:0.000263s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6011294 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011294 ORDER BY `minOrder` ASC [ RunTime:0.000645s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6011294 ORDER BY `unit` DESC [ RunTime:0.002716s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6011294 LIMIT 2 [ RunTime:0.008589s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6011294 ORDER BY `minOrder` ASC [ RunTime:0.000871s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 27153 LIMIT 4 [ RunTime:0.000425s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27153 ORDER BY `minOrder` ASC [ RunTime:0.004106s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 27153 ORDER BY `unit` DESC [ RunTime:0.000813s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 27153 LIMIT 2 [ RunTime:0.000699s ]
SELECT * FROM `stock_price` WHERE `stockid` = 27153 ORDER BY `minOrder` ASC [ RunTime:0.000388s ]
select * from pdf where partno='MAX8556ETE' and brandshort='MAXIM' limit 1 [ RunTime:0.001780s ]
select foldpath,foldpath2,filename from pdf_file where id=429831 limit 1 [ RunTime:0.002149s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002198s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.001754s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 26972 LIMIT 4 [ RunTime:0.000576s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26972 ORDER BY `minOrder` ASC [ RunTime:0.000524s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 26972 ORDER BY `unit` DESC [ RunTime:0.002333s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 26972 LIMIT 2 [ RunTime:0.004577s ]
SELECT * FROM `stock_price` WHERE `stockid` = 26972 ORDER BY `minOrder` ASC [ RunTime:0.000340s ]
select * from pdf where partno='MAX8556ETE+' and brandshort='MAXIM' limit 1 [ RunTime:0.001066s ]
select foldpath,foldpath2,filename from pdf_file where id=1065440 limit 1 [ RunTime:0.000659s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE+' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.000732s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17763 LIMIT 4 [ RunTime:0.005119s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17763 ORDER BY `minOrder` ASC [ RunTime:0.003271s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17763 ORDER BY `unit` DESC [ RunTime:0.002264s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17763 LIMIT 2 [ RunTime:0.002212s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17763 ORDER BY `minOrder` ASC [ RunTime:0.000358s ]
select * from pdf where partno='MAX8556ETE' and brandshort='MAXIM' limit 1 [ RunTime:0.000382s ]
select foldpath,foldpath2,filename from pdf_file where id=429831 limit 1 [ RunTime:0.000239s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.000352s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 17582 LIMIT 4 [ RunTime:0.000531s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17582 ORDER BY `minOrder` ASC [ RunTime:0.000670s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 17582 ORDER BY `unit` DESC [ RunTime:0.000498s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 17582 LIMIT 2 [ RunTime:0.000477s ]
SELECT * FROM `stock_price` WHERE `stockid` = 17582 ORDER BY `minOrder` ASC [ RunTime:0.004968s ]
select * from pdf where partno='MAX8556ETE+' and brandshort='MAXIM' limit 1 [ RunTime:0.000363s ]
select foldpath,foldpath2,filename from pdf_file where id=1065440 limit 1 [ RunTime:0.000235s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE+' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.000343s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8056 LIMIT 4 [ RunTime:0.001658s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8056 ORDER BY `minOrder` ASC [ RunTime:0.001656s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8056 ORDER BY `unit` DESC [ RunTime:0.000656s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8056 LIMIT 2 [ RunTime:0.000603s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8056 ORDER BY `minOrder` ASC [ RunTime:0.000335s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'MAX8556ETE+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.000996s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5277632 LIMIT 4 [ RunTime:0.000968s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5277632 ORDER BY `minOrder` ASC [ RunTime:0.000485s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5277632 ORDER BY `unit` DESC [ RunTime:0.002575s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5277632 LIMIT 2 [ RunTime:0.003993s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5277632 ORDER BY `minOrder` ASC [ RunTime:0.000790s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5277448 LIMIT 4 [ RunTime:0.000698s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5277448 ORDER BY `minOrder` ASC [ RunTime:0.000486s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5277448 ORDER BY `unit` DESC [ RunTime:0.002005s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5277448 LIMIT 2 [ RunTime:0.003221s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5277448 ORDER BY `minOrder` ASC [ RunTime:0.003534s ]
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.002672s ]