Создание объединенного представления в MySQL
mysql> CREATE VIEW customer_V AS Select DISTINCT Name FROM customers c INNER JOIN Reserve R ON R.id = c.customer_id;
Query OK, 0 rows affected (0.08 sec)
mysql> Select * from customer_V;
+---------+
| Name |
+---------+
| Rahul |
| Yashpal |
| Gaurav |
+---------+
3 rows in set (0.02 sec)
Grotesque Gull