Share
Affine Analytics Interview Questions | How to fetch only even rows from a table?
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Answers ( 2 )
select * from (Select id,row_number() OVER(order by id) as Row_Number from Employee) as e
where Row_Number % 2 == 0
correction : (Row_Number % 2) = 0