Hi,
I have a database with fields called lass_town and lass_state. I am merging data from this table into another table....using the following mysql query.
mysql_query("INSERT INTO realtymls.mastertable (Id,town,list_price,type)
SELECT lass_id,lass_city,lass_price1,type FROM homesfsbo.lass");
What I would like to be able to do is something like the following:
mysql_query("INSERT INTO realtymls.mastertable (Id,town,list_price,type)
SELECT lass_id,lass_city lass_state,lass_price1,type FROM homesfsbo.lass");
I would like the result for the state to be added to the merged town field.
The results for lass_city is Claremont and the result for lass_state is NH.....so I would like the merged result to be Claremont NH
Any ideas on how I need to restruture my query?
Thanks.