Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CONFIDENTIAL CS/FEB 2021/ICT450/ITS432 QUESTION 4 Consider the following Entity Relationship Diagram (ERD) that shows a relationship between programmer and Programme. Write SQL statements for the

image text in transcribed

CONFIDENTIAL CS/FEB 2021/ICT450/ITS432 QUESTION 4 Consider the following Entity Relationship Diagram (ERD) that shows a relationship between programmer and Programme. Write SQL statements for the following questions: PROGRAMMER Programmer_ID (PK) Programmer_Name Programmer_Position Programmer_Salary writes + PROGRAMME Programme_ID (PK) Programme_Language Programme_StartDate Programme_EndDate Programmer_ID (FK) a) Create PROGRAMMER table. (5 marks) b) List the programmer name, programme language and Programme start date for programmes that use the C++ language. Sequence the results in descending order by programmer name. (3 marks) c) List the different programme languages in descending order. (2 marks) d) Find the total number of programmers who finish writing JAVA programmes in May 2021. (5 marks) e) Add new attributes to the programmer's table: programmer telephone number. (2 marks) f) A programmer with the ID P123 has been promoted to a new position of F48. Update the position of this programmer

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 Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago