troubleshooting Question

remove invalid data

Avatar of benissitt
benissitt asked on
Microsoft SQL ServerDB Reporting ToolsSQL
6 Comments1 Solution261 ViewsLast Modified:
I have records for 2 fields (orderno and planningjob) that are held in the same table (binding).

I have attached a spreadsheet that is the result of:

select orderno, planningjob from binding
order by orderno

As you can see, some orderno are duplicated and some have a planningjob record associated.
Some orderno have a planningjob associated for one record but then not for another. (See Orderno 17. There are 5 records for it but only 2 have a planningjob associated).

I need to be able to only show records that don't have any planningjob associated at all

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 6 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 6 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