Created
August 14, 2017 02:59
-
-
Save rachelwritingcode/3c5a2b015da450b4773ebfb3ec7b5787 to your computer and use it in GitHub Desktop.
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
column "Movie" format a30; | |
select distinct tm.MovieTitle as "Movie" | |
from tblKeyword tk | |
inner join (tblKeywordDetail tkd | |
inner join tblMovie tm on tm.MovieID = tkd.MovieID ) | |
on tkd.KeywordID = tk.KeywordID | |
where tk.KeywordDesc Like '%France%' OR | |
tk.KeywordDesc Like '%Pizza%' OR | |
tk.KeywordDesc Like '%Waitress%' | |
Order by tm.MovieTitle; | |
/* | |
Movie | |
------------------------------ | |
30 Minutes or Less | |
Drive Angry | |
Saving Private Ryan | |
Taken | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment