Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit84e00e2

Browse files
add 1543
1 parent194b3d5 commit84e00e2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,6 +1002,7 @@ _If you like this project, please leave me a star._ ★
10021002

10031003
| # | Title | Solutions | Video | Difficulty | Tag
10041004
|-----|----------------|---------------|---------------|---------------|-------------
1005+
|1543|[Fix Product Name Format](https://leetcode.com/problems/fix-product-name-format/)|[Solution](../master/database/_1543.sql)|| Easy|
10051006
|1517|[Find Users With Valid E-Mails](https://leetcode.com/problems/find-users-with-valid-e-mails/)|[Solution](../master/database/_1517.sql)|| Easy|
10061007
|1495|[Friendly Movies Streamed Last Month](https://leetcode.com/problems/friendly-movies-streamed-last-month/)|[Solution](../master/database/_1495.sql)|| Easy|
10071008
|1484|[Group Sold Products By The Date](https://leetcode.com/problems/group-sold-products-by-the-date/)|[Solution](../master/database/_1484.sql)|| Easy|

‎database/_1543.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
--# Write your MySQL query statement below
2+
selectlower(trim(product_name)) product_name, date_format(sale_date,"%Y-%m") sale_date,count(sale_id) total
3+
from sales
4+
group by1,2
5+
order by1,2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp