[root@redflag11012501 ~]# /usr/bin/mysql-ib
Welcome to the MySQL monitor.Commands end with ; or \g.
Your MySQL connection id is 8
Server version: 5.1.40-log build number (revision)=IB_3.4.2_DPN128_9237(iee_eval - commercial)
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use tpch;
Database changed
mysql> source /user1/app/oradata/tpch_fix_up.sql
PROMPT set to '1'
+--------------+--------------+-------------+-----------------+-------------------+-----------------+-----------+--------------+----
------+-------------+
| L_RETURNFLAG | L_LINESTATUS | SUM_QTY | SUM_BASE_PRICE| SUM_DISC_PRICE| SUM_CHARGE| AVG_QTY | AVG_PRICE| AVG
_DISC | COUNT_ORDER |
+--------------+--------------+-------------+-----------------+-------------------+-----------------+-----------+--------------+----
------+-------------+
| A
| F
| 37734107.00 |56586554400.73 |53758257134.8700 |55909065222.82 | 25.522006 | 38273.129735 | 0.0
49985 | 1478493 |
| N
| F
| 991417.00 | 1487504710.38 | 1413082168.0541 | 1469649223.19 | 25.516472 | 38284.467761 | 0.0
50093 | 38854 |
| N
| O
| 73477184.00 | 110203196620.51 | 104694637634.7276 | 108886216147.03 | 25.502542 | 38249.446708 | 0.0
49996 | 2881171 |
| R
| F
| 37719753.00 |56568041380.90 |53741292684.6040 |55889619119.83 | 25.505794 | 38250.854626 | 0.0
50009 | 1478870 |
+--------------+--------------+-------------+-----------------+-------------------+-----------------+-----------+--------------+----
------+-------------+
4 rows in set (24.13 sec)
PROMPT set to '2B2'
+-----------+--------------------+--------------+-----------+----------------+------------------------------------------+-----------
------+-----------------------------------------------------------------------------------------------------+
| S_ACCTBAL | S_NAME
| N_NAME | P_PARTKEY | P_MFGR | S_ADDRESS
| S_PHONE
| S_COMMENT
|
+-----------+--------------------+--------------+-----------+----------------+------------------------------------------+-----------
------+-----------------------------------------------------------------------------------------------------+
| 9977.32 | Supplier#000007895 | EGYPT|140352 | Manufacturer#2 | NYl,i8UhxTykLxGJ2voIRn20Ugk1KTzz | 14-559-808
-3306 | mptotes near the quickly sp
|
| 9956.34 | Supplier#000005108 | IRAN | 27601 | Manufacturer#3 | d3PLCdpPP3uE4GzbbAh4bWmU 7ecOifL9e1mNnzG | 20-842-882
-7047 | ronic accounts. carefully bold accounts sleep beyond
|
| 9956.34 | Supplier#000005108 | IRAN |170073 | Manufacturer#4 | d3PLCdpPP3uE4GzbbAh4bWmU 7ecOifL9e1mNnzG | 20-842-882
-7047 | ronic accounts. carefully bold accounts sleep beyond
|
| 9947.70 | Supplier#000009151 | IRAN | 54140 | Manufacturer#3 |25lLOrzuKU8mG0xGP2SLkfo6Kfew7Kb4YuRv| 20-492-750
-3318 | s. quickly unusual requests thrash furiou
|
| 9895.96 | Supplier#000002783 | IRAQ | 20280 | Manufacturer#4 | rc rAYfUYEGG95YWvE
| 21-174-613
-1836 | ronic foxes cajole slyly against the furiously regular platelets. slyly regular platele
|
| 9895.96 | Supplier#000002783 | IRAQ | 32782 | Manufacturer#4 | rc rAYfUYEGG95YWvE
| 21-174-613
-1836 | ronic foxes cajole slyly against the furiously regular platelets. slyly regular platele
|
| 9895.14 | Supplier#000006716 | JORDAN | 86715 | Manufacturer#3 | BJaPDjafIrQQlD4cP
| 23-153-259
-3388 | ng requests against the slyly specia
|
| 9889.10 | Supplier#000007220 | EGYPT|9719 | Manufacturer#4 | ,7dILJeEhKrHly2nD2K7BXNrioZ2w
| 14-575-445
-3713 | ccording to the final realms are furiously unus
|
| 9806.52 | Supplier#000005276 | IRAQ | 57760 | Manufacturer#1 | inh0KOhRfLM7WRhdRNvJJDQx
| 21-834-496
-7360 | the slyly unusual theodolites; carefully even accounts use slyly. sl
|
| 9775.37 | Supplier#000007245 | IRAQ | 99717 | Manufacturer#5 | 5VOUnvxlJeOJ
| 21-663-724
-2985 | ic deposits about the slyly bold requests
|
| 9754.60 | Supplier#000000133 | EGYPT|137619 | Manufacturer#5 | QT,semYwdx
| 14-731-952
-5158 | he quickly express instructions
|
| 9714.60 | Supplier#000007317 | EGYPT| 69798 | Manufacturer#1 | nJGsPl2ruoq4Ydtv0fwWG385eOFV6VUokbCZ | 14-666-351
-2592 | ons integrate furiously? slyly ironic requests sl
|
| 9656.61 | Supplier#000004286 | IRAN |174285 | Manufacturer#4 | OsUz6fvS3Y8mGw2rdWmjTh0nEonjaoUduz | 20-857-469
-4413 | uthlessly closely final requests. blithely even packages sublate quick
|
| 9623.30 | Supplier#000003166 | IRAN |115632 | Manufacturer#2 | xdb6MfO7FcPZtB9
| 20-417-589
-8306 | uests cajole slyly around the final, express foxes. finall
|
| 9598.00 | Supplier#000005347 | SAUDI ARABIA |2846 | Manufacturer#2 | R UJfAVRhAKjgH
| 30-213-668
-2389 | ites. packages cajole about the furiously regular accounts. blithely unusual packages are dogg|
| 9577.42 | Supplier#000008123 | JORDAN |118122 | Manufacturer#2 | RVD,e4jMiFVi4gCAa0oH,enjjIBuV1LL1Wzm | 23-305-520
-8530 |fluffily ironic requests boost blithely quickly ironic fo
|
| 9535.76 | Supplier#000008458 | EGYPT|148457 | Manufacturer#5 | rihX1QITvV1JaC
| 14-822-547
-8952 |foxes boost furiously across the slyly express excuses. quickly ex
|
| 9535.76 | Supplier#000008458 | EGYPT|158457 | Manufacturer#5 | rihX1QITvV1JaC
| 14-822-547
-8952 |foxes boost furiously across the slyly express excuses. quickly ex
|
| 9513.31 | Supplier#000004163 | SAUDI ARABIA |101652 | Manufacturer#2 | 2VnQypC7pJPJRu6HzYRg7nAvhzckcYAQFbI| 30-544-852
-3772 | he regular requests. blithely final
|
| 9468.49 | Supplier#000006023 | JORDAN | 81006 | Manufacturer#3 | QzUNYNJKE1
| 23-467-863
-9965 | efully slyly pending hockey players. instructions nag blithely sp
|
| 9449.33 | Supplier#000009349 | IRAQ |116837 | Manufacturer#3 | oJIlkL3FqiKkYqmmIeu18HzDE0WnPpoG3R8bS| 21-197-322
-4895 | al deposits. permanent requests boost according to the special, regular ide
|
| 9445.99 | Supplier#000004274 | SAUDI ARABIA |199235 | Manufacturer#2 | VpVZ1PbArLtxZ1ryS,9 j5dzYgTC0Dy0 DWM | 30-322-776
-7259 | packages boost carefully across the carefully special sheaves. c
|
| 9444.33 | Supplier#000008145 | EGYPT|173110 | Manufacturer#1 | M7SygdLkUNK7XTG
| 14-525-780
-1695 | beans. furiously final platelets cajole quickly. furio
|
| 9324.00 | Supplier#000002707 | SAUDI ARABIA | 47698 | Manufacturer#4 | xMXO5KpIsdXt,mJ5
| 30-127-723
-4248 | tect. carefully regular deposit
|
| 9318.43 | Supplier#000000627 | IRAQ |158111 | Manufacturer#2 | k6W51QENyVPe4 6z0ajEMTkEA
| 21-632-574
-8701 | l instructions serve slyly regular deposits. carefully busy excuses cajole quickly pending d|
| 9311.16 | Supplier#000002401 | JORDAN |189882 | Manufacturer#4 | MZoiVRB8uOVheBJmKYKScBpZkLYSOe2wQIoDsIX| 23-883-970
-4369 | encies along the even deposits haggle regul
|
| 9284.57 | Supplier#000009781 | EGYPT| 87272 | Manufacturer#5 | 49NAd1iDiY4,
| 14-410-636
-4312 | its. ironic pinto beans are blithely. express depths use caref
|
| 9284.57 | Supplier#000009781 | EGYPT|197261 | Manufacturer#4 | 49NAd1iDiY4,
| 14-410-636
-4312 | its. ironic pinto beans are blithely. express depths use caref
|
| 9243.92 | Supplier#000007633 | IRAQ |147632 | Manufacturer#1 |rsl6lh6tEzOKpo6r8ph3A1OuqK zEOBs5Y7l| 21-473-187
-3309 | g ideas kindle slyly? carefully ironic deposits boost furiously special asymptotes. furiousl|
| 9214.58 | Supplier#000005477 | IRAQ | 75476 | Manufacturer#1 | fOzXmCgwtUn E2O8R8NXiDYLibNr8ThjiTJXJZ | 21-195-969
-7717 | ounts against the express ideas use slyly after the
|
| 9093.11 | Supplier#000003063 | SAUDI ARABIA |123062 | Manufacturer#2 | kBUdB0mUgc HX2EzKnh
| 30-532-979
-8127 |the slyly unusual accounts affix slyly bet
|
| 9060.44 | Supplier#000002224 | JORDAN | 14720 | Manufacturer#1 | 08hDtcJ8EUZ0nMxMrZiEiNH9RM08gIqt0DAst| 23-714-590
-7668 | accounts sleep. express, express packages sleep fluffily at the quickly ironic foxes. slyly unusu |
| 9050.12 | Supplier#000000504 | IRAN |135477 | Manufacturer#1 | P8k2mjRiRUFCJfxw7KrEdRpNNQPDxiI
| 20-322-544
-5770 | y final pinto beans. blithely regular instructions wake abo
|
| 8924.44 | Supplier#000001374 | EGYPT|136347 | Manufacturer#1 | uHLiKIkGMCK39DBiPLySDhM1
| 14-105-774
-9435 | pecial deposits along the slyly unusual excuses wake ironically
|
| 8906.10 | Supplier#000007076 | EGYPT|184557 | Manufacturer#4 | DjLJ,yEKffpT,EKIbM6ZziTtzvCbE
| 14-929-221
-6504 | nusual requests solve furiously across the carefully regular excuses. requests are quickly c|
| 8876.42 | Supplier#000004468 | IRAN |126931 | Manufacturer#1 | QxE2rvpMCkB,nto33X7a0n0FFV
| 20-536-285
-9136 | encies. slyly pending ideas boost blithely.
|
| 8855.28 | Supplier#000003075 | SAUDI ARABIA | 50569 | Manufacturer#1 | 4r1HsHGBEH88qIxsG8Dr9
| 30-700-119
-4521 | packages. carefully unusual requests wak
|
| 8843.88 | Supplier#000000218 | IRAN |155187 | Manufacturer#3 | c7CBVglgEM0XU,8bOU76GjEr5L5EXu9Uxa7U | 20-180-767
-8426 |fluffily. furiously regular instructions sleep slyly furiously regular packa
|
| 8820.62 | Supplier#000005117 | IRAN | 42612 | Manufacturer#1 | zlBi4yswhLa1yv54Mrurx6Ldl2EWiegBiH | 20-400-529
-7218 | wind: slyly special deposits affix furiously behind the quickly ironic requests. fluffily express a |
| 8797.73 | Supplier#000002322 | SAUDI ARABIA | 14818 | Manufacturer#4 | ijvybmLZ9eaW7,u4TXUiW5AxLeEQj2GpnHC2Rj | 30-373-325
-3862 | slyly about the furiously regular accounts. blithely
|
| 8797.73 | Supplier#000002322 | SAUDI ARABIA |117299 | Manufacturer#2 | ijvybmLZ9eaW7,u4TXUiW5AxLeEQj2GpnHC2Rj | 30-373-325
-3862 | slyly about the furiously regular accounts. blithely
|
| 8795.09 | Supplier#000008261 | JORDAN |130721 | Manufacturer#5 | OE8VCFunRj1dNf
| 23-540-992
-1108 | ent accounts boost fluffily pinto beans. requests detect carefully. even, ironic accoun
|
| 8788.46 | Supplier#000003437 | IRAN | 88420 | Manufacturer#4 | JfgZDO9fsP4ljfzsi,s7431Ld3A7zXtHfrF74| 20-547-871
-1712 | ickly unusual dependencies. carefully regular dolphins ha
|
| 8717.99 | Supplier#000009405 | IRAQ | 66898 | Manufacturer#4 | IY1x8B2MaqzWuk1KzA6FJua
| 21-778-728
-5704 | al packages. slyly even theodolites doubt blithely. slyly regular asymptotes a
|
| 8703.31 | Supplier#000008176 | IRAQ |165659 | Manufacturer#5 | cQBg1Bxn5LxxR h ZnF SCIZO 0XZpEsP0vkfc | 21-209-627
-8129 | e carefully even packages detect against the final, unusual ideas. blithely bold
|
| 8687.00 | Supplier#000005896 | SAUDI ARABIA |145895 | Manufacturer#5 | NwV,QYlRuz
| 30-167-592
-8264 | deposits use slyly furiously bold packages; furious
|
| 8659.37 | Supplier#000005604 | IRAN | 43099 | Manufacturer#1 | RBi1ab0lYokQsmhcPLIuKOlJ3GX0xZbYX| 20-836-715
-9065 | pecial asymptotes? carefully f
|
| 8594.80 | Supplier#000007553 | IRAN | 52542 | Manufacturer#1 | wAU2Lui w9
| 20-663-409
-7956 | old, stealthy accounts are blithely. fluffily final
|
| 8594.80 | Supplier#000007553 | IRAN |165036 | Manufacturer#1 | wAU2Lui w9
| 20-663-409
-7956 | old, stealthy accounts are blithely. fluffily final
|
| 8555.40 | Supplier#000005715 | JORDAN | 30708 | Manufacturer#4 | ZW R6zxZtBFRoeaZtQw8YifUBoqSv16hG| 23-268-174
-1595 | e blithely silent multipliers are
|
| 8553.36 | Supplier#000005418 | IRAN |132904 | Manufacturer#3 | eLGAV8u15ZX2e5pJa GEg8VBKQX9Gi1
| 20-897-164
-8136 | detect carefully ironic theodolites. silently regular packages against
|
| 8525.33 | Supplier#000003234 | SAUDI ARABIA |163233 | Manufacturer#1 | 1916uLszlZz
| 30-583-104
-8386 | eodolites? furiously regular foxes accordin
|
| 8484.29 | Supplier#000008178 | IRAQ |190620 | Manufacturer#5 | Kzuv9PrThE56fWmNR3UtwZAz
| 21-201-455
-3427 | s. ironic, special deposits cajole carefully furiously final requests. pending packages sleep quick |
| 8473.01 | Supplier#000003912 | IRAQ |133911 | Manufacturer#2 | Op7,1zt3MAxs34Qo4O W
| 21-474-809
-6508 | es. regular, brave instructions wa
|
| 8466.50 | Supplier#000000069 | EGYPT| 92541 | Manufacturer#1 | T2Dl9,f97e333eRuMi2z
| 14-491-707
-8310 | ! carefully ironic instructions nag quickly pending requests. fluffily even deposits sleep a|
| 8448.94 | Supplier#000001416 | JORDAN | 73894 | Manufacturer#5 | PYA5L32bQcST4 vGIH,VEEbSIuAxk
| 23-420-251
-7666 | inal deposits. special dependencies boost slyly final ideas. eve
|
| 8433.57 | Supplier#000006569 | SAUDI ARABIA |119035 | Manufacturer#3 | sk5AhyyRnxAczOZ76XvjGU uDEnyHQSVIQ2| 30-561-849
-3346 | os according to the permanent packages snooze bravely fu
|
| 8383.60 | Supplier#000008136 | SAUDI ARABIA |123111 | Manufacturer#4 | kXATyaEZOWdQC7fE43IquuR1HkKV8qx
| 30-268-895
-2611 | er the carefully regular depths. pinto beans detect quickly p
|
| 8377.27 | Supplier#000006837 | EGYPT| 54331 | Manufacturer#3 | vokfcIaDMaf2hG
| 14-530-767
-7768 | unts along the slyly regular instructions detect slyly unusual deposits.
|
| 8351.75 | Supplier#000007495 | IRAQ |124982 | Manufacturer#3 | 3jQQGvfs,5Aryhn0Z
| 21-953-463
-7239 |requests. carefully final accounts after the qui
|
| 8330.85 | Supplier#000006020 | IRAN | 93510 | Manufacturer#1 | U9O4ceIDl0DMRPM0vvsKKj3gzGwNkcUeusC| 20-817-604
-6561 | ly? final packages are blithely ironic ideas. carefully special packages kindle blithely expre|
| 8230.12 | Supplier#000001058 | SAUDI ARABIA |128545 | Manufacturer#4 | fJ8egP,xkLygXGv8bmtc9T1FJ
| 30-496-504
-3341 |requests haggle? regular, regular pinto beans integrate fluffily. dependenc
|
| 8208.02 | Supplier#000006883 | IRAN |111860 | Manufacturer#5 | 7Jow14LNWvnADcfBjCQZuq8AMIuu4e,kf| 20-745-172
-4921 |according to the fluffily pending packages cajole slyly carefully pending accounts. quickly|
| 8199.77 | Supplier#000002357 | SAUDI ARABIA | 27352 | Manufacturer#1 | V8x3JyiEOtAo0w
| 30-139-515
-7766 |dependencies. pending reques
|
| 8193.26 | Supplier#000003057 | IRAN | 98038 | Manufacturer#4 | nI,owTJt24PQXdzm
| 20-976-269
-2335 | aids sleep. carefully regular depths are of the blithely express depo
|
| 8175.17 | Supplier#000003172 | IRAN | 50666 | Manufacturer#1 | 8ngbGS7BQoTDmJyMa5WV9XbaM31u5FAayd2vT3 | 20-834-374
-7746 | ss deposits use furiously after the quickly final sentiments. fluffily ruthless ideas believe regu|
| 8142.90 | Supplier#000008320 | IRAQ | 53309 | Manufacturer#1 | FB TdvQvk36
| 21-388-687
-9284 | accounts wake about the slyly bold platelets. furiously ironic foxes doubt ab
|
| 8136.60 | Supplier#000005721 | SAUDI ARABIA | 85720 | Manufacturer#4 | LXqfP897JYdfIlo dNqHuY4T
| 30-202-248
-8360 | ng requests. carefully regular accounts along the
|
| 8111.40 | Supplier#000007567 | IRAN |195047 | Manufacturer#3 | 7W4k2qEVoBkRehprGliXRSYVOQEh
| 20-377-181
-7435 | gular foxes. silent attainments boost furiousl
|
| 8106.47 | Supplier#000001028 | IRAQ | 21027 | Manufacturer#4 | nOkvPq5WfeN87ASUIgQNKT2U0TUX 4WzZQ3f | 21-570-218
-8213 | riously bold accounts haggle slyly after the blithely u
|
| 8096.36 | Supplier#000002169 | IRAQ | 79661 | Manufacturer#5 | JKBnBaxV,0z4lwgBupYpPWIIaoCPUG | 21-931-513
-1870 | ely permanent pinto beans are above the requests! quickly final pearls are regular, ironic requ |
| 8081.62 | Supplier#000007075 | IRAQ | 99547 | Manufacturer#1 | 52hMohrQKM
| 21-580-554
-9032 | ecial packages. pending accounts grow carefully;
|
| 8075.30 | Supplier#000000513 | EGYPT|120512 | Manufacturer#3 | YMhcTaVkhw0nO9B,
| 14-481-495
-8505 |final requests. slyly final reque
|
| 8045.75 | Supplier#000008529 | SAUDI ARABIA | 48528 | Manufacturer#3 | l4Y,f11TYz7Ph1erL7IM9AXf0poUIrO2OS | 30-791-579
-2088 | xpress deposits are furiously. blithely regular dolphins affix blithely enticingly regular t|
| 8040.16 | Supplier#000001925 | SAUDI ARABIA | 74403 | Manufacturer#3 | Cu5Ub AAdXT
| 30-969-417
-1108 | pending packages across the regular req
|
| 8015.11 | Supplier#000003589 | IRAN |111077 | Manufacturer#1 | SeVq5mliNtWVvH0NmB
| 20-895-735
-3345 | about the bold asymptotes. slyly ironic platelets sleep aga
|
| 8008.36 | Supplier#000003366 | JORDAN |180847 | Manufacturer#4 | iev0jGXt7AL5A9cTl7GCeO0lG8S
| 23-320-193
-4544 |wake carefully pending depths. carefully regular packages cajole idly da
|
| 8007.83 | Supplier#000006266 | JORDAN |111243 | Manufacturer#2 | XWBf5Jd2V5SOurbn11Tt1
| 23-363-445
-7184 | as cajole carefully against the quickly special ac
|
| 7977.48 | Supplier#000001134 | EGYPT| 61133 | Manufacturer#5 | WkRjMQOKvjH4g4RsFZomI9UKUjTw9gq
| 14-183-918
-4545 |alongside of the orbits. pending instr
|
| 7977.48 | Supplier#000001134 | EGYPT| 73612 | Manufacturer#5 | WkRjMQOKvjH4g4RsFZomI9UKUjTw9gq
| 14-183-918
-4545 |alongside of the orbits. pending instr
|
| 7933.97 | Supplier#000002598 | JORDAN |122597 | Manufacturer#1 | tunUZrfZ3bzb0e0vhmhtmp6LR9aC
| 23-511-169
-9974 | nstructions! regular asymptotes wake above the sometimes special accounts. slyly special asympt |
| 7890.01 | Supplier#000006843 | IRAQ |134329 | Manufacturer#4 | JDyLWm,Nn8,Pkfx,9zB,iWgq 4
| 21-443-521
-5425 | al, regular pinto beans sleep furiously above the ironic, even pinto b
|
| 7874.99 | Supplier#000002457 | IRAN |164908 | Manufacturer#1 | iPOyBsGzl,I4 cRkMelt4PRpNzFx9 dkGC1Eu| 20-752-453
-1043 | ing foxes boost slyly finally express theodolites-- even, regular ideas kindle. e
|
| 7832.77 | Supplier#000009693 | IRAQ |144664 | Manufacturer#2 | ,NtpOfxQv JMEv CJZjPvD,YFL
| 21-884-330
-4663 | ly final instructions wake slyly according to the carefully express asymptotes. fluffily regul|
| 7817.89 | Supplier#000006446 | EGYPT|153930 | Manufacturer#4 | zc UqeKpg3W8Y
| 14-901-464
-2207 | ts use fluffily. furiously regular foxes around the
|
| 7809.11 | Supplier#000007873 | IRAQ |105362 | Manufacturer#2 | nqHeHayWL6GV4yrpCaUhESHiWlB75HXGxeP7Z| 21-910-520
-4230 | even ideas wake quickly across the accounts. final accounts w
|
| 7789.12 | Supplier#000006421 | EGYPT|168872 | Manufacturer#2 | AwhpC5y15ua6plU8rtMwx
| 14-514-734
-7640 | ial dependencies; regular pinto beans use after the furiously bold somas. idly dogged packages ha |
| 7788.45 | Supplier#000000413 | IRAQ | 412 | Manufacturer#1 | GAufsRQQE P,dVCZWIMEUAsm,7
| 21-875-836
-5585 |the fluffily even pinto beans. closely regular asympt
|
| 7751.80 | Supplier#000007392 | IRAN |124879 | Manufacturer#3 | JeeScPASUUcJFQbjB5BVwXb8De3VTYddzkGwBv | 20-928-350
-9877 | ular accounts detect carefully along the unusual pinto beans. final, special pla
|
| 7741.10 | Supplier#000001059 | IRAN | 36052 | Manufacturer#2 | 4tBenOMokWbWVRB8i8HwENeO cQjM9 | 20-620-710
-8984 |to the carefully special courts.
|
| 7719.51 | Supplier#000005848 | SAUDI ARABIA |163331 | Manufacturer#2 | xxheHzTSroSqvL,Jt4bni7n1
| 30-144-868
-2228 | y even epitaphs haggle fluffily along the blithely regular r
|
| 7685.78 | Supplier#000002738 | IRAQ |115204 | Manufacturer#4 | uc,zYilzDQIkEmH8dWYJE9M681TmlEPsdFCtB6NY | 21-215-533
-3433 | y even dinos sleep carefully final, final deposits. regular accounts wake sl
|
| 7656.34 | Supplier#000006909 | SAUDI ARABIA |189354 | Manufacturer#2 | f9A W4Urm31d RTFKjt1,V3
| 30-189-225
-4097 | ffily after the thinly regular instructions. quickly final deposits against th
|
| 7632.13 | Supplier#000007720 | EGYPT|122695 | Manufacturer#2 | ERjXnwOJ1vSklF,yOm66
| 14-733-939
-9211 |against the even packages. slyly special requests sleep. regular f
|
| 7631.14 | Supplier#000006814 | EGYPT|4313 | Manufacturer#4 | 83A GGXkYiww58
| 14-312-658
-3824 | zzle among the blithely sly packages. pending excuses pri
|
| 7606.44 | Supplier#000001236 | IRAN |138722 | Manufacturer#5 | qpYv0hQmP8aiXnIAm1o
| 20-247-189
-6514 | s; carefully unusual deposits affix quickly. silent cou
|
| 7601.35 | Supplier#000008443 | JORDAN |128442 | Manufacturer#2 | 4NVFgmnKNRe
| 23-767-598
-9866 | re quickly above the express,
|
| 7591.79 | Supplier#000009723 | JORDAN | 77215 | Manufacturer#5 | Q1CkkpDdlLOpCJiV,zIf,Mv86otWhxj7slGc | 23-710-907
-3873 | e fluffily even instructions. packages impress enticingly.
|
| 7570.01 | Supplier#000008141 | IRAN |100610 | Manufacturer#1 | u4oIjr7XbM
| 20-777-745
-4221 | ckages snooze about the furiously regular accounts. carefully regular epitaphs mig
|
| 7568.83 | Supplier#000003013 | EGYPT|3012 | Manufacturer#5 | LPjXyEI0Vb7,
| 14-108-315
-4034 | gside of the slyly special braids. quickly even accounts cajole amo
|
+-----------+--------------------+--------------+-----------+----------------+------------------------------------------+-----------
------+-----------------------------------------------------------------------------------------------------+
100 rows in set (1.05 sec)
PROMPT set to '4B'
+-----------------+-------------+
| O_ORDERPRIORITY | ORDER_COUNT |
+-----------------+-------------+
| 1-URGENT| 10775 |
| 2-HIGH
| 10569 |
| 3-MEDIUM| 10352 |
| 4-NOT SPECIFIED | 10686 |
| 5-LOW | 10647 |
+-----------------+-------------+
5 rows in set (3.17 sec)
PROMPT set to '4C'
+-----------------+-------------+
| O_ORDERPRIORITY | ORDER_COUNT |
+-----------------+-------------+
| 1-URGENT| 10775 |
| 2-HIGH
| 10569 |
| 3-MEDIUM| 10352 |
| 4-NOT SPECIFIED | 10686 |
| 5-LOW | 10647 |
+-----------------+-------------+
5 rows in set (5.52 sec)
PROMPT set to '10B'
+-----------+--------------------+-------------+-----------+----------------+---------------------------------------+---------------
--+----------------------------------------------------------------------------------------------------------------------+
| C_CUSTKEY | C_NAME
| REVENUE | C_ACCTBAL | N_NAME | C_ADDRESS
| C_PHONE
| C_COMMENT
|
+-----------+--------------------+-------------+-----------+----------------+---------------------------------------+---------------
--+----------------------------------------------------------------------------------------------------------------------+
|108763 | Customer#000108763 | 683768.0205 | -180.10 | UNITED KINGDOM | vco1AzEQTcuYKgyikRysXR4B3m7O54| 33-420-572-902
9 | he unusual accounts sleep after the pending deposits. fluffily final deposits wake blithe
|
| 25501 | Customer#000025501 | 668810.6109 | 7725.04 | ETHIOPIA | W556MXuoiaYCCZamJI,Rn0B4ACUGdkQ8DZ| 15-874-808-679
3 | he pending instructions wake carefully at the pinto beans. regular, final instructions along the slyly fina
|
|101998 | Customer#000101998 | 666019.9772 | 3790.89 | UNITED KINGDOM | 01c9CILnNtfOQYmZj
| 33-593-865-637
8 | ress foxes wake slyly after the bold excuses. ironic platelets are furiously carefully bold theodolites
|
| 856 | Customer#000000856 | 659357.0470 | 6988.55 | MOROCCO| X4U7LH4YtDzephie
| 25-336-316-964
1 | y bold pinto beans according to the pending foxes
|
| 78790 | Customer#000078790 | 641913.6405 | 2241.94 | ARGENTINA| Ub1PPvbnz8987sZ,HDj89yWAszt,PH| 11-834-965-840
1 | ly fluffily special deposits.
|
| 20087 | Customer#000020087 | 620624.3536 | 9948.25 | ETHIOPIA | rr3wyEfj flMHU5j7asOPP1 C hjrBbdByb5o | 15-880-746-162
0 | ets are along the carefully pending theodolites. evenly ironic requests lose above the blithel
|
|147727 | Customer#000147727 | 606904.6144 | 4288.02 | MOROCCO| dFZ WzKV2HpCrgN3V44Uj
| 25-984-579-573
5 | ackages thrash fluffily about the carefully silent
|
|142015 | Customer#000142015 | 594395.1371 | 3841.67 | UNITED KINGDOM | fr1cn7EjamsnfHHafh
| 33-699-169-532
8 | the bold deposits. slyly regular accounts ou
|
| 736 | Customer#000000736 | 594224.5810 | 9114.68 | ARGENTINA| zQNs5e2aFcVY8MigFQEBtoCaQ9e | 11-617-726-203
9 |the deposits. blithely regular asymptotes boost q
|
| 87613 | Customer#000087613 | 590153.5102 | 6474.97 | VIETNAM| KbJdnGc8rkwj
| 31-893-156-539
8 | refully. slyly special excuses about the bold deposits wake carefully against the special dependencies. slyly bold a |
| 39922 | Customer#000039922 | 584878.1134 | 7321.11 | GERMANY| Zgy4s50l2GKN4pLDPBU8m342gIw6R | 17-147-757-803
6 | y final requests. furiously final foxes cajole blithely special platelets. f
|
| 60838 | Customer#000060838 | 582559.0609 | 2454.77 | BRAZIL | 64EaJ5vMAHWJlBOxJklpNc2RJiWE
| 12-913-494-981
3 |need to boost against the slyly regular account
|
| 13753 | Customer#000013753 | 578238.1222 | 4862.56 | UNITED KINGDOM | SowrFhCvmtiq,7ZQAct v
| 33-760-731-583
2 | he express excuses cajole regular, busy accounts.
|
| 47221 | Customer#000047221 | 573866.2092 | 6385.10 | INDIA
| Rp4p8Q1tjKLv8Ht H6GLd,tG75TX
| 18-637-949-446
2 | urts. quickly pending packages according to the slyly ironic packages boost carefully idle, ironi
|
|108598 | Customer#000108598 | 569265.4847 | 7074.14 | CANADA | fDuJgSmkItSWWXCcSzvOnjK2
| 13-503-222-933
8 | uriously final deposits. unusual, silent accounts against the
|
|142549 | Customer#000142549 | 563537.2368 | 5085.99 | INDONESIA| ChqEoK43OysjdHbtKCp6dKqjNyvvi9| 19-955-562-239
8 | sleep pending courts. ironic deposits against the carefully unusual platelets cajole carefully express accounts. |
| 50476 | Customer#000050476 | 563448.8844 | 7474.49 | MOZAMBIQUE | 0iTYc0iW6eEnNUXE9uqGt0OzPV UC T,| 26-106-316-556
3 | y slyly even requests. ironic theodolites could use about the bl
|
|139823 | Customer#000139823 | 560677.1872 | 5023.03 | INDIA
| qIk4KPwtqobzgXc
| 18-166-780-610
1 | aggle. fluffily bold requests are doggedly for the slyly final packages? bravely even theodolites sleep fluff|
|113839 | Customer#000113839 | 559674.0334 | 8208.46 | GERMANY| 6i3 GKW3q8B1VZOd6RSc2nlvt
| 17-336-257-935
9 | nd furiously daring accounts. slyly bold requests nod after the requests. pending as
|
| 78658 | Customer#000078658 | 559169.0370 |-91.97 | SAUDI ARABIA | iLUNk2GNs30u0,Y
| 30-934-156-683
7 | -- carefully ironic accounts use fluffily silent platelets. silently regular
|
+-----------+--------------------+-------------+-----------+----------------+---------------------------------------+---------------
--+----------------------------------------------------------------------------------------------------------------------+
20 rows in set (5.80 sec)
PROMPT set to '13C'
+---------+----------+
| C_COUNT | CUSTDIST |
+---------+----------+
| 0 |50005 |
| 9 | 6656 |
|10 | 6534 |
|11 | 6002 |
| 8 | 5958 |
|12 | 5650 |
|13 | 5043 |
|19 | 4785 |
| 7 | 4700 |
|18 | 4575 |
|17 | 4560 |
|20 | 4508 |
|15 | 4497 |
|14 | 4439 |
|16 | 4312 |
|21 | 4201 |
|22 | 3610 |
| 6 | 3300 |
|23 | 3184 |
|24 | 2697 |
|25 | 2081 |
| 5 | 1970 |
|26 | 1584 |
|27 | 1174 |
| 4 | 1025 |
|28 |879 |
|29 |576 |
| 3 |422 |
|30 |368 |
|31 |221 |
|32 |141 |
| 2 |136 |
|33 | 75 |
|34 | 51 |
|35 | 34 |
| 1 | 17 |
|36 | 13 |
|38 |5 |
|37 |5 |
|40 |4 |
|41 |2 |
|39 |1 |
+---------+----------+
42 rows in set (3.21 sec)
PROMPT set to '17B'
+------------+
| AVG_YEARLY |
+------------+
| NULL |
+------------+
1 row in set (1.47 sec)
PROMPT set to '17C'
+------------+
| AVG_YEARLY |
+------------+
| NULL |
+------------+
1 row in set (1.45 sec)
PROMPT set to '18C'
ERROR 1248 (42000): Every derived table must have its own alias
PROMPT set to '20B'
+--------------------+------------------------------------------+
| S_NAME
| S_ADDRESS
|
+--------------------+------------------------------------------+
| Supplier#000000042 | 1Y5lwEgpe3j2vbUBYj3SwLhK62JlwEMtDC |
| Supplier#000000146 | rBDNgCr04x0sfdzD5,gFOutCiG2
|
| Supplier#000000199 | k,8F8FGDuN 3udblO
|
| Supplier#000000311 | yjGDnCKi4Wmtim H3n9p
|
| Supplier#000000367 | E Sv9brQVf43Mzz
|
| Supplier#000000383 | pGEPbc70IKUZuTiTaigKuizjt7Y5oUoDL3Bq1|
| Supplier#000000531 | fN0ix827c112YajETqxxuofrfl7v VndWB38n|
| Supplier#000000546 | YznQGwWvZbNA0O9ZV
|
| Supplier#000000680 | UhvDfdEfJh,Qbe7VZb8uSGO2TU 0jEa6nXZXE|
| Supplier#000000799 | jwFN7ZB3T9sMF
|
| Supplier#000000917 | tMr5motk0IFyIXJDwCr98QO5
|
| Supplier#000000986 | tKoJtnykz0R39BWTgglt0rZxT
|
| Supplier#000001013 | riRcntps4KEDtYScjpMIWeYF6mNnR
|
| Supplier#000001130 | gaw3h9cwNJTDhzgND3Ivew9mM
|
| Supplier#000001148 | yaK1tZuQ8Oqhnll1Doit6kM07LZhmrLw |
| Supplier#000001419 | 9wbge8NxXVd5LbIlNA,DjR0sjasMyxC7oANgSQw|
| Supplier#000001526 | bkKFtZanK27y,IzY
|
| Supplier#000001551 | eUU5Yh2vBpBKaw93MkAui6rLrkjbs9 |
| Supplier#000001666 | z4t8jiCjahT7K E8l
|
| Supplier#000001768 | Ug4jMAaK46J31Z5GFO7x
|
| Supplier#000001867 | YvNHyMcy1wYi3XN
|
| Supplier#000001872 | sGWaZk2cZDYyNazJ
|
| Supplier#000001921 | pT5jR2mpIfa4CqqHdM82Vu,Oc2A9 EUZof |
| Supplier#000001929 | 9HSveX9CpjMcvUFhEeLuaGQlb4zm2kg
|
| Supplier#000001962 | UZAdG60BMZRxwNh7dmXB N9GMgGVnW |
| Supplier#000002201 | qijUKP86TLnIMjrL
|
| Supplier#000002289 | ZNrbGM9zL7vKnvuRIOj0gY9NhEiL
|
| Supplier#000002294 | dcAWrWvBzWRQ8j2lUMRKol3Eq,4xFipvykrHfu |
| Supplier#000002338 | Zr2hwHQYmqjAq95y
|
| Supplier#000002345 | WoJC49Pg7s qEgSIeXGPePT
|
| Supplier#000002352 | 4LfoHUZjgjEbAKw TgdKcgOc4D4uCYw
|
| Supplier#000002392 | xsd6wFsVPZcnWwU1365R
|
| Supplier#000002468 | ppFYJjhM83qk
|
| Supplier#000002470 | o716ZrDQeuT17Ba GW,tcQGh0Avqd y
|
| Supplier#000002526 | 8JWRGgabYBoXKYaQlmUt28W
|
| Supplier#000002555 | GxjCAMEHTP4H
|
| Supplier#000002572 | UjDzDmFXJ bXgX UMB
|
| Supplier#000002847 | kKqzzQNY2FhfJMLQmDAh5p
|
| Supplier#000002848 | yxgyfj4kxIoLMs7kSiemccTW3N 4xxX7mT |
| Supplier#000002916 | 9kNV5lg5OgZp1EmDg7LJ0lu2tZCpFPyOeKFO |
| Supplier#000002920 | Je2a8bszf3L
|
| Supplier#000002987 | aVQPPTYTTw0VYSWfa8y
|
| Supplier#000003037 | aBPbT4XfxDheA
|
| Supplier#000003070 | F0sjr17IwdKH9B7DOZXOnM hjhOsfHy9okdsk|
| Supplier#000003080 | V3DF4DVnZlS4xVJbx049Hr3 WJRr1UroXUCJAJv|
| Supplier#000003167 | G6SS7LfQCuN1VfJ
|
| Supplier#000003179 | SsOOjSkuc957RKFt
|
| Supplier#000003182 | UCmH8hT3ESeCHU,2aIN8YxzLWvhE2c |
| Supplier#000003255 | 4TB2q kbKyVY3
|
| Supplier#000003256 | 0G6XBim3XM8Pfjh510
|
| Supplier#000003431 | r4KMmARJ,uRFYDNdHWqz,biMQqT8vxgQjlTJE2 |
| Supplier#000003478 | mRuc7TmfUuV4YK93HhggTA4lyhoQDbEEO|
| Supplier#000003498 | BsM RxD9QN6nJPzSJM
|
| Supplier#000003543 | 0E6Hi3yS3XtRbHrTG5sL
|
| Supplier#000003605 | xdRVBnukNC3QIuf,,1lbmd800P5 Gx |
| Supplier#000003610 | YjjToWCrnEe5en8pIVN92h nq1nOPyMbwroosJw|
| Supplier#000003712 | O8KIWj0KQCJ8PagC2q18
|
| Supplier#000003745 | h8Y,54J1eu9nBAQQz4
|
| Supplier#000003864 | G4A7fDgFofmhL1lXcnG,Vv6qkWuzwil
|
| Supplier#000003885 | M i ERhP9U FS,0Hi8O4
|
| Supplier#000003914 | uBG4kbR1mp6LQZCp6DlCmpzlw9sh2XnSPMT|
| Supplier#000003990 | wehBBp1RQbfxAYDASS75MsywmsKHRVdkrvNe6m |
| Supplier#000004016 | rxIU3SVvxD3en5QsvEkjq
|
| Supplier#000004075 | hK6J7VA GsAmrmRLV5EWka7h jh
|
| Supplier#000004092 | WPUH06LR5goleIM0McfrAGmxP0FdbzTFfKl8Z0X|
| Supplier#000004166 | dEGlhdQfTkadp
|
| Supplier#000004216 | Llx127Mkqt0rE3H6PLNMeOY
|
| Supplier#000004297 | KIHeBupr0uzfXq20Nk2M0Xjv
|
| Supplier#000004374 | wjl9sEGLUm
|
| Supplier#000004408 | 9PmB6KMkM2JHc7C,LNnj
|
| Supplier#000004460 | 2AqMg2cKVwauYYw8hSpKQEM0M ZuK2ZuWK3T |
| Supplier#000004492 | nkCFbmQfWzPF0WrGOEHAgG,mMrlPGdWVxXIWRSKN |
| Supplier#000004577 | nDL547QPA4p7AkEq4QurW
|
| Supplier#000004590 | fFt6dJwXmsW6OHdt5rxKTwPfNCNyCoZ
|
| Supplier#000004678 | V6Y4jcdvbV5WYKuymyJ6e59,BeHTEfnIy|
| Supplier#000004947 | dd0B6ar90BtBSFLfFiK
|
| Supplier#000004960 | 4 965jqpUhHh5
|
| Supplier#000004976 | rh2cBdhFDyoI8PzP,2rgNb0LJ
|
| Supplier#000005010 | cmYBD2RaTe9vKC0uNoC4aCEu3DOA1B |
| Supplier#000005020 | 8n8le,fK6fN1byNziZYGXTQLv8fTnjlyaM |
| Supplier#000005033 | X0TPY78Zx8uP12hWhTGGiOE8gN
|
| Supplier#000005135 | lmDG6dKYLGrlR 7pJKTtgx
|
| Supplier#000005337 | z nBSOeXSXoEf
|
| Supplier#000005338 | I4Gs7qhuOV
|
| Supplier#000005494 | u5ylCpj7F7mjMz4uXcDdE,n
|
| Supplier#000005559 | cMthDmitw2YdTFpfXkhbZqkiOqNOLfAz |
| Supplier#000005645 | R0XMxCzZ61LlSlf89ISRRYPKuHGrZxe
|
| Supplier#000005751 | yVwqlnvEUAboCZ5GUV
|
| Supplier#000005771 | wqPmXKZoucEWZM0,6s56AjHoZXi7r6skXoV U|
| Supplier#000005827 | O,abBOMPP,r4
|
| Supplier#000005904 | qR3xFuR1VfDt5XfudzZGdoAgS0HR7 xS |
| Supplier#000005936 | jXaNZ6vwnEWJ2ksLZJpjtgt0bY2a3AU
|
| Supplier#000005938 | ZRguRXXgt5uTLe8 oU6tnew7ZSNov NdhDJyuS |
| Supplier#000005942 | JYvMdHg512FjvcF
|
| Supplier#000005979 | iIIPTg3efrljRNU5zdi
|
| Supplier#000006001 | 6S RG2sY99qt8Am ZugMI1,Rvcbl
|
| Supplier#000006058 | t9uuW6i2,ZiwrLrk9S6bGRHWRC
|
| Supplier#000006286 |BqBfmh1kM,6Kp0C4fyByE2
|
| Supplier#000006306 | mSxhoCt9kzDJW00O3d5QHKvDEDqxD9RelvL|
| Supplier#000006456 | FgbEnwK,bZvQgg0
|
+--------------------+------------------------------------------+
100 rows in set (0.82 sec)
PROMPT set to '21B'
+--------------------+---------+
| S_NAME
| NUMWAIT |
+--------------------+---------+
| Supplier#000006337 |22 |
| Supplier#000004266 |19 |
| Supplier#000004091 |18 |
| Supplier#000008510 |18 |
| Supplier#000008725 |18 |
| Supplier#000009825 |18 |
| Supplier#000009879 |18 |
| Supplier#000001981 |17 |
| Supplier#000006545 |17 |
| Supplier#000007362 |17 |
| Supplier#000008429 |17 |
| Supplier#000001102 |16 |
| Supplier#000002781 |16 |
| Supplier#000003693 |16 |
| Supplier#000005565 |16 |
| Supplier#000009319 |16 |
| Supplier#000000240 |15 |
| Supplier#000000930 |15 |
| Supplier#000001424 |15 |
| Supplier#000001577 |15 |
| Supplier#000001630 |15 |
| Supplier#000002278 |15 |
| Supplier#000002802 |15 |
| Supplier#000004044 |15 |
| Supplier#000004901 |15 |
| Supplier#000005246 |15 |
| Supplier#000005803 |15 |
| Supplier#000006020 |15 |
| Supplier#000007459 |15 |
| Supplier#000007878 |15 |
| Supplier#000008085 |15 |
| Supplier#000000932 |14 |
| Supplier#000001101 |14 |
| Supplier#000001264 |14 |
| Supplier#000001293 |14 |
| Supplier#000001445 |14 |
| Supplier#000002545 |14 |
| Supplier#000003565 |14 |
| Supplier#000004784 |14 |
| Supplier#000005190 |14 |
| Supplier#000005294 |14 |
| Supplier#000007392 |14 |
| Supplier#000007903 |14 |
| Supplier#000007994 |14 |
| Supplier#000008533 |14 |
| Supplier#000008805 |14 |
| Supplier#000009943 |14 |
| Supplier#000000009 |13 |
| Supplier#000000218 |13 |
| Supplier#000000286 |13 |
| Supplier#000001003 |13 |
| Supplier#000001233 |13 |
| Supplier#000001552 |13 |
| Supplier#000001652 |13 |
| Supplier#000001953 |13 |
| Supplier#000002693 |13 |
| Supplier#000002970 |13 |
| Supplier#000003166 |13 |
| Supplier#000003324 |13 |
| Supplier#000004384 |13 |
| Supplier#000004820 |13 |
| Supplier#000006078 |13 |
| Supplier#000006189 |13 |
| Supplier#000006622 |13 |
| Supplier#000006696 |13 |
| Supplier#000006717 |13 |
| Supplier#000007085 |13 |
| Supplier#000007258 |13 |
| Supplier#000007394 |13 |
| Supplier#000007507 |13 |
| Supplier#000007637 |13 |
| Supplier#000007751 |13 |
| Supplier#000008216 |13 |
| Supplier#000008514 |13 |
| Supplier#000009385 |13 |
| Supplier#000009439 |13 |
| Supplier#000009996 |13 |
| Supplier#000000299 |12 |
| Supplier#000000396 |12 |
| Supplier#000000489 |12 |
| Supplier#000000644 |12 |
| Supplier#000000830 |12 |
| Supplier#000001024 |12 |
| Supplier#000001273 |12 |
| Supplier#000001392 |12 |
| Supplier#000001677 |12 |
| Supplier#000001762 |12 |
| Supplier#000001997 |12 |
| Supplier#000002145 |12 |
| Supplier#000003098 |12 |
| Supplier#000003172 |12 |
| Supplier#000003398 |12 |
| Supplier#000003466 |12 |
| Supplier#000003568 |12 |
| Supplier#000004161 |12 |
| Supplier#000004286 |12 |
| Supplier#000005339 |12 |
| Supplier#000005418 |12 |
| Supplier#000005604 |12 |
| Supplier#000005841 |12 |
+--------------------+---------+
100 rows in set (8.28 sec)
PROMPT set to '22B'
+-----------+---------+------------+
| CNTRYCODE | NUMCUST | TOTACCTBAL |
+-----------+---------+------------+
| 12| 862 | 6454292.96 |
| 13| 889 | 6742716.75 |
| 17| 861 | 6460573.72 |
| 27| 875 | 6555087.11 |
| 29| 949 | 7163868.66 |
| 32| 917 | 6875318.26 |
| 34| 948 | 7176951.89 |
+-----------+---------+------------+
7 rows in set (0.94 sec)
22B
22BPROMPT 21B
PROMPT set to '21B'
21BSELECT S_NAME ,COUNT(*) AS NUMWAIT FROM
-> (SELECT
-> S_NAME,L_SUPPKEY ,L_ORDERKEY
-> -- COUNT(*) AS NUMWAIT
-> FROM
-> SUPPLIER,
-> LINEITEM L1,
-> ORDERS,
-> NATION
-> WHERE
-> S_SUPPKEY = L1.L_SUPPKEY
-> AND O_ORDERKEY = L1.L_ORDERKEY
-> AND O_ORDERSTATUS = 'F'
-> AND L1.L_RECEIPTDATE > L1.L_COMMITDATE
-> AND S_NATIONKEY = N_NATIONKEY
-> AND N_NAME = 'IRAN'
-> ) L1
-> WHERE EXISTS (
->
SELECT
->
*
->
FROM
->
LINEITEM L2
->
WHERE
->
L2.L_ORDERKEY = L1.L_ORDERKEY
->
AND L2.L_SUPPKEYL1.L_SUPPKEY
-> )
-> AND NOT EXISTS (
->
SELECT
->
*
->
FROM
->
LINEITEM L3
->
WHERE
->
L3.L_ORDERKEY = L1.L_ORDERKEY
->
AND L3.L_SUPPKEYL1.L_SUPPKEY
->
AND L3.L_RECEIPTDATE > L3.L_COMMITDATE
-> )
-> GROUP BY
-> S_NAME
-> ORDER BY
-> NUMWAIT DESC,
-> S_NAME
-> LIMIT 100;
Query aborted by Ctrl+C
ERROR 1105 (HY000): Stopped by user.
21BPROMPT 18C
PROMPT set to '18C'
18C
18CSELECT
-> C_NAME,
-> C_CUSTKEY,
-> O_ORDERKEY,
-> O_ORDERDATE,
-> O_TOTALPRICE,
-> SUM_L_QUANTITY
-> FROM
-> CUSTOMER,
-> ORDERS,
->
( SELECT
->
L_ORDERKEY,SUM(L_QUANTITY)SUM_L_QUANTITY
->
FROM
->
LINEITEM
->
GROUP BY
->
L_ORDERKEY HAVING
->
SUM(L_QUANTITY) > 312
-> )LINEITEM
-> WHERE
-> C_CUSTKEY = O_CUSTKEY
-> AND O_ORDERKEY = L_ORDERKEY
-> ORDER BY
-> O_TOTALPRICE DESC,
-> O_ORDERDATE
-> LIMIT 100;
+--------------------+-----------+------------+-------------+--------------+----------------+
| C_NAME
| C_CUSTKEY | O_ORDERKEY | O_ORDERDATE | O_TOTALPRICE | SUM_L_QUANTITY |
+--------------------+-----------+------------+-------------+--------------+----------------+
| Customer#000128120 |128120 |4722021 | 1994-04-07|544089.09 | 323.00 |
| Customer#000144617 |144617 |3043270 | 1997-02-12|530604.44 | 317.00 |
| Customer#000066790 | 66790 |2199712 | 1996-09-30|515531.82 | 327.00 |
| Customer#000015619 | 15619 |3767271 | 1996-08-07|480083.96 | 318.00 |
| Customer#000148885 |148885 |2942469 | 1992-05-31|469630.44 | 313.00 |
| Customer#000147197 |147197 |1263015 | 1997-02-02|467149.67 | 320.00 |
| Customer#000117919 |117919 |2869152 | 1996-06-20|456815.92 | 317.00 |
| Customer#000126865 |126865 |4702759 | 1994-11-07|447606.65 | 320.00 |
| Customer#000036619 | 36619 |4806726 | 1995-01-17|446704.09 | 328.00 |
| Customer#000119989 |119989 |1544643 | 1997-09-20|434568.25 | 320.00 |
+--------------------+-----------+------------+-------------+--------------+----------------+
10 rows in set (10.09 sec)
|