数据库
IU小迷弟
少说多做
展开
-
Sql对表字段做base64加解密
Sql做base64——加密原创 2022-09-27 10:06:51 · 1841 阅读 · 0 评论 -
jdbc连接hive,vertica进行数据同步
1.jdbc连接Hive public class testJdbConnect { private static String dirvername = "org.apache.hive.jdbc.HiveDriver"; private static String Url = "jdbc:hive2://10.0.11.90:10000/dde"; private static Connection connection; public static Connectio原创 2021-05-29 13:37:56 · 565 阅读 · 2 评论 -
多表关联查询语法分为 内、外连接
外连接分为左连接: left join 或left outer join 右连接: right join 或者 right outer join 完整外部连接 full join 或者 full outer join 左连接: select * from table1 left join table2 on table1.条件列名 = table2.条件列名 右连接: select *from table1 right join table2 on table1. 条件列= table2.条件列原创 2021-04-28 11:01:42 · 178 阅读 · 0 评论