troubleshooting Question

getting data from 2 tables...

Avatar of aej1973
aej1973 asked on
Microsoft SQL ServerRouters
9 Comments2 Solutions377 ViewsLast Modified:
Hi, I have a mysql db with two tables as follows:

code         acct      status  
001           1            0
002           2            0
003           3            1

code         acct      notes  
001           1            active

I need a query that will give me the following output...

account      status   notes
001-1            0        active
002-2            0
003-3            1

Thanks for the help

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

Join our community to see this answer!
Unlock 2 Answers and 9 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 2 Answers and 9 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