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

DBMS (22bce3875)

Uploaded by

NIRVAAN MOHTA
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)
11 views3 pages

DBMS (22bce3875)

Uploaded by

NIRVAAN MOHTA
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

Database Management Systems

Lab Digital Assignment 1

Name: Nirvaan Mohta


Reg no: 22BCE3875

Q1. Table 1: Students • Create a table named "Students" with the following
columns: Student_ID (primary key) , Name, Email, Phone • Insert the following
data into the "Students" table.

Q2. Table 2: Grades • Create a table named "Grades" with the following columns:
Grade_ID (primary key), Student_ID (foreign key referencing the Students table),
Subject, Grade • Insert the data into
the "Grades" table.
Queries:

1. Write a SELECT statement to retrieve all columns from the "Students" table.

Write a SELECT statement to retrieve all columns from the "Grades" table.

2. Write SELECT statement to retrieve the StudentID who have ‘A’ grade.

You might also like