I need to create a view which will query a few specified tables and return a view table with one row. Table must be formed with column with table names and one row must be returned with values True/False depending on the table have rows or not.
For example, I have four tables:
Medication / Patient / User / Appointment
I need to check them tables if they have rows or not and return a view table with one row and columns like that.
Medication | Patient | User | Appointment
True | False | False| True