Skip to content

Instantly share code, notes, and snippets.

@hellofromtonya
Created October 11, 2016 20:54
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