Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CONFIDENTIAL CSVFEB 2021/ICT450/TS432 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 CSVFEB 2021/ICT450/TS432 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_Start Date Programme_End Date 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

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago