Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Question:
Using the data model express the following queries in SQL.
(a) Create the Table named "Cinema" and make the cinema_code to be the primary key of the relation and the Town and Manager number to be the Foreign key of the table. What are the assumptions you have to make for the code to compile successfully?
(b) Add a new column in the table named Cinema to store the telephone number of the cinema.
(c) Add a new record in the Cinema Table with the following values:
(d) Modify the population value for Cardiff from 300,000 to 350,000.
(e) List all the cinema names and the town in which the film ‘Star Wars' has been shown.
(f) List all the film names and their respective film taking (the number of shows) which has been played at Rex found in Cardiff.
(g) Create a view named Cinema_Rex_View which will shows all the films played at Rex found in Cardiff. The views should have the following columns.
Differance between DDL and SDL? DDL and SDL - The data definition language (DDL) is used through DBA and database designers to describe internal schema, conceptual schema, and
Entities Let us first be aware of the question: What are entities? An entity is an object of concern used to show the things in the actual world, e.g., table, car, bo
A set of possible data values is called? A set of possible data values is called as domain.
Compare the Nested-loop join and block-nested loop join Ans: Nested loop join - It is costly as worst case cost, no. of block accesses needed is n r * b s + b r where b
What is an Operand? The data on which the operation is to be performed is known as an Operand
Define Deadlock avoidance These protocols as well ensure that the system will never enter a deadlock state although the way it is done is different from deadlock prevention. I
Mention the various user privileges All privileges directly granted to the user or role. All privileges granted to roles that have been granted to the user or role.
CREATE TABLE prodtrans ( pno number (4) ptype char (1) CHECK (ptype in ('I','R','S')), qty number (5) FOREIGN KEY pno REFERENCES product (pno) ON DELETE CASCADE);
Control as Concurrent Tasks The expression control as simultaneous task means applying control for those events of object which can happen simultaneously. An object can be imp
Why is need for the multiple access paths?
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd