0% found this document useful (0 votes)
6 views2 pages

DBMS Module 2

The document outlines a database schema for managing various entities such as customers, items, sales, suppliers, and employees. It includes details on how to structure queries for retrieving information related to purchases, sales, and student enrollments. Additionally, it provides examples of SQL queries to extract specific data from the database.

Uploaded by

P Loganth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

DBMS Module 2

The document outlines a database schema for managing various entities such as customers, items, sales, suppliers, and employees. It includes details on how to structure queries for retrieving information related to purchases, sales, and student enrollments. Additionally, it provides examples of SQL queries to extract specific data from the database.

Uploaded by

P Loganth
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

hluite

CUSTOMp
(CID, (NAME, EMAIL ADR, PHbNE)
TTEM ITeM NO, ITEM NAME, PRICE BRAND)
SALES cip, ITEM-NO, +ITEMS, AmOUNT, SALEDATE)
SUPPLIER S1D, SNAME, SPHONE, SADDR)

APPLY SI2, TM-NO,SUPPL9DATE, ATY)


item puuchaatd by tutome Padhocth'.

aoh Tau 2019.


ddtails otomnuohetotal puuchae
rctthe
thau000

Lit nst fuehaand auyims. l0J


Diaplay uattmen oho haue

ide the tolleuiug REsORT databagaeustaddu


8: (onaide nethy
lEsORT/ teastno, teretnama, tasthype,
9UTEAuteno, sebutno, auitapo) totalonite,
Chertout,
RESEQVATIDNewJtiouno, stsstno, viatouno, chetiu,
steno)
VisITORiators, tistrame, dodame, Uiaiteadda)

dtals aM the tenscto havgnmbu


t) Wite tho SaL do iatul
30.
uts moe thau
SQL to tust winon u audiug Qdu by
() Wite tho
chema Qud u t the Sel queies:
B.aunideu the tollouig9 Sal, Geudu, Dno)
cauies
EMP $SN, namey |1D M:Each
DePr(Dno,Drane, Mgun) RMauto
Dagtlo¬N( Drs, Dlocn)
R0T( SSN, Pho, No-hsun) udu,,Ristisuhip)
epudet (SSN Depeudeutname, depaudut.
mu0goname uth attleant Cue
D'Ketlu t

name ho ekoJsu dugt 1O &ha adougwle


Ratitue the ampioyea name asho sek -auyp t
that umau 0ok

stolatioun fo
toraa databaae
dot tht eepo tack
t0. Conaid th lolloung alaties cthe bosk adostod Jou
ownso ud
studot owollmout u
Rach cQUAe

STUDENT Ssn, Name(tMgs,bdota) (GM- Eaceh caui


2Mauo
COURSE ( Cousens Cnom,dpt)
ENROLL (SSn, Couuseuo, Auate yade)
Book -ADOPTION Cotwaeno, Quastu,bookjobn)
TEYT ot obn, bock ttle ,Publiah, Audthe
u daabane
Mite the tellaug queies d alatioual algeba
hema.
the nimbe aaunaen taku by all stdeto namd
) lit Quoteu=WO9)
Jehn onith du outo 2009 ie.
bosk-iobny
(i) Pandue a dist
bsok tte) d ay'CS' dapatmaut that Jae
ed mao tha t o boeko.
(in) Lit auy depautmut that hon all ito dood booko ulirhad
by 'Paaunen putltohig

You might also like