







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








Fall 2019 Department of Computer Science FAST โ National University of Computer & Emerging Sciences Chiniot Faisalabad Campus
List of Labs
Task โ 02:
from P GROUP BY V_CODE HAVING V_CODE IS NULL
Task โ 03:
from P GROUP BY V_CODE HAVING V_CODE IS NOT NULL
Task โ 07:
from P where P_DISCOUNT=0.
from P where P_DISCOUNT=0. OTHER Task โ 08:
Task โ 09:
Task โ 10:
Task โ 13:
where NOT year(HIREDATE)='1981' Task โ 14:
where year(HIREDATE)>'1981'
Task โ 15:
where month(HIREDATE)='12' Task โ 16:
where year(HIREDATE)='1981'
Task โ 20:
SELECT ENAME, HIREDATE, DATEADD(year, 5 ,HIREDATE) AS NEWHIREDATE FROM EMP