Question
can you combine 2 queries?
Confusing, I know!
Here's my SQL:
SELECT dbo.Samples.sampleID, dbo.Samples.name, dbo.Samples.category, dbo.Samples.jpegPath, dbo.Samples.thumbs
FROM dbo.Samples
WHERE dbo.Samples.sampleID = '#URL.EID#'
I'm successfully getting the result I'm looking for. HOWEVER, I would also like to get all the items that have the same dbo.Samples.category as the URL.EID item.
Is this possible?
Thanks!
Here's my SQL:
SELECT dbo.Samples.sampleID, dbo.Samples.name, dbo.Samples.category, dbo.Samples.jpegPath, dbo.Samples.thumbs
FROM dbo.Samples
WHERE dbo.Samples.sampleID = '#URL.EID#'
I'm successfully getting the result I'm looking for. HOWEVER, I would also like to get all the items that have the same dbo.Samples.category as the URL.EID item.
Is this possible?
Thanks!