Select dimensions and attributes.
apply_select_dimension(db, sq)
db
A star_database object.
star_database
sq
A star_query object.
star_query