摘要:
修改删除表 修改 -- 修改表名:ALTER TABLE 旧表名 RENAME AS 新表名 ALTER TABLE teacher RENAME AS teacher1 -- 增加表的字段: ALTER TABLE 表名 ADD 字段名 列属性 ALTER TABLE teacher1 ADD a 阅读全文
摘要:
mysql -uroot -proot --连接数据库 update mysql.user set authentication_string=password('123456') where user='root' and Host = 'localhost'; --修改用户密码 flush pr 阅读全文
摘要:
public class Demo01 { public static void main(String[] args) { // 二元运算符 //ctrl + d :复制当前行到下一行 int a = 10; int b = 20; int c = 25; int d = 25; System.o 阅读全文
摘要:
public class Demo05 { public static void main(String[] args) { int i = 128; double b = i;//内存溢出 //强制转换 (类型)变量名 高--低 //自动转换 低--高 System.out.println(i); 阅读全文
摘要:
public class Demo03 { public static void main(String[] args) { //整数拓展: 进制 二进制0b 十进制 八进制0 十六进制0x int i = 10; int i2 = 010;//八进制0 int i3 = 0x10;//十六进制0x 阅读全文