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/fefc42940dc07e41a70df1ebdb4c3cf414e520df

Finished "Let's write" of 3-5 · uchinokot/sql_writing_drill@fefc429 · GitHub
Skip to content

Commit fefc429

Browse files
author
Kota Uchino
committed
Finished "Let's write" of 3-5
1 parent 9dd49f4 commit fefc429

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

3/3-5/0.sql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
SELECT
2+
p1.ProductName AS 商品名1
3+
, p2.ProductName AS 商品名2
4+
, ( p1.Price + p2.Price ) AS セット価格
5+
FROM
6+
Products AS p1
7+
JOIN
8+
Products AS p2
9+
ON p1.ProductID < p2.ProductID
10+
AND p1.CategoryID <> p2.CategoryID
11+
WHERE
12+
( p1.Price + p2. Price ) > 2500
13+
;

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