Aug 04, 2020 11:04 am
Table alternate records
1 Reply
Aug 05, 2020 4:32 am
You can fetch alternate records i.e both odd and even row numbers.
For example-
To display even numbers, use the following command:
Select student from (Select row, students from student) where mod(row,2)=0
To display odd numbers, use the following command
Select student from (Select row, students from student) where mod(row,2)=1