SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002303s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.007634s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002482s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.186' ) [ RunTime:0.000329s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001966s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000310s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000322s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 0 [ RunTime:0.000266s ]
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.000438s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002074s ]
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 'DS1302%' AND `status` <> 2 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.007519s ]
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 ('7099451','5318637','6101974','9216761','6101822','9216724','6102002','5318978','6101829','5318836','7099606','30932','28832','19442','8035','7099436','7099435','7099281','7099245','7099244') ORDER BY FIELD(s.id, 7099451,5318637,6101974,9216761,6101822,9216724,6102002,5318978,6101829,5318836,7099606,30932,28832,19442,8035,7099436,7099435,7099281,7099245,7099244) [ RunTime:0.015219s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001181s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7099451 LIMIT 4 [ RunTime:0.000783s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001361s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099451 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001861s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7099451 ORDER BY `unit` DESC [ RunTime:0.000326s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000836s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7099451 LIMIT 2 [ RunTime:0.001439s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099451 ORDER BY `minOrder` ASC [ RunTime:0.001214s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5318637 LIMIT 4 [ RunTime:0.000848s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5318637 ORDER BY `minOrder` ASC [ RunTime:0.000338s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5318637 ORDER BY `unit` DESC [ RunTime:0.001546s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5318637 LIMIT 2 [ RunTime:0.000344s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5318637 ORDER BY `minOrder` ASC [ RunTime:0.000243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6101974 LIMIT 4 [ RunTime:0.000613s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6101974 ORDER BY `minOrder` ASC [ RunTime:0.000296s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6101974 ORDER BY `unit` DESC [ RunTime:0.001056s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6101974 LIMIT 2 [ RunTime:0.003364s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6101974 ORDER BY `minOrder` ASC [ RunTime:0.000807s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9216761 LIMIT 4 [ RunTime:0.000600s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216761 ORDER BY `minOrder` ASC [ RunTime:0.001846s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9216761 ORDER BY `unit` DESC [ RunTime:0.004380s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9216761 LIMIT 2 [ RunTime:0.002247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216761 ORDER BY `minOrder` ASC [ RunTime:0.001119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6101822 LIMIT 4 [ RunTime:0.007038s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6101822 ORDER BY `minOrder` ASC [ RunTime:0.000327s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6101822 ORDER BY `unit` DESC [ RunTime:0.000309s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6101822 LIMIT 2 [ RunTime:0.000607s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6101822 ORDER BY `minOrder` ASC [ RunTime:0.002615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9216724 LIMIT 4 [ RunTime:0.001679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216724 ORDER BY `minOrder` ASC [ RunTime:0.001855s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9216724 ORDER BY `unit` DESC [ RunTime:0.000375s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9216724 LIMIT 2 [ RunTime:0.000392s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9216724 ORDER BY `minOrder` ASC [ RunTime:0.000935s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6102002 LIMIT 4 [ RunTime:0.000485s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6102002 ORDER BY `minOrder` ASC [ RunTime:0.000301s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6102002 ORDER BY `unit` DESC [ RunTime:0.001075s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6102002 LIMIT 2 [ RunTime:0.001749s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6102002 ORDER BY `minOrder` ASC [ RunTime:0.000232s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5318978 LIMIT 4 [ RunTime:0.001504s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5318978 ORDER BY `minOrder` ASC [ RunTime:0.000940s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5318978 ORDER BY `unit` DESC [ RunTime:0.000775s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5318978 LIMIT 2 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5318978 ORDER BY `minOrder` ASC [ RunTime:0.000224s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6101829 LIMIT 4 [ RunTime:0.000302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6101829 ORDER BY `minOrder` ASC [ RunTime:0.000298s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6101829 ORDER BY `unit` DESC [ RunTime:0.001156s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6101829 LIMIT 2 [ RunTime:0.001593s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6101829 ORDER BY `minOrder` ASC [ RunTime:0.000286s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5318836 LIMIT 4 [ RunTime:0.000737s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5318836 ORDER BY `minOrder` ASC [ RunTime:0.005318s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5318836 ORDER BY `unit` DESC [ RunTime:0.004573s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5318836 LIMIT 2 [ RunTime:0.000319s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5318836 ORDER BY `minOrder` ASC [ RunTime:0.000675s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7099606 LIMIT 4 [ RunTime:0.000488s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099606 ORDER BY `minOrder` ASC [ RunTime:0.002403s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7099606 ORDER BY `unit` DESC [ RunTime:0.000314s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7099606 LIMIT 2 [ RunTime:0.000305s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099606 ORDER BY `minOrder` ASC [ RunTime:0.000226s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 30932 LIMIT 4 [ RunTime:0.000933s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30932 ORDER BY `minOrder` ASC [ RunTime:0.000306s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 30932 ORDER BY `unit` DESC [ RunTime:0.001273s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 30932 LIMIT 2 [ RunTime:0.001183s ]
SELECT * FROM `stock_price` WHERE `stockid` = 30932 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
select * from pdf where partno='DS1302ZN+T&R' and brandshort='ADI/MAXIM' limit 1 [ RunTime:0.002086s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.003689s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1302ZN+T&R' OR `brand` LIKE 'ADI(亚德诺)/MAXIM(美信)%' ) ) LIMIT 1 [ RunTime:0.018383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 28832 LIMIT 4 [ RunTime:0.003679s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28832 ORDER BY `minOrder` ASC [ RunTime:0.003124s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 28832 ORDER BY `unit` DESC [ RunTime:0.006608s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 28832 LIMIT 2 [ RunTime:0.000914s ]
SELECT * FROM `stock_price` WHERE `stockid` = 28832 ORDER BY `minOrder` ASC [ RunTime:0.000396s ]
select * from pdf where partno='DS1302Z+T&R' and brandshort='MAXIM' limit 1 [ RunTime:0.000847s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1302Z+T&R' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.011612s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 19442 LIMIT 4 [ RunTime:0.004472s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19442 ORDER BY `minOrder` ASC [ RunTime:0.004322s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 19442 ORDER BY `unit` DESC [ RunTime:0.002580s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 19442 LIMIT 2 [ RunTime:0.000611s ]
SELECT * FROM `stock_price` WHERE `stockid` = 19442 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
select * from pdf where partno='DS1302Z+T&R' and brandshort='MAXIM' limit 1 [ RunTime:0.000348s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1302Z+T&R' OR `brand` LIKE 'MAXIM%' ) ) LIMIT 1 [ RunTime:0.000324s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 8035 LIMIT 4 [ RunTime:0.000418s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8035 ORDER BY `minOrder` ASC [ RunTime:0.003610s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 8035 ORDER BY `unit` DESC [ RunTime:0.014566s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 8035 LIMIT 2 [ RunTime:0.002865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 8035 ORDER BY `minOrder` ASC [ RunTime:0.005242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DS1302+' OR `brand` LIKE 'ANALOG DEVICES%' ) ) LIMIT 1 [ RunTime:0.006006s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7099436 LIMIT 4 [ RunTime:0.000871s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099436 ORDER BY `minOrder` ASC [ RunTime:0.000330s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7099436 ORDER BY `unit` DESC [ RunTime:0.000302s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7099436 LIMIT 2 [ RunTime:0.000299s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099436 ORDER BY `minOrder` ASC [ RunTime:0.003191s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7099435 LIMIT 4 [ RunTime:0.000982s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099435 ORDER BY `minOrder` ASC [ RunTime:0.000480s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7099435 ORDER BY `unit` DESC [ RunTime:0.000684s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7099435 LIMIT 2 [ RunTime:0.014499s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099435 ORDER BY `minOrder` ASC [ RunTime:0.000920s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7099281 LIMIT 4 [ RunTime:0.000565s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099281 ORDER BY `minOrder` ASC [ RunTime:0.000307s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7099281 ORDER BY `unit` DESC [ RunTime:0.000290s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7099281 LIMIT 2 [ RunTime:0.000339s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099281 ORDER BY `minOrder` ASC [ RunTime:0.008658s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7099245 LIMIT 4 [ RunTime:0.004175s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099245 ORDER BY `minOrder` ASC [ RunTime:0.012742s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7099245 ORDER BY `unit` DESC [ RunTime:0.004187s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7099245 LIMIT 2 [ RunTime:0.002467s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099245 ORDER BY `minOrder` ASC [ RunTime:0.002869s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7099244 LIMIT 4 [ RunTime:0.000649s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099244 ORDER BY `minOrder` ASC [ RunTime:0.000323s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7099244 ORDER BY `unit` DESC [ RunTime:0.002857s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7099244 LIMIT 2 [ RunTime:0.005932s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7099244 ORDER BY `minOrder` ASC [ RunTime:0.002616s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `partno` LIKE 'DS1302%' AND `status` <> 2 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001296s ]