1. MySQL Database Overview MySQL Database Overview Instructor: Rick Palmer, SCWCD [email_address]
2.
3.
4.
5.
6.
7.
8.
9.
Hinweis der Redaktion
CRUD stands for Create, Read (Select), Update, and Delete. These are the four main operations performed against a database. SQL (Structured Query Language) is a standard dialect for communicating with a database using terms like “INSERT” for creating data, “SELECT” for querying data, “UPDATE” for updating data, and “DELETE” for deleting data.
Examples of an entity include real world object like a Vehicle, Employee, Order, or events like a Service Outage or a System Error. It’s the “thing” or set of things that a database represents, and the real-world objects around which businesses are based. Examples of Vehicle fields include properties of the Vehicle entity, such as the Vehicle year, make, model, and mileage. A record represents all the fields that describe the entity. If our database contains 3000 Vehicles, then it will have 300 rows of vehicles, each with their own distinct values in each field. A table is used to keep records for one entity separate from other entities, so that Vehicle records are stored separately from Employee records. In some ways, you can think of a table as a spreadsheet containing multiple rows and columns all related to the same entity. MySQL server contains multiple databases, which is common for database servers. Each database usually contains tables that are specific to an application or business group.
Once you have installed MySQL and have started the command line client using the instructions provided in the Lesson 6 instructions, you will see a mysql> prompt. Enter the above commands at the prompt and begin to explore the databases that come installed with MySQL.