ORDER BY `$` DESC
      Sql language logo

      order by

      SQL public snippets

      In this code, the ORDER BY clause displays the results in alphabetical order, based on the value of the $&[USER_INPUT:1] variable, which is the value of the first input field. The same clause then displays the results in alphabetical order, based on the value of the $&[USER_INPUT:2: DESC] variable, which is the value of the second input field.

      Shortcut: s_o

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.