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)
14 views
13 pages
Dbms File
Database management
Uploaded by
jatinsinghkushwaha02
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
Save
Save dbms file(1) For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
14 views
13 pages
Dbms File
Database management
Uploaded by
jatinsinghkushwaha02
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
Carousel Previous
Carousel Next
Download
Save
Save dbms file(1) 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
/ ayMent - 6 ot So heplain DDL mies as opis Date D, * DOL commande ar a 4 1 datataae, objects, Much climes views - + St ised po voate or alter othe database wtpucture - DDL Corvumiande- > Guate - Crates a mow £ database object Like artabt Liew , indlexr 0A databace: Ubeename—Stuclons 2 REATE TABLE dtctents ( Cotiemn no -4. Atudert lp Ln PRiImAry KEY, Name — varrerar (0), INT, ) Corte vagerme (50) 3 D- peru - Moctefles atruretur of an exiting database - Zier vidd , delete or mocreyy h ALTER TABLE wWtaclerts ADD Emathe VARCHARCIOD); 3)-DRoeP - aeleées .a2 elatabas table. and all dala pew fr PROP TROLE Steectents ; 4) -_TRINCATE— Rerroves ale Aaelede olate om they wtehout aclkete’ng tatty uttely. 4 TRUNCATE TABLE“ dtadents 5 5)_RENAM E- chamiges mame of table fo another. SEO RENAME ThE deudensts te loaaners ;Ques 2) explain DMe avith crample Ps- Data Manipulabore (muy + DML commands LUe & L do ymariputte Gata wit entativg database, pepeduAla i ateouy wars to add, Ayrdora ,dolete and Hotrieve « The das atored cw tables en 4) Sevect Command - fetsueves clata rer one or mae tables - _ cevetre FROM Students ; J seotsucours AL vepws and Cotums ate’ 2D UsERt- Aclola new kicords nto a table - aad ow cingle noord ~ &9- Inseet into Sta (Student © , Name, Age Course) VALVES (1, ‘Saumyat , 20, 'CS€’) 3 3) UP Date- moolcfres mua data ‘uv tavte - eq- — beprre Utudentt VET > 2) Where Wtredentio = 15 4) PELETE- Removrs 4Ltcoid rome fate : eg perete from Lrudents where Stldenrt2 23; & pMe pees - 2 of PPL page i Dotabae term. co Dme pa earce cr] [See | ree feat | ree | st | | Prey | seeHiagmenenct Dba Asm2- to iuplmunt pate, Constrarrti - 72 Betmaay He — at dlepenest, “at column fever - Aybar’ CREME TPBLE vtablename (Column narne | DATATYPE vorstaarmt «< coment name 1? Buiw (Coltumnname 2 . DaTATyPE » CoUrmn oo Datatype--- 05 o a bs olefirrerts vat -tatrte Level Cte oreate table tavtename ( Columnname 1, Dar Arys, berm named Parnryre, Cotumn name 3 par AryPe » Pai MARY KEY (Columnname ) , Coleemnname2) Jj b) Check Consranein— + abe he fined vat cotiumnr Level - (Rep te Treb tablename ( colunmname |, 2, OLULMn Mane 2 Date ; COlunmnane 3 Data ’ pe Cheek ( legal expt ds Check. Clogteae exp2d)% + dreds olbeo cLefined, vat table tuyel +avn % D << , Colname 3 exp 1) > CHECK ( Lofitae exp 2))5 C) Unigue Lowtaarice > "AC Column ened - - CREME ‘freir tablename ( Colname | Dat ON Ov, Co * Boctatype Cotrame 3 Patatepc UNLQU' ves “AE tanle Louel- Siprdtan- Rete TABLE tablename (Coenanc t Datatype , Colname 2 patatype , Copmmmed Pasetey pe, Ua Que Cuootname 1))5 a) NOT NUW Contaamnt - ee Oa - CRepre Trbre teblename Ciptrname | Ditotyn, | wot Nuuw , Coerame 2 Oaratipe Not NULL, Coename 3 a) Dateyp > Gy ae : FATE TaRle Gredeut (peelint PRuvaRY key, pram Aaichar (20) unique, pow ord not int cack snr CHE (p-Stock >= 5) » pexpirg » not NULL > bar o Bie (uotename (Colname | pas a : es CREATE THGLE "Citing‘ Expuiment - 03 sens To trek. en, Data Mamiputad - tommmamsds wir Roane on. wnquegs Come) ot wee fo Unelerstand Dara ; : a Command - Moniprlelion eae Tne DML wemmands Ou Most frequnity voed £OL Commande and is wre fo 4 and Mmomoulate dhe exch ilatcebace Wbpeet Some of commande “h te ) Snap 2) Sede ck aj Upelae 4) Deleke- — Procedure @) Qnusr Command - at is uae Je adel Sne or yore * bw fable - OS o The values ett eupoenated a el wove da benipr char and data ae enclo'! win apertre : athe values mat be antercd uin same oder ae th aw deprived - . rin intl vib inte @& table - Zhabte raame > VALLES (exp, ape Ayrton - Tricert tuto > rae Later 4 ong > grweRt INTO Puoduet vewes (101, Cherolate’, 25 , 0-202); 7 serect #¥ fem Product: socorole cuserlg a vung ’ nang mow Khan one inst Yeonman - fury = vins€1 anh product VALVES (102, Cookies’, 10, a tor 20rs) , (10%) ‘pumnonds’, 20, (2- 2024) ;ble Lect Command- 9g 44 aed & Ketter “nto ate tabee ge os qrtiably napa ue Ae sey * Wecanecthy dis pl ag al vlumnr Wa table ery Apert ect xf tatsle . View ate wows ank ate column L ~ Létecr & bio trblerame ; "SECT » prem procluct ; ' Cyretove ~ SELECT Keats s ecotes pom teklenrame 5 Saag: Leder P-rame, peort 4rom Creroducts + . ave ele ded veotirmn sin ou . ani SELECT gcocry
fiom datinanre where hc Bay.
+ Blemingted duplicate rows: : fut p-name prem Protech whee p-lol=do;. O) VPPATE Command- st ts ured fo aller the column ERATE Command TANS nol un a tate. "A aw je = cok Mm to wepela Peo? OY more thar One feolumn cout epaated . . “patina att Voss. 4 ~ BPea7e dallename 367 comanne column =
. .
3 Mey eg U Pope & sprecluck 964 Perpiny : dors ; * Update 4uerorol es%. 7 whe Uabtinarne cet Pets . evatune > Kon> 5 § > ene UPDME Puoclurt SET= 10 whe p-fh = 2015 A) DELETE command-_ Atte he Low iw & table we Caw wlan © The delete nota nie 4 7 om’ cohauet portend ephonat tubere’ Yclotise Removal wll hows: he DELETE from ctabtrnaner ? Be ee Dem“eTEe fem Qupduct 5 *=Remowal Li Lt pict fue dcOw * Satan - DELetes few < tabklerame> — ushere
, mde peut e Oe Porwooluck whore pa ® 201, _ DML commande wie Cxrecmbed aucerasfully -o he ours oly eer is hace U ft MO per mises 7 on fev Aucl, . . rn . S hi Uw Lalle A Gog df potvelapca.. Geeann ouiveleger Af Utena GRANT statement . the danse fafement Vv inoutole varcets type of . | PLE Ne databay Ab jects vouch Qa calle , thee BRANT fotteet pant leges } On ~olteet Name TO UWrenene 5 Cae pre weleges 5 Cort Bt-fect prvtige that £4 Aamtech, authorise, khe arte bo pefeor™m some pUaHOn On flip ctydle eee aren au Pevelegea oney om AptetficThe (eet of eject prevdlegee us ee Lore » J MTER- volloine fuarantce do change tate Aefertion ) DELETE allows the gearoutee bo peomnoure the sera om rab with DELETE Kammamds - 3) twoer- Glows Anlee Yo Create an unden ‘on, table wove! crenve Puvex lomnand . A) ERT allows Ute qarmunice we acl secords by torte with & commend . 6) SELECT- allows the qriocantee do queries the fable with ceeect Seommand . 6) UpDATE- allows guarantee be mo ivy the Accords de table wrt” dhe uPpaTe Command . R n x Suen stant bomee, Ueda co caw bt .eniech 4 a ee cacy REVOLE comm 7 Overt weusmnenr tom vovoke i pn Za (Asautee 49 aeotter teen « Age GF © Revrokeng pemitaon use REvoeKe STATEMENT . + The REVOEE otttement is atotol & oleny ee te buy vabfect + ipen VORE Leofect pee seats J On ot-fect mame From Uuername 5 athe REVOKE command ui ued fo REVOKE 4 ce ae puvetgr dhok thre dew opuaiantte. de ke scovroke * The vieweke command cannot Le used ue ero ke Hue fates cae “hxorcaly Bpuaing Auster Reet feria dd DCL statements| $n . _- Experi MENT - OF Aim:- \ oe Suerice fo omplement TeL commande Peet ty undectanol TEL tommaols- Theo - Transaction Contnot (TCL) commands ve utc ip manage trarschon dv ce dlatabact: | | These commandls “emuine date Comacatonig © Dinebns | ; t | fy Contnotling, the vchangee made by of f Major TCL commands - | D lommit- Saves atl charge. umady trv the event pansacon | tty PeaAmanen Suntan t Beyin TRaNsheri0%) 2 BEGIN TRANSACTION — | INSERT 2NO tablrname (colt,cole) INSERT Exo LTO VALVE (vali, veer) ou (mame y | UPDATE tabte-name SET Cotrs wats’ ‘Vacves (taurce', uP), b WHERE coll: alg’; UPbATE Employ SET | commrt +, dipantment = \Aevante’ | WHERE names 'BOB’, | Commet 2) Rolttack- Undees att whanges made vin the eureent transaction Sumtax - BEWIN TRANSACTION r BEGIN TRANSACTION d DELETE FRom ctabte-name DELETE From em, WHERE colle “valr”, WHERE Cepasemend » 113 ROLLBACK ROLLBACK 3) SAVE Pom1- Sets a poink within a transackon So ~~ wehetebe 2 ean be yeatled Lact. - BEGIN TRansicton “BEGIN TRANSACTION Insert into table -rame (col ,cot2) INSERT Jryto emplou(name, vay (voll, vate) Were eepe © .y Spveroint Pts Vi CChastie’, ‘mate ps SARPOINT Ep, "4') 7A) Ree TRersaction - Sets wy Atay SET TRawsaction READ only S€tret FROM table name &- SET TRANSACTION READ ONLY q SELECT & From employ Ypropertien ‘few uw framsacbomLEXPERIMENT - 06 Atm - ™- To trplement normal forme sin Dame Ob onge [eetive- To dunductanl Norma forms Theory - de as the process of etme ong seedundancy, aaa felatons vor ae of sulabons’ Normat forms vere Lised vip eliminatt vor sceclecct WUduindany Uw database talrtes- N *) fist Normabdoum -lINe)- This ws the moet basi Level of normetisaton Sr INP, cach tant col ahold wonrtacr ony eo nengle value amd each cotumn shoutd howd ae Unique mame + &) dteond Normal tom (ANE)- ‘A valation cs ae ape uy ot te @4Ne and oes Ton-pume atintoute is’ not yposeintly CLoperrdtert- eae prope, Meth of omy andi date sa of trbte- 9) Uhtsd Normal form (ane)- A helation, ul aad we dw this noryal orm an wwe Aid mot have any tramechve vale indeney nen- piime ettubute Y Basic condition’ that! muat be Ahold un the mnon-tarwiae fenebonal epenstenery xov. Xe aupu key Y & prime- attacbutes (tis oncams that coment of Yas come past of Kandé date wy)4) Ber (Boy cee Cocte, Normal jJorm) a ana fhe odwvene ev veidon of Normal foun home” bate surly ate - 1) Table Must be Uw ZNF- Y Gn relahorn Y¥ OY, X Mut be ca auperkey dwn sulation -
You might also like
SQL Server
PDF
No ratings yet
SQL Server
91 pages
SQL Notes2
PDF
No ratings yet
SQL Notes2
30 pages
SQL Commands
PDF
No ratings yet
SQL Commands
10 pages
Dbms
PDF
No ratings yet
Dbms
11 pages
DBMS Unit2-1
PDF
No ratings yet
DBMS Unit2-1
27 pages
Unit - 3 DBMS
PDF
No ratings yet
Unit - 3 DBMS
25 pages
SQL Notes
PDF
No ratings yet
SQL Notes
19 pages
DocScanner 21-Dec-2024 1-07 PM
PDF
No ratings yet
DocScanner 21-Dec-2024 1-07 PM
40 pages
DocScanner Oct 29, 2023 5-45 PM
PDF
No ratings yet
DocScanner Oct 29, 2023 5-45 PM
9 pages
PL-SQL Chapter 6 Hindi Notes
PDF
No ratings yet
PL-SQL Chapter 6 Hindi Notes
11 pages
SQL 1
PDF
No ratings yet
SQL 1
63 pages
Adobe Scan 20 Feb 2025
PDF
No ratings yet
Adobe Scan 20 Feb 2025
20 pages
SQLNotes
PDF
No ratings yet
SQLNotes
17 pages
Dbms
PDF
No ratings yet
Dbms
8 pages
DBMS Cia - 2 Questions and Answers
PDF
No ratings yet
DBMS Cia - 2 Questions and Answers
24 pages
DocScanner Nov 27, 2024 1-58 PM
PDF
No ratings yet
DocScanner Nov 27, 2024 1-58 PM
25 pages
SQL Handwritten Notes
PDF
No ratings yet
SQL Handwritten Notes
10 pages
DDLDML
PDF
No ratings yet
DDLDML
9 pages
DBMS Lab
PDF
No ratings yet
DBMS Lab
18 pages
SQL Notes
PDF
No ratings yet
SQL Notes
103 pages
MySql Class 11
PDF
No ratings yet
MySql Class 11
46 pages
DBMS Record
PDF
No ratings yet
DBMS Record
37 pages
Dbms 1
PDF
No ratings yet
Dbms 1
24 pages
SQL
PDF
No ratings yet
SQL
16 pages
4pplyi1: Duplcomge Te Me Eniohg
PDF
No ratings yet
4pplyi1: Duplcomge Te Me Eniohg
17 pages
DBMS Unit-2 PDF
PDF
No ratings yet
DBMS Unit-2 PDF
42 pages
DBMS
PDF
No ratings yet
DBMS
19 pages
DBMS Assignment DML &DDL
PDF
No ratings yet
DBMS Assignment DML &DDL
11 pages
Mysql Syntax
PDF
No ratings yet
Mysql Syntax
26 pages
SQL Handwritten Notes
PDF
No ratings yet
SQL Handwritten Notes
15 pages
Basics of SQL Server
PDF
No ratings yet
Basics of SQL Server
9 pages
Adobe Scan 09-Dec-2023
PDF
No ratings yet
Adobe Scan 09-Dec-2023
10 pages
DBMS Mod2
PDF
No ratings yet
DBMS Mod2
11 pages
DBMS
PDF
No ratings yet
DBMS
38 pages
SQL Handbook
PDF
No ratings yet
SQL Handbook
88 pages
DBMS Final
PDF
No ratings yet
DBMS Final
38 pages
SQL Notes1
PDF
No ratings yet
SQL Notes1
67 pages
SQL PDF
PDF
No ratings yet
SQL PDF
36 pages
SQL Handwritten Notes
PDF
No ratings yet
SQL Handwritten Notes
88 pages
Dbms 4-5
PDF
No ratings yet
Dbms 4-5
6 pages
Tpes of SQL Language Commands
PDF
No ratings yet
Tpes of SQL Language Commands
7 pages
SQL Handwritten
PDF
No ratings yet
SQL Handwritten
30 pages
Answers
PDF
No ratings yet
Answers
15 pages
Practical 5
PDF
No ratings yet
Practical 5
6 pages
SQL by Jai Shankar Sir
PDF
No ratings yet
SQL by Jai Shankar Sir
158 pages
Co1 SQL
PDF
No ratings yet
Co1 SQL
8 pages
DBMS File
PDF
No ratings yet
DBMS File
24 pages
Advanced Database System
PDF
No ratings yet
Advanced Database System
11 pages
DBMS Lab Experiments
PDF
No ratings yet
DBMS Lab Experiments
31 pages
DBMS (Lab)
PDF
No ratings yet
DBMS (Lab)
16 pages
DBMS 1
PDF
No ratings yet
DBMS 1
15 pages
SQL Notes
PDF
No ratings yet
SQL Notes
10 pages
Dbms Unit 2
PDF
No ratings yet
Dbms Unit 2
35 pages
1st Experiment PDF
PDF
No ratings yet
1st Experiment PDF
115 pages
Practical File DBMS Sagar
PDF
No ratings yet
Practical File DBMS Sagar
20 pages
SQL Handwritten Notes
PDF
No ratings yet
SQL Handwritten Notes
21 pages
SQL Notes
PDF
No ratings yet
SQL Notes
14 pages
Intro To MySQL
PDF
No ratings yet
Intro To MySQL
16 pages
SQL - Notes
PDF
No ratings yet
SQL - Notes
89 pages
Adobe Scan Jan 31, 2023
PDF
No ratings yet
Adobe Scan Jan 31, 2023
1 page
Wa0005.
PDF
No ratings yet
Wa0005.
2 pages
Se Assignment
PDF
No ratings yet
Se Assignment
7 pages
Presentation 1
PDF
No ratings yet
Presentation 1
1 page
Se Assignment
PDF
No ratings yet
Se Assignment
7 pages