Professional Documents
Culture Documents
SQL Q4
SQL Q4
SQL Q4
d) SELECT R.riderName
FROM DELIVERY AS D, RIDER AS R
WHERE
D.rIderID =R.riderID
AND
D.status= ‘delivered’
ORDER BY R.riderName ASC;
*if
e)
SELECT D.pakageID AS “Pakage ID”, C.coutomerName AS “Customer Name”,D.status AS “Status”
FROM DELIVERY AS D, CUSTOMER AS C
WHERE
D.icNum =C. icNum
AND
D.status= ‘dilivered’;
*if strictly following the exact how the table and its data are represented