SQL add, delete, modify and check: can I play this trick?
š preface
What is SQL?
Official explanation: SQL (Structured Query Language) is used to manage relational database management system (RDBMS).
What can SQL be used for?
Generally speaking, it allows you to access and process the database, including data insertion, query, update and deletion.
SQL is almost a necessary skill for ...
Added by wiredweb on Mon, 03 Jan 2022 05:33:59 +0200
mysql linked list query
#Advanced 6: link query /* Meaning: it is also called multi table query. When the query fields come from multiple tables, the join query will be used Cartesian product phenomenon: Table 1 has m rows, table 2 has n rows, and the result is mn rows Cause: there is no valid continuous condition How to avoid: adding valid connection conditions Class ...
Added by fxpepper on Mon, 03 Jan 2022 03:40:40 +0200
Blink SQL time attribute
Time attribute
Flink supports three time concepts related to stream data processing: Processing Time, Event Time and Ingestion Time.
Blink SQL only supports two time types: Event Time and Processing Time:
Event Time: Event Time (usually the most original creation time of data). Event Time must be the data provided in the data store.Process ...
Added by ju8ular1 on Sun, 02 Jan 2022 02:04:20 +0200
12. Dynamic SQL for MyBatis
12. Dynamic SQL
What is dynamic SQL?
Dynamic SQL is to generate different SQL statements according to different conditions
Dynamic SQL is one of the powerful features of MyBatis. If you have used JDBC or other similar frameworks, you should be able to understand how painful it is to splice SQL statements according to different conditions. Fo ...
Added by netman182 on Sat, 01 Jan 2022 05:29:41 +0200
SQL statement execution order
SQL statement execution orderĀ
I think this article is very good. Why can't the sub table order by? The following description gives me a further understanding of SQL.
Reading catalog
preparation
SQL logical query statement execution order
#Execute FROM statement
#Perform ON filtering
#Add external row
#Perform WHERE filtering
#Execute GROUP ...
Added by Devsense on Fri, 31 Dec 2021 08:22:23 +0200
Secondary injection of SQL injection
catalogue
1. Principle
Secondary injection process
2. Experimental process
(1) View initial users table
(2) Registered user
(3) Modify user password
3. Cause
Ā Ā Specific code
4. Defensive measures
1. Principle
Secondary injection can be understood as the injection caused by the malicious data constructed by the attacker being st ...
Added by urgido on Thu, 30 Dec 2021 21:11:53 +0200
Stop writing loops! mybatis inserts data in batches and updates the collection list in batches. Isn't it fragrant?
Firstly, the mybatis framework encapsulates sql statements and executes them through tag and attribute parsing in the form of xml. We know that the sql statements inserted into the table are:
INSERT INTO table name (column 1, column 2,...) VALUES (value 1, value 2,...)
During the insertion process, the database will add transactions by d ...
Added by webtailor on Thu, 30 Dec 2021 14:31:58 +0200
Window function learning
The implementation here is based on MySQL 8.
catalogue
1. Meaning and understanding of window function
2. Syntax of window function
2.1 understanding of window name syntax
2.2 understanding of sorting statements in Windows
2.3 understanding of window subset
2.4 window function
1. Meaning and understanding of window function
Window fun ...
Added by jaydeee on Thu, 30 Dec 2021 12:40:55 +0200
University student status management system_ Course design of introduction to database system
The following contents are for reference only. If there are errors, please correct them.
Design requirements
Realize the management of student information, classes, departments and majors;
Realize the management of course and student achievement information;
Realize the information management of students' rewards and punishments;
Create ...
Added by conquest on Wed, 29 Dec 2021 03:02:19 +0200
Deadlock problem in rc and rr modes
Problem Description: a deadlock problem suddenly occurs during the peak period of online projects! When the user operation gets stuck, the deadlock is thrown directly in the background
Viewing the log, it is found that deadlock loserdataaccessexception (Deadlock found when trying to get lock; try restarting transaction...) occurs when updating ...
Added by anothersystem on Wed, 29 Dec 2021 01:47:21 +0200