SQL programming task02 job - basic query and sorting
1 operator
1.1 arithmetic operators
meaningoperatoraddition+subtraction-multiplication*division/
1.2 comparison operators
operatormeaning=Equal to<>And ~ are not equal>=Greater than or equal to>greater than<=Less than or equal to<less than
2 exercise part 1 - query
2.1 writing the product table
The SQL code is as foll ...
Posted by jzimmerlin on Mon, 20 Sep 2021 03:45:43 +0200
Online Exercise for True Question of Interview in Shilala sql Internet Factory
1. sql Title Brushing
There are two main purposes to do this topic, preparing for the interview and understanding the business logic and thinking style of the data analyst in practice. Most of the data analysts are biased toward the business side, with the indicators increasing or decreasing, how to analyze, from which angles to analyze, c ...
Posted by kabucek on Mon, 20 Sep 2021 00:09:34 +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
Single line function of oracle
Single line function
Single line function: Operation data object Accept parameters and return a result Transform only one row One result per row Data types can be converted Can be nested The parameter can be a column or a value function_name [(arg1, arg2,...)]
Single-Row Functions Character function
LOWER('SQL Course')--sql course
UPPER ...
Posted by DK_Sun on Sun, 19 Sep 2021 10:46: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
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
SSM mybatis usage process
SSM mybatis usage process
Official teaching
Mybatis usage process
1. Import the coordinates of jar or mvan
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.11</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId> ...
Posted by RedMaster on Fri, 17 Sep 2021 12:20:37 +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
Database foundation ②
❣💞❣ Database foundation ②
1, 92 syntax join table query
1. Cross connect: corss join
-- Cross connect
select * from emp cross join dept;
2. natural join
Note: if there are multiple fields with the same name, they will be connected equally
-- Inner connection
select * from emp natural join dept;
3. Using connection: Join using ( ...
Posted by sheraz on Fri, 17 Sep 2021 01:28:24 +0200