SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001792s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000558s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002594s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000394s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002326s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000344s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000361s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000272s ]
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.000470s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002609s ]
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 'ULN2803A%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.000495s ]
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 ('9057559','5264495','5264568','9057560','387','30775','9155544','9059838','9059262','9058378','9058377','6007931','6007848','6007519','6007308','4624554') ORDER BY FIELD(s.id, 9057559,5264495,5264568,9057560,387,30775,9155544,9059838,9059262,9058378,9058377,6007931,6007848,6007519,6007308,4624554) [ RunTime:0.000615s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002048s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9057559 LIMIT 4 [ RunTime:0.000299s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.002107s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9057559 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002009s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9057559 ORDER BY `unit` DESC [ RunTime:0.000319s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002348s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9057559 LIMIT 2 [ RunTime:0.000290s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9057559 ORDER BY `minOrder` ASC [ RunTime:0.000271s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5264495 LIMIT 4 [ RunTime:0.000264s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5264495 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5264495 ORDER BY `unit` DESC [ RunTime:0.000344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5264495 LIMIT 2 [ RunTime:0.000325s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5264495 ORDER BY `minOrder` ASC [ RunTime:0.000316s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5264568 LIMIT 4 [ RunTime:0.000310s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5264568 ORDER BY `minOrder` ASC [ RunTime:0.000320s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5264568 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5264568 LIMIT 2 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5264568 ORDER BY `minOrder` ASC [ RunTime:0.000304s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9057560 LIMIT 4 [ RunTime:0.000296s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9057560 ORDER BY `minOrder` ASC [ RunTime:0.000334s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9057560 ORDER BY `unit` DESC [ RunTime:0.000312s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9057560 LIMIT 2 [ RunTime:0.000324s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9057560 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 387 LIMIT 4 [ RunTime:0.000382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 387 ORDER BY `minOrder` ASC [ RunTime:0.000329s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 387 ORDER BY `unit` DESC [ RunTime:0.000311s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 387 LIMIT 2 [ RunTime:0.000303s ]
SELECT * FROM `stock_price` WHERE `stockid` = 387 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002634s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2803A' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000475s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30775 LIMIT 4 [ RunTime:0.000276s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30775 ORDER BY `minOrder` ASC [ RunTime:0.000345s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30775 ORDER BY `unit` DESC [ RunTime:0.000282s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30775 LIMIT 2 [ RunTime:0.000279s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30775 ORDER BY `minOrder` ASC [ RunTime:0.000254s ]
select * from pdf where partno='ULN2803AG' and brandshort='LANKE' limit 1 [ RunTime:0.000330s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ULN2803AG' OR `brand` LIKE 'LANKE(兰科)%' ) ) LIMIT 1 [ RunTime:0.000300s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9155544 LIMIT 4 [ RunTime:0.000208s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9155544 ORDER BY `minOrder` ASC [ RunTime:0.000193s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9155544 ORDER BY `unit` DESC [ RunTime:0.000186s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9155544 LIMIT 2 [ RunTime:0.000182s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9155544 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
select * from pdf where partno='ULN2803A-EV' and brandshort='EVVO' limit 1 [ RunTime:0.000244s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9059838 LIMIT 4 [ RunTime:0.000185s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9059838 ORDER BY `minOrder` ASC [ RunTime:0.000184s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9059838 ORDER BY `unit` DESC [ RunTime:0.000193s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9059838 LIMIT 2 [ RunTime:0.000179s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9059838 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9059262 LIMIT 4 [ RunTime:0.000174s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9059262 ORDER BY `minOrder` ASC [ RunTime:0.000207s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9059262 ORDER BY `unit` DESC [ RunTime:0.000205s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9059262 LIMIT 2 [ RunTime:0.000175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9059262 ORDER BY `minOrder` ASC [ RunTime:0.000174s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9058378 LIMIT 4 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058378 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9058378 ORDER BY `unit` DESC [ RunTime:0.000175s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9058378 LIMIT 2 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058378 ORDER BY `minOrder` ASC [ RunTime:0.000178s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9058377 LIMIT 4 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058377 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9058377 ORDER BY `unit` DESC [ RunTime:0.000183s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9058377 LIMIT 2 [ RunTime:0.000177s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9058377 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6007931 LIMIT 4 [ RunTime:0.000176s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6007931 ORDER BY `minOrder` ASC [ RunTime:0.000177s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6007931 ORDER BY `unit` DESC [ RunTime:0.000174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6007931 LIMIT 2 [ RunTime:0.000173s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6007931 ORDER BY `minOrder` ASC [ RunTime:0.000176s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6007848 LIMIT 4 [ RunTime:0.000178s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6007848 ORDER BY `minOrder` ASC [ RunTime:0.000191s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6007848 ORDER BY `unit` DESC [ RunTime:0.000182s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6007848 LIMIT 2 [ RunTime:0.003353s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6007848 ORDER BY `minOrder` ASC [ RunTime:0.003179s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6007519 LIMIT 4 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6007519 ORDER BY `minOrder` ASC [ RunTime:0.000179s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6007519 ORDER BY `unit` DESC [ RunTime:0.000177s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6007519 LIMIT 2 [ RunTime:0.000170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6007519 ORDER BY `minOrder` ASC [ RunTime:0.000171s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6007308 LIMIT 4 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6007308 ORDER BY `minOrder` ASC [ RunTime:0.000175s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6007308 ORDER BY `unit` DESC [ RunTime:0.000173s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6007308 LIMIT 2 [ RunTime:0.000181s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6007308 ORDER BY `minOrder` ASC [ RunTime:0.000170s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 4624554 LIMIT 4 [ RunTime:0.000172s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4624554 ORDER BY `minOrder` ASC [ RunTime:0.000180s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 4624554 ORDER BY `unit` DESC [ RunTime:0.000171s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 4624554 LIMIT 2 [ RunTime:0.000170s ]
SELECT * FROM `stock_price` WHERE `stockid` = 4624554 ORDER BY `minOrder` ASC [ RunTime:0.000169s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'ULN2803A%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.000235s ]