Question: An incorrect database name on the server will disqualify the task. ( 1 4 8 . 8 1 . 1 9 6 . 5 1

An incorrect database name on the server will disqualify the task. (148.81.196.51\LABSQLSVR01,50067).
Create a database named E2_grup_ID
ID is your ID at the university
The task is valid when executed on SQL server.
Tasks
1.(5 points) Create foreign keys in tables,
then find in the database (Upload data from data_2024_May.txt):
the pair of products that generated the most revenue by the seller with the ID (ID is your ID in the
university). The solution is a view called sell_ID (ID your number). It should look like
Product A Product B Number of products ID Value
2.(3 points) Your data is in the salesman table.
Check if your data is in the seller table, else use id=121212
The table is in relation to the product table.
Who sold the same products (at least one product) with You in in November 2022?
The solution is a procedure sellers with default parameter (your ID)
3.(3 points) Create a tables as shown in the figure and write a trigger that records insert and delete
changes to the product table.
Prepare a script with the solution and save it in a file (ID_student_surname_name.TXT) with the TXT
extension.
Place the file on the Platon platform in: Training path elements - Introduction to Database Lab exam_2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!