100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

HIM-650: Health Care Data Management (Data Manipulation and Querying with SQL

Rating
-
Sold
-
Pages
25
Uploaded on
22-12-2022
Written in
2022/2023

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 2 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

Show more Read less










Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
December 22, 2022
Number of pages
25
Written in
2022/2023
Type
Class notes
Professor(s)
Dr claus
Contains
All classes

Subjects

$7.39
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
DrClaus

Get to know the seller

Seller avatar
DrClaus Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
1
Member since
3 year
Number of followers
1
Documents
24
Last sold
2 year ago

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

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

Frequently asked questions