[leetcode SQL daily practice] - 181 Employees who exceed the manager's income
๐ Write in front
ย ๐โโ๏ธ Hello everyone, I'm super dream. We all know that we have to deal with the database almost every day, whether in study or daily work. In order to better operate the database, our SQL knowledge reserve is essential. If you want to master SQL well, you must practice and study every day. Next, Xiaomeng will le ...
Posted by truck7758 on Fri, 21 Jan 2022 22:40:04 +0100
Alicloud (CentOS7.4) installs MySQL and connects MySQL locally and remotely
Alicloud (CentOS7.4) installs MySQL and connects MySQL locally and remotely
Install MySQL using yum
Step 1: check whether mysql exists on this machine
rpm -qa | grep mysql
yum info mysql-community-server
Step 2: copy the download address of Yum community mysql on the official mysql website
https://dev.mysql.com/downloads/
https://dev ...
Posted by turing_machine on Fri, 21 Jan 2022 20:33:03 +0100
Sql common errors_ two
1. Exits statement
When MySQL treats the EXISTS clause, it still adopts the execution method of nested subquery. As shown in the following SQL statement:
SELECT *
FROM my_neighbor n
LEFT JOIN my_neighbor_apply sra
ON n.id = sra.neighbor_id
AND sra.user_id = 'xxx'
WHERE n.topic_status < 4
...
Posted by rehfeld on Fri, 21 Jan 2022 15:48:26 +0100
Configuring SSL encryption for mysql database on Linux
1, SSL introduction
SSL (Secure Socket Layer) uses data encryption, authentication and message integrity verification mechanisms to provide security assurance for application layer protocols based on reliable connections such as TCP.
The functions provided by SSL protocol mainly include:
1. Confidentiality of data transmission: use symmetric ...
Posted by cornercuttinjoe on Fri, 21 Jan 2022 13:07:09 +0100
Oracle learning: common statements
1, select statement
Overall form of Select statement:
select col1, col2... // Column name to find
from table_name // Which table do you want to search
where condition // Set search criteria
group by col... // Set grouping
having condtion // Set grouping conditions
order by col... // Set sort
The following examples illustrate the specific u ...
Posted by tabs on Fri, 21 Jan 2022 10:31:19 +0100
Doris Rollup materialized view and its application practice
See the official website for details: Roll up and query && Materialized view
Rollup and query
In Doris, Rollup, as a polymer view, can play two roles in query:
IndexesAggregate data (only for aggregate model, i.e. aggregate key)
However, in order to hit the Rollup, certain conditions must be met, and whether the Rollup can be hit ca ...
Posted by patsman77 on Fri, 21 Jan 2022 09:20:14 +0100
[entry 14] installing Huawei openGauss database on Windows -- compilation of openEuler virtual machine based on x86 architecture and JDBC connection of openGauss
1. Hype-V virtual machine installation openEuler
There are many virtual machine platforms, such as vmware, Hype-V, VirtualBox, etc. Considering the compatibility with wsl2, Hype-V is selected here to install the x86 architecture openEuler
Turn on the hype-v virtual machine Download the x86 architecture openEuler image Open the openEuler of ...
Posted by Nicoza on Fri, 21 Jan 2022 08:26:32 +0100
[notes of Sofice company] 4 JDBC, including connection database, CRUD, transaction, connection pool, etc
JDBC
The JDBC interfaces provided with the Java standard library actually define a group of interfaces, and a specific jdbc driver is actually a class that implements these interfaces
In Java code, if you want to access MySQL, you must write code to operate the JDBC interface. Note that the JDBC interface comes with the Java standard library, ...
Posted by kailien on Fri, 21 Jan 2022 05:21:22 +0100
Java curriculum design student information management system
1, Project introduction
Title Requirements:
Functional requirements:
1. Add student functions: name, student number, gender, date of birth. (Note: the student number is automatically generated and must be unique)
2. Add student achievement function: suppose everyone has chosen Chinese, mathematics and English. However, when inputting grades ...
Posted by leebo on Fri, 21 Jan 2022 01:19:28 +0100
Based on SQL (based on MySQL)
1 SQL overview
1.1 what is SQL
SQL (Structured Query Language) is a "structured query language", which is an operation language for relational databases. It can be applied to all relational databases, such as MySQL, Oracle, SQL Server, etc.
SQL standards (ANSI/ISO) include: 1. SQL-92: SQL language standard issued in 1992; 2. SQ ...
Posted by jtapoling on Fri, 21 Jan 2022 01:15:27 +0100