博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
10-创建练习sql语句的两个表
阅读量:4662 次
发布时间:2019-06-09

本文共 769 字,大约阅读时间需要 2 分钟。

创建两表

create table dept( deptno int,dname string,loc string) row format delimited fields terminated by " "; create table emp(empno int,ename string,job string,mgr int,hiredate date,sal int,comm int,deptno int) row format delimited fields terminated by " ";7369 刘一 职员 7902 1980-12-17 800 null 207499 陈二 推销员 7698 1981-02-20 1600 300 307521 张三 推销员 7698 1981-02-22 1250 500 307566 李四 经理 7839 1981-04-02 2975 null 207654 王五 推销员 7698 1981-09-28 1250 1400 307698 赵六 经理 7839 1981-05-01 2850 null 307782 孙七 经理 7839 1981-06-09 2450 null 107788 周八 分析师 7566 1987-06-13 3000 null 207839 吴九 总裁 null 1981-11-17 5000 null 107844 郑十 推销员 7698 1981-09-08 1500 0 307876 郭十一 职员 7788 1987-06-13 1100 null 2010 财务部 北京20 研发部 上海30 销售部 广州40 行政部 深圳

 

 

转载于:https://www.cnblogs.com/JBLi/p/10830346.html

你可能感兴趣的文章
[Java拾遗二]Tomact及Http 部分总结.
查看>>
[Spring框架]Spring JDBCTmplate基础入门总结.
查看>>
ecshop修改产品详情 折扣倒计时时间
查看>>
Core Java Volume I — 4.10. Class Design Hints
查看>>
hdu 1785 You Are All Excellent
查看>>
IE中,多次弹出Pop页面,光标无法落入Pop页面中的Input,导致无法输入
查看>>
JAVA设计模式总结之23种设计模式
查看>>
Java并发编程原理与实战十六:AQS
查看>>
如何用营销系统快速提升公司销售业绩
查看>>
python中的下划线规则测试
查看>>
根据淘宝ip数据库查询ip归属地信息
查看>>
a 标签中调用js的几种方法
查看>>
第一个微信小项目
查看>>
php进程管理
查看>>
日期时间选择器
查看>>
MyBatis学习总结2
查看>>
通用精准化推荐平台
查看>>
crontab详解
查看>>
IO多路复用
查看>>
appium windows环境环境
查看>>