[{"columns":["branch_ID","bname","no_of_customers","city","state"],"name":"bank","type":"grid"}]

How many customers are there?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"sum"}]}}

What is the total number of customers across banks?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"sum"}]}}

Find the number of customers in the banks at New York City.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"sum"},{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York City"}]}}

What is the total number of customers who use banks in New York City?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"sum"},{"actionType":"ChangeCondition","column":"city","operation":"=","value":"New York City"}]}}

Find the average number of customers in all banks of Utah state.

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"avg"},{"actionType":"ChangeCondition","column":"state","operation":"=","value":"Utah"}]}}

What is the average number of customers across banks in the state of Utah?

{"dsl":{"actions":[{"actionType":"ChangeAggregations","column":"no_of_customers","aggregation":"avg"},{"actionType":"ChangeCondition","column":"state","operation":"=","value":"Utah"}]}}

Find the average number of customers cross all banks.

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

What is the average number of bank customers?

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

Find the city and state of the bank branch named morningside.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bname","operation":"=","value":"morningside"}]}}

What city and state is the bank with the name morningside in?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"bname","operation":"=","value":"morningside"}]}}

Find the branch names of banks in the New York state.

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state","operation":"=","value":"New York"}]}}

What are the names of banks in the state of New York?

{"dsl":{"actions":[{"actionType":"ChangeCondition","column":"state","operation":"=","value":"New York"}]}}

Find the number of different cities which banks are located at.

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

In how many different cities are banks located?

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

Find the number of different states which banks are located at.

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

In how many different states are banks located?

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

Find the branch name of the bank that has the most number of customers.

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

What is the name of the bank branch with the greatest number of customers?

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

Find the state which has the most number of customers.

{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"state"},{"actionType":"ChangeTopFilter","column":"no_of_customers","limit":1,"aggregation":"sum","direction":"desk"}]}}

Which state has the greatest total number of bank customers?

{"dsl":{"actions":[{"actionType":"ChangeGrouping","column":"state"},{"actionType":"ChangeTopFilter","column":"no_of_customers","limit":1,"aggregation":"sum","direction":"desk"}]}}