How can we achieve an equivalent of this SQL query in Elasticsearch?

SELECT ( (cost / (SELECT MAX(cost) FROM drink_info))) AS quan FROM drink_info