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

Commite1100dc

Browse files
add 1623
1 parent8a73f70 commite1100dc

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

‎README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,6 +1080,7 @@ _If you like this project, please leave me a star._ ★
10801080
|1667|[Fix Names in a Table](https://leetcode.com/problems/fix-names-in-a-table/)|[Solution](../master/database/_1667.sql)|| Easy|
10811081
|1661|[Average Time of Process per Machine](https://leetcode.com/problems/average-time-of-process-per-machine/)|[Solution](../master/database/_1661.sql)|| Easy|
10821082
|1633|[Percentage of Users Attended a Contest](https://leetcode.com/problems/percentage-of-users-attended-a-contest/)|[Solution](../master/database/_1633.sql)|| Easy|
1083+
|1623|[All Valid Triplets That Can Represent a Country](https://leetcode.com/problems/all-valid-triplets-that-can-represent-a-country/)|[Solution](../master/database/_1623.sql)|| Easy|
10831084
|1607|[Sellers With No Sales](https://leetcode.com/problems/sellers-with-no-sales/)|[Solution](../master/database/_1607.sql)|| Easy|
10841085
|1581|[Customer Who Visited but Did Not Make Any Transactions](https://leetcode.com/problems/customer-who-visited-but-did-not-make-any-transactions/)|[Solution](../master/database/_1581.sql)|| Easy|
10851086
|1543|[Fix Product Name Format](https://leetcode.com/problems/fix-product-name-format/)|[Solution](../master/database/_1543.sql)|| Easy|

‎database/_1623.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--# Write your MySQL query statement below
2+
selecta.student_nameas member_A,
3+
b.student_nameas member_B,
4+
c.student_nameas member_C
5+
from SchoolA across join SchoolB bcross join SchoolC cwherea.student_name!=b.student_nameand
6+
a.student_id!=b.student_idand
7+
b.student_name!=c.student_nameand
8+
b.student_id!=c.student_idand
9+
a.student_name!=c.student_nameand
10+
a.student_id!=c.student_id;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp