Databases | SQL | Oracle | MS Access Answers

Questions: 641

Answers by our Experts: 641

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

1. The sorting technique where array to be sorted is partitioned again and again in such a way that all elements less than or equal to partitioning element appear before it and those which are greater appear after it, is called


a. insertion sort

b. merge sort

c. selection sort

d. Quicksort


Consider two entity sets A and B that both have the attribute X (among others whose

names are not relevant to this question).

a. If the two Xs are completely unrelated, how should the design be improved?

b. If the two Xs represent the same property and it is one that applies both to A and to

B, how should the design be improved? Consider three subcases:

 X is the primary key for A but not B

 X is the primary key for both A and B

 X is not the primary key for A nor for B


Let T1 transfer $500 from A to B, and T2 transfer 30% of the balance from A to B. Taking this scenario as example, explain the following
a. Serial Schedule ( T1 followed by T2)
b. Serial Schedule ( T2 followed by T1)
C. List out the advantages and limitations of serial scheduling in transaction processing
Suppose we are given a database with a table T with attributes (M, N, P, Q, R) and a set of functional dependencies F = {MQ ->R, MR -> P, RP ->Q, P -> Q }. With an example explain Third form of Normalization.

Let us consider the two concurrent transaction A and B which is accessing the data at the same time. At the point T, the conflict has occurred between the two concurrent transactions. By considering this scenario as example, explain-

a. Write Read conflict

b. Read Write conflict

c. Lost update problem (WW)


What is Normalization
Use the methods find() and pretty() to implement the following queries.

(9) Display in a pretty format the names of drivers who performed no trips so far.
(10) Display in a pretty format names of drivers who started at least on trip in
Wollongong.

Need help for part 9 and 10
*Northwind Trader (SQL)* Using the OrderDetails table, list the ProductID, the total number of orders that product was included in, and the max discount amount on any order of that product. Provide appropriate column names for the number of orders and max discount amount. Only include products where the max discount amount for that product was greater than $1,000.
1 For the relations s and r in your study manual of our chapter 2 (i.e., joining two relations), suppose
we type a collection of relational algebra queries, and get the following results.
A B C D E
Draw an ERD based upon the following Scenario. Also mention the attributes name and relationship between the entities.

I am the manager of a training company that provides instructor-led courses in management techniques. We teach courses, each of which has a code, a name, and a fee. Introduction to UNIX and C Programming are two of our more popular courses.
Courses vary in length from one to four days. Paul Rogers and Maria Gonzales are two of our best teachers. We need each instructor’s name and phone number. The students can take several
courses over time, and many do this. Jamie Brown from AT&T took every course we offer!
We like to have each student’s name and phone number.
LATEST TUTORIALS
APPROVED BY CLIENTS