需求描述:
今天一同事想要在測試庫上進行SQL練習,幫忙安裝下這個示例數據庫,在此記錄下.
操作過程:
1.上傳hr_main.sql腳本(10g 11g都可用)
腳本下載鏈接:
https://pan.baidu.com/s/1MvIVikeu-Eg1bbNX1BIhtg
2.以sys用戶執行腳本創建
sqlplus / as sysdba @hr_main.sql
3.修改hr用戶密碼
alter user hr identified by "hr";
4.連接hr
connect hr/hr
5.檢查hr用戶下的表
select table_name from user_tables;
文檔創建時間:2018年7月12日17:31:31
