Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Answers

DBMS full practical solution

Rating
-
Sold
-
Pages
19
Uploaded on
23-07-2020
Written in
2018/2019

Complete practical set of Database Management system (DBMS) with full solution. Helpful to the University/college students studying in Computer Science and Engineering, Information Technology

Institution
Course

Content preview

D://Jay-pc/dbms-prac/dbms.pkh
/*Practical 1 : Studying DDL-create and DML-insert commands*/
/* (i) Creating table according to the following defination*/

create table deposit_e1(actno varchar(15),cname varchar(18), bname varchar(18), amount number(8,2),
adate date);
create table branch_e1(bname varchar(15), city varchar(15));
create table customers_e1(cname varchar(15), city varchar(15));
create table borrow_e1(loanno varchar(15), cname varchar(15), bname varchar(15), amount number(8,2));

/* (ii) Inserting data into the table */

/*"deposit" table commands*/
insert into deposit_e1 values('100','Anil','vrce','1000.00','1-MAR-95');
insert into deposit_e1 values('101','Sunil','ajni','5000.00','4-JAN-96');
insert into deposit_e1 values('102','Mehul','karolbagh','3500.00','17-NOV-95');
insert into deposit_e1 values('104','Madhuri','chandi','1200.00','17-DEC-95');
insert into deposit_e1 values('105','Prmod','m.g. road','3000.00','27-MAR-96');
insert into deposit_e1 values('106','Sandip','andheri','2000.00','31-MAR-96');
insert into deposit_e1 values('107','Shivani','virar','1000.00','05-SEP-95');
insert into deposit_e1 values('108','Kranti','nehru place','5000.00','02-JUL-95');
insert into deposit_e1 values('109','Minu','powai','7000.00','10-AUG-95');



/*"branch" table commands*/
insert into branch_e1 values('vrce','nagpur');
insert into branch_e1 values('ajni','nagpur');
insert into branch_e1 values('karolbagh','delhi');
insert into branch_e1 values('chandi','delhi');
insert into branch_e1 values('dharampeth','nagpur');
insert into branch_e1 values('m.g. road','banglore');
insert into branch_e1 values('andheri','bombay');
insert into branch_e1 values('virar','bombay');
insert into branch_e1 values('nehru place','delhi');
insert into branch_e1 values('powai','bombay');

/*"customers" table commands*/
insert into customers_e1 values('Anil','calcutta');
insert into customers_e1 values('Sunil','delhi');
insert into customers_e1 values('Mehul','baroda');
insert into customers_e1 values('Mandar','patna');
insert into customers_e1 values('Madhuri','nagpur');
insert into customers_e1 values('Pramod','nagpur');
insert into customers_e1 values('Sandip','surat');
insert into customers_e1 values('Shivani','bombay');
insert into customers_e1 values('Kranti','bombay');
insert into customers_e1 values('Naren','bombay');

, D://Jay-pc/dbms-prac/dbms.pkh




/*"borrow" table commands*/
insert into borrow_e1 values('201','Anil','vrce','1000.00');
insert into borrow_e1 values('206','Mehul','ajni','5000.00');
insert into borrow_e1 values('311','Sunil','dharampeth','3000.00');
insert into borrow_e1 values('321','Madhuri','Andheri','2000.00');
insert into borrow_e1 values('375','Prmod','virar','8000.00');
insert into borrow_e1 values('481','Kranti','nehru place','3000.00');

/*List of queries (Draw the output of queries accordingly)*/

/*(1)*/ describe deposit_e1;
describe branch_e1;

Connected book

Written for

Institution
Course

Document information

Uploaded on
July 23, 2020
File latest updated on
July 23, 2020
Number of pages
19
Written in
2018/2019
Type
Answers
Person
Unknown

Subjects

$3.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
jaykadam

Get to know the seller

Seller avatar
jaykadam Gujarat Technological University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
5 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions