DBMS Anjali
DBMS Anjali
UNIVERSITY
DBMS
PRACTICAL FILE
SUBJECT CODE: PCC-CSE-201G
PROGRAM 2
Create a program to insert the values in the table.
PROGRAM 3
Create a program to display all the values in the table.
PROGRAM 5
Create a program to modify in the table by adding the new
column in the above table.
PROGRAM 6
Create a program to drop a column in the table.
PROGRAM 7
Create a program to update the values of in the table.
PROGRAM 8
Create a program to arrange the values in the descending
order.
Syntax : select <column name > from < table_name > order by
< column name > desc ;
PROGRAM 9
Create a program to arrange the values in the ascending order.
Syntax : select < column name > from < table name > order by
< column name > asc ;
PROGRAM 10
Create a program to calculate the average value.
PROGRAM 11
Create a program to group the result- set by one column.
Syntax : select <column name> from <table name> where
<condition> group by <column name
PROGRAM 12
Create a program using HAVING .
PROGRAM 13
Creating a New Table :
PROGRAM 15
Create a program to perform the union operations by joining
the two tables.
Syntax : select
table_name1.column_name,table_name2.column_name
from table_name1,table_name2
where condition ;
Table 1 -
Table 2 -
PROGRAM 16
Create a program to display the values between the given
range.
PROGRAM 17 :
Create a program to calculate a length of the string.
PROGRAM 18
Create a program to display the record using OR operator.
PROGRAM 19
Create a program to display the record using AND operation.
Syntax : select from table_name where condition1 AND
condition2 AND .... condition n ;
PROGRAM 20
Create a program to display the multiple values .
PROGRAM 21
Create a program using LIKE operator to display a specified
pattern .
PROGRAM 23
Create a program to display the minimum values in the table .
PROGRAM 24
Create a program to count the total number of rows in the
table.
Syntax : select COUNT(column_name) from table_name ;
PROGRAM 25
Create a program using NATURAL JOIN