SQL REPORT1
SQL REPORT1
BY
GROUP FIVE
FOR
FILE, DATABASE SYSTEMS AND MANAGEMENT
ECE 407
JULY, 2024
GROUP LEADER:
MEMBERS:
A DBMS manages the data. The database engine enables data to be accessed,
locked and modified and the database schema defines the database's logical
structure. These three foundational data elements help provide concurrency,
security, data integrity and uniform data administration procedures.
Storage. A DBMS provides efficient data storage and retrieval by ensuring that
data is stored in tables, rows and columns.
Types of Schemas
1. Physical Schema:
2. Logical Schema:
CHAPTER 2
INTRODUCTION TO SQL
2.1 Brief Introduction to SQL
SQL plays a crucial role in retrieving relevant data from databases, which can later
be used by transactions simultaneously where large volumes of data are written
concurrently.
SQL is an American National Standards Institute (ANSI) standard that operates via
multiple by relational databases such as My SQL, SQL Server, Oracle
PostgreSQL, and others.
Top companies owned by Meta Inc., such as Facebook, WhatsApp and Instagram
all rely on SQL for data processing and backend storage.
2.2 Installation
After performing the following setup, we are now ready to use the software for
different purposes.
At the top of the table editor, enter a meaningful name for your table (e.g., “EEE
407”) as shown in Fig 5.
Data Type: Choose the appropriate data type (e.g., INT, VARCHAR, DATE).
Apply Changes:
Once you’ve defined all columns and properties, click the “Apply” button.
MySQL Workbench will generate the SQL script to create the table.
Review the script, and if everything looks correct, execute it to create the table in
your database as shown in Fig 6 & 7.
Fig 6: MySQL script for table creation
For example, a table named ECE 407 GRP PROJECT has columns for
STUDENT NAME, REGISTRATION NUMBER, GENDER, SERIAL
NUMBER and HEIGHT, and each row would contain data for a specific
student, such as Nwosu Nesochukwu , 20201209183, M, 41 and 185 .
Tables are crucial for organizing and managing data efficiently within a
relational database system.
Conclusion
Throughout this project, we have demonstrated the process of
setting up a MySQL database, designing and normalizing tables,
and implementing them using MySQL Workbench.
By leveraging the graphical interface of MySQL Workbench,
we have simplified the complexities involved in database design
and management, making it accessible even to those with
minimal coding experience. The project has underscored the
crucial role that well-structured databases play in supporting the
data needs of modern applications, providing a robust
foundation for future development and scalability.