Sqlserver
 sql >> Base de données >  >> RDS >> Sqlserver

ROW_NUMBER() sans over en SQL

select ROW_NUMBER() OVER (ORDER BY (SELECT NULL)) as number from Task order by RuleId