About this question
I intend to select multiple values using the SQL query below. But I want to do this by using this like an operator.
SELECT top 1 employee_id, employee_ident, utc_dt, rx_dt
Here is another SQL query from the table employee.
ON employee.ident=employee_mdata_history.employee_ident
WHERE employee_id like 'emp1%' , 'emp3%'
ORDER BY rx_dt desc
The data table has many data like ‘emp1’ and ‘emp3’, etc. Can I filter the result by top 3 ‘emp1’ and top 2 ‘emp3’, depending on the rx_dt?