Suppliers and Parts database

Suppliers and Parts database

The Suppliers and Parts database is an example of a relational database very much referred to in literature. It is a very simple and straightforward database containing only three tables: Supplier, Part and Orders.

This example is often used because it illustrates the dependencies and relations between two or more tables in a database. This knowledge is critical for any person who wishes to create an efficient database, where one table relies on some kind of data in another table. The semantics behind these tables are simple: the Supplier table holds information about several Suppliers, and contains a set of data fields, each containing one type of information (Supplier_name, Supplier_address and so on).The Parts table holds information about different parts, for example Part_number, Part_price, as well as a field identifying the supplier of each particular part, also known as a Foreign key.The Orders table holds the information about the orders a company have placed, X numbers of part Y, from supplier Z. The most basic design of this table, would contain a foreign key identifying the part, such as the part number, as well as the number of parts ordered.This way, it is shown that the order table doesn't need to store every detail, about every supplier and every part for each order placed, but that these data can be stored separately, and then referenced.

References

*cite book | first=C.J. | last=Date | year=2004 | title=An Introduction to Database Systems | chapter=8 Relational Calculus | publisher=Pearson Education Inc. | editor=Maite Suarez-Rivas; Katherine Harutunian | id=ISBN 0-321-18956-6


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Parts cleaning — is essential to many industrial processes, as a prelude to surface finishing or to protect sensitive components. Electroplating is particularly sensitive to part cleanliness, since molecular layers of oil can prevent adhesion of the coating. ASTM …   Wikipedia

  • Health and Disease — ▪ 2009 Introduction Food and Drug Safety.       In 2008 the contamination of infant formula and related dairy products with melamine in China led to widespread health problems in children, including urinary problems and possible renal tube… …   Universalium

  • Driver and Vehicle Licensing Agency — overview Jurisdiction United Kingdom Minister responsible Mike Penning MP, Parliamentary Under Secretary of State executive …   Wikipedia

  • Computers and Information Systems — ▪ 2009 Introduction Smartphone: The New Computer.       The market for the smartphone in reality a handheld computer for Web browsing, e mail, music, and video that was integrated with a cellular telephone continued to grow in 2008. According to… …   Universalium

  • Media and Publishing — ▪ 2007 Introduction The Frankfurt Book Fair enjoyed a record number of exhibitors, and the distribution of free newspapers surged. TV broadcasters experimented with ways of engaging their audience via the Internet; mobile TV grew; magazine… …   Universalium

  • Oil and gas industry in the United Kingdom — This article sets out the role of the UK oil and gas industry in the economy, energy supply and technology. It also covers the industry’s safety and environmental record and its prospects for the future. Contents 1 Location 2 Exploration and… …   Wikipedia

  • Free and open source software — FOSS redirects here. For the K 8 science curriculum, see Full Option Science System. Free and open source software (F/OSS, FOSS) or free/libre/open source software (FLOSS) is software that is liberally licensed to grant users the right to use,… …   Wikipedia

  • Query by Example — (QBE) is a database query language for relational databases. It was devised by Moshè M. Zloof at IBM Research during the mid 1970s, in parallel to the development of SQL. It is the first graphical query language, using visual tables where the… …   Wikipedia

  • Intersog — Infobox Company company name = INTERSOG company company type = Private foundation = 2005 location = California, USA key people = Vadim Chernega, CEO | industry = Software, Outsourcing, IT Consulting, Software Development, Offshore software… …   Wikipedia

  • aerospace industry — Introduction       assemblage of manufacturing concerns that deal with vehicular flight within and beyond the Earth s atmosphere. (The term aerospace is derived from the words aeronautics and spaceflight.) The aerospace industry is engaged in the …   Universalium

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”