ICT6_FT_W1_SW1

ICT6_FT_W1_SW1

12th Grade

10 Qs

quiz-placeholder

Similar activities

Graded Recitation (Programming Oracle)

Graded Recitation (Programming Oracle)

12th Grade

5 Qs

Stage 7A - MYSQL QUIZ-Feb code file

Stage 7A - MYSQL QUIZ-Feb code file

7th Grade - University

10 Qs

ប្រឡងឆមាសលើកទី១ ថ្នាក់ទី១១

ប្រឡងឆមាសលើកទី១ ថ្នាក់ទី១១

11th Grade - University

15 Qs

Database Intro (A Level CS)

Database Intro (A Level CS)

11th - 12th Grade

10 Qs

2.1.3 ARAHAN SQL

2.1.3 ARAHAN SQL

1st - 12th Grade

7 Qs

dbms

dbms

11th - 12th Grade

15 Qs

SQLDatabase

SQLDatabase

12th Grade

15 Qs

TP3: SQL

TP3: SQL

12th Grade

7 Qs

ICT6_FT_W1_SW1

ICT6_FT_W1_SW1

Assessment

Quiz

Computers

12th Grade

Medium

Created by

JB Presa

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the correct syntax if you want to rename the table?

ALTER TABLE table_name

RENAME TO new_table_name;

ALTER TABLE table_name,

RENAME TO new_table_name;

ALTER TABLE table_name

RENAME TABLE old_table_name to new_name;

ALTER TABLE table_name

RENAME new_table_name;

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which from the following is the correct syntax to add a column on a table?

ADD COLUMN  age NUMBER(3);

ALTER TABLE tbl_customer,

ADD age NUMBER(3);

ALTER TABLE tbl_customer

ADD age NUMBER(3);

ALTER TABLE tbl_customer

ADD age;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is used to make changes on a table in Oracle Database?

SELECT statement

UPDATE statement

ALTER TABLE statement

INSERT statement

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which from the following is the correct SQL to delete a table?

DELETE table_name;

TRUNCATE table_name;

ERASE table_name;

DROP table_name;

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which from the following is the correct SQL to delete a column on a table?

DROP column_name;

ALTER TABLE table_name

DROP COLUMN column_name;

ALTER TABLE table_name

DELETE COLUMN column_name;

TRUNCATE column_name;

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which from the following is the correct SQL to rename a column on a table?

RENAME column_name;

ALTER TABLE table_name

CHANGE NAME column_name;

ALTER TABLE table_name

RENAME COLUMN new_name;

ALTER TABLE table_name

RENAME COLUMN old_name TO new_name;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which from the following the is the correct SQL keyword if you want to make changes in your column definition?

ADD

CHANGE

RENAME

MODIFY

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?