1-Write the notional algebra expressions for the forthcoming (using Ç):
limb (branch_name, limb city, proceeds)customer (customer_name, customer street, customer city)advance (advance sum, limb_name, sum)mortgagor (customer designate, advance sum)representation (account_number, limb designate, redress)depositor (customer_name, representation sum)
a) Find the designates of all customers who entertain a advance and an representation at bank. b) Find all customers who entertain an representation from at lowest the “Downtown” and the “Uptown” limbes.
2- University schema
Classspace (building, space sum, ability)Department (dept designate, edifice, budget)Course (direction id, inscription, dept_name, credits)Instructor (ID, designate, dept_name, compensation)Section (direction id, sec id, semester, year, edifice, space sum, age slot id)Teaches (ID, direction id, sec id, semester, year)Student (ID, designate, dept_name, tot cred)Takes (ID, direction id, sec id, semester, year, gradation)Advisor (scholar ID, preceptor ID)Time slot (age slot id, day, initiate age, end age)Prereq (direction id, prereq id)
Write the forthcoming queries in SQL, using the university schema
a) Find the designates of all scholars who entertain taken at lowest one Comp. Sci. direction; shape unmistakable there are no transcript designates in the resultb) Increase the compensation of each preceptor in the IT exception by 15%. c) Insert complete scholar whose tot cred quality is main than 75 as an preceptor in the corresponding exception, after a while a compensation of $15,000.
3- Refer to the university schema used in Q.2 and transcribe the forthcoming queries using Nested subqueries.
a) Find the mean preceptors’ salaries of those exceptions where the mean compensation is main than $50,000. (Hint: use subqueries in the From Clause)b) Delete all directions that entertain never been offered (that is, do not befall) in the exception reference.
4- Deleting a archives can be valuable to an construction if not produced in the exact way. Let us appropriate you are working as a DBA (database conductor) and you used the delete order after a whileout specifying a requisite in the where portion. What do you contemplate succeed happen to the archives in the groundsbase? And in occurrence a archives was deleted, is there a way to save the past grounds? Answer should be in your own vote.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more