Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 3 out of 24 pages
Essay

HIM 650 Data Manipulation and Querying with SQL. Latest 2022 - Grand Canyon University.

Document preview thumbnail
Preview 3 out of 24 pages

HIM 650 Data Manipulation and Querying with SQL. Latest 2022 - Grand Canyon University.

Content preview

1




Data Manipulation and Querying with SQL



Name

Grand Canyon University

HIM-650: Health Care Data Management

Date

, 2

Data Manipulation and Querying with SQL

In June 1970, Dr. E. F. Codd published the paper, “A Relational Model of Data for Large

Shared Data Banks", in the Association of Computer Machinery (ACM) journal,

Communications of the ACM (Lorentz & Gregoire, 2003). IBM used Codd’s findings when they

started working on a new language for relational database management. Originally the language

was called Structured English Query Language (SEQUEL). The project had a few

implementations and revisions, and the language changed several times. The final name for the

language is SQL, which is still used today. SQL/DS (1981) and DB2 (1983) are some of the

commercial products developed by IBM. Other vendors including Oracle, Sybase and Ingres

announced their own commercial SQL-based products (Pickett, 2020).

SQL is a specialized programming language that is used for managing relational

databases and performing different operations on that data. SQL has many uses to include

modifying database tables and index structures. SQL is used to add, update, and delete rows of

data within a database. The retrieval of different subsets of information in a database for

transaction processing and analytics applications is also done in SQL (Boyini, 2018).

There are two main sets of commands that are used to create and modify databases in

SQL. The first set of commands are Data Definition Language, and they are used to develop and

delete databases and its objects. The second set of commands are Data Manipulation Language

and these are used to insert, modify, and delete data stored in a database (IAC Publishing,

2020).

SQL functions are sub-programs that are commonly used throughout SQL database

applications. These functions are used for processing and manipulation data. SQL functions may

have zero or more input parameters but can return only one value. The simplest way to classify

SQL functions is to divide them into built-in functions and user-defined functions. The built-in

, 3

functions are standard functions that are already provided by the SQL database system. ANSI

(American National Standards Institute) SQL standards defines most of the built-in functions.

These built-in functions can be divided further into aggregate functions or scalar functions.

User- defined functions, however, are functions that are created by the user for a specific

purpose. The user-defined functions can either return a single value or a set of values. There are

many advantages of using functions. A function needs to be written only once and can be reused

multiple times. This saves time and effort and supports modular programming. Functions

improve performance and efficiency of the database. SQL functions are compiled and cached

before use. Complex programming logic can be decomposed into a number of smaller and

simpler functions, thus making it easier to understand and maintain (What are SQL Functions? -

Use & Examples, 2019).

Six Queries of Data to the Provider Table

Document information

Uploaded on
August 21, 2022
Number of pages
24
Written in
2022/2023
Type
Essay
Professor(s)
Unknown
Grade
A+
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StudyConnect
3.5
(40)
Sold
266
Followers
232
Items
1719
Last sold
3 months ago


Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions