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.
What is inheritance? Inheritance is an object orientation concept that allows reusability of code / design. Basic sense of inheritance is that if one class is predefined than a
Multilevel Indexing Scheme Consider the indexing scheme where the address of the block is consider in the index for each record, for a little file, this index would be little a
Explain Foreign Key? Foreign Key - Let there are two relations (tables) R and S. Any candidate key of the relation R that is referred within the relation S is known as the fo
What is assertion? Mention the forms available. An assertion is a predicate expressing a condition that we wish the database always to satisfy. Domain integrity constraints.
What is called block-level striping? Block level striping stripes blocks across many disks. It treats the array of disks as a large disk, and provides blocks logical numbers
How to create values of structured type? Constructor functions are used to make values of structured types. A function with the similar name as a structured type is a construct
What is called as recursive partitioning? The system repeats the splitting of the input unless each partition of the build input fits in the memory. Such partitioning is known
what is attribute is attribute inheritance in dbms?
what is object-identity
Aggregation Aggregation is stronger form of association. It represents the "has-a" or "part-of" relationship. An aggregation association depicts a complex object which is comp
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