Project Step #4: Data Manipulation Language (DML)
Project Step #4: Data Manipulation Language (DML)
Create and submit your final consolidated technical report which will
include the new requirements outlined below that are from project step 4
as well as all of the previous project steps (1-3). From project step 4, you
must create and submit a SQL script containing your data manipulation
language (DML) statements to insert your sample data into your database
and your twenty queries (12 basic, 8 advanced). Within the consolidated
technical report, you must include the complete textual output from
running your DDL, DML, and queries successfully.
You will also include a literature review of similar systems in your report.
Your final score will include the evaluation of the collection of output as
well as a live, error-free expected run of your script in the environment.
Within your DML and query scripts, the following minimum requirements
must be met:
3. Separate DML for Different Tables with Comments (10 points)
For readability, each block or grouping of DML statements for each table
must be separated with an appropriate comment header with a blank line
after the last statement in the group. Note: the last group does not require
a blank line afterwards.
2. Query 1: Select all columns and all rows from one table (5
points)
3. Query 2: Select five columns and all rows from one table (5 points)
4. Query 3: Select all columns from all rows from one view (5
points)
5. Query 4: Using a join on 2 tables, select all columns and all rows
from the tables without the use of a Cartesian product (5 points)
6. Query 5: Select and order data retrieved from one table (5
points)
7. Query 6: Using a join on 3 tables, select 5 columns from the 3
tables. Use syntax that would limit the output to 10 rows (5 points)
8. Query 7: Select distinct rows using joins on 3 tables (5 points)
These queries are open for you to design but must be complex in nature
such as including multiple table joins, sub-queries, aggregate functions,
etc. These queries will not only be evaluated on their design and
execution but also on their depth of complexity. Challenge yourself and
leverage the techniques learned throughout the course to design your
advanced queries.
Technical Report
a.
o Show output from the execution of all DDL, DML, and SQL
queries. Ensure that all output is formatted professionally and
legibly.