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!
Explain nested relations?
Nested relations
The assumption of INF is a natural one in the bank examples we have considered.
However, not all applications are best modelled by INF relations.
The nested relational model is an extension of the relational model in which domains might be either atomic or relation valued.
We illustrate nested relations by an example from a library. Assume we store for every book the following in formations
Book title
Set of authors
Publishers
Set of keywords
We can see that if we describe a relation for the preceding information, several domains will be monatomic
Authors
Keywords
Complex types
Collection and large object types
Create table books(
...
Keyword-set setoff(varchar(20))
)
Structure types
Creation of values of complex types
Explain the EXISTS and UNIQUE functions of SQL. Give an example for each? EXISTS: The EXISTS function takes one parameter that is a SQL statement. If any records exist which
Write a program within embedded SQL to associative the total trip expenses of the salesman named ‘John' for the relations. EXEC SQL BEGIN DECLARE SECTION; long total_expenses;
Due date for May 8
Define and differentiate between ordered indexing and hashing. Ans: Ordered indexing: To gain fast random access to records in a file, we can make of an index structure. Every
Write the syntax of creating an INDEX ? Syntax of Creating an Index: CREATE [BITMAP] [UNIQUE] INDEX ON ( [, ] . . .);
What are the two types of serializability? The two types of serializability is a) Conflict serializability b) View serializability
can you please explain with the help of suitable example the difference between conflict equivalence and conflict serializability?
After going by the database architecture, let us now dwell on an important query: how is the data organised in a database? There are a lot of basic structures that exist in a datab
Control as State within Program 1. The term control exactly means to check effect of input within a program. For illustration, in Figure, after the ATM card is inserted (a
Name the various privileges in SQL? A) Delete B) Select C) Insert D) Update
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