Changes between Initial Version and Version 1 of InstructionsP6


Ignore:
Timestamp:
01/27/26 16:05:44 (12 days ago)
Author:
vangel.ajanovski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • InstructionsP6

    v1 v1  
     1= Phase P6: Complex DB Reports (SQL, Stored Procedures, Relational Algebra)
     2
     3Conceptualize and implement 2 more complex analytical calculations for each team member and perform them with SQL.
     4
     5You need to try to come up with as complex questions as possible and solve them with just one SQL query, so that they can then be used as reports within your application on a quarterly, semi-annual, annual or multi-year level and would give a picture of the long-term operation in your database.
     6
     7As an example, here are a few possible ideas and directions that you should think about, for a e-commerce oriented project. For other types of projects infer based on these examples:
     8
     9* products that bring the most profit, customers that bring the most profit, good employees, whether discounts can improve sales and earn more...
     10* forecast - which products can be sold out very quickly and the stocks should be replenished
     11* what locations would be a good place for a new store location or a new warehouse would be needed so that customers do not walk around a lot,...
     12* recommendation - discovering customer interests and recommending appropriate products based on interests, based on similar other customers, based on current trends, ...
     13
     14If you are unsure about the level and complexity of the queries, discuss your ideas with your teacher during consultation hours.
     15
     16In some cases it might not be possible to solve the problem with pure SQL query, in which case you might turn to solving the problem with using helper views, stored functions and stored procedures.
     17
     18If you happen to have a good idea for a query, but you lack the appropriate data in your database design, it is advisable to modify the design to include the necessary structures for such data. Any changes should be made to both the **ERModel** and the **RelationalDesign** and submitted to the course accordingly.
     19
     20Finally, write create Relational Algrebra statements for your SQL solutions.
     21
     22Create a wiki page called **AdvancedReports** and use the structure from this template:
     23
     24{{{#!box information
     25
     26= Advanced Reports
     27
     28** Data requiremnts idea/concept title **
     29
     30Data requirements description.
     31
     32 * Solution SQL
     33 * Solution Relational Algebra
     34
     35** Another idea/concept title **
     36
     37...
     38
     39}}}
     40
     41
     42**AI Use**
     43
     44You are free to use an AI to improve your work, provided that you adhere to the following rules:
     45
     46 * you use AI in this phase of the project only to improve your own initial work
     47 * you use AI to create alternative ideas, that you can learn from and borrow and use in your own work
     48 * you document the changes you have made to your own work based on the ideas from the AI tool in the history above
     49 * you document the entire usage of the AI tool in a new wiki page named **AdvancedReportsAIUsage** linked here, that you structure according to the following template
     50
     51{{{#!box information
     52
     53= Use-Case Model AI Usage
     54
     55**Name of AI service/solution that was used**
     56
     57URL:
     58
     59Type of service/subscription:
     60
     61**Final result**
     62
     63Diagram:
     64
     65Results in details / description:
     66
     67**Entire AI usage log**
     68
     69 1. Line-by-line Log of all interactions with the AI (prompt and response)
     70 2. ...
     71
     72}}}
     73