SQL Data Manipulation Language (DML)

Total Page:16

File Type:pdf, Size:1020Kb

SQL Data Manipulation Language (DML) The Islamic University of Gaza Faculty of Engineering Dept. of Computer Engineering Database Lab (ECOM 4113) Lab 2 SQL Data Manipulation Language (DML) Eng. Ibraheem Lubbad SQL stands for Structured Query Language, it’s a standard language for accessing and manipulating databases. SQL commands are case insensitive instructions used to communicate with the database to perform specific tasks, work, functions and queries with data. All SQL statements start with any of the keywords like SELECT, INSERT, UPDATE, DELETE, ALTER, DROP, CREATE, USE, SHOW and all the statements end with a semicolon (;) SQL commands are grouped into major categories depending on their functionality: Data Manipulation Language (DML) - These SQL commands are used for storing, retrieving, modifying, and deleting data. These Data Manipulation Language commands are CALL, DELETE, EXPLAIN, INSERT, LOCK TABLE, MERGE, SELECT and UPDATE. Data Definition Language (DDL) - These SQL commands are used for creating, modifying, and dropping the structure of database objects. The commands are ALTER, ANALYZE, AUDIT, COMMENT, CREATE, DROP, FLASHBACK, GRANT, PURGE, RENAME, REVOKE and TRUNCATE. Transaction Control Language (TCL) - These SQL commands are used for managing changes affecting the data. These commands are COMMIT, ROLLBACK, and SAVEPOINT. Data Control Language (DCL) - These SQL commands are used for providing security to database objects. These commands are GRANT and REVOKE. In our lab we will use university schema (you can open it by click on file) SELECT Statement: The SELECT statement retrieves data from a database. The data is returned in a table-like structure called a result-set. SELECT is the most frequently used action on a database. To create a simple SQL SELECT Statement, you must specify the column(s) name and the table name. The whole query is called SQL SELECT Statement. Syntax of SQL Select Statement SELECT * | {[DISTINCT] column_list | expression [alias],...} FROM table-name [WHERE condition] [GROUP BY columns] [HAVING group-selection-condition] [ORDER BY column-names || aliases || column-numbers]; -table-name : is the name of the table from which the information is retrieved. -column_list : includes one or more columns from which data is retrieved. -The code within the brackets is optional. Retrieve data by specific column: Select Specific Column SELECT NAME, DEPT_NAME FROM INSTRUCTOR; Retrieve data For all column using (*): Use * To Select All Column SELECT * FROM INSTRUCTOR; Arithmetic Expressions: Arithmetic operators can perform arithmetical operations on numeric operands involved. Arithmetic operators are addition (+), subtraction (-), multiplication (*) and division (/). The + and - operators can also be used in date arithmetic SELECT NAME, DEPT_NAME, SALARY, SALARY/100 FROM INSTRUCTOR; Null Values: A null is value is unknown or does not exist It is NOT the same as a zero or a blank space. The result of any arithmetic expressions containing a null value is a Null value. You cannot use equal operator (=) to compare two null values! Instead, use (IS) with special keyword null to check if a value is null or not. Example: Retrieve all student who his grade has not been awarded SELECT ID, COURSE_ID,GRADE FROM TAKES WHERE GRADE IS NULL; The result of an arithmetic expression (involving, for example +, −, ∗, or /) is null if any of the input values is null SELECT NULL*20 FROM DUAL A Column Alias: Renames a column heading Is useful with calculations Immediately follows the column name (There can also be the optional AS keyword between the column name and alias.) Requires double quotation marks if it contains spaces or special characters or if it is case-sensitive A Concatenation Operator Links columns or character strings to other columns Is represented by two vertical bars (|| ) Creates a resultant column that is a character expression SELECT TIME_SLOT_ID ,Start_HR || ':'||Start_Min as STartTime ,ENd_hr || ':' || End_min as EndTime from Time_slot; SELECT DISTINCT Statement SELECT DISTINCT returns only distinct (different) values. SELECT DISTINCT eliminates duplicate records from the results. DISTINCT operates on a single column. DISTINCT for multiple columns is not supported SQL WHERE Clause: To limit the number of rows use the WHERE clause. The WHERE clause filters for rows that meet certain criteria. WHERE is followed by a condition that returns either true or false. WHERE is used with SELECT, UPDATE, and DELETE. Example: Find the names of all instructors in the Computer Science department SELECT NAME FROM INSTRUCTOR WHERE DEPT_NAME = 'COMP. SCI.'; Notes: When you deal with character strings or date values, you must enclosed them by single quotation marks ( ‘ ’ ) Character values are case-sensitive, and date values are format-sensitive. SQL WHERE LIKE Statement: Pattern matching can be performed on strings, use the like statement Patterns are case sensitive describe patterns by using two special characters Percent (%): The % character matches any substring Underscore (_ ): The character matches any character. Example: Find the names of all student whose name starts with ‘S’. Example: Find the names of all student whose name with second and third character “an” Comparison operators: Operator Operator Description = Equal to > Greater than >= Greater than or equal to < Less than <= Less than or equal to <> Not equal to BETWEEN ... AND... Between two values (inclusive) IN(set) Match any of a list of values ANY(set) Compare to any value in a set ALL(set) Compare to all values in a set [NOT] LIKE Match a character pattern IS[NOT] NULL Is a null value Rules of Precedence: Operator Priority Parentheses () 1 Arithmetic operators / , * 2 + , - 3 Concatenation operator || 4 Comparison conditions <,> ,>=, <=,<> 5 IS [NOT] NULL, LIKE, [NOT] IN 6 [NOT] BETWEEN 7 Not equal to 8 NOT logical condition 9 AND logical condition 10 OR logical condition 11 Note: <> all is identical to not in, whereas = all is not the same as in Example: find the names of instructors with salary amounts between $90,000 and $100,000. SELECT NAME FROM INSTRUCTOR WHERE SALARY BETWEEN 90000 AND 100000; Instead of: SELECT NAME FROM INSTRUCTOR WHERE SALARY <= 100000 AND SALARY >= 90000; Example: Find all the names of instructors whose names are neither “Mozart” nor “Einstein”. SELECT DISTINCT NAME FROM INSTRUCTOR WHERE NAME NOT IN ('MOZART', 'EINSTEIN'); Sort: You can sort rows retrieved by a query using the optional [ORDER BY clause]. Example: retrieving all departments’ records sorted by budget. SELECT DEPT_NAME,BUILDING,BUDGET FROM DEPARTMENT ORDER BY BUDGET ; By default, “ORDER BY” Clause sorts the retrieved rows in ascending order. To reverse the ordering, use “DESC” keyword after column-name. SELECT DEPT_NAME,BUILDING,BUDGET FROM DEPARTMENT ORDER BY BUDGET DESC; You can also sort rows according to expression result; in this case, you have to use an alias instead of column name also, sort rows according to more than one column. Example: Find all instructor sorted by their monthly salary. SELECT NAME , DEPT_NAME ,SALARY/12 MONTHLY FROM INSTRUCTOR ORDER BY MONTHLY Example: Find all student sorted by their department name , if there are two student have the same department name , then sort them by total credit in ascending order, then by their “student name” alias. Sorting According to More Than One Column SELECT NAME "STUDNET NAME ”,DEPT_NAME,TOT_CRED FROM STUDENT ORDER BY DEPT_NAME, TOT_CRED DESC, "STUDNET NAME" ; Note: in “ORDER BY” clause, you can type (column | alias) numeric position instead of name. For example in the previous query, department name column comes first in the query, so its number is 1. Total credit comes second, so its number is 2. Finally, “student name” alias comes third, so its number is 3. Therefore, the previous query can be wrote in another way: SELECT NAME "STUDNET NAME" ,DEPT_NAME,TOT_CRED FROM STUDENT ORDER BY 2,3 DESC, 1 ; INSERT Statement: INSERT statement is used to add new rows into a table in the database. Syntax of SQL INSERT Statement INSERT INTO Table-Name (column_list) VALUES (values-list); Example SQL INSERT Statement INSERT INTO CLASSROOM (BUILDING, ROOM_NUMBER, CAPACITY) VALUES ('AL QUDS’, 218, 25) You can also insert new rows without specifying column names, by typing: “INSERT INTO” table-name VALUES (value-list)”. In this case, you MUST order values in the same order of its corresponding columns. Example SQL INSERT Statement INSERT INTO CLASSROOM VALUES ('AL QUDS’, 218, 25) Q) Create a section of ‘Database lab CS-348’ course in fall 2016, with sec id of 1 and class room al Quds 218. INSERT INTO SECTION VALUES ('CS-348', 1, 'FALL', 2016, 'AL QUDS', '218', 'A'); Use select with insert statement Q) Enroll every student in ’ Database CS-347’ course taken in 2009, in the above section. INSERT INTO TAKES (ID, COURSE_ID,SEC_ID,SEMESTER,YEAR) SELECT ID, 'CS-348','1', 'FALL',2016 Constant columns FROM TAKES Insert constant value WHERE COURSE_ID='CS-347'; DELETE Statement DELETE statement is used to delete rows from a table according to a specified condition. Syntax of SQL DELETE Statement DELETE FROM table-name WHERE condition; Example: Using DELETE Statement DELETE FROM CLASSROOM WHERE BUILDING = 'AL QUDS' Note: It also can be used to delete all rows from a table by not specifying any conditions. If you want to empty a table, you just have to issue this command: “DELETE FROM table-name”. You should be aware when using this form. Q) Delete enrollments in the above section where the student’s name is contain “han” substring DELETE FROM TAKES WHERE (ID ,COURSE_ID) IN ( SELECT ID,'CS-348' FROM STUDENT Constant columns WHERE NAME LIKE '%HAN%'); Insert constant value UPDATE Statement UPDATE statement is used to modify existing rows values in a table. Syntax of SQL UPDATE Statement UPDATE TABLE-NAME SET COLUMN_NAME_1 = NEW_VALUE1 , COLUMN_NAME_2 = NEW_VALUE2 -- WHERE CONDITION; Example: Using UPDATE Statement UPDATE COURSE SET CREDITS=3 WHERE COURSE_ID='CS-190' END .
Recommended publications
  • Data Analysis Expressions (DAX) in Powerpivot for Excel 2010
    Data Analysis Expressions (DAX) In PowerPivot for Excel 2010 A. Table of Contents B. Executive Summary ............................................................................................................................... 3 C. Background ........................................................................................................................................... 4 1. PowerPivot ...............................................................................................................................................4 2. PowerPivot for Excel ................................................................................................................................5 3. Samples – Contoso Database ...................................................................................................................8 D. Data Analysis Expressions (DAX) – The Basics ...................................................................................... 9 1. DAX Goals .................................................................................................................................................9 2. DAX Calculations - Calculated Columns and Measures ...........................................................................9 3. DAX Syntax ............................................................................................................................................ 13 4. DAX uses PowerPivot data types .........................................................................................................
    [Show full text]
  • (BI) Using MS Excel Powerpivot
    2018 ASCUE Proceedings Developing an Introductory Class in Business Intelligence (BI) Using MS Excel Powerpivot Dr. Sam Hijazi Trevor Curtis Texas Lutheran University 1000 West Court Street Seguin, Texas 78130 [email protected] Abstract Asking questions about your data is a constant application of all business organizations. To facilitate decision making and improve business performance, a business intelligence application must be an in- tegral part of everyday management practices. Microsoft Excel added PowerPivot and PowerPivot offi- cially to facilitate this process with minimum cost, knowing that many business people are already fa- miliar with MS Excel. This paper will design an introductory class to business intelligence (BI) using Excel PowerPivot. If an educator decides to adopt this paper for teaching an introductory BI class, students should have previ- ous familiarity with Excel’s functions and formulas. This paper will focus on four significant phases all students need to complete in a three-credit class. First, students must understand the process of achiev- ing small database normalization and how to bring these tables to Excel or develop them directly within Excel PowerPivot. This paper will walk the reader through these steps to complete the task of creating the normalization, along with the linking and bringing the tables and their relationships to excel. Sec- ond, an introduction to Data Analysis Expression (DAX) will be discussed. Introduction It is not that difficult to realize the increase in the amount of data we have generated in the recent memory of our existence as a human race. To realize that more than 90% of the world’s data has been amassed in the past two years alone (Vidas M.) is to realize the need to manage such volume.
    [Show full text]
  • Data Definition Language
    1 Structured Query Language SQL, or Structured Query Language is the most popular declarative language used to work with Relational Databases. Originally developed at IBM, it has been subsequently standard- ized by various standards bodies (ANSI, ISO), and extended by various corporations adding their own features (T-SQL, PL/SQL, etc.). There are two primary parts to SQL: The DDL and DML (& DCL). 2 DDL - Data Definition Language DDL is a standard subset of SQL that is used to define tables (database structure), and other metadata related things. The few basic commands include: CREATE DATABASE, CREATE TABLE, DROP TABLE, and ALTER TABLE. There are many other statements, but those are the ones most commonly used. 2.1 CREATE DATABASE Many database servers allow for the presence of many databases1. In order to create a database, a relatively standard command ‘CREATE DATABASE’ is used. The general format of the command is: CREATE DATABASE <database-name> ; The name can be pretty much anything; usually it shouldn’t have spaces (or those spaces have to be properly escaped). Some databases allow hyphens, and/or underscores in the name. The name is usually limited in size (some databases limit the name to 8 characters, others to 32—in other words, it depends on what database you use). 2.2 DROP DATABASE Just like there is a ‘create database’ there is also a ‘drop database’, which simply removes the database. Note that it doesn’t ask you for confirmation, and once you remove a database, it is gone forever2. DROP DATABASE <database-name> ; 2.3 CREATE TABLE Probably the most common DDL statement is ‘CREATE TABLE’.
    [Show full text]
  • SQL Vs Nosql: a Performance Comparison
    SQL vs NoSQL: A Performance Comparison Ruihan Wang Zongyan Yang University of Rochester University of Rochester [email protected] [email protected] Abstract 2. ACID Properties and CAP Theorem We always hear some statements like ‘SQL is outdated’, 2.1. ACID Properties ‘This is the world of NoSQL’, ‘SQL is still used a lot by We need to refer the ACID properties[12]: most of companies.’ Which one is accurate? Has NoSQL completely replace SQL? Or is NoSQL just a hype? SQL Atomicity (Structured Query Language) is a standard query language A transaction is an atomic unit of processing; it should for relational database management system. The most popu- either be performed in its entirety or not performed at lar types of RDBMS(Relational Database Management Sys- all. tems) like Oracle, MySQL, SQL Server, uses SQL as their Consistency preservation standard database query language.[3] NoSQL means Not A transaction should be consistency preserving, meaning Only SQL, which is a collection of non-relational data stor- that if it is completely executed from beginning to end age systems. The important character of NoSQL is that it re- without interference from other transactions, it should laxes one or more of the ACID properties for a better perfor- take the database from one consistent state to another. mance in desired fields. Some of the NOSQL databases most Isolation companies using are Cassandra, CouchDB, Hadoop Hbase, A transaction should appear as though it is being exe- MongoDB. In this paper, we’ll outline the general differences cuted in iso- lation from other transactions, even though between the SQL and NoSQL, discuss if Relational Database many transactions are execut- ing concurrently.
    [Show full text]
  • Applying the ETL Process to Blockchain Data. Prospect and Findings
    information Article Applying the ETL Process to Blockchain Data. Prospect and Findings Roberta Galici 1, Laura Ordile 1, Michele Marchesi 1 , Andrea Pinna 2,* and Roberto Tonelli 1 1 Department of Mathematics and Computer Science, University of Cagliari, Via Ospedale 72, 09124 Cagliari, Italy; [email protected] (R.G.); [email protected] (L.O.); [email protected] (M.M.); [email protected] (R.T.) 2 Department of Electrical and Electronic Engineering (DIEE), University of Cagliari, Piazza D’Armi, 09100 Cagliari, Italy * Correspondence: [email protected] Received: 7 March 2020; Accepted: 7 April 2020; Published: 10 April 2020 Abstract: We present a novel strategy, based on the Extract, Transform and Load (ETL) process, to collect data from a blockchain, elaborate and make it available for further analysis. The study aims to satisfy the need for increasingly efficient data extraction strategies and effective representation methods for blockchain data. For this reason, we conceived a system to make scalable the process of blockchain data extraction and clustering, and to provide a SQL database which preserves the distinction between transaction and addresses. The proposed system satisfies the need to cluster addresses in entities, and the need to store the extracted data in a conventional database, making possible the data analysis by querying the database. In general, ETL processes allow the automation of the operation of data selection, data collection and data conditioning from a data warehouse, and produce output data in the best format for subsequent processing or for business. We focus on the Bitcoin blockchain transactions, which we organized in a relational database to distinguish between the input section and the output section of each transaction.
    [Show full text]
  • The Temporal Query Language Tquel
    The Temporal Query Language TQuel RICHARD SNODGRASS University of North Carolina Recently, attention has been focused on temporal datubases, representing an enterprise over time. We have developed a new language, TQuel, to query a temporal database. TQuel was designed to be a minimal extension, both syntactically and semantically, of Quel, the query language in the Ingres relational database management system. This paper discusses the language informally, then provides a tuple relational calculus semantics for the TQuel statements that differ from their Quel counterparts, including the modification statements. The three additional temporal constructs defined in TQuel are shown to be direct semantic analogues of Quel’s where clause and target list. We also discuss reducibility of the semantics to Quel’s semantics when applied to a static database. TQuel is compared with ten other query languages supporting time. Categories and Subject Descriptors: H.2.1 [Database Management]: Logical Design-data models; H.2.3 [Database Management]: Languages-query lunguages; H.2.7 [Database Management]: Database Administration-logging and recovery General Terms: Languages, Theory Additional Key Words and Phrases: Historical database, Quel, relational calculus, relational model, rollback database, temporal database, tuple calculus 1. INTRODUCTION Most conventional databases represent the state of an enterprise at a single moment of time. Although the contents of the database continue to change as new information is added, these changes are viewed as modifications to the state, with the old, out-of-date data being deleted from the database. The current contents of the database may be viewed as a snapshot of the enterprise. Recently, attention has been focused on temporal dutubases (Z’DBs), repre- senting the progression of states of an enterprise over an interval of time.
    [Show full text]
  • Choosing a Data Model and Query Language for Provenance
    Choosing a Data Model and Query Language for Provenance The Harvard community has made this article openly available. Please share how this access benefits you. Your story matters Citation Holland, David A., Uri Braun, Diana Maclean, Kiran-Kumar Muniswamy-Reddy, and Margo I. Seltzer. 2008. Choosing a data model and query language for provenance. In Provenance and Annotation of Data and Processes: Proceedings of the 2nd International Provenance and Annotation Workshop (IPAW '08), June 17-18, 2008, Salt Lake City, UT, ed. Juliana Freire, David Koop, and Luc Moreau. Berlin: Springer. Special Issue. Lecture Notes in Computer Science 5272. Citable link http://nrs.harvard.edu/urn-3:HUL.InstRepos:8747959 Terms of Use This article was downloaded from Harvard University’s DASH repository, and is made available under the terms and conditions applicable to Open Access Policy Articles, as set forth at http:// nrs.harvard.edu/urn-3:HUL.InstRepos:dash.current.terms-of- use#OAP Choosing a Data Model and Query Language for Provenance David A. Holland, Uri Braun, Diana Maclean, Kiran-Kumar Muniswamy-Reddy, Margo I. Seltzer Harvard University, Cambridge, Massachusetts [email protected] Abstract. The ancestry relationships found in provenance form a di- rected graph. Many provenance queries require traversal of this graph. The data and query models for provenance should directly and naturally address this graph-centric nature of provenance. To that end, we set out the requirements for a provenance data and query model and discuss why the common solutions (relational, XML, RDF) fall short. A semistruc- tured data model is more suited for handling provenance.
    [Show full text]
  • Database Design & SQL Programming
    FAQ’s Q: What is SQL? A: Structured Query Language (SQL) is a specialized language for updating, Objectives: deleting, and requesting information held in a relational database management OAK RIDGE HIGH SCHOOL Students will: system (RDBMS). learn about database management Q: What type of credit do I receive from taking this course? systems, both in terms of use and Database Design implementation and design A: This course has been approved for UC & understand the stages of database elective “g” credit. This course also articulates with Folsom Lake College design and implementation CISP: 351 Introduction to Relational SQL Programming understand basic database Database Design and SQL. See reverse for more information. programming theory collaborate with team members on Q: Am I required to take the Oracle a year long project to create a Certification exam? database and mobile app around a A: No. If you decide to take the exam, business idea of their choice you will want to take a few practice exams develop a professional relationship on your own beforehand. There are several preparation books for Exam 1Z0- Oracle Online Curriculum with an Intel mentor through the 047. PC Pals program Q: Where do I take the exam and is Oracle Certification demonstrate the ability to enter there a fee? Earn College Credit and advance within professional A: Exams are administered at a testing organizations by creating a center in the Sacramento area. Students receive a 25% discount voucher off the Software Development Skills resume and learning interviewing published price. skills Intel Mentors have an opportunity to earn Oracle Database Design & Android App Development SQL Certified Expert Certification SQL Programming Resume Building & Interviewing Skills Few subjects will open as many doors for Prerequisites: students in the twenty-first century as computer science (CS) and engineering.
    [Show full text]
  • Ms Sql Server Alter Table Modify Column
    Ms Sql Server Alter Table Modify Column Grinningly unlimited, Wit cross-examine inaptitude and posts aesces. Unfeigning Jule erode good. Is Jody cozy when Gordan unbarricade obsequiously? Table alter column, tables and modifies a modified column to add a column even less space. The entity_type can be Object, given or XML Schema Collection. You can use the ALTER statement to create a primary key. Altering a delay from Null to Not Null in SQL Server Chartio. Opening consent management ebook and. Modifies a table definition by altering, adding, or dropping columns and constraints. RESTRICT returns a warning about existing foreign key references and does not recall the. In ms sql? ALTER to ALTER COLUMN failed because part or more. See a table alter table using page free cloud data tables with simple but block users are modifying an. SQL Server 2016 introduces an interesting T-SQL enhancement to improve. Search in all products. Use kitchen table select add another key with cascade delete for debate than if column. Columns can be altered in place using alter column statement. SQL and the resulting required changes to make via the Mapper. DROP TABLE Employees; This query will remove the whole table Employees from the database. Specifies the retention and policy for lock table. The default is OFF. It can be an integer, character string, monetary, date and time, and so on. The keyword COLUMN is required. The table is moved to the new location. If there an any violation between the constraint and the total action, your action is aborted. Log in ms sql server alter table to allow null in other sql server, table statement that can drop is.
    [Show full text]
  • Query Execution in Column-Oriented Database Systems by Daniel J
    Query Execution in Column-Oriented Database Systems by Daniel J. Abadi [email protected] M.Phil. Computer Speech, Text, and Internet Technology, Cambridge University, Cambridge, England (2003) & B.S. Computer Science and Neuroscience, Brandeis University, Waltham, MA, USA (2002) Submitted to the Department of Electrical Engineering and Computer Science in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer Science and Engineering at the MASSACHUSETTS INSTITUTE OF TECHNOLOGY February 2008 c Massachusetts Institute of Technology 2008. All rights reserved. Author......................................................................................... Department of Electrical Engineering and Computer Science February 1st 2008 Certifiedby..................................................................................... Samuel Madden Associate Professor of Computer Science and Electrical Engineering Thesis Supervisor Acceptedby.................................................................................... Terry P. Orlando Chairman, Department Committee on Graduate Students 2 Query Execution in Column-Oriented Database Systems by Daniel J. Abadi [email protected] Submitted to the Department of Electrical Engineering and Computer Science on February 1st 2008, in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Computer Science and Engineering Abstract There are two obvious ways to map a two-dimension relational database table onto a one-dimensional storage in- terface:
    [Show full text]
  • Chapter 9 – Designing the Database
    Systems Analysis and Design in a Changing World, seventh edition 9-1 Chapter 9 – Designing the Database Table of Contents Chapter Overview Learning Objectives Notes on Opening Case and EOC Cases Instructor's Notes (for each section) ◦ Key Terms ◦ Lecture notes ◦ Quick quizzes Classroom Activities Troubleshooting Tips Discussion Questions Chapter Overview Database management systems provide designers, programmers, and end users with sophisticated capabilities to store, retrieve, and manage data. Sharing and managing the vast amounts of data needed by a modern organization would not be possible without a database management system. In Chapter 4, students learned to construct conceptual data models and to develop entity-relationship diagrams (ERDs) for traditional analysis and domain model class diagrams for object-oriented (OO) analysis. To implement an information system, developers must transform a conceptual data model into a more detailed database model and implement that model in a database management system. In the first sections of this chapter students learn about relational database management systems, and how to convert a data model into a relational database schema. The database sections conclude with a discussion of database architectural issues such as single server databases versus distributed databases which are deployed across multiple servers and multiple sites. Many system interfaces are electronic transmissions or paper outputs to external agents. Therefore, system developers need to design and implement integrity controls and security controls to protect the system and its data. This chapter discusses techniques to provide the integrity controls to reduce errors, fraud, and misuse of system components. The last section of the chapter discusses security controls and explains the basic concepts of data protection, digital certificates, and secure transactions.
    [Show full text]
  • Quick-Start Guide
    Quick-Start Guide Table of Contents Reference Manual..................................................................................................................................................... 1 GUI Features Overview............................................................................................................................................ 2 Buttons.................................................................................................................................................................. 2 Tables..................................................................................................................................................................... 2 Data Model................................................................................................................................................................. 4 SQL Statements................................................................................................................................................... 5 Changed Data....................................................................................................................................................... 5 Sessions................................................................................................................................................................. 5 Transactions.......................................................................................................................................................... 6 Walktrough
    [Show full text]