SQL
Published in
1 min readMay 10, 2020
620. Not Boring Movies
X city opened a new cinema, many people would like to go to this cinema. The cinema also gives out a poster indicating the movies’ ratings and descriptions.
Please write a SQL query to output movies with an odd numbered ID and a description that is not ‘boring’. Order the result by rating.
Logic: The only thing should pay more attention in this problem is how to get ODD ID? By using modulus %