How to add multiple dimensions while transform data

I want to add more than one dimensions when transform data.
For example, I want to add some columns searched from mysql database according one value, how can I handle this?

I saw the transform setting is like below:

{
“type”: “expression” ,
“name”: “” ,
“expression”: “”
}

The output name is only one dimension or metric?