Sqlserver
 sql >> Database >  >> RDS >> Sqlserver

ROW_NUMBER() senza over in SQL

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