I am working on a web application (PHP/MySQL) and I am looking for the best performance.
I am building a view, in this view I have to join multiple data but I was wondering, what is the best choice between joining a view with another view or with tables.
To be more clear, if i have:
View_1 = Table_A join Table_B
And i need in View_2 data from Table_A and Table_B, should I do
View_2 = Table_C join View_1 OR View_2 = Table_C join Table_A join Table_B
Thank you very much