Skip to content

Commit 6580909

Browse files
committedJul 31, 2024·
add 3198
1 parent 1f58c68 commit 6580909

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
 

‎database/_3198.sql

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-- # Write your MySQL query statement below
2+
select state,
3+
group_concat(city order by city SEPARATOR ', ') as cities
4+
from cities
5+
group by state
6+
order by state

‎paginated_contents/database/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
| # | Title | Solutions | Video | Difficulty | Tag
22
|------|----------------|-----------------------------------------------------------------------------------------------------------------------|---------------|---------------|-------------
3+
| 3198 |[Find Cities in Each State](https://leetcode.com/problems/find-cities-in-each-state/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_3198.sql) || Easy |
34
| 3172 |[Second Day Verification](https://leetcode.com/problems/second-day-verification/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_3172.sql) || Easy |
45
| 1757 |[Recyclable and Low Fat Products](https://leetcode.com/problems/recyclable-and-low-fat-products/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_1757.sql) || Easy |
56
| 1741 |[Find Total Time Spent by Each Employee](https://leetcode.com/problems/find-total-time-spent-by-each-employee/)| [Solution](https://github.com/fishercoder1534/Leetcode/blob/master/database/_1741.sql) || Easy |

0 commit comments

Comments
 (0)
Please sign in to comment.