Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SLPRS CUSTOMER SLPRS SLPRS FNAME SLPRS LNAME SLPRS TELEPHONE SLPRS HIRE DATE CUST TITLE CUST TELEPHONE CUST ADDRESS CUST CITY CUST STATE CUST PC Lead

image text in transcribed

SLPRS CUSTOMER SLPRS SLPRS FNAME SLPRS LNAME SLPRS TELEPHONE SLPRS HIRE DATE CUST TITLE CUST TELEPHONE CUST ADDRESS CUST CITY CUST STATE CUST PC Lead Lead ID SLPRS ID Customer ID Date Expected date Amount Possibility Status 1. Using the script editor, create a trigger named LEAD_TRG that will increase all possibilities by 5% after a new record is inserted into table leads. 2. Using the ROUND function create an SQL query that will group lead amount in 1000s and count them 3. Repeat exercise (3) using the FLOOR function and group amounts in 500s 4. Write an SQL query that will display the saleperson's names as (example Jessica Aldo as Je_ALD) 5. Write an SQL query that will lead list all leads with expected day 700 days before today SLPRS CUSTOMER SLPRS SLPRS FNAME SLPRS LNAME SLPRS TELEPHONE SLPRS HIRE DATE CUST TITLE CUST TELEPHONE CUST ADDRESS CUST CITY CUST STATE CUST PC Lead Lead ID SLPRS ID Customer ID Date Expected date Amount Possibility Status 1. Using the script editor, create a trigger named LEAD_TRG that will increase all possibilities by 5% after a new record is inserted into table leads. 2. Using the ROUND function create an SQL query that will group lead amount in 1000s and count them 3. Repeat exercise (3) using the FLOOR function and group amounts in 500s 4. Write an SQL query that will display the saleperson's names as (example Jessica Aldo as Je_ALD) 5. Write an SQL query that will lead list all leads with expected day 700 days before today

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

Pro Database Migration To Azure Data Modernization For The Enterprise

Authors: Kevin Kline, Denis McDowell, Dustin Dorsey, Matt Gordon

1st Edition

1484282299, 978-1484282298

More Books

Students also viewed these Databases questions

Question

Recognize the power of service guarantees.

Answered: 1 week ago

Question

Demonstrate how to use the Gaps Model for diagnosing and

Answered: 1 week ago