


下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
本文格式為Word版,下載可任意編輯——oracle試驗(yàn)內(nèi)容1(共40題)12000
8.Createareportthatdisplaysthelastnameanddepartmentnumberforemployeenumber176.
selectlast_name,department_id
fromemployeeswhereemployee_id=176
9.TheHRdepartmentneedstofindhigh-salaryandlow-salaryemployees.Modifylab_02_01.sqltodisplaythelastnameandsalaryforanyemployeewhosesalaryisnotintherangeof$5,000to$12,000.
selectlast_name,salary
fromemployees
wheresalary>12000orsalary0
orderbysalarydesc,commission_pctdesc
15.MembersoftheHRdepartmentwanttohavemoreflexibilitywiththequeriesthatyouarewriting.Theywouldlikeareportthatdisplaysthelastnameandsalaryofemployeeswhoearnmorethananamountthattheuserspecifiesafteraprompt.(Youcanusethequerythatyoucreatedinpracticeexercise1andmodifyit.)
selectlast_name,salaryfromemployeeswheresalary>=&sal
16..TheHRdepartmentwantstorunreportsbasedonamanager.CreateaquerythatpromptstheuserforamanagerIDandgeneratestheemployeeID,lastname,salary,anddepartmentforthatmanager’semployees.TheHRdepartmentwantstheabilitytosortthereportonaselectedcolumn.Youcantestthedatawiththefollowingvalues:
managerID=103,sortedbyemployeelastname:
selectemployee_id,last_name,salary,department_idfromemployees
wheremanager_id=&m_idorderbylast_name
managerID=201,sortedbysalary:
managerID=124,sortedbyemployeeID:
17.Displayallemployeelastnamesinwhichthethirdletterofthenameisa.
selectlast_namefromemployees
wherelast_namelike'__a%'
18.Displaythelastnamesofallemployeeswhohavebothanaandaneintheirlastname.
selectlast_namefromemployees
wherelast_namelike'%a%'andlast_namelike'%e%'
19.Displaythelastname,job,andsalaryforallemployeeswhosejobsareeithersales
representativeorstockclerkandwhosesalariesarenotequalto$2,500,$3,500,or$7,000.
selectlast_name,job_id,salaryfromemployees
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2025年度購房補(bǔ)充協(xié)議:智能家居與社區(qū)物業(yè)聯(lián)動(dòng)服務(wù)合同
- 2025年度法律服務(wù)機(jī)構(gòu)員工借調(diào)與法律服務(wù)合同
- 二零二五年度刑法與合同法協(xié)同的特許經(jīng)營合同
- 二零二五年度安全環(huán)保風(fēng)險(xiǎn)評(píng)估與咨詢服務(wù)協(xié)議
- 二零二五年度高管勞動(dòng)合同及職業(yè)培訓(xùn)協(xié)議
- 2025陜西通力專用汽車有限責(zé)任公司招聘(59人)筆試參考題庫附帶答案詳解
- 2025環(huán)北部灣廣西水資源配置有限公司招聘23人筆試參考題庫附帶答案詳解
- 2025年收獲機(jī)械項(xiàng)目建議書
- 2025年國網(wǎng)電力公司招聘(第二批)筆試參考題庫附帶答案詳解
- 藥品裝業(yè)知識(shí)培訓(xùn)課件
- 人工智能崗位招聘筆試題及解答(某大型央企)2025年
- 2024年玩具陀螺項(xiàng)目可行性研究報(bào)告
- v建筑主墩雙壁鋼圍堰施工工藝資料
- 我國互聯(lián)網(wǎng)公司資本結(jié)構(gòu)分析-以新浪公司為例
- 【藍(lán)天幼兒園小一班早期閱讀現(xiàn)狀的調(diào)查報(bào)告(含問卷)7800字(論文)】
- 糧油機(jī)械設(shè)備更新項(xiàng)目資金申請(qǐng)報(bào)告-超長期特別國債投資專項(xiàng)
- 個(gè)體戶的食品安全管理制度文本
- 自考14237《手機(jī)媒體概論》備考試題庫(含答案)
- 第二次全國土地調(diào)查技術(shù)規(guī)程完整版
- 客戶答謝活動(dòng)承包合同
- AQ/T 5201-2007 涂裝工程安全設(shè)施驗(yàn)收規(guī)范(正式版)
評(píng)論
0/150
提交評(píng)論