insert into (select location_id,city,country_id
from locations )
values (3500,'New_York','US');
I can insert values as shown format above.Normally,this table has more columns than shown inside insert statement but i just wanted to insert specific columns. Rest of them are null at the row.
Here i altered table by adding a new column 'hamdi'. What a simple!
Hiç yorum yok:
Yorum Gönder