Kth Largest Element In An Array Using Max In Where Clause