03 2021 档案

摘要:select * from emp natural join dept order by DEPTNO DESC ; --自然查询 natural join 可以自己识别出两表中 相同的字段进行关联。select * from emp e,dept d where e.deptno=d.deptno 阅读全文
posted @ 2021-03-17 12:16 就让文谦先行 阅读(41) 评论(0) 推荐(0) 编辑
摘要:select sysdate from dual;select round(sysdate - hiredate) from emp; select * from emp; select round(1.8) from dual; --round 四舍五入select trunc(1.8) from 阅读全文
posted @ 2021-03-09 03:20 就让文谦先行 阅读(96) 评论(0) 推荐(0) 编辑

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