How to do operation on SQL result

I have query like SELECT(SELECT COUNT() FROM index_!)/(SELECT COUNT() FROM index_! where age is 10).

how can i get same result from elasticsearch

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.