how can I select only all done Task in MYSQL? : <p>I am doing a simple task in MYSQL . As Example , There is Jib(jobId) and subjid(subJobId) and UL. SubJobId is a Id refereed to JOBID and each SubJID has a ul field , I Only need those  JID(JobId) whose UL is 1, if there is even 1 UL is 0. then it'll ignore.</p>

<p>please check the image
<a href="https://i.stack.imgur.com/wcUz3.jpg" rel="nofollow noreferrer">enter image description here</a></p>
