• Skip to main content
  • Skip to primary sidebar

Datannum

Data science for small business applications

  • Home
  • Microsoft Excel (spreadsheet) forum
    • Project: Analyze NYSE Data
  • SQL forum
    • Project: Query a Digital Music Store Database
  • Tableau forum (data visualization)
    • Project: Data Visualization Project using Tableau
  • Linear Algebra forum
    • Curated resource to learn linear algebra
  • Web development
    • WordPress forum
    • Google Support

Order By: Is my query correct?

Data Science for Small Business Applications › Forums › SQL › Order By: Is my query correct?

Tagged: Order By in SQL

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • April 19, 2022 at 7:29 am #124
    Admin
    Keymaster

      Here is the structure of the database

      [caption id="attachment_373" align="aligncenter" width="1920"]sql formatting 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.

      sql formatting


      Reply


      You’re fine. Seen developers who haven’t learned to indent and space out everything on 1 line!!

    • Author
      Posts
    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.
    Log In

    Primary Sidebar

    profile for Techcosec Limited on Stack Exchange, a network of free, community-driven Q&A sites

    RSS CS50’s Introduction to Computer Science by Harvard University on Edx

    • How to print winner January 21, 2023
    • find_min function and infinite loop when a candidate not winner in first instance January 17, 2023
    • Bool variable won and print_winner function January 12, 2023
    • True condition with while loop January 6, 2023
    • How to finally display result in tabular form of choices entered by voters December 12, 2022

    Subscribe via Email

    Enter your email address to subscribe and receive notifications of new posts by email.

    This website hosted on WP Engine

    Initiative by Digital Splendid OPC Pvt. Ltd. & Techcosec Limited