Answered step by step
Verified Expert Solution
Link Copied!

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 E2_1_ID
ID is your ID at the university (group is the group number)
The task is valid when executed on SQL server.
Tasks
1. Find in the database data_2024_1.txt: (3 points)
the pair of products that generated the most revenue in 2021, in the month of your birthday. The
solution is a view called sell_ID.
It should look like
Product A Product B Number of products Value
2. Your data is in the salesman table. (3 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)
3. 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.(3 points)
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_11

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

What factors in Nooyis Five C model facilitate employee trust?

Answered: 1 week ago