MySQL Basics - data insert

Syntax format insert into Table name (field name 1, field name 2, field name 3,...) value(Value 1, value 2, value 3,...); Note: field names and values should correspond one by one, quantities and data types. Example The t_persistent table has been created in the creation of the table. The field types in the whole table are as follows: mysq ...

Posted by neroag on Sun, 10 Oct 2021 15:31:35 +0200

DVWA platform vulnerability testing and source code analysis SQL injection

DVWA platform is an effective way for beginners of network security to understand the ten vulnerabilities. This platform collects the ten most common vulnerabilities threatening network security, and provides a shooting range experimental environment for beginners. We can use this platform to carry out various attack experiments, so as to enric ...

Posted by cheatboy00 on Sat, 09 Oct 2021 05:59:32 +0200

MySQL MyCAT Distributed Architecture

Introduction to MyCAT Distributed Architecture MyCATMycat is a database middleware and a server that implements the MySQL protocol. Front-end users can view it as a database proxy, accessed using MySQL client tools and command lines, while back-end users can use it MySQL native (Native) protocol communicates with multiple MySQL servers, ...

Posted by manchuwok on Thu, 07 Oct 2021 19:02:40 +0200

Overview of LAMP architecture

catalogue 1, LAMP overview 1. Main functions of relevant components: 2. Precautions 2, Manually compile and install Apache services 1. Turn off firewall 2. Transfer the software packages required to install Apache to the / opt directory 3. Install environment dependent packages 4. Unzip the three compressed packages 5. Configuring soft ...

Posted by whit555 on Thu, 07 Oct 2021 06:36:58 +0200

Spark big data analysis practice - company sales data analysis

demand Suppose a company provides you with the following data. The modified data includes three. txt document data, namely date data, order header data and order details data. Let you conduct the following demand analysis according to the data provided by the company. 1. Calculate the annual sales orders and total sales in all orders. 2. ...

Posted by bodzan on Wed, 06 Oct 2021 21:39:02 +0200

Mysql link query, union query and external connection query

test data CREATE TABLE dept( /*Department table*/ deptno MEDIUMINT UNSIGNED NOT NULL DEFAULT 0, dname VARCHAR(20) NOT NULL DEFAULT "", loc VARCHAR(13) NOT NULL DEFAULT "" ); INSERT INTO dept VALUES(10, 'ACCOUNTING', 'NEW YORK'), (20, 'RESEARCH', 'DALLAS'), (30, 'SALES', 'CHICAGO'), (40, 'OPERATIONS', 'BOSTON'); #Create EMP employee ...

Posted by deadonarrival on Wed, 06 Oct 2021 14:21:25 +0200

[note] MySQL Basics

1. Get to know MySQL preface Data needs to be stored. Large companies will go to IOE for self research! Database is the core existence in the software system -- DBA database administrator Java EE: Enterprise Java Web Development Front end (page: display, data) Background (connection point: connect database JDBC, link the front end (cont ...

Posted by kannjihyun on Wed, 06 Oct 2021 03:44:20 +0200

MysqlExplain explains in detail when the query may use the index union index action rule id select_type table type possible_keys key key_len ref Extra

preface sql tuning is very common in actual development, especially when the server is under pressure, it is necessary to optimize the time-consuming and commonly used sql to improve the high availability of the server. The explain tool will be used during tuning. This chapter will use explain to see how powerful it is. 1, EXPLAIN Us ...

Posted by dreado on Mon, 04 Oct 2021 02:35:58 +0200

A simple student management system based on Django Web framework (Python)

Web development of student management system Python Author: bug Maker - Xiao Liu Background: After learning and mastering a certain basis of Python, I preliminarily learned and understood Django's web development framework and the basic usage of MySQL database. Through Django's learning, I completed the web development practice of si ...

Posted by rodneykm on Sun, 03 Oct 2021 20:55:49 +0200

MySQL Data Add Statement

MySQL Data Add Statement After the database and tables have been created successfully, you need to insert data into the tables in the database. In MySQL, you can use INSERT statements to insert one or more rows of tuple data into tables that already exist in the database. Basic Grammar The INSERT statement has two syntax forms, INSERT ...

Posted by discostudio on Sun, 03 Oct 2021 19:01:33 +0200