Answer the question
In order to leave comments, you need to log in
How do you name columns in MySQL tables?
Often you need to name something there key, order and especially name.
But these are reserved names. And how to be?
Name with some kind of prefix or what? It just turns out ugly that type
Article
- id
- article_name
- description
- author
Answer the question
In order to leave comments, you need to log in
1. Reserved words can be used by enclosing them in back quotes, `key`
2. name is a keyword, not a reserved one. And keywords are permitted as identifiers without quoting
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question