当前位置:网站首页>Function test - Introduction to MySQL database

Function test - Introduction to MySQL database

2022-06-22 01:47:00 Xiaowu knock code

MySQL Is the most popular relational database management system , stay WEB Application aspect MySQL It's the best RDBMS(Relational Database Management System: Relational database management system ) One of the application software .

What is a database ?

database (Database) It's organized according to the data structure 、 Warehouse for storing and managing data .

Each database has one or more different API Used to create , visit , management , Search and copy saved data .

We can also store data in files , But reading and writing data in files is relatively slow .

therefore , Now we use a relational database management system (RDBMS) To store and manage large amounts of data . The so-called relational database , It's a database based on a relational model , With the help of set algebra and other mathematical concepts and methods to deal with the data in the database .

RDBMS Relational database management system (Relational Database Management System) Characteristics :

1. Data is presented in tabular form

2. Name of each record

3. Each column is the data field corresponding to the record name

4. Many rows and columns make up a form

5. Several forms make up database Insert picture description here

RDBMS The term

Before we start to learn MySQL Before database , Let's get to know RDBMS Some of the terms :

database : A database is a collection of related tables .

Data sheet : A table is a matrix of data . A table in a database looks like a simple spreadsheet .

Column : A column of ( data elements ) Contains the same type of data , For example, postal code data .

** That's ok :** a line (= Tuples , Or record ) It's a set of related data , For example, a data subscribed by a user .

** redundancy :** Store twice as much data , Redundancy reduces performance , But it improves the security of the data .

** Primary key :** The primary key is unique . A data table can only contain one primary key . You can use the primary key to query data .

** Foreign keys :** Foreign keys are used to associate two tables .

** Composite key :** Composite key ( Composite key ) Use multiple columns as an index key , Generally used for Composite Index .

** Indexes :** Use indexes to quickly access specific information in database tables . An index is a structure that sorts the values of a column or columns in a database table . A catalogue similar to a book .

Referential integrity : Referential integrity requires that nonexistent entities cannot be referenced in a relationship . And entity integrity is the integrity constraint that a relational model must satisfy , The purpose is to ensure data consistency .

MySQL Is a relational database (Relational Database Management System), This so-called " Relational type " It can be understood as " form " The concept of , A relational database consists of one or more tables , A table as shown in the figure : Insert picture description here
Header (header): The name of each column ;

Column (col): A collection of data of the same data type ;

That's ok (row): Each line is used to describe the specific information of a record ;

value (value): Details of the line , Each value must be of the same data type as the column ;

key (key): The value of the key is unique in the current column .

Finally, thank everyone who reads my article carefully , The following online link is also a very comprehensive one that I spent a few days sorting out , I hope it can also help you in need !

 Insert picture description here

These materials , For those who want to change careers 【 software test 】 For our friends, it should be the most comprehensive and complete war preparation warehouse , This warehouse also accompanied me through the most difficult journey , I hope it can help you ! Everything should be done as soon as possible , Especially in the technology industry , We must improve our technical skills . I hope that's helpful ……

If you don't want to grow up alone , Unable to find the information of the system , The problem is not helped , If you insist on giving up after a few days , You can click the small card below to join our group , We can discuss and exchange , There will be various software testing materials and technical exchanges .

Click the small card at the end of the document to receive it

Typing is not easy , If this article is helpful to you , Click a like, collect a hide and pay attention , Give the author an encouragement . It's also convenient for you to find it quickly next time .

Self study recommendation B Stop video :

Zero basis transition software testing :25 Days from zero basis to software testing post , I finished today , Employment tomorrow .【 Include features / Interface / automation /python automated testing / performance / Test Development 】

Advanced automation testing :2022B The first station is super detailed python Practical course of automated software testing , Prepare for the golden, silver and four job hopping season , After advanced learning, it soared 20K

原网站

版权声明
本文为[Xiaowu knock code]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220109544696.html