1。我現在要求A 在10/11/10的'ret'平均值, 即(0.5+0.8+0.9)/3
有三條name=A的記錄,隻有一個date=10/11/10,不明白你怎麽求A在10/11/10的ret平均值,(0.5+0.8+0.9)/3是A的平均值;
2。A在10/11/10的‘ret'平均值, 即(0.8+0.9)/2, 
same issue here, just cannot get your logic.
還是看不懂
所有跟帖:
                    •                    
                    是三個date. 在第一個date 求三個ret 值的平均值, 在第二個date, 求後兩個ret值的平均值
                     -Janezhu- 
                    ♀                    
                        
                    
                                                            
                    
                    
                                        
                        (0 bytes)
                        ()
                        07/13/2010 postreply
                                                17:34:27
                    
                    
                    •                    
                    ok,我這樣解釋,你看對不對
                     -暖小蛇- 
                    ♀                    
                        
                    
                                                            
                        
                    
                                        
                    
                    
                                        
                        (257 bytes)
                        ()
                        07/13/2010 postreply
                                                17:48:32
                    
                    
                    •                    
                    太對了, 謝謝!
                     -Janezhu- 
                    ♀                    
                        
                    
                                                            
                    
                    
                                        
                        (0 bytes)
                        ()
                        07/13/2010 postreply
                                                18:41:54
                    
                    
                    •                    
                    here
                     -暖小蛇- 
                    ♀                    
                        
                    
                                                            
                        
                    
                                        
                    
                    
                                        
                        (402 bytes)
                        ()
                        07/13/2010 postreply
                                                19:24:05
                    
                    
                    •                    
                    another try
                     -暖小蛇- 
                    ♀                    
                        
                    
                                                            
                        
                    
                                        
                    
                    
                                        
                        (405 bytes)
                        ()
                        07/13/2010 postreply
                                                19:34:17
                    
                    
                    •                    
                    謝謝!非常感謝! 你太可愛了
                     -Janezhu- 
                    ♀                    
                        
                    
                                                            
                    
                    
                                        
                        (0 bytes)
                        ()
                        07/13/2010 postreply
                                                19:48:15