Technical(SQL) Flashcards
What is SQL?
Structured Query Language is a DB computer language designed to retrieve and manage data, create and modify DB schema, etc
What is Database?
Db is an organized collection of data; space for storing information
What is Query?
Request to DB to retrieve info
What is DBMS?
Database Management System is a software that controls organization, storage, retrieval, security and integrity of data in DB
What is relational DB?
DB that stores data in separate tables, rather than putting all the data in one table
What is Schema?
Logical container for DB objects that is created by user; a visual or logical representation of a relational database’s logical and visual configuration
What is Table?
Set of data elements that is organized using columns (fields) and rows (records)
What is Field?
A DB storage simplest unit
What is record?
One row of the table, represents single structured data set in a table
What is Report?
Result that you get after running query
Name popular DBs
Oracle, MS SQL Server, PostgreSQL, MySQL
What did you use SQL for?
Getting data for testing; saving data generated during testing activities; data verification in DB (find data, ensure data integrity, manipulate test data for specific tests); testing DBs
What is PK?
Primary Key is a unique identifier assigned to every record in a table
What is DB Normalization?
Process of organizing fields and tables of relationship DB to minimize redundancy and dependency including dividing large tables into smaller tables and defining relationships between them
What is a Foreign Key (FK)?
Column or combination of columns that is used to establish a relationship between tables; usually not unique and always points to a primary key of related table