Answers for "creating a joined view in mysql"

SQL
0

creating a joined view in 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)
Posted by: Guest on February-24-2022

Code answers related to "SQL"

Browse Popular Code Answers by Language