CIS 515 Discussion post responses.
Respond to the colleagues posts regarding:
· A relational Database Model allows database users to analyze data thoroughly. To accomplish this, advanced commands such as UNION and INTERSECT may be used. Describe a business scenario where a UNION relational set operator may be used to merge two similar data sets. Within the context of your business scenario, analyze the analysis and data consistency advantages of using a UNION operator rather than simply merging two data sets into one result table.
VH’s post states the following:
A relational Database Model allows database users to analyze data thoroughly. To accomplish this, advanced commands such as UNION and INTERSECT may be used. Describe a business scenario where a UNION relational set operator may be used to merge two similar data sets. Within the context of your business scenario, analyze the analysis and data consistency advantages of using a UNION operator rather than simply merging two data sets into one result table.
Union command in the SQL combines with the results of two or more SELECT statements. In order for them to work each statement have to produce the same number of column. Data types have to be the same and the columns should be in the same order. For example, subset of employee information have to be selected from multiple tables within the database. Regardless of the department where the data is coming from hence employees for work.
SQL statement looks like this:
SELECT FName, LName, EEID, Position, Salary; FROM Finance; WHERE Salary>= 2500 UNION.
In a relational database model, the data can be analyzed by using the advance commands like UNION and INTERSECT. In a UNION relational set operator are used to with the combination of consumers’ data or data across database or across servers. UNION command have the ability to multiple tables with datasets that have the similar structures or vital information about the consumers or employees into one combined datasets.
Suppose you are tasked with finding common data elements amongst various data sets. Specify how an INTERSECT operator may assist you in accomplishing this task. Construct a query that can perform the same function as the INTERSECT operator without using the “INTERSECT” syntax within the query.
INTERSECT operator is almost the same as UNION command but the difference is the two SQL statements. UNION can act like an OR operator as well while INTERSECT command can act by an AND operator. See below how UNION query can function the same performance with the INTERSECT operator without “INTERSECT” syntax being used in the query.
SELECT EMPLOYEE. FIRSTNAME
EMPLOYEE. LASTNAME
EMPLOYEE.ADDRESS
EMPLOYEE.STATE
FROM EMPLOYEE D
INNER JION CUSTOMER J
ON M. FIRSTNAME=CUSTOMER. FIRSTNAME
AND EMPLOYEE.LASTNAME=CUSTOMER.LASTNAME
AND EMPLOYEE.ADRESSLINE1=CUSTOMER.ADDRESSLINE1
AND EMPLOYEE.CITYSTATE=J.CITY
GROUP BY EMPLOYEE.FIRSTNAME, EMPLOYEE.LASTNAME, EMPLOYEE.ADDRESSLINE1, EMPLOYEE.CITYSTATEZIPCODE
References:
Israel, M. & Jones, J.S. (2006). MCSE: SQL Server TM 2000 Design Study Guide.
Hoboken, John Wiley & Son.
Thakur, D. (2016). Relational Model. EComputer Notes. http://ecomputernotes.com/fundamental/what-is-a-database/relational-model
“Get 20% OFF on a Similar Assignment!! Place Your Order and Use this Coupon Code: SUPER20”
CIS 515 Discussion post responses. was first posted on March 5, 2020 at 4:22 am.
©2020 “Buy Custom Essays“. Use of this feed is for personal non-commercial use only. If you are not reading this article in your feed reader, then the site is guilty of copyright infringement. Please contact me at ukbestwriting@gmail.com
What Students Are Saying About Us
.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐"Honestly, I was afraid to send my paper to you, but splendidwritings.com proved they are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"
.......... Customer ID: 14***| Rating: ⭐⭐⭐⭐⭐
"The company has some nice prices and good content. I ordered a term paper here and got a very good one. I'll keep ordering from this website."