美文网首页
第八章 练习题

第八章 练习题

作者: susupp | 来源:发表于2018-07-24 17:20 被阅读0次

8.2

SELECT
    product_type,
    regist_date,
    sum(sale_price) over (

        ORDER BY
            colaesce (
                regist_date,
                cast('1996-01-01' AS date)
            )
    ) AS sum_price
FROM
    product
ORDER BY
    regist_date;

相关文章

网友评论

      本文标题:第八章 练习题

      本文链接:https://www.haomeiwen.com/subject/jojymftx.html