Hi Guys i'm trying to use pagination for my teradata query as below:
SELECT RANK() OVER (ORDER BY id,firstname,lastname,grade,gender,age,profession) as row_num, ORDER BY id,firstname,lastname,grade,gender,age,profession FROM table-1 QUALIFY row_num BETWEEN 0 and 1000 ;
the query works fine. However, i'm trying to see if there is an other way to query the table based on * instead of stating all table columns in query 2 times.
Apprecite your input on this request.