i can duplicate table like this:

create table abc_new as select * from abc

can i duplicate the table and new Columns like birthdate as date in the same sentences?

有帮助吗?

解决方案

it add date

create table abc_new as select *,sysdate as someDate from abc

if i type number it add number..

其他提示

You can create the view of the table in Sql . You cant create the duplicate table in Sql like Mysql.

for view:

CREATE VIEW view_name AS
SELECT column_name(s)
FROM table_name
WHERE condition
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top