SEU Salesman and Customer tables Programming Questions

Assignment 2Question One
Pg. 01
Learning
Outcome(s):
Question One
1.5 Marks
From the Salesman and Customer tables below, write SQL statements to do the
following:
a) List the salesman id, rating and names of those salesmen who get rating from 3 to 5,
sorted DESCENDING by rating.
LO3
Create EntityRelationship
model, Relational
b) List all the customers’ information whose name starts with ‘F’ and the fourth
character is ‘I’, rests may be any character.
c) List the name and country of those customers and salesmen who belongs to the same
country.
model, and write
SQL queries
Salesman table:
Customer table:
Question Two
Pg. 02
Learning
Outcome(s):
Question Two
1.5 Marks
Write SQL statements to do the following on the database schema shown below.
LO3
Create EntityRelationship
model, Relational
model, and write
SQL queries.
a) Insert a new record in the course table with the following data values
course number = ‘COSC4390’
course name = ‘Knowledge Engineering’
course credit hours= ‘3’
department = ’COSC’>.
b) Change the class of student ‘Ahmed’ to 4.
c) Delete the record of the student whose name is ‘Ahmed’ and his number is 22.
Question Three
Pg. 03
Learning
Outcome(s):
LO3
Create EntityRelationship
model, Relational
model, and write
SQL queries.
Question Three
2 Marks
Map the database schema shown in the following figure into a relational database
schema.

Calculate your order
275 words
Total price: $0.00

Top-quality papers guaranteed

54

100% original papers

We sell only unique pieces of writing completed according to your demands.

54

Confidential service

We use security encryption to keep your personal data protected.

54

Money-back guarantee

We can give your money back if something goes wrong with your order.

Enjoy the free features we offer to everyone

  1. Title page

    Get a free title page formatted according to the specifics of your particular style.

  2. Custom formatting

    Request us to use APA, MLA, Harvard, Chicago, or any other style for your essay.

  3. Bibliography page

    Don’t pay extra for a list of references that perfectly fits your academic needs.

  4. 24/7 support assistance

    Ask us a question anytime you need to—we don’t charge extra for supporting you!

Calculate how much your essay costs

Type of paper
Academic level
Deadline
550 words

How to place an order

  • Choose the number of pages, your academic level, and deadline
  • Push the orange button
  • Give instructions for your paper
  • Pay with PayPal or a credit card
  • Track the progress of your order
  • Approve and enjoy your custom paper

Ask experts to write you a cheap essay of excellent quality

Place an order