Created
July 16, 2017 18:24
-
-
Save frals/a65260f58fc9abf956103a14abf51ac2 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
select `episode`.`idEpisode` | |
from `tvshow`, `episode` | |
where | |
`episode`.`idShow` = `tvshow`.`idShow` AND | |
`tvshow`.idShow = XX | |
into outfile '/tmp/alleps'; | |
select `episode`.`idEpisode` | |
from `tvshow`, `episode`, `files` | |
where | |
`episode`.`idShow` = `tvshow`.`idShow` AND | |
`files`.`idFile` = `episode`.`idFile` AND | |
`tvshow`.idShow = XX | |
into outfile '/tmp/watchedeps'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment