mysql注释怎么写,mysql注释3种方法。在MySQL中,注释也可以放在 SQL 查询中。注释可以是单行或多行。
1. 使用 #
# comment goes here
select * from # PHPTPOINT student_1;
2. 使用 --
语法
comment goes here
示例 2
select * from -- PHPTPOINT student_1;
3. 使用 /* 和 */
语法
/* comment goes here */
示例 3
select * from student_1 /* JAVATPOINT.com */;
本文地址:百科问答频道 https://www.neebe.cn/wenda/886509.html,易企推百科一个免费的知识分享平台,本站部分文章来网络分享,本着互联网分享的精神,如有涉及到您的权益,请联系我们删除,谢谢!