Question: Create a database named E 2 _ 1 _ ID ID is your ID at the university ( group is the group number ) The
Create a database named EID
ID is your ID at the university group is the group number
The task is valid when executed on SQL server.
Tasks
Find in the database datatxt: points
the pair of products that generated the most revenue in in the month of your birthday. The
solution is a view called sellID
It should look like
Product A Product B Number of products Value
Your data is in the salesman table. points
Check if your data is in the seller table.
The table is in relation to the product table.
Who sold the same products?
The solution is a procedure sellers with default parameter your ID
Create a table as shown in the picture and write a procedure to add unique data to the tables.
If the added data exists in the table, the procedure should return the id of this data, if this data is
missing, it should add the data and also return the id points
Prepare a script with the solution and save it in a file IDstudentsurnamename.TXT with the TXT
extension.
Place the file on the Platon platform in: Training path elements Introduction to Database Lab
exam
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
