How to CREATE a 'VIEW(SQL)' in CodeIgniter and SELECT data from it?
问题 I have a query that needs to check whether the record is still active before it includes it in the query. Now my problem is that the record status of that record is in another database and WE all know that we cant join tables from different databases. What I want to do is to create a view from the other database and I'll just join that view to my query. The problem is HOW can I create a view and select data from it in CodeIgniter? Thanks in advance. By the way, Im not the one who designed the