Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
41 views
13 pages
Dbms
Uploaded by
tejupallapu46
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save dbms For Later
Download
Save
Save dbms For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
41 views
13 pages
Dbms
Uploaded by
tejupallapu46
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save dbms For Later
Carousel Previous
Carousel Next
Download
Save
Save dbms For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 13
Search
Fullscreen
| | ree 8 suite a loins , se Opacetore o| peplay ail “the erployere and the depth tt nc “genpiementing a IF quder join Quays seed #from erp gol> select emp: empno, emp: enarne dep alp | deptedname from emp jet outer jen dept © emp-depino -deptedep toe 5 Ow uct = EMeMO enomMe pepo DNAME G03 MILER 10 ALC OONTING PCCOON TH IG 4362 CLORKE 1° (TING oO PCCOON TING 3824 KING : NG 3676 “EDA Ms 20 RES ARCH (3369 smMrte 20 ReEsepREH 20 RESEARCH ecoTt 20 Ries FPRcn 3566 yones 20 reser 34.00% TAME S gO SPLES PLE. a TORNER Me nee 4654 MATTIN B0 SALES 1 ASPy 4 weed 30 SALES 44 - ‘ 144K oe 30 SPLES 30 SPLES I “Al RlLOKEQuerys Right Qulet Join S@L> kelect © mp: empno, emp Cnayne , cept sdeptno, depl-lname from , «mp Tigh) outey join alept on em-depino= dept- depino 5 Ouetput~ EMPNIO 234 a648 Fan 3566 aay 402 3364 4444 S21 Ae5y aca 3938 EN PME DF KING ia BLOKE 1439 4 CLARK 10 “Jones _ SCOTT 20 FORO 20 SMITH 20 POLLEN BO wARD ee MARTIN, “TORALER A 4 20 | ee ee | 1.400 JAMES 30 MILLER to 40 DEPTNSD §=ONAME —_—_—~ », BCCOONITING SPLES ae ACCOUNTING RESEARCH RESEARCH RESEARCH REsef Rew SALES SPLES SALES SALES REseA RH SALES AccounTind opr ntothe employee Name canch . clay v psPat depacimne| name, 10 which “they one poor King ampteme ming full oof jo ues’ £QL> eclect amp ename , daph dneme from empe full outer JOw" dept of emp depine = dept: deptne j output Eneme ONPME mailer pccoun TING cLeRK AccoON TING KING pccOONTING ppems ReseeRcH SMa TH Res EARCH FORO RpEseOR &coTT ARCH JONES RESEARCH Es SALES TORNER SALES Marta SALES wi oe
Selet 4 emp rename, mar-ename ag “MGR”, mar Sol ay *MAR SAL” fron emp, emp m4 wohede emp M]P= meqempnos Or 2 oop ENAME MAR ARSPL -_——_— ---- ot “JONES LINC) 5000 CLARK (IN G 5000 5000 BLOKE KING | Temes — BLAKE 2650 TurneR BLAKE 2850 Mertin BLAKE 2x50 WRRP BLAKE 2850 2850 Puen — BLOKE MileR CLARK 9460 FORD TONES 2 SCOTT ones 294s pea ADAMS ecorr | gcco €MTITH FORD 3000| pete a Query lo Oust | joe, employee nod. pub the nam, 2 ®€04 Name | gos cach depodment e j , Lee ection | Even « | ees. 4 there ary quer ai > select emp-e ; Prempna, emp. enarme , emp- jobydeet> deptno, depl-dnorne leg! me cdegl-loc from emp lett ree , Pp Outer join dept on emp. deptno = dept-clepino; Ouetpeh EMPNO ENeme 3eB Oeer Dneame LOC Oo A434 Maree CLERK 10 ACCOUNTING ALEH! YOR Inaen CrerK. Mannose 10 PXCUNTING New YORK ‘PRESIOENT 10 PCCOUNTING NEA 3 YORK 29 RESERREX Daas ‘sac POAMS CLERK : no ReseArce OPLAS 33eq. «SMITH | CLERE no RESERRU RUA | A402 FORO FALUST ae pnevusr 2° peserct On» MeNeGFe 2° pesrnrn ons Cie go SPURS Meo || J yep T VOM tewene neme 0B C er F log yey y “TORNFP epLles ao SALES Chen MeN Gp 465" martin SPLES 20. Shles CHT CO, MAN 6 501 WPRD SPLES 20 «SPIES Curry, man 20 SAEs CNTCHG, 0 SALES CHICAS, wWya4 ALLEN SALE Ss Mam aeqs BLPKE MANAGER 3 2 duplay He details ax those whe chour se same salady. Que 4 emp-job, 5 gelect emp-empno , EMmP-eNAame, gar emp: gal From emp, emp ck where | ehPP° eal = de Sal and emp- empnoz aren: | Suet | “pwpno enpme oR PL | 7902 FORD prpuet 3000" _ ae? | SCOTT ANAL aie 1 465 an ps0 52h IBRD SPLESMON josd A - BARS oe eea eee. | Set Operators 4 unten 8 uses PTT A gn terRseel A Minos = ONTONE quer? ZQL> Select epino, dame from aept union select depino, ename trom emPs : Quist DEPTNO DNPME _ 7 AccOONTING 10 CLRPRE 10 KING {o MILEFR 20 ADAM ¢ 29 FORD 20 TONES 20 _ RESEARCH 2D — scOTT Ve sMmitH 20 30 ALLEN 80 BLAKE 30 ce ei Bo MORTIN» PePTNO yo ONAME SOLES JORNFR ALNRD OPE PATON S CNTON ALLE Query gab >select depino, diname | fom dept Union all select depino, ename hom emp5 Output DEPTNO 10 20 30 40 10 30 1o 20 20 20 20 30 ONONE “ACCOUNTING RESEARCH SALES OPERATIONS KING BLAKE cCLleAREK JONES SMFTH PLLENhh yo —— DNAME WHPRD MpRTIN 20 TORNEE 2° PORMS 20 JAMES nsensechor —— Quen Salr gelect depino, dname 4x00 der enteuect gelect depine, ename from EMP § Oustput ne OWE Selected MINLS+ - Quetyi- SQL > gelect depine, dname fen ne trom dept | minus select depine, mm" emp s TNLO ONAME Nh — -—— \z ed ACCOUNTING ee Reser RCH Bo SRPLES OCkeaT TERN:were ae TH chm inands 0% Vie ue MO tite a AY erate a wer Ahat displays athe ern Jorge u ets who be long | Mame and Salary ot employ 40 dept 10° Quen) gelect empno, empview as SQL> create View emp Where depino=10; ename, gal from Quip view created « eelect ¥ from empviews Ename SPL Evieno | #34 KING 5000 1 | Ae? CrARK auso beac enly we | 4434 mriier ‘30° paatatle * ) Create a view ith read only option thet digplays the employee ame and | | thei department Name - | Query, ceeacte view emprieatl of sect | e-ename, drdrame | trot! emp re: join et 4 © e-deptho=ddepine with read only Conshraint efi Teadonly » dept. to|e i. onAme } 7 eM ae ene : ee ! x COUNTING a Spres y at ot : ACCOUNTING puPrt Rese ARCH pon €S oo ow e cco =e E ARC for? aa: : gmat# idee pire sore mierO 8 moetan! 3 | TORN er = poems oo es SPLES a) AccoUNTING MILLER deploy | the yew qendacted: | ud | ear>celect views name xo ger eur Outpt | WEVAL NEME ‘EmMPV Ie) FmevigiwiL| _ 4 Ewcceete abe OMe command 60 -the vie,n | emeated and drop them Quenyi- ear ddelete fyor) empvier where empno=93 it. Moy tnsett frfo WMPVICW values Fg8q , WKN Cary Uplate View ged \ sooo) 5 Zal=|0000 Whey. empno = 48 cary Axop view empviews gard dwp View empvieos 5 output 4 ow deleted | EMeNO ENAME SAL Fao Cloak 2450 nasy Miller ‘1300 A vow cxeatedl Empno ENAME SAL 49¢2 Clank 2ysd 1434 Milles 1300 i 1834 Kina, 1s000 5 A wow updectedENAME 4A “a8 9 Clank q000 4a3" Ni\er 1300 483% King 5000 | je Awopped en Avopped jewoname -rom gered
You might also like
Oracle SQL Queries On Emp Table 1 To 235
PDF
92% (73)
Oracle SQL Queries On Emp Table 1 To 235
27 pages
Google AI-ML Course Process Document
PDF
50% (2)
Google AI-ML Course Process Document
36 pages
SQL - From Functions
PDF
No ratings yet
SQL - From Functions
50 pages
Adobe Scan 01 Sep 2023
PDF
No ratings yet
Adobe Scan 01 Sep 2023
15 pages
Oracle Assignment 1
PDF
100% (1)
Oracle Assignment 1
14 pages
DBMS Lab Experiments
PDF
No ratings yet
DBMS Lab Experiments
31 pages
Sub Query
PDF
No ratings yet
Sub Query
9 pages
Practical 5
PDF
No ratings yet
Practical 5
6 pages
DBMS Lab
PDF
No ratings yet
DBMS Lab
18 pages
Dbms Notes
PDF
No ratings yet
Dbms Notes
24 pages
Yash Mewada Sy-Bca Adbm Assignment
PDF
No ratings yet
Yash Mewada Sy-Bca Adbm Assignment
19 pages
SQL Select From Emp
PDF
No ratings yet
SQL Select From Emp
9 pages
Main & Core Concept Notes (All) of S.Q.L, MyS.Q.L & D.B.M.S (Set - 1+2+3+4+5)
PDF
No ratings yet
Main & Core Concept Notes (All) of S.Q.L, MyS.Q.L & D.B.M.S (Set - 1+2+3+4+5)
27 pages
Oracle SQL Queries On Emp Table 1 To 235
PDF
100% (2)
Oracle SQL Queries On Emp Table 1 To 235
27 pages
List All Information About All Employees From Emp Table: SQL Select From Emp Where Deptno Not in (10,30,40)
PDF
No ratings yet
List All Information About All Employees From Emp Table: SQL Select From Emp Where Deptno Not in (10,30,40)
7 pages
Oracle Practice Question
PDF
No ratings yet
Oracle Practice Question
0 pages
MCA_B_11_RDBMS
PDF
No ratings yet
MCA_B_11_RDBMS
99 pages
Dbms
PDF
No ratings yet
Dbms
11 pages
2CSE DBMS Lab Programs
PDF
No ratings yet
2CSE DBMS Lab Programs
43 pages
DBMS unit2-1
PDF
No ratings yet
DBMS unit2-1
27 pages
Dbms Assignment
PDF
No ratings yet
Dbms Assignment
8 pages
SQL Model Queries
PDF
No ratings yet
SQL Model Queries
31 pages
Cs SQL Program 3 and 4
PDF
No ratings yet
Cs SQL Program 3 and 4
12 pages
DBMS_Assignment_Suman_Kalyan_Dey_(PHUG-227-19)
PDF
No ratings yet
DBMS_Assignment_Suman_Kalyan_Dey_(PHUG-227-19)
51 pages
SQL Notes
PDF
No ratings yet
SQL Notes
25 pages
DBMS pdf
PDF
No ratings yet
DBMS pdf
16 pages
DBMS CIA -2 QUESTIONS AND ANSWERS
PDF
No ratings yet
DBMS CIA -2 QUESTIONS AND ANSWERS
24 pages
DocScanner Oct 29, 2023 5-45 PM
PDF
No ratings yet
DocScanner Oct 29, 2023 5-45 PM
9 pages
CBSE Class 12 Computer Science - Solved SQL Queries
PDF
No ratings yet
CBSE Class 12 Computer Science - Solved SQL Queries
6 pages
SQL Ip
PDF
No ratings yet
SQL Ip
15 pages
SQL 10 Views
PDF
No ratings yet
SQL 10 Views
18 pages
SQL Notes
PDF
No ratings yet
SQL Notes
22 pages
SQL Examples
PDF
No ratings yet
SQL Examples
21 pages
Assign Queries
PDF
No ratings yet
Assign Queries
9 pages
akashh2
PDF
No ratings yet
akashh2
4 pages
Employee Database 97-2003FINAL
PDF
100% (1)
Employee Database 97-2003FINAL
11 pages
SQL Question For Employees Table
PDF
No ratings yet
SQL Question For Employees Table
29 pages
DBMS Record PGM 5
PDF
No ratings yet
DBMS Record PGM 5
14 pages
Dbms Complete File
PDF
No ratings yet
Dbms Complete File
23 pages
Questions Chapter 4
PDF
No ratings yet
Questions Chapter 4
5 pages
1 To 200 Queries
PDF
100% (1)
1 To 200 Queries
18 pages
DocScanner 8 Nov 2024 13-19
PDF
No ratings yet
DocScanner 8 Nov 2024 13-19
13 pages
SQL Assignment 1
PDF
No ratings yet
SQL Assignment 1
12 pages
SQL Server
PDF
No ratings yet
SQL Server
91 pages
Dbms 1
PDF
No ratings yet
Dbms 1
24 pages
Práctica1y2 Velasco Ricardez LizbethMaría
PDF
No ratings yet
Práctica1y2 Velasco Ricardez LizbethMaría
9 pages
Prepared by M.Nagarajan. Valliammai Engg - College
PDF
No ratings yet
Prepared by M.Nagarajan. Valliammai Engg - College
25 pages
ENO Emp - NM Salary DEP
PDF
No ratings yet
ENO Emp - NM Salary DEP
65 pages
Creating Views: Dept. of Computer Science Faculty of Science and Technology
PDF
No ratings yet
Creating Views: Dept. of Computer Science Faculty of Science and Technology
20 pages
RDBMS SEM 3 Practical Solutions
PDF
No ratings yet
RDBMS SEM 3 Practical Solutions
8 pages
DBMS 2
PDF
No ratings yet
DBMS 2
18 pages
Dbms 20231003
PDF
No ratings yet
Dbms 20231003
29 pages
Assignment - 1
PDF
No ratings yet
Assignment - 1
9 pages
DLD Unit 3
PDF
No ratings yet
DLD Unit 3
21 pages
JP
PDF
No ratings yet
JP
7 pages
1.mounika Reddy Mallela
PDF
No ratings yet
1.mounika Reddy Mallela
1 page
Shashikanth Project Documentation
PDF
No ratings yet
Shashikanth Project Documentation
31 pages