[{"columns":["best_of","draw_size","loser_age","loser_entry","loser_hand","loser_ht","loser_id","loser_ioc","loser_name","loser_rank","loser_rank_points","loser_seed","match_num","minutes","round","score","surface","tourney_date","tourney_id","tourney_level","tourney_name","winner_age","winner_entry","winner_hand","winner_ht","winner_id","winner_ioc","winner_name","winner_rank","winner_rank_points","winner_seed","year"],"name":"matches","type":"grid"}]

Find the average age of losers and winners of all matches.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}

What are the average ages of losers and winners across matches?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_age","aggregation":"avg"},{"actionType":"ChangeAggregations","column":"winner_age","aggregation":"avg"}]}}

Find the average rank of winners in all matches.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}

What is the average rank for winners in all matches?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_rank","aggregation":"avg"}]}}

Find the highest rank of losers in all matches.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}

What is the best rank of losers across all matches?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_rank","aggregation":"min"}]}}

Find the number of distinct name of losers.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}

How many different loser names are there?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"loser_name","aggregation":"count"}]}}

Find the name of the winner who has the highest rank points and participated in the Australian Open tourney.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}

What is the name of the winner with the most rank points who participated in the Australian Open tournament?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"Australian Open"},{"actionType":"ChangeTopFilter","column":"winner_rank_points","limit":1,"aggregation":"avg","direction":"desk"}]}}

find the names of loser and winner who played in the match with greatest number of minutes.

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}

What are the names of the winner and loser who played in the longest match?

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"minutes","limit":1,"aggregation":"avg","direction":"desk"}]}}

Find the number of matches happened in each year.

{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}

How many matches were played in each year?

{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"YEAR"}]}}

Find the name and rank of the 3 youngest winners across all matches.

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}

What are the names and ranks of the three youngest winners across all matches?

{"dsl":{"actions":[{"actionType":"ChangeTopFilter","column":"winner_age","limit":3,"aggregation":"avg","direction":"ask"}]}}

How many different winners both participated in the WTA Championships and were left handed?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}

Find the number of left handed winners who participated in the WTA Championships.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"winner_name","aggregation":"count"},{"actionType":"ChangeCondition","column":"tourney_name","operation":"=","value":"WTA Championships"},{"actionType":"ChangeCondition","column":"winner_hand","operation":"=","value":"L"}]}}