Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learn SQL Database Programming

You're reading from  Learn SQL Database Programming

Product type Book
Published in May 2020
Publisher Packt
ISBN-13 9781838984762
Pages 564 pages
Edition 1st Edition
Languages
Author (1):
Josephine Bush Josephine Bush
Profile icon Josephine Bush

Table of Contents (24) Chapters

Preface 1. Section 1: Database Fundamentals
2. Introduction to Relational Database Management Systems 3. Installing and Using MySQL Workbench 4. Understanding Data Types 5. Designing and Creating a Database 6. Importing and Exporting Data 7. Section 2: Basic SQL Querying
8. Querying a Single Table 9. Querying Multiple Tables 10. Modifying Data and Table Structures 11. Section 3: Advanced SQL Querying
12. Working with Expressions 13. Grouping and Summarizing Data 14. Advanced Querying Techniques 15. Programmable Objects 16. Section 4: Presenting Your Findings
17. Exploring and Processing Your Data 18. Telling a Story with Your Data 19. Section 5: SQL Best Practices
20. Best Practices for Designing and Querying 21. SQL Appendix 22. Assessments 23. Other Books You May Enjoy

Summary

This chapter covered how to design and create a database. We discussed the guidelines regarding naming conventions, understanding SQL code errors, formatting SQL code for readability, and how to apply data types and integrity to your tables.

You learned about the types of table relationships, including one-to-one, one-to-many, and many-to-many relationships. You also learned about entity relationship diagrams, including how to create them and how to understand table relationships in them.

We also discussed indexing, and learned about what it is, how to use it, and what it means for database performance. We also went through the steps of creating a database and table using MySQL Workbench and SQL scripts.

In the next chapter, you will be introduced to importing and exporting data. There are many ways to import and export data in MySQL. You will learn how to import and...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}