database - How do I append a column to the end of another column in SQL -


I need to add columns from one column to another using the SQL command and need some help with syntax.

I have an image column with 'http://i2.ytimg.com/vi/' as the value of all the fields in the table. I need to add at the end of this string, different values ​​for each entry in the Value Url field from one column, called "url", have different values.

I was thinking something like this:

  SELECT image + url FROM 'movies';  

Thanks for any help.

Also, I need to rear the second column, where I need to add values ​​from one column to the beginning, in any other column.

:)

  select image || From URL 'movies' as url;  


Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -