摘要:
1.添加类型 1)添加主键: 2)添加唯一约束 3)添加外键约束 4)添加默认约束 ALTER TABLE users2 ALTER age SET DEFAULT 15; 5)删除默认约束 ALTER TABLE users2 ALTER age DROP DEFAULT; 2.删除约束 1)删除 阅读全文
摘要:
1.文件内容显示指令:cat more less head tail 1)cat 查看文件内容,如: cat test cat -A test //显示test文件内容,包含特殊字符 cat test1 test2//同时显示test1和test2文件的内容 cat test1 test2 >fil 阅读全文