Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +8 -0
- TPC-DS/data/call_center.dat +6 -0
- TPC-DS/data/catalog_page.dat +0 -0
- TPC-DS/data/catalog_returns.dat +3 -0
- TPC-DS/data/catalog_sales.dat +3 -0
- TPC-DS/data/customer.dat +3 -0
- TPC-DS/data/customer_address.dat +0 -0
- TPC-DS/data/customer_demographics.dat +3 -0
- TPC-DS/data/date_dim.dat +0 -0
- TPC-DS/data/dbgen_version.dat +1 -0
- TPC-DS/data/household_demographics.dat +0 -0
- TPC-DS/data/income_band.dat +20 -0
- TPC-DS/data/inventory.dat +3 -0
- TPC-DS/data/item.dat +0 -0
- TPC-DS/data/promotion.dat +300 -0
- TPC-DS/data/reason.dat +35 -0
- TPC-DS/data/ship_mode.dat +20 -0
- TPC-DS/data/store.dat +12 -0
- TPC-DS/data/store_returns.dat +3 -0
- TPC-DS/data/store_sales.dat +3 -0
- TPC-DS/data/time_dim.dat +0 -0
- TPC-DS/data/warehouse.dat +5 -0
- TPC-DS/data/web_page.dat +60 -0
- TPC-DS/data/web_returns.dat +0 -0
- TPC-DS/data/web_sales.dat +3 -0
- TPC-DS/data/web_site.dat +30 -0
- TPC-DS/queries/query1.sql +22 -0
- TPC-DS/queries/query10.sql +56 -0
- TPC-DS/queries/query11.sql +78 -0
- TPC-DS/queries/query12.sql +31 -0
- TPC-DS/queries/query13.sql +49 -0
- TPC-DS/queries/query14.sql +207 -0
- TPC-DS/queries/query15.sql +17 -0
- TPC-DS/queries/query16.sql +28 -0
- TPC-DS/queries/query17.sql +42 -0
- TPC-DS/queries/query18.sql +31 -0
- TPC-DS/queries/query19.sql +22 -0
- TPC-DS/queries/query2.sql +57 -0
- TPC-DS/queries/query20.sql +27 -0
- TPC-DS/queries/query21.sql +27 -0
- TPC-DS/queries/query22.sql +17 -0
- TPC-DS/queries/query23.sql +104 -0
- TPC-DS/queries/query24.sql +104 -0
- TPC-DS/queries/query25.sql +45 -0
- TPC-DS/queries/query26.sql +18 -0
- TPC-DS/queries/query27.sql +20 -0
- TPC-DS/queries/query28.sql +50 -0
- TPC-DS/queries/query29.sql +44 -0
- TPC-DS/queries/query3.sql +18 -0
- TPC-DS/queries/query30.sql +28 -0
.gitattributes
CHANGED
|
@@ -57,3 +57,11 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
# Video files - compressed
|
| 58 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 59 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 60 |
+
TPC-DS/data/catalog_returns.dat filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
TPC-DS/data/catalog_sales.dat filter=lfs diff=lfs merge=lfs -text
|
| 62 |
+
TPC-DS/data/customer.dat filter=lfs diff=lfs merge=lfs -text
|
| 63 |
+
TPC-DS/data/customer_demographics.dat filter=lfs diff=lfs merge=lfs -text
|
| 64 |
+
TPC-DS/data/inventory.dat filter=lfs diff=lfs merge=lfs -text
|
| 65 |
+
TPC-DS/data/store_returns.dat filter=lfs diff=lfs merge=lfs -text
|
| 66 |
+
TPC-DS/data/store_sales.dat filter=lfs diff=lfs merge=lfs -text
|
| 67 |
+
TPC-DS/data/web_sales.dat filter=lfs diff=lfs merge=lfs -text
|
TPC-DS/data/call_center.dat
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1|AAAAAAAABAAAAAAA|1998-01-01|||2450952|NY Metro|large|2|1138|8AM-4PM|Bob Belcher|6|More than other authori|Shared others could not count fully dollars. New members ca|Julius Tran|3|pri|6|cally|730|Ash Hill|Boulevard|Suite 0|Midway|Williamson County|TN|31904|United States|-5|0.11|
|
| 2 |
+
2|AAAAAAAACAAAAAAA|1998-01-01|2000-12-31||2450806|Mid Atlantic|medium|6|2268|8AM-8AM|Felipe Perkins|2|A bit narrow forms matter animals. Consist|Largely blank years put substantially deaf, new others. Question|Julius Durham|5|anti|1|ought|984|Center Hill|Way|Suite 70|Midway|Williamson County|TN|31904|United States|-5|0.12|
|
| 3 |
+
3|AAAAAAAACAAAAAAA|2001-01-01|||2450806|Mid Atlantic|medium|6|4134|8AM-4PM|Mark Hightower|2|Wrong troops shall work sometimes in a opti|Largely blank years put substantially deaf, new others. Question|Julius Durham|1|ought|2|able|984|Center Hill|Way|Suite 70|Midway|Williamson County|TN|31904|United States|-5|0.01|
|
| 4 |
+
4|AAAAAAAAEAAAAAAA|1998-01-01|2000-01-01||2451063|North Midwest|medium|1|649|8AM-4PM|Larry Mccray|2|Dealers make most historical, direct students|Rich groups catch longer other fears; future,|Matthew Clifton|4|ese|3|pri|463|Pine Ridge|RD|Suite U|Midway|Williamson County|TN|31904|United States|-5|0.05|
|
| 5 |
+
5|AAAAAAAAEAAAAAAA|2000-01-02|2001-12-31||2451063|North Midwest|small|3|795|8AM-8AM|Larry Mccray|2|Dealers make most historical, direct students|Blue, due beds come. Politicians would not make far thoughts. Specifically new horses partic|Gary Colburn|4|ese|3|pri|463|Pine Ridge|RD|Suite U|Midway|Williamson County|TN|31904|United States|-5|0.12|
|
| 6 |
+
6|AAAAAAAAEAAAAAAA|2002-01-01|||2451063|North Midwest|medium|7|3514|8AM-4PM|Larry Mccray|5|Silly particles could pro|Blue, due beds come. Politicians would not make far thoughts. Specifically new horses partic|Gary Colburn|5|anti|3|pri|463|Pine Ridge|RD|Suite U|Midway|Williamson County|TN|31904|United States|-5|0.11|
|
TPC-DS/data/catalog_page.dat
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TPC-DS/data/catalog_returns.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b68301f4651b658b5d4e719e5d1d7dd0101f879023a49b6c95e5f2e6a5202a6b
|
| 3 |
+
size 21378371
|
TPC-DS/data/catalog_sales.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ce5448ab0549dc4d2154b3479c86a7ba06a817d45222732e55dc301534cb6981
|
| 3 |
+
size 295910384
|
TPC-DS/data/customer.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a58c89d155e22bf98fc81da988ce3b59596f5e7425cff9245fc5876a84eb56c
|
| 3 |
+
size 13209372
|
TPC-DS/data/customer_address.dat
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TPC-DS/data/customer_demographics.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cbef8c4c6279289fd7417d19ff9ab920f951d1609e753cf8733f1f23de6d622
|
| 3 |
+
size 80660096
|
TPC-DS/data/date_dim.dat
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TPC-DS/data/dbgen_version.dat
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
2.13.0|2026-02-05|20:55:53|-SCALE 1 -DIR /Users/tianqinmeng/Desktop/Projects/sense-sql-testing/OUTPUT/TPC-DS/data -QUIET Y |
|
TPC-DS/data/household_demographics.dat
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TPC-DS/data/income_band.dat
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1|0|10000|
|
| 2 |
+
2|10001|20000|
|
| 3 |
+
3|20001|30000|
|
| 4 |
+
4|30001|40000|
|
| 5 |
+
5|40001|50000|
|
| 6 |
+
6|50001|60000|
|
| 7 |
+
7|60001|70000|
|
| 8 |
+
8|70001|80000|
|
| 9 |
+
9|80001|90000|
|
| 10 |
+
10|90001|100000|
|
| 11 |
+
11|100001|110000|
|
| 12 |
+
12|110001|120000|
|
| 13 |
+
13|120001|130000|
|
| 14 |
+
14|130001|140000|
|
| 15 |
+
15|140001|150000|
|
| 16 |
+
16|150001|160000|
|
| 17 |
+
17|160001|170000|
|
| 18 |
+
18|170001|180000|
|
| 19 |
+
19|180001|190000|
|
| 20 |
+
20|190001|200000|
|
TPC-DS/data/inventory.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:242dea40e519345830486480017e4d5c4357ab8dfb278f2fbbc6520b42f43ae1
|
| 3 |
+
size 236420139
|
TPC-DS/data/item.dat
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TPC-DS/data/promotion.dat
ADDED
|
@@ -0,0 +1,300 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1|AAAAAAAABAAAAAAA|2450164|2450185|10022|1000.00|1|ought|Y|N|N|N|N|N|N|N|Men will not say merely. Old, available |Unknown|N|
|
| 2 |
+
2|AAAAAAAACAAAAAAA|2450118|2450150|2410|1000.00|1|able|Y|N|N|N|N|N|N|N|So willing buildings coul|Unknown|N|
|
| 3 |
+
3|AAAAAAAADAAAAAAA|2450675|2450712|10843|1000.00|1|pri|Y|N|N|N|N|N|N|N|Companies shall not pr|Unknown|N|
|
| 4 |
+
4|AAAAAAAAEAAAAAAA|2450633|2450646|9794|1000.00|1|ese|N|N|N|N|N|N|N|N|High, good shoulders can tell on a proble|Unknown|N|
|
| 5 |
+
5|AAAAAAAAFAAAAAAA|2450347|2450357|6655|1000.00|1|anti|N|N|N|N|N|N|N|N|Huge, competent structures can remember different pat|Unknown|N|
|
| 6 |
+
6|AAAAAAAAGAAAAAAA|2450516|2450561|9464|1000.00|1|cally|N|N|N|N|N|N|N|N|Boards might not reverse up to a hopes. Now high respon|Unknown|N|
|
| 7 |
+
7|AAAAAAAAHAAAAAAA|2450123|2450132|14527|1000.00|1|ation|N|N|N|N|N|N|N|N|Effects used to prefer however new terms. Usually ava|Unknown|N|
|
| 8 |
+
8|AAAAAAAAIAAAAAAA|2450350|2450409|304|1000.00|1|eing|Y|N|N|N|N|N|N|N|Offences feel only on a fees.|Unknown|N|
|
| 9 |
+
9|AAAAAAAAJAAAAAAA|2450192|2450248|3439|1000.00|1|n st|Y|N|N|N|N|N|N|N|External forces shall comprehend ideal, disciplinary stud|Unknown|N|
|
| 10 |
+
10|AAAAAAAAKAAAAAAA|2450324|2450365|3314|1000.00|1|bar|N|N|N|N|N|N|N|N|Only local achievements used to make t|Unknown|N|
|
| 11 |
+
11|AAAAAAAALAAAAAAA||||1000.00||ought|||||N||N|N|Teachers shall not make up to fair countries. Roya|Unknown|N|
|
| 12 |
+
12|AAAAAAAAMAAAAAAA|2450153|2450169|6688|1000.00|1|able|N|N|N|N|N|N|N|N|Also only times would come right to the obse|Unknown|N|
|
| 13 |
+
13|AAAAAAAANAAAAAAA|2450316|2450365|11354|1000.00|1|pri|N|N|N|N|N|N|N|N|Years shall not go later other, given citizens. Excellent, |Unknown|N|
|
| 14 |
+
14|AAAAAAAAOAAAAAAA|2450236|2450282|14480|1000.00|1|ese|N|N|N|N|N|N|N|N|Adults would not delay rarely manufacturing, certain|Unknown|N|
|
| 15 |
+
15|AAAAAAAAPAAAAAAA||||1000.00||anti|Y||N|N||N|N|N|Old elements would shake pre|Unknown|N|
|
| 16 |
+
16|AAAAAAAAABAAAAAA|2450342|2450351|11899|1000.00|1|cally|Y|N|N|N|N|N|N|N|Sudden, wooden theories will not choose|Unknown|N|
|
| 17 |
+
17|AAAAAAAABBAAAAAA|2450360|2450406|15529|1000.00|1|ation|Y|N|N|N|N|N|N|N|Almost old churches ought to occur narrow|Unknown|N|
|
| 18 |
+
18|AAAAAAAACBAAAAAA|2450581|2450592|8599|1000.00|1|eing|Y|N|N|N|N|N|N|N|National communities use rarely oth|Unknown|N|
|
| 19 |
+
19|AAAAAAAADBAAAAAA|2450623|2450640|5185|1000.00|1|n st|N|N|N|N|N|N|N|N|Young families act. Most full prizes avert eastern glasses|Unknown|N|
|
| 20 |
+
20|AAAAAAAAEBAAAAAA|2450531|2450545|17860|1000.00|1|bar|Y|N|N|N|N|N|N|N|Usually common courses fit also leading|Unknown|N|
|
| 21 |
+
21|AAAAAAAAFBAAAAAA|2450895|2450904|3632|1000.00|1|ought|N|N|N|N|N|N|N|N|British tensions should not make virtually financia|Unknown|N|
|
| 22 |
+
22|AAAAAAAAGBAAAAAA|2450596|2450629|8044|1000.00|1|able|Y|N|N|N|N|N|N|N|Powers ought to allow to a c|Unknown|N|
|
| 23 |
+
23|AAAAAAAAHBAAAAAA|2450478|2450493|4321|1000.00|1|pri|N|N|N|N|N|N|N|N|As main privileges cannot seize however double games|Unknown|N|
|
| 24 |
+
24|AAAAAAAAIBAAAAAA|2450719|2450773|12004|1000.00|1|ese|Y|N|N|N|N|N|N|N|Words appear technical, casual f|Unknown|N|
|
| 25 |
+
25|AAAAAAAAJBAAAAAA|2450757|2450780|16328|1000.00|1|anti|Y|N|N|N|N|N|N|N|Scenes might make high |Unknown|N|
|
| 26 |
+
26|AAAAAAAAKBAAAAAA|2450528|2450545|8600|1000.00|1|cally|N|N|N|N|N|N|N|N|Legal discussions must not take a|Unknown|N|
|
| 27 |
+
27|AAAAAAAALBAAAAAA|2450849|2450879|15421|1000.00|1|ation|Y|N|N|N|N|N|N|N|Mental men go british friends. Forests show lo|Unknown|N|
|
| 28 |
+
28|AAAAAAAAMBAAAAAA|2450816|2450856|1885||1||N|N|N|N|N||N|N|Successful opportunities|Unknown||
|
| 29 |
+
29|AAAAAAAANBAAAAAA|2450696|2450732|14660|1000.00|1|n st|Y|N|N|N|N|N|N|N|Residential, necessary |Unknown|N|
|
| 30 |
+
30|AAAAAAAAOBAAAAAA|2450718|2450762|10987|1000.00|1|bar|N|N|N|N|N|N|N|N|Flowers used to stop there separate, hi|Unknown|N|
|
| 31 |
+
31|AAAAAAAAPBAAAAAA|2450848|2450880|11990|1000.00|1|ought|Y|N|N|N|N|N|N|N|Broad times might satisfy bars. Then short men anticipat|Unknown|N|
|
| 32 |
+
32|AAAAAAAAACAAAAAA|2450132|2450178|4184|1000.00|1|able|Y|N|N|N|N|N|N|N|Bad matters offer und|Unknown|N|
|
| 33 |
+
33|AAAAAAAABCAAAAAA|2450483|2450485|9607|1000.00|1|pri|N|N|N|N|N|N|N|N|Post-war subjects add possible, new units; nearly presen|Unknown|N|
|
| 34 |
+
34|AAAAAAAACCAAAAAA|2450584|2450610|1652|1000.00|1|ese|N|N|N|N|N|N|N|N|Strong cells could dis|Unknown|N|
|
| 35 |
+
35|AAAAAAAADCAAAAAA|2450890|2450912|15751|1000.00|1|anti|Y|N|N|N|N|N|N|N|Ideas register hence used provinces; |Unknown|N|
|
| 36 |
+
36|AAAAAAAAECAAAAAA|2450577|2450605|1418|1000.00|1|cally|N|N|N|N|N|N|N|N|Companies might stay|Unknown|N|
|
| 37 |
+
37|AAAAAAAAFCAAAAAA|2450609|2450669|4202|1000.00|1|ation|Y|N|N|N|N|N|N|N|Studies make little just mad rates. Detailed, flexib|Unknown|N|
|
| 38 |
+
38|AAAAAAAAGCAAAAAA|2450542|2450593|4222|1000.00|1|eing|Y|N|N|N|N|N|N|N|Exercises would not contain there; interests|Unknown|N|
|
| 39 |
+
39|AAAAAAAAHCAAAAAA|2450575|2450580|14990|1000.00|1|n st|N|N|N|N|N|N|N|N|Further final words must|Unknown|N|
|
| 40 |
+
40|AAAAAAAAICAAAAAA|2450125|2450158|17209|1000.00|1|bar|N|N|N|N|N|N|N|N|Deaf, tall members create as well confe|Unknown|N|
|
| 41 |
+
41|AAAAAAAAJCAAAAAA|2450694|2450719|17384|1000.00|1|ought|Y|N|N|N|N|N|N|N|There main cards try results. Lonely|Unknown|N|
|
| 42 |
+
42|AAAAAAAAKCAAAAAA|2450320|2450334|4166|1000.00|1|able|Y|N|N|N|N|N|N|N|Good, very problems might not look to a door|Unknown|N|
|
| 43 |
+
43|AAAAAAAALCAAAAAA|2450704|2450738|10000|1000.00|1|pri|N|N|N|N|N|N|N|N|Probably typical eyes mig|Unknown|N|
|
| 44 |
+
44|AAAAAAAAMCAAAAAA|2450469|2450481|14440|1000.00|1|ese|N|N|N|N|N|N|N|N|Roads would not grasp vital, guilty weaknesses. Other, |Unknown|N|
|
| 45 |
+
45|AAAAAAAANCAAAAAA|2450327|2450360|5660|1000.00|1|anti|N|N|N|N|N|N|N|N|Wrong, popular issues ought|Unknown|N|
|
| 46 |
+
46|AAAAAAAAOCAAAAAA|2450776|2450828|3271|1000.00|1|cally|Y|N|N|N|N|N|N|N|Warm decisions could not make over|Unknown|N|
|
| 47 |
+
47|AAAAAAAAPCAAAAAA|2450196|2450200|5689|1000.00|1|ation|N|N|N|N|N|N|N|N|Large, general points descri|Unknown|N|
|
| 48 |
+
48|AAAAAAAAADAAAAAA|2450783|2450807|3955|1000.00|1|eing|N|N|N|N|N|N|N|N|Losses must suspect fu|Unknown|N|
|
| 49 |
+
49|AAAAAAAABDAAAAAA|2450254|2450289|16123|1000.00|1|n st|N|N|N|N|N|N|N|N|Then particular farms attain to a types. Year|Unknown|N|
|
| 50 |
+
50|AAAAAAAACDAAAAAA|2450799|2450806|8722|1000.00|1|bar|Y|N|N|N|N|N|N|N|Favorite, united sales can budge to|Unknown|N|
|
| 51 |
+
51|AAAAAAAADDAAAAAA|2450401|2450438|11288|1000.00|1|ought|Y|N|N|N|N|N|N|N|Now liberal characteristics think relationshi|Unknown|N|
|
| 52 |
+
52|AAAAAAAAEDAAAAAA|2450272|2450320|3280|1000.00|1|able|Y|N|N|N|N|N|N|N|Authorities must pursue from a principles|Unknown|N|
|
| 53 |
+
53|AAAAAAAAFDAAAAAA|2450794|2450798|13370|1000.00|1|pri|N|N|N|N|N|N|N|N|Free hospitals cannot giv|Unknown|N|
|
| 54 |
+
54|AAAAAAAAGDAAAAAA|2450687|2450702|17707|1000.00|1|ese|N|N|N|N|N|N|N|N|Claims would not avoid. Approximately smal|Unknown|N|
|
| 55 |
+
55|AAAAAAAAHDAAAAAA|2450622|2450677|12104|1000.00|1|anti|N|N|N|N|N|N|N|N|Recent, southern lists go. Strang|Unknown|N|
|
| 56 |
+
56|AAAAAAAAIDAAAAAA|2450838|2450888|17563|1000.00|1|cally|Y|N|N|N|N|N|N|N|Procedures can call healthy women. Pla|Unknown|N|
|
| 57 |
+
57|AAAAAAAAJDAAAAAA|2450834|2450842|12247|1000.00|1|ation|Y|N|N|N|N|N|N|N|Hours discriminate tracks. Statements migh|Unknown|N|
|
| 58 |
+
58|AAAAAAAAKDAAAAAA||2450797|12404|1000.00||eing|Y|N|N|N||N||||||
|
| 59 |
+
59|AAAAAAAALDAAAAAA|2450273|2450322|5102|1000.00|1|n st|N|N|N|N|N|N|N|N|Strong samples participate. Influential legs fa|Unknown|N|
|
| 60 |
+
60|AAAAAAAAMDAAAAAA|2450646|2450676|12076|1000.00|1|bar|Y|N|N|N|N|N|N|N|Yards write too only shapes. Real cigarettes boost less mod|Unknown|N|
|
| 61 |
+
61|AAAAAAAANDAAAAAA|2450619|2450667|14864|1000.00|1|ought|Y|N|N|N|N|N|N|N|Necessary men shall make much |Unknown|N|
|
| 62 |
+
62|AAAAAAAAODAAAAAA|2450296|2450342|356|1000.00|1|able|Y|N|N|N|N|N|N|N|Only prepared minutes see far now outer resource|Unknown|N|
|
| 63 |
+
63|AAAAAAAAPDAAAAAA|2450248|2450295|3715|1000.00|1|pri|Y|N|N|N|N|N|N|N|Likely, permanent rights shall not make more members.|Unknown|N|
|
| 64 |
+
64|AAAAAAAAAEAAAAAA|2450498|2450519|1867|1000.00|1|ese|N|N|N|N|N|N|N|N|Costs would not operate; wrong, local honours meet just |Unknown|N|
|
| 65 |
+
65|AAAAAAAABEAAAAAA|2450775|2450816|3740|1000.00|1|anti|Y|N|N|N|N|N|N|N|Usually local days beg|Unknown|N|
|
| 66 |
+
66|AAAAAAAACEAAAAAA|2450486|2450504|4886|1000.00|1|cally|Y|N|N|N|N|N|N|N|Yet unaware methods used to try again only, accepta|Unknown|N|
|
| 67 |
+
67|AAAAAAAADEAAAAAA|2450262|2450314|6724|1000.00|1|ation|Y|N|N|N|N|N|N|N|Statutory states will not see directly necessary activ|Unknown|N|
|
| 68 |
+
68|AAAAAAAAEEAAAAAA|2450851|2450893|1210|1000.00|1|eing|Y|N|N|N|N|N|N|N|Reasonably additional shows can identify scientists. T|Unknown|N|
|
| 69 |
+
69|AAAAAAAAFEAAAAAA|2450202|2450219|7471|1000.00|1|n st|N|N|N|N|N|N|N|N|All right able intere|Unknown|N|
|
| 70 |
+
70|AAAAAAAAGEAAAAAA|2450679|2450735|3571|1000.00|1|bar|Y|N|N|N|N|N|N|N|Commercial, cool cells stay presu|Unknown|N|
|
| 71 |
+
71|AAAAAAAAHEAAAAAA|2450347||||||Y||N||N|N|N|N|Impossible programmes say acr|||
|
| 72 |
+
72|AAAAAAAAIEAAAAAA|2450347|2450373|6662|1000.00|1|able|N|N|N|N|N|N|N|N|Beautiful, british trees lea|Unknown|N|
|
| 73 |
+
73|AAAAAAAAJEAAAAAA|2450578|2450637|9032|1000.00|1|pri|Y|N|N|N|N|N|N|N|Tremendous, social towns used to move seemingl|Unknown|N|
|
| 74 |
+
74|AAAAAAAAKEAAAAAA|2450425|2450456|13904|1000.00|1|ese|N|N|N|N|N|N|N|N|Decent bodies grant overseas pretty lights. Long, cau|Unknown|N|
|
| 75 |
+
75|AAAAAAAALEAAAAAA|2450241|2450257|7630|1000.00|1|anti|Y|N|N|N|N|N|N|N|Sudden weeks dwell for instance for a pp.|Unknown|N|
|
| 76 |
+
76|AAAAAAAAMEAAAAAA|2450363|2450381|295|1000.00|1|cally|Y|N|N|N|N|N|N|N|Other, secondary interests know. Disabled, pop|Unknown|N|
|
| 77 |
+
77|AAAAAAAANEAAAAAA|2450711|2450736|3343|1000.00|1|ation|Y|N|N|N|N|N|N|N|Characters translate hitherto. Exce|Unknown|N|
|
| 78 |
+
78|AAAAAAAAOEAAAAAA|2450454|2450513|5356|1000.00|1|eing|Y|N|N|N|N|N|N|N|Standard studies arise as. Seriously current commen|Unknown|N|
|
| 79 |
+
79|AAAAAAAAPEAAAAAA|2450474|2450497|3736|1000.00|1|n st|N|N|N|N|N|N|N|N|Devices might not produce clearly silly items. Resource|Unknown|N|
|
| 80 |
+
80|AAAAAAAAAFAAAAAA|2450891|2450910|4148|1000.00|1|bar|N|N|N|N|N|N|N|N|Roles might not seem everyday contra|Unknown|N|
|
| 81 |
+
81|AAAAAAAABFAAAAAA|2450235|2450283|4010|1000.00|1|ought|N|N|N|N|N|N|N|N|Accused, dual women must assemble. No|Unknown|N|
|
| 82 |
+
82|AAAAAAAACFAAAAAA|2450685|2450718|12373|1000.00|1|able|Y|N|N|N|N|N|N|N|Economic, subject matters go tories. Tonnes say neve|Unknown|N|
|
| 83 |
+
83|AAAAAAAADFAAAAAA|2450175|2450235|10738|1000.00|1|pri|N|N|N|N|N|N|N|N|Original, huge projects|Unknown|N|
|
| 84 |
+
84|AAAAAAAAEFAAAAAA|2450900|2450954|16621|1000.00|1|ese|Y|N|N|N|N|N|N|N|Houses watch machine|Unknown|N|
|
| 85 |
+
85|AAAAAAAAFFAAAAAA|2450696|2450706|16894|1000.00|1|anti|Y|N|N|N|N|N|N|N|Only red systems ring right b|Unknown|N|
|
| 86 |
+
86|AAAAAAAAGFAAAAAA|2450745|2450787|11761|1000.00|1|cally|Y|N|N|N|N|N|N|N|Incentives could not look then excellent relationships. Wari|Unknown|N|
|
| 87 |
+
87|AAAAAAAAHFAAAAAA|2450712|2450730|16600|1000.00|1|ation|N|N|N|N|N|N|N|N|Numbers drive however. Yesterday ne|Unknown|N|
|
| 88 |
+
88|AAAAAAAAIFAAAAAA|2450102|2450151|12728|1000.00|1|eing|N|N|N|N|N|N|N|N|Chosen players try foreign parents. Safe, happy|Unknown|N|
|
| 89 |
+
89|AAAAAAAAJFAAAAAA|2450649|2450658|8566|1000.00|1|n st|Y|N|N|N|N|N|N|N|Cultural, obvious constra|Unknown|N|
|
| 90 |
+
90|AAAAAAAAKFAAAAAA|2450587|2450615|8527|1000.00|1|bar|Y|N|N|N|N|N|N|N|Labour children replace together.|Unknown|N|
|
| 91 |
+
91|AAAAAAAALFAAAAAA|2450723|2450742|2326|1000.00|1|ought|Y|N|N|N|N|N|N|N|Other, standard pupils go honest images. Di|Unknown|N|
|
| 92 |
+
92|AAAAAAAAMFAAAAAA|2450737|2450748|13580|1000.00|1|able|N|N|N|N|N|N|N|N|Jobs may not train equally by a leaders. New, red bui|Unknown|N|
|
| 93 |
+
93|AAAAAAAANFAAAAAA|2450125|2450154|4790|1000.00|1|pri|Y|N|N|N|N|N|N|N|Monthly ambitions convey less things. Economic occasions|Unknown|N|
|
| 94 |
+
94|AAAAAAAAOFAAAAAA|2450567|2450598|28|1000.00|1|ese|N|N|N|N|N|N|N|N|Small ladies shall wear sometimes urban|Unknown|N|
|
| 95 |
+
95|AAAAAAAAPFAAAAAA|2450370|2450397|199|1000.00|1|anti|N|N|N|N|N|N|N|N|Long travellers ought to excuse existing ti|Unknown|N|
|
| 96 |
+
96|AAAAAAAAAGAAAAAA|2450710|2450752|16226|1000.00|1|cally|Y|N|N|N|N|N|N|N|Little new boys wear only basic,|Unknown|N|
|
| 97 |
+
97|AAAAAAAABGAAAAAA|2450660|2450685|16952|1000.00|1|ation|Y|N|N|N|N|N|N|N|New, severe employee|Unknown|N|
|
| 98 |
+
98|AAAAAAAACGAAAAAA|2450384|2450387|10414|1000.00|1|eing|Y|N|N|N|N|N|N|N|Periods shall not need as exa|Unknown|N|
|
| 99 |
+
99|AAAAAAAADGAAAAAA|2450742|2450799|7544|1000.00|1|n st|Y|N|N|N|N|N|N|N|White, easy shoulders might tell. Black,|Unknown|N|
|
| 100 |
+
100|AAAAAAAAEGAAAAAA|2450508|2450562|10645|1000.00|1|bar|N|N|N|N|N|N|N|N|Villages go more. Ministers surprise now blue, usu|Unknown|N|
|
| 101 |
+
101|AAAAAAAAFGAAAAAA||2450811||||||N|N||||N|N|Reports would make at a women. Big, big offices may not meet|Unknown|N|
|
| 102 |
+
102|AAAAAAAAGGAAAAAA|2450608|2450614|9614|1000.00|1|able|Y|N|N|N|N|N|N|N|Medieval fires may read; much young leaders give quickly|Unknown|N|
|
| 103 |
+
103|AAAAAAAAHGAAAAAA|2450499|2450525|12688|1000.00|1|pri|N|N|N|N|N|N|N|N|Still ready eyes will create still worried|Unknown|N|
|
| 104 |
+
104|AAAAAAAAIGAAAAAA|2450276|2450293|2461|1000.00|1|ese|N|N|N|N|N|N|N|N|Years will sum always small, clear b|Unknown|N|
|
| 105 |
+
105|AAAAAAAAJGAAAAAA|2450873|2450912|14182|1000.00|1|anti|Y|N|N|N|N|N|N|N|Other definitions prevent good, universal stud|Unknown|N|
|
| 106 |
+
106|AAAAAAAAKGAAAAAA|2450858|2450872|3754|1000.00|1|cally|N|N|N|N|N|N|N|N|Long large problems should |Unknown|N|
|
| 107 |
+
107|AAAAAAAALGAAAAAA|2450749|2450758|10574|1000.00|1|ation|Y|N|N|N|N|N|N|N|Good, foreign problems will n|Unknown|N|
|
| 108 |
+
108|AAAAAAAAMGAAAAAA|2450224|2450257|274|1000.00|1|eing|Y|N|N|N|N|N|N|N|High, tiny sides may pay totally|Unknown|N|
|
| 109 |
+
109|AAAAAAAANGAAAAAA|2450455|2450467|8302|1000.00|1|n st|Y|N|N|N|N|N|N|N|Reasonable posts become for example available rates. Kind|Unknown|N|
|
| 110 |
+
110|AAAAAAAAOGAAAAAA|2450852|2450905|15568|1000.00|1|bar|N|N|N|N|N|N|N|N|Huge, european users reveal|Unknown|N|
|
| 111 |
+
111|AAAAAAAAPGAAAAAA|2450758|2450816|2462|1000.00|1|ought|Y|N|N|N|N|N|N|N|Huge, early keys come greatly gay schools; great instan|Unknown|N|
|
| 112 |
+
112|AAAAAAAAAHAAAAAA|2450870|2450916|7640|1000.00|1|able|N|N|N|N|N|N|N|N|Greek, young minutes will divide then roman payments|Unknown|N|
|
| 113 |
+
113|AAAAAAAABHAAAAAA|2450226|2450276|13916|1000.00|1|pri|Y|N|N|N|N|N|N|N|Warm hands know as much strong terms. Tightly extra|Unknown|N|
|
| 114 |
+
114|AAAAAAAACHAAAAAA|2450687|2450720|13507|1000.00|1|ese|N|N|N|N|N|N|N|N|New, necessary kilometres lock so. Deci|Unknown|N|
|
| 115 |
+
115|AAAAAAAADHAAAAAA|2450727|2450751|15002|1000.00|1|anti|N|N|N|N|N|N|N|N|Personal wounds see sec|Unknown|N|
|
| 116 |
+
116|AAAAAAAAEHAAAAAA|2450352|2450361|9187|1000.00|1|cally|N|N|N|N|N|N|N|N|Bad, close tories could not appreciate also |Unknown|N|
|
| 117 |
+
117|AAAAAAAAFHAAAAAA|2450285|2450308|8854|1000.00|1|ation|Y|N|N|N|N|N|N|N|Extreme centres will learn ever blue men; proportions ident|Unknown|N|
|
| 118 |
+
118|AAAAAAAAGHAAAAAA|2450460|2450471|7183|1000.00|1|eing|N|N|N|N|N|N|N|N|Very proposed pressures shall not take major, average f|Unknown|N|
|
| 119 |
+
119|AAAAAAAAHHAAAAAA|2450224|2450236|13903|1000.00|1|n st|Y|N|N|N|N|N|N|N|Similar ideas go origin|Unknown|N|
|
| 120 |
+
120|AAAAAAAAIHAAAAAA|2450302|2450341|5578|1000.00|1|bar|N|N|N|N|N|N|N|N|Children shall come |Unknown|N|
|
| 121 |
+
121|AAAAAAAAJHAAAAAA|2450752|2450769|1648|1000.00|1|ought|N|N|N|N|N|N|N|N|Essentially nervous cells should no|Unknown|N|
|
| 122 |
+
122|AAAAAAAAKHAAAAAA|2450422|2450452|6778|1000.00|1|able|Y|N|N|N|N|N|N|N|In order certain estates used to answer ho|Unknown|N|
|
| 123 |
+
123|AAAAAAAALHAAAAAA|2450628|2450673|2132|1000.00|1|pri|N|N|N|N|N|N|N|N|English, other followers help here claims.|Unknown|N|
|
| 124 |
+
124|AAAAAAAAMHAAAAAA|2450517|2450565|7051|1000.00|1|ese|Y|N|N|N|N|N|N|N|Institutional, new men used to win |Unknown|N|
|
| 125 |
+
125|AAAAAAAANHAAAAAA|2450704|2450719|6439|1000.00|1|anti|N|N|N|N|N|N|N|N|Societies would justify today at|Unknown|N|
|
| 126 |
+
126|AAAAAAAAOHAAAAAA|2450840|2450852|7039|1000.00|1|cally|Y|N|N|N|N|N|N|N|Drivers could overcome more ages; loud short-term children|Unknown|N|
|
| 127 |
+
127|AAAAAAAAPHAAAAAA|2450802|2450836|13510|1000.00|1|ation|N|N|N|N|N|N|N|N|Now obvious players make ever|Unknown|N|
|
| 128 |
+
128|AAAAAAAAAIAAAAAA|2450373|2450398|9080|1000.00|1|eing|N|N|N|N|N|N|N|N|Too possible curtains stop d|Unknown|N|
|
| 129 |
+
129|AAAAAAAABIAAAAAA|2450357|2450373|614|1000.00|1|n st|Y|N|N|N|N|N|N|N|Comments can release still. Really final others might consid|Unknown|N|
|
| 130 |
+
130|AAAAAAAACIAAAAAA|2450219|2450236|13598|1000.00|1|bar|Y|N|N|N|N|N|N|N|Years arrange just to the men. Dif|Unknown|N|
|
| 131 |
+
131|AAAAAAAADIAAAAAA|2450305|2450313|3793|1000.00|1|ought|Y|N|N|N|N|N|N|N|Unable children cannot answer for an |Unknown|N|
|
| 132 |
+
132|AAAAAAAAEIAAAAAA|2450231|2450240|4219|1000.00|1|able|N|N|N|N|N|N|N|N|Warm, blue officers s|Unknown|N|
|
| 133 |
+
133|AAAAAAAAFIAAAAAA|2450587|2450593|854|1000.00|1|pri|Y|N|N|N|N|N|N|N|Charming, negative houses buy more in the implicat|Unknown|N|
|
| 134 |
+
134|AAAAAAAAGIAAAAAA|2450479|2450501|10922|1000.00|1|ese|N|N|N|N|N|N|N|N|Skills can say very days. Mini|Unknown|N|
|
| 135 |
+
135|AAAAAAAAHIAAAAAA|2450607|2450624|9748|1000.00|1|anti|N|N|N|N|N|N|N|N|Officers will allow sig|Unknown|N|
|
| 136 |
+
136|AAAAAAAAIIAAAAAA|2450701|2450710|13849|1000.00|1|cally|N|N|N|N|N|N|N|N|Mountains would want just eyebrows. Prime figu|Unknown|N|
|
| 137 |
+
137|AAAAAAAAJIAAAAAA|2450123|2450177|15872|1000.00|1|ation|N|N|N|N|N|N|N|N|Finally capable rates will not catch more on a wi|Unknown|N|
|
| 138 |
+
138|AAAAAAAAKIAAAAAA|2450758|2450760|12814|1000.00|1|eing|Y|N|N|N|N|N|N|N|So reasonable wages know parents.|Unknown|N|
|
| 139 |
+
139|AAAAAAAALIAAAAAA|2450365|2450383|5882|1000.00|1|n st|N|N|N|N|N|N|N|N|Then relevant changes take aga|Unknown|N|
|
| 140 |
+
140|AAAAAAAAMIAAAAAA|2450655|2450708|12968|1000.00|1|bar|N|N|N|N|N|N|N|N|Tiny days must feel kinds. Able designs will not rem|Unknown|N|
|
| 141 |
+
141|AAAAAAAANIAAAAAA|2450301|2450353|13100|1000.00|1|ought|Y|N|N|N|N|N|N|N|As political structures|Unknown|N|
|
| 142 |
+
142|AAAAAAAAOIAAAAAA|2450358|2450385|12956|1000.00|1|able|Y|N|N|N|N|N|N|N|Well female movements wander. Faint origins shall des|Unknown|N|
|
| 143 |
+
143|AAAAAAAAPIAAAAAA|2450828|2450854|13006|1000.00|1|pri|N|N|N|N|N|N|N|N|Hands sink good social newspapers. Thin terms used|Unknown|N|
|
| 144 |
+
144|AAAAAAAAAJAAAAAA|2450780|2450830|15688|1000.00|1|ese|N|N|N|N|N|N|N|N|Reasonably social imports w|Unknown|N|
|
| 145 |
+
145|AAAAAAAABJAAAAAA|2450715|2450756|10406|1000.00|1|anti|N|N|N|N|N|N|N|N|Sorry, unlikely practitioners demand either|Unknown|N|
|
| 146 |
+
146|AAAAAAAACJAAAAAA|2450200|2450236|8119|1000.00|1|cally|Y|N|N|N|N|N|N|N|Direct, added regions could |Unknown|N|
|
| 147 |
+
147|AAAAAAAADJAAAAAA|2450767|2450827|15925|1000.00|1|ation|N|N|N|N|N|N|N|N|Years project groups; social, regular organizations |Unknown|N|
|
| 148 |
+
148|AAAAAAAAEJAAAAAA|2450291|2450345|11275|1000.00|1|eing|Y|N|N|N|N|N|N|N|Just wrong samples strengthen rig|Unknown|N|
|
| 149 |
+
149|AAAAAAAAFJAAAAAA|2450739|2450797|17719|1000.00|1|n st|Y|N|N|N|N|N|N|N|Public fields may clear. Priest|Unknown|N|
|
| 150 |
+
150|AAAAAAAAGJAAAAAA|2450860|2450915|9578|1000.00|1|bar|Y|N|N|N|N|N|N|N|Nearby figures would run rem|Unknown|N|
|
| 151 |
+
151|AAAAAAAAHJAAAAAA|2450707|2450751|4408|1000.00|1|ought|N|N|N|N|N|N|N|N|Much financial centuries shall believe still common, re|Unknown|N|
|
| 152 |
+
152|AAAAAAAAIJAAAAAA|2450564|2450573|2314|1000.00|1|able|N|N|N|N|N|N|N|N|Over dependent topics must use apparent, fre|Unknown|N|
|
| 153 |
+
153|AAAAAAAAJJAAAAAA|2450712|2450725|16514|1000.00|1|pri|N|N|N|N|N|N|N|N|Organisations make altogether as new nations. Soc|Unknown|N|
|
| 154 |
+
154|AAAAAAAAKJAAAAAA|2450869|2450898|2674|1000.00|1|ese|Y|N|N|N|N|N|N|N|Following, current matters|Unknown|N|
|
| 155 |
+
155|AAAAAAAALJAAAAAA|2450409|2450419|202|1000.00|1|anti|N|N|N|N|N|N|N|N|Expectations stop exactly. Other, rea|Unknown|N|
|
| 156 |
+
156|AAAAAAAAMJAAAAAA|2450681|2450732|7975|1000.00|1|cally|Y|N|N|N|N|N|N|N|Executive, poor jobs look also foreign bodies|Unknown|N|
|
| 157 |
+
157|AAAAAAAANJAAAAAA|2450389|2450445|6079|1000.00|1|ation|Y|N|N|N|N|N|N|N|Certainly pleasant features come; as inevitable women bid wi|Unknown|N|
|
| 158 |
+
158|AAAAAAAAOJAAAAAA|2450350|2450390|17863|1000.00|1|eing|N|N|N|N|N|N|N|N|Levels must not trans|Unknown|N|
|
| 159 |
+
159|AAAAAAAAPJAAAAAA|2450682|2450700|58|1000.00|1|n st|Y|N|N|N|N|N|N|N|Regional schemes would devise even loc|Unknown|N|
|
| 160 |
+
160|AAAAAAAAAKAAAAAA|2450583|2450642|13144|1000.00|1|bar|N|N|N|N|N|N|N|N|Blocks generate still on a eyes; just other arrangements get|Unknown|N|
|
| 161 |
+
161|AAAAAAAABKAAAAAA|2450900|2450955|680|1000.00|1|ought|Y|N|N|N|N|N|N|N|Concepts might live of cours|Unknown|N|
|
| 162 |
+
162|AAAAAAAACKAAAAAA|2450532|2450557|11194|1000.00|1|able|N|N|N|N|N|N|N|N|Once short boots please; small, spe|Unknown|N|
|
| 163 |
+
163|AAAAAAAADKAAAAAA|2450102|2450142|5038|1000.00|1|pri|Y|N|N|N|N|N|N|N|Glasses tell even as tight ca|Unknown|N|
|
| 164 |
+
164|AAAAAAAAEKAAAAAA|2450423|2450453|17593|1000.00|1|ese|Y|N|N|N|N|N|N|N|Available, blue hours explo|Unknown|N|
|
| 165 |
+
165|AAAAAAAAFKAAAAAA|2450854|2450894|3166|1000.00|1|anti|Y|N|N|N|N|N|N|N|Over responsible demonstrations |Unknown|N|
|
| 166 |
+
166|AAAAAAAAGKAAAAAA|2450365|2450383|6652|1000.00|1|cally|N|N|N|N|N|N|N|N|Others matter serious catego|Unknown|N|
|
| 167 |
+
167|AAAAAAAAHKAAAAAA|2450648|2450651|3922|1000.00|1|ation|Y|N|N|N|N|N|N|N|Urban abilities would|Unknown|N|
|
| 168 |
+
168|AAAAAAAAIKAAAAAA|2450271|2450331|17422|1000.00|1|eing|N|N|N|N|N|N|N|N|Slightly technical dut|Unknown|N|
|
| 169 |
+
169|AAAAAAAAJKAAAAAA|2450716|2450774|1726|1000.00|1|n st|Y|N|N|N|N|N|N|N|Great chapters would move patently white |Unknown|N|
|
| 170 |
+
170|AAAAAAAAKKAAAAAA|2450702|2450724|17498|1000.00|1|bar|Y|N|N|N|N|N|N|N|Alternatives induce very in the peasants. Necessary cont|Unknown|N|
|
| 171 |
+
171|AAAAAAAALKAAAAAA|2450635|2450642|5383|1000.00|1|ought|N|N|N|N|N|N|N|N|Needs count from a se|Unknown|N|
|
| 172 |
+
172|AAAAAAAAMKAAAAAA|2450735|2450785|10030|1000.00|1|able|Y|N|N|N|N|N|N|N|Complete decisions would not find curio|Unknown|N|
|
| 173 |
+
173|AAAAAAAANKAAAAAA|2450172|2450199|12698|1000.00|1|pri|N|N|N|N|N|N|N|N|Constitutional materials |Unknown|N|
|
| 174 |
+
174|AAAAAAAAOKAAAAAA|2450463|2450474|17428|1000.00|1|ese|Y|N|N|N|N|N|N|N|Young, funny lines shall tell colours. Single examples|Unknown|N|
|
| 175 |
+
175|AAAAAAAAPKAAAAAA|2450675|2450704|6982|1000.00|1|anti|Y|N|N|N|N|N|N|N|Signs hear moreover nations. There perfect|Unknown|N|
|
| 176 |
+
176|AAAAAAAAALAAAAAA|2450487|2450498|16496|1000.00|1|cally|N|N|N|N|N|N|N|N|Only british areas understand. Also public i|Unknown|N|
|
| 177 |
+
177|AAAAAAAABLAAAAAA|2450729|2450733|4483|1000.00|1|ation|N|N|N|N|N|N|N|N|Models would love high t|Unknown|N|
|
| 178 |
+
178|AAAAAAAACLAAAAAA|2450345|2450392|15134|1000.00|1|eing|Y|N|N|N|N|N|N|N|Right obvious pounds could not prove. Political, c|Unknown|N|
|
| 179 |
+
179|AAAAAAAADLAAAAAA|2450230|2450281|12496|1000.00|1|n st|Y|N|N|N|N|N|N|N|Left, encouraging bi|Unknown|N|
|
| 180 |
+
180|AAAAAAAAELAAAAAA|2450471|2450484|12517|1000.00|1|bar|Y|N|N|N|N|N|N|N|Significant children se|Unknown|N|
|
| 181 |
+
181|AAAAAAAAFLAAAAAA|2450649|2450673|11653|1000.00|1|ought|Y|N|N|N|N|N|N|N|Away due moments will not feed specifically. Ple|Unknown|N|
|
| 182 |
+
182|AAAAAAAAGLAAAAAA|2450703|2450731|2734|1000.00|1|able|Y|N|N|N|N|N|N|N|Other, full members fin|Unknown|N|
|
| 183 |
+
183|AAAAAAAAHLAAAAAA|2450777|2450824|2420|1000.00|1|pri|N|N|N|N|N|N|N|N|Increases could not buy socia|Unknown|N|
|
| 184 |
+
184|AAAAAAAAILAAAAAA|2450241|2450300|12238|1000.00|1|ese|N|N|N|N|N|N|N|N|Favourably visible children oug|Unknown|N|
|
| 185 |
+
185|AAAAAAAAJLAAAAAA|2450688|2450702|15091|1000.00|1|anti|N|N|N|N|N|N|N|N|Fingers help monthly, onl|Unknown|N|
|
| 186 |
+
186|AAAAAAAAKLAAAAAA|2450627|2450643|5512|1000.00|1|cally|N|N|N|N|N|N|N|N|Effectively appropriate eyes achieve m|Unknown|N|
|
| 187 |
+
187|AAAAAAAALLAAAAAA|2450484|2450530|4798|1000.00|1|ation|Y|N|N|N|N|N|N|N|Enough detailed months try so chronic, local discussions. R|Unknown|N|
|
| 188 |
+
188|AAAAAAAAMLAAAAAA|2450385|2450413|14246|1000.00|1|eing|Y|N|N|N|N|N|N|N|Machines open only unique minut|Unknown|N|
|
| 189 |
+
189|AAAAAAAANLAAAAAA|2450420|2450456|12550|1000.00|1|n st|N|N|N|N|N|N|N|N|Junior activities discover de|Unknown|N|
|
| 190 |
+
190|AAAAAAAAOLAAAAAA|2450512|2450563|15151|1000.00|1|bar|Y|N|N|N|N|N|N|N|Customers live now. Systematic, free others se|Unknown|N|
|
| 191 |
+
191|AAAAAAAAPLAAAAAA|2450126|2450160|7993|1000.00|1|ought|Y|N|N|N|N|N|N|N|Experiences must not win instead surely certain accou|Unknown|N|
|
| 192 |
+
192|AAAAAAAAAMAAAAAA|2450556|2450573|3026|1000.00|1|able|N|N|N|N|N|N|N|N|Days come for a quarters. Periods shall not read also as |Unknown|N|
|
| 193 |
+
193|AAAAAAAABMAAAAAA|2450259|2450309|8780|1000.00|1|pri|Y|N|N|N|N|N|N|N|Terms should not know. Communists will not describe e|Unknown|N|
|
| 194 |
+
194|AAAAAAAACMAAAAAA|2450664|2450723|289|1000.00|1|ese|Y|N|N|N|N|N|N|N|Cultural deaths could develop yet able conditions. Nation|Unknown|N|
|
| 195 |
+
195|AAAAAAAADMAAAAAA|2450543|2450601|5167|1000.00|1|anti|N|N|N|N|N|N|N|N|Conventions make immediately glad branche|Unknown|N|
|
| 196 |
+
196|AAAAAAAAEMAAAAAA|2450315||||1||Y|||N|N|||N|Able patients will lend as. Southern components must com|||
|
| 197 |
+
197|AAAAAAAAFMAAAAAA|2450299||10550||1|||N|N|N|N|||||Unknown||
|
| 198 |
+
198|AAAAAAAAGMAAAAAA|2450617|2450670|15439|1000.00|1|eing|Y|N|N|N|N|N|N|N|German, crude expectations must advanc|Unknown|N|
|
| 199 |
+
199|AAAAAAAAHMAAAAAA|2450772|2450825|8587|1000.00|1|n st|N|N|N|N|N|N|N|N|Powerful, considerable programs could operate bloody nor|Unknown|N|
|
| 200 |
+
200|AAAAAAAAIMAAAAAA|2450215|2450237|12784|1000.00|1|bar|N|N|N|N|N|N|N|N|Arts attend. Further irish miles decide in the advances|Unknown|N|
|
| 201 |
+
201|AAAAAAAAJMAAAAAA|2450464|2450499|3445|1000.00|1|ought|N|N|N|N|N|N|N|N|Square, unusual years erect so outdoor, co|Unknown|N|
|
| 202 |
+
202|AAAAAAAAKMAAAAAA|2450913|2450922|3883|1000.00|1|able|Y|N|N|N|N|N|N|N|Strong, traditional paren|Unknown|N|
|
| 203 |
+
203|AAAAAAAALMAAAAAA|2450337|2450365|17569|1000.00|1|pri|Y|N|N|N|N|N|N|N|Completely brave charges may sit then observers. So total|Unknown|N|
|
| 204 |
+
204|AAAAAAAAMMAAAAAA|2450692|2450736|1564|1000.00|1|ese|Y|N|N|N|N|N|N|N|Sideways numerous departments make just. St|Unknown|N|
|
| 205 |
+
205|AAAAAAAANMAAAAAA|2450133|2450160|9889|1000.00|1|anti|Y|N|N|N|N|N|N|N|Little hot conditions look nice, possible results; gen|Unknown|N|
|
| 206 |
+
206|AAAAAAAAOMAAAAAA|2450715|2450733|9829|1000.00|1|cally|Y|N|N|N|N|N|N|N|Final workers resign. Now nuclear accounts get r|Unknown|N|
|
| 207 |
+
207|AAAAAAAAPMAAAAAA|2450699|2450704|4273|1000.00|1|ation|Y|N|N|N|N|N|N|N|Economic, professional models cannot hit a|Unknown|N|
|
| 208 |
+
208|AAAAAAAAANAAAAAA|2450420|2450464|5348|1000.00|1|eing|Y|N|N|N|N|N|N|N|Heavy, main circumstances used to appear |Unknown|N|
|
| 209 |
+
209|AAAAAAAABNAAAAAA|2450563|2450580|3430|1000.00|1|n st|N|N|N|N|N|N|N|N|Hours open similarly international companies. Regardless|Unknown|N|
|
| 210 |
+
210|AAAAAAAACNAAAAAA|2450847|2450892|7411|1000.00|1|bar|Y|N|N|N|N|N|N|N|So new sports will not discuss of course big diff|Unknown|N|
|
| 211 |
+
211|AAAAAAAADNAAAAAA|2450646|2450649|7508|1000.00|1|ought|Y|N|N|N|N|N|N|N|Public, running ladies l|Unknown|N|
|
| 212 |
+
212|AAAAAAAAENAAAAAA|2450781|2450834|10768|1000.00|1|able|N|N|N|N|N|N|N|N|Good decades take. Proper, black unions must not |Unknown|N|
|
| 213 |
+
213|AAAAAAAAFNAAAAAA|2450403|2450415|6350|1000.00|1|pri|Y|N|N|N|N|N|N|N|However powerful critics split just eyes.|Unknown|N|
|
| 214 |
+
214|AAAAAAAAGNAAAAAA||2450779||1000.00|||N||||||N|N|Pupils will meet military travellers. Other sequenc|Unknown|N|
|
| 215 |
+
215|AAAAAAAAHNAAAAAA|2450235|2450252|5840|1000.00|1|anti|Y|N|N|N|N|N|N|N|Apparent, experienced bombs |Unknown|N|
|
| 216 |
+
216|AAAAAAAAINAAAAAA|2450885|2450898|13504|1000.00|1|cally|N|N|N|N|N|N|N|N|Large, necessary cars support since as a car|Unknown|N|
|
| 217 |
+
217|AAAAAAAAJNAAAAAA|2450265|2450316|466|1000.00|1|ation|N|N|N|N|N|N|N|N|Also splendid terms enter never nice, foreign periods; v|Unknown|N|
|
| 218 |
+
218|AAAAAAAAKNAAAAAA|2450443|2450490|17338|1000.00|1|eing|N|N|N|N|N|N|N|N|Great texts will blow; mostly |Unknown|N|
|
| 219 |
+
219|AAAAAAAALNAAAAAA|2450821|2450859|12662|1000.00|1|n st|N|N|N|N|N|N|N|N|Briefly old records must not find precious instr|Unknown|N|
|
| 220 |
+
220|AAAAAAAAMNAAAAAA|2450857|2450907|17108|1000.00|1|bar|N|N|N|N|N|N|N|N|Also long refugees interpret thus; regular sections sha|Unknown|N|
|
| 221 |
+
221|AAAAAAAANNAAAAAA|2450134|2450182|2863|1000.00|1|ought|N|N|N|N|N|N|N|N|Probable, available categories will not |Unknown|N|
|
| 222 |
+
222|AAAAAAAAONAAAAAA|2450336|2450378|122|1000.00|1|able|Y|N|N|N|N|N|N|N|Ways help. Everywhere ma|Unknown|N|
|
| 223 |
+
223|AAAAAAAAPNAAAAAA|2450671|2450721|11452|1000.00|1|pri|N|N|N|N|N|N|N|N|Earlier traditional groups|Unknown|N|
|
| 224 |
+
224|AAAAAAAAAOAAAAAA|2450135|2450140|13534|1000.00|1|ese|Y|N|N|N|N|N|N|N|Then general preferences cou|Unknown|N|
|
| 225 |
+
225|AAAAAAAABOAAAAAA||2450434|6514|1000.00||anti||N||||N|||Actual, very words used to divide secondly |||
|
| 226 |
+
226|AAAAAAAACOAAAAAA|2450436|2450468|2848|1000.00|1|cally|N|N|N|N|N|N|N|N|Signs must drink certainly buildings. |Unknown|N|
|
| 227 |
+
227|AAAAAAAADOAAAAAA|2450751|2450794|3697|1000.00|1|ation|N|N|N|N|N|N|N|N|Arms can find social, great groups. Female, sweet forms|Unknown|N|
|
| 228 |
+
228|AAAAAAAAEOAAAAAA|2450337|2450354|11678|1000.00|1|eing|Y|N|N|N|N|N|N|N|Most basic walls used to attack in a hospitals. |Unknown|N|
|
| 229 |
+
229|AAAAAAAAFOAAAAAA|2450146|2450188|10486|1000.00|1|n st|N|N|N|N|N|N|N|N|Ships make never netwo|Unknown|N|
|
| 230 |
+
230|AAAAAAAAGOAAAAAA|2450741|2450758|17480|1000.00|1|bar|Y|N|N|N|N|N|N|N|References remember ago ove|Unknown|N|
|
| 231 |
+
231|AAAAAAAAHOAAAAAA|2450177|2450186|13843|1000.00|1|ought|Y|N|N|N|N|N|N|N|Christians used to arr|Unknown|N|
|
| 232 |
+
232|AAAAAAAAIOAAAAAA|2450769|2450822|15055|1000.00|1|able|N|N|N|N|N|N|N|N|Travellers soak very contribut|Unknown|N|
|
| 233 |
+
233|AAAAAAAAJOAAAAAA|2450318|2450369|1094|1000.00|1|pri|Y|N|N|N|N|N|N|N|Young, valuable companies watch walls. Payments can flour|Unknown|N|
|
| 234 |
+
234|AAAAAAAAKOAAAAAA|2450299|2450354|15476|1000.00|1|ese|Y|N|N|N|N|N|N|N|Inadequate christians can try possible, pal|Unknown|N|
|
| 235 |
+
235|AAAAAAAALOAAAAAA|2450877|2450918|4910|1000.00|1|anti|Y|N|N|N|N|N|N|N|Bloody, useful universities wait then now abl|Unknown|N|
|
| 236 |
+
236|AAAAAAAAMOAAAAAA|2450438|2450468|8095|1000.00|1|cally|N|N|N|N|N|N|N|N|Months may not enjoy things. Proper cattle go still recomme|Unknown|N|
|
| 237 |
+
237|AAAAAAAANOAAAAAA|2450731|2450791|6722|1000.00|1|ation|Y|N|N|N|N|N|N|N|True, major criteria must |Unknown|N|
|
| 238 |
+
238|AAAAAAAAOOAAAAAA|2450498|2450510|10280|1000.00|1|eing|N|N|N|N|N|N|N|N|Others deal both companies. Separ|Unknown|N|
|
| 239 |
+
239|AAAAAAAAPOAAAAAA|2450627|2450680|17362|1000.00|1|n st|Y|N|N|N|N|N|N|N|Almost following strategie|Unknown|N|
|
| 240 |
+
240|AAAAAAAAAPAAAAAA|2450764|2450815|4874|1000.00|1|bar|Y|N|N|N|N|N|N|N|Young, present friends back for the dangers.|Unknown|N|
|
| 241 |
+
241|AAAAAAAABPAAAAAA|2450580|2450596|3916|1000.00|1|ought|N|N|N|N|N|N|N|N|Other years support then political, s|Unknown|N|
|
| 242 |
+
242|AAAAAAAACPAAAAAA|2450393|2450396|5467|1000.00|1|able|Y|N|N|N|N|N|N|N|Just victorian flowers could n|Unknown|N|
|
| 243 |
+
243|AAAAAAAADPAAAAAA|2450809|2450865|1576|1000.00|1|pri|Y|N|N|N|N|N|N|N|Boys shall not rest meanwhile from the police. Co|Unknown|N|
|
| 244 |
+
244|AAAAAAAAEPAAAAAA|2450536|2450583|11725|1000.00|1|ese|Y|N|N|N|N|N|N|N|Unusual, key areas might come there all industrial stan|Unknown|N|
|
| 245 |
+
245|AAAAAAAAFPAAAAAA|2450578|2450621|16075|1000.00|1|anti|N|N|N|N|N|N|N|N|Alive substances can decid|Unknown|N|
|
| 246 |
+
246|AAAAAAAAGPAAAAAA|2450452|2450463|13315|1000.00|1|cally|Y|N|N|N|N|N|N|N|However warm countries could not come now ostensi|Unknown|N|
|
| 247 |
+
247|AAAAAAAAHPAAAAAA|2450100|2450145|12976|1000.00|1|ation|Y|N|N|N|N|N|N|N|Therefore distinguished studies enhance as old, ready|Unknown|N|
|
| 248 |
+
248|AAAAAAAAIPAAAAAA|2450824|2450853|12451|1000.00|1|eing|N|N|N|N|N|N|N|N|Other facts ensure large children. Easily incre|Unknown|N|
|
| 249 |
+
249|AAAAAAAAJPAAAAAA|2450467|2450523|4195|1000.00|1|n st|Y|N|N|N|N|N|N|N|Wrong materials should not |Unknown|N|
|
| 250 |
+
250|AAAAAAAAKPAAAAAA|2450606||||1|||N|N||||N|N|Private, political materials will not|Unknown||
|
| 251 |
+
251|AAAAAAAALPAAAAAA|2450150|2450181|9187|1000.00|1|ought|N|N|N|N|N|N|N|N|Other quarters used to keep thus available root|Unknown|N|
|
| 252 |
+
252|AAAAAAAAMPAAAAAA|2450290|2450319|1292|1000.00|1|able|N|N|N|N|N|N|N|N|Small characters could not tick fairly true tickets; r|Unknown|N|
|
| 253 |
+
253|AAAAAAAANPAAAAAA|2450337|2450364|13351|1000.00|1|pri|Y|N|N|N|N|N|N|N|Similar, true friends ought to allow forc|Unknown|N|
|
| 254 |
+
254|AAAAAAAAOPAAAAAA|2450673|2450717|11371|1000.00|1|ese|Y|N|N|N|N|N|N|N|Main designers will qualify obvious, new cuts. Democra|Unknown|N|
|
| 255 |
+
255|AAAAAAAAPPAAAAAA|2450738|2450795|10129|1000.00|1|anti|N|N|N|N|N|N|N|N|Welsh, distinct penalties should lose sorry pairs|Unknown|N|
|
| 256 |
+
256|AAAAAAAAAABAAAAA|2450265|2450303|3058|1000.00|1|cally|N|N|N|N|N|N|N|N|Police shall put seats. Banks would not become less |Unknown|N|
|
| 257 |
+
257|AAAAAAAABABAAAAA|2450789|2450821|8486|1000.00|1|ation|N|N|N|N|N|N|N|N|Books expect international, big interests|Unknown|N|
|
| 258 |
+
258|AAAAAAAACABAAAAA|2450687|2450732|16892|1000.00|1|eing|N|N|N|N|N|N|N|N|Uncomfortable, total rights ought to take factors. Pec|Unknown|N|
|
| 259 |
+
259|AAAAAAAADABAAAAA|2450293|2450335|11440|1000.00|1|n st|Y|N|N|N|N|N|N|N|United rules recognise active, funny arrangements. Fu|Unknown|N|
|
| 260 |
+
260|AAAAAAAAEABAAAAA|2450430|2450485|13129|1000.00|1|bar|Y|N|N|N|N|N|N|N|Phrases must wish just movements; serious,|Unknown|N|
|
| 261 |
+
261|AAAAAAAAFABAAAAA|2450243|2450268|14677|1000.00|1|ought|N|N|N|N|N|N|N|N|Respectively similar children go firm la|Unknown|N|
|
| 262 |
+
262|AAAAAAAAGABAAAAA|2450849|2450868|2876|1000.00|1|able|N|N|N|N|N|N|N|N|Thus early wheels keep more|Unknown|N|
|
| 263 |
+
263|AAAAAAAAHABAAAAA|2450383|2450396|2116|1000.00|1|pri|Y|N|N|N|N|N|N|N|Public, old systems can provide f|Unknown|N|
|
| 264 |
+
264|AAAAAAAAIABAAAAA|2450311|2450352|16609|1000.00|1|ese|Y|N|N|N|N|N|N|N|Other parts appear regul|Unknown|N|
|
| 265 |
+
265|AAAAAAAAJABAAAAA|2450225|2450236|8414|1000.00|1|anti|Y|N|N|N|N|N|N|N|Ideal camps cannot stop from|Unknown|N|
|
| 266 |
+
266|AAAAAAAAKABAAAAA|2450408|2450412|6524|1000.00|1|cally|N|N|N|N|N|N|N|N|Common changes assure golden employees. Large, eastern ins|Unknown|N|
|
| 267 |
+
267|AAAAAAAALABAAAAA|2450750|2450776|17926|1000.00|1|ation|Y|N|N|N|N|N|N|N|Premises sit in a terms. Mostly huge grounds will bowl. On|Unknown|N|
|
| 268 |
+
268|AAAAAAAAMABAAAAA|2450424|2450445|7258|1000.00|1|eing|N|N|N|N|N|N|N|N|Rather average details must not get by a fingers. Yet e|Unknown|N|
|
| 269 |
+
269|AAAAAAAANABAAAAA|2450256|2450283|10297|1000.00|1|n st|Y|N|N|N|N|N|N|N|Wide original seeds might distinguish students; further co|Unknown|N|
|
| 270 |
+
270|AAAAAAAAOABAAAAA|2450527|2450562|9244|1000.00|1|bar|N|N|N|N|N|N|N|N|Adequate, able eyes should not look as wholly rural paintin|Unknown|N|
|
| 271 |
+
271|AAAAAAAAPABAAAAA|2450356|2450378|12736|1000.00|1|ought|Y|N|N|N|N|N|N|N|Never big houses should not come then including|Unknown|N|
|
| 272 |
+
272|AAAAAAAAABBAAAAA|2450377|2450380|14524|1000.00|1|able|N|N|N|N|N|N|N|N|British leaders could not make here con|Unknown|N|
|
| 273 |
+
273|AAAAAAAABBBAAAAA|2450803|2450818|5138|1000.00|1|pri|Y|N|N|N|N|N|N|N|Pupils take only years. Capitalist, d|Unknown|N|
|
| 274 |
+
274|AAAAAAAACBBAAAAA|2450649|2450705|3856|1000.00|1|ese|Y|N|N|N|N|N|N|N|Little, other visits might make probably broken sympto|Unknown|N|
|
| 275 |
+
275|AAAAAAAADBBAAAAA|2450853|2450861|2798|1000.00|1|anti|N|N|N|N|N|N|N|N|Accountants reach especiall|Unknown|N|
|
| 276 |
+
276|AAAAAAAAEBBAAAAA|2450196|2450210|5113|1000.00|1|cally|N|N|N|N|N|N|N|N|Positive individuals may not impose. Ab|Unknown|N|
|
| 277 |
+
277|AAAAAAAAFBBAAAAA|2450223|2450253|2581|1000.00|1|ation|Y|N|N|N|N|N|N|N|Large, dead miles appear far for a occasio|Unknown|N|
|
| 278 |
+
278|AAAAAAAAGBBAAAAA|2450730|2450738|2842|1000.00|1|eing|Y|N|N|N|N|N|N|N|Again bad tickets may fix windows. Years fit eyes. Enough lo|Unknown|N|
|
| 279 |
+
279|AAAAAAAAHBBAAAAA|2450609|2450642|10910|1000.00|1|n st|N|N|N|N|N|N|N|N|Effectively related observations may ch|Unknown|N|
|
| 280 |
+
280|AAAAAAAAIBBAAAAA|2450475|2450513|16424|1000.00|1|bar|Y|N|N|N|N|N|N|N|Mutual tourists let so long words. |Unknown|N|
|
| 281 |
+
281|AAAAAAAAJBBAAAAA|2450740|2450746|4213|1000.00|1|ought|N|N|N|N|N|N|N|N|Crucial cars ought to happe|Unknown|N|
|
| 282 |
+
282|AAAAAAAAKBBAAAAA|2450659|2450702|11851|1000.00|1|able|N|N|N|N|N|N|N|N|Inc, superior teeth avoid. Islands will not enjoy|Unknown|N|
|
| 283 |
+
283|AAAAAAAALBBAAAAA|2450757|2450786|2870|1000.00|1|pri|N|N|N|N|N|N|N|N|Recent, able boys might take etc oth|Unknown|N|
|
| 284 |
+
284|AAAAAAAAMBBAAAAA|2450239|2450267|7066|1000.00|1|ese|N|N|N|N|N|N|N|N|Over stupid guidelines know live projects. Still common num|Unknown|N|
|
| 285 |
+
285|AAAAAAAANBBAAAAA|2450370|2450402|10982|1000.00|1|anti|Y|N|N|N|N|N|N|N|Perhaps real customers shall intervene w|Unknown|N|
|
| 286 |
+
286|AAAAAAAAOBBAAAAA|2450728|2450747|17779|1000.00|1|cally|N|N|N|N|N|N|N|N|Finally glad reasons mobili|Unknown|N|
|
| 287 |
+
287|AAAAAAAAPBBAAAAA|2450574|2450591|4568|1000.00|1|ation|Y|N|N|N|N|N|N|N|Rules say well-known members. Russian ends cou|Unknown|N|
|
| 288 |
+
288|AAAAAAAAACBAAAAA|2450539|2450578|1018|1000.00|1|eing|N|N|N|N|N|N|N|N|Lively colleagues avoid once good |Unknown|N|
|
| 289 |
+
289|AAAAAAAABCBAAAAA|2450415|2450423|9037|1000.00|1|n st|N|N|N|N|N|N|N|N|Ways prevent at all used things. Sectors look veh|Unknown|N|
|
| 290 |
+
290|AAAAAAAACCBAAAAA|2450375|2450415|16634|1000.00|1|bar|N|N|N|N|N|N|N|N|In order industrial examples shall bring separ|Unknown|N|
|
| 291 |
+
291|AAAAAAAADCBAAAAA|2450646|2450653|10424|1000.00|1|ought|N|N|N|N|N|N|N|N|Fresh, slow benefits house reali|Unknown|N|
|
| 292 |
+
292|AAAAAAAAECBAAAAA|2450308|2450329|6548|1000.00|1|able|Y|N|N|N|N|N|N|N|Sources discover words. Tired, static prices g|Unknown|N|
|
| 293 |
+
293|AAAAAAAAFCBAAAAA|2450569|2450616|13009|1000.00|1|pri|N|N|N|N|N|N|N|N|Miles might pay. Average, activ|Unknown|N|
|
| 294 |
+
294|AAAAAAAAGCBAAAAA|2450759|2450762|11704|1000.00|1|ese|Y|N|N|N|N|N|N|N|Requests reappear as informally soci|Unknown|N|
|
| 295 |
+
295|AAAAAAAAHCBAAAAA|2450889|2450944|8272|1000.00|1|anti|Y|N|N|N|N|N|N|N|Safe women change old, |Unknown|N|
|
| 296 |
+
296|AAAAAAAAICBAAAAA|2450631|2450637|15518|1000.00|1|cally|N|N|N|N|N|N|N|N|Loose, extensive bodies can keep a little. Hundreds le|Unknown|N|
|
| 297 |
+
297|AAAAAAAAJCBAAAAA|2450217|2450250|5887|1000.00|1|ation|Y|N|N|N|N|N|N|N|Eventually general women present |Unknown|N|
|
| 298 |
+
298|AAAAAAAAKCBAAAAA|2450809|2450858|17287|1000.00|1|eing|Y|N|N|N|N|N|N|N|Teeth could go standards. Customs feel long important |Unknown|N|
|
| 299 |
+
299|AAAAAAAALCBAAAAA|2450783|2450836|1292|1000.00|1|n st|Y|N|N|N|N|N|N|N|Women contrast never dear, blue minutes. Domestic pl|Unknown|N|
|
| 300 |
+
300|AAAAAAAAMCBAAAAA|2450488|2450522|16879|1000.00|1|bar|Y|N|N|N|N|N|N|N|Fine, british schools please in a rules. |Unknown|N|
|
TPC-DS/data/reason.dat
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1|AAAAAAAABAAAAAAA|Package was damaged|
|
| 2 |
+
2|AAAAAAAACAAAAAAA|Stopped working|
|
| 3 |
+
3|AAAAAAAADAAAAAAA|Did not get it on time|
|
| 4 |
+
4|AAAAAAAAEAAAAAAA|Not the product that was ordred|
|
| 5 |
+
5|AAAAAAAAFAAAAAAA|Parts missing|
|
| 6 |
+
6|AAAAAAAAGAAAAAAA|Does not work with a product that I have|
|
| 7 |
+
7|AAAAAAAAHAAAAAAA|Gift exchange|
|
| 8 |
+
8|AAAAAAAAIAAAAAAA|Did not like the color|
|
| 9 |
+
9|AAAAAAAAJAAAAAAA|Did not like the model|
|
| 10 |
+
10|AAAAAAAAKAAAAAAA|Did not like the make|
|
| 11 |
+
11|AAAAAAAALAAAAAAA|Did not like the warranty|
|
| 12 |
+
12|AAAAAAAAMAAAAAAA|No service location in my area|
|
| 13 |
+
13|AAAAAAAANAAAAAAA|Found a better price in a store|
|
| 14 |
+
14|AAAAAAAAOAAAAAAA|Found a better extended warranty in a store|
|
| 15 |
+
15|AAAAAAAAPAAAAAAA|Not working any more|
|
| 16 |
+
16|AAAAAAAAABAAAAAA|Did not fit|
|
| 17 |
+
17|AAAAAAAABBAAAAAA|Wrong size|
|
| 18 |
+
18|AAAAAAAACBAAAAAA|Lost my job|
|
| 19 |
+
19|AAAAAAAADBAAAAAA|unauthoized purchase|
|
| 20 |
+
20|AAAAAAAAEBAAAAAA|duplicate purchase|
|
| 21 |
+
21|AAAAAAAAFBAAAAAA|its is a boy|
|
| 22 |
+
22|AAAAAAAAGBAAAAAA|it is a girl|
|
| 23 |
+
23|AAAAAAAAHBAAAAAA|reason 23|
|
| 24 |
+
24|AAAAAAAAIBAAAAAA|reason 24|
|
| 25 |
+
25|AAAAAAAAJBAAAAAA|reason 25|
|
| 26 |
+
26|AAAAAAAAKBAAAAAA|reason 26|
|
| 27 |
+
27|AAAAAAAALBAAAAAA|reason 27|
|
| 28 |
+
28|AAAAAAAAMBAAAAAA|reason 28|
|
| 29 |
+
29|AAAAAAAANBAAAAAA|reason 29|
|
| 30 |
+
30|AAAAAAAAOBAAAAAA|reason 31|
|
| 31 |
+
31|AAAAAAAAPBAAAAAA|reason 31|
|
| 32 |
+
32|AAAAAAAAACAAAAAA|reason 32|
|
| 33 |
+
33|AAAAAAAABCAAAAAA|reason 33|
|
| 34 |
+
34|AAAAAAAACCAAAAAA|reason 34|
|
| 35 |
+
35|AAAAAAAADCAAAAAA|reason 35|
|
TPC-DS/data/ship_mode.dat
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1|AAAAAAAABAAAAAAA|EXPRESS|AIR|UPS|YvxVaJI10|
|
| 2 |
+
2|AAAAAAAACAAAAAAA|NEXT DAY|AIR|FEDEX|ldhM8IvpzHgdbBgDfI|
|
| 3 |
+
3|AAAAAAAADAAAAAAA|OVERNIGHT|AIR|AIRBORNE|6Hzzp4JkzjqD8MGXLCDa|
|
| 4 |
+
4|AAAAAAAAEAAAAAAA|TWO DAY|AIR|USPS|UaAJjKDnL4gTOqbpj|
|
| 5 |
+
5|AAAAAAAAFAAAAAAA|LIBRARY|AIR|DHL|HVDFCcQ|
|
| 6 |
+
6|AAAAAAAAGAAAAAAA|REGULAR|SURFACE|TBS|Ek|
|
| 7 |
+
7|AAAAAAAAHAAAAAAA|EXPRESS|SURFACE|ZHOU|hGoF18SLDDPBj|
|
| 8 |
+
8|AAAAAAAAIAAAAAAA|NEXT DAY|SURFACE|ZOUROS|yVfotg7Tio3MVhBg6Bkn|
|
| 9 |
+
9|AAAAAAAAJAAAAAAA|OVERNIGHT|SURFACE|MSC|Xjy3ZPuiDjzHlRx14Z3|
|
| 10 |
+
10|AAAAAAAAKAAAAAAA|TWO DAY|SURFACE|LATVIAN|P7FBIt8yd|
|
| 11 |
+
11|AAAAAAAALAAAAAAA|LIBRARY|SURFACE|ALLIANCE|OrDuVy2H|
|
| 12 |
+
12|AAAAAAAAMAAAAAAA|REGULAR|SEA|ORIENTAL|GNJr3g5i7oorKqtX|
|
| 13 |
+
13|AAAAAAAANAAAAAAA|EXPRESS|SEA|BARIAN|qENFQ|
|
| 14 |
+
14|AAAAAAAAOAAAAAAA|NEXT DAY|SEA|BOXBUNDLES|A5BYO1qH8HGTTN|
|
| 15 |
+
15|AAAAAAAAPAAAAAAA|OVERNIGHT|SEA|GREAT EASTERN|uukTktPYycct8|
|
| 16 |
+
16|AAAAAAAAABAAAAAA|TWO DAY|SEA|DIAMOND|2mM8l|
|
| 17 |
+
17|AAAAAAAABBAAAAAA|LIBRARY|SEA|RUPEKSA|5FKNB0j8aaqTB|
|
| 18 |
+
18|AAAAAAAACBAAAAAA|REGULAR|BIKE|GERMA|I3uCelXtjP|
|
| 19 |
+
19|AAAAAAAADBAAAAAA|EXPRESS|BIKE|HARMSTORF|fop0bcSd91J26IVpR|
|
| 20 |
+
20|AAAAAAAAEBAAAAAA|NEXT DAY|BIKE|PRIVATECARRIER|O9V6oF8RJnLMmZYd1|
|
TPC-DS/data/store.dat
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1|AAAAAAAABAAAAAAA|1997-03-13||2451189|ought|245|5250760|8AM-4PM|William Ward|2|Unknown|Enough high areas stop expectations. Elaborate, local is|Charles Bartley|1|Unknown|1|Unknown|767|Spring |Wy|Suite 250|Midway|Williamson County|TN|31904|United States|-5|0.03|
|
| 2 |
+
2|AAAAAAAACAAAAAAA|1997-03-13|2000-03-12||able|236|5285950|8AM-4PM|Scott Smith|8|Unknown|Parliamentary candidates wait then heavy, keen mil|David Lamontagne|1|Unknown|1|Unknown|255|Sycamore |Dr.|Suite 410|Midway|Williamson County|TN|31904|United States|-5|0.03|
|
| 3 |
+
3|AAAAAAAACAAAAAAA|2000-03-13|||able|236|7557959|8AM-4PM|Scott Smith|7|Unknown|Impossible, true arms can treat constant, complete w|David Lamontagne|1|Unknown|1|Unknown|877|Park Laurel|Road|Suite T|Midway|Williamson County|TN|31904|United States|-5|0.03|
|
| 4 |
+
4|AAAAAAAAEAAAAAAA|1997-03-13|1999-03-13|2451044|ese|218|9341467|8AM-4PM|Edwin Adams|4|Unknown|Events would achieve other, eastern hours. Mechanisms must not eat other, new org|Thomas Pollack|1|Unknown|1|Unknown|27|Lake |Ln|Suite 260|Midway|Williamson County|TN|31904|United States|-5|0.03|
|
| 5 |
+
5|AAAAAAAAEAAAAAAA|1999-03-14|2001-03-12|2450910|anti|288|9078805|8AM-4PM|Edwin Adams|8|Unknown|Events would achieve other, eastern hours. Mechanisms must not eat other, new org|Thomas Pollack|1|Unknown|1|Unknown|27|Lee 6th|Court|Suite 80|Fairview|Williamson County|TN|35709|United States|-5|0.03|
|
| 6 |
+
6|AAAAAAAAEAAAAAAA|2001-03-13|||cally|229|9026222|8AM-4PM|Edwin Adams|10|Unknown|Events would achieve other, eastern hours. Mechanisms must not eat other, new org|Thomas Pollack|1|Unknown|1|Unknown|220|6th |Lane|Suite 140|Midway|Williamson County|TN|31904|United States|-5|0.03|
|
| 7 |
+
7|AAAAAAAAHAAAAAAA|1997-03-13|||ation|297|8954883|8AM-4PM|David Thomas|9|Unknown|Architects coul|Thomas Benton|1|Unknown|1|Unknown|811|Lee |Circle|Suite T|Midway|Williamson County|TN|31904|United States|-5|0.01|
|
| 8 |
+
8|AAAAAAAAIAAAAAAA|1997-03-13|2000-03-12||eing|278|6995995|8AM-4PM|Brett Yates|2|Unknown|Various bars make most. Difficult levels introduce at a boots. Buildings welcome only never el|Dean Morrison|1|Unknown|1|Unknown|226|12th |Lane|Suite D|Fairview|Williamson County|TN|35709|United States|-5|0.08|
|
| 9 |
+
9|AAAAAAAAIAAAAAAA|2000-03-13|||eing|271|6995995|8AM-4PM|Brett Yates|2|Unknown|Formal, psychological pounds relate reasonable, young principles. Black, |Dean Morrison|1|Unknown|1|Unknown|226|Hill |Boulevard|Suite 190|Midway|Williamson County|TN|31904|United States|-5|0.08|
|
| 10 |
+
10|AAAAAAAAKAAAAAAA|1997-03-13|1999-03-13||bar|294|9294113|8AM-4PM|Raymond Jacobs|8|Unknown|Little expectations include yet forward meetings.|Michael Wilson|1|Unknown|1|Unknown|175|4th |Court|Suite C|Midway|Williamson County|TN|31904|United States|-5|0.06|
|
| 11 |
+
11|AAAAAAAAKAAAAAAA|1999-03-14|2001-03-12||ought|294|9294113|8AM-4PM|Raymond Jacobs|6|Unknown|Mysterious employe|Michael Wilson|1|Unknown|1|Unknown|175|Park Green|Court|Suite 160|Midway|Williamson County|TN|31904|United States|-5|0.11|
|
| 12 |
+
12|AAAAAAAAKAAAAAAA|2001-03-13|||ought|294|5219562|8AM-12AM|Robert Thompson|6|Unknown|Events develop i|Dustin Kelly|1|Unknown|1|Unknown|337|College |Boulevard|Suite 100|Fairview|Williamson County|TN|31904|United States|-5|0.01|
|
TPC-DS/data/store_returns.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0f70747ca34cdd0ec7b61efae562d8d4ea71f97eaeb93acf07bd3224d42915c4
|
| 3 |
+
size 32710005
|
TPC-DS/data/store_sales.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:10995a37886ce3e5c84c80d3a0dc1f297886be9ac1c4a5df9f1c3ac362a72929
|
| 3 |
+
size 388445409
|
TPC-DS/data/time_dim.dat
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TPC-DS/data/warehouse.dat
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1|AAAAAAAABAAAAAAA|Conventional childr|977787|651|6th |Parkway|Suite 470|Fairview|Williamson County|TN|35709|United States|-5|
|
| 2 |
+
2|AAAAAAAACAAAAAAA|Important issues liv|138504|600|View First|Avenue|Suite P|Fairview|Williamson County|TN|35709|United States|-5|
|
| 3 |
+
3|AAAAAAAADAAAAAAA|Doors canno|294242|534|Ash Laurel|Dr.|Suite 0|Fairview|Williamson County|TN|35709|United States|-5|
|
| 4 |
+
4|AAAAAAAAEAAAAAAA|Bad cards must make.|621234|368|Wilson Elm|Drive|Suite 80|Fairview|Williamson County|TN|35709|United States|-5|
|
| 5 |
+
5|AAAAAAAAFAAAAAAA|||||||Fairview|Williamson County|TN|35709|United States||
|
TPC-DS/data/web_page.dat
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1|AAAAAAAABAAAAAAA|1997-09-03||2450810|2452620|Y|98539|http://www.foo.com|welcome|2531|8|3|4|
|
| 2 |
+
2|AAAAAAAACAAAAAAA|1997-09-03|2000-09-02|2450814|2452580|N||http://www.foo.com|protected|1564|4|3|1|
|
| 3 |
+
3|AAAAAAAACAAAAAAA|2000-09-03||2450814|2452611|N||http://www.foo.com|feedback|1564|4|3|4|
|
| 4 |
+
4|AAAAAAAAEAAAAAAA|1997-09-03|1999-09-03|2450812|2452579|N||http://www.foo.com|general|3732|18|7|1|
|
| 5 |
+
5|AAAAAAAAEAAAAAAA|1999-09-04|2001-09-02|2450812|2452597|N||http://www.foo.com|welcome|3732|18|3|1|
|
| 6 |
+
6|AAAAAAAAEAAAAAAA|2001-09-03||2450814|2452597|N||http://www.foo.com|ad|3732|18|7|4|
|
| 7 |
+
7|AAAAAAAAHAAAAAAA|1997-09-03||2450815|2452574|N||http://www.foo.com|feedback|3034|18|7|4|
|
| 8 |
+
8|AAAAAAAAIAAAAAAA|1997-09-03|2000-09-02|2450815|2452646|Y|1898|http://www.foo.com|protected|3128|12|2|4|
|
| 9 |
+
9|AAAAAAAAIAAAAAAA|2000-09-03||2450807|2452579|Y|84146|http://www.foo.com|welcome|3128|13|5|3|
|
| 10 |
+
10|AAAAAAAAKAAAAAAA|1997-09-03|1999-09-03||2452623|N||http://www.foo.com||||||
|
| 11 |
+
11|AAAAAAAAKAAAAAAA|1999-09-04|2001-09-02|2450814|2452611|N||http://www.foo.com|welcome|7046|23|4|4|
|
| 12 |
+
12|AAAAAAAAKAAAAAAA|2001-09-03||2450815|2452611|N||http://www.foo.com|protected|7046|17|4|4|
|
| 13 |
+
13|AAAAAAAANAAAAAAA|1997-09-03||2450807|2452629|N||http://www.foo.com|protected|2281|6|4|1|
|
| 14 |
+
14|AAAAAAAAOAAAAAAA|1997-09-03|2000-09-02|2450810|2452639|N||http://www.foo.com|dynamic|5676|19|6|0|
|
| 15 |
+
15|AAAAAAAAOAAAAAAA|2000-09-03||2450810|2452639|N||http://www.foo.com|dynamic|2469|10|5|2|
|
| 16 |
+
16|AAAAAAAAABAAAAAA|1997-09-03|1999-09-03|2450814|2452601|Y|33463|http://www.foo.com|feedback|701|2|1|4|
|
| 17 |
+
17|AAAAAAAAABAAAAAA|1999-09-04|2001-09-02|2450812|2452645|N||http://www.foo.com|general|701|11|1|3|
|
| 18 |
+
18|AAAAAAAAABAAAAAA|2001-09-03||2450812|2452608|N||http://www.foo.com|ad|4080|11|6|3|
|
| 19 |
+
19|AAAAAAAADBAAAAAA|1997-09-03||2450808|2452648|Y|57610|http://www.foo.com|general|2347|9|7|4|
|
| 20 |
+
20|AAAAAAAAEBAAAAAA|1997-09-03|2000-09-02|2450809|2452555|Y|46487|http://www.foo.com|ad|1147|3|6|0|
|
| 21 |
+
21|AAAAAAAAEBAAAAAA|2000-09-03||2450809|2452555|Y|10897|http://www.foo.com|general|1147|3|6|4|
|
| 22 |
+
22|AAAAAAAAGBAAAAAA|1997-09-03|1999-09-03|2450812|2452565|Y|20213|http://www.foo.com|general|5663|25|3|4|
|
| 23 |
+
23|AAAAAAAAGBAAAAAA|1999-09-04|2001-09-02|2450812|2452623|Y|20213|http://www.foo.com|order|4729|23|6|4|
|
| 24 |
+
24|AAAAAAAAGBAAAAAA|2001-09-03||2450812|2452646|Y|20213|http://www.foo.com|dynamic|5918|23|6|1|
|
| 25 |
+
25|AAAAAAAAJBAAAAAA|1997-09-03||2450811|2452620|N||http://www.foo.com|feedback|1526|9|4|2|
|
| 26 |
+
26|AAAAAAAAKBAAAAAA|1997-09-03|2000-09-02|2450812|2452636|Y|98376|http://www.foo.com|ad|1826|9|3|1|
|
| 27 |
+
27|AAAAAAAAKBAAAAAA|2000-09-03||2450812|2452607|Y|98376|http://www.foo.com|protected|1553|9|1|1|
|
| 28 |
+
28|AAAAAAAAMBAAAAAA|1997-09-03|1999-09-03|2450807|2452572|N||http://www.foo.com|protected|1308|4|1|2|
|
| 29 |
+
29|AAAAAAAAMBAAAAAA|1999-09-04|2001-09-02|2450808|2452611|N||http://www.foo.com|order|1308|4|1|2|
|
| 30 |
+
30|AAAAAAAAMBAAAAAA|2001-09-03||2450808|2452611|N||http://www.foo.com|general|3872|18|1|4|
|
| 31 |
+
31|AAAAAAAAPBAAAAAA|1997-09-03||2450810|2452596|N||http://www.foo.com|general|1732|3|6|0|
|
| 32 |
+
32|AAAAAAAAACAAAAAA|1997-09-03|2000-09-02|2450808|2452585|N||http://www.foo.com|welcome|5104|20|7|4|
|
| 33 |
+
33|AAAAAAAAACAAAAAA|2000-09-03||2450808|2452585|N||http://www.foo.com|protected|2129|7|1|0|
|
| 34 |
+
34|AAAAAAAACCAAAAAA|1997-09-03|1999-09-03|2450808|2452616|N||http://www.foo.com|welcome|2726|12|5|2|
|
| 35 |
+
35|AAAAAAAACCAAAAAA|1999-09-04|2001-09-02|2450808|2452591|N||http://www.foo.com|protected|2726|12|1|2|
|
| 36 |
+
36|AAAAAAAACCAAAAAA|2001-09-03||2450812|2452613|N||http://www.foo.com|dynamic|2726|3|1|2|
|
| 37 |
+
37|AAAAAAAAFCAAAAAA|1997-09-03||2450809|2452556|N||http://www.foo.com|ad|3076|15|3|0|
|
| 38 |
+
38|AAAAAAAAGCAAAAAA|1997-09-03|2000-09-02|2450811|2452583|Y|37285|http://www.foo.com|general|3096|18|3|0|
|
| 39 |
+
39|AAAAAAAAGCAAAAAA|2000-09-03||2450815|2452583|N||http://www.foo.com|general|3096|18|3|0|
|
| 40 |
+
40|AAAAAAAAICAAAAAA|1997-09-03|1999-09-03|2450813|2452576|N||http://www.foo.com|general|4402|18|4|2|
|
| 41 |
+
41|AAAAAAAAICAAAAAA|1999-09-04|2001-09-02|2450813|2452579|Y|16769|http://www.foo.com|welcome|784|3|4|4|
|
| 42 |
+
42|AAAAAAAAICAAAAAA|2001-09-03||2450813|2452579|Y|60150|http://www.foo.com|dynamic|1451|3|4|4|
|
| 43 |
+
43|AAAAAAAALCAAAAAA|1997-09-03||2450814|2452580|Y|64793|http://www.foo.com|ad|3760|12|3|2|
|
| 44 |
+
44|AAAAAAAAMCAAAAAA|1997-09-03|2000-09-02|2450811|2452602|Y|92078|http://www.foo.com|ad|4179|19|7|1|
|
| 45 |
+
45|AAAAAAAAMCAAAAAA|2000-09-03||2450811|2452575|Y|98633|http://www.foo.com|feedback|4584|19|7|4|
|
| 46 |
+
46|AAAAAAAAOCAAAAAA|1997-09-03|1999-09-03|2450809|2452574|N||http://www.foo.com|protected|1711|4|5|1|
|
| 47 |
+
47|AAAAAAAAOCAAAAAA|1999-09-04|2001-09-02|2450815|2452574|N||http://www.foo.com|welcome|1711|4|5|1|
|
| 48 |
+
48|AAAAAAAAOCAAAAAA|2001-09-03||2450815|2452622|N||http://www.foo.com|ad|1732|9|5|1|
|
| 49 |
+
49|AAAAAAAABDAAAAAA|1997-09-03||2450809|2452618|N||http://www.foo.com|order|4894|20|3|2|
|
| 50 |
+
50|AAAAAAAACDAAAAAA|1997-09-03|2000-09-02|2450808|2452615|N||http://www.foo.com|welcome|5262|16|5|2|
|
| 51 |
+
51|AAAAAAAACDAAAAAA|2000-09-03||2450811|2452564|N||http://www.foo.com|general|3423|19|7|1|
|
| 52 |
+
52|AAAAAAAAEDAAAAAA|1997-09-03|1999-09-03|2450815|2452606|N||http://www.foo.com|welcome|3306|21|7|1|
|
| 53 |
+
53|AAAAAAAAEDAAAAAA|1999-09-04|2001-09-02|2450808|2452636|N||http://www.foo.com|dynamic|3306|21|7|1|
|
| 54 |
+
54|AAAAAAAAEDAAAAAA|2001-09-03||2450808|2452629|N||http://www.foo.com|protected|1931|7|2|2|
|
| 55 |
+
55|AAAAAAAAHDAAAAAA|1997-09-03||2450811|2452549|N||http://www.foo.com|order|3788|19|1|0|
|
| 56 |
+
56|AAAAAAAAIDAAAAAA|1997-09-03|2000-09-02|2450815|2452554|N||http://www.foo.com|protected|5733|24|2|2|
|
| 57 |
+
57|AAAAAAAAIDAAAAAA|2000-09-03||2450811|2452568|N||http://www.foo.com|ad|5733|16|2|2|
|
| 58 |
+
58|AAAAAAAAKDAAAAAA|1997-09-03|1999-09-03|2450813|2452619|Y|7625|http://www.foo.com|ad|6577|24|4|3|
|
| 59 |
+
59|AAAAAAAAKDAAAAAA|1999-09-04|2001-09-02|2450813|2452624|Y|80555|http://www.foo.com|general|6577|24|2|3|
|
| 60 |
+
60|AAAAAAAAKDAAAAAA|2001-09-03||2450813|2452566|Y|80555|http://www.foo.com|welcome|6577|24|2|3|
|
TPC-DS/data/web_returns.dat
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
TPC-DS/data/web_sales.dat
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a6a664ed8459884b0bfe649044f8cbe54aec5797e52f89505bbf8354d109a69
|
| 3 |
+
size 146877674
|
TPC-DS/data/web_site.dat
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1|AAAAAAAABAAAAAAA|1997-08-16||site_0|2450807||Unknown|Ronald Shaffer|4|Grey lines ought to result indeed centres. Tod|Well similar decisions used to keep hardly democratic, personal priorities.|Joe George|6|cally|51|Dogwood Sunset|Ln|Suite 330|Midway|Williamson County|TN|31904|United States|-5|0.10|
|
| 2 |
+
2|AAAAAAAACAAAAAAA|1997-08-16|2000-08-15|site_0|2450798|2447148|Unknown|Tommy Jones|6|Completely excellent things ought to pro|Lucky passengers know. Red details will not hang alive, international s|David Myers|4|ese|358|Ridge Wilson|Cir.|Suite 150|Midway|Williamson County|TN|31904|United States|-5|0.00|
|
| 3 |
+
3|AAAAAAAACAAAAAAA|2000-08-16||site_0|2450798|2447148|Unknown|Tommy Jones|3|Completely excellent things ought to pro|Particular, common seasons shall not indicate fully more single decisions; |David Myers|4|ese|753|7th |Pkwy|Suite 210|Midway|Williamson County|TN|31904|United States|-5|0.02|
|
| 4 |
+
4|AAAAAAAAEAAAAAAA|1997-08-16|1999-08-16|site_0|2450781|2448956|Unknown|Harold Wilson|5|As strong notes deal questions. Proud visito|Deeply small books cannot extend all similar, clear historians. Free, new camp|James Harris|5|anti|805|Hill Hill|Dr.|Suite R|Midway|Williamson County|TN|31904|United States|-5|0.08|
|
| 5 |
+
5|AAAAAAAAEAAAAAAA|1999-08-17|2001-08-15|site_0|2450781|2448956|Unknown|Harold Wilson|5|Wide, final representat|Deeply small books cannot extend all similar, clear historians. Free, new camp|Edward George|1|ought|805|2nd 3rd|Road|Suite R|Fairview|Williamson County|TN|31904|United States|-5|0.08|
|
| 6 |
+
6|AAAAAAAAEAAAAAAA|2001-08-16||site_0|2450781|2448956|Unknown|Harold Wilson|5|Wide, final representat|Thin roles should run quickly. Patient parts include even in the ladies; only united trouser|John Sheppard|3|ought|63|Hickory 3rd|Ct.|Suite 130|Fairview|Williamson County|TN|31904|United States|-5|0.08|
|
| 7 |
+
7|AAAAAAAAHAAAAAAA|1997-08-16||site_1|2450756||Unknown|Moses Hicks|4|New homes comment great. Possibilities re|Enough small animals emerge at a holidays. Managers expect only.|William Reyes|4|ese|784|Central |Dr.|Suite Q|Fairview|Williamson County|TN|35709|United States|-5|0.12|
|
| 8 |
+
8|AAAAAAAAIAAAAAAA|1997-08-16|2000-08-15|site_1|2450747|2448922|Unknown|Charles Parker|1|Only, temporary services |Physical witnesses might not agree really already existing prayers. Loyal, possible m|Gerald Craft|5|anti|835|Washington |Avenue|Suite 470|Midway|Williamson County|TN|31904|United States|-5|0.07|
|
| 9 |
+
9|AAAAAAAAIAAAAAAA|2000-08-16||site_1|2450747|2448922|Unknown|Marshall Conner|6|Labour cars withdraw big, full issues|Physical witnesses might not agree really already existing prayers. Loyal, possible m|Scott Bryant|1|anti|835|11th |Cir.|Suite R|Midway|Williamson County|TN|31904|United States|-5|0.07|
|
| 10 |
+
10|AAAAAAAAKAAAAAAA|1997-08-16|1999-08-16|site_1|2450730|2447080|Unknown|Dwight Aaron|3|New, important system|Companies grow cells. Apart true eyes u|Frank Cooper|2|able|409|Lake |Ct.|Suite 370|Midway|Williamson County|TN|31904|United States|-5|0.07|
|
| 11 |
+
11|AAAAAAAAKAAAAAAA|1999-08-17|2001-08-15|site_1|2450730|2447080|Unknown|Dwight Aaron|3|Right efforts must no|Companies grow cells. Apart true eyes u|Casey Banks|2|able|409|Cedar |Parkway|Suite 350|Fairview|Williamson County|TN|35709|United States|-5|0.07|
|
| 12 |
+
12|AAAAAAAAKAAAAAAA|2001-08-16||site_1|2450730|2447080|Unknown|Richard Fuchs|3|Right efforts must no|Acres see else children. Mutual too|Casey Banks|2|able|409|Lincoln |Pkwy|Suite D|Fairview|Williamson County|TN|35709|United States|-5|0.07|
|
| 13 |
+
13|AAAAAAAANAAAAAAA|1997-08-16||site_2|2450705||Unknown|John Thomas|2|About rural reasons shall no|Political affairs ought to|James Brewer|5|anti|973|Cherry Main|Boulevard|Suite D|Midway|Williamson County|TN|31904|United States|-5|0.07|
|
| 14 |
+
14|AAAAAAAAOAAAAAAA|1997-08-16|2000-08-15|site_2|2450696|2447046|Unknown|Robert Arnold|5|Necessary, intermediat|Associations may kill sole parents. Red, pink results rise nearly|Gilbert Chapman|5|anti|887|River |Drive|Suite 390|Midway|Williamson County|TN|31904|United States|-5|0.07|
|
| 15 |
+
15|AAAAAAAAOAAAAAAA|2000-08-16||site_2|2450696|2447046|Unknown|James Austin|5|Necessary, intermediat|Associations may kill sole parents. Red, pink results rise nearly|Zachery Oneil|5|anti|887|Broadway South|Road|Suite 260|Midway|Williamson County|TN|31904|United States|-5|0.08|
|
| 16 |
+
16|AAAAAAAAABAAAAAA|1997-08-16|1999-08-16|site_2|2450679|2448854|Unknown|Herbert Hawes|6|Hard new suggestions might contain nat|Basic others will not appreciate so late, potential chil|Albert Leung|6|cally|841|West Cedar|Blvd|Suite D|Midway|Williamson County|TN|31904|United States|-5|0.04|
|
| 17 |
+
17|AAAAAAAAABAAAAAA|1999-08-17|2001-08-15|site_2|2450679|2448854|Unknown|Charles Castillo|5|New, different roads know standa|Basic others will not appreciate so late, potential chil|Keith Frazier|6|cally|841|Wilson Ridge|Way|Suite 20|Midway|Williamson County|TN|31904|United States|-5|0.04|
|
| 18 |
+
18|AAAAAAAAABAAAAAA|2001-08-16||site_2|2450679|2448854|Unknown|Charles Castillo|5|Broad, new groups show car|Basic others will not appreciate so late, potential chil|Keith Frazier|6|cally|841|Sycamore |Wy|Suite 450|Fairview|Williamson County|TN|31904|United States|-5|0.01|
|
| 19 |
+
19|AAAAAAAADBAAAAAA|1997-08-16||site_3|2450654||Unknown|Jimmy Pope|2|Leaders make as yet particular, desperate machi|Home new thoughts must get however thoughts; technical, oth|Eldon Snow|5|anti|184|Hill 5th|Parkway|Suite 280|Midway|Williamson County|TN|31904|United States|-5|0.04|
|
| 20 |
+
20|AAAAAAAAEBAAAAAA|1997-08-16|2000-08-15|site_3|2450645|2448820|Unknown|Peter Cassidy|4|Just popular words shall |Formerly long minds deal aside parties. Lef|Kelvin Lynch|3|pri|828|2nd |Wy|Suite J|Midway|Williamson County|TN|31904|United States|-5|0.04|
|
| 21 |
+
21|AAAAAAAAEBAAAAAA|2000-08-16||site_3|2450645|2448820|Unknown|Adam Stonge|5|As private emotions carry yet services. Wor|Formerly long minds deal aside parties. Lef|Jarvis Allen|4|pri|828|1st Maple|Blvd|Suite U|Fairview|Williamson County|TN|35709|United States|-5|0.07|
|
| 22 |
+
22|AAAAAAAAGBAAAAAA|1997-08-16|1999-08-16|site_3|2450628|2446978|Unknown|Lewis Wolf|5|Severe, useful funds lift; just|Individual negotiations might join badly children. Brown features travel fiercely dramatic k|James Bernard|2|able|292|Elevnth Third|Wy|Suite 30|Midway|Williamson County|TN|31904|United States|-5|0.07|
|
| 23 |
+
23|AAAAAAAAGBAAAAAA|1999-08-17|2001-08-15|site_3|2450628|2446978|Unknown|Jason Silva|4|Severe, useful funds lift; just|Individual negotiations might join badly children. Brown features travel fiercely dramatic k|Jeffrey Martin|2|able|292|Railroad |Court|Suite 440|Fairview|Williamson County|TN|31904|United States|-5|0.01|
|
| 24 |
+
24|AAAAAAAAGBAAAAAA|2001-08-16||site_3|2450628|2446978|Unknown|John Ward|4|Severe, useful funds lift; just|Individual negotiations might join badly children. Brown features travel fiercely dramatic k|Philip Sampson|2|able|292|Hickory Meadow|ST|Suite 460|Fairview|Williamson County|TN|31904|United States|-5|0.01|
|
| 25 |
+
25|AAAAAAAAJBAAAAAA|1997-08-16||site_4|2450603||Unknown|Julio Davis|3|Continuous, social schools shou|Concerned, royal weeks should announce.|Donald Mckinney|1|ought|671|Willow |Drive|Suite T|Fairview|Williamson County|TN|35709|United States|-5|0.01|
|
| 26 |
+
26|AAAAAAAAKBAAAAAA|1997-08-16|2000-08-15|site_4|2450594|2446944|Unknown|William Carter|2|Also difficult women relax. Raw solutions exclude|Often well-known police can hand acres. Healthy, sensible problems make more silent recordings|Keith Williams|2|able|892|Cedar North|Drive|Suite 280|Midway|Williamson County|TN|31904|United States|-5|0.07|
|
| 27 |
+
27|AAAAAAAAKBAAAAAA|2000-08-16||site_4|2450594|2446944|Unknown|William Carter|2|Also difficult women relax. Raw solutions exclude|Often well-known police can hand acres. Healthy, sensible problems make more silent recordings|John Isaacs|5|able|892|Spruce |Wy|Suite 200|Fairview|Williamson County|TN|35709|United States|-5|0.12|
|
| 28 |
+
28|AAAAAAAAMBAAAAAA|1997-08-16|1999-08-16|site_4|2450577|2448752|Unknown|Raymond Oneill|4|Hands look again nice years. Alre|Skills can want as common agencies. Appropriate issues can use. Over national lives may lear|Jeffrey Campbell|3|pri|730|Central 14th|Dr.|Suite Q|Midway|Williamson County|TN|31904|United States|-5|0.09|
|
| 29 |
+
29|AAAAAAAAMBAAAAAA|1999-08-17|2001-08-15|site_4|2450577|2448752|Unknown|Raymond Oneill|4|Well-known, patient proposals m|Skills can want as common agencies. Appropriate issues can use. Over national lives may lear|Jeffrey Campbell|3|pri|247|Park |Boulevard|Suite 100|Midway|Williamson County|TN|31904|United States|-5|0.12|
|
| 30 |
+
30|AAAAAAAAMBAAAAAA|2001-08-16||site_4|2450577|2448752|Unknown|Raymond Oneill|4|Well-known, patient proposals m|Skills can want as common agencies. Appropriate issues can use. Over national lives may lear|Jeffrey Campbell|1|pri|247|South Third|Wy|Suite 210|Midway|Williamson County|TN|31904|United States|-5|0.05|
|
TPC-DS/queries/query1.sql
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
with customer_total_return as
|
| 2 |
+
(select sr_customer_sk as ctr_customer_sk
|
| 3 |
+
,sr_store_sk as ctr_store_sk
|
| 4 |
+
,sum(SR_FEE) as ctr_total_return
|
| 5 |
+
from store_returns
|
| 6 |
+
,date_dim
|
| 7 |
+
where sr_returned_date_sk = d_date_sk
|
| 8 |
+
and d_year =2000
|
| 9 |
+
group by sr_customer_sk
|
| 10 |
+
,sr_store_sk)
|
| 11 |
+
select c_customer_id
|
| 12 |
+
from customer_total_return ctr1
|
| 13 |
+
,store
|
| 14 |
+
,customer
|
| 15 |
+
where ctr1.ctr_total_return > (select avg(ctr_total_return)*1.2
|
| 16 |
+
from customer_total_return ctr2
|
| 17 |
+
where ctr1.ctr_store_sk = ctr2.ctr_store_sk)
|
| 18 |
+
and s_store_sk = ctr1.ctr_store_sk
|
| 19 |
+
and s_state = 'TN'
|
| 20 |
+
and ctr1.ctr_customer_sk = c_customer_sk
|
| 21 |
+
order by c_customer_id
|
| 22 |
+
limit 100;
|
TPC-DS/queries/query10.sql
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select
|
| 2 |
+
cd_gender,
|
| 3 |
+
cd_marital_status,
|
| 4 |
+
cd_education_status,
|
| 5 |
+
count(*) cnt1,
|
| 6 |
+
cd_purchase_estimate,
|
| 7 |
+
count(*) cnt2,
|
| 8 |
+
cd_credit_rating,
|
| 9 |
+
count(*) cnt3,
|
| 10 |
+
cd_dep_count,
|
| 11 |
+
count(*) cnt4,
|
| 12 |
+
cd_dep_employed_count,
|
| 13 |
+
count(*) cnt5,
|
| 14 |
+
cd_dep_college_count,
|
| 15 |
+
count(*) cnt6
|
| 16 |
+
from
|
| 17 |
+
customer c,customer_address ca,customer_demographics
|
| 18 |
+
where
|
| 19 |
+
c.c_current_addr_sk = ca.ca_address_sk and
|
| 20 |
+
ca_county in ('Walker County','Richland County','Gaines County','Douglas County','Dona Ana County') and
|
| 21 |
+
cd_demo_sk = c.c_current_cdemo_sk and
|
| 22 |
+
exists (select *
|
| 23 |
+
from store_sales,date_dim
|
| 24 |
+
where c.c_customer_sk = ss_customer_sk and
|
| 25 |
+
ss_sold_date_sk = d_date_sk and
|
| 26 |
+
d_year = 2002 and
|
| 27 |
+
d_moy between 4 and 4+3) and
|
| 28 |
+
(exists (select *
|
| 29 |
+
from web_sales,date_dim
|
| 30 |
+
where c.c_customer_sk = ws_bill_customer_sk and
|
| 31 |
+
ws_sold_date_sk = d_date_sk and
|
| 32 |
+
d_year = 2002 and
|
| 33 |
+
d_moy between 4 ANd 4+3) or
|
| 34 |
+
exists (select *
|
| 35 |
+
from catalog_sales,date_dim
|
| 36 |
+
where c.c_customer_sk = cs_ship_customer_sk and
|
| 37 |
+
cs_sold_date_sk = d_date_sk and
|
| 38 |
+
d_year = 2002 and
|
| 39 |
+
d_moy between 4 and 4+3))
|
| 40 |
+
group by cd_gender,
|
| 41 |
+
cd_marital_status,
|
| 42 |
+
cd_education_status,
|
| 43 |
+
cd_purchase_estimate,
|
| 44 |
+
cd_credit_rating,
|
| 45 |
+
cd_dep_count,
|
| 46 |
+
cd_dep_employed_count,
|
| 47 |
+
cd_dep_college_count
|
| 48 |
+
order by cd_gender,
|
| 49 |
+
cd_marital_status,
|
| 50 |
+
cd_education_status,
|
| 51 |
+
cd_purchase_estimate,
|
| 52 |
+
cd_credit_rating,
|
| 53 |
+
cd_dep_count,
|
| 54 |
+
cd_dep_employed_count,
|
| 55 |
+
cd_dep_college_count
|
| 56 |
+
limit 100;
|
TPC-DS/queries/query11.sql
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
with year_total as (
|
| 2 |
+
select c_customer_id customer_id
|
| 3 |
+
,c_first_name customer_first_name
|
| 4 |
+
,c_last_name customer_last_name
|
| 5 |
+
,c_preferred_cust_flag customer_preferred_cust_flag
|
| 6 |
+
,c_birth_country customer_birth_country
|
| 7 |
+
,c_login customer_login
|
| 8 |
+
,c_email_address customer_email_address
|
| 9 |
+
,d_year dyear
|
| 10 |
+
,sum(ss_ext_list_price-ss_ext_discount_amt) year_total
|
| 11 |
+
,'s' sale_type
|
| 12 |
+
from customer
|
| 13 |
+
,store_sales
|
| 14 |
+
,date_dim
|
| 15 |
+
where c_customer_sk = ss_customer_sk
|
| 16 |
+
and ss_sold_date_sk = d_date_sk
|
| 17 |
+
group by c_customer_id
|
| 18 |
+
,c_first_name
|
| 19 |
+
,c_last_name
|
| 20 |
+
,c_preferred_cust_flag
|
| 21 |
+
,c_birth_country
|
| 22 |
+
,c_login
|
| 23 |
+
,c_email_address
|
| 24 |
+
,d_year
|
| 25 |
+
union all
|
| 26 |
+
select c_customer_id customer_id
|
| 27 |
+
,c_first_name customer_first_name
|
| 28 |
+
,c_last_name customer_last_name
|
| 29 |
+
,c_preferred_cust_flag customer_preferred_cust_flag
|
| 30 |
+
,c_birth_country customer_birth_country
|
| 31 |
+
,c_login customer_login
|
| 32 |
+
,c_email_address customer_email_address
|
| 33 |
+
,d_year dyear
|
| 34 |
+
,sum(ws_ext_list_price-ws_ext_discount_amt) year_total
|
| 35 |
+
,'w' sale_type
|
| 36 |
+
from customer
|
| 37 |
+
,web_sales
|
| 38 |
+
,date_dim
|
| 39 |
+
where c_customer_sk = ws_bill_customer_sk
|
| 40 |
+
and ws_sold_date_sk = d_date_sk
|
| 41 |
+
group by c_customer_id
|
| 42 |
+
,c_first_name
|
| 43 |
+
,c_last_name
|
| 44 |
+
,c_preferred_cust_flag
|
| 45 |
+
,c_birth_country
|
| 46 |
+
,c_login
|
| 47 |
+
,c_email_address
|
| 48 |
+
,d_year
|
| 49 |
+
)
|
| 50 |
+
select
|
| 51 |
+
t_s_secyear.customer_id
|
| 52 |
+
,t_s_secyear.customer_first_name
|
| 53 |
+
,t_s_secyear.customer_last_name
|
| 54 |
+
,t_s_secyear.customer_email_address
|
| 55 |
+
from year_total t_s_firstyear
|
| 56 |
+
,year_total t_s_secyear
|
| 57 |
+
,year_total t_w_firstyear
|
| 58 |
+
,year_total t_w_secyear
|
| 59 |
+
where t_s_secyear.customer_id = t_s_firstyear.customer_id
|
| 60 |
+
and t_s_firstyear.customer_id = t_w_secyear.customer_id
|
| 61 |
+
and t_s_firstyear.customer_id = t_w_firstyear.customer_id
|
| 62 |
+
and t_s_firstyear.sale_type = 's'
|
| 63 |
+
and t_w_firstyear.sale_type = 'w'
|
| 64 |
+
and t_s_secyear.sale_type = 's'
|
| 65 |
+
and t_w_secyear.sale_type = 'w'
|
| 66 |
+
and t_s_firstyear.dyear = 2001
|
| 67 |
+
and t_s_secyear.dyear = 2001+1
|
| 68 |
+
and t_w_firstyear.dyear = 2001
|
| 69 |
+
and t_w_secyear.dyear = 2001+1
|
| 70 |
+
and t_s_firstyear.year_total > 0
|
| 71 |
+
and t_w_firstyear.year_total > 0
|
| 72 |
+
and case when t_w_firstyear.year_total > 0 then t_w_secyear.year_total / t_w_firstyear.year_total else 0.0 end
|
| 73 |
+
> case when t_s_firstyear.year_total > 0 then t_s_secyear.year_total / t_s_firstyear.year_total else 0.0 end
|
| 74 |
+
order by t_s_secyear.customer_id
|
| 75 |
+
,t_s_secyear.customer_first_name
|
| 76 |
+
,t_s_secyear.customer_last_name
|
| 77 |
+
,t_s_secyear.customer_email_address
|
| 78 |
+
limit 100;
|
TPC-DS/queries/query12.sql
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select i_item_id
|
| 2 |
+
,i_item_desc
|
| 3 |
+
,i_category
|
| 4 |
+
,i_class
|
| 5 |
+
,i_current_price
|
| 6 |
+
,sum(ws_ext_sales_price) as itemrevenue
|
| 7 |
+
,sum(ws_ext_sales_price)*100/sum(sum(ws_ext_sales_price)) over
|
| 8 |
+
(partition by i_class) as revenueratio
|
| 9 |
+
from
|
| 10 |
+
web_sales
|
| 11 |
+
,item
|
| 12 |
+
,date_dim
|
| 13 |
+
where
|
| 14 |
+
ws_item_sk = i_item_sk
|
| 15 |
+
and i_category in ('Jewelry', 'Sports', 'Books')
|
| 16 |
+
and ws_sold_date_sk = d_date_sk
|
| 17 |
+
and d_date between cast('2001-01-12' as date)
|
| 18 |
+
and (cast('2001-01-12' as date) + 30 days)
|
| 19 |
+
group by
|
| 20 |
+
i_item_id
|
| 21 |
+
,i_item_desc
|
| 22 |
+
,i_category
|
| 23 |
+
,i_class
|
| 24 |
+
,i_current_price
|
| 25 |
+
order by
|
| 26 |
+
i_category
|
| 27 |
+
,i_class
|
| 28 |
+
,i_item_id
|
| 29 |
+
,i_item_desc
|
| 30 |
+
,revenueratio
|
| 31 |
+
limit 100;
|
TPC-DS/queries/query13.sql
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select avg(ss_quantity)
|
| 2 |
+
,avg(ss_ext_sales_price)
|
| 3 |
+
,avg(ss_ext_wholesale_cost)
|
| 4 |
+
,sum(ss_ext_wholesale_cost)
|
| 5 |
+
from store_sales
|
| 6 |
+
,store
|
| 7 |
+
,customer_demographics
|
| 8 |
+
,household_demographics
|
| 9 |
+
,customer_address
|
| 10 |
+
,date_dim
|
| 11 |
+
where s_store_sk = ss_store_sk
|
| 12 |
+
and ss_sold_date_sk = d_date_sk and d_year = 2001
|
| 13 |
+
and((ss_hdemo_sk=hd_demo_sk
|
| 14 |
+
and cd_demo_sk = ss_cdemo_sk
|
| 15 |
+
and cd_marital_status = 'D'
|
| 16 |
+
and cd_education_status = '2 yr Degree'
|
| 17 |
+
and ss_sales_price between 100.00 and 150.00
|
| 18 |
+
and hd_dep_count = 3
|
| 19 |
+
)or
|
| 20 |
+
(ss_hdemo_sk=hd_demo_sk
|
| 21 |
+
and cd_demo_sk = ss_cdemo_sk
|
| 22 |
+
and cd_marital_status = 'S'
|
| 23 |
+
and cd_education_status = 'Secondary'
|
| 24 |
+
and ss_sales_price between 50.00 and 100.00
|
| 25 |
+
and hd_dep_count = 1
|
| 26 |
+
) or
|
| 27 |
+
(ss_hdemo_sk=hd_demo_sk
|
| 28 |
+
and cd_demo_sk = ss_cdemo_sk
|
| 29 |
+
and cd_marital_status = 'W'
|
| 30 |
+
and cd_education_status = 'Advanced Degree'
|
| 31 |
+
and ss_sales_price between 150.00 and 200.00
|
| 32 |
+
and hd_dep_count = 1
|
| 33 |
+
))
|
| 34 |
+
and((ss_addr_sk = ca_address_sk
|
| 35 |
+
and ca_country = 'United States'
|
| 36 |
+
and ca_state in ('CO', 'IL', 'MN')
|
| 37 |
+
and ss_net_profit between 100 and 200
|
| 38 |
+
) or
|
| 39 |
+
(ss_addr_sk = ca_address_sk
|
| 40 |
+
and ca_country = 'United States'
|
| 41 |
+
and ca_state in ('OH', 'MT', 'NM')
|
| 42 |
+
and ss_net_profit between 150 and 300
|
| 43 |
+
) or
|
| 44 |
+
(ss_addr_sk = ca_address_sk
|
| 45 |
+
and ca_country = 'United States'
|
| 46 |
+
and ca_state in ('TX', 'MO', 'MI')
|
| 47 |
+
and ss_net_profit between 50 and 250
|
| 48 |
+
))
|
| 49 |
+
;
|
TPC-DS/queries/query14.sql
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
with cross_items as
|
| 2 |
+
(select i_item_sk ss_item_sk
|
| 3 |
+
from item,
|
| 4 |
+
(select iss.i_brand_id brand_id
|
| 5 |
+
,iss.i_class_id class_id
|
| 6 |
+
,iss.i_category_id category_id
|
| 7 |
+
from store_sales
|
| 8 |
+
,item iss
|
| 9 |
+
,date_dim d1
|
| 10 |
+
where ss_item_sk = iss.i_item_sk
|
| 11 |
+
and ss_sold_date_sk = d1.d_date_sk
|
| 12 |
+
and d1.d_year between 1998 AND 1998 + 2
|
| 13 |
+
intersect
|
| 14 |
+
select ics.i_brand_id
|
| 15 |
+
,ics.i_class_id
|
| 16 |
+
,ics.i_category_id
|
| 17 |
+
from catalog_sales
|
| 18 |
+
,item ics
|
| 19 |
+
,date_dim d2
|
| 20 |
+
where cs_item_sk = ics.i_item_sk
|
| 21 |
+
and cs_sold_date_sk = d2.d_date_sk
|
| 22 |
+
and d2.d_year between 1998 AND 1998 + 2
|
| 23 |
+
intersect
|
| 24 |
+
select iws.i_brand_id
|
| 25 |
+
,iws.i_class_id
|
| 26 |
+
,iws.i_category_id
|
| 27 |
+
from web_sales
|
| 28 |
+
,item iws
|
| 29 |
+
,date_dim d3
|
| 30 |
+
where ws_item_sk = iws.i_item_sk
|
| 31 |
+
and ws_sold_date_sk = d3.d_date_sk
|
| 32 |
+
and d3.d_year between 1998 AND 1998 + 2)
|
| 33 |
+
where i_brand_id = brand_id
|
| 34 |
+
and i_class_id = class_id
|
| 35 |
+
and i_category_id = category_id
|
| 36 |
+
),
|
| 37 |
+
avg_sales as
|
| 38 |
+
(select avg(quantity*list_price) average_sales
|
| 39 |
+
from (select ss_quantity quantity
|
| 40 |
+
,ss_list_price list_price
|
| 41 |
+
from store_sales
|
| 42 |
+
,date_dim
|
| 43 |
+
where ss_sold_date_sk = d_date_sk
|
| 44 |
+
and d_year between 1998 and 1998 + 2
|
| 45 |
+
union all
|
| 46 |
+
select cs_quantity quantity
|
| 47 |
+
,cs_list_price list_price
|
| 48 |
+
from catalog_sales
|
| 49 |
+
,date_dim
|
| 50 |
+
where cs_sold_date_sk = d_date_sk
|
| 51 |
+
and d_year between 1998 and 1998 + 2
|
| 52 |
+
union all
|
| 53 |
+
select ws_quantity quantity
|
| 54 |
+
,ws_list_price list_price
|
| 55 |
+
from web_sales
|
| 56 |
+
,date_dim
|
| 57 |
+
where ws_sold_date_sk = d_date_sk
|
| 58 |
+
and d_year between 1998 and 1998 + 2) x)
|
| 59 |
+
select channel, i_brand_id,i_class_id,i_category_id,sum(sales), sum(number_sales)
|
| 60 |
+
from(
|
| 61 |
+
select 'store' channel, i_brand_id,i_class_id
|
| 62 |
+
,i_category_id,sum(ss_quantity*ss_list_price) sales
|
| 63 |
+
, count(*) number_sales
|
| 64 |
+
from store_sales
|
| 65 |
+
,item
|
| 66 |
+
,date_dim
|
| 67 |
+
where ss_item_sk in (select ss_item_sk from cross_items)
|
| 68 |
+
and ss_item_sk = i_item_sk
|
| 69 |
+
and ss_sold_date_sk = d_date_sk
|
| 70 |
+
and d_year = 1998+2
|
| 71 |
+
and d_moy = 11
|
| 72 |
+
group by i_brand_id,i_class_id,i_category_id
|
| 73 |
+
having sum(ss_quantity*ss_list_price) > (select average_sales from avg_sales)
|
| 74 |
+
union all
|
| 75 |
+
select 'catalog' channel, i_brand_id,i_class_id,i_category_id, sum(cs_quantity*cs_list_price) sales, count(*) number_sales
|
| 76 |
+
from catalog_sales
|
| 77 |
+
,item
|
| 78 |
+
,date_dim
|
| 79 |
+
where cs_item_sk in (select ss_item_sk from cross_items)
|
| 80 |
+
and cs_item_sk = i_item_sk
|
| 81 |
+
and cs_sold_date_sk = d_date_sk
|
| 82 |
+
and d_year = 1998+2
|
| 83 |
+
and d_moy = 11
|
| 84 |
+
group by i_brand_id,i_class_id,i_category_id
|
| 85 |
+
having sum(cs_quantity*cs_list_price) > (select average_sales from avg_sales)
|
| 86 |
+
union all
|
| 87 |
+
select 'web' channel, i_brand_id,i_class_id,i_category_id, sum(ws_quantity*ws_list_price) sales , count(*) number_sales
|
| 88 |
+
from web_sales
|
| 89 |
+
,item
|
| 90 |
+
,date_dim
|
| 91 |
+
where ws_item_sk in (select ss_item_sk from cross_items)
|
| 92 |
+
and ws_item_sk = i_item_sk
|
| 93 |
+
and ws_sold_date_sk = d_date_sk
|
| 94 |
+
and d_year = 1998+2
|
| 95 |
+
and d_moy = 11
|
| 96 |
+
group by i_brand_id,i_class_id,i_category_id
|
| 97 |
+
having sum(ws_quantity*ws_list_price) > (select average_sales from avg_sales)
|
| 98 |
+
) y
|
| 99 |
+
group by rollup (channel, i_brand_id,i_class_id,i_category_id)
|
| 100 |
+
order by channel,i_brand_id,i_class_id,i_category_id
|
| 101 |
+
limit 100;
|
| 102 |
+
with cross_items as
|
| 103 |
+
(select i_item_sk ss_item_sk
|
| 104 |
+
from item,
|
| 105 |
+
(select iss.i_brand_id brand_id
|
| 106 |
+
,iss.i_class_id class_id
|
| 107 |
+
,iss.i_category_id category_id
|
| 108 |
+
from store_sales
|
| 109 |
+
,item iss
|
| 110 |
+
,date_dim d1
|
| 111 |
+
where ss_item_sk = iss.i_item_sk
|
| 112 |
+
and ss_sold_date_sk = d1.d_date_sk
|
| 113 |
+
and d1.d_year between 1998 AND 1998 + 2
|
| 114 |
+
intersect
|
| 115 |
+
select ics.i_brand_id
|
| 116 |
+
,ics.i_class_id
|
| 117 |
+
,ics.i_category_id
|
| 118 |
+
from catalog_sales
|
| 119 |
+
,item ics
|
| 120 |
+
,date_dim d2
|
| 121 |
+
where cs_item_sk = ics.i_item_sk
|
| 122 |
+
and cs_sold_date_sk = d2.d_date_sk
|
| 123 |
+
and d2.d_year between 1998 AND 1998 + 2
|
| 124 |
+
intersect
|
| 125 |
+
select iws.i_brand_id
|
| 126 |
+
,iws.i_class_id
|
| 127 |
+
,iws.i_category_id
|
| 128 |
+
from web_sales
|
| 129 |
+
,item iws
|
| 130 |
+
,date_dim d3
|
| 131 |
+
where ws_item_sk = iws.i_item_sk
|
| 132 |
+
and ws_sold_date_sk = d3.d_date_sk
|
| 133 |
+
and d3.d_year between 1998 AND 1998 + 2) x
|
| 134 |
+
where i_brand_id = brand_id
|
| 135 |
+
and i_class_id = class_id
|
| 136 |
+
and i_category_id = category_id
|
| 137 |
+
),
|
| 138 |
+
avg_sales as
|
| 139 |
+
(select avg(quantity*list_price) average_sales
|
| 140 |
+
from (select ss_quantity quantity
|
| 141 |
+
,ss_list_price list_price
|
| 142 |
+
from store_sales
|
| 143 |
+
,date_dim
|
| 144 |
+
where ss_sold_date_sk = d_date_sk
|
| 145 |
+
and d_year between 1998 and 1998 + 2
|
| 146 |
+
union all
|
| 147 |
+
select cs_quantity quantity
|
| 148 |
+
,cs_list_price list_price
|
| 149 |
+
from catalog_sales
|
| 150 |
+
,date_dim
|
| 151 |
+
where cs_sold_date_sk = d_date_sk
|
| 152 |
+
and d_year between 1998 and 1998 + 2
|
| 153 |
+
union all
|
| 154 |
+
select ws_quantity quantity
|
| 155 |
+
,ws_list_price list_price
|
| 156 |
+
from web_sales
|
| 157 |
+
,date_dim
|
| 158 |
+
where ws_sold_date_sk = d_date_sk
|
| 159 |
+
and d_year between 1998 and 1998 + 2) x)
|
| 160 |
+
select this_year.channel ty_channel
|
| 161 |
+
,this_year.i_brand_id ty_brand
|
| 162 |
+
,this_year.i_class_id ty_class
|
| 163 |
+
,this_year.i_category_id ty_category
|
| 164 |
+
,this_year.sales ty_sales
|
| 165 |
+
,this_year.number_sales ty_number_sales
|
| 166 |
+
,last_year.channel ly_channel
|
| 167 |
+
,last_year.i_brand_id ly_brand
|
| 168 |
+
,last_year.i_class_id ly_class
|
| 169 |
+
,last_year.i_category_id ly_category
|
| 170 |
+
,last_year.sales ly_sales
|
| 171 |
+
,last_year.number_sales ly_number_sales
|
| 172 |
+
from
|
| 173 |
+
(select 'store' channel, i_brand_id,i_class_id,i_category_id
|
| 174 |
+
,sum(ss_quantity*ss_list_price) sales, count(*) number_sales
|
| 175 |
+
from store_sales
|
| 176 |
+
,item
|
| 177 |
+
,date_dim
|
| 178 |
+
where ss_item_sk in (select ss_item_sk from cross_items)
|
| 179 |
+
and ss_item_sk = i_item_sk
|
| 180 |
+
and ss_sold_date_sk = d_date_sk
|
| 181 |
+
and d_week_seq = (select d_week_seq
|
| 182 |
+
from date_dim
|
| 183 |
+
where d_year = 1998 + 1
|
| 184 |
+
and d_moy = 12
|
| 185 |
+
and d_dom = 16)
|
| 186 |
+
group by i_brand_id,i_class_id,i_category_id
|
| 187 |
+
having sum(ss_quantity*ss_list_price) > (select average_sales from avg_sales)) this_year,
|
| 188 |
+
(select 'store' channel, i_brand_id,i_class_id
|
| 189 |
+
,i_category_id, sum(ss_quantity*ss_list_price) sales, count(*) number_sales
|
| 190 |
+
from store_sales
|
| 191 |
+
,item
|
| 192 |
+
,date_dim
|
| 193 |
+
where ss_item_sk in (select ss_item_sk from cross_items)
|
| 194 |
+
and ss_item_sk = i_item_sk
|
| 195 |
+
and ss_sold_date_sk = d_date_sk
|
| 196 |
+
and d_week_seq = (select d_week_seq
|
| 197 |
+
from date_dim
|
| 198 |
+
where d_year = 1998
|
| 199 |
+
and d_moy = 12
|
| 200 |
+
and d_dom = 16)
|
| 201 |
+
group by i_brand_id,i_class_id,i_category_id
|
| 202 |
+
having sum(ss_quantity*ss_list_price) > (select average_sales from avg_sales)) last_year
|
| 203 |
+
where this_year.i_brand_id= last_year.i_brand_id
|
| 204 |
+
and this_year.i_class_id = last_year.i_class_id
|
| 205 |
+
and this_year.i_category_id = last_year.i_category_id
|
| 206 |
+
order by this_year.channel, this_year.i_brand_id, this_year.i_class_id, this_year.i_category_id
|
| 207 |
+
limit 100;
|
TPC-DS/queries/query15.sql
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select ca_zip
|
| 2 |
+
,sum(cs_sales_price)
|
| 3 |
+
from catalog_sales
|
| 4 |
+
,customer
|
| 5 |
+
,customer_address
|
| 6 |
+
,date_dim
|
| 7 |
+
where cs_bill_customer_sk = c_customer_sk
|
| 8 |
+
and c_current_addr_sk = ca_address_sk
|
| 9 |
+
and ( substr(ca_zip,1,5) in ('85669', '86197','88274','83405','86475',
|
| 10 |
+
'85392', '85460', '80348', '81792')
|
| 11 |
+
or ca_state in ('CA','WA','GA')
|
| 12 |
+
or cs_sales_price > 500)
|
| 13 |
+
and cs_sold_date_sk = d_date_sk
|
| 14 |
+
and d_qoy = 2 and d_year = 2000
|
| 15 |
+
group by ca_zip
|
| 16 |
+
order by ca_zip
|
| 17 |
+
limit 100;
|
TPC-DS/queries/query16.sql
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select
|
| 2 |
+
count(distinct cs_order_number) as "order count"
|
| 3 |
+
,sum(cs_ext_ship_cost) as "total shipping cost"
|
| 4 |
+
,sum(cs_net_profit) as "total net profit"
|
| 5 |
+
from
|
| 6 |
+
catalog_sales cs1
|
| 7 |
+
,date_dim
|
| 8 |
+
,customer_address
|
| 9 |
+
,call_center
|
| 10 |
+
where
|
| 11 |
+
d_date between '1999-2-01' and
|
| 12 |
+
(cast('1999-2-01' as date) + 60 days)
|
| 13 |
+
and cs1.cs_ship_date_sk = d_date_sk
|
| 14 |
+
and cs1.cs_ship_addr_sk = ca_address_sk
|
| 15 |
+
and ca_state = 'IL'
|
| 16 |
+
and cs1.cs_call_center_sk = cc_call_center_sk
|
| 17 |
+
and cc_county in ('Williamson County','Williamson County','Williamson County','Williamson County',
|
| 18 |
+
'Williamson County'
|
| 19 |
+
)
|
| 20 |
+
and exists (select *
|
| 21 |
+
from catalog_sales cs2
|
| 22 |
+
where cs1.cs_order_number = cs2.cs_order_number
|
| 23 |
+
and cs1.cs_warehouse_sk <> cs2.cs_warehouse_sk)
|
| 24 |
+
and not exists(select *
|
| 25 |
+
from catalog_returns cr1
|
| 26 |
+
where cs1.cs_order_number = cr1.cr_order_number)
|
| 27 |
+
order by count(distinct cs_order_number)
|
| 28 |
+
limit 100;
|
TPC-DS/queries/query17.sql
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select i_item_id
|
| 2 |
+
,i_item_desc
|
| 3 |
+
,s_state
|
| 4 |
+
,count(ss_quantity) as store_sales_quantitycount
|
| 5 |
+
,avg(ss_quantity) as store_sales_quantityave
|
| 6 |
+
,stddev_samp(ss_quantity) as store_sales_quantitystdev
|
| 7 |
+
,stddev_samp(ss_quantity)/avg(ss_quantity) as store_sales_quantitycov
|
| 8 |
+
,count(sr_return_quantity) as store_returns_quantitycount
|
| 9 |
+
,avg(sr_return_quantity) as store_returns_quantityave
|
| 10 |
+
,stddev_samp(sr_return_quantity) as store_returns_quantitystdev
|
| 11 |
+
,stddev_samp(sr_return_quantity)/avg(sr_return_quantity) as store_returns_quantitycov
|
| 12 |
+
,count(cs_quantity) as catalog_sales_quantitycount ,avg(cs_quantity) as catalog_sales_quantityave
|
| 13 |
+
,stddev_samp(cs_quantity) as catalog_sales_quantitystdev
|
| 14 |
+
,stddev_samp(cs_quantity)/avg(cs_quantity) as catalog_sales_quantitycov
|
| 15 |
+
from store_sales
|
| 16 |
+
,store_returns
|
| 17 |
+
,catalog_sales
|
| 18 |
+
,date_dim d1
|
| 19 |
+
,date_dim d2
|
| 20 |
+
,date_dim d3
|
| 21 |
+
,store
|
| 22 |
+
,item
|
| 23 |
+
where d1.d_quarter_name = '1998Q1'
|
| 24 |
+
and d1.d_date_sk = ss_sold_date_sk
|
| 25 |
+
and i_item_sk = ss_item_sk
|
| 26 |
+
and s_store_sk = ss_store_sk
|
| 27 |
+
and ss_customer_sk = sr_customer_sk
|
| 28 |
+
and ss_item_sk = sr_item_sk
|
| 29 |
+
and ss_ticket_number = sr_ticket_number
|
| 30 |
+
and sr_returned_date_sk = d2.d_date_sk
|
| 31 |
+
and d2.d_quarter_name in ('1998Q1','1998Q2','1998Q3')
|
| 32 |
+
and sr_customer_sk = cs_bill_customer_sk
|
| 33 |
+
and sr_item_sk = cs_item_sk
|
| 34 |
+
and cs_sold_date_sk = d3.d_date_sk
|
| 35 |
+
and d3.d_quarter_name in ('1998Q1','1998Q2','1998Q3')
|
| 36 |
+
group by i_item_id
|
| 37 |
+
,i_item_desc
|
| 38 |
+
,s_state
|
| 39 |
+
order by i_item_id
|
| 40 |
+
,i_item_desc
|
| 41 |
+
,s_state
|
| 42 |
+
limit 100;
|
TPC-DS/queries/query18.sql
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select i_item_id,
|
| 2 |
+
ca_country,
|
| 3 |
+
ca_state,
|
| 4 |
+
ca_county,
|
| 5 |
+
avg( cast(cs_quantity as decimal(12,2))) agg1,
|
| 6 |
+
avg( cast(cs_list_price as decimal(12,2))) agg2,
|
| 7 |
+
avg( cast(cs_coupon_amt as decimal(12,2))) agg3,
|
| 8 |
+
avg( cast(cs_sales_price as decimal(12,2))) agg4,
|
| 9 |
+
avg( cast(cs_net_profit as decimal(12,2))) agg5,
|
| 10 |
+
avg( cast(c_birth_year as decimal(12,2))) agg6,
|
| 11 |
+
avg( cast(cd1.cd_dep_count as decimal(12,2))) agg7
|
| 12 |
+
from catalog_sales, customer_demographics cd1,
|
| 13 |
+
customer_demographics cd2, customer, customer_address, date_dim, item
|
| 14 |
+
where cs_sold_date_sk = d_date_sk and
|
| 15 |
+
cs_item_sk = i_item_sk and
|
| 16 |
+
cs_bill_cdemo_sk = cd1.cd_demo_sk and
|
| 17 |
+
cs_bill_customer_sk = c_customer_sk and
|
| 18 |
+
cd1.cd_gender = 'M' and
|
| 19 |
+
cd1.cd_education_status = 'College' and
|
| 20 |
+
c_current_cdemo_sk = cd2.cd_demo_sk and
|
| 21 |
+
c_current_addr_sk = ca_address_sk and
|
| 22 |
+
c_birth_month in (9,5,12,4,1,10) and
|
| 23 |
+
d_year = 2001 and
|
| 24 |
+
ca_state in ('ND','WI','AL'
|
| 25 |
+
,'NC','OK','MS','TN')
|
| 26 |
+
group by rollup (i_item_id, ca_country, ca_state, ca_county)
|
| 27 |
+
order by ca_country,
|
| 28 |
+
ca_state,
|
| 29 |
+
ca_county,
|
| 30 |
+
i_item_id
|
| 31 |
+
limit 100;
|
TPC-DS/queries/query19.sql
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select i_brand_id brand_id, i_brand brand, i_manufact_id, i_manufact,
|
| 2 |
+
sum(ss_ext_sales_price) ext_price
|
| 3 |
+
from date_dim, store_sales, item,customer,customer_address,store
|
| 4 |
+
where d_date_sk = ss_sold_date_sk
|
| 5 |
+
and ss_item_sk = i_item_sk
|
| 6 |
+
and i_manager_id=7
|
| 7 |
+
and d_moy=11
|
| 8 |
+
and d_year=1999
|
| 9 |
+
and ss_customer_sk = c_customer_sk
|
| 10 |
+
and c_current_addr_sk = ca_address_sk
|
| 11 |
+
and substr(ca_zip,1,5) <> substr(s_zip,1,5)
|
| 12 |
+
and ss_store_sk = s_store_sk
|
| 13 |
+
group by i_brand
|
| 14 |
+
,i_brand_id
|
| 15 |
+
,i_manufact_id
|
| 16 |
+
,i_manufact
|
| 17 |
+
order by ext_price desc
|
| 18 |
+
,i_brand
|
| 19 |
+
,i_brand_id
|
| 20 |
+
,i_manufact_id
|
| 21 |
+
,i_manufact
|
| 22 |
+
limit 100 ;
|
TPC-DS/queries/query2.sql
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
with wscs as
|
| 2 |
+
(select sold_date_sk
|
| 3 |
+
,sales_price
|
| 4 |
+
from (select ws_sold_date_sk sold_date_sk
|
| 5 |
+
,ws_ext_sales_price sales_price
|
| 6 |
+
from web_sales
|
| 7 |
+
union all
|
| 8 |
+
select cs_sold_date_sk sold_date_sk
|
| 9 |
+
,cs_ext_sales_price sales_price
|
| 10 |
+
from catalog_sales)),
|
| 11 |
+
wswscs as
|
| 12 |
+
(select d_week_seq,
|
| 13 |
+
sum(case when (d_day_name='Sunday') then sales_price else null end) sun_sales,
|
| 14 |
+
sum(case when (d_day_name='Monday') then sales_price else null end) mon_sales,
|
| 15 |
+
sum(case when (d_day_name='Tuesday') then sales_price else null end) tue_sales,
|
| 16 |
+
sum(case when (d_day_name='Wednesday') then sales_price else null end) wed_sales,
|
| 17 |
+
sum(case when (d_day_name='Thursday') then sales_price else null end) thu_sales,
|
| 18 |
+
sum(case when (d_day_name='Friday') then sales_price else null end) fri_sales,
|
| 19 |
+
sum(case when (d_day_name='Saturday') then sales_price else null end) sat_sales
|
| 20 |
+
from wscs
|
| 21 |
+
,date_dim
|
| 22 |
+
where d_date_sk = sold_date_sk
|
| 23 |
+
group by d_week_seq)
|
| 24 |
+
select d_week_seq1
|
| 25 |
+
,round(sun_sales1/sun_sales2,2)
|
| 26 |
+
,round(mon_sales1/mon_sales2,2)
|
| 27 |
+
,round(tue_sales1/tue_sales2,2)
|
| 28 |
+
,round(wed_sales1/wed_sales2,2)
|
| 29 |
+
,round(thu_sales1/thu_sales2,2)
|
| 30 |
+
,round(fri_sales1/fri_sales2,2)
|
| 31 |
+
,round(sat_sales1/sat_sales2,2)
|
| 32 |
+
from
|
| 33 |
+
(select wswscs.d_week_seq d_week_seq1
|
| 34 |
+
,sun_sales sun_sales1
|
| 35 |
+
,mon_sales mon_sales1
|
| 36 |
+
,tue_sales tue_sales1
|
| 37 |
+
,wed_sales wed_sales1
|
| 38 |
+
,thu_sales thu_sales1
|
| 39 |
+
,fri_sales fri_sales1
|
| 40 |
+
,sat_sales sat_sales1
|
| 41 |
+
from wswscs,date_dim
|
| 42 |
+
where date_dim.d_week_seq = wswscs.d_week_seq and
|
| 43 |
+
d_year = 2001) y,
|
| 44 |
+
(select wswscs.d_week_seq d_week_seq2
|
| 45 |
+
,sun_sales sun_sales2
|
| 46 |
+
,mon_sales mon_sales2
|
| 47 |
+
,tue_sales tue_sales2
|
| 48 |
+
,wed_sales wed_sales2
|
| 49 |
+
,thu_sales thu_sales2
|
| 50 |
+
,fri_sales fri_sales2
|
| 51 |
+
,sat_sales sat_sales2
|
| 52 |
+
from wswscs
|
| 53 |
+
,date_dim
|
| 54 |
+
where date_dim.d_week_seq = wswscs.d_week_seq and
|
| 55 |
+
d_year = 2001+1) z
|
| 56 |
+
where d_week_seq1=d_week_seq2-53
|
| 57 |
+
order by d_week_seq1;
|
TPC-DS/queries/query20.sql
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select i_item_id
|
| 2 |
+
,i_item_desc
|
| 3 |
+
,i_category
|
| 4 |
+
,i_class
|
| 5 |
+
,i_current_price
|
| 6 |
+
,sum(cs_ext_sales_price) as itemrevenue
|
| 7 |
+
,sum(cs_ext_sales_price)*100/sum(sum(cs_ext_sales_price)) over
|
| 8 |
+
(partition by i_class) as revenueratio
|
| 9 |
+
from catalog_sales
|
| 10 |
+
,item
|
| 11 |
+
,date_dim
|
| 12 |
+
where cs_item_sk = i_item_sk
|
| 13 |
+
and i_category in ('Jewelry', 'Sports', 'Books')
|
| 14 |
+
and cs_sold_date_sk = d_date_sk
|
| 15 |
+
and d_date between cast('2001-01-12' as date)
|
| 16 |
+
and (cast('2001-01-12' as date) + 30 days)
|
| 17 |
+
group by i_item_id
|
| 18 |
+
,i_item_desc
|
| 19 |
+
,i_category
|
| 20 |
+
,i_class
|
| 21 |
+
,i_current_price
|
| 22 |
+
order by i_category
|
| 23 |
+
,i_class
|
| 24 |
+
,i_item_id
|
| 25 |
+
,i_item_desc
|
| 26 |
+
,revenueratio
|
| 27 |
+
limit 100;
|
TPC-DS/queries/query21.sql
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select *
|
| 2 |
+
from(select w_warehouse_name
|
| 3 |
+
,i_item_id
|
| 4 |
+
,sum(case when (cast(d_date as date) < cast ('1998-04-08' as date))
|
| 5 |
+
then inv_quantity_on_hand
|
| 6 |
+
else 0 end) as inv_before
|
| 7 |
+
,sum(case when (cast(d_date as date) >= cast ('1998-04-08' as date))
|
| 8 |
+
then inv_quantity_on_hand
|
| 9 |
+
else 0 end) as inv_after
|
| 10 |
+
from inventory
|
| 11 |
+
,warehouse
|
| 12 |
+
,item
|
| 13 |
+
,date_dim
|
| 14 |
+
where i_current_price between 0.99 and 1.49
|
| 15 |
+
and i_item_sk = inv_item_sk
|
| 16 |
+
and inv_warehouse_sk = w_warehouse_sk
|
| 17 |
+
and inv_date_sk = d_date_sk
|
| 18 |
+
and d_date between (cast ('1998-04-08' as date) - 30 days)
|
| 19 |
+
and (cast ('1998-04-08' as date) + 30 days)
|
| 20 |
+
group by w_warehouse_name, i_item_id) x
|
| 21 |
+
where (case when inv_before > 0
|
| 22 |
+
then inv_after / inv_before
|
| 23 |
+
else null
|
| 24 |
+
end) between 2.0/3.0 and 3.0/2.0
|
| 25 |
+
order by w_warehouse_name
|
| 26 |
+
,i_item_id
|
| 27 |
+
limit 100;
|
TPC-DS/queries/query22.sql
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select i_product_name
|
| 2 |
+
,i_brand
|
| 3 |
+
,i_class
|
| 4 |
+
,i_category
|
| 5 |
+
,avg(inv_quantity_on_hand) qoh
|
| 6 |
+
from inventory
|
| 7 |
+
,date_dim
|
| 8 |
+
,item
|
| 9 |
+
where inv_date_sk=d_date_sk
|
| 10 |
+
and inv_item_sk=i_item_sk
|
| 11 |
+
and d_month_seq between 1212 and 1212 + 11
|
| 12 |
+
group by rollup(i_product_name
|
| 13 |
+
,i_brand
|
| 14 |
+
,i_class
|
| 15 |
+
,i_category)
|
| 16 |
+
order by qoh, i_product_name, i_brand, i_class, i_category
|
| 17 |
+
limit 100;
|
TPC-DS/queries/query23.sql
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
with frequent_ss_items as
|
| 2 |
+
(select substr(i_item_desc,1,30) itemdesc,i_item_sk item_sk,d_date solddate,count(*) cnt
|
| 3 |
+
from store_sales
|
| 4 |
+
,date_dim
|
| 5 |
+
,item
|
| 6 |
+
where ss_sold_date_sk = d_date_sk
|
| 7 |
+
and ss_item_sk = i_item_sk
|
| 8 |
+
and d_year in (1999,1999+1,1999+2,1999+3)
|
| 9 |
+
group by substr(i_item_desc,1,30),i_item_sk,d_date
|
| 10 |
+
having count(*) >4),
|
| 11 |
+
max_store_sales as
|
| 12 |
+
(select max(csales) tpcds_cmax
|
| 13 |
+
from (select c_customer_sk,sum(ss_quantity*ss_sales_price) csales
|
| 14 |
+
from store_sales
|
| 15 |
+
,customer
|
| 16 |
+
,date_dim
|
| 17 |
+
where ss_customer_sk = c_customer_sk
|
| 18 |
+
and ss_sold_date_sk = d_date_sk
|
| 19 |
+
and d_year in (1999,1999+1,1999+2,1999+3)
|
| 20 |
+
group by c_customer_sk)),
|
| 21 |
+
best_ss_customer as
|
| 22 |
+
(select c_customer_sk,sum(ss_quantity*ss_sales_price) ssales
|
| 23 |
+
from store_sales
|
| 24 |
+
,customer
|
| 25 |
+
where ss_customer_sk = c_customer_sk
|
| 26 |
+
group by c_customer_sk
|
| 27 |
+
having sum(ss_quantity*ss_sales_price) > (95/100.0) * (select
|
| 28 |
+
*
|
| 29 |
+
from
|
| 30 |
+
max_store_sales))
|
| 31 |
+
select sum(sales)
|
| 32 |
+
from (select cs_quantity*cs_list_price sales
|
| 33 |
+
from catalog_sales
|
| 34 |
+
,date_dim
|
| 35 |
+
where d_year = 1999
|
| 36 |
+
and d_moy = 1
|
| 37 |
+
and cs_sold_date_sk = d_date_sk
|
| 38 |
+
and cs_item_sk in (select item_sk from frequent_ss_items)
|
| 39 |
+
and cs_bill_customer_sk in (select c_customer_sk from best_ss_customer)
|
| 40 |
+
union all
|
| 41 |
+
select ws_quantity*ws_list_price sales
|
| 42 |
+
from web_sales
|
| 43 |
+
,date_dim
|
| 44 |
+
where d_year = 1999
|
| 45 |
+
and d_moy = 1
|
| 46 |
+
and ws_sold_date_sk = d_date_sk
|
| 47 |
+
and ws_item_sk in (select item_sk from frequent_ss_items)
|
| 48 |
+
and ws_bill_customer_sk in (select c_customer_sk from best_ss_customer))
|
| 49 |
+
limit 100;
|
| 50 |
+
with frequent_ss_items as
|
| 51 |
+
(select substr(i_item_desc,1,30) itemdesc,i_item_sk item_sk,d_date solddate,count(*) cnt
|
| 52 |
+
from store_sales
|
| 53 |
+
,date_dim
|
| 54 |
+
,item
|
| 55 |
+
where ss_sold_date_sk = d_date_sk
|
| 56 |
+
and ss_item_sk = i_item_sk
|
| 57 |
+
and d_year in (1999,1999 + 1,1999 + 2,1999 + 3)
|
| 58 |
+
group by substr(i_item_desc,1,30),i_item_sk,d_date
|
| 59 |
+
having count(*) >4),
|
| 60 |
+
max_store_sales as
|
| 61 |
+
(select max(csales) tpcds_cmax
|
| 62 |
+
from (select c_customer_sk,sum(ss_quantity*ss_sales_price) csales
|
| 63 |
+
from store_sales
|
| 64 |
+
,customer
|
| 65 |
+
,date_dim
|
| 66 |
+
where ss_customer_sk = c_customer_sk
|
| 67 |
+
and ss_sold_date_sk = d_date_sk
|
| 68 |
+
and d_year in (1999,1999+1,1999+2,1999+3)
|
| 69 |
+
group by c_customer_sk)),
|
| 70 |
+
best_ss_customer as
|
| 71 |
+
(select c_customer_sk,sum(ss_quantity*ss_sales_price) ssales
|
| 72 |
+
from store_sales
|
| 73 |
+
,customer
|
| 74 |
+
where ss_customer_sk = c_customer_sk
|
| 75 |
+
group by c_customer_sk
|
| 76 |
+
having sum(ss_quantity*ss_sales_price) > (95/100.0) * (select
|
| 77 |
+
*
|
| 78 |
+
from max_store_sales))
|
| 79 |
+
select c_last_name,c_first_name,sales
|
| 80 |
+
from (select c_last_name,c_first_name,sum(cs_quantity*cs_list_price) sales
|
| 81 |
+
from catalog_sales
|
| 82 |
+
,customer
|
| 83 |
+
,date_dim
|
| 84 |
+
where d_year = 1999
|
| 85 |
+
and d_moy = 1
|
| 86 |
+
and cs_sold_date_sk = d_date_sk
|
| 87 |
+
and cs_item_sk in (select item_sk from frequent_ss_items)
|
| 88 |
+
and cs_bill_customer_sk in (select c_customer_sk from best_ss_customer)
|
| 89 |
+
and cs_bill_customer_sk = c_customer_sk
|
| 90 |
+
group by c_last_name,c_first_name
|
| 91 |
+
union all
|
| 92 |
+
select c_last_name,c_first_name,sum(ws_quantity*ws_list_price) sales
|
| 93 |
+
from web_sales
|
| 94 |
+
,customer
|
| 95 |
+
,date_dim
|
| 96 |
+
where d_year = 1999
|
| 97 |
+
and d_moy = 1
|
| 98 |
+
and ws_sold_date_sk = d_date_sk
|
| 99 |
+
and ws_item_sk in (select item_sk from frequent_ss_items)
|
| 100 |
+
and ws_bill_customer_sk in (select c_customer_sk from best_ss_customer)
|
| 101 |
+
and ws_bill_customer_sk = c_customer_sk
|
| 102 |
+
group by c_last_name,c_first_name)
|
| 103 |
+
order by c_last_name,c_first_name,sales
|
| 104 |
+
limit 100;
|
TPC-DS/queries/query24.sql
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
with ssales as
|
| 2 |
+
(select c_last_name
|
| 3 |
+
,c_first_name
|
| 4 |
+
,s_store_name
|
| 5 |
+
,ca_state
|
| 6 |
+
,s_state
|
| 7 |
+
,i_color
|
| 8 |
+
,i_current_price
|
| 9 |
+
,i_manager_id
|
| 10 |
+
,i_units
|
| 11 |
+
,i_size
|
| 12 |
+
,sum(ss_sales_price) netpaid
|
| 13 |
+
from store_sales
|
| 14 |
+
,store_returns
|
| 15 |
+
,store
|
| 16 |
+
,item
|
| 17 |
+
,customer
|
| 18 |
+
,customer_address
|
| 19 |
+
where ss_ticket_number = sr_ticket_number
|
| 20 |
+
and ss_item_sk = sr_item_sk
|
| 21 |
+
and ss_customer_sk = c_customer_sk
|
| 22 |
+
and ss_item_sk = i_item_sk
|
| 23 |
+
and ss_store_sk = s_store_sk
|
| 24 |
+
and c_current_addr_sk = ca_address_sk
|
| 25 |
+
and c_birth_country <> upper(ca_country)
|
| 26 |
+
and s_zip = ca_zip
|
| 27 |
+
and s_market_id=7
|
| 28 |
+
group by c_last_name
|
| 29 |
+
,c_first_name
|
| 30 |
+
,s_store_name
|
| 31 |
+
,ca_state
|
| 32 |
+
,s_state
|
| 33 |
+
,i_color
|
| 34 |
+
,i_current_price
|
| 35 |
+
,i_manager_id
|
| 36 |
+
,i_units
|
| 37 |
+
,i_size)
|
| 38 |
+
select c_last_name
|
| 39 |
+
,c_first_name
|
| 40 |
+
,s_store_name
|
| 41 |
+
,sum(netpaid) paid
|
| 42 |
+
from ssales
|
| 43 |
+
where i_color = 'orchid'
|
| 44 |
+
group by c_last_name
|
| 45 |
+
,c_first_name
|
| 46 |
+
,s_store_name
|
| 47 |
+
having sum(netpaid) > (select 0.05*avg(netpaid)
|
| 48 |
+
from ssales)
|
| 49 |
+
order by c_last_name
|
| 50 |
+
,c_first_name
|
| 51 |
+
,s_store_name
|
| 52 |
+
;
|
| 53 |
+
with ssales as
|
| 54 |
+
(select c_last_name
|
| 55 |
+
,c_first_name
|
| 56 |
+
,s_store_name
|
| 57 |
+
,ca_state
|
| 58 |
+
,s_state
|
| 59 |
+
,i_color
|
| 60 |
+
,i_current_price
|
| 61 |
+
,i_manager_id
|
| 62 |
+
,i_units
|
| 63 |
+
,i_size
|
| 64 |
+
,sum(ss_sales_price) netpaid
|
| 65 |
+
from store_sales
|
| 66 |
+
,store_returns
|
| 67 |
+
,store
|
| 68 |
+
,item
|
| 69 |
+
,customer
|
| 70 |
+
,customer_address
|
| 71 |
+
where ss_ticket_number = sr_ticket_number
|
| 72 |
+
and ss_item_sk = sr_item_sk
|
| 73 |
+
and ss_customer_sk = c_customer_sk
|
| 74 |
+
and ss_item_sk = i_item_sk
|
| 75 |
+
and ss_store_sk = s_store_sk
|
| 76 |
+
and c_current_addr_sk = ca_address_sk
|
| 77 |
+
and c_birth_country <> upper(ca_country)
|
| 78 |
+
and s_zip = ca_zip
|
| 79 |
+
and s_market_id = 7
|
| 80 |
+
group by c_last_name
|
| 81 |
+
,c_first_name
|
| 82 |
+
,s_store_name
|
| 83 |
+
,ca_state
|
| 84 |
+
,s_state
|
| 85 |
+
,i_color
|
| 86 |
+
,i_current_price
|
| 87 |
+
,i_manager_id
|
| 88 |
+
,i_units
|
| 89 |
+
,i_size)
|
| 90 |
+
select c_last_name
|
| 91 |
+
,c_first_name
|
| 92 |
+
,s_store_name
|
| 93 |
+
,sum(netpaid) paid
|
| 94 |
+
from ssales
|
| 95 |
+
where i_color = 'chiffon'
|
| 96 |
+
group by c_last_name
|
| 97 |
+
,c_first_name
|
| 98 |
+
,s_store_name
|
| 99 |
+
having sum(netpaid) > (select 0.05*avg(netpaid)
|
| 100 |
+
from ssales)
|
| 101 |
+
order by c_last_name
|
| 102 |
+
,c_first_name
|
| 103 |
+
,s_store_name
|
| 104 |
+
;
|
TPC-DS/queries/query25.sql
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select
|
| 2 |
+
i_item_id
|
| 3 |
+
,i_item_desc
|
| 4 |
+
,s_store_id
|
| 5 |
+
,s_store_name
|
| 6 |
+
,sum(ss_net_profit) as store_sales_profit
|
| 7 |
+
,sum(sr_net_loss) as store_returns_loss
|
| 8 |
+
,sum(cs_net_profit) as catalog_sales_profit
|
| 9 |
+
from
|
| 10 |
+
store_sales
|
| 11 |
+
,store_returns
|
| 12 |
+
,catalog_sales
|
| 13 |
+
,date_dim d1
|
| 14 |
+
,date_dim d2
|
| 15 |
+
,date_dim d3
|
| 16 |
+
,store
|
| 17 |
+
,item
|
| 18 |
+
where
|
| 19 |
+
d1.d_moy = 4
|
| 20 |
+
and d1.d_year = 2000
|
| 21 |
+
and d1.d_date_sk = ss_sold_date_sk
|
| 22 |
+
and i_item_sk = ss_item_sk
|
| 23 |
+
and s_store_sk = ss_store_sk
|
| 24 |
+
and ss_customer_sk = sr_customer_sk
|
| 25 |
+
and ss_item_sk = sr_item_sk
|
| 26 |
+
and ss_ticket_number = sr_ticket_number
|
| 27 |
+
and sr_returned_date_sk = d2.d_date_sk
|
| 28 |
+
and d2.d_moy between 4 and 10
|
| 29 |
+
and d2.d_year = 2000
|
| 30 |
+
and sr_customer_sk = cs_bill_customer_sk
|
| 31 |
+
and sr_item_sk = cs_item_sk
|
| 32 |
+
and cs_sold_date_sk = d3.d_date_sk
|
| 33 |
+
and d3.d_moy between 4 and 10
|
| 34 |
+
and d3.d_year = 2000
|
| 35 |
+
group by
|
| 36 |
+
i_item_id
|
| 37 |
+
,i_item_desc
|
| 38 |
+
,s_store_id
|
| 39 |
+
,s_store_name
|
| 40 |
+
order by
|
| 41 |
+
i_item_id
|
| 42 |
+
,i_item_desc
|
| 43 |
+
,s_store_id
|
| 44 |
+
,s_store_name
|
| 45 |
+
limit 100;
|
TPC-DS/queries/query26.sql
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select i_item_id,
|
| 2 |
+
avg(cs_quantity) agg1,
|
| 3 |
+
avg(cs_list_price) agg2,
|
| 4 |
+
avg(cs_coupon_amt) agg3,
|
| 5 |
+
avg(cs_sales_price) agg4
|
| 6 |
+
from catalog_sales, customer_demographics, date_dim, item, promotion
|
| 7 |
+
where cs_sold_date_sk = d_date_sk and
|
| 8 |
+
cs_item_sk = i_item_sk and
|
| 9 |
+
cs_bill_cdemo_sk = cd_demo_sk and
|
| 10 |
+
cs_promo_sk = p_promo_sk and
|
| 11 |
+
cd_gender = 'F' and
|
| 12 |
+
cd_marital_status = 'W' and
|
| 13 |
+
cd_education_status = 'Primary' and
|
| 14 |
+
(p_channel_email = 'N' or p_channel_event = 'N') and
|
| 15 |
+
d_year = 1998
|
| 16 |
+
group by i_item_id
|
| 17 |
+
order by i_item_id
|
| 18 |
+
limit 100;
|
TPC-DS/queries/query27.sql
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select i_item_id,
|
| 2 |
+
s_state, grouping(s_state) g_state,
|
| 3 |
+
avg(ss_quantity) agg1,
|
| 4 |
+
avg(ss_list_price) agg2,
|
| 5 |
+
avg(ss_coupon_amt) agg3,
|
| 6 |
+
avg(ss_sales_price) agg4
|
| 7 |
+
from store_sales, customer_demographics, date_dim, store, item
|
| 8 |
+
where ss_sold_date_sk = d_date_sk and
|
| 9 |
+
ss_item_sk = i_item_sk and
|
| 10 |
+
ss_store_sk = s_store_sk and
|
| 11 |
+
ss_cdemo_sk = cd_demo_sk and
|
| 12 |
+
cd_gender = 'F' and
|
| 13 |
+
cd_marital_status = 'W' and
|
| 14 |
+
cd_education_status = 'Primary' and
|
| 15 |
+
d_year = 1998 and
|
| 16 |
+
s_state in ('TN','TN', 'TN', 'TN', 'TN', 'TN')
|
| 17 |
+
group by rollup (i_item_id, s_state)
|
| 18 |
+
order by i_item_id
|
| 19 |
+
,s_state
|
| 20 |
+
limit 100;
|
TPC-DS/queries/query28.sql
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select *
|
| 2 |
+
from (select avg(ss_list_price) B1_LP
|
| 3 |
+
,count(ss_list_price) B1_CNT
|
| 4 |
+
,count(distinct ss_list_price) B1_CNTD
|
| 5 |
+
from store_sales
|
| 6 |
+
where ss_quantity between 0 and 5
|
| 7 |
+
and (ss_list_price between 11 and 11+10
|
| 8 |
+
or ss_coupon_amt between 460 and 460+1000
|
| 9 |
+
or ss_wholesale_cost between 14 and 14+20)) B1,
|
| 10 |
+
(select avg(ss_list_price) B2_LP
|
| 11 |
+
,count(ss_list_price) B2_CNT
|
| 12 |
+
,count(distinct ss_list_price) B2_CNTD
|
| 13 |
+
from store_sales
|
| 14 |
+
where ss_quantity between 6 and 10
|
| 15 |
+
and (ss_list_price between 91 and 91+10
|
| 16 |
+
or ss_coupon_amt between 1430 and 1430+1000
|
| 17 |
+
or ss_wholesale_cost between 32 and 32+20)) B2,
|
| 18 |
+
(select avg(ss_list_price) B3_LP
|
| 19 |
+
,count(ss_list_price) B3_CNT
|
| 20 |
+
,count(distinct ss_list_price) B3_CNTD
|
| 21 |
+
from store_sales
|
| 22 |
+
where ss_quantity between 11 and 15
|
| 23 |
+
and (ss_list_price between 66 and 66+10
|
| 24 |
+
or ss_coupon_amt between 920 and 920+1000
|
| 25 |
+
or ss_wholesale_cost between 4 and 4+20)) B3,
|
| 26 |
+
(select avg(ss_list_price) B4_LP
|
| 27 |
+
,count(ss_list_price) B4_CNT
|
| 28 |
+
,count(distinct ss_list_price) B4_CNTD
|
| 29 |
+
from store_sales
|
| 30 |
+
where ss_quantity between 16 and 20
|
| 31 |
+
and (ss_list_price between 142 and 142+10
|
| 32 |
+
or ss_coupon_amt between 3054 and 3054+1000
|
| 33 |
+
or ss_wholesale_cost between 80 and 80+20)) B4,
|
| 34 |
+
(select avg(ss_list_price) B5_LP
|
| 35 |
+
,count(ss_list_price) B5_CNT
|
| 36 |
+
,count(distinct ss_list_price) B5_CNTD
|
| 37 |
+
from store_sales
|
| 38 |
+
where ss_quantity between 21 and 25
|
| 39 |
+
and (ss_list_price between 135 and 135+10
|
| 40 |
+
or ss_coupon_amt between 14180 and 14180+1000
|
| 41 |
+
or ss_wholesale_cost between 38 and 38+20)) B5,
|
| 42 |
+
(select avg(ss_list_price) B6_LP
|
| 43 |
+
,count(ss_list_price) B6_CNT
|
| 44 |
+
,count(distinct ss_list_price) B6_CNTD
|
| 45 |
+
from store_sales
|
| 46 |
+
where ss_quantity between 26 and 30
|
| 47 |
+
and (ss_list_price between 28 and 28+10
|
| 48 |
+
or ss_coupon_amt between 2513 and 2513+1000
|
| 49 |
+
or ss_wholesale_cost between 42 and 42+20)) B6
|
| 50 |
+
limit 100;
|
TPC-DS/queries/query29.sql
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select
|
| 2 |
+
i_item_id
|
| 3 |
+
,i_item_desc
|
| 4 |
+
,s_store_id
|
| 5 |
+
,s_store_name
|
| 6 |
+
,sum(ss_quantity) as store_sales_quantity
|
| 7 |
+
,sum(sr_return_quantity) as store_returns_quantity
|
| 8 |
+
,sum(cs_quantity) as catalog_sales_quantity
|
| 9 |
+
from
|
| 10 |
+
store_sales
|
| 11 |
+
,store_returns
|
| 12 |
+
,catalog_sales
|
| 13 |
+
,date_dim d1
|
| 14 |
+
,date_dim d2
|
| 15 |
+
,date_dim d3
|
| 16 |
+
,store
|
| 17 |
+
,item
|
| 18 |
+
where
|
| 19 |
+
d1.d_moy = 4
|
| 20 |
+
and d1.d_year = 1999
|
| 21 |
+
and d1.d_date_sk = ss_sold_date_sk
|
| 22 |
+
and i_item_sk = ss_item_sk
|
| 23 |
+
and s_store_sk = ss_store_sk
|
| 24 |
+
and ss_customer_sk = sr_customer_sk
|
| 25 |
+
and ss_item_sk = sr_item_sk
|
| 26 |
+
and ss_ticket_number = sr_ticket_number
|
| 27 |
+
and sr_returned_date_sk = d2.d_date_sk
|
| 28 |
+
and d2.d_moy between 4 and 4 + 3
|
| 29 |
+
and d2.d_year = 1999
|
| 30 |
+
and sr_customer_sk = cs_bill_customer_sk
|
| 31 |
+
and sr_item_sk = cs_item_sk
|
| 32 |
+
and cs_sold_date_sk = d3.d_date_sk
|
| 33 |
+
and d3.d_year in (1999,1999+1,1999+2)
|
| 34 |
+
group by
|
| 35 |
+
i_item_id
|
| 36 |
+
,i_item_desc
|
| 37 |
+
,s_store_id
|
| 38 |
+
,s_store_name
|
| 39 |
+
order by
|
| 40 |
+
i_item_id
|
| 41 |
+
,i_item_desc
|
| 42 |
+
,s_store_id
|
| 43 |
+
,s_store_name
|
| 44 |
+
limit 100;
|
TPC-DS/queries/query3.sql
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
select dt.d_year
|
| 2 |
+
,item.i_brand_id brand_id
|
| 3 |
+
,item.i_brand brand
|
| 4 |
+
,sum(ss_ext_sales_price) sum_agg
|
| 5 |
+
from date_dim dt
|
| 6 |
+
,store_sales
|
| 7 |
+
,item
|
| 8 |
+
where dt.d_date_sk = store_sales.ss_sold_date_sk
|
| 9 |
+
and store_sales.ss_item_sk = item.i_item_sk
|
| 10 |
+
and item.i_manufact_id = 436
|
| 11 |
+
and dt.d_moy=12
|
| 12 |
+
group by dt.d_year
|
| 13 |
+
,item.i_brand
|
| 14 |
+
,item.i_brand_id
|
| 15 |
+
order by dt.d_year
|
| 16 |
+
,sum_agg desc
|
| 17 |
+
,brand_id
|
| 18 |
+
limit 100;
|
TPC-DS/queries/query30.sql
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
with customer_total_return as
|
| 2 |
+
(select wr_returning_customer_sk as ctr_customer_sk
|
| 3 |
+
,ca_state as ctr_state,
|
| 4 |
+
sum(wr_return_amt) as ctr_total_return
|
| 5 |
+
from web_returns
|
| 6 |
+
,date_dim
|
| 7 |
+
,customer_address
|
| 8 |
+
where wr_returned_date_sk = d_date_sk
|
| 9 |
+
and d_year =2002
|
| 10 |
+
and wr_returning_addr_sk = ca_address_sk
|
| 11 |
+
group by wr_returning_customer_sk
|
| 12 |
+
,ca_state)
|
| 13 |
+
select c_customer_id,c_salutation,c_first_name,c_last_name,c_preferred_cust_flag
|
| 14 |
+
,c_birth_day,c_birth_month,c_birth_year,c_birth_country,c_login,c_email_address
|
| 15 |
+
,c_last_review_date_sk,ctr_total_return
|
| 16 |
+
from customer_total_return ctr1
|
| 17 |
+
,customer_address
|
| 18 |
+
,customer
|
| 19 |
+
where ctr1.ctr_total_return > (select avg(ctr_total_return)*1.2
|
| 20 |
+
from customer_total_return ctr2
|
| 21 |
+
where ctr1.ctr_state = ctr2.ctr_state)
|
| 22 |
+
and ca_address_sk = c_current_addr_sk
|
| 23 |
+
and ca_state = 'IL'
|
| 24 |
+
and ctr1.ctr_customer_sk = c_customer_sk
|
| 25 |
+
order by c_customer_id,c_salutation,c_first_name,c_last_name,c_preferred_cust_flag
|
| 26 |
+
,c_birth_day,c_birth_month,c_birth_year,c_birth_country,c_login,c_email_address
|
| 27 |
+
,c_last_review_date_sk,ctr_total_return
|
| 28 |
+
limit 100;
|