I have a customer table
customers
+---------+
| id |
+---------+
| 1 |
And a varchar table
customers_varchar
+-------+-----------+
| id | value |
+-------+-----------+
| 1 | firstname |
+-------+-----------+
| 1 + lastname |
Here's my select statement
SELECT c.id, cv.value FROM customers AS c
LEFT JOIN customer_varchar AS cv
ON c.id = cv.id;
What I get is
ROW 1
1 | firstname
ROW 2
1 | lastname
What I would like is
ROW 1
1 | firstname | lastname