- This topic is empty.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Empowering Insights, Unleashing Possibilities
Data Science/Business Analytics for Small Business Applications › Forums › SQL › Order By: Is my query correct?
Tagged: Order By in SQL
Here is the structure of the database
[caption id="attachment_373" align="aligncenter" width="1920"] Source: https://www.coursera.org/learn/sql-for-data-science/%5B/caption%5D
Here is the problem:
Sort the Biweekly low rate in ascending order. There is no starter code, as you need to write and run the query on your own. Hint: there are 4 lines to run this query.
Here is my code:
SELECT Biweekly_Low_Rate FROM salary_range_by_job_classification ORDER BY Biweekly_Low_Rate
Since it is mentioned that there are 4 lines to run this query, and my query has 3 lines, am I missing something? The output seems correct.
Reply
You’re fine. Seen developers who haven’t learned to indent and space out everything on 1 line!!