Yes you can. Try something like this:
SELECT a.ID, CONCAT(a.name,' ',b.surname) AS FULL_Name
FROM table_a a JOIN table_b b
ON a.ID = b.ID
See this SQLFiddle
More Related Contents:
- NOT LIKE not working with SHOW [duplicate]
- Get top n records for each group of grouped results
- Joining three tables using MySQL
- Join tables with SUM issue in MYSQL
- Strange duplicate behavior from GROUP_CONCAT of two LEFT JOINs of GROUP_BYs
- MySQL Orderby a number, Nulls last
- Troubleshooting “Illegal mix of collations” error in mysql
- sql joins as venn diagram
- How should I store GUID in MySQL tables?
- How to perform a mysqldump without a password prompt?
- MySQL, better to insert NULL or empty string?
- MySQL indexes – what are the best practices?
- Selecting random rows with MySQL
- How to remove leading and trailing whitespace in a MySQL field?
- How to reset the root password in MySQL 8.0.11?
- How does MySQL CASE work?
- What characters have to be escaped to prevent (My)SQL injections?
- How to save MySQL query output to excel or .txt file? [duplicate]
- MySQL: Set user variable from result of query
- Is there a naming convention for MySQL?
- NodeJS responded MySQL timezone is different when I fetch directly from MySQL
- ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’ [duplicate]
- How to swap values of two rows in MySQL without violating unique constraint?
- SQL date format convert? [dd.mm.yy to YYYY-MM-DD]
- Would it help to add index to BIGINT column in MySQL?
- MySQL: set field default value to other column
- CREATE command denied to user?
- What is the MAX number if I store int(255) in MySQL?
- How to initialize mysql container when created on Kubernetes?
- Auto-increment is not resetting in MySQL