Internship Report
Internship Report
Submitted to
Submitted by
NAME : SURYA DEV GUPTA
BRANCH : CSE
SECTION : C
COLLEGE : LNCTE
ENROLL NO. : 0176CS231204
Submitted to
Submitted by
NAME : SURYA DEV GUPTA
BRANCH : CSE
SECTION : C
COLLEGE : LNCTE
ENROLL NO. : 0176CS231204
December 2024
Report on MySQL
PAGE NO.
Introduction 1
Overview of SQL and MySQL.
Difference between SQL and MySQL.
Course Certificate 15
Conclusion 16
Importance of MySQL in modern
applications.
Personal learning outcomes.
1
Introduction
Databases play a crucial role in today’s data-driven
world, serving as the backbone for storing,
organizing, and managing data. Among the tools
designed to handle such tasks, MySQL stands out as
one of the most popular and widely used database
management systems. Before diving into MySQL, it is
essential to understand its foundation—SQL.
Understanding SQL
SQL (Structured Query Language) is a standardized
programming language used to interact with
relational databases. It provides the tools needed to
manage data effectively, including creating,
modifying, retrieving, and deleting data. SQL is used
by developers, analysts, and database administrators
to handle operations on structured data.
What is MySQL?
Significance of MySQL
MySQL is widely used in various industries for
building robust applications. From small-scale
personal projects to large enterprise systems,
MySQL’s scalability, performance, and ease of
integration make it an ideal choice. It is especially
prevalent in web development, e-commerce, and
data analytics.
6.Joins
Combine data from multiple tables, with common
types being INNER JOIN and LEFT JOIN.
7.Indexes
Improve query performance by enabling faster data
retrieval.
8.Transactions
Ensure reliable execution of multiple database
operations, maintaining consistency and durability.
Example:
Fetch all students with grades above 80:
Example:
Add a new student to the students table:
3. UPDATE Statement
The UPDATE statement modifies existing records in a
table based on a condition.
Syntax:
4. DELETE Statement
The DELETE statement removes records from a table
based on a condition.
Syntax:
Example:
Remove a student with a grade below 40:
2.Aggregate Functions
Example:
4.Subqueries
Use nested queries for advanced filtering.
Example:
5.Stored Procedures
Reusable SQL code for repetitive tasks.
6.Transactions
Group multiple operations for consistent changes.
7.Views
Create virtual tables for simplified queries and
restricted access.
Name: Surya Dev Gupta
Enrollment No. 0176CS231204
Practical Applications of MySQL
13
MySQL is widely used across industries due to its
scalability, reliability, and ease of use. Some of its
practical applications include:
1. Web Development
MySQL is a cornerstone of dynamic web applications,
often used with PHP or other server-side languages to
power websites, manage user data, and handle
transactions.
Example: Social media platforms store and retrieve
user profiles, posts, and interactions using MySQL.
2. E-commerce Platforms
Online stores utilize MySQL to manage product
catalogs, customer data, inventory, and transactions.
Example: Shopping cart systems rely on MySQL to
track user selections and process orders.
3. Data Warehousing and Analytics
Organizations use MySQL to store and analyze large
datasets, supporting business intelligence and
reporting tools.
Example: Sales and marketing teams analyze trends
and customer behaviors using MySQL databases.
Name: Surya Dev Gupta
Enrollment No. 0176CS231204
14
4. Content Management Systems (CMS)
CMS platforms like WordPress and Drupal use MySQL
to store and retrieve content such as blog posts, user
comments, and media files.