DBI202 EXAM LATEST VERSION QUESTIONS WITH CORRECT ANSWERS (GRADED A+)
2 views 0 purchase
Course
DBI202
Institution
DBI202
DBI202 EXAM LATEST VERSION QUESTIONS WITH CORRECT ANSWERS (GRADED A+)
Then, identify which of the following tuples is/are in the natural joinR|>< - Answer-S. You may assume each output tuple has schema (A.B.C.D)|(3.4.6.8) and (12.4.6)
Consider the following statement "When drawing ERD. ...
DBI202 EXAM LATEST
VERSION QUESTIONS
WITH CORRECT
ANSWERS (GRADED A+)
Then, identify which of the following tuples is/are in the natural joinR|>< - Answer-S.
You may assume each output tuple has schema (A.B.C.D)|(3.4.6.8) and (12.4.6)
Consider the following statement "When drawing ERD. you should avoid introducing
more elements into your design than necessary" That above statement describes which
principle? - Answer-Simplicity Count Principle
Compute the join of R and S with the condition: R.A < S.C AND R.B < S D Then,
identify from the list below all the tuples in the computed result (assume the schema of
the result is (A. R.B. S.B. C. D)): - Answer-(1.2.4.6.8) and (1.2.2.4.6)
Compute the right - outerjoin of R and S. where the condition is: R.B = S.B. Then
identify all the tuples of R that are not appear in the computed result - Answer-(5.6) and
(7.8)
Consider the following statement "When drawing ERD. if an entity has no non-key
attribute and it is the "one" in many-one relationship, then we should set r! to the
attribute of other entities" That above statement describes which principle? - Answer-
Picking the right kind of element principle
The LEN function in SQL Server is: - Answer-A scalar function
What is the meaning of the LEN function in SQL Server? - Answer-The LEN function
returns the total number of characters of a string
How to remove all trailing blanks - Answer-We can use the RTRIM function
The following is the syntax for the DATEDIFF function: DATEDIFF ( datepart, startdate ,
enddate ) The datepart parameter specifies on which part (day, month, year) of the date
to calculate the difference - Answer-true
How to remove all leading blanks? - Answer-We can use the LTRIM function
, What is the meaning of the ISNULL function? - Answer-The ISNULL function replaces
NULL with the BLANK value
Which of the following is in-correct? - Answer-SELECT datepart('1-jan-09', day)
How to convert a number to a string? - Answer-CONVERT, CAST function
What is the meaning of the DATEADD function? - Answer-The DATEADD function adds
an interval to a date you specify
The CASE function is used to Evaluates a list of conditions and returns one of multiple
possible result expressions - Answer-true
In SQL Server, an index is an on-disk structure associated with a table or view that
speeds up retrieval of rows from the table or view - Answer-true
Clustered index is not a good choice for the columns that undergo frequent changes -
Answer-true
A table or view must have a clustered indexe and some non-clustered indexes -
Answer-false
SQL Server typically selects the most efficient method when executing queries.
However, if no indexes are available. SQL Server must use a full table scan - Answer-
true
How many clustered index we can create in a table? - Answer-1
Indexes can be helpful for a variety of queries that contain SELECT, UPDATE, or
DELETE statements - Answer-true
In SQL Server, indexes are automatically created when PRIMARY KEY and UNIQUE
constraints are defined on table columns - Answer-true
Suppose we have a relation R(ABCD) with FD's: BC -> A ; AD -> C ; CD -> B ; BD -> C
- Answer-R is not in BCNF
Let R(A,B,C,D) with the following FDs: {AB->C, AC->B, AD->C} Choose a correct
statement about R - Answer-R is in 2NF
Given a R(A,B,C,D) with the following FDs: AB->D BC->A AD->B CD->B AD->C
Choose a correct statement about R: - Answer-The FD set of R is not canonical and R
is in BCNF
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Scholarsstudyguide. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $12.49. You're not tied to anything after your purchase.