Bash, the Crucial Exams Chat Bot
AI Bot

Database Concepts and SQL (DataSys+ DS0-001)  Flashcards

CompTIA DataSys+ DS0-001 Flashcards

FrontBack
What does SQL stand forStructured Query Language.
What does the COUNT function doReturns the number of rows that match a specified condition.
What does the DISTINCT keyword doRemoves duplicate rows from the result set.
What does the INSERT statement doAdds new data or records to a database table.
What does the ROLLBACK command doUndoes all changes made during a transaction.
What does the SELECT statement doRetrieves data from one or more database tables.
What does the UNION operator doCombines the results of two or more SELECT statements, removing duplicates by default.
What is a composite keyA primary key made up of two or more columns.
What is a data type in a databaseDefines the kind of data a column can hold, such as INTEGER or VARCHAR.
What is a foreign keyA field in one table that uniquely identifies a row in another table.
What is a JOIN in SQLA command to combine rows from two or more tables based on a related column.
What is a primary keyA unique identifier for a record in a database table.
What is a primary purpose of an index in a databaseTo speed up search and retrieval operations.
What is a relational databaseA database structured to recognize relationships among stored items of information.
What is a schema in a databaseThe structure that defines tables, columns, relationships, and other elements.
What is a subqueryAn embedded query inside another SQL query.
What is a transaction in a databaseA sequence of operations performed as a single logical unit of work.
What is a unique constraintEnsures all values in a column or a set of columns are different.
What is a view in a databaseA virtual table based on the result of a SQL query.
What is ACID in relation to databasesStands for Atomicity, Consistency, Isolation, Durability; principles for reliable database transactions.
What is the difference between an INNER JOIN and OUTER JOININNER JOIN returns records with matching values in both tables, OUTER JOIN includes matched and unmatched rows.
What is the difference between DELETE and TRUNCATEDELETE removes specific rows and can use a WHERE clause; TRUNCATE removes all rows from a table.
What is the purpose of normalizationTo reduce data redundancy and improve data integrity.
What is the purpose of the GROUP BY clauseOrganizes data into groups based on specified columns.
What is the purpose of the WHERE clauseFilters the result set to include only rows that meet certain conditions.
What is the role of the HAVING clauseFilters groups after the GROUP BY operation.
This deck focuses on databases, including relational database design, SQL queries, and basic database management tasks.
Share on...
Follow us on...