摘要:
-- 2.1 查询所有列 SELECT * FROM student; 6.2 查询指定列 -- 2.2 查询指定列 SELECT id,NAME,gender FROM student; 6.3 查询时添加常量列 -- 2.4 查询时添加常量列 -- 需求: 在查询student表时添加一个班级列 阅读全文
摘要:
String型转基本类型: 1.转换成Int型 int/Integer num = Integer.parseInt(String str); 2.转换成long型 long/Long num = Long.parseLong(String str); 3.转换成short型 short/Short 阅读全文