Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
15 views3 pages

Atharva P2 DBMS

Uploaded by

syediliyas8282
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)
15 views3 pages

Atharva P2 DBMS

Uploaded by

syediliyas8282
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/ 3

BTCOL506 Database Systems Laboratory

Gramin Technical and Management campus Nanded


Department of computer Engineering (Degree (3rd Year / 5th Sem))
Name- Atharva Yashwantrao Bodhankar PRN No: 24025081245505
Subject - BTCOL506 - Database Systems Laboratory
DOP – ___/___/ 2025 DOC – ___/___/2025

Aim - Creating tables, Renaming tables, Data constraints (Primary


key, Foreign key, Not Null), Data insertion into a table.

Connecting To The Oracle –

1. Query For Creating Table –

Practical No. 2 Page 1 of 3


BTCOL506 Database Systems Laboratory

2. Query For Renaming Table

3. Data Constraints (It Deals With schema of table so it can perform only
by creating table or altering table through alter command. I done it by
Creating tables )
A. Query For Primary Key –

(Note - Creating New Table atharvab and assigning sid to primary key )

B. Query For Foreign key

(Note – For foreign key a previous table required I used above table
‘atharvab’ and assign forign key to its column ‘Sid’ But this column must
have Primary Key )

Practical No. 2 Page 2 of 3


BTCOL506 Database Systems Laboratory

C. Query For Not Null –

4. Query For Inserting Data (Into ‘Atharva_friends’ Table)

Practical No. 2 Page 3 of 3

You might also like