Skip to content

Instantly share code, notes, and snippets.

@anilktechie
Forked from james727/constraints5
Created March 15, 2022 15:23
Show Gist options
  • Select an option

  • Save anilktechie/bcfb35490fef95ca41710ea524b8d1f2 to your computer and use it in GitHub Desktop.

Select an option

Save anilktechie/bcfb35490fef95ca41710ea524b8d1f2 to your computer and use it in GitHub Desktop.

Revisions

  1. @james727 james727 created this gist Mar 16, 2017.
    8 changes: 8 additions & 0 deletions constraints5
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    redshift=> SELECT DISTINCT column1 from test_table;
    column1
    ---------
    1
    3
    1
    2
    (4 rows)