Вопрос

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