Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
日付、製品、顧客、および収益、売上などの複数のディメンションを持つファクト テーブルがあります。
先週と今週の間 (2 つの日付間) の収益、販売数の差を計算したいと思います。
達成に役立つSQLクエリの作成を手伝ってください。
ありがとう。
to_number(to_char(DateField,'WW'))
年内の週番号が表示されます。もっと...