In MySQL, create a view on two or more base tables Create the stu_class view on the student table and stu_info table to query the s_id number, name, and class First, create the stu_info table and insert data into it View the data in the table Create the stu_class view View View It can be seen that the created view contains id, name and class fields Among them, the id field corresponds to the s_id field in the student table, the name field corresponds to the name field in the student table, and the class field corresponds to the class field in the stu_info table. You may also be interested in:
|
<<: Detailed explanation of the installation and use of Linux scheduled tasks crontabs
>>: How to import, register and use components in batches in Vue
1. Spread Operator The spread operator is three d...
Table of contents What is async? Why do we need a...
There are caches everywhere inside MySQL. When I ...
1. Download the Linux version from the official w...
Table of contents Skeleton screen use Vue archite...
I have been using MySQL recently. The article mys...
The scope of css is global. As the project gets b...
query_cache_limit query_cache_limit specifies the...
Basic Introduction Features Flexbox is a CSS disp...
The benefits of using MySQL master-slave replicat...
First of all, you can understand the difference b...
1. Create a new object using the Object.create() ...
Preface In the database, some data tables and dat...
Preface In the process of continuous code deliver...
Preparation First, you need to download nodejs, w...