answersLogoWhite

0

Database Design

Database design is the process of creating a detailed data model of a database. It is the next step after requirement gathering and before coding begins. A good database design can save a lot of time during the database development.

1,295 Questions

What is Intersect operator in dbms?

INTERSECT operator allows you to combine two table expressions into one and return a result set which consists of rows that appear in the results of both table expressions. INTERSECT operator, like UNION operator, removes all duplicated row from the result sets. Unlike the UNION operator, INTERSECT operator operates as AND operator on tables expression. It means data row appears in both table expression will be combined in the result set while UNION operator operates as OR operator (data row appear in one table expression or both will be combined into the result set). The syntax of using INTERSECT operator is like UNION as follows:

What are Problems of manual systems?

Accuracy, Ability to reliably update data and take action on trigger events Time it takes to manage the data time it takes to retrieve the data, make updates, ect. Ability to share the data. and the time it takes to share the data. As an example someone in another office needs to know something about a customer. Now they would need to call you, wastes everybodies time. The person should be able to lookup the data in the amount of time it takes to dial the phone.

Difference between relation and relational schema?

In database design a RELATION is the relationship that you build between two or more tables.

As an example lets say you have a Customer table. In this table you have lots of fields

FirstName, LastName, Address, City, State, PostalCode, StatusID; etc.......

Now StatusID is going to be a numeric value. Lets say that the value is 1

Now you will have a Status Table with multiple fields (ex)

StatusID, StatusName, Active, etc.....

Now when you display customer information you will not want to show a StatusID as nobody will know what this is. You will want to show the NAME associated with the status. To do this you will create a releationship between StatusID in the Customer table and StatusID in the Status table. In doing so you will provide for faster lookup results, a constraint that does not permit a numeric value in the StatusID field in the customer table that is NOT in the StatusID field of the Status table.

THEN... To show correct Results you would write a query something like:

SELECT FirstName, LastName, Address, City, State, PostalCode, StatusName

FROM Customers as c

JOIN Status as s on s.StatusID = c.StatusID

A relational Schema is simply a representation of your database highlighting the relationships that you have created throughout.

How does a database work?

There are two kinds of databases. RDBMS and DBMS. Anything which stores data in rows and columns can be called as a database. Even a text file can be a database if it contains data in this format. XML files also can be treated as database. We can query a database using SQL (Structured Query Language) to extract information from a database. This data can be manipulated in different ways to generate reports or use in your software.

When is the concept of weak entity used in data modelling?

A weak entity can be identified uniquely only by considering the primary key of another (owner) entity.

Explain differetn types of views in dbms?

Hi .....
Basically there are are two Views regarding to DBMS.
(1)Regression based Views
(2) Interpolation based Views

Regression based Views:

Regression techniques are routinely and very successfully

used in many application domains to model the values of a

continuous dependent variable as a function of the values of

a set of independent or predictor variables. These models are

thus a natural fit in many environmental monitoring applications

that use sensor networks to monitor physical properties

such as temperature, humidity, light etc

Interpolation based Views:

We describe a second type of view in this section, the interpolation

view. In an interpolation view an interpolation function is used to estimate the missing values from known

values that bracket the missing value. The process is similar

to table lookup: given a table T of tuples of the form

(T, V ), and a set of T0 values with unknown V 0 values, we

can estimate the v0 2 V 0 value that corresponds to a particular

t0 2 T0 by looking up two pairs (t1, v1) and (t2, v2)

in T such that t1 _ t0 _ t2. We then use the interpolation

function to compute the value v0 from v1 and v2..

Define an entity?

An entity is something that exists by itself, although it need not be of material existence.

Entity relationship diagram for railway reservation system?

Oh, what a lovely thought! Imagine the railways as a beautiful landscape painting. In the center, you have entities like 'Passenger,' 'Train,' and 'Reservation.' Connect them with lines showing relationships, like 'Passenger books Reservation,' and 'Train has Reservation.' Just like painting a happy little tree, let your diagram flow with harmony and clarity. Remember, there are no mistakes, just happy little accidents.

What are the advantages of a warehouse?

Data warehouse is the pool of huge amount of data. The data in data ware house can be archived. And when the data is needed you can extract it from the archived files.

How do companies use databases?

Companies use databases for a myriad purposes:

Accounting

Payroll

Time Sheets

Asset Management

Human Resources

Security

And many more purposes, depending on the organization's use of technology.

What did Paulo Campos invented?

he invented the first raditotelescope in the Philippines

How can you do data entry with 100 accuracy?

very carefully with great care..some ppl do it all the time

How to make database for banking system?

how to make a system of banking transactions? just a simple system and its dat

He closed all banks and only re-opened those with enough money.abase

What are the advantages and disadvantages of network database model?

Network Database model was designed to solve some of Hierarchical Database Model. Specifically this solves the problem of data redundancy by representing relationships in terms of sets.

ADVANTAGES

  • Organization: Information is grouped into entities/records and each entity has attributes, which correspond to column headings.
  • Very efficient in retrieval
  • Conceptually simple and easy to design
  • Can handle the diverse sort of relationships (one-to-many and many-to-many relationships)
  • Clear line of demarcation between programs and the complex physical storage details. Application programs work independently of the data.

DISADVANTAGES

  • All the records have to maintain using pointers thus the database structure becomes more complex. Network model large number of pointers is required to insertion, deletion and updating.

ER Diagram for a medical store system?

medical store system is the system in which the medicals are arranged in manner that they are kept differen recks for the different categories

Functions of database management systems?

Applications of interfaces to the DBMS are created, allowing users to manage and gain access to data within the database. Connolly & Begg (2001, pp 4) state 'a database application is simply a program that interacts with the database at some point in its execution'.

Interfaces of a DBMS provides functionality with the ability to add, delete, update and retrieve data, process data to complete tasks, produce reports and manage data.

Thomas Connolly (2001). Database Systems: A Practical Approach to Design, Implementation and Management . Third. ed: Addison Wesley.

What are the advantages and disadvantages of network data model?

Network data model is just like a normal database model. In network model the data is seen as related to each other by links. Or we can say the relation between the data is represented by links.

What are the types of database?

There are three database models. The three database models are as follows :

1) relational

2) network data

3) hierarchical

What is state diagram. Draw state diagram of ATM?

Go to http://www.math-cs.gordon.edu/courses/cs320/ATM_Example/SessionStateDiagram.html

A person who designs machines?

An engineer designs machines.

And an architect also designs the layout/aesthetics of the machine.