Skip to content

Commit 62b947e

Browse files
committed
Upload 180
1 parent c6f24fd commit 62b947e

File tree

2 files changed

+47
-1
lines changed

2 files changed

+47
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- markdownlint-disable MD041 -->
22
[![eevveerryyddaayy release](https://img.shields.io/badge/eevveerryyddaayy-v1.3.0-blue.svg)](https://github.com/ggeerraarrdd/eevveerryyddaayy/)
3-
[![Solved](https://img.shields.io/badge/solved-179-green.svg)](#index)
3+
[![Solved](https://img.shields.io/badge/solved-180-green.svg)](#index)
44
<!-- markdownlint-enable MD041 -->
55

66
# SQL Everyday
@@ -213,6 +213,7 @@ Because this project necessitated a framework to enable consistent daily practic
213213
| 177 | [Consecutive Available Seats](https://leetcode.com/problems/consecutive-available-seats/description/) | [Solution](solutions/177_consecutive_available_seats.md) | LeetCode | Easy | |
214214
| 178 | [Shortest Distance in a Line](https://leetcode.com/problems/shortest-distance-in-a-line/description/) | [Solution](solutions/178_shortest_distance_in_a_line.md) | LeetCode | Easy | `SELF-JOIN` vs `CROSS JOIN` |
215215
| 179 | [Friendly Movies Streamed Last Month](https://leetcode.com/problems/friendly-movies-streamed-last-month/description/) | [Solution](solutions/179_friendly_movies_streamed_last_month.md) | LeetCode | Easy | |
216+
| 180 | [Books with NULL Ratings](https://leetcode.com/problems/books-with-null-ratings/description/) | [Solution](solutions/180_books_with_null_ratings.md) | LeetCode | Easy | |
216217
<!-- Index End - WARNING: Do not delete or modify this markdown comment. -->
217218
<!--- cSpell:enable --->
218219

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SQL Everyday \#180
2+
3+
## Books with NULL Ratings
4+
5+
Site: LeetCode\
6+
Difficulty per Site: Easy
7+
8+
## Problem
9+
10+
Write a solution to find all books that have not been rated yet (i.e., have a **NULL** rating).
11+
12+
Return the result table ordered by `book_id` in **ascending** order. [[Full Description](https://leetcode.com/problems/books-with-null-ratings/description/)]
13+
14+
## Submitted Solution
15+
16+
```sql
17+
-- Submitted Solution
18+
SELECT
19+
book_id
20+
,title
21+
,author
22+
,published_year
23+
FROM books
24+
WHERE rating IS NULL
25+
ORDER BY book_id ASC
26+
;
27+
```
28+
29+
## Site Solution
30+
31+
```sql
32+
-- LeetCode Solution
33+
-- None
34+
```
35+
36+
## Notes
37+
38+
TBD
39+
40+
## NB
41+
42+
TBD
43+
44+
Go to [Index](../?tab=readme-ov-file#index)\
45+
Go to [Overview](../?tab=readme-ov-file)

0 commit comments

Comments
 (0)