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.
这个 SQL 查询有什么问题?我是新手
ALTER TABLE `users`; ADD COLUMN `balance` decimal(11,2) DEFAULT '0.00' ;
;在不使用表前的情况下尝试此操作users:-
;
users
ALTER TABLE `users` ADD COLUMN `balance` decimal(11,2) DEFAULT 0.00;
像这样尝试(删除第一个分号和默认值周围的引号):