Chapter 5. CRUD Operations Controlling Your Data

Image
Figure 5-1.  

Ready to have complete control over your data? The commands you’re about to learn will round out your knowledge, revealing you for the SQL powerhouse you truly are. You can already create any database you’d like, even one for nearby restaurants so you don’t have to keep those 39 takeout menus in your kitchen’s junk drawer anymore. You can add data about your favorite dives and diners and look up late-night joints that are open 24/7.

But what happens if your local hangout changes its hours of operation? Or–horror–what if it closes all together and you need to remove it from your data? Not only do databases need to be created, they also need to be maintained by updating or deleting information when necessary. In this chapter, you’ll learn how to take full control of your ...

Get Head First SQL, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.