Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bell-kevin/moviedatabase

movie Database Practice with SQL. Data from movies-genres-people.sql.
https://github.com/bell-kevin/moviedatabase

mariadb mariadb-database mariadb-mysql movie movie-database movies

Last synced: 19 days ago
JSON representation

movie Database Practice with SQL. Data from movies-genres-people.sql.

Awesome Lists containing this project

README

        

# movieDatabasePractice

Data from movies-genres-people.sql

Based off of video: https://piped.tokhmi.xyz/watch?v=l1Nk8irDJu4

Bad practice, but it gets the job done:

SELECT m.movie_title, m.director, m.year, genre_title FROM movies AS m, genres AS g WHERE m.genre_id = g.genre_id;

![bad-form](https://github.com/bell-kevin/movies-genres-people.sql/blob/main/prof1.PNG)

Better way to do it:

SELECT

m.movie_title,

m.director,

m.year,

genre_title

FROM

movies AS m

INNER JOIN genres AS g

ON

m.genre_id = g.genre_id;

![correct](https://github.com/bell-kevin/movieDatabasePractice/blob/main/prof2.PNG)

SELECT

m.movie_title,
m.director,
m.year,
genre_title

FROM

movies AS m

INNER JOIN genres AS g

ON

m.genre_id = g.genre_id

WHERE

YEAR > 2006;

![p](https://github.com/bell-kevin/movieDatabasePractice/blob/main/prof3.PNG)

SELECT

m.movie_title,
m.director,
m.year,
genre_title

FROM
movies AS m

INNER JOIN genres AS g

ON

m.genre_id = g.genre_id

WHERE

YEAR > 2006

ORDER BY

YEAR ASC;

![p](https://github.com/bell-kevin/movieDatabasePractice/blob/main/prof4.PNG)

== We're Using GitHub Under Protest ==

This project is currently hosted on GitHub. This is not ideal; GitHub is a
proprietary, trade-secret system that is not Free and Open Souce Software
(FOSS). We are deeply concerned about using a proprietary system like GitHub
to develop our FOSS project. I have a [website](https://bellKevin.me) where the
project contributors are actively discussing how we can move away from GitHub
in the long term. We urge you to read about the [Give up GitHub](https://GiveUpGitHub.org) campaign
from [the Software Freedom Conservancy](https://sfconservancy.org) to understand some of the reasons why GitHub is not
a good place to host FOSS projects.

If you are a contributor who personally has already quit using GitHub, please
email me at **[email protected]** for how to send us contributions without
using GitHub directly.

Any use of this project's code by GitHub Copilot, past or present, is done
without our permission. We do not consent to GitHub's use of this project's
code in Copilot.

![Logo of the GiveUpGitHub campaign](https://sfconservancy.org/img/GiveUpGitHub.png)