22MCC20125 Anshuman Ba WS 2.1
22MCC20125 Anshuman Ba WS 2.1
22MCC20125 Anshuman Ba WS 2.1
Worksheet -2.1
Subject code–22CAH703
Aim: 1. Explain the term SQL and Oracle. state their use and benefits.
(1).
SQL (Structured Query Language):
Use:
o Querying and retrieving data from databases.
o Inserting, updating, and deleting records in a database.
o Defining and modifying the structure of a database.
o Managing user permissions and security.
Benefits:
o Simplicity: Relatively easy to learn and use, especially for basic queries.
o Data Integrity: Ensures data consistency and integrity through constraints and
transactions.
o Scalability: Efficiently handles large amounts of data.
o Data Security: Provides mechanisms for access control and data protection.
Oracle:
Use:
o Database Management: Oracle Database is used to store, manage, and retrieve
large volumes of data efficiently.
o Enterprise Applications: It's commonly used for large-scale enterprise
applications, including ERP (Enterprise Resource Planning) systems.
o Data Warehousing: Oracle is widely used for data warehousing and business
intelligence solutions.
o Cloud Services: Oracle offers cloud-based database services like Oracle Cloud
Database Service.
Benefits:
o High Performance: Known for its speed and efficiency in handling complex queries and
transactions.
o Scalability: Scales well with growing data needs, making it suitable for enterprise-level
applications.
o Security: Offers advanced security features to protect sensitive data.
o Reliability and Availability: Known for high availability and reliability, minimizing
downtime.
o Comprehensive Features: Provides a wide range of features for data management,
analysis, and reporting.
o Support and Community: Has a large user community and professional support
services.
Q2 SOLUTIONS: -
Step5-Selectthesetupsyouwanttoinstall
Step6-Selecttheconfigtype–Development Computer
Connectivity–TCP/IP
Port-3306 Protocolport–33060
2
Clickon Next
Andthenselectapasswordforyouraccount
Step7-OncetheconfigurationiscompleteclickonFinish
Step8–OpentheMYSQLworkbenchandlogintoyourlocalhostaccountusing your
password
3
Step 9 – To use MySQL command prompt, copy the address of Bin from
LocaldiskC>Programfiles>MY SQL>MySQLshell8.0>binandcopy theaddress
of Bin
Searchforenvironmentvariables>Properties>Addpathandpastethecopied path
address > Ok
Step10-OpenMySQLcommandpromptandusedifferentcommandstocheck the
installation
Learningoutcomes(WhatIhavelearnt):
1. WhatisDBMS
2. InstallationofMY-SQL
3. WorkingwithMYSQL
4