Alibaba cloud AI training camp - SQL basics 6: test questions

Download scripts for creating tables and inserting data Here, for your convenience, the data script has been prepared for you. Click the link below to download directly Create data table script: http://tianchi-media.oss-cn-beijing.aliyuncs.com/dragonball/SQL/create_table.sql Insert data script: http://tianchi-media.oss-cn-beijing.aliyuncs.com/ ...

Posted by apaxson on Sat, 19 Feb 2022 19:29:45 +0100

Data structure: algorithm and application of graph

tips • avoid falling into the swamp of 'definition' and 'concept', and try to understand it with intuition and natural cognition • intuitive understanding of algorithm ideas and processes > > details • it is recommended to use full time to learn and master at one time I Basic concept of graph (many to many logical str ...

Posted by DJTim666 on Sat, 19 Feb 2022 16:35:54 +0100

Windowed function learning & data quality assurance

1 windowing function The OVER clause is allowed only in the SELECT and ORDER BY processing phases Two sum()over() in a select cannot be dividedLogical order of sql execution: FROM,WHERE,GROUP BY,HAVING, SELECT ,OVER,DISTINCE, TOP,ORDER BYData scenario According to the above data, it is necessary to count how many customers wechat experts ...

Posted by maxic0 on Fri, 18 Feb 2022 17:31:25 +0100

Summary of database topics

Topic source The database development course recently arranged some sql topics, which ended up bald The title and mysql statement are as follows First question Write an sql statement to query the employees whose cumulative working hours exceed 1000, and the result returns the employee job number eno. select eno from works group b ...

Posted by stevenszabo on Fri, 18 Feb 2022 14:36:45 +0100

Day 54 - tree problem, SQL

It's a little smoother to brush the questions today than yesterday. I actually brushed three tree questions in one breath. Although I still have to refer to the problem solution from time to time, I can also think about how the backtracking is realized. It seems that it is useful to brush more questions. I hope to maintain high learning efficie ...

Posted by austrainer on Thu, 17 Feb 2022 17:46:15 +0100

Chapter 56 SQL function $EXTRACT

Chapter 56 SQL function $EXTRACT A string function that extracts characters from a string by position. outline $EXTRACT(string[,from[,to]]) parameter String - the target string from which to extract the substring.from - optional - the position of a single character in the target string, or the beginning of the range of characters to e ...

Posted by Jabop on Thu, 17 Feb 2022 00:53:08 +0100

How does Spring Boot monitor SQL operation?

Today, I want to talk about the monitoring function in Druid. Druid database connection pool is believed to have been used by many small partners. Personally, I feel that Druid is a relatively successful open source project of Alibaba. Unlike Fastjson, Druid has always been excellent in all aspects. It has complete functions and is easy to use ...

Posted by saint959 on Tue, 15 Feb 2022 05:03:24 +0100

Installation and use of SQLite

In the previous article, we gave an overview of database knowledge:< Database overview >, this paper introduces some basic and commonly used SQLite database knowledge. SQLite Foundation SQL basic syntax insert INSERT INTO Table name (Column name 1,...) VALUES (Column 1 value,...); modify UPDATE Table name SET Column name 1= Colum ...

Posted by celestineweb on Sat, 12 Feb 2022 07:32:38 +0100

Stored procedures and functions in MySQL (super detailed, with code analysis)

Stored procedures and functions MySQL supports stored procedures and functions from version 5.0. Stored procedures and functions can encapsulate complex SQL logic. Applications do not need to pay attention to the complex SQL logic inside stored procedures and functions, but simply call stored procedures and functions. 1. Overview of stored pr ...

Posted by MDanz on Sat, 12 Feb 2022 07:04:03 +0100

Multi table query

catalogue 1, Why do I need multi table query? 🐟 Which city does an employee named "Abel" work in? 2, How to implement multi table query 1. Error of Cartesian product (cross connection) ① Wrong implementation ② Cause of error The query method of the table requires multiple conditions ① Join condition of two tables ② If a fiel ...

Posted by qazwsx on Sat, 12 Feb 2022 06:57:13 +0100