Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started