MySQL naming conventions, should field name include the table name?
问题 A friend told me that I should include the table name in the field name of the same table, and I'm wondering why? And should it be like this? Example: (Table) Users (Fields) user_id, username, password, last_login_time I see that the prefix 'user_' is meaningless since I know it's already for a user. But I'd like to hear from you too. note: I'm programming in php, mysql. 回答1: I agree with you. The only place I am tempted to put the table name or a shortened form of it is on primary and