Chapter III to be sorted out

1 View The difference between a view and a table: "Is the actual data saved?""Views are not tables. Views are virtual tables. Views depend on tables." 1.1 Create View CREATE VIEW <View Name>(<Column Name 1>,<Column Name 2>,...) AS <SELECT Sentence> -- Create views based on multiple tables wit ...

Posted by optikalefx on Mon, 20 Sep 2021 17:36:37 +0200

MySQL table creation, addition, deletion, modification and query

Build table 1. Table building syntax Table creation belongs to DDL statements, including create, drop and alter create table Table name (field name 1 data type, field name 2 data type, field name 3 data type,) 2. Data type varchar: variable length string, which is slow and saves space char: fixed length string. Regardless of the actual d ...

Posted by ravi_aptech on Sun, 19 Sep 2021 20:32:53 +0200

Practical application of canal

Practical application of canal Understand the principle of canal Canal is a middleware based on database incremental log parsing developed in java, which provides incremental data subscription and consumption. At present, canal mainly supports MySQL binlog parsing. After parsing, canal client is used to process the obtained relevant data. (da ...

Posted by Vivid Lust on Sat, 18 Sep 2021 17:10:59 +0200

MySQL configuration F5 load balancing for database Series

The previous article introduced the configuration of F5 virtual machine environment. Refer to“ F5 load balancing configuration of database Series ”, here we continue to introduce MySQL configuration F5 load balancing. 2. F5 configure load balancing The F5 virtual machine is configured with three network cards. The information is a ...

Posted by hostfreak on Sat, 18 Sep 2021 09:26:25 +0200

Installing Mysql on Linux

Reference article: Installing mysql on linux_ Stupid food first fly blog - CSDN blog_ Installing mysql on linux Modify password reference article: What if mysql forgets the password under linux - big no - blog Garden To install Mysql: centos7 MySQL installation (full version)_ Programmer's advanced road - CSDN blog_ Installing MySQL in CentOS ...

Posted by dsp77 on Sat, 18 Sep 2021 07:59:00 +0200

Basic use of MySQL (addition, deletion, modification and query)

catalogue 1, Advantages 2, Create databases and tables 3, Basic usage syntax (addition, deletion, modification and query)   1. Increase 2. Delete 3. Change 4. Check 1, Advantages Simple: compared with other large databases, MySQL is a relatively simple database system, which is easier to use than XiaobaiEconomy: compared with s ...

Posted by izlik on Sat, 18 Sep 2021 05:57:06 +0200

Spring -- JDBC and transaction 2021-09-16

JDBC 1. Functions of JDBC module: Responsible for database resource management and error management, which simplifies the operation of developers on the database. 2,JdbcTemplate: The Spring framework provides this class, which is the basis of the data abstraction layer of the Spring framework and the core class of Spring JDBC. 3. The JDBC ...

Posted by fredouille on Fri, 17 Sep 2021 05:25:54 +0200

MySQL Multiple Table Query Exercise

One: Preparing data #Create tables and insert records CREATE TABLE class ( cid int(11) NOT NULL AUTO_INCREMENT, caption varchar(32) NOT NULL, PRIMARY KEY (cid) ) ENGINE=InnoDB CHARSET=utf8; INSERT INTO class VALUES (1, 'Class Two, Three Years'), (2, 'Three-year shift'), (3, 'Class Two a Year'), (4, 'Nine Classes in Two Years'); CREA ...

Posted by bhinkel on Thu, 16 Sep 2021 20:54:59 +0200

Docker Container Data Volume Details

1.Data Volume Introduction Docker packages and runs environments to form container runs. Data generated by Docker containers will naturally be lost when the containers are deleted unless a new image is generated through docker commit. In order to save data in Docker we use volumes. | Volumes are directories or files that exist in one or more ...

Posted by Moonspell on Sun, 12 Sep 2021 19:05:21 +0200

SQL statement basic exercise (table creation, basic query) - Provide table building statements and query topics and answers

Explain The difficulty of the basic exercises is fairly simple, but there are still some details to master. The main purpose of this topic is to familiarize yourself with the basic queries of SQL statements, so you can understand the statements about table building, because in general development, tables are built graphically, while SQL sta ...

Posted by jjfletch on Tue, 07 Sep 2021 23:40:42 +0200