Keep magic in Oracle SQL

Words
30
Reading
1 min
Listen
Play
9y

SELECT MAX(col1) KEEP(DENSE_RANK FIRST ORDER BY col_amt1 desc) as co1,
FROM example_tb

-- In this example, col_amt1 in the example_tb table gets the value of col1 for the largest data.

Keep magic in Oracle SQL | Ecency