

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Add a column to a table - correct answer ✔ALTER TABLE table_name ADD column_name datatype; CREATE VIEW - correct answer ✔CREATE VIEW view_name AS SELECT column_name(s) FROM table_name WHERE condition Viewing a View - correct answer ✔SELECT * FROM Viewname Adding a primary key - correct answer ✔ALTER TABLE Movie ADD PRIMARY KEY (ID); Adding a foreign key - correct answer ✔ALTER TABLE Tablename FOREIGN KEY (column) REFERENCES