Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya

hellofromtonya/alias.sql Secret

Created Oct 11, 2016
Embed
What would you like to do?
Table Alias with AS in SQL
SELECT posts.ID, posts.post_title
FROM wp_posts AS posts
WHERE posts.post_type = 'post' AND posts.post_status = 'publish';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment