SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002387s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000601s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002571s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.166' ) [ RunTime:0.000373s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002218s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000979s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000380s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.002320s ]
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.002409s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002628s ]
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 '724%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 140,20 [ RunTime:0.007582s ]
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 ('9168806','9168805','9168804','9168803','9168802','9168801','9168800','9168799','9168798','8940992','8835010','8834626','8736186','8728915','8726096','8720347','8693836','8687525','8687501','8687496') ORDER BY FIELD(s.id, 9168806,9168805,9168804,9168803,9168802,9168801,9168800,9168799,9168798,8940992,8835010,8834626,8736186,8728915,8726096,8720347,8693836,8687525,8687501,8687496) [ RunTime:0.009577s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001198s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9168806 LIMIT 4 [ RunTime:0.005170s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000850s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168806 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.003041s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9168806 ORDER BY `unit` DESC [ RunTime:0.000277s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001675s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9168806 LIMIT 2 [ RunTime:0.000270s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168806 ORDER BY `minOrder` ASC [ RunTime:0.000162s ]
select * from pdf where partno='72421L25PFI8' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.001505s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9168805 LIMIT 4 [ RunTime:0.005089s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168805 ORDER BY `minOrder` ASC [ RunTime:0.003129s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9168805 ORDER BY `unit` DESC [ RunTime:0.001179s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9168805 LIMIT 2 [ RunTime:0.000510s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168805 ORDER BY `minOrder` ASC [ RunTime:0.001432s ]
select * from pdf where partno='72421L25PF8' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.003492s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9168804 LIMIT 4 [ RunTime:0.002571s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168804 ORDER BY `minOrder` ASC [ RunTime:0.000850s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9168804 ORDER BY `unit` DESC [ RunTime:0.006959s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9168804 LIMIT 2 [ RunTime:0.001385s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168804 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
select * from pdf where partno='72421L25J8' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.002219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9168803 LIMIT 4 [ RunTime:0.002096s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168803 ORDER BY `minOrder` ASC [ RunTime:0.001961s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9168803 ORDER BY `unit` DESC [ RunTime:0.004934s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9168803 LIMIT 2 [ RunTime:0.002490s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168803 ORDER BY `minOrder` ASC [ RunTime:0.000356s ]
select * from pdf where partno='72421L15PF8' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.000784s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9168802 LIMIT 4 [ RunTime:0.001924s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168802 ORDER BY `minOrder` ASC [ RunTime:0.000572s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9168802 ORDER BY `unit` DESC [ RunTime:0.003255s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9168802 LIMIT 2 [ RunTime:0.000584s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168802 ORDER BY `minOrder` ASC [ RunTime:0.000332s ]
select * from pdf where partno='72421L15J8' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.000795s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9168801 LIMIT 4 [ RunTime:0.002727s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168801 ORDER BY `minOrder` ASC [ RunTime:0.002664s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9168801 ORDER BY `unit` DESC [ RunTime:0.008919s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9168801 LIMIT 2 [ RunTime:0.000938s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168801 ORDER BY `minOrder` ASC [ RunTime:0.001727s ]
select * from pdf where partno='72421L10J8' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.000893s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9168800 LIMIT 4 [ RunTime:0.000795s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168800 ORDER BY `minOrder` ASC [ RunTime:0.007447s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9168800 ORDER BY `unit` DESC [ RunTime:0.000543s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9168800 LIMIT 2 [ RunTime:0.000502s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168800 ORDER BY `minOrder` ASC [ RunTime:0.001733s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9168799 LIMIT 4 [ RunTime:0.000516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168799 ORDER BY `minOrder` ASC [ RunTime:0.004063s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9168799 ORDER BY `unit` DESC [ RunTime:0.001430s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9168799 LIMIT 2 [ RunTime:0.003378s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168799 ORDER BY `minOrder` ASC [ RunTime:0.000346s ]
select * from pdf where partno='72403L10SO' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.000863s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9168798 LIMIT 4 [ RunTime:0.002516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168798 ORDER BY `minOrder` ASC [ RunTime:0.000516s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9168798 ORDER BY `unit` DESC [ RunTime:0.000496s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9168798 LIMIT 2 [ RunTime:0.000467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9168798 ORDER BY `minOrder` ASC [ RunTime:0.000325s ]
select * from pdf where partno='72401L10P' and brandshort='Renesas Electronics Corporation' limit 1 [ RunTime:0.000489s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8940992 LIMIT 4 [ RunTime:0.003235s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8940992 ORDER BY `minOrder` ASC [ RunTime:0.002586s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8940992 ORDER BY `unit` DESC [ RunTime:0.000536s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8940992 LIMIT 2 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8940992 ORDER BY `minOrder` ASC [ RunTime:0.000637s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8835010 LIMIT 4 [ RunTime:0.000998s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8835010 ORDER BY `minOrder` ASC [ RunTime:0.000502s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8835010 ORDER BY `unit` DESC [ RunTime:0.000500s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8835010 LIMIT 2 [ RunTime:0.000766s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8835010 ORDER BY `minOrder` ASC [ RunTime:0.002378s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8834626 LIMIT 4 [ RunTime:0.003248s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8834626 ORDER BY `minOrder` ASC [ RunTime:0.007841s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8834626 ORDER BY `unit` DESC [ RunTime:0.000968s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8834626 LIMIT 2 [ RunTime:0.000967s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8834626 ORDER BY `minOrder` ASC [ RunTime:0.000336s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8736186 LIMIT 4 [ RunTime:0.001042s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736186 ORDER BY `minOrder` ASC [ RunTime:0.000989s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8736186 ORDER BY `unit` DESC [ RunTime:0.000480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8736186 LIMIT 2 [ RunTime:0.000519s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8736186 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8728915 LIMIT 4 [ RunTime:0.000841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8728915 ORDER BY `minOrder` ASC [ RunTime:0.005138s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8728915 ORDER BY `unit` DESC [ RunTime:0.001764s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8728915 LIMIT 2 [ RunTime:0.000489s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8728915 ORDER BY `minOrder` ASC [ RunTime:0.000354s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8726096 LIMIT 4 [ RunTime:0.000712s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8726096 ORDER BY `minOrder` ASC [ RunTime:0.000536s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8726096 ORDER BY `unit` DESC [ RunTime:0.001902s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8726096 LIMIT 2 [ RunTime:0.005431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8726096 ORDER BY `minOrder` ASC [ RunTime:0.000365s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8720347 LIMIT 4 [ RunTime:0.000767s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8720347 ORDER BY `minOrder` ASC [ RunTime:0.004160s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8720347 ORDER BY `unit` DESC [ RunTime:0.003048s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8720347 LIMIT 2 [ RunTime:0.002773s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8720347 ORDER BY `minOrder` ASC [ RunTime:0.003055s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8693836 LIMIT 4 [ RunTime:0.000905s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8693836 ORDER BY `minOrder` ASC [ RunTime:0.000516s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8693836 ORDER BY `unit` DESC [ RunTime:0.000493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8693836 LIMIT 2 [ RunTime:0.000466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8693836 ORDER BY `minOrder` ASC [ RunTime:0.004822s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8687525 LIMIT 4 [ RunTime:0.000763s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8687525 ORDER BY `minOrder` ASC [ RunTime:0.000739s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8687525 ORDER BY `unit` DESC [ RunTime:0.002084s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8687525 LIMIT 2 [ RunTime:0.004136s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8687525 ORDER BY `minOrder` ASC [ RunTime:0.000862s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8687501 LIMIT 4 [ RunTime:0.000748s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8687501 ORDER BY `minOrder` ASC [ RunTime:0.002700s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8687501 ORDER BY `unit` DESC [ RunTime:0.000789s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8687501 LIMIT 2 [ RunTime:0.001421s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8687501 ORDER BY `minOrder` ASC [ RunTime:0.001128s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8687496 LIMIT 4 [ RunTime:0.000515s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8687496 ORDER BY `minOrder` ASC [ RunTime:0.000502s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8687496 ORDER BY `unit` DESC [ RunTime:0.000493s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8687496 LIMIT 2 [ RunTime:0.005395s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8687496 ORDER BY `minOrder` ASC [ RunTime:0.001164s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE '724%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000464s ]