Click to follow our Afritutor YouTube Channel, subscribe and click notifications and get updates on new learning videos
<=Back
Table 1 shows a relation named workers in a database. Use it to answer the questions that follow:
Write a Structured Query Language statement that:
i) Was used to create the workers relation having the field Id with unique values: (2 marks)
ii) Would change all the values to 20000 in the salary column for the workers in the support department: (2 marks)
iii) Would delete the record for the worker named Mebe: (2 marks)
iv) Would display the columns Name and Department for the workers whose age is between 25 and 30, sorted in descending order by Department: (2 marks)
v) Would display the columns Department and the sum of salary for each department displayed as TOTAL SALARY: (2 marks)
 Viewed: 105 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!
Share in: