First, you need to determine which fields or field combinations can uniquely identify your row of data. DELETE FROM table name WHERE field1 = '' and field2 = '' and ...field1, ... are the field combinations that can uniquely identify a row of data. Fill in the field you want to The specific value of the deleted field can be If there is a primary key, you can directly use the primary key to identify a row.
Among them: ms_cf01 is the table to which the data you want to delete belongs. brxm, id is the condition for deleting data. The above statement achieves the following effect: delete the row data in table ms_cf01 where brxm is equal to Zhang San and id is equal to 7598. This completes the operation of deleting a row of data. You may also be interested in:
|
<<: Detailed explanation of the loading rules of the require method in node.js
>>: How to set up swap partition SWAP in Linux 7.7
Table of contents What is JSON Why this technolog...
First find out where the configuration file is wh...
Install FFmpeg flac eric@ray:~$ sudo apt install ...
Batch replace part of the data of a field in MYSQ...
1. After connecting and logging in to MySQL, firs...
1. Introduction WHMCS provides an all-in-one solu...
This article shares the specific code of Vue to a...
1. DOCTYPE is indispensable. The browser determin...
When threads execute concurrently, we need to ens...
A few days ago, I found that the official version...
How to implement the "Set as homepage" ...
To export MySQL query results to csv , you usuall...
1. Preparation Middleware: Tomcat, Redis, Nginx J...
PSD to div css web page cutting example Step 1: F...