Last active
January 25, 2019 13:07
-
-
Save Guibzs/6c83d03e55fc2617cf7b4903737821d0 to your computer and use it in GitHub Desktop.
MySQL ~ Views
This file contains hidden or 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
CREATE OR REPLACE VIEW table_name AS | |
SELECT p.title, c.name FROM post AS p INNER JOIN category AS c ON p.category_id = c.ID; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment