欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

MS SQL 挑战问题

程序员文章站 2022-06-10 19:41:45
...

SELECT T. ROW , T.PRODUCT_NAME, T.SALE_AMOUNT, T.SUM_RAT FROM (,T.PRODUCT_NAME,T.SALE_AMOUNT,( SELECT SUM (SALE_AMOUNT) SUM_SALE FROM TEST WHERE T.SALE_AMOUNT = SALE_AMOUNT) / L.SALE_AMOUNT AS SUM_RAT FROM TEST T, ( SELECT SUM (SALE_AMOUNT

SELECT T.ROW, T.PRODUCT_NAME, T.SALE_AMOUNT, T.SUM_RAT FROM ( , T.PRODUCT_NAME, T.SALE_AMOUNT, (SELECT SUM(SALE_AMOUNT) SUM_SALE FROM TEST WHERE T.SALE_AMOUNT AS

相关标签: 挑战 问题