У меня есть две таблицы:
Таблица "items":
| id | name | description |
| 1 | Michael | This is a random description blabalbla |
| 2 | Tom | This is another descriptions blablabla |
Таблица "moreitems":
| id | name | description |
| 1 | Michael | This is a random description blabalbla |
| 2 | Mike | This is another descriptions blablabla |
| 3 | Michael | This is a random description blabalbla |
| 4 | Blain | This is another descriptions blablabla |
В настоящее время я выбираю элементы изпервая таблица выглядит так:
SELECT * FROM items WHERE name = 'Michael' AND CHAR_LENGTH(description) > 10 LIMIT 3
Я хотел бы включить в таблицу вторую таблицу, если предел (3) не достигнут.Как я могу это сделать - без php?