Hi Experts,
Below is a sample table where the valid time state field type is selected as Date in the table properties. I need to select the first record in my code (the first record created as per the Rec id in the table), the record with salary 1000 in the below case but the select statement brings the current record only which is the last one since the table is date effective. what should be the statement to get the first record ? Thanks in advance.
Employee | Valid From | Valid To | Salary |
123 | 01/01/2020 | 31/12/2020 | 1000 |
123 | 01/01/2021 | 31/12/2021 | 2000 |
123 | 01/01/2022 | 31/12/2022 | 3000 |