(i)
SELECT WNAME, WAGE FROM WORKER WHERE WAGE BETWEEN 800 AND 1500;
This SQL command retrieves the WNAME and WAGE columns from the table WORKER
for all rows where the WAGE is in the inclusive range of 800 to 1500.
From the given data, this would include:
Ahmed J (1500), Jacob B (780 - excluded), Anju S (1200).
So the result includes: Ahmed J, Anju S.
(ii)
SELECT * FROM WORKER WHERE SITEID IS NULL;
We use IS NULL to check for missing values.
In SQL, = NULL will not work — only IS NULL is valid.
From the given data, only W15 (Nihal K) has SITEID = NULL.
Hence, only that record will be shown.
(iii)
SELECT WNAME, WAGE, HOURS FROM WORKER WHERE TYPE = 'Skilled';
This selects three specific columns from the table for workers whose TYPE equals 'Skilled'.
From the data:
W11 (Naveen S) and W10 (Anju S) are both marked as Skilled.
(iv)
UPDATE WORKER SET WAGE = 1200 WHERE TYPE = 'Semiskilled';
This command updates the WAGE field and sets it to 1200
for all records where the TYPE is exactly 'Semiskilled'.
In the table, only W15 (Nihal K) matches that condition.