answersLogoWhite

0

📱

Database Programming

Databases are collections of tables that maintain and display information, often collaboratively; this information can be used for interaction with an application or gaining general knowledge. Questions about database engines and modifying or using them belong in this category.

8,803 Questions

What are the advantages of merit System in Bureaucratic System?

there the children are not allowed to have sex or violence on t.v

What is the difference between database application and dbms?

A DBMS is a database management system.

A database application would be something inside the DBMS such as:

~a way to search files

~a way to pull certain information

Was Sumeria Hierarchical or Egalitarian?

Sumeria was a hierarchical society with a clear social hierarchy. The kings and ruling elite held the highest positions of power, followed by the priests and military officials. Slavery was also prevalent, further reinforcing the hierarchical structure. However, it is important to note that there may have been some level of social mobility in Sumeria, as individuals could potentially rise through the ranks based on their abilities or achievements.

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.

What is the importance of file organization?

To execute a database efficiently, there are various design tradeoffs needed. One of the most vital ones is the file Organisation. For instance, if there were to be an application that need only sequential batch processing, then the use of indexing methods would be pointless and wasteful.

There are various important consequences of an inappropriate file Organisation being used in a database. Therefore using replication would be wasteful of space besides posing the trouble of inconsistency in the data. The wrong file Organisation can also-

  • Mean much larger processing time for modifying the required record or retrieving.
  • Want undue disk access that could stress the hardware

Needless to say, these could have a lot of undesirable consequences at the user level, such as making some applications impractical.

Query for drop the all tables in hsql database?

use

DROP SCHEMA PUBLIC CASCADE

you may want to replace "public" with your custom schema but that one worked for me. Don't forget to refresh your tree in the database manager!

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.

How does data mining work?

Data mining is effectively storing and analysing old pieces of data and predicting what's going to happened in future based on trends and patterns in that data.

What is one to one database relationships?

This is where you have two tables and each record on one table has one and only one corresponding record on the other. To connect them, they both have a corresponding code, that is unique in each table. So you could have a database for employees. In a table in it you could have all their personal details. On another you could have their salary details. On both tables, for each individual there would be a unique code, like an employee code. When a particular employee is found on the employee table, their code is taken and checked for on the salary table to find the details for their salary. It is then not necessary to have their name in both tables, as the code can be used to link the two parts of their data together from the two tables. The code is the only thing that will be in both tables. As every code on one table has one corresponding code on the other it is a one to one relationship. There are other types of database relationships, namely one to many and many to many.

What is the best email?

It's between Hotmail, Yahoo, or Gmail. Some other one might include Microsoft outlook or AOL. It is really your opinion!

What does PATA mean?

PATA (Parallel ATA), IDE or EIDE, is a interface used by storage and removable disk drives. Nowadays they are replaced by SATA (Serial ATA) and PCI Express.

Disadvantages of logical data modelling?

1. Database may need completely redoing if a single field in one relational table has to be changed.

2. If an ERD is resolved incorrectly then it would have to be redone.

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.

Describe database normalization?

Database Normalization is the process of organizing the fields and tables of a relational database to minimize redundancy and dependency

What is database planning?

Management of activities that allow other stages of database application life-cycle to be realized as efficiently and effectively as possible.

How do the police use databases?

they might use it the all the criminals details etc phone number

What does extracting data mean?

one example is when you are unzipping a game on the p.c using the help of winrar[extracting program]

Another example is when you take something out extracting it.

How do you remove khatarnak virus?

Remove all shares from the system Install avast antivirus and scan for the virus. it will delete the virus named khatarnak.exe.