100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
DBMS full practical solution $2.99   Add to cart

Answers

DBMS full practical solution

 425 views  0 purchase
  • Course
  • Institution
  • Book

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

Last document update: 4 year ago

Preview 2 out of 19  pages

  • July 23, 2020
  • July 23, 2020
  • 19
  • 2018/2019
  • Answers
  • Unknown
avatar-seller
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;

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller jaykadam. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $2.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75759 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$2.99
  • (0)
  Add to cart