sql server 2008 - sql query with create command -
this question has answer here:
i having problem in creating table table. using query:
create table new_table ( select distinct * old-table)
its giving error
incorrect syntax near keyword 'as'.
select distinct * new_table old-table group whatever want group by
edit: can cast rows varchar, comparable, or can group column values want distinct.
Comments
Post a Comment