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
Exam (elaborations)

ORACLE : Week # 1 Laboratory : Implementation of DDL Commands

Rating
-
Sold
-
Pages
52
Grade
A+
Uploaded on
02-01-2024
Written in
2023/2024

To create a student database by using DDL commands in SQL Source Code : Create: Create table karthistud(sno number(5), sname varchar(15), address varchar(30), class varchar(10)); Desc karthistud; Alter: Alter table student add section varchar(10); Desc student; Modify: Alter table karthistud modify class varchar(15); Desc karthistud; Drop column: Alter table karthistud drop column address; Desc karthistud; Rename: Rename karthistud to karthistudent; Desc karthistud; Desc karthistudent; Drop table: Drop table karthistudent; Desc karthistudent; Extra Credit: To create a employee database and implement DDL commands. Signature of the Faculty Week # 2 Laboratory : Implementation of DML Commands. Date : ____________ To create a student database by using DML commands in SQL Source Code : Create: Create table stud(sno number(5), sname varchar(15), class varchar(10)); Desc student; Insert: Insert into stud values(&sno,’&sname’,’&class’); Select * from stud; Copy table: Create table stud1 as select * from stud; Desc stud1; Desc stud; Update: Update stud1 set class=’III-BCA’ where sno=102; Desc stud1;

Show more Read less
Institution
Course

Content preview

16CACCA1CP II-B.Com (CA) INTRODUCTION TO ORACLE AND
SQL


Week # 1 Laboratory : Implementation of DDL Commands.

Date : ____________



To create a student database by using DDL commands in SQL

Source Code :

Create:

Create table karthistud(sno number(5), sname varchar(15), address varchar(30), class

varchar(10));

Desc karthistud;

Alter:

Alter table student add section varchar(10);

Desc student;




Department of Commerce, Valluvar College of Science and Management. Karur Page 1

,16CACCA1CP II-B.Com (CA) INTRODUCTION TO ORACLE AND
SQL
Modify:

Alter table karthistud modify class varchar(15);

Desc karthistud;



Drop column:

Alter table karthistud drop column address;

Desc karthistud;




Department of Commerce, Valluvar College of Science and Management. Karur Page 2

,16CACCA1CP II-B.Com (CA) INTRODUCTION TO ORACLE AND
SQL


Rename:

Rename karthistud to karthistudent;

Desc karthistud;

Desc karthistudent;



Drop table:

Drop table karthistudent;

Desc karthistudent;




Department of Commerce, Valluvar College of Science and Management. Karur Page 3

, 16CACCA1CP II-B.Com (CA) INTRODUCTION TO ORACLE AND
SQL


Extra Credit:

To create a employee database and implement DDL commands.




Department of Commerce, Valluvar College of Science and Management. Karur Page 4

Written for

Course

Document information

Uploaded on
January 2, 2024
Number of pages
52
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$18.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


Also available in package deal

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
THEEXCELLENCELIBRARY Harvard University
Follow You need to be logged in order to follow users or courses
Sold
18
Member since
2 year
Number of followers
6
Documents
2641
Last sold
3 months ago
THE EXCELLENCE LIBRARY

The Excellence Library Where Academic Success Begins. Welcome to The Excellence Library — your trusted marketplace for past and upcoming exam papers with verified answers, spanning all academic fields. Whether you're a med student, a future lawyer, a high schooler prepping for finals, or a researcher looking for model dissertations — we've got you covered. What We Offer Accurate & Complete Exam Papers From Medicine, Nursing, Law (Bar Exams), High School subjects, and more. Model Dissertations & Novels Top-tier academic references and full-text materials to guide your writing and study. Affordable & Fair Pricing Quality resources at a price that respects students' budgets. Why Choose Us? Thoroughly Reviewed Answers – Every paper includes clear, correct solutions. Massive Library – Thousands of documents, constantly updated. Academic Excellence, Delivered – We help you prepare smarter, not harder. Fast Delivery – Get what you need, when you need it. Our Goal To empower students and professionals by offering reliable, affordable academic materials — helping you succeed one paper at a time.

Read more Read less
2.5

2 reviews

5
0
4
0
3
1
2
1
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