pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/uchinokot/sql_writing_drill/commit/27d50a44fb7c91ce2e7fbdb0f6cee847c9deae0c

link crossorigen="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/global-87aa887446e37f5c.css" /> Finished Question 5 of 3-5 · uchinokot/sql_writing_drill@27d50a4 · GitHub
Skip to content

Commit 27d50a4

Browse files
author
Kota Uchino
committed
Finished Question 5 of 3-5
1 parent 957cf10 commit 27d50a4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

3/3-5/5.sql

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
SELECT
2+
c1.CustomerName AS 顧客名1
3+
, c2.CustomerName AS 顧客名2
4+
FROM
5+
Customers AS c1
6+
JOIN
7+
Customers AS c2
8+
ON c1.CustomerID < c2.CustomerID
9+
AND c1.PrefecturalID = c2.PrefecturalID
10+
AND c1.CustomerClassID = c2.CustomerClassID
11+
WHERE
12+
NOT c1.PrefecturalID = 13
13+
-- AND
14+
-- NOT c2.PrefecturalID = 13
15+
;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy