Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4.2 TrustPilot
logo-home
Examen

BSIT 2 – Database Management Systems 6

Note
-
Vendu
-
Pages
24
Grade
A+
Publié le
17-03-2025
Écrit en
2024/2025

BSIT 2 – Database Management Systems 6

Établissement
Database Management Systems
Cours
Database management systems










Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Database management systems
Cours
Database management systems

Infos sur le Document

Publié le
17 mars 2025
Nombre de pages
24
Écrit en
2024/2025
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

1. Which SQL statement is used to return the number of rows in a table?

A. SELECT COUNT()

B. SELECT SUM()

C. SELECT MAX()

D. SELECT MIN()

Answer: A) SELECT COUNT()

Rationale: The COUNT() function is used to return the number of rows in a table.




2. Which of the following is a non-relational database?

A. MySQL

B. PostgreSQL

C. MongoDB

D. Oracle

Answer: C) MongoDB

Rationale: MongoDB is a non-relational (NoSQL) database, which stores data in JSON-like

documents rather than relational tables.




3. What is a foreign key?

A. A primary key in a different table

,B. A key that uniquely identifies records in the current table

C. A key used for indexing the database

D. A key used to sort the records

Answer: A) A primary key in a different table

Rationale: A foreign key is a field in one table that uniquely identifies a row in another table.




4. What is the purpose of the EXPLAIN keyword in SQL?

A. To display the execution plan for a query

B. To explain the database schema

C. To summarize the table structure

D. To explain error messages

Answer: A) To display the execution plan for a query

Rationale: The EXPLAIN keyword is used to display the execution plan for a SQL query,

helping to analyze and optimize query performance.




5. Which of the following is NOT an advantage of normalization?

A. Reduces redundancy

B. Increases data integrity

C. Makes the database more complex

D. Improves query performance

Answer: C) Makes the database more complex

, Rationale: Normalization reduces redundancy, improves integrity, but may make the database

more complex with multiple tables.




6. In SQL, which of the following is used to retrieve unique values from a column?

A. SELECT ALL

B. DISTINCT

C. UNIQUE

D. LIMIT

Answer: B) DISTINCT

Rationale: The DISTINCT keyword is used to retrieve unique values from a column.




7. Which SQL command is used to update data in a table?

A. INSERT

B. UPDATE

C. DELETE

D. SELECT

Answer: B) UPDATE

Rationale: The UPDATE command is used to modify existing records in a table.




8. What does the SQL keyword LIMIT do?

A. Restricts the number of records returned
€9,20
Accéder à l'intégralité du document:

Garantie de satisfaction à 100%
Disponible immédiatement après paiement
En ligne et en PDF
Tu n'es attaché à rien

Faites connaissance avec le vendeur
Seller avatar
douglasmugwe82
5,0
(1)

Faites connaissance avec le vendeur

Seller avatar
douglasmugwe82 Teachme2-tutor
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
2
Membre depuis
1 année
Nombre de followers
0
Documents
4239
Dernière vente
2 mois de cela
fully answered questions and answer

fully answered questions and answer

5,0

1 revues

5
1
4
0
3
0
2
0
1
0

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions