Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
今天前辈问我一个mysql_query来获取受影响的行数,我说很容易“mysql_affected_rows”,但突然他问是用什么做的,用DDL还是用DML?我从未听说过查询是 DDL 或 DML。
它们是D数据D定义L语言和D数据M操作L语言。谷歌是你的朋友。DDL 的示例是CREATE TABLE.
D
L
M
CREATE TABLE