1 Introduction to databases and SQL
In this chapter
- You get a foundation for the rest of the book.
- You learn the basics of relational databases.
- You peek into database design.
- You write your first SQL query and learn more about the basics of SQL.
1.1 Overview
Database design is a critical yet easily neglected step in software development. Nearly every application requires data storage and management to some extent, but not every application has a well-designed database. If you design a database without knowing the principles of effective database design, your application may suffer from a series of issues you weren’t expecting, such as disorganized data or queries taking too long and too many resources to run. Such issues can lead to bugs and a bad user experience.