troubleshooting Question

Sql in a join 2 diffrenet value rquires form same table

Avatar of Roberto Parker
Roberto ParkerFlag for Mexico asked on
Microsoft SQL Server
8 Comments1 Solution20 ViewsLast Modified:
I have an ms sql query

select * from pass left join respuestas where
The respuestas record points to pass and I can retrieve any field value from pass or respuestas from the generated recordset.

But the respuestas table has another value say idx that ponts to adifferent pass record. I need a value from the pass table.right now I am retrieveibg the value individually when required. it consumes a lot of resources. Is there a way ad add it to the recordset or somethng like
select * from pass left join respuestas where but I have to match the records. I am at a loss

Dustin Saunders
Co-Founder and Chief Architect

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

Top Expert 2016

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 8 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 8 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