Date's Twelve Rules For Distributed Database Systems
Date's Twelve Rules For Distributed Database Systems
Submitted by:
Daud Khalid (Bscs-fa18-015)
BSCS-6th
Subject:
Distributed Database Management System
Submitted to:
Miss Anum Nawaz
Assignment # 1
Find the names and salaries of employees who are assigned to projects for over
12 weeks.
Practical in MySQL/SQL?
Query:
SELECT a.ename, c.sal
FROM EMP a, ASG b, PAY c
WHERE a.eno = b.eno
AND a.title = c.title
AND b.dur >= 12;