Database principle and application update, view and index
insert data
Single tuple insertion
insert into Student(Sno,Sname) Values ('95020','Chen Dong')
Insert subquery results
Insert into Deptage(Sdept,Avgage)
select Sdept,AVG(Sage)
from Student
Group by Sdept
Modify data
update...set...where
update Sutdent set Sage ...
Posted by novice4eva on Fri, 26 Nov 2021 09:22:56 -0800
Java | are you still traversing the search collection? Don't be funny. Java 8 one line code solution is really elegant
background
Yes, if you want to search the List collection, you can use your own contains/ indexOf method to find elements before Java 8, but only complete elements, not fuzzy search or user-defined search. At this time, you can only traverse.
But now it's 2021. Are you still searching for List collection elements in the traditional way of ...
Posted by itsgood on Thu, 25 Nov 2021 20:57:55 -0800
Java | after reading the code written by my sophomore, I began to imitate silently...
background
The thing is, at present, I am participating in the construction of XXXX project and need to interface with a third party. There are several asynchronous notifications in the other party's interface. In order to ensure the security of the interface, it is necessary to verify the parameters of the interface.
In order to facilitate t ...
Posted by kat_jumper_33 on Thu, 25 Nov 2021 17:38:12 -0800
Java | teach you to implement a lottery system (Java version)
Source: blog.csdn.net/wang258533488/article/details/78901303
1 Overview
In project development, there are often the needs of marketing activities such as lucky draw, such as integral turntable, scratch music, slot machine and so on. In fact, the implementation method of the background is the same. This paper introduces a common implementation ...
Posted by Rizla on Wed, 24 Nov 2021 20:38:29 -0800
Nested dolls, MySQL subqueries, single line and multi line subqueries, related and unrelated (related) subqueries, complete and detailed, collectable
Subquery refers to a query in which one query statement is nested inside another query statement. This feature has been introduced since MySQL 4.1. The use of SQL sub query greatly enhances the ability of SELECT query, because many times the query needs to obtain data from the result set, or calculate a data result from the same table, an ...
Posted by johnnyboy16 on Wed, 24 Nov 2021 14:23:36 -0800
SQL training camp -- Task03: complex query methods - views, subqueries, functions, etc
This note is the learning content of Alibaba cloud Tianchi Longzhu plan SQL training camp. The link is: https://tianchi.aliyun.com/specials/promotion/aicampsql
preface
This note is the learning content of Alibaba cloud Tianchi Longzhu plan SQL training camp. The link is: https://tianchi.aliyun.com/specials/promotion/aicampsql
1. Part ...
Posted by jayd1985 on Wed, 24 Nov 2021 13:50:40 -0800
In depth understanding of MapReduce principle
1. Overview and principle of MapReduce
MapReduce is a distributed computing model
MapReduce runs distributed and consists of two stages: Map and reduce. The Map stage is an independent program, with many nodes running at the same time, and each node processes part of the data. The reduce phase is an independent program, with many nodes ...
Posted by mausie on Wed, 24 Nov 2021 06:28:35 -0800
Tool | one SQL to realize PostgreSQL data retrieval
Author: Zhang Lianzhuang, PostgreSQL R & D EngineerHe has been engaged in the development of PostgreSQL database kernel for many years and has a very in-depth research on citus.Recovering lost data quickly is an important functional requirement of the database. It is generally recommended to use the tools recommended by the official. For op ...
Posted by broann on Tue, 23 Nov 2021 23:08:08 -0800
No, it came again for the last time -- integrating Mybatis and transaction management ("easiest to understand Spring learning")
🏇
wood
wood
have
word
say
:
\textcolor{Orange} {Mu has something to say:}
...
Posted by utexas_pjm on Tue, 23 Nov 2021 21:45:19 -0800
Training camp learning notes (sql)
Task01: getting to know database and SQL
catalogue 1, First knowledge database 1.1 types of DBMS 1.2 common system structure of RDBMS 1.3 database installation 1.3.1 introduction to Alibaba cloud MySQL server 1.3.2 introduction to building local MySQL environment 2, First knowledge of SQL 2.1 concept introduction 2.2 basic writing rules of SQL ...
Posted by GooberDLX on Tue, 23 Nov 2021 17:53:56 -0800