I would like to generate a line number for each line in the results of a sql query. How is it possible to do that?
Example: In the request
select di
In SQL we are also using this query:
select row_number() over (order by table_kid) as S_No ,table_columnname,table_columnname2 from tablename where table_fieldcondition='condtionnal falg or data ';
Here table_kid or may be other table_columnname