w3resource
SQL exercises

SQL exercises on movie Database: Find the movie which was released in the year 1999

SQL movie Database: Basic Exercise-3 with Solution

3. Write a query in SQL to find the movie which was released in the year 1999.

Sample table: movie


Sample Solution:

SELECT mov_title
FROM movie
WHERE mov_year=1999;

Sample Output:

                     mov_title
----------------------------------------------------
 Eyes Wide Shut
 American Beauty
(2 rows)

Practice Online


Movie database model

Query Visualization:

Duration:

Query visualization of Find the movie which was released in the year 1999 - Duration

Rows:

Query visualization of Find the movie which was released in the year 1999 - Rows

Cost:

Query visualization of Find the movie which was released in the year 1999 - Cost

Have another way to solve this solution? Contribute your code (and comments) through Disqus.

Previous: Write a query in SQL to find the year when the movie American Beauty released.
Next: Write a query in SQL to find the movies which was released before 1998.

What is the difficulty level of this exercise?



New Content: Composer: Dependency manager for PHP, R Programming