Consider the relation schemas as follows.
works (person name, company name, salary);
lives (person name, street, city);
located in(company name, city);
managers (person name, manager name); where manager name refers to person name.
Express the following queries firstly using Relational Algebra and then using SQL.
i) Find the names of the persons who work for company 'FBC' (company name= ‘FBC').
ii) List the names of the persons who work for company ‘FBC' along with the cities they live in.
iii) Find the persons who work for company ‘FBC' with a salary of more than 10000. List the names of these persons along with the streets and cities where they live.
iv) Find the names of the persons who live and work in the same city.
v) Find the names of the persons who do not work for company ‘FBC'.