troubleshooting Question

mysql .. retrieving if true ..

Avatar of mokatell
mokatell asked on
MySQL Server
7 Comments1 Solution436 ViewsLast Modified:
+-------+-----------+----------
| appID | empid | finished
+-------+-----------+----------
|     5 |         2 |        1
|     5 |         5 |        0
|     5 |         6 |        0
|     9 |         3 |        0
|     9 |         6 |        0
|    21 |         3 |        0
|    21 |         6 |        0
|    21 |         7 |        0
|    21 |         4 |        0
|    26 |         2 |        0
|    26 |         4 |        0
|    26 |         6 |        0
|    22 |         4 |        1
|    22 |         5 |        1
|    22 |         6 |        1
|    22 |         3 |        1
|    22 |         7 |        1
|    20 |         2 |        0
|    11 |         0 |        0
|     8 |         5 |        0
|     8 |         3 |        0
|     4 |         2 |        1
|     4 |         6 |        0
|     7 |         5 |        1
|     7 |         6 |        1
|     7 |         2 |        1
|     6 |         5 |        1
|     6 |         3 |        0
|     6 |         7 |        1

for example ...
in this table ... i wanna get all the appid where its ALL relavent finished column is '1'
ASKER CERTIFIED SOLUTION
max2jhonny

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros