CREATE VIEW V AS(SELECT R1.A,R2.B FROM R AS R1, R as R2 WHERE R1.B=R2.A)
Suppose the current contents of relation R
------------------------------------------------------------------------------------------------------------------------
How to create view? Give some instances of it