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.
VHs 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
FROM EMPLOYEE D
INNER JION CUSTOMER J
ON M. FIRSTNAME=CUSTOMER. FIRSTNAME
GROUP BY EMPLOYEE.FIRSTNAME, EMPLOYEE.LASTNAME, EMPLOYEE.ADDRESSLINE1, EMPLOYEE.CITYSTATEZIPCODE
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
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more