A Question on SQL #109730
Replies: 5 comments 2 replies
-
when you order in ascending order, and assign 0 only when it is salesman then all the salesman rows will be at the beginning followed by anything else as you asked, you may try this and if this is the answer then all good if not please add on to the request. I think you had asked this before as well. |
Beta Was this translation helpful? Give feedback.
-
Hi @Tofunmi-I, The GitHub Community on Discussions is a space for all GitHub users to come and discuss ideas and projects. Your post was removed because it contained content that violates our Community Code of Conduct, including posting the same comment in multiple places. As a result, we have hidden the duplicate comments, and we ask that you no longer cross-post. For additional guidance, please review our Community on Discussions Code of Conduct and GitHub’s Terms of Service. |
Beta Was this translation helpful? Give feedback.
-
Thanks for posting in the GitHub Community, @Tofunmi-I ! We’ve moved your post to our Programming Help 🧑💻 category, which is more appropriate for this type of discussion. Please review our guidelines about the Programming Help category for more information. |
Beta Was this translation helpful? Give feedback.
-
Why is this thread still marked Open and Unanswered? |
Beta Was this translation helpful? Give feedback.
-
I'm using a JOIN statement to merge EmployeeID, First Name, and Last Name from Table 1 with Job Title and Salary from Table 2.
Using a CASE statement, I'm adjusting salaries after a raise, with a specific percentage for 'salesman' job title.
How can I make 'salesman' job title employees appear first in the result column, followed by other job titles? I want to emphasize their contribution with a 50% raise. Open to suggestions and best practices. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions