03 2022 档案

摘要:show user 查看当前用户select * from tab; 查看当前数据库中的表desc 表名 ; 查看表结构 between and 包含开头结尾 函数: months_between(a,b) 两时间间隔月数 a大时间 b小时间add_months(a,b) 添加月数,a时间 b月数数 阅读全文
posted @ 2022-03-31 23:07 我没有出家 阅读(36) 评论(0) 推荐(0) 编辑
摘要:// import java.math.RoundingMode;// import java.text.NumberFormat; double d= 1.345233; //四舍五入 保留两位小数 System.out.println(String.format("%.2f",d)); //不四 阅读全文
posted @ 2022-03-30 22:00 我没有出家 阅读(82) 评论(0) 推荐(0) 编辑
摘要:可视化界面和命令行切换快捷键:ctry+alt+F2 命令关机:shutdown -h now 立刻关机(root用户使用) 阅读全文
posted @ 2022-03-22 20:31 我没有出家 阅读(25) 评论(0) 推荐(0) 编辑
摘要:select table_name, table_comment, create_time, update_time from information_schema.tables-- where table_schema = (select database()) -- 当前数据库 select c 阅读全文
posted @ 2022-03-19 11:25 我没有出家 阅读(225) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示