Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started