Home > Database > Mysql Tutorial > body text

MYSQL删除表中的指定ID数据_MySQL

WBOY
Release: 2016-06-01 13:23:40
Original
1289 people have browsed it

bitsCN.com 删除A表中的ID 中的开头以B* 的数据库。

delete FROM A WHERE id like 'B%'

单独删除 A 表中的ID B

delete FROM A WHERE id = 'B'
bitsCN.com

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