Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the table below and answer the questions that follow. Table 3: staffilst 4.1 Create a query to view each employee's wage as well as

image text in transcribed

Consider the table below and answer the questions that follow. Table 3: staffilst 4.1 Create a query to view each employee's wage as well as what it would be if you added 5000 to it. (5 Marks) 4.2 In September Andrew received 11764.658 because of some deductions from his wage. Implement CEILING and FLOOR functions on SQL developer to round the amount (11764.658) to a nearest whole number. (5 Marks) 4.3. Let the output from CEILING be ' y ' and output from FLOOR be ' x '. Is y>x ? Explain your answer. (5 Marks) 4.4 Assume you want to combine the name and salary value of an employee (Johnson) from the stafflist table (concatenation). Create SQL query to perform the operation. Keep a space between the name and wage. (5 Marks) 4.5 Assume you have been assigned the responsibility of extracting the last three characters from the Stafflist table's name field. Is it possible to run this query without utilizing the LENGTH function

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions