Home  >  Article  >  Database  >  MySQL管理之SQL语句实例

MySQL管理之SQL语句实例

WBOY
WBOYOriginal
2016-06-07 16:48:211161browse

MySQL管理之SQL语句实例首先,我们来导入world库,这个world库中的表是mysqlocp考试专用表,在网上有下mysqlsource/root/world_innodb.sql表结构如下:本文来自h

 

delete 操作
删除添加的第一条记录,,也要考虑事务操作:

begin;
delete from wubx_1 where id=1;
select * from wubx_1 where id=1;
rollback |commit

 

以上,为MySQL的日常sql实例,感谢各位看官

 

本文出自 “心情依旧” 博客,转载请与作者联系!

Statement:
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