Domanda

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?

È stato utile?

Soluzione

it add date

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

if i type number it add number..

Altri suggerimenti

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
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top