def select_distinct_column(engine, *columns):
if isinstance(columns[<NUM_LIT:0>], Column):<EOL><INDENT>pass<EOL><DEDENT>elif isinstance(columns[<NUM_LIT:0>], (list, tuple)):  <EOL><INDENT>columns = columns[<NUM_LIT:0>]<EOL><DEDENT>s = select(columns).distinct()<EOL>if len(columns) == <NUM_LIT:1>:<EOL><INDENT>return [row[<NUM_LIT:0>] for row in engine.execute(s)]<EOL><DEDENT>else:<EOL><INDENT>return [tuple(row) for row in engine.execute(s)]<EOL><DEDENT>
Select distinct column(columns).

:returns: if single column, return list, if multiple column, return matrix.

**中文文档**

distinct语句的语法糖函数。