Home > Database > Mysql Tutorial > mysql advanced (16) summary of frequently asked questions

mysql advanced (16) summary of frequently asked questions

黄舟
Release: 2017-02-10 11:05:54
Original
1324 people have browsed it

mysqlAdvanced()Common Question Summary

MySQL View learning:

//m.sbmmt.com/

When performing a delete operation, the following appears Error message:


The reason for the above problem is that operations involving primary and foreign keys in the database should be set to cascade deletion when deleting them. As shown in the figure below:


When deleting data in the view, the following error message appears:



Solution: To delete the data in the view, you should actually delete the data in the base table. Only in this way can the data in the view be deleted.

Note: In fact, this is only done when directly completing the SQL command or manually adding object information. Only the default value of the field value will take effect. It should be possible to implement it in Java code, but you need to do some tricks when executing the SQL statement.


##MySQL

BLOBField type introduction:

//m.sbmmt.com/


## The meaning of each character in

#MySQL

:

##MySQL

Multiple condition query statements in a single data table

select * from table name where condition 1 and condition 2 and condition 3

The above is the summary of common questions in mysql advanced (sixteen), more related Please pay attention to the PHP Chinese website (m.sbmmt.com) for content!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template