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
krishna gone
NA
15
609
Sql Server Select Query value of column from another column
Jan 20 2018 2:35 AM
Hi,
I have table below
exiting
col1 col2 col3
1000 2203A 2
1375 2203 2
482 2237 3
1000 2237A 3
i want a select query to get data AS BELOW for col2 with suffix(2203A) should get COL1 value of suffixless(2203) in col1
desired OUTPUT
col1 col2 col3
1375 2203A 2
1375 2203 2
482 2237 3
482 2237A 3
Reply
Answers (
3
)
how to get random 5 record in sql
how to fetch the pin code in address using sql query