Created
October 24, 2014 18:00
-
-
Save chicks/217e83e0fe9f848ebdd9 to your computer and use it in GitHub Desktop.
Populate Lead Score Columns in MySQL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE contacts_cstm SET lead_score_rank_c = | |
ELT(1 + FLOOR(RAND()*5), 'Inquiry', 'Prospect', 'Marketing Qualified', 'Sales Accepted', 'Sales Qualified'); | |
UPDATE contacts_cstm SET engagement_score_rank_c = | |
ELT(1 + FLOOR(RAND()*3), 'Passive', 'Active', 'Engaged'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment