TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rehaan Ahmed
NA
98
5.3k
sql cte to join two results in one common
Feb 26 2019 2:13 AM
;WITH
group1 AS
(SELECT item as Products from dbo.fnParseDelimitedString('mango,apple,pears,kiwi',',')),
group2 AS
(SELECT item as Price from dbo.fnParseDelimitedString('$3.19,$2.45,$5.00,$2.59',','))
--select Products from group1
select Price from group2
i want to get one result joining both the cte?
Like Products || Price
Reply
Answers (
3
)
Calculate age between current date and birthdate
Sql function to get the max value from @temp table