Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started