N1 & C1 DBMS LAB QUIZ

N1 & C1 DBMS LAB QUIZ

University

10 Qs

quiz-placeholder

Similar activities

DBMS

DBMS

University

13 Qs

7.7 Software Security Review

7.7 Software Security Review

8th Grade - University

15 Qs

RDBMS-SQL

RDBMS-SQL

University

10 Qs

UAS Pemrograman Web

UAS Pemrograman Web

University

11 Qs

Introduction to Database

Introduction to Database

University

10 Qs

Database Introduction 3

Database Introduction 3

University

15 Qs

Chapter 6 DATABASE  Part 1

Chapter 6 DATABASE Part 1

University

15 Qs

Big Data Analytics - Week 2 (Data storage)

Big Data Analytics - Week 2 (Data storage)

University - Professional Development

10 Qs

N1 & C1 DBMS LAB QUIZ

N1 & C1 DBMS LAB QUIZ

Assessment

Quiz

Computers

University

Medium

Created by

Nand Yadav

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

As part of our ongoing efforts to improve our customer database, you've been tasked with adding a new column to the 'Customers' table to store email addresses. This will help us communicate with our customers more effectively. Which SQL statement should you use to accomplish this?

A) ALTER TABLE Customers ADD Email VARCHAR(100);

B) UPDATE Customers SET Email = 'example@email.com';

C) CREATE COLUMN Email IN Customers;

D) INSERT INTO Customers (Email) VALUES ('example@email.com');

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In your role as data analysts, you often work with a customer database that evolves over time to accommodate new information. Your manager has requested you to update the database by adding new attributes to an existing customer relation. Which of the following commands should you use to accomplish this task effectively?

A. Alter

B. Modify

C. Tailor

D. Eliminate

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the financial database you oversee, there's a need to periodically clear out all the transaction records from a particular table without generating extensive log entries for each deletion. This process ensures efficient data maintenance. Which SQL statement should you employ to achieve this specific task?

DELETE

DROP

TRUNCATE

REMOVE

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In a given relationship R, if an attribute A uniquely defines all other attributes, then the attribute A is a key attribute which is also known as the _________ key.

Candidate

Join

Functional

None of the Mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By normalizing relations or sets of relations, one minimizes ___.

  1. Data

  1. Fields

  1. Redundancy

  1. Database

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

As part of our annual salary adjustments, we need to update the 'Salary' column for all employees in the 'Employees' table who belong to the 'HR' department. This ensures that our HR team is fairly compensated. Which SQL statement should you use to accomplish this?

A) UPDATE Employees SET Salary = 55000 WHERE Department = 'HR';

B) INSERT INTO Employees (Salary) VALUES (55000) WHERE Department = 'HR';

C) DELETE FROM Employees WHERE Department = 'HR';

D) SELECT * FROM Employees WHERE Department = 'HR';

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

As part of your role as a database developer, you are responsible for ensuring the integrity of the data in our company's employee database. This involves using various SQL constraints to maintain data quality. However, not all options provided are actual SQL constraints. Can you identify which one is not a constraint?

A. Not Null

B. Check

C. Union

D. Primary Key

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?