select
sp_una_stl_key,
row_number() over(order by sp_una_stl_key)as stl_key
from
t_unit_data_archive
where
stl_key>=10
This request is not executed, throws,
Msg 207, Level 16, State 1, Line 2 Invalid column name 'stl_key'.
I could not understand what the problem was. please help me!
source
share