DBMS

What is the difference between OLTP and OLAP databases?

What is the difference between OLTP and OLAP databases? a) OLTP is for transactional processing, OLAP is for analytical processing b) OLTP stores historical data, OLAP stores real-time data c) OLTP databases are non-relational, OLAP databases are relational d) OLTP databases are used for backups, OLAP databases are used for disaster recovery Answer: a) OLTP […]

What is the difference between OLTP and OLAP databases? Read More »

What is the difference between SQL and NoSQL databases?

What is the difference between SQL and NoSQL databases? a) SQL databases use structured tables, NoSQL databases use various data models b) SQL databases are non-relational, NoSQL databases are relational c) SQL databases store unstructured data, NoSQL databases store structured data d) SQL databases cannot scale, NoSQL databases cannot store large amounts of data Answer:

What is the difference between SQL and NoSQL databases? Read More »

What is a foreign key constraint used for in a relational database?

What is a foreign key constraint used for in a relational database? a) To enforce referential integrity between two tables b) To prevent null values in a column c) To ensure unique values in a column d) To improve the performance of SELECT queries Answer: a) To enforce referential integrity between two tables Explanation: A

What is a foreign key constraint used for in a relational database? Read More »

Scroll to Top