Join Bill Weinman for an in-depth discussion in this video Using the exercise files, part of MySQL Essential Training.
- View Offline
The exercise files for this course are included with your basic lynda.com membership. If you are a lynda.com member you have access to the exercise files used for this title. Copy the exercise files to a location where you can find them on your system. I've copied them to the desktop on this system. Wherever you put it, just make sure that you can find it. The SID and CRUD folders contain PHP applications that are used for demonstrating the exercises. When you follow the installation movie for your platform, you'll be given directions for installing them on your system.
The SQL folder contains the SQL source for each of the databases. The scratch database has a small set of sales data in three tables for customer item and sale data. The album database has albums and tracks for a few nice recordings from my collection. The world database is a large public domain database from the 1990s, with information about countries and capitals from that era. It's old data, but it's very useful for experimenting with SQL. Each of the chapters contain just one file with the SQL that's used in that chapter.
You may type your SQL directly into SID, or for some of the larger statements you may want to copy and paste from this file instead. The exercise files are here to make your learning experience easier and more powerful. Take your time. Experiment a lot. And happy learning.
- Writing queries
- Creating and updating databases and tables
- Using MySQL built-in functions
- Sorting and filtering data
- Updating tables with triggers
- Working with subselects and views
- Creating and using a stored function