SQL query to retrieve only rows from 60000 to last row
Hi,
I need a help to write a query to get the below results.
I run this query to get first 60000 rows
select top 60000 * from Produts which is perfect.
now I want to run an sql to get the rows from 65001 till the last rows.
How do i write the query to get the results.
regards
Arvind
get 10,000th row from a table
Hi,
I would appreciate very much if you could help me on the below..
I have use teradata sql assistant 7.1. i want to get 10000th row( emp_id_ from the table.
Note: emp_id is not a primary key
I used the below one
Select
emp_id
From
emp_table
Where
emp_Id NotIn (
Select Top 9999
emp_id
From
emp_table
Where country_code = 7)
but it says TOP functions does not support in teradata.
can anyone else suggest me some answers
Regards
Arvind