Florida International University Embedded SQL Retrieval Queries Project
Description
The purpose of this assignment is to familiarize with the design of embedded SQL retrieval queries using the Company database ( Tables (Links to an external site.) and Description (Links to an external site.) ) in XAMPP.
Write an embedded SQL program (asg5.java) with Java as the
host language that would prompt for an input text file (that contains one project number per line with no hyphens or spaces).
For each input line,
if the input project number value is invalid, print a invalid input message
otherwise, output the following:
– project number
– name of the project
– name of the department that controls the project
– name of the manager of the department
– the number of work assignments for the project
Also, list the average number of work assignments per (valid) project (a single value for the entire input file)
Assume that the input file contains at least one valid project number.
Use dynamic SQL queries with parameters and the queries should not use any data values (given in the sample data set).
You are encouraged to use several embedded dynamic SQL queries and share values among them through Java variables.
Upload the embedded query program (asg5.java) with adequate comments through Canvas with its output and the following declaration:
Relational database design
o Functional dependency
o Normal forms (1NF, 2NF, 3NF, BCNF)
o Multivalued dependency (4NF)
o Join dependency (PJNF, 5NF)
Things to do
- Links to an external site.“>https://users.cs.fiu.edu/~prabakar/cop4710/2021-01/video/GMT20210308-202503_COP4710-U0_1920x1080.mp4Links to an external site.
- Links to an external site.“>https://users.cs.fiu.edu/~prabakar/cop4710/2021-01/video/GMT20210310-203050_COP4710-U0_1920x1080.mp4Links to an external site.
Have a similar assignment? "Place an order for your assignment and have exceptional work written by our team of experts, guaranteeing you A results."