Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 52
  • Last Modified:

combine data in sql

hi ,
i have customer table
whit 2 columns that i want to combine
Address         HouseNum
xxxxx                   225

i want to set the value in house num to the address if houseNum exsist
like that
address
xxxxx 225

how can i set it  ?
thanks ...
0
Tech_Men
Asked:
Tech_Men
1 Solution
 
aranaCommented:
something like this?
update customers set address=adress+" "+HouseNum where Housenum>0
or I didnt understand what you need
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now