The commands that are used to manipulate the database
SQL to manipulate data
SELECT surname, telephone FROM lettings WHERE surname = "M*"
SELECT * FROM EMPLOYEE WHERE JOB_CLASSIFICATION = "C2"
INSERT INTO landlords('John', 'Smith', '011-4217401');
ROLLBACK;
UPDATE landlords SET SURNAME = "Minty" WHERE SURNAME = "Rajcoomar"
SELECT * FROM ORDER WHERE Customer_Number = '10'
SELECT Description, Price, Colour FROM ORDER WHERE Customer_Number = '10'
Data dictionary
Stores meta data, a detailed description of all the data used in the database, to achieve reduced data redundancy, increaseddatareliability, assistprogramdevelopment, and easiermodificationofdataandinformation
Database Output
Can produce any desired reports, documents
Appears in screen displays or hard-copy printouts
Output-control features allow selecting the records and fields to appear in reports
Can make calculations specifically for the report by manipulating database fields
Formatting controls and organization options help to customise reports and create flexible, convenient, and powerful information-handling tools
Database Management System (DBMS)
A group of programs used as an interface between a database and applicationprograms or a database and the user e.g. MS ACCESS, ORACLE
Important characteristics of databases to consider
Database size
Database cost
The number of concurrent users
Performance
Integration
Vendor
Database administrator (DBA)
Plans, designs, creates, operates, secures, monitors, and maintains databases
Works with both users and programmers
Linking databases to the Internet
Allows people to access and manipulate a number of traditional databases at the same time through the Internet
Semantic Web
Developing a seamless integration of traditional databases with the Internet
Data warehouse
Database that collects business information from many sources in the enterprise, covering all aspects of the company's processes, products, and customers
Data mining
Information-analysis tool that involves the automated discovery of patterns and relationships in a data warehouse
Data mining
1. Analysing data to try to discover patterns and relationships within the data
2. Association rules algorithms are used to find associations between items in the data
Process of gathering enough of the right information in a timelymanner and usable formandanalyzing it to have a positiveimpact on business strategy, tactics, or operations
Turns data into useful information that is then distributed throughout an enterprise
Distributed database
A set of databases stored on multiple computers, but that present as a single database to users
Gives corporations more flexibility in how databases are organized and used
Advantages of distributed databases
Nodes can easily share data with other nodes
It can be scaled as required – more nodes added when necessary
Failure of one node does not lead to the failure of the entire distributed system
Other nodes can still communicate with each other
Replicated database
Database that holds a duplicate set of frequently used data
Database replication is the frequentelectroniccopying of data from a database in onecomputer or server to a database in another