Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

是否应该避免用关键字做字段 #558

Open
127023189 opened this issue Nov 16, 2024 · 1 comment
Open

是否应该避免用关键字做字段 #558

127023189 opened this issue Nov 16, 2024 · 1 comment

Comments

@127023189
Copy link

Snipaste_2024-11-16_11-58-34

desc为mysql排序用的关键字
@fzr365
Copy link

fzr365 commented Nov 29, 2024

如果要将 DESC 作为字段名,可以用反引号将其括起来,像这样创建表和使用字段;其次,DESC作为字段(让人想到排序),可读性没那么好;我也觉得可以改

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants