Last active
August 29, 2015 14:18
-
-
Save LNA/18a026cca6a3065d70ae to your computer and use it in GitHub Desktop.
Query An Attribute PostgreSQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select distinct(column_name) from table_name order by column_name ASC; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * from table_name where query = "SOME QUERY" order by created_at_desc limit 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment