Bash, the Crucial Exams Chat Bot
AI Bot

Database Management and SQL  Flashcards

CompTIA Data+ DA0-001 (V1) Flashcards

FrontBack
Explain the purpose of the DISTINCT keyword in SQLIt removes duplicate records from the result set
Give an example of a DDL (Data Definition Language) statement in SQLCREATE DROP or ALTER
Name the first normal formA table structure with no repeating groups and each field contains only atomic values
Name the second normal formA table in first normal form where all non-key columns are fully functional dependent on the primary key
Name the types of SQL joinsINNER JOIN LEFT JOIN RIGHT JOIN FULL OUTER JOIN
What does SQL stand forStructured Query Language
What does the GROUP BY clause do in SQLGroups rows that share the same values in specified columns into summary rows
What is a composite keyA key that consists of two or more columns to uniquely identify a record
What is a cursor in SQLA database object used to retrieve navigate and manipulate rows in a result set
What is a data warehouseA system used for reporting and data analysis
What is a foreign keyA field that creates a relationship between two tables
What is a JOIN in SQLA clause used to combine rows from two or more tables based on a related column
What is a primary key in a relational databaseA unique identifier for each record in a table
What is a schema in a databaseThe structure that defines the organization of data in the database
What is a stored procedureA precompiled collection of SQL statements stored in the database
What is a subquery in SQLA query nested inside another SQL query
What is a surrogate keyA unique identifier for an entity, not derived from application data
What is a transaction in databasesA sequence of operations performed as a single logical unit of work
What is a trigger in SQLA procedure that automatically executes in response to certain events on a table or view
What is a view in SQLA virtual table based on the result set of an SQL statement
What is ACID in database transactionsAtomicity Consistency Isolation Durability
What is an index in a databaseA data structure that improves the speed of data retrieval
What is denormalizationThe process of adding redundant data to a database for performance improvement
What is normalizationThe process of organizing data to minimize redundancy
What is referential integrityEnsures relationships between tables remain consistent through foreign keys
What is SQL injectionA code injection technique that might destroy a database
What is the difference between TRUNCATE and DELETE in SQLTRUNCATE removes all rows without logging individual row deletions while DELETE logs each row removal and can include a WHERE clause
What is the HAVING clause used for in SQLUsed to filter result sets after applying aggregate functions such as SUM or COUNT
Which clause is used to filter records in a SQL queryWHERE
Which clause is used to sort the result-set in SQLORDER BY
Which SQL statement is used to delete data from a tableDELETE FROM
Which SQL statement is used to insert new data into a tableINSERT INTO
Which SQL statement is used to remove a table definition and its data from the databaseDROP
Which SQL statement is used to retrieve data from a databaseSELECT
Which SQL statement is used to update existing data in a tableUPDATE
Gain knowledge of fundamental database management concepts, including relational databases, SQL queries, normalization, and database optimization techniques.
Share on...
Follow us on...