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!
Domain Constraints
Domain constraints are primarily formed for defining the logically correct values for an attribute of a relation. The relation allows attributes of a relation to be confined to a range of values, for instance, values of an attribute age can be restricted as Zero to 150 or a definite type like integers, etc.
REDUNDANCY AND ASSOCIATED PROBLEMS
Let us take the subsequent relation STUDENT
Enrolment no
Sname
Address
Cno
Cname
Instructor
Office
050112345
Rahul
D-27, main Road
Ranchi
MCS-011
Problem
Solution
Nayan
Kumar
102
D-27, Main Road
MCS-012
Computer
Organisation
Anurag
Sharma
105
MCS-014
SSAD
Preeti
Anand
103
050111341
Aparna
B-III, Gurgaon
Figure: A state of STUDENT relation
The above relation satisfies the properties of a relation and is said to be in first normal form (or 1NF). Theoretically it is convenient to have all the information in one relation as it is then likely to be simpler to query the database. But the relation over has the following undesirable kinds:
What is Collation Collation is a kind of sort order. There are majorly 3 types of sort orders, namely: i.) Dictionary case insensitive ii.)Dictionary - case sensitive
Explain the two constraints, check and foreign key in SQL along with an example for each. Give the syntax. CHECK constraint - CHECK constraint specifies an expression which
Define page. The database is partitioned into some number of fixed-length blocks, which are referred to as pages.
Database Administrator One of the main perpose for having the database management system is to have control of both data or programs accessing that data. The person having li
er diagram on cosmetics.
Define multivalued dependency and 4NF. Ans: Multivalued Dependency - Assume R be a relation schema and let α ⊆ R and β ⊆ R. The multivalued dependency α →→β holds o
You want to implement following relationships when designing tables. How would you do it? a.) One-to-one b.) One-to-many c.) Many-to-many a.) One-to-One relationship -
Consider the E/R schema with weak entity sets shown below. Come up with the SQL CREATE TABLE statements (with appropriate primary key, unique and foreign key constraints). Include
Write short notes on relational model The relational model uses a collection of tables to show both data and the relationships between those data. The relational mo
Explain weak and strong entity sets? Weak and Strong entity sets: A physically powerful entity set has a primary key. All tuples in the group are distinguishable through that k
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