0% found this document useful (0 votes)
78 views

Assignment 3

This document provides 22 assignments involving calculations and data retrieval using a database management system. The assignments include calculating values using mathematical operators, retrieving dates and date components from the system, manipulating strings, and performing other data operations like rounding, finding remainders, and identifying maximum/minimum values from a list.

Uploaded by

babi das
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
78 views

Assignment 3

This document provides 22 assignments involving calculations and data retrieval using a database management system. The assignments include calculating values using mathematical operators, retrieving dates and date components from the system, manipulating strings, and performing other data operations like rounding, finding remainders, and identifying maximum/minimum values from a list.

Uploaded by

babi das
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DATABASE MANAGEMENT SYSTEM LAB

ASSIGNMENT – 3 BASED ON DUAL TABLE

1. Calculate 10*10.
2. Display system date.
3. Calculate the absolute value of -20.
4. Calculate 10^10.
5. Calculate square root of 25.
6. Round the value 23.565 to one places of decimal.
7. Display ‘TRIDENT’ in lowercase
8. Display ‘trident’ in uppercase.
9. Display the first letter of your name in uppercase.
10. Calculate the length of your name.
11. Write a query that would return a string like “ORA” , if the string inputted is ‘ORACLE’.
12. Find the character position of ‘C’ in the string ‘ORACLE’.
13. Delete the extra spaces from the strings ‘ ORACLE’ and ‘ORACLE ‘.
14. Write a query that would display **ORACLE, if the string inputted is ORACLE.
15. Same as question 14 but the output is ORACLE**.
16. Retrieve the last month specified in system date.
17. Retrieve number of months between 01-01-07 to 01-05-07.
18. Retrieve the date after 5 months of a specified date
19. Retrieve the next day of a specified date.
20. Round 56.23 using negative numbers(e.g.-1,-2, and-3)
21. Find out the remainder of the division 1600/300..
22. Find the maximum and minimum number from a list of numbers.

PREPARED BY: SOMA GUPTA Page 1

You might also like