Jump to content

Column combination Query! not addition


ihernandez791079

Recommended Posts

Anyone have any suggestions.??

 

I have Table <customers>

 

I need to query the data points in Column ID ( data type_ Int ) and Column Lot (data type_Int) FROM customers

 

but what my query is doing is adding this two data points up. and I don't want a SUM result.

 

ex. if

 

ID = 100 and Lot = 543 my query result = 643

 

what I am looking for is

 

IF

 

ID=100 and Lot = 543 my query result should be= 100543

 

 

 

SELECT customers.ID + ' ' +customesr.Lot AS combined FROM customers

 

 

 

 

 

ANY SUGGESTIONS PLEASE!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...