Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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_2_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 the second quarter 2021. The solution is a
view called sell.
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 (at least one product) with You in your birthday month (year 2021 and
2022)?
The solution is a view called sellers.
3. Create a tables as shown in the picture and use (write) triggers for updates and for inserting data in
tables.

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 Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions