C
Cine
Hello,
Im new to queries and i'm trying to pull off a seemingly tricky one.
Somehow I need to 'merge' or 'combine' the two queries below into one:
At first glance I thought this was impossible to do but it's worth a try
posting on a forum where people know alot more than me on the subject
Any ideas?
Im new to queries and i'm trying to pull off a seemingly tricky one.
Somehow I need to 'merge' or 'combine' the two queries below into one:
Code:
SELECT TopicName, Duration
FROM tblTopics
WHERE (TopicCode IN (@TopicCode1, @TopicCode2))
Code:
SELECT DateStarted, DateToEnd
FROM tblSubscriptions
WHERE (UserID = @UserID) AND (TopicCode IN (@TopicCode1, @TopicCode2))
At first glance I thought this was impossible to do but it's worth a try
posting on a forum where people know alot more than me on the subject
Any ideas?