Non null value associated with least value in other column 1 min read more Non null value associated with least value in other column admin 3 years ago My data is like this: Desired output: I have tried using following SQL: CASE WHEN (MINDAY_DIFF > 0) AND (MINDAY_DIFF IS NOT NULL) THEN FIRST_VALUE(BP_MED)... Read More