忘了說明一下,3和4中間有間斷,這種情況取most recent時間段。
所有跟帖:
• 回複:忘了說明一下,3和4中間有間斷,這種情況取most recent時間段。 -veggiedoggie- ♀ (27 bytes) () 11/06/2009 postreply 10:53:49
• 好像需要先加一個判斷,再決定用哪個. -小謀- ♀ (0 bytes) () 11/06/2009 postreply 11:01:29
• 你是要找出現最多的最老的日子把?那就複雜多了 -:-}---~- ♂ (31 bytes) () 11/06/2009 postreply 11:09:31
• how to use IF statement in SQL, and compare the current -小謀- ♀ (32 bytes) () 11/06/2009 postreply 11:10:44
• as long as i know, u can't use if in proc sql; -veggiedoggie- ♀ (0 bytes) () 11/06/2009 postreply 11:14:47
• SQL不能比較current and previous record value -:-}---~- ♂ (33 bytes) () 11/06/2009 postreply 11:15:13
• you can use case for if...then...else...if...then...else -:-}---~- ♂ (45 bytes) () 11/06/2009 postreply 11:18:27
• 高人呐,我趕緊做筆記,嗬嗬。 -veggiedoggie- ♀ (104 bytes) () 11/06/2009 postreply 11:27:00
• 說笑了,俺剛古狗來的:) -:-}---~- ♂ (0 bytes) () 11/06/2009 postreply 11:30:56
• too complicated. -小謀- ♀ (0 bytes) () 11/06/2009 postreply 11:34:53
• 沒先謝謝人家? -眼冒金星- ♂ (0 bytes) () 11/06/2009 postreply 11:56:25