Writing queries task 3/23


#1


Can someone please tell me what I am doing wrong here?


https://www.codecademy.com/en/courses/learn-sql/projects/learn_sql_query_table


select distinct name 'bride' from movies where genre= 'drama';



Replace this line with your code.


#2

The code below refers to task 3 which is selecting all the movies with the genre of 'drama'
--SELECT * FROM movies WHERE genre = 'drama';
The code below here refers to task 4 where we want to select any movie that contains the phrase 'bride'.
--SELECT * FROM movies WHERE name LIKE '%bride%';

Hope this help your understanding.