यह सामग्री अभी उपलब्ध नहीं है। Questions and Answers
यह सामग्री अभी उपलब्ध नहीं है।
FAQ
यह सामग्री अभी उपलब्ध नहीं है। FAQs
Common questions and clear answers for this topic.
What is a Database and why is it important?
A Database is an organized collection of structured data stored electronically in a computer system. It allows easy access, management, and updating of data. Databases are essential in modern applications like banking systems, e-commerce websites, hospital records, and social media platforms. Common database types include Relational (SQL) and Non-Relational (NoSQL) databases.
What is the difference between SQL and NoSQL databases?
SQL databases are relational, store data in structured tables with fixed schema, and use SQL for queries. Examples: MySQL, PostgreSQL, Oracle. NoSQL databases are non-relational, store data in flexible formats like documents, key-value pairs, or graphs. Examples: MongoDB, Redis, Cassandra. SQL is better for complex queries; NoSQL is better for large-scale unstructured data.
What are the ACID properties in database transactions?
ACID properties ensure reliable database transactions: Atomicity (transaction is all-or-nothing), Consistency (database remains in a valid state), Isolation (concurrent transactions do not interfere), and Durability (committed transactions are permanently saved). These properties are critical in banking and financial applications where data integrity is essential.
What is normalization in databases?
Normalization is the process of organizing a database to reduce data redundancy and improve data integrity. Normal forms include 1NF (eliminate repeating groups), 2NF (remove partial dependencies), 3NF (remove transitive dependencies), and BCNF. Normalization divides large tables into smaller related tables. It is a common SQL interview topic in software engineering interviews.
What is the difference between Primary Key and Foreign Key?
A Primary Key uniquely identifies each record in a table and cannot be NULL or duplicate. A Foreign Key is a field in one table that refers to the Primary Key in another table, creating a relationship between tables. For example, in a student database, StudentID is the Primary Key in the Students table and a Foreign Key in the Marks table.
Related Practice
Parent category aur related practice pages se apni preparation continue karein.
Similar Topics
Practice related topics from the same category.
Top 5 Categories
Explore popular categories for more exam practice.