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.
Define instance and schema? Instance: Collection of data kept in the data base at a particular moment is known as an Instance of the database. Schema: The o
What is a PROJECT operation? The project operation is a unary operation that returns its argument relation with particular attributes left out. Projection is shown by pie (π).
Describe file organisation? A file is organized logically as a sequence of records. These records are mapped onto disk blocks. A) Fixed-Length Records Type deposit=record
Q. State the Technique for converting a state diagram to code. i) Identify the major control path. Starting with first state, find the path from diagram that corresponds
Define- relational algebra. The relational algebra is a procedural query language. It having of a set of operations that take one or two relation as input and make a new relati
What is DML Query Langauge? Data Manipulation Language (DML) - A data manipulation language is a language in which enables users to access or manipulate data as organized throu
Which is an advantage of view? The Advantages of view is Data security, Derived columns and Hiding of complex queries
atient(PNumber, Name, NHS_no, Amount_due, DNO, Doctor, Medical_Treatment), relation of schema Staff(StaffNum, Name, DNO, Task) and relation of schema Dept(DNO, Name, Location, Dire
The following data are required to be stored by a family physician. Family#, FamilyAddress, Patient#, PatientName, ServiceCode, ServiceFee, ServiceDate A family can have seve
Explain Candidate Key and Super Key A super key is a set of one or more than attributes that, taken collectively, permits us to identify uniquely a tuple in the relation. Wher
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