dear all..i have a table it looks like:
Name version
DDX 01
DTX 05
could i combine two separate fields become one field? and it will show like:
Model
DDX01
DTX05
thanks before..
dear all..i have a table it looks like:
Name version
DDX 01
DTX 05
could i combine two separate fields become one field? and it will show like:
Model
DDX01
DTX05
thanks before..
You could use the following query (using CONCAT) to insert the Model in a new table or a new column
SELECT
CONCAT(Name,version) AS Model
FROM
table
Use MySQL CONCAT keyword. As for your question, it will be like:-
SELECT CONCAT(Name, version) AS Model FROM table
(as mentioned by others already)
Hope it helps.