SQL for non-programmers Flashcards
What does SQL stand for?
Structured Query Language
What is SQL used for?
Programming language used to communicate with and manage relational databased
SQL is based on _______-_______ commands
English-language
It avoids having to learn complex programming syntax
What are the 3 things you need to utilize SQL?
- Database management system
- Tool to interact with Database
- Data
What is SQLite.org?
A free, open-source, and user-friendly system
What is SQLiteStudio?
Free graphical user interface
Designed to make these databases more friendly and accessible
What are 4 things that SQL allows you to do with data?
Define
Manipulate
Control
Query
What are relational databases?
They are a type of database that organized data into tables, with each table consisting of rows and columns
Each row represing a unique record of data and each column represents an attribute or characteristics of that data
How can tables be linked or related?
They can with common keys. Common keys are data that is common to each table and alow you to create bridges that connect one table to another.
What are some of the relational database solutions on the market today?
MySQL
Microsoft SQL Server
PostgreSQL
SPLite
Relational databases are flexible, scalable solution for complex data
How are relational databases designed/structured?
Attempt to minimize redundancies and maximize efficiency
Relational databases are built using a process called normalization, explain
To organize data in a database so that each piece of data is only stored in one place. Makes it more efficient and accurate
To prevent data duplication and inconsistencies
Define
DQL or Data Query Language
An SQL command family, allows you to retrieve data from a database for both broad population and data professionals alike
Most common command family and maybe only one you’ll need
What are the four main command families?
DDL: Data Definition Language
DCL: Data Control Language
DML: Data Manipulate Language
DQL: Data Query Language
What is the process of normalization used for?
To organize data more optimally and efficiently in a database