The Encyclopedia of soft testing summarized by Ali -- SQL statements that must be known in daily testing work

Introduction to SQL SQL(Structured Query Language) is a set of relational database management system (RDBMS) for management, which is based on ANSI (American National Standards) Institute (American National Organization for Standardization) standard computer language, the more important version is SQL92In addition to supporting standar ...

Added by five on Wed, 22 Dec 2021 20:44:09 +0200

One trick of SQL day: how to use HQL to extract string elements from fixed positions [explain Hive string position lookup function]

catalogue 0 problem description 1 problem solving 2 Summary 0 problem description SQL extracts string elements from a fixed location. You have a string that contains a continuous piece of log data. You want to parse the string and extract some information from it. However, the information you need does not exist in the fixed position of t ...

Added by colbyg on Wed, 22 Dec 2021 20:23:21 +0200

SQL Server GROUP BY grouping query and INNER JOIN... ON connection query

SQL Server group query and connection query Group query using GROUP BY Multi column grouping query Group filtering using HAVING clause Classification of multi table join queries External connection query 1, Group query using GROUP BY The above type of query is called group query in SQL Server. Group query is implemented by GROUP BY cl ...

Added by kutyadog on Wed, 22 Dec 2021 02:37:42 +0200

CmsWing source code analysis (11) search function

2021SC@SDUSC Today's analysis is the search function File at Web page initialization Use a template library search_ sort ASC in model renders this web page Set the title of the web page as "full site search" Then check the configuration of full-text search first Search the mysql database for variables and assign values ...

Added by able on Tue, 21 Dec 2021 11:14:08 +0200

SQL functions in Oracle (full)

I Single-Row Functions Note: dual is a virtual table and cannot save any data. There is only one field and one row of records 1. Semantics The single line function returns a result for each record 2. Character function 1.lower(): convert to lowercase, upper(): convert to uppercase, initcap initial capital select lower(ename) from emp; 2 ...

Added by robot_nader on Mon, 20 Dec 2021 18:50:43 +0200

SQL training camp SQL table addition and subtraction and connection learning notes

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; Summary of learning points: 1. Addition and subtraction of tables union, except 2. Connect the join Learning content: 1. Table addition union: SELECT product_id, product_nam ...

Added by breadcom on Mon, 20 Dec 2021 12:41:18 +0200

Common database operations

Learning notes on common database operations 1, How to create a new table Here is a table for creating user2: CREATE TABLE if NOT EXISTS user2( username VARCHAR(50) not NULL, password VARCHAR(50) NOT NULL, realname VARCHAR(50), phone VARCHAR(50), userid int AUTO_INCREMENT, PRIMARY key(userid) )ENGINE=InnoDB DEFAULT CHARSET=utf8; Ins ...

Added by msarefin on Mon, 20 Dec 2021 07:01:38 +0200

Header MySQL data definition and operation practice

1. Single table query 4.1 basic query statement Query the contents of the field Name and Salary; Query the contents of the whole table. USE Company; #Please add the implementation code here ########## Begin ########## ########## retrieving the Name and Salary ########## select Name,Salary FROM tb_emp; ########## retrieving all the tab ...

Added by TJMAudio on Mon, 20 Dec 2021 04:20:27 +0200

[JDBC technology] finally know how the Java bottom layer connects to the database! -- database connection pool

Analysis of JDBC core technology Database connection pool 1. Necessity of JDBC database connection pool When developing web programs based on database, the traditional mode basically follows the following steps: Establish database connection in the main program (such as servlet and beans)Perform sql operationsDisconnect database Pro ...

Added by SleepyP on Sun, 19 Dec 2021 18:46:55 +0200

SQL - Structured Query Language

1. Introduction to SQL SQL is a structured query language. It is a set of operation commands specially established for database. It is a database language. The interactive operation of the database is inseparable from SQL, which provides great convenience for us to manage the database. 1.1 database use case construction Note: all of ...

Added by wmac on Sun, 19 Dec 2021 05:43:26 +0200