Relational database standard language sql
4.3 data definition
4.3. 1 Definition and deletion of mode
What is a database schema? Database schema is a logical grouping object. Database schema is a collection of database objects, which contains various tables, views, stored procedures, indexes, etc. Imagine a schema as a container for objects. Database schema can be used as a namespace ...
Posted by caramba on Sat, 18 Dec 2021 09:01:06 +0100
jdk1.8 new feature - termination of Stream (example demonstration of reduction)
1, Understanding of Stream
Stream is a key abstract concept for processing collections in Java 8. It can specify the operations you want to perform on collections, and can perform very complex operations such as finding, filtering and mapping data.Use the Stream API to operate on collection data, similar to database queries executed using ...
Posted by pplexr on Sat, 18 Dec 2021 08:16:03 +0100
MySQL basic learning notes - Day01
1. Concept of database
DB: database: a "warehouse" for storing data. It holds a series of organized data;DBMS: Database Management System. Database is a container created and operated by DBMS;SQL: Structure Query Language: a language specially used to communicate with the database;Relationship diagram of the three:
2. Common ...
Posted by Hurklefish on Sat, 18 Dec 2021 04:19:36 +0100
Historical data collection of Lotto and lottery
The historical data of Lotto and lottery are public data, and there are no legal obstacles.
We select the data of the public website and save it as csv, excel and other format data files, which is convenient for secondary data sorting.
The whole process is mainly divided into obtaining the web page (finding the effective login of the web site ...
Posted by aznkidzx on Sat, 18 Dec 2021 03:41:16 +0100
Spring transaction and transaction abstraction, summary of basic Java knowledge
The basic steps for using a JDBC transaction are as follows:
@Test
public void testTX(){
String url = "jdbc:mysql://127.0.0.1:3306/test";
String username = "root";
String password = "1234";
String sourceUserId = "leo";
String desUserId = "xnn";
int money = 500;
Connection connection = null;
try {
//1. ...
Posted by Syranide on Sat, 18 Dec 2021 02:30:20 +0100
Learning and sorting out the basic knowledge of Oracle SQL statements
Due to the learning needs, I will start to learn the basic knowledge of database and the preparation and use of SQL statements from today. Therefore, I record my learning process here to urge myself, consolidate the knowledge I have learned, and hope to help more introductory students.
1. Establish database
create database db_name;//db_name i ...
Posted by whitemoss on Sat, 18 Dec 2021 01:12:28 +0100
Joint query of Mysql
Joint query of Mysql
union of joint query
union can merge tables queried by more than two select statements and eliminate duplicate rows in the table.
The select statement needs to have the same number of columns with the same data type.
1. Query the ID and province name of each province in China
select ProID,ProName from T_Province
2. I ...
Posted by moe on Sat, 18 Dec 2021 00:51:58 +0100
Android GreenDao gives a comprehensive explanation on the use of Android GreenDao, and provides internal information of large manufacturers
github address of GreenDaoGreen Dao's Google discussion areaGreenDao encrypted SQLCipher for Android official description addressDocuments used by GreenDao
The role of GreenDao?
Through GreenDao, we can operate the database more quickly. We can use a simple face object API to store, update, delete and query Java objects.
Advantages and disad ...
Posted by Rumour on Fri, 17 Dec 2021 23:56:08 +0100
Basic usage of mysql
mysql application: 1.client: client program, which connects to the server 2.SQLyog is easy to use and can be executed directly from multiple command lines. 3. Send e-mail: the default port is net25. The default port of the database is 3306. This port is unified according to the port of the server 4.server side: on linux. show databases; Displa ...
Posted by Mchl on Fri, 17 Dec 2021 23:27:40 +0100
Python + SeaTable | use Python to capture the city information of the Winter Olympic Games from Wikipedia and make a map
It's not difficult to grab public data from Wikipedia, Baidu Encyclopedia and other websites in Python and store them in tables. However, in many application scenarios, we are no longer limited to storing the captured data in tables, but also need to be more intuitive to visualize. For example, in this case, Python is used to capture the cities ...
Posted by ricky spires on Fri, 17 Dec 2021 21:42:10 +0100