Vayana Network interview question

Java, Collections, REST, SQL Query on group by and having.