Laboratory Manual (FT Coverage) - SQL Databasing and Integrating With Windows Forms - REV2
Laboratory Manual (FT Coverage) - SQL Databasing and Integrating With Windows Forms - REV2
Disclaimer: This module is strictly confidential communication to and solely for the use of the recipient (All BSCpE 2nd Year Student) and may not be reproduce or
circulated without prior consent. If you are not the intended recipient, you may not disclose or use the information in this module in any way. This module is for
DEPARTMENT OF COMPUTER ENGINEERING informational purposes only with knowledge derived from study, experience, or instruction. All concepts and references belong to its rightful owners. No copyright
BACHELOR OF SCIENCE IN COMPUTER ENGINEERING infringement intended.
CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN
College of Engineering
Computer Engineering Department
2nd Semester A.Y.: 2022-2023
FT Coverage
Disclaimer: This module is strictly confidential communication to and solely for the use of the recipient (All BSCpE 2nd Year Student) and may not be reproduce or
circulated without prior consent. If you are not the intended recipient, you may not disclose or use the information in this module in any way. This module is for
DEPARTMENT OF COMPUTER ENGINEERING informational purposes only with knowledge derived from study, experience, or instruction. All concepts and references belong to its rightful owners. No copyright
BACHELOR OF SCIENCE IN COMPUTER ENGINEERING infringement intended.
CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN
FINAL COVERAGE
SQL DATABASING AND INTEGRATING WITH WINDOWS FORM
EXPERIMENT # 5
(DATABASE MANIPULATION)
Overview:
In this experiment, you will be able to learn on how to write codes using structured
query language (SQL). From your previous experiments, you might as well connect your created
GUI design to your formulated database.
SQL is a standard language for storing, manipulating and retrieving data in databases.
What is SQL?
SQL stands for Structured Query Language
SQL lets you access and manipulate databases
SQL became a standard of the American National Standards Institute (ANSI) in 1986, and of the
International Organization for Standardization (ISO) in 1987.
What Can SQL do?
SQL can execute queries against a database
SQL can retrieve data from a database
SQL can insert records in a database
SQL can update records in a database
SQL can delete records from a database
SQL can create new databases
SQL can create new tables in a database
SQL can create stored procedures in a database
SQL can create views in a database
SQL can set permissions on tables, procedures, and views
Objectives:
➢ To write a code in SQL language.
➢ To connect GUI design to your database.
Programming Language:
Visual Basic / VB.Net , SQL
Procedure
➢ Click Tools
➢ Choose SQL Server then select New Query.
Disclaimer: This module is strictly confidential communication to and solely for the use of the recipient (All BSCpE 2nd Year Student) and may not be reproduce or
circulated without prior consent. If you are not the intended recipient, you may not disclose or use the information in this module in any way. This module is for
DEPARTMENT OF COMPUTER ENGINEERING informational purposes only with knowledge derived from study, experience, or instruction. All concepts and references belong to its rightful owners. No copyright
BACHELOR OF SCIENCE IN COMPUTER ENGINEERING infringement intended.
CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN
BUILD PROGRAM
TASK #1 Create a DATABASE using structure query language. (Total: 100 pts)
Disclaimer: This module is strictly confidential communication to and solely for the use of the recipient (All BSCpE 2nd Year Student) and may not be reproduce or
circulated without prior consent. If you are not the intended recipient, you may not disclose or use the information in this module in any way. This module is for
DEPARTMENT OF COMPUTER ENGINEERING informational purposes only with knowledge derived from study, experience, or instruction. All concepts and references belong to its rightful owners. No copyright
BACHELOR OF SCIENCE IN COMPUTER ENGINEERING infringement intended.
CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN
Note: If you are not a regular student, just use the data/ enrolled subjects under your account.
DateTime Format = mon dd yyyy hh:mi:ss:mmm AM (or PM).
15. Write a SQL statement to find and display the average grade having a column name as “AVERAGE
GRADE”.
16. Write a SQL statement to find and display the total Units having a column name as
“TOTAL UNITS”.
17. View all the records under the ‘Teacher’ column into uppercase having a column name as
“TEACHER NAME IN UPPERCASE”.
18. View all the records under the ‘Code’ column into lowercase having a column name as “CODE
NAME IN LOWERCASE”.
19. Write a SQL function to view the length of the ‘Course Number’ text field having a column name as
“NUMBER OF CHARACTERS”.
20. Round off all the grades into the nearest hundredths.
Failing 0-20 pts Program that does not run and /or implemented incorrectly (based
on specifications and restrictions) automatically gets 0 for this
course output
Disclaimer: This module is strictly confidential communication to and solely for the use of the recipient (All BSCpE 2nd Year Student) and may not be reproduce or
circulated without prior consent. If you are not the intended recipient, you may not disclose or use the information in this module in any way. This module is for
DEPARTMENT OF COMPUTER ENGINEERING informational purposes only with knowledge derived from study, experience, or instruction. All concepts and references belong to its rightful owners. No copyright
BACHELOR OF SCIENCE IN COMPUTER ENGINEERING infringement intended.
CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN
REQUIREMENTS ON ANSWERING:
*Date of Submission:
1 meeting – 10pts
2-3 meetings – 25 pts
4 meetings & more – 40 pts
Disclaimer: This module is strictly confidential communication to and solely for the use of the recipient (All BSCpE 2nd Year Student) and may not be reproduce or
circulated without prior consent. If you are not the intended recipient, you may not disclose or use the information in this module in any way. This module is for
DEPARTMENT OF COMPUTER ENGINEERING informational purposes only with knowledge derived from study, experience, or instruction. All concepts and references belong to its rightful owners. No copyright
BACHELOR OF SCIENCE IN COMPUTER ENGINEERING infringement intended.
CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN CPE222L-SOFTWARE DESIGN
Disclaimer: This module is strictly confidential communication to and solely for the use of the recipient (All BSCpE 2nd Year Student) and may not be reproduce or
circulated without prior consent. If you are not the intended recipient, you may not disclose or use the information in this module in any way. This module is for
DEPARTMENT OF COMPUTER ENGINEERING informational purposes only with knowledge derived from study, experience, or instruction. All concepts and references belong to its rightful owners. No copyright
BACHELOR OF SCIENCE IN COMPUTER ENGINEERING infringement intended.