Last active
January 25, 2019 13:07
-
-
Save Guibzs/6c83d03e55fc2617cf7b4903737821d0 to your computer and use it in GitHub Desktop.
Revisions
-
Guibzs revised this gist
Jan 25, 2019 . No changes.There are no files selected for viewing
-
Guibzs created this gist
Jan 25, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ 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;