Posted by: KaliKoPoi May 2, 2017
Help in SQL Query
Login in to Rate this Post:     0       ?        
First join like this:
select i.Numbers as Number from I i join W w on i.Numbers = w.Numbers
Then use filter to get the record you need:
where w.Boolean="Yes" and i.Values != 'D'

Actual query depends on database you are using.
Read Full Discussion Thread for this article