100% found this document useful (1 vote)
27 views

A Guide to SQL 10th Edition Mark Shellman - eBook PDF download

The document is a guide to SQL, specifically the 10th edition authored by Mark Shellman and others, providing comprehensive coverage of database concepts, design, and SQL commands. It includes modules on database design fundamentals, creating tables, single-table and multiple-table queries, updating data, and database administration. The guide is published by Cengage Learning and is available in various digital formats.

Uploaded by

kozupgiorajq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
27 views

A Guide to SQL 10th Edition Mark Shellman - eBook PDF download

The document is a guide to SQL, specifically the 10th edition authored by Mark Shellman and others, providing comprehensive coverage of database concepts, design, and SQL commands. It includes modules on database design fundamentals, creating tables, single-table and multiple-table queries, updating data, and database administration. The guide is published by Cengage Learning and is available in various digital formats.

Uploaded by

kozupgiorajq
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 57

A Guide to SQL 10th Edition Mark Shellman -

eBook PDF install download

https://ebookluna.com/download/a-guide-to-sql-ebook-pdf/

Download more ebook from https://ebookluna.com


Instant digital products (PDF, ePub, MOBI) ready for you
Download now and discover formats that fit your needs...

(eBook PDF) A Guide to SQL 9th Edition by Philip J. Pratt

https://ebookluna.com/product/ebook-pdf-a-guide-to-sql-9th-edition-by-
philip-j-pratt/

ebookluna.com

New Perspectives Microsoft Office 365 & Access 2019


Comprehensive 1st Edition Mark Shellman - eBook PDF

https://ebookluna.com/download/new-perspectives-microsoft-
office-365-access-2019-comprehensive-ebook-pdf/

ebookluna.com

Microsoft SQL Server 2016 a beginner's guide Sixth Edition


Petkovic - eBook PDF

https://ebookluna.com/download/microsoft-sql-server-2016-a-beginners-
guide-ebook-pdf/

ebookluna.com

Comptia Security+ Guide to Network Security Fundamentals


7th Edition Mark Ciampa - eBook PDF

https://ebookluna.com/download/comptia-security-guide-to-network-
security-fundamentals-ebook-pdf/

ebookluna.com
(eBook PDF) CompTIA A+ Core 1 Exam: Guide to Computing
Infrastructure 10th Edition

https://ebookluna.com/product/ebook-pdf-comptia-a-core-1-exam-guide-
to-computing-infrastructure-10th-edition/

ebookluna.com

(eBook PDF) Classical Mythology 10th by Mark Morford

https://ebookluna.com/product/ebook-pdf-classical-mythology-10th-by-
mark-morford/

ebookluna.com

(Original PDF) Havard's Nursing Guide to Drugs 10th


Edition

https://ebookluna.com/product/original-pdf-havards-nursing-guide-to-
drugs-10th-edition/

ebookluna.com

(eBook PDF) Learning Legal Rules: A Students' Guide to


Legal Method and Reasoning 10th Edition

https://ebookluna.com/product/ebook-pdf-learning-legal-rules-a-
students-guide-to-legal-method-and-reasoning-10th-edition/

ebookluna.com

OCA Oracle Database SQL Exam Guide (Exam 1Z0-071) 1st


Edition Steve O’Hearn - eBook PDF

https://ebookluna.com/download/oca-oracle-database-sql-exam-guide-
exam-1z0-071-ebook-pdf/

ebookluna.com
A GUIDE TO SQL
Tenth Edition

Mark Shellman
Gaston College
Hassan Afyouni, Ed.D.
e-conn Chief Information Officer
Philip J. Pratt
Grand Valley State University
Mary Z. Last

Australia • Brazil • Mexico • Singapore • United Kingdom • United States

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
This is an electronic version of the print textbook. Due to electronic rights restrictions,
some third party content may be suppressed. Editorial review has deemed that any suppressed
content does not materially affect the overall learning experience. The publisher reserves the right
to remove content from this title at any time if subsequent rights restrictions require it. For
valuable information on pricing, previous editions, changes to current editions, and alternate
formats, please visit www.cengage.com/highered to search by ISBN#, author, title, or keyword for
materials in your areas of interest.

Important Notice: Media content referenced within the product description or the product
text may not be available in the eBook version.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
A Guide to SQL, Tenth Edition © 2021, 2015 Cengage Learning, Inc.
Mark Shellman, Hassan Afyouni, WCN: 02-300
Philip J. Pratt, and Mary Z. Last Unless otherwise noted, all content is © Cengage.

SVP, Higher Education Product ALL RIGHTS RESERVED. No part of this work covered by the
Management: Erin Joyner copyright herein may be reproduced or distributed in any form
or by any means, except as permitted by U.S. copyright law,
VP, Product Management: Thais Alencar
without the prior written permission of the copyright owner.
Product Team Manager: Kristin McNary
Microsoft SQL Server is either a registered trademark or
Associate Product Manager: Danielle Klahr
trademark of Microsoft Corporation in the United States and/or
Product Assistants: Anna Goulart and other countries.
Tom Benedetto
MySQL is a registered trademark, and Oracle is a trademark of
Director, Learning Design: Rebecca von Gillern Oracle Corporation.
Senior Manager, Learning Design: Leigh Hefferon
Learning Designer: Emily Pope For product information and technology assistance,
Vice President, Marketing – Science, contact us at Cengage Customer & Sales Support,
1-800-354-9706 or support.cengage.com.
Technology, & Math: Jason Sakos
Marketing Director: Michele McTighe For permission to use material from this text or product,
submit all requests online at
Marketing Manager: Cassie Cloutier www.cengage.com/permissions.
Product Specialist: Mackenzie Paine
Director, Content Creation: Juliet Steiner Library of Congress Control Number: 2020911488
Senior Manager, Content Creation: Patty Stephan
ISBN: 978-0-357-36168-9
Content Manager: Michele Stulga
Developmental Editor: Joy Dark Cengage
200 Pier 4 Boulevard
Director, Digital Production Services: Krista
Boston, MA 02210
Kellman USA
Digital Delivery Lead: Jim Vaughey
Cengage is a leading provider of customized learning solutions
IP Analyst: Ashley Maynard with employees residing in nearly 40 different countries and
IP Project Manager: Carly Belcher sales in more than 125 countries around the world. Find your
Manufacturing Planner: Ron Montgomery local representative at www.cengage.com.

Production Service/Composition: SPi Global Cengage products are represented in Canada by Nelson
Design Director: Jack Pendleton Education, Ltd.

Text Designer: Lizz Anderson To learn more about Cengage platforms and services,
Cover Designer: Joe Devine,Red Hangar Design register or access your online learning solution, or
Cover image: © vs148/ShutterStock.com purchase materials for your course, visit www.cengage.com.

Notice to the Reader contained herein, the reader willingly assumes all risks
Publisher does not warrant or guarantee any of the in connection with such instructions. The publisher
products described herein or perform any independent makes no representations or warranties of any kind,
analysis in connection with any of the product including but not limited to, the warranties of fitness for
information contained herein. Publisher does not particular purpose or merchantability, nor are any such
assume, and expressly disclaims, any obligation to obtain representations implied with respect to the material set
and include information other than that provided to it forth herein, and the publisher takes no responsibility
by the manufacturer. The reader is expressly warned with respect to such material. The publisher shall not
to consider and adopt all safety precautions that might be liable for any special, consequential, or exemplary
be indicated by the activities described herein and to damages resulting, in whole or part, from the readers’
avoid all potential hazards. By following the instructions use of, or reliance upon, this material.

Printed in the United States of America


Print Number: 01 Print Year: 2020

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
TA B L E O F C O N T E N T S

Preface ix

Module 1 Introduction to KimTay Pet Supplies and StayWell Student


Accommodation Databases 1
Introduction 1
What Is a Database? 1
The KimTay Pet Supplies Database 2
StayWell Student Accommodation Database 8
Module Summary 12
Key Term 12
Case Exercises 12
KimTay Pet Supplies 12
StayWell Student Accommodation 13

Module 2 Database Design Fundamentals 15


Introduction 15
Database Concepts 16
Relational Databases 16
Entities, Attributes, and Relationships 17
Functional Dependence 20
Primary Keys 23
Database Design 25
Design Method 25
Database Design Requirements 26
Database Design Process Example 27
Normalization 33
First Normal Form 33
Second Normal Form 35
Third Normal Form 38
Diagrams for Database Design 43
Module Summary 45
Key Terms 46
Review Questions 46
Case Exercises 47
KimTay Pet Supplies 47
StayWell Student Accommodation 48

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
iv Table of Contents

Module 3 Creating Tables 51


Introduction 51
Creating and Running SQL Commands 52
Using MySQL Workbench 52
Entering Commands 54
Creating a Database 57
Changing the Default Database 59
Creating a Table 60
Correcting Errors in SQL Commands 65
Dropping a Table 66
Using Data Types 67
Using Nulls 68
Adding Rows to a Table 69
The INSERT Command 69
Inserting a Row that Contains Nulls 73
Viewing Table Data 74
Correcting Errors in a Table 76
Saving SQL Commands 79
Creating the Remaining Database Tables 83
Describing a Table 88
Module Summary 92
Key Terms 92
Review Questions 92
Case Exercises 93
KimTay Pet Supplies 94
StayWell Student Accommodation 94

Module 4 Single-Table Queries 97


Introduction 97
Constructing Simple Queries 97
Retrieving Certain Columns and All Rows 98
Retrieving All Columns and All Rows 99
Using a WHERE Clause 100
Using Compound Conditions 102
Using the BETWEEN Operator 105
Using Computed Columns 107
Using the LIKE Operator 109
Using the IN Operator 111
Sorting 111
Using the ORDER BY Clause 112
Additional Sorting Options 112
Using Functions 113
Using the COUNT Function 114
Using the SUM Function 115

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Table of Contents v

Using the AVG, MAX, and MIN Functions 115


Using the DISTINCT Operator 117
Nesting Queries 119
Subqueries 121
Grouping 123
Using the GROUP BY Clause 124
Using a HAVING Clause 125
HAVING vs. WHERE 126
Nulls 128
Summary of SQL Clauses, Functions, and Operators 129
Module Summary 130
Key Terms 131
Review Questions 131
Case Exercises 132
KimTay Pet Supplies 132
StayWell Student Accommodation 133

Module 5 Multiple-Table Queries 135


Introduction 135
Querying Multiple Tables 135
Joining Two Tables 135
Comparing Joins, IN, and EXISTS 139
Using the IN Operator 139
Using the EXISTS Operator 140
Using a Subquery Within a Subquery 142
A Comprehensive Example 144
Using an Alias 145
Joining a Table to Itself 146
Using a Self-Join on a Primary Key Column 148
Joining Several Tables 150
Set Operations 153
ALL and ANY 159
Special Operations 162
Inner Join 162
Outer Join 163
Product 165
Module Summary 167
Key Terms 168
Review Questions 168
Case Exercises 169
KimTay Pet Supplies 169
StayWell Student Accommodation 170

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
vi Table of Contents

Module 6 Updating Data 173


Introduction 173
Creating a New Table from an Existing Table 173
Changing Existing Data in a Table 176
Adding New Rows to an Existing Table 179
Autocommit, Commit, and Rollback 180
Transactions 183
Changing and Deleting Existing Rows 184
Executing a Rollback 186
Changing a Value in a Column to Null 187
Changing a Table’s Structure 189
Making Complex Changes 196
Dropping a Table 196
Module Summary 197
Key Terms 197
Review Questions 197
Case Exercises 198
KimTay Pet Supplies 198
StayWell Student Accommodation 199

Module 7 Database Administration 201


Introduction 201
Creating and using Views 201
Using a View to Update Data 210
Updating Row-and-Column Subset Views 210
Updating Views Involving Joins 212
Updating Views Involving Statistics 216
Dropping a View 216
Security 217
Indexes 219
Creating an Index 222
Dropping an Index 223
Creating Unique Indexes 225
System Catalog 225
Update of the System Catalog 228
Integrity Constraints in SQL 229
Module Summary 233
Key Terms 233
Review Questions 234
Case Exercises 235
KimTay Pet Supplies 235
StayWell Student Accommodation 237

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Table of Contents vii

Module 8 Functions, Procedures, and Triggers 239


Introduction 239
Using SQL in a Programming Environment 239
Using Functions 240
Character Functions 241
Number Functions 242
Working with Dates 243
Concatenating Columns 248
Stored Procedures Using MySQL 252
Retrieving a Single Row and Column 253
Error Handling 255
Using Update Procedures 259
Changing Data with a Procedure 259
Deleting Data with a Procedure 260
Selecting Multiple Rows with a Procedure 262
Using a Cursor 262
Opening a Cursor 263
Fetching Rows from a Cursor 263
Closing a Cursor 265
Writing a Complete Procedure Using a Cursor 265
Using More Complex Cursors 265
Advantages of Cursors 268
Using PL/SQL in Oracle 268
Error Handling in PL/SQL 270
Writing a Complete Procedure Using a Cursor in PL/SQL 271
Using T-SQL in SQL Server 272
Retrieving a Single Row and Column in T-SQL 272
Changing Data with a Stored Procedure in T-SQL 273
Deleting Data with a Stored Procedure in T-SQL 273
Using a Cursor in T-SQL 274
Using More Complex Cursors in T-SQL 275
Using a Trigger 275
Module Summary 282
Key Terms 283
Review Questions 283
Case Exercises 284
KimTay Pet Supplies 284
StayWell Student Accommodation 286

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
viii Table of Contents

Appendix A SQL Reference A.1


Aliases A.1
ALTER TABLE A.1
Column or Expression List (SELECT Clause) A.2
Computed Columns A.2
The DISTINCT Operator A.2
Functions A.3
COMMIT A.3
Conditions A.3
Simple Conditions A.3
Compound Conditions A.4
BETWEEN Conditions A.4
LIKE Conditions A.4
IN Conditions A.4
EXISTS Conditions A.5
ALL and ANY A.5
CREATE INDEX A.6
CREATE TABLE A.6
CREATE VIEW A.6
Data Types A.7
DELETE Rows A.8
DESCRIBE A.8
DROP INDEX A.8
DROP TABLE A.9
DROP VIEW A.9
GRANT A.9
INSERT INTO (Query) A.10
INSERT INTO (Values) A.10
Integrity A.10
REVOKE A.11
ROLLBACK A.11
SELECT A.12
Subqueries A.13
UNION, INTERSECT, and MINUS A.13
UPDATE A.14

Appendix B How Do I Reference A.15

Appendix C The 10 Commandments of Writing Queries A.19

Index I.1

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
P R E FAC E

Structured Query Language (or SQL, which is pronounced “se-quel,” or “ess-cue-ell”) is a


popular computer language that is used by diverse groups such as home computer users,
small businesses owners, end users in large organizations, and programmers. Although
this text uses the MySQL Community Server 8.0.18 implementation as a vehicle for
teaching SQL, its module material, examples, and exercises can be completed using any
SQL implementation.
A Guide to SQL, Tenth Edition is written for a wide range of teaching levels, from
students taking introductory computer science classes to those students in advanced
information systems classes. This text can be used for a stand-alone course on SQL or in
conjunction with a database concepts text where students are required to learn SQL.
The modules in this text should be covered in order. Students should complete
the end-of-module exercises and the examples within the modules for maximum
learning. Because the content of Module 8 assumes that the reader has had instruction
or experience in at least one programming language, the instructor should determine
whether students will understand its concepts. Students without a programming
background might have difficulty understanding the topic of embedded SQL. Instructors
can easily omit Module 8 from the text in situations where students are not comfortable
with programming examples.
The Tenth Edition builds on the success of previous editions by presenting basic SQL
commands in the context of a business that uses SQL to manage orders, items, customers,
and sales reps. Like in previous editions, this edition uses MySQL 8.0, Oracle 19c, and MS
SQL Server 2019 as the vehicle to present SQL commands. This edition also shows Oracle
and SQL Server commands when they differ from the MySQL version. Differences for
Oracle and SQL Server users are featured in “User” notes, which make it easy for students
to identify differences for the SQL implementation they are using. Students can download
the Oracle 19c Enterprise/Standard Edition or the Oracle 19c Express Edition from the
Oracle Web site for free and use it to complete this text without having to purchase or
install the full Oracle program.
The Tenth Edition includes an entire module on database design, showing stu-
dents how to create an appropriate design that satisfies a given set of requirements, and
includes coverage of the important topics of stored procedures and triggers. The text also
contains updated case problems that feature pet supplier and student accommodation
companies.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
x Preface

D I S T I N G U I S H I N G F E AT U R E S

Use of Examples
Starting in Module 3, each module contains multiple examples that use SQL to solve a
problem. Following each example, students will read about the commands that are used to
solve the stated problem, and then they will see the SQL commands used to arrive at the
solution. For most students, learning through examples is the most effective way to master
material. For this reason, instructors should encourage students to read the modules at
the computer and input the commands shown in the figures.

Case Studies
A running case study—KimTay Pet Supplies—is presented in all the examples within the
modules and in the first set of exercises at the end of each module. Although the data-
base is small in order to be manageable, the examples and exercises for the KimTay Pet
Supplies database simulate what a real business can accomplish using SQL commands.
Using the same case study as examples within the module and in the end-of-module exer-
cises ensures a high level of continuity to reinforce learning.
A second case study—the StayWell Student Accommodation database—is used in
a second set of exercises at the end of each module. This case study gives students a
chance to venture out “on their own” without the direct guidance of examples from
the text.

Question and Answer Sections


A special type of exercise, called a Q&A, is used throughout the text. These exercises drive
students to consider special issues and understand important questions before continu-
ing with their study. The answer to each Q&A appears after the question. Students are
encouraged to formulate their own answers before reading the ones provided in the text to
ensure that they understand new material before proceeding.

User Notes for Oracle and SQL Server Users


When an SQL command has a different use or format in Oracle or SQL Server, it appears
in a User note. When you encounter a User note for the SQL implementation you are
using, be sure to read its contents. You might also review the User notes for other SQL
implementations so you are aware of the differences that occur from one implementation
of SQL to another.

Helpful Hints
Helpful Hint boxes call out fundamental information and provide useful tips for the
successful implementation of SQL. Students should pay careful attention to the advice
within Helpful Hint boxes and are encouraged to review the hints as they are practicing
SQL skills.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Preface xi

Review Material
A Summary and Key Terms list appear at the end of each module, followed by Review
Questions that test students’ recall of the important points in the module and occasionally
test their ability to apply what they have learned. Critical Thinking questions that
reinforce problem-solving and analytical skills are included for review questions and
hands-on exercises. Each module also contains exercises related to the KimTay Pet
Supplies and StayWell Student Accommodation databases.

Appendices
Three appendices appear at the end of this text. Appendix A is an SQL reference that
describes the purpose and syntax for the major SQL commands featured in the text.
Students can use Appendix A to identify how and when to use important commands
quickly. The SQL reference appendix contains references to specific pages in the
text where the command is discussed to make it easy for students to find additional
information when they need to refer back to the section in the text where the topic is
covered.
Appendix B includes a “How Do I” reference, which lets students cross-reference the
appropriate section in Appendix A by searching for the answer to a question. Appendix C
is the 10 Commandments of Writing Queries. This appendix presents summarized steps
and rules for composing an SQL statement.

Instructor Support
The Tenth Edition includes a package of proven supplements for instructors and
students. The Instructor’s Resources offer a detailed electronic Instructor’s Manual,
figure files, Microsoft® PowerPoint® presentations, and the Cognero Test Bank. The
Instructor’s Manual includes suggestions and strategies for using this text as well as
answers to Review Questions and solutions to the end-of-module exercises. Figure files
allow instructors to create their own presentations using figures appearing in the text.
Instructors can also take advantage of lecture presentations provided on PowerPoint
slides; these presentations follow each module’s coverage precisely, include module
figures, and can be customized.
The Instructor’s Resources include the KimTay Pet Supplies and StayWell Student
Accommodation cases script files to create the tables and data in these databases in
MySQL, Oracle, and SQL Server. These files are provided so instructors have the choice of
assigning exercises in which students create the databases used in this text and load them
with data, or they can provide the MySQL, Oracle, or SQL Server script files to students to
automate and simplify these tasks.

O R G A N I Z AT I O N O F T H E T E X T
The text contains eight modules and three appendices, which are described in the follow-
ing sections.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xii Preface

Module 1: Introduction to KimTay Pet Supplies and StayWell Student Accommodation


Database
Module 1 introduces the two database cases that are used throughout the text: KimTay
Pet Supplies and StayWell Student Accommodation. Many Q&A exercises are provided
throughout the module to ensure that students understand how to manipulate the
database on paper before they begin working in SQL.

Module 2: Database Design Fundamentals


Module 2 covers important concepts and terminology associated with relational
databases, functional dependence, and primary keys, followed by a method for designing
a database to satisfy a given set of requirements. It also illustrates the normalization
process for finding and correcting a variety of potential problems in database designs.
Finally, it shows how to represent database designs graphically using entity-relationship
diagrams.

Module 3: Creating Tables


In Module 3, students begin using a DBMS by creating and running SQL commands to
create tables, use data types, and add rows to tables. Module 3 also discusses the role of
and use of nulls.

Module 4: Single-Table Queries


Module 4 is the first of two modules on using SQL commands to query a database. The
queries in Module 4 all involve single tables. Included in this module are discussions of
simple and compound conditions; computed columns; the SQL BETWEEN, LIKE, and IN
operators; using SQL aggregate functions; nesting queries; grouping data; and retrieving
columns with null values.

Module 5: Multiple-Table Queries


Module 5 completes the discussion of querying a database by demonstrating queries
that join more than one table. Included in this module are discussions of the SQL IN
and EXISTS operators, nested subqueries, using aliases, joining a table to itself, SQL set
operations, and the use of the ALL and ANY operators. The module also includes coverage
of various types of joins.

Module 6: Updating Data


In Module 6, students learn how to use the SQL COMMIT, ROLLBACK, UPDATE,
INSERT, and DELETE commands to update table data. Students also learn how to
create a new table from an existing table and how to change the structure of a table.
The module also includes coverage of transactions, including both their purpose and
implementation.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Preface xiii

Module 7: Database Administration


Module 7 covers the database administration features of SQL, including the use of views;
granting and revoking database privileges to users; creating, dropping, and using an index;
using and obtaining information from the system catalog; and using integrity constraints
to control data entry.

Module 8: SQL Functions, Procedures, and Triggers


Module 8 begins with a discussion of some important SQL functions that act on
single rows. Students also learn how to use PL/SQL and T-SQL to cover the process of
embedding SQL commands in another language. Included in this module are discussions
of using embedded SQL to insert new rows and change and delete existing rows. Also
included is a discussion of how to retrieve single rows using embedded SQL commands
and how to use cursors to retrieve multiple rows. The module concludes with a discussion
of triggers.

Appendix A: SQL Reference


Appendix A includes a command reference for all the major SQL clauses and operators
that are featured in the modules. Students can use Appendix A as a quick reference when
constructing commands. Each command includes a short description, a table that shows
the required and optional clauses and operators, and an example and its results. It also
contains a reference to the pages in the text where the command is covered.

Appendix B: How Do I Reference


Appendix B provides students with an opportunity to ask a question, such as “How do
I delete rows?” and to identify the appropriate section in Appendix A to use to find the
answer. Appendix B is extremely valuable when students know what task they want to
accomplish but cannot remember the exact SQL command they need.

Appendix C: The 10 Commandments of Writing Queries


Appendix C provides students with a one-page guide (cheat sheet) on the Dos and Don’ts
of writing query statements. The 10 commandments in Appendix C covers all the SQL
rules presented in this text.

GENERAL NOTES TO THE STUDENT


For details on running script files in Oracle or SQL Server, check with your instructor.
You can also refer to Module 3 in the text for information about creating and using scripts.
For information about downloading MySQL and Oracle 19c software, please visit the
Oracle Web site. For information about SQL Server Express, please visit the Microsoft
Web site.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xiv Preface

Embedded Questions
In many places, you’ll find Q&A sections to ensure that you understand some crucial
material before you proceed. In some cases, the questions are designed to give you the
chance to consider some special concept in advance of its actual presentation. In all cases,
the answer to each question appears immediately after the question. You can simply read
the question and its answer, but you will benefit from taking time to determine the answer
to the question before checking your answer against the one given in the text.

End-of-Module Material
The end-of-module material consists of a Summary, a Key Terms list, Review Questions,
Critical Thinking questions, and exercises for the KimTay Pet Supplies and StayWell
Student Accommodation databases. The Summary briefly describes the material covered
in the module. The Review Questions require you to recall and apply the important mate-
rial in the module. The KimTay Pet Supplies and StayWell Student Accommodation exer-
cises test your knowledge of the module material; your instructor will assign one or more
of these exercises for you to complete. Critical-thinking questions that reinforce problem-
solving and analytical skills are included for review questions and hands-on exercises.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
A B O U T T H E AU T H O R S

Mark Shellman, Gaston College


Dr. Mark Shellman is an instructor and the Chair of the Information Technology
Department at Gaston College in Dallas, North Carolina. Dr. Mark, as his students refer
to him, prides himself on being student-centered and loves learning himself. His favorite
subjects in the information technology realm include databases and programming
languages. Dr. Mark has been teaching information technology for more than thirty years
and has co-authored several texts in the New Perspectives Series on Microsoft® Access
databases.

Hassan Afyouni, e-conn (Chief Information Officer)


Dr. Hassan Afyouni has been working in the information technology field for more
than thirty years. He is a database expert, Oracle® specialist, an enterprise architect,
technical advisor, and educator. He has been an instructor for several colleges and
universities in Canada, the United States, and Lebanon. He is a respected author of several
leading books in the database field.

Philip J. Pratt, Grand Valley State University


Philip J. Pratt is Professor Emeritus of Mathematics and Computer Science at Grand
Valley State University, where he taught for 33 years. His teaching interests include data-
base management, systems analysis, complex analysis, and discrete mathematics. He has
authored more than 75 textbooks and has co-authored three levels of Microsoft® Office
Access books for the popular Shelly Cashman Series, in addition to the popular A GUIDE
TO SQL.

Mary Z. Last
Mary Z. Last has taught computer information systems since 1984. She retired from
the University of Mary Hardin-Baylor, Belton, Texas, where she was an associate profes-
sor and the Director of the Center for Effectiveness in Learning and Teaching. Ms. Last is
actively involved in the Computing Educator’s Oral History Project that encourages young
women to pursue careers in math and science. She has been a contributing author to the
Shelly Cashman Series since 1992. She also authors many instructor resources for leading
database texts.

ACKNOWLEDGMENTS
From Mark Shellman:
I would first like to dedicate this text to the memory of parents, Mickey and Shelba
Shellman, that passed away during the writing of this text. No child has ever been more
loved and supported in their life than I. I would also like to thank my wife Donna Sue, and

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
xvi About the Authors

children, Taylor and Kimberly, for their support and patience during this project. Last,
but certainly not least, I would like to thank the entire development team of Amy Savino,
Michele Stulga, and Joy Dark, along with my co-author Hassan Afyouni. Thank you all
from the bottom of my heart for all of your support and caring during this project. It
means more than you will ever know. You are truly the best!

From Hassan Afyouni:


I dedicate this text to my beautiful and patient wife, Rouba, for her everlasting love
and support. I devote every letter of this text to my precious children, Aya, Wissam,
Sammy, and Luna.
Special thanks to my co-author Mark Shellman and Cengage development team Amy
Savino, Michele Stulga, Joy Dark, and to the whole production team. Also, thanks to
Jennifer Bowes for giving me the opportunity to work on this project.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
MODULE 1
INTRODUCTION TO
KIMTAY PET SUPPLIES
AND STAYWELL STUDENT
ACCOMMODATION DATABASES
OBJECTIVES

• Introduce KimTay Pet Supplies, a company whose database is used to


manage a pet supplies business. The KimTay database is used as the
basis for many of the examples throughout the text.
• Introduce StayWell, a Seattle-based company whose database is used
to manage accommodation for university students on behalf of property
owners. The StayWell database is used as an additional case that runs
throughout the text.

INTRODUCTION
In this module, you examine the database requirements of KimTay Pet Supplies—a
company that is used in the examples throughout the text. Then, you examine the
database requirements for StayWell, whose database is featured in the exercises that
appear at the end of each module.

WHAT IS A DATABASE?
Throughout this text, you will work with databases for two organizations: KimTay Pet
Supplies and StayWell. A database is a structure that contains different categories
of information and the relationships between these categories. For example, the
KimTay Pet Supplies database contains information about categories such as sales
representatives (sales reps), customers, invoices, and items. The StayWell database
contains information about the offices that manage the accommodation, the owners
of the accommodation, the residents, and the services (such as cleaning and
maintenance) offered for the properties.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
2 Module 1

Each database also contains relationships between categories. For example, the
KimTay Pet Supplies database contains information that relates sales reps to the
customers they represent and customers to the invoices they have placed. The StayWell
database contains information that relates the two main company offices to the properties
that they manage, the owners, the different services to the service request, and to the
resident renting a property.
As you work through the modules in this text, you will learn more about these
databases and how to view and update the information they contain. As you read each
module, you will see examples from the KimTay Pet Supplies database. At the end of
each module, your instructor might assign the exercises for the KimTay Pet Supplies or
StayWell databases.

THE KIMTAY PET SUPPLIES DATABASE


The management of KimTay Pet Supplies (a supplier of pet supplies, food, and accessories
located in Cody, Wyoming) has determined that the company’s recent growth no longer
makes it feasible to maintain customer, invoice, and inventory data using its manual
systems. In addition, KimTay Pet Supplies wants to build an Internet presence. With the
data stored in a database, management will be able to ensure that the data is up-to-date
and more accurate than in the current manual systems. In addition, managers will be
able to obtain answers to their questions concerning the data in the database easily and
quickly, with the option of producing a variety of useful reports.
Management has determined that KimTay Pet Supplies must maintain the following
information about its sales reps, customers, and inventory in the new database:
• The sales rep ID, first name, last name, full address, cell phone number, total
commission, and commission rate for each sales rep
• The customer ID, first name, last name, full address, e-mail address, current
balance, and credit limit for each customer, as well as the ID of the sales rep
who represents the customer
• The item ID, description, number of units on hand, category, storage location,
and unit price for each item in inventory
KimTay Pet Supplies also must store information about invoices. Figure 1-1 shows a
sample invoice.
The sample invoice shown in Figure 1-1 has three sections:
• The heading (top) of the invoice contains the company name and contact
information; the invoice number and date; the customer’s ID, name, and full
address; and the sales rep’s ID and full name.
• The body of the invoice contains one or more invoice lines, some-
times called line items. Each invoice line contains an item ID, an item
­description, the number of units of the item ordered, and the quoted
price for the item. Each invoice line also contains a total, usually called
an extension, which is the result of multiplying the number ordered by
the quoted price.
• Finally, the footing (bottom) of the invoice contains the invoice total.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Introduction to KimTay Pet Supplies and StayWell Student Accommodation Databases 3

KimTay Pet Supplies INVOICE


1212 Main Street
Cody, WY 82414 Invoice# 14219
Phone: (307) 824-2762 Date: November 15, 2021
Fax: (307) 824-2763
Heading
TO:
CUSTOMER: 227 SALES REP: 15
Sandra Pincher Donna Smith
53 Verde Ln
Powell, WY 82440

ITEM ID DESCRIPTION QUANTITY PRICE TOTAL


ORDERED

Invoice AD72 Dog Feeding Station 2 79.99 159.98


lines DT12 Dog Toy Gift Set 4 39.99 159.96

Extensions

Body

TOTAL 319.94 Footing

Make all checks payable to KimTay Pet Supplies


Total due in 15 days. Overdue accounts subject to a service charge of 1.5% per month.

Thank you for your business!

FIGURE 1-1 Sample invoice

KimTay Pet Supplies also must store the following items in the database for each
­customer’s invoice:
• The invoice number, the date the invoice was placed, and the ID of the
customer that placed the invoice. The customer’s name, full address, and
the ID of the sales rep who represents the customer are stored with the
­customer information. The name of the sales rep is stored with the sales
rep information.
• The invoice number, the item ID, the quantity ordered, and the quoted price
for each invoice line. The item description is stored with the information
about items. The result of multiplying the number of units ordered by the
quoted price is not stored because the database can calculate it when needed.
The overall invoice total is not stored. Instead, the database calculates the total
­whenever an invoice is printed or displayed on the screen.
Figure 1-2 shows sample data for KimTay Pet Supplies.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
4 Module 1

CUSTOMER
CUST_ FIRST_ LAST_ ADDRESS CITY STATE POSTAL EMAIL BALANCE CREDIT_ REP_
ID NAME NAME LIMIT ID
126 Joey Smith 17 Fourth St Cody WY 82414 jsmith17@ $80.68 $500.00 05
example.com
182 Billy Rufton 21 Simple Cir Garland WY 82435 billyruff@ $43.13 $750.00 10
example.com
227 Sandra Pincher 53 Verde Ln Powell WY 82440 spinch2@ $156.38 $500.00 15
example.com
294 Samantha Smith 14 Rock Ln Ralston WY 82440 ssmith5@ $58.60 $500.00 10
example.com
314 Tom Rascal 1 Rascal Farm Cody WY 82414 trascal3@ $17.25 $250.00 15
Rd example.com
375 Melanie Jackson 42 Blackwater Elk Butte WY 82433 mjackson5@ $252.25 $250.00 05
Way example.com
435 James Gonzalez 16 Rockway Rd Wapiti WY 82450 jgonzo@ $230.40 $1,000.00 15
example.com
492 Elmer Jackson 22 Jackson Garland WY 82435 ejackson4@ $45.20 $500.00 10
Farm Rd example.com
543 Angie Hendricks 27 Locklear Ln Powell WY 82440 ahendricks7@ $315.00 $750.00 05
example.com
616 Sally Cruz 199 18th Ave Ralston WY 82440 scruz5@ $8.33 $500.00 15
example.com
721 Leslie Smith 123 Sheepland Elk Butte WY 82433 lsmith12@ $166.65 $1,000.00 10
Rd example.com
795 Randy Blacksmith 75 Stream Rd Cody WY 82414 rblacksmith6@ $61.50 $500.00 05
example.com

SALES_REP
REP_ID FIRST_NAME LAST_NAME ADDRESS CITY STATE POSTAL CELL_PHONE COMMISSION RATE

05 Susan Garcia 42 Mountain Ln Cody WY 82414 307-824-1245 $12,743.16 0.04


10 Richard Miller 87 Pikes Dr Ralston WY 82440 307-406-4321 $20,872.11 0.06
15 Donna Smith 312 Oak Rd Powell WY 82440 307-982-8401 $14,912.92 0.04
20 Daniel Jackson 19 Lookout Dr Elk Butte WY 82433 307-883-9481 $0.00 0.04

ITEM
ITEM_ID DESCRIPTION ON_HAND CATEGORY LOCATION PRICE
AD72 Dog Feeding Station 12 DOG B $79.99
BC33 Feathers Bird Cage (12×24×18) 10 BRD B $79.99
CA75 Enclosed Cat Litter Station 15 CAT C $39.99
DT12 Dog Toy Gift Set 27 DOG B $39.99
FM23 Fly Mask with Ears 41 HOR C $24.95
FS39 Folding Saddle Stand 12 HOR C $39.99
FS42 Aquarium (55 Gallon) 5 FSH A $124.99
KH81 Wild Bird Food (25 lb) 24 BRD C $19.99
LD14 Locking Small Dog Door 14 DOG A $49.99
LP73 Large Pet Carrier 23 DOG B $59.99
PF19 Pump & Filter Kit 5 FSH A $74.99
QB92 Quilted Stable Blanket 32 HOR C $119.99
SP91 Small Pet Carrier 18 CAT B $39.99
UF39 Underground Fence System 7 DOG A $199.99
WB49 Insulated Water Bucket 34 HOR C $79.99

FIGURE
INVOICES1-2 Sample data for KimTay INVOICE_LINE
Pet Supplies
INVOICE_NUM INVOICE_DATE CUST_ID INVOICE_NUM ITEM_ID QUANTITY QUOTED_PRICE
14216 11/15/2021 125 14216 CA75 3 $37.99
14219 11/15/2021 227 14219 AD72 2 $79.99
14222 11/16/2021 294 14219 DT12 4 $39.99
Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
14224
Editorial review has deemed 11/16/2021
that any suppressed content does not materially182
affect the overall learning
14222experience. CengageLD14 $47.99
Learning reserves the right to1remove additional content at any time if subsequent rights restrictions require it.
PF19 Pump & Filter Kit 5 FSH A $74.99
QB92 Quilted Stable Blanket 32 HOR C $119.99
SP91 Small Pet Carrier 18 CAT B $39.99
UF39 Introduction
Underground to KimTay
Fence System Pet Supplies
7 and StayWell
DOG A Student Accommodation
$199.99 Databases 5
WB49 Insulated Water Bucket 34 HOR C $79.99

INVOICES INVOICE_LINE
INVOICE_NUM INVOICE_DATE CUST_ID INVOICE_NUM ITEM_ID QUANTITY QUOTED_PRICE
14216 11/15/2021 125 14216 CA75 3 $37.99
14219 11/15/2021 227 14219 AD72 2 $79.99
14222 11/16/2021 294 14219 DT12 4 $39.99
14224 11/16/2021 182 14222 LD14 1 $47.99
14228 11/18/2021 435 14224 KH81 4 $18.99
14231 11/18/2021 125 14228 FS42 1 $124.99
14233 11/18/2021 435 14228 PF19 1 $74.99
14237 11/19/2021 616 14231 UF39 2 $189.99
14233 KH81 1 $19.99
14233 QB92 4 $109.95

FIGURE 1-2 Sample data for 14233 WB49 4 $74.95

KimTay Pet Supplies (Continued) 14237 LP73 3 $54.95

In the SALES_REP table, you see that there are four reps, whose ID values are
05, 10, 15, and 20. The name of sales rep 05 is Susan Garcia. Her street address is
42 Mountain Ln. She lives in Cody, WY, and her postal code is 82414. Her cell phone
­number is 307-824-1245. Her total commission is $12,743.16, and her commission rate
is 0.04 (four percent).
In the CUSTOMER table, 12 KimTay Pet Supplies customers are identified with
the ID values of 126, 182, 227, 294, 314, 375, 435, 492, 543, 616, 721, and 795. The
name of customer number 126 is Joey Smith. This customer’s address is 17 Fourth St in
Cody, WY, with a postal code of 82414. The e-mail address of the customer is jsmith17@
example.com. The customer’s current balance is $80.68, and their credit limit is $500.00.
The value 05 in the REP_ID column indicates that Joey Smith is represented by sales rep
05 (Susan Garcia).
In the table named ITEM, you see that there are 15 items, whose item ID values are
AD72, BC33, CA75, DT12, FM23, FS39, FS42, KH81, LD14, LP73, PF19, QB92, SP91,
UF39, and WB49. Item AD72 is a Dog Feeding Station, and KimTay Pet Supplies has
12 units of this item on hand. The Dog Feeding Station item is in the DOG category, and it
is located in area B. The price of the Dog Feeding Station is $79.99. Other categories are
BRD (bird), CAT, FSH (fish), and HOR (horse).
In the table named INVOICES, you see that there are eight invoices which are
­identified with the numbers 14216, 14219, 14222, 14224, 14228, 14231, 14233, and
14237. Invoice number 14216 was placed on November 15, 2021, by customer 125
(Joey Smith).
The table named INVOICE_LINE might seem strange at first glance. Why do you
need a separate table for the invoice lines? Could they be included in the INVOICES
table? The answer is technically yes. You could structure the table named INVOICES
as shown in Figure 1-3. Notice that this table contains the same invoices as shown in
Figure 1-2, with the same dates and customer ID numbers. In addition, each table row in
Figure 1-3 contains all the invoice lines for a given invoice. Examining the second row,
for example, you see that invoice 14219 has two invoice lines. One of the invoice lines is
for 2 units of item AD72 at $79.99 each, and the other invoice line is for 4 units of item
DT12 at $39.99 each.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
6 Module 1

Q&A
Question: How is the information from Figure 1-2 represented in Figure 1-3?
Answer: Examine the INVOICE_LINE table shown in Figure 1-2 and note the second and third rows.
The second row indicates that there is an invoice line on invoice 14219 for 2 units of item AD72 at
$79.99 each. The third row indicates that there is an invoice line on invoice 14219 for 4 units of item
DT12 at $39.99 each. Thus, the information that you find in Figure 1-3 is represented in Figure 1-2 in
two separate rows rather than in one row.

It might seem inefficient to use two rows to store information that could be rep-
resented in one row. There is a problem, however, with the arrangement shown in
Figure 1-3—the table is more complicated. In Figure 1-2, there is a single entry at each

INVOICES
INVOICE_NUM INVOICE_DATE CUST_ID ITEM_ID QUANTITY QUOTED_PRICE

14216 11/15/2021 125 CA75 3 $37.99

14219 11/15/2021 227 AD72 2 $79.99


DT12 4 $39.99
14222 11/16/2021 294 LD14 1 $47.99

14224 11/16/2021 182 KH81 4 $18.99

14228 11/18/2021 435 FS42 1 $124.99


PF19 1 $74.99

14231 11/18/2021 125 UF39 2 $189.99

14233 11/18/2021 435 KH81 1 $19.99


QB92 4 $109.95
WB49 4 $74.95

14237 11/19/2021 616 LP73 3 $54.95

FIGURE 1-3 Alternative INVOICES table structure

location in the table. In Figure 1-3, some of the individual positions within the table
contain multiple entries, making it difficult to track the information between columns.
In the row for invoice number 14219, for example, it is crucial to know that the AD72
corresponds to the 2 in the QUANTITY column (not to the 4) and that it corresponds
to the $79.99 in the QUOTED_PRICE column (not to the $39.99). In addition, a more
complex table raises practical issues, such as the following:
• How much room do you allow for these multiple entries?
• What happens when an invoice has more invoice lines than you have allowed
room for?
• For a given item, how do you determine which invoices contain invoice lines
for that item?
Although none of these problems is unsolvable, they do add a level of complexity that
is not present in the arrangement shown in Figure 1-2. In Figure 1-2, there are no multiple
entries to worry about, it does not matter how many invoice lines exist for any invoice,
and finding every invoice that contains an invoice line for a given item is easy (just look

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Introduction to KimTay Pet Supplies and StayWell Student Accommodation Databases 7

for all invoice lines with the given item number in the ITEM_ID column). In general, this
simpler structure is preferable, and that is why invoice lines appear in a separate table.
To test your understanding of the KimTay Pet Supplies data, use Figure 1-2 to answer
the following questions.

Q&A
Question: What are the customer ID values of the customers represented by Susan Garcia?
Answer: 125, 375, 543, and 795. (Look up the REP_ID value of Susan Garcia in the SALES_REP table
and obtain the value 05. Then find all customers in the CUSTOMER table that have the value 05 in the
REP_ID field.)

Q&A
Question: What is the name of the customer that placed invoice 14222, and what is the name of the
sales rep who represents the customer?
Answer: Samantha Smith is the customer, and Richard Miller is the sales rep. (Look up the CUST_ID
value in the INVOICES table for invoice 14222 and obtain the ID value 294. Then find the customer
in the CUSTOMER table with the CUST_ID value of 294. Using the REP_ID value, which is 10,
find the name of the sales rep in the SALES_REP table.)

Q&A
Question: List all items that appear in invoice 14228. For each item, give the description, quantity
ordered, and quoted price.
Answer: Item ID: FS42; description: Aquarium (55 Gallon); quantity ordered: 1; and quoted
price: $124.99. Also, item ID: PF19; description: Pump & Filter Kit; quantity ordered: 1; and quoted
price: $74.99. (Look up each INVOICE_LINE table row on which the invoice number is 14228.
Each of these rows contains an item ID, quantity ordered, and quoted price. Use the item ID to look up
the corresponding item description in the ITEM table.)

Q&A
Question: Why is the QUOTED_PRICE column in the INVOICE_LINE table? Can’t you just use the
item ID and look up the price in the ITEM table?
Answer: If the QUOTED_PRICE column did not appear in the INVOICE_LINE table, you would need
to obtain the price for an item on an invoice line by looking up the price in the ITEM table. Although
this approach is reasonable, it prevents KimTay Pet Supplies from charging different prices to different
customers for the same item. Because KimTay Pet Supplies wants the flexibility to quote and charge
different prices to different customers, the QUOTED_PRICE column is included in the INVOICE_LINE
table. If you examine the INVOICE_LINE table, you will see cases in which the quoted price matches
the actual price in the ITEM table, and cases in which it differs. For example, in invoice number 14216,
Joey Smith bought three Enclosed Cat Litter Stations, and KimTay Pet Supplies charged only $37.99
each, not the regular price of $39.99.

Copyright 2021 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Other documents randomly have
different content
Ja samalla kuin hänen pienet harmaat silmänsä äkkiä välähtivät
kuin metsästyskoiran silmät, hän osotti minulle kahta arvoisaa
olentoa, jotka juuri kohosivat näkyviin Valérien-vuoren rinteellä.

Todellakin oiva Daumier-pilakuva! Miehellä pitkä kastanjanvärinen


takki, kaulus vihervää samettia, joka näytti metsän vanhasta
sammalesta valmistetulta; muuten mies laiha, pieni, punakka, otsa
matala, silmät ymmyrkäiset, nokka kuin pöllöllä. Kurttuinen
linnunpää, tyhmänjuhlallinen ilme. Lopuksi kukikas kaislakori, josta
pisti esiin pullon pitkä kaula, ja toisessa kädessä säilykerasia,
tuollainen iänikuinen läkkipeltirasia, jollaista pariisilaiset eivät enää
voi nähdä ajattelematta viisikuukautista saarrostaan… Vaimosta ei
aluksi näkynyt muuta kuin jättiläismäinen röyhyhattu ja vanha shaali,
joka kietoi häntä tiukasti päästä jalkoihin ikäänkuin selvästi
tuodakseen ilmi hänen raihnaisuutensa. Silloin tällöin vilahti hänen
hattunsa kuihtuneitten poimutusten välistä terävä nenänkärki ja
muutamia harmaantuneita hiusten haituvia.

Saavuttuaan tasangolle mies pysähtyi hengähtääkseen ja


kuivatakseen hikeä otsaltaan. Tosin täällä ylhäällä ei suinkaan ollut
lämmin näin marraskuun lopulla usvassa, mutta hehän olivat
kulkeneet niin nopeasti…

Vaimopa ei pysähtynytkään. Käyden suoraan valliporttia kohti hän


katseli meitä tuokion epäröiden, juurikuin hän haluaisi puhutella
meitä. Mutta nähtävästi upseerikalunain pelottamana hän
mieluummin kääntyi vahtisoturin puoleen, ja minä kuulin hänen
arasti pyytävän saada nähdä poikaansa, joka kuului Pariisin
mobiliväen siihen ja siihen osastoon.

"Odottakaa täällä, sanoi vahtisoturi, minä käyn kutsuttamassa


hänet."
Perin iloisena, helpotuksesta huoahtaen, vaimo kääntyi miehensä
luo; ja molemmat kävivät istumaan syrjään vallipengermälle.

He saivat siinä vartoa kauan. Tuo Valérien-vuorihan on niin avara,


niin täpösen täynnä pihoja, rintavarustuksia, vallinsarvia, kasarmeja,
ampumasuojuksia! Meneppäs sitten sinne etsimään jotakin sen ja
sen sotilasosaston nostomiestä tuosta sokkeloisesta kaupungista,
joka vaappuu maan ja taivaan välillä ja kiemurtelee korkealle pilvien
keskelle kuin Laputan saari. Puhumattakaan siitä että tällä erällä
koko linnoitus oli täynnä rummunpärinää, sotatorvien soittoa,
juoksentelevia sotilaita ja kalisevia kenttäleilejä. Vahdin vaihto,
työkuntain vuorotus, ruokatarpeiden jakelu, verta vuotava vakooja,
jota tarkk'ampujat tyrkkivät edellään pyssynperillä, Nanterren
talonpoikia, jotka tulevat valittamaan kenraalille, nelistävä
pikalähetti, paleltunut sotamies, vasta teurastettu nauta,
sairaskoreja, jotka saapuvat etuvartiosta tuoden haavoitettuja, jotka
vaappuvat koreissa muulien kupeilla ja hiljaa ähkivät kuin kipeät
karitsat, merimiehiä raahaamassa uutta kanunaa vihellyspillin ja
"hej, hoj" huutojen tahdissa, linnoituksen karja, jota punahousuinen
paimen ajaa edellään, pitkä raippa kädessä, kiväri olkanauhassa: —
kaikki tämä myllerrys tulee, menee, kulkee ristiin pihoilla ja työntyy
valliportin holviin ikäänkuin jonkun itämaisen karavanimajatalon
matalan porttiholvin aukkoon.

"Kunhan vain eivät unhottaisi poikaani!" puhuivat täll'aikaa äiti


raukan silmät; ja joka viiden minutin päästä hän nousi, lähestyi
varovasti sisäänkäytävää ja heitti salaisen silmäyksen etupihaan
väistäen muuria, mutta hän ei rohjennut enää kysellä mitään,
peläten siten saattavansa poikansa naurunalaiseksi. Mies taas, ollen
vieläkin arempi kuin hän, ei liikahtanutkaan nurkastaan; ja joka kerta
kuin vaimo palasi paikalleen sydän pakahduksissa, masentunein
ilmein, nähtiin, kuinka mies torui häntä hänen
kärsimättömyydestänsä ja kuinka hän hänelle juurta jaksain selitteli
palvelusvelvollisuuksia menetellen kuin vähäjärkinen, joka tahtoo
tulla ymmärretyksi.

Minua ovat alati suuresti huvittaneet tuollaiset vaiteliaat ja


luottamukselliset pikku kohtaukset, jotka kyllä voi arvata
näkemättänsäkin, nuo mykät eleet kadulla, kun sievästi kosketetaan
kyynärpäällä ohi kulkiessa ja pienellä liikkeellä paljastetaan
kokonainen maailma asioita; mutta tällä kertaa herätti
mielenkiintoani etusijassa henkilöitteni suunnaton yksinkertaisuus, ja
tunsinpa todellista liikutusta seuratessani tarkoin heidän eleitään,
joissa niin ilmehikkäästi ja selvästi kuvastuivat heidän mielentilansa
vivahdukset ja koko pienen perhenäytelmän vaiheet.

Näin hengessäni äidin jonakin kauniina aamuna mietiskelevän


itsekseen:

"Minua ikävystyttää tuo kenraali Trochu kaikkine määräyksineen…


Enhän ole saanut kolmeen kuukauteen nähdä lastani… Tahdon
lähteä syleilemään häntä."

Arka ja typerä isä, kammoen luvan saamiseen tarvittavia puuhia,


koettaa heti järkisyillä estellä häntä.

"Mutta ajattelehan toki, kultaseni. Tuo Valérien-vuorihan on vallan


hornassa! Miten aiot mennä sinne ajoneuvoitta? Muutenkin, sehän
on linnoitus, jonne naiset eivät pääse sisälle."

"Kyllä minä menen", sanoi äiti; ja kun mies teki kaikki mitä vaimo
tahtoi, niin hän nytkin lähti liikkeelle ja kulki piiripäällikön,
pormestarin, esikunnan ja komisariuksen luona, pelosta hikoillen,
vilusta jähmettyen, tunkeutuen kaikkialle, erehtyen ovissa, viipyen
pari tuntia ihmisjonossa jonkun viraston edessä huomatakseen sitten
ettei se ollutkaan oikea paikka. Vihdoinkin hän palajaa iltasella
taskussaan kuvernöörin lupakirja… Huomenna he nousevat ajoissa
aamukylmään ja sytyttävät lampun. Mies pureksii lämpimikseen
leipäkyrsää, mutta vaimolla ei ole nälkä. Hän tahtoo mieluummin
murkinoida poikansa kera vuorella. Ja ravitakseen kerrankin oikein
ruhtinaallisesti nostomies parkaa hän latoo kaislakoriin aika kasan
piiritykseltä säästyneitä ruokatavaroita, suklaatia, makeisia, vanhaa
viiniä y.m. kahdeksan frangin arvoiseen säilykerasiaan saakka, jota
oli talletettu huolellisesti suurimman puutteen varalle. Sitten
lähdetään. Kun he saapuvat kaupungin muurin luo, on heidän
päästävä portista ulos. Heidän täytyy näyttää lupakirja. Vaimoa
pelottaa jo kovasti… Mutta ei hätää! Lupakirja on laillisessa
kunnossa.

"Laskekaa menemään!" sanoo vahtipäällikkö.

Silloin vaimo itsekseen huoahtaa:

"Olipa se todella kelpo mies, tuo upseeri."

Ja kepeästi kuin peltokana hän sipsuttelee eteenpäin. Mies töin


tuskin pysyy rinnalla:

"Kovinpa sinä kiiruhdat, kultaseni!"

Mutta vaimo ei kuuntele häntä. Tuolta ylhäältä näköpiirin siinnosta


viittaa hänelle Valérien-vuori:

"Tulkaa nopeasti… poikanne on täällä."

Ja nyt, kun he ovat jo saapuneet perille, on edessä uusi huoli.


Jollei häntä tavattaisikaan! Jos hän on mennytkin palajamatta!…

*****

Äkkiä minä näin vaimon hätkähtävän, tarttuvan miehensä


käsivarteen ja hypähtävän pystyyn… Kaukaa valliportin holvista hän
oli tuntenut poikansa askeleet.

Se oli hän!

Kun hän näyttäytyi, kirkastui samalla koko linnoituksen etusivu.

Toden totta, komea poika! täynnä ryhtiä, rensseli selässä, kiväri


kädessä… Hän lähestyi vanhuksia avoimin katsein ja virkkoi
miehekkäällä ja iloisella äänellä:

"Päivää, äitiseni."

Ja kohtapa rensseli, päällysvaippa, kiväri, sanalla sanoen koko


mies peittyi äidin röyhyhatun alle. Vihdoin tuli isänkin vuoro, mutta
se ei ollut pitkä. Röyhyhattu vaati kaikki itsellensä. Se oli
kyllästymätön…

"Kuinka voit?… Onko sinulla hyvät tamineet?… Miten on


liinavaatteittesi laita?"

Ja hatun röyhyreunojen alta huomasin äärettömän hellyyden


katseen, jolla hän mittaili poikaansa päästä jalkoihin saakka, samalla
suudellen, itkien ja naurahdellen yht'aikaa; äidillisen rakkauden
kolmekuukautisen säästön hän nyt maksoi yhdellä kertaa. Isä oli
perin liikutettu hänkin, mutta hän ei tahtonut sitä ilmaista. Hän
ymmärsi meidän katselevan heitä ja vilkutti silmää meihin päin
ikäänkuin sanoakseen meille:
"Suokaa anteeksi… hänhän on nainen."

Tietysti me sen soimme anteeksi!

Silloin torventoitotus äkkiä rikkoi tämän suloisen riemun.

"Se on merkkisoitto", sanoi poika. "Minun täytyy mennä."

"Kuinka, etkö siis murkinoi kanssamme?"

"Ei käy päinsä. Minä en voi. Olen vahdissa neljäksikolmatta


tunniksi ylhäällä linnoituksessa."

"Oh", pääsi vaimo paralta; eikä hän kyennytkään virkkamaan sen


enempää.

Hetkisen he kaikki kolme katselivat liikkumatta toisiaan


hämmästynein ilmein. Vihdoin sai isä sananvuoron:

"Otahan toki mukaasi säilykerasia", sanoi hän tuskallisella äänellä,


ja hänen ilmeensä, joka johtui hukkaan menneestä herkuttelusta, oli
samalla liikuttava ja naurettava. Mutta kas kun tuossa hyvästelyjen
hämmingissä ja liikutuksessa ei enää löydettykään tuota peijakkaan
purkkia; ja kävipä todella sääliksi nähdä heidän käsiensä kuumeisesti
vavisten etsivän ja hapuilevan sitä ja kuulla noita kyynelten
keskeyttämiä ääniä, jotka kyselivät: "rasia, missä on rasia?" ja
kainostelematta sekoittivat tämän vähäpätöisen talousasian heidän
suureen tuskaansa… Kun rasia vihdoin löytyi, seurasi viimeinen pitkä
syleily, jonka jälkeen poika juoksujalkaa palasi linnoitukseen.

Kuvitelkaahan, kuinka he olivat saapuneet kaukaa tätä ateriaa


varten, josta he aikoivat laittaa suuren perhejuhlan, kuinka äiti ei
ollut yökausiin nukkunut; ja sanokaahan sitten, tiedättekö mitään
tuskallisempaa kuin on tuollainen pettymys, tuollainen paratiisin
sopukka, joka jo puoliksi avattuna niin julmasti jälleen suljetaan.

Vanhukset odottelivat vielä jonkun aikaa liikkumatta paikallaan,


silmät yhäti tähdättyinä tuohon porttiholviin, jonne heidän poikansa
oli kadonnut. Vihdoin mies ravistihe, teki puolikäännöksen, rykäisi
kelpo lailla pari kolme kertaa ja varmisti ääntänsä:

"Lähtekäämme liikkeelle, muoriseni!" virkkoi hän ääneen ja


reippaasti. Jonka jälkeen hän komeasti tervehti meitä hyvästiksi ja
tarttui eukkonsa käsivarteen… Seurasin heitä silmilläni tien mutkaan
saakka, Mies oli raivoissaan. Hän heilutteli koriaan epätoivoisin
liikkein… Vaimo sen sijaan näytti tyynemmältä. Hän käveli miehensä
sivulla allapäin, kädet riipuksissa. Mutta silloin tällöin olin
huomaavinani shaalin suonenvedon tapaisesti tutisevan hänen
kapeilla hartioillaan.

Maalaiset Pariisissa.

Piirityksen aikana.

Champrosayssa nuo ihmiset olivat perin onnellisia. Heidän


takapihansa oli aivan ikkunaini alla, ja kuuden kuukauden aikana
vuodessa heidän elämänsä oli hiukkasen kosketuksissa minun
elämäni kanssa. Varhain aamusella kuulin miehen menevän talliin,
valjastavan rattaittensa eteen ja lähtevän Corbeiliin myömään
vihanneksiaan; sitten nousi vaimo, puki lapset, kutsui kanat
syömään, lypsi lehmän, ja pitkin aamupäivää riitti suurten ja pienten
puukenkäin kopinaa puuportaissa… Puolipäivän jälkeen seurasi
hiljaisuus. Isä oli vainiolla, lapset koulussa, äiti äänetönnä pihalla
joko levittämässä pesuvaatteita kuivamaan tai ompelemassa ovensa
edessä, pitäen silmällä pienintä lastaan. Aika ajoin sattui tielle joku
ohikulkija, jonka kera hän neulaansa pistellen jutteli…

Kerran elokuun, tuon vaiherikkaan elokuun lopulla kuulin vaimon


virkkavan naapurilleen:

"Todellako, preussilaiset?… Ovatko he jo Ranskassa, mitä?"

"He ovat Châlons'issa, rouva Jean!…" huusin hänelle ikkunastani.


Sekös häntä kovasti nauratti… Tässä pienessä Seine ja Oise jokien
kolkassa talonpojat eivät tietysti uskoneet vihollisen maahantuloa.

Joka päivä kuitenkin nähtiin menevän tavaroilla kuormitettuja


ajoneuvoja. Porvarien talot sulkeutuivat, ja tässä kauniissa kuussa,
jolloin päivät ovat niin pitkiä, puutarhat herkesivät kukkimasta,
pysyen autioina ja kolkkoina suljettujen ristikkoporttiensa takana…
Vähitellen naapurinikin joutuivat liikkeesen. Jokainen uusi
maaltamuutto koski heihin kipeästi. He tunsivat itsensä hylätyiksi…
Sittenpä eräänä aamuna kuului rummunpärrytys kylän neljältä
kulmalta. Kylähallinnon käsky! Oli mentävä Pariisiin myömään
lehmänsä, rehunsa, ettei jäisi mitään preussilaisille… Mies lähtikin
Pariisiin, ja se oli surkea matka. Valtatien kivityksellä seurasivat
raskaat majanmuuttovankkurit jonossa toisiaan, ja samassa
mylläkässä kulkivat siat ja lampaat, jotka kirmailivat pyörien välissä,
ja kytketyt härät, jotka ankarasti mylvivät; tien laidalla ravien varsilla
patikoi ihmispoloisia, työntäen edellään pieniä käsikärryjä, jotka
olivat täynnä vanhanaikuisia huonekaluja, haalenneita nojatuoleja,
empiiripöytiä, persialaisella kankaalla verhottuja peilejä, ja selvästi
näkyi, että ainoasti pakoittava hätä oli saattanut heidät asunnoistaan
liikuttelemaan kaikkia noita tomuisia kaluja, siirtämään paikoiltaan
kaikkia noita perhekalleuksia ja raahaamaan niitä roukkiossa pitkin
valtateitä.

Pariisin porteilla nousi tie pystyyn. Täytyi odottaa pari tuntia…


Täll'aikaa miesparkamme, litistettynä lehmäänsä vasten, katseli
pelolla ja vavistuksella kanunain ampumareikiä, veden täyttämiä
vallihautoja, kaikkialta näkyviä linnoituksia ja pitkiä italialaisia
poppelipuita, jotka kaadettuina ja karisseina viruivat tien ohessa…
Iltasella hän palasi sieltä typertyneenä ja kertoi vaimolleen kaikki
näkemänsä. Vaimolle tuli pelko, hän tahtoi lähteä jo huomispäivänä.
Mutta huomisesta toiseen lähtö yhä viivästyi. Oli korjattava viljaa, oli
vielä muokattava jotakin maapalasta… Kukapa tietää, vaikka vielä
ennättäisi korjata viinisadonkin?… Ja kytipä lisäksi sydämen
sopukassa toivonkipinä, että kenties preussilaiset eivät osukaan tälle
seudulle.

Eräänä yönä he heräsivät hirmuisesta pamauksesta. Corbeilin silta


räjähti silloin ilmaan. Kylässä kiiruhti ihmisiä ovelta ovelle kolkuttaen:

"Ulanit! ulanit! pelastakaa itsenne!"

Silloinpa noustiin äkkiä, valjastettiin kärryt, puettiin


unenpöpperöiset lapset, ja niin lähdettiin pakoon oikotietä
muutamain naapurein kera. Kun he ennättivät nousta mäelle, löi
kello kolme. He kääntyivät viimeisen kerran ympäri. Juottopaikka,
kirkkotori, heidän tavalliset tiensä, sekä Seinelle laskeutuva että
viinitarhain välissä kiemurteleva — kaikki ne jo näyttivät heistä
vierailta, ja aamun vaaleassa huurussa hylätty kyläpahanen
puristautui talo taloa vastaan ikäänkuin hirveästä odotuksesta
väristen.

*****
He ovat nyt Pariisissa. Asuntona on heillä kaksi huonetta
neljännessä kerroksessa kolkon kadun varrella… Miehellä ei ole
suurtakaan hätää. Hänelle on keksitty sopivaa työtä; hän näet
kuuluu kansalliskaartiin, hän oleksii varustuksilla ja harjoituksissa ja
touhuaa parhaansa mukaan unohtaakseen tyhjän aittansa ja
kylvämättömän niittynsä. Vaimo, ollen arempaa luonnetta, on
huolissaan, ikävöi eikä tiedä mitä tehdä. Hän on pannut kaksi
vanhinta tyttöänsä kouluun, ja kolkossa puutarhattomassa
koulutalossa nuo tytöntypykät tuntevat tukehtuvansa muistellessaan
hauskaa maalaista luostarikoulua, joka pörisi iloisesti kuin
mehiläispesä, ja puolen peninkulman matkaa, joka oli tehtävä
metsän halki joka aamu kouluun mennessä. Äiti kärsii nähdessään
heidät alakuloisina, mutta varsinkin pikku poikanen tekee hänet
levottomaksi.

Maalla kotona poikanen näet liikkui vapaasti, seuraten äitiään


kaikkialla pihalla ja talossa, harpaten kynnyksen yli yhtä monesti
kuin äitikin, liottaen pieniä ruskettuneita kätösiään lipeäsoikossa ja
istuen oven vieressä äidin virkatessa lepotöikseen. Täällä sen sijaan
oli neljä kerrosta kiivettävänä, pimeät portaat, joissa jalat
kompastelivat, kurjat tulennokset ahtaissa kamineissa, ikkunat
korkealla, näköpiiri täynnä harmaata savua ja märkiä liuskekattoja…

Olihan tosin piha, jossa poikanen olisi voinut leikkiä; mutta


portinvartijatar ei sitä sallinut. Nekin niitä kaupunkilaiskeksintöjä,
mokomat portinvartijattaret! Tuolla maalla kotikylässä kukin on
isäntä talossaan, ja kullakin on pieni kolkkansa, joka itse vartioi
itsensä. Pitkin päivää asunto siellä on auki; iltasella työnnetään
eteen suuri puinen kääntösalpa, ja koko talo vaipuu pelotta tuohon
pimeään maaseudun yöhön, jossa uni maistuu niin makealta. Aika
ajoin haukahtaa koira kuutamossa, mutta se ei häiritse ketään…
Pariisin poloisissa taloissa näkyy sen sijaan portinvartijatar olevan
talon todellinen omistaja. Poikanen ei uskalla yksin mennä alas, niin
kovasti hän pelkää tuota ilkeää akkaa, joka on pakoittanut heidät
myömään vuohensa sillä tekosyyllä, että se muka kuljetti oljenkorsia
ja likaa pihan kivitykselle.

Huvittaakseen ikävystynyttä lasta äiti raukka koettaa keksiä jos


jotakin. Heti syönnin jälkeen hän vaatettaa pojan juurikuin vainioille
menoa varten ja taluttaa häntä kädestä kaduilla pitkin bulevardeja.
Hämmästyneenä, kömpelönä, pää pyörällä lapsi tuskin katseleekaan
ympärilleen. Hevoset yksistään jaksavat herättää hänessä
mielenkiintoa; nepä ne ovatkin ainoa seikka, jonka hän tuntee ja
joka panee hänet hymyilemään. Eipä äitiäkään mikään näy
huvittavan. Hän kävelee hitaasti ajatellen omaisuuttaan ja taloaan, ja
kun näkee heidän kulkevan kahden, äidin ujona ja säädyllisenä,
siistissä puvussa, hiukset sileinä, ja poikasen pyöreänä palleroisena
paksuine puuanturoineen, niin helposti arvaa, että he ovat kotoaan
poistuneita, pakolaisia, ja että he kaikesta sydämestään kaipaavat
kotikylänsä raikasta ilmaa ja väljiä tanhuoita.

Ranskan keijukaiset.

Kuviteltu jutelma.

"Syytetty, nouskaa!" sanoi puheenjohtaja.

Petrolinaisten löyhkävällä penkillä syntyi liikettä, ja jokin muodoton


olio astui kalisevin hampain aitauksen ääreen. Sen muodosti kasa
riepuja, reikiä, paikkauksia, purjelankaa, vanhoja kukkia, vanhoja
sulkatöyhtöjä ja niiden sisällä kurja kuihtunut olento, ruskettunut,
kurttuinen, halkeillut, jonka pienet mustat silmät vilahtelivat
kurttujen keskestä kuin sisilisko vanhan muurin raosta.

"Mikä on nimenne?" kysyttiin häneltä.

"Mélusine."

"Kuinka sanoitte?"…

Nainen vastasi perin vakavasti:

"Mélusine."

Tuuheain rakunaöverstin viiksiensä peitossa puheenjohtaja


hymyili, mutta jatkoi kuitenkin silmiään räpäyttämättä:

"Ikänne?"

"En muista enää."

"Ammattinne?"

"Olen keijukainen!…"

Silloinpa kuulijat, neuvosto, itse hallituksen komisariuskin, koko


yleisö purskahti valtaiseen nauruun; mutta se ei häntä vähääkään
häirinnyt, ja suppealla äänellään, joka oli kirkas ja kimakka sekä
kantoi salissa kauas, väreillen kuin joku utuinen unisävel, vanha
nainen jatkoi:

"Ah, Ranskan keijukaiset, missä ne ovat? Kaikki jo kuolleet, hyvät


herrat. Minä olen viimeinen; ei ole muita jälellä kuin minä… Todella
suuri vahinko, sillä Ranska oli paljoa kauniimpi silloin kun sillä vielä
oli keijukaisensa. Mehän olimme maan runous, sen kunnia, sen
rehellisyys, sen nuoruus. Kaikki ne paikat, joissa me oleskelimme,
tiheäpensaisten puistojen perukat, lähteitten kivet, vanhain linnain
pikkutornit, usvaiset lammet ja suuret rämeiset nummet täytti
meidän läsnäolomme tenhoisalla lumollaan. Tarinain haaveellisessa
valossa nähtiin meidän liikkuvan vähän kaikkialla hulmutellen
helmojamme kuutamossa tai karkeloiden niityillä ruohojen päällitse.
Maalaiset rakastivat ja kunnioittivat meitä.

"Yksinkertaisen rahvaan mielikuvituksessa helmillä seppelöidyt


otsamme, taikasauvamme ja loihditut värttinämme vaikuttivat jonkun
verran pelkoa ihailun ohella. Lähteemmekin pysyivät aina kirkkaina.
Aurat pysähtyivät vartioimillemme teille; ja koska me pidimme
arvossa kaikkea vanhaa, me, maailman vanhimmat olennot, niin
annettiin Ranskan toisesta laidasta toiseen metsien rauhassa kasvaa,
kivien itsestään vieriä.

"Mutta aika on muuttunut. Rautatiet ovat tulleet. Tunneleja on


koverrettu vuoriin, lammet täytetty ja puut hakattu niin tarkkaan,
että tuskin olemme enää tienneet, missä oleskella. Vähitellen ovat
talonpojatkin herenneet uskomasta meihin. Kun kolkutimme iltasin
heidän ikkunaluukkuihinsa, sanoivat he: 'Se on tuuli', ja nukahtivat
jälleen. Vaimot tulivat pesemään pyykkiänsä meidän
lammikoissamme. Siitä lähtien olemme mennyttä kalua. Koska me
elimme ainoasti rahvaan herkkäuskoisuudesta, niin sen
kadottaessamme olemme kaikki kadottaneet. Taikasauvojemme
voima on haihtunut, ja mahtavista kuningattarista, jollaisia olimme,
on tullut vanhoja akkoja, kurttuisia ja ilkeitä kuten konsanaan
unhoon jääneet keijukaiset; täten oli meidän hankittava leipämme
käsillä, jotka eivät osanneet tehdä mitään. Jonkun aikaa nähtiin
meidät metsissä raahaamassa kuivia risukuormia tai kokoamassa
tähkäpäitä teiden varsilla. Mutta metsänvartijat olivat meille vihaisia,
talonpojat heittivät meitä kivillä. Silloin me kuten muutkin raukat,
jotka eivät enää kykene hankkimaan elatustaan maaseudulla,
lähdimme hakemaan työtä suurista kaupungeista.

"Toiset meistä menivät kehruutehtaihin. Toiset ovat myöneet


omenia talvella siltain kulmissa tai rukousnauhoja kirkkojen ovilla.
Me työntelimme edellämme hedelmäkärryjä, me ojensimme
ohikulkijoille viiden pennin kukkakimppuja, joita kukaan ei ostanut.
Lapset pilkkasivat tutisevia leukojamme, poliisit ahdistelivat meitä, ja
raitiovaunut ajoivat meidät kumoon. Entäpä taudit, puutteet,
vaivaistaloon joutuminen… Kas siten on Ranskanmaa jättänyt kaikki
keijukaisensa kuolemaan. Mutta onpa se siitä saanut kelpo
rangaistuksenkin!

"Niin, niin, naurakaa vaan, hyvät ihmiset. Sill'aikaa tulemme


näkemään miten käy maalle, jolla ei ole enää keijukaisia.
Olemmehan kaikki nähneet noiden hyvin syötettyjen ja irvisteleväin
talonpoikain avaavan hinkalonsa preussilaisille ja neuvovan heille
tiet. Kas niin! Talonpoika ei enää uskonut taikuuteen; mutta vielä
vähemmin hän uskoi isänmaahan… Ah! olisimmepa vain me olleet
siellä, me muut, niin ei kaikista noista saksalaisista, jotka ovat
tunkeuneet Ranskaan, yksikään olisi päässyt elävänä. Haltiamme ja
virvatulemme olisivat johtaneet heidät nieleviin nevoihin. Kaikkiin
noihin kirkkaihin lähteihin, jotka kantoivat nimeämme, me olisimme
sekoittaneet taikajuomaa, joka olisi tehnyt heidät hulluiksi; ja
kokouksissamme kuunvalossa me olisimme loitsimalla niin hyvin
sotkeneet tiet ja joet, niin hyvin kietoneet viidakoilla ja pensailla
puiden tyvet, joiden suojassa he alituisesti piileskelivät, ett'eivät edes
hra Moltken pienet kissansilmät olisi koskaan voineet sieltä selviytyä.
Maalaiset olisivat marssineet meidän kanssamme. Lampiemme
suurista kukista me olisimme valmistaneet voiteita haavoille,
maarianlangoista olisimme saaneet harsokangasta, ja
taistelutantereilla olisi kuoleva soturi nähnyt kotipuolensa keijukaisen
kumartuvan puoliksi sulkeuneitten silmiensä yli ja osottavan hänelle
metsikköä, tien mutkaa tai muuta sellaista, joka hänelle muistutti
kotiseutua. Sillä tavalla sitä käytäisiin oikeaa kansallissotaa, pyhää
sotaa. Mutta oi! maassa, joka ei enää usko, maassa, jolla ei enää ole
keijukaisia, sellainen sota ei ole mahdollinen."

Tässä tuo pieni kimeä ääni hetkiseksi taukosi, ja puheenjohtaja


virkkoi:

"Tuo kaikki ei selitä meille, mitä te teitte petrolilla, joka löydettiin


hallustanne sotamiesten vangitessa teidät."

"Minä sytyttelin sillä Pariisia, hyvä herra, vastasi vanhus perin


rauhallisesti. Minä sytyttelin Pariisia, koska vihaan sitä, koska se
nauraa kaikelle, koska juuri se on tappanut meidät. Pariisihan on
lähettänyt oppineita tutkimaan meidän kauniita ihmeellisiä
lähteitämme ja ilmoittamaan tarkalleen, miten paljon rautaa ja rikkiä
ne sisältävät. Taikatemppumme ovat muuttuneet leikinteon,
ihmetyömme pilan esineeksi, ja kaikkialla nähdään nykyään niin
usein rumia olentoja esiintyvän ruusunpunaisissa puvuissamme,
siivitetyissä vaunuissamme kuutamolla bengalitulen valossa, ettei
enää voida nauramatta ajatella meitä… Ennen aikaan pikkulapset
tunsivat meidät nimeltä, rakastivat meitä, pelkäsivätkin meitä
hiukan; mutta kaunisten, kultauksilla ja kuvilla täytettyjen kirjojen
sijasta, joista he oppivat tuntemaan meidän vaiheemme, Pariisi
nykyään on pannut heidän käteensä lastentajuista tiedettä, paksuja
nidoksia, joista ikävä kohoaa kuin harmaa tomu ja himmentää noilta
pikku silmiltä lumolinnamme ja taikapeilimme… Haa! olenpa todella
ollut tyytyväinen nähdessäni tuon Pariisinne loimuavan… Minä se
täytin petrolinaisten säiliöt, ja minä itse opastin heidät hyville
paikoille: 'Menkää, tyttäreni, polttakaa kaikki, polttakaa, polttakaa!…'

"Aivan varmaan tuo mummo on hullu", sanoi puheenjohtaja.


"Viekää hänet pois."

Ritarimerkki.

Ollessani kerran metsästysretkellä Algeriassa yllätti minut iltasella


hirveä rajuilma Chelif-joen lakeudella, muutamia peninkulmia
Orléansvillestä. Ei jälkeäkään kylästä tai karavanimajatalosta ollut
näkyvissä. Kaikkialla vain kääpiöpalmuja, pihkapuuviidakkoja ja
aavoja muokattuja peltomaita silmänkantamattomiin. Lisäksi Chelif-
joki, rankkasateen paisuttamana, alkoi pelottavasti kohista, ja vaara
oli tarjona että saisin viettää yöni vetelällä suolla. Onneksi Milianah'n
toimiston kohtelias tulkki, joka oli seuralaisenani, sattui muistamaan,
että aivan lähellä meitä syrjäisessä laaksossa asui muudan heimo,
jonka agan (päällikön) hän tunsi, ja me päätimmekin mennä
pyytämään tältä vieraanvaraisuutta yhdeksi yöksi.

Nämä tasangon arabialaiskylät ovat niin kaktuksien ja Berberian


viikunapuiden peitossa, niiden savihökkelit ovat rakennetut niin kiinni
maanpintaan, että olimme jo kylän keskellä sitä ollenkaan
huomaamatta. Lieneekö sen sitten vaikuttanut pimeä, sade tai tuo
suuri hiljaisuus?… Muuten tienoo näytti minusta kovin kolkolta, ja
tuntui kuin jokin raskas tuska olisi sen elämän lamannut.
Ympäröivillä vainioilla sato oli korjaamatta. Vilja, jyvät, kaikkialla
muualla jo korjatut, olivat vielä tuolla mädäntymässä paikalleen.
Äkeitä ja ruostuneita auroja oli unhotettu venymään sateesen. Koko
heimo näytti vaipuneen samankaltaiseen välinpitämättömään
suruun. Tuskinpa edes koiratkaan lähestyessämme haukahtivat. Aika
ajoin jonkun majan perältä kuului lapsen huutoja, ja viidakosta
vilahti jonkun nulikan keritty pää tai vanhuksen reikäinen vaippa.
Siellä täällä seisoi pieniä väriseviä aaseja pensaitten suojassa. Mutta
hevosista tai miehistä ei merkkiäkään… ikäänkuin olisi vieläkin ollut
suurten sotien aika ja kaikki ratsumiehet olisivat lähteneet jo
kuukausia sitten.

Agan talo, pitkähkö, valkoseinäinen ja ikkunaton rakennus, ei


näyttänyt toisia elävämmältä. Me tapasimme tallit avoinna, soimet ja
ruuhet tyhjinä, eikä ollut tallirenkiä ottamassa hevosiamme vastaan.

"Katsahtakaammepa maurilaiseen kahvilaan", sanoi seuralaiseni.

Maurilaiskahvilan nimellä kulkee arabialaisten päällikköjen


vastaanottosali; se on talossa ohikulkeville vieraille varattu huone,
jossa nuo kelpo moslemit, niin kohteliaina ja ystävällisinä, saavat
harjoittaa vieraanvaraisuushyveitänsä kaikella sillä kotoisella
sydämellisyydellä, johon tapa ja laki velvoittaa. Aga Si-Slimanin
maurilaiskahvila oli avoin ja hiljainen kuten hänen tallinsakin. Korkeat
kalkilla sivellyt seinät, asekoristeet, kamelikurjen sulat, matala leveä
sohva, joka kiersi salin ympäri — kaikki ne valuivat vettä
sadekuurojen kastelemina, joita tuulenpuuskat ajoivat ovesta
sisään… Kuitenkin oli kahvilassa ihmisiä. Ensiksi kahvinkeittäjä,
vanha, ryysyinen kabyli, käppyrässä pää polvien välissä lähellä
ylösalaisin kaadettua hiiliastiaa; sitten agan poika, kaunis ja kalpea
kuumetautinen lapsi, joka lojui sohvalla, kiedottuna mustaan
vaippaan, kaksi suurta ajokoiraa jaloissaan.
Meidän astuessa sisään ei kukaan liikahtanutkaan; korkeintansa
toinen koirista kohotti päätään, ja lapsi suvaitsi kääntää meihin
kauniit mustat kuumeen hiuduttamat silmänsä.

"Missä on Si-Sliman?" kysyi tulkki.

Kahvinkeittäjä teki päällään epämääräisen liikkeen, joka viittasi


kauas, hyvin kauas ilmanrannan taa… Me ymmärsimme siitä että Si-
Sliman oli lähtenyt jollekin pitkälle matkalle; mutta kun sade ei
sallinut meidän jatkaa tietämme, niin tulkki kääntyi agan pojan
puoleen ja sanoi hänelle arabiaksi, että olimme hänen isänsä ystäviä
ja pyysimme häneltä suojaa huomiseen saakka. Hetipä lapsi nousi
huolimatta taudista, joka poltti häntä, antoi määräyksensä
kahvinkeittäjälle, ja osottaen sitten meille sohvia kohteliain elein
juurikuin sanoakseen meille: "Te olette vierainani", hän tervehti
meitä arabialaisittain kumartunein päin sormisuukkosella sekä,
kääriytyen ylväästi viittaansa, poistui kaikella agan ja talon valtiaan
arvokkaisuudella.

Hänen mentyä kahvinkeittäjä sytytti jälleen hiiliastiansa, asetti sen


päälle kaksi pienenpientä keittoneuvoa, ja sill'aikaa kuin hän valmisti
meille kahvia, voimme me siepata häneltä muutamia erikoistietoja
hänen herransa matkasta ja siitä oudosta tilasta, jossa koko heimo
oli. Kabyli puhui nopeasti, vanhan akan eleillä, käyttäen kaunista
kurkunpääkieltä, joka milloin yltyi, milloin katkesi pitkään
äänettömyyteen, minkä aikana me kuulimme, kuinka sade putosi
sisäpihojen kivitykselle, keittokojeet sihisivät ja shakalit, joita
tuhatmäärin kierteli lakeudella, ulvoivat ulkona.

Kas näin oli käynyt Si-Sliman paralle. Neljä kuukautta aikaisemmin,


15 p:nä elokuuta [Napoleonin syntymäpäivänä. Napoleon aikoinaan
perusti kunnialegionan (1802).], hän oli saanut kunnialegionan
kuuluisan ritarimerkin, jota hänen oli jo niin kauan annettu odottaa.
Hän olikin maakunnan ainoa aga, jolla sellaista ei vielä ollut. Kaikki
muut olivat jo ritareja, upseereja; jopa pari tai kolme kantoivat
vaippansa ympärillä komentajankin suurta nauhaa ja niistivät siihen
kaikessa viattomuudessa nenäänsä, kuten olen nähnyt heidän hyvin
monesti tekevän Bach Aga Boualemissa. Syynä siihen ettei Si-Sliman
tähän saakka ollut vielä saanut tuota ritarimerkkiä oli eräs riita, joka
hänellä oli ollut arabialaistoimiston päällikön kera erään uhkapelin
johdosta, ja sotatoveruus on Algeriassa niin voimakas, että sitten
kymmenen vuoden agan nimi kyllä koreili ehdokaslistoissa
ennättämättä koskaan perille. Niinpä voittekin kuvitella mielessänne
kelpo Si-Slimanin ilon, kun elokuun 15 päivän aamuna eräs
Orléansvillen spahi (turkkil. ratsumies) oli saapunut tuomaan hänelle
pienen kultaisen lippaan ynnä kunnialegionan jäsenen valtakirjan ja
kun Baia, rakkain hänen neljästä vaimostaan, oli hänen vaippaansa
kiinnittänyt Ranskan ritarimerkin kamelin jouhilla. Siitäkös riitti
heimolle juhlimisten ja rajattomain ratsuleikkien aihetta. Läpi öiden
raikuivat rummut ja soivat ruokopillit. Tansseilla, ilotulituksilla,
lampaitten teurastuksella ei ollut loppua; ja ettei juhlasta puuttuisi
mitään, sepitti eräs kuuluisa Djendeliläinen taitoniekka Si-Slimanin
kunniaksi muhkean juhlalaulun, joka alkoi näin: "Tuuli, ratsut satuloi
viemään suurta sanomaa…"

Huomenissa auringon noustessa Si-Sliman kutsui aseihin koko


heimonsa sotakykyisen väen ja lähti ratsureineen Algeriin kiittämään
kuvernööriä. Soturit seisahtuivat tavallisuuden mukaan kaupungin
porteille. Aga meni yksin hallituksen palatsiin, näki Malakoffin
herttuan [Marski Pélissier, ranskalaisten ylipäällikkö Sevastopolin
piirityksessä, Malakoffin linnoituksen valloittamisen (8/9 1855)
johdosta korotettu Malakoffin herttuaksi] ja vakuutti altista
alamaisuuttaan Ranskalle muutamin korusanaisin lauseparsin siihen
itämaiseen puhetapaan, joka pidetään kuvarikkaana, koska se jo
kolmen vuosituhannen aikana on verrannut kaikkia miehiä
palmupuihin, kaikkia naisia gaselleihin. Suoritettuaan
kunniatervehdyksensä hän lähti näyttäytymään ulkona kaupungilla,
pistäysi ohimennen harjoittamassa hartauttaan moskeassa, jakeli
rahaa köyhille, kävi parturilla ja koruompelijalla, osti vaimoilleen
hajuvesiä, kukka- ja lehtikoristeisia silkkejä ja sinisiä, kultanauhoilla
ylt'ympäri koristettuja liivejä sekä punaisia ratsusaappaita pikku
agalleen, maksaen kaikki tinkimättä ja julistaen iloansa kauneilla
kultakolikoilla. Hänet nähtiin basareissa istumassa Smyrnan matoilla
ja juomassa kahvia maurilaisten kauppiasten luona, jotka häntä
onnittelivat. Hänen ympärillään tungeskeli utelias ihmisjoukko.
Sanottiin: "Tuossa on Si-Sliman… keisari on lähettänyt hänelle
ritarimerkin." Ja pienet maurittaret, jotka palasivat kylvystä leivoksia
nakerrellen, loivat salaa valkeitten huntujensa alta pitkiä ihmetteleviä
silmäyksiä tuohon kauniisen kiiltohopeaiseen ristiin, joka niin ylväänä
välkkyi agan rinnalla. Ah, onpa joskus elämässä suloisiakin hetkiä!…

Illan tullessa Si-Sliman oli juuri lähtemässä soturiensa luo ja oli jo


pistänyt jalkansa jalustimeen, kun eräs prefektiviraston lähetti aivan
hengästyksissään ehätti hänet.

"Täälläkö olet, Si-Sliman, olen kaikkialta etsinyt sinua… Tule


sukkelaan, kuvernööri tahtoo sinua puheilleen!"

Si-Sliman seurasi häntä levollisesti. Kulkiessaan palatsin suuren


maurilaispihan poikki hän kuitenkin kohtasi arabialaistoimiston
päällikön, joka hymyili hänelle ilkeästi. Tuo vihamiehen hymyily
pelästytti häntä, vavisten hän astui kuvernöörin saliin. Marski otti
hänet vastaan istuen hajasäärin tuolilla:
"Si-Sliman", sanoi hän tavallisella karkeudellaan ja tuolla
kuuluisalla nenä-äänellä, joka pani hänen ympäristönsä vapisemaan,
"Si-Sliman, poikaseni, olen vallan lohduton… on tapahtunut
erehdys… Ei ollutkaan tarkoitus antaa sinulle kunniamerkkiä, vaan
Zug-zugien kaidille (päällikölle)… sinun on annettava ristisi takaisin."

Agan kaunis pronssinkarvainen pää sävähti punaiseksi ikäänkuin


olisi sattunut lähelle ahjotulta. Suonenvetomainen puistatus värisytti
hänen kookasta ruumistaan. Hänen silmänsä välähtivät tuimasti…
Mutta vain tuokion. Hän loi ne heti alas ja kumarsihe kuvernöörille.

"Sinä olet käskijä, valtaherra", sanoi hän tälle, ja temmaten ristin


rinnaltaan hän pani sen pöydälle. Hänen kätensä vapisi; kyyneliä
kiilsi hänen pitkien silmäripsiensä päissä. Vanha Pélissierkin oli
liikutettu:

"Hyvästi, hyvästi, kelpo ystäväiseni, ensi vuonna varmastikin on


sinun vuorosi."

Ja hän ojensi hänelle kätensä lapsenomaisella hellyydellä.

Aga ei ollut sitä huomaavinaan, kumarsi vastaamatta ja lähti.


Tiesihän hän, minkä verran marskin lupaus merkitsi, ja hän katsoikin
arvonsa iäksi päiväksi alenneen toimiston juonien kautta.

Huhu hänen epäsuosioon joutumisestaan oli jo levinnyt


kaupungille. Bab-Azoun kadun juutalaiset katselivat virnistellen, kun
hän kulki ohitse. Sen sijaan maurilaiset kauppiaat kääntyivät hänestä
pois säälivin ilmein; ja tämä sääli se juuri koski häneen enemmän
kuin nauru. Hän vaelsi pitkin sein'vieriä etsien kaikkein pimeimpiä
katuja. Paikka, josta hän oli temmannut rinnaltaan ristin, poltti häntä
kuin avoin haava. Ja kaiken aikaa hän ajatteli:
"Mitä sanovat ratsumieheni? Mitä sanovat vaimoni?"

Ja hän sai oikein raivonpuuskia. Hän näki hengessä itsensä


saarnaamassa pyhää sotaa tuolla kaukana Marokon rajoilla, joita
tulipalot ja taistelut alituisesti punasivat; tai myös samoamassa
sotaväkensä etunenässä pitkin Algerin katuja, ryöstäen juutalaisia,
murhaten kristittyjä ja kaatuen itsekin tässä suuressa mylläkässä,
johon hänen häpeänsä piiloutuisi. Kaikki tuo näytti hänestä
helpommalta kuin palata heimonsa luo… Äkkiä keskellä koston
suunnitelmia ajatus kääntyä keisarin puoleen välähti kuin salama
hänen aivoissaan.

Keisari!… Si-Slimanilla kuten yleensäkin arabialaisilla kaiken


oikeuden ja mahtivallan aate oli keskittynyt tähän ainoaan sanaan.
Hänhän oli näitten voitettujen oikeauskoisten moslemien oikea
päämies; toinen, Stambulissa asuva, häämötti heille kaukaa juurikuin
jonakin aateolentona, jonkinlaisena näkymättömänä paavina, joka oli
säilyttänyt itselleen ainoasti hengellisen vallan, ja meidänhän aikana
tiedetään kyllä, mihin tuo valta kykenee.

Mutta keisari jykeine kanunoineen, zuaveineen,


pantsarilaivoineen!… Ajatellessaan häntä tunsi Si-Sliman itsensä
turvallisemmaksi. Varmastihan keisari antaisi hänelle ristin takaisin.
Siihenhän tarvittiin vain kahdeksanpäiväinen matka Pariisiin, ja hän
luotti siihen niin lujasti, että päätti jättää väkensä odottamaan
Algerin porteille. Huomispäivänä lähtevässä matkustajalaivassa hän
jo oli menossa kohti Pariisia, mietteliäänä ja levollisena kuin
pyhiinvaellukselle Mekkaan.

Si-Sliman parka! Oli jo kulunut neljä kuukautta hänen lähdöstään


eivätkä hänen kotiin lähettämänsä kirjeet vieläkään puhuneet mitään
paluusta: Neljä kuukautta oli poloinen aga jo ollut kadonnut Pariisin
humuun, kuluttaen aikansa juoksemalla ministeriöissä, kaikkialla
peijattuna, takertuneena ranskalaisen hallintokoneiston hirveään
sokkeloon, lähetettynä virastosta toiseen, tahraten vaippansa
istuessaan etuhuoneiden halkolaatikoilla vaanimassa puheillepääsyä,
jota ei koskaan hänelle suotu; iltasilla sitten nähtiin hänet pitkine
surullisine vartaloineen, jonka liiallinen arvokkaisuus teki
naurettavaksi, odottavan avaintaan matkustajahotellin konttorissa, ja
hän nousi huoneesensa väsyneenä juoksemisista ja puuhista, mutta
yhä vielä rohkeana ja toivoon kiinni tarrautuneena, ponnistaen
kiihkeästi kuin kaikki menettänyt peluri kunniansa puolesta.

Sill'aikaa hänen ratsumiehensä, ryhmittyneinä Bab-Azounin portin


luo, odottelivat itämaisella kohtaloonsa alistumisella; telttapaaluihin
sidotut ratsut hirnahtelivat merelle päin. Heimossa vallitsi täydellinen
neuvottomuus. Vilja mätäni paikalleen käsivarsien puutteessa.
Vaimot ja lapset laskivat päiviä, pää käännettynä Pariisia kohti. Ja
säälittipä nähdä, kuinka paljon toiveita, levottomuutta ja turmiota jo
riippui tuosta punaisesta ritarinauhasta… Milloin tuo kaikki loppuisi?

"Jumala sen yksin tietää", sanoi kahvinkeittäjä huoaten, ja


puoliavoimesta ovesta hänen paljas käsivartensa viittasi meille
sinertävän ja surullisen lakeuden yli valkean kuun kapeaa puolikasta,
joka kohosi kostealle taivaalle…

Kuvastin.

Pohjolaan Niemen-virran partaalle on saapunut viisitoistavuotias


pikku kreolitar [kreoleiksi kutsutaan espanjalaisten jälkeläisiä
Amerikassa], valkea ja punerva kuin mandelipuun kukka. Hän tulee
kolibrien kotimaasta; lemmen tuulonen hänet sieltä tuo… Hänen
kotisaarelaisensa sanoivat hänelle: "Älä lähde, Europan mantereella
on kylmä… Talvi sinut siellä tappaa." Mutta pikku kreolitar ei uskonut
talveen eikä tuntenut kylmyyttä muusta kuin sorbetin [sorbetti on
puolikylmäksi jäähdytetty juomaseos] nauttimisesta; sitäpaitsi hän oli
rakastunut eikä siis pelännyt kuolevansa… Ja nytpä hän tuolla astuu
laivasta maalle Niemenin usvassa viuhkoineen, rippumattoineen,
hyttyshuppuineen ja kultalankaverkkoisine häkkineen, joka on
täynnä hänen kotimaansa lintuja.

Kun vanha ukko Pohjoinen näki tulevan tämän saarien kukkasen,


jonka Etelä lähetti hänelle päivän säteessä, liikutti sääli hänen
sydäntään. Ja kun hän hyvin tiesi, että pakkanen yhdellä
henkäyksellään tuhoaisi sekä tyttösen että hänen kolibrinsa, niin
sytytti hän nopeasti suuren keltaisen aurinkonsa ja pukeutui kesään
heitä vastaanottaaksensa… Kreolitar pettyikin aluksi; hän luuli tätä
Pohjolan rajua ja painostavaa hellettä pysyväksi lämmöksi, tätä
tummaa ikuista vihannuutta kevään vihannuudeksi, ja kiinnitettyään
riippumattonsa puiston perälle kahden kuusen väliin hän siellä
tuulotteli ja keinutteli itseään päivät päästään.

"Mutta täällä Pohjolassahan on ylen lämmintä", sanoi hän


naureskellen. Kuitenkin eräs seikka teki hänet levottomaksi. Miks'ei
tässä oudossa maassa taloilla ole verantoja? Miksi nämä paksut
seinät, nämä matot, nämä raskaat tapetit? Nämä jykevät
kaakeliuunit ja nämä suuret halkokasat, jotka ladotaan pihoille,
nämä sinikettujen nahat, nämä kaksinkertaiset päällysvaipat, nämä
turkit, jotka riippuvat kaappien perällä; mihin tätä kaikkea
mahdettaneen tarvita?… Pikku raukka, hän saa sen kyllä pian tietää.
Eräänä aamuna herätessään pikku kreolitar tuntee ankaran
väristyksen ruumiissaan. Aurinko on kadonnut, ja mustan raskaalta
taivaalta, joka yön aikana näyttää lähenneen maata, putoo
hiutaleittain ja äänettömästi valkeaa nukkaa kuten puuvillapensaan
alla… Kas siinä talvi! talvi on tullut! Tuuli vinkuu, kaakeliuunit
tohisevat. Suuressa kultaverkkoisessa häkissään kolibrit eivät enää
livertele. Heidän pienet koreat sinipunavihreät siipensä pysyvät
liikkumatta, ja sääliksi käy nähdä heidän puristautuvan toisiaan
vasten, ryyhöttäen kohmettuneina, hienoine nokkineen ja
neulannupin kokoisine silmineen. Tuolla alhaalla puistossa
riippumatto kahisee täynnä huurretta, ja kuusien oksilta hohtaa
härmänkiteitä… Pikku kreolittarella on vilu, hän ei tahdo enää mennä
ulos.

Kyyhöttäen tulen ääressä kuin joku linnuistaan hän kuluttaa


aikansa katselemalla liekkejä ja lämmitteleiksen muistoillaan.
Suuressa kirkkaasti roihuavassa uunissa kuvastuu hänen silmiinsä
kotimaa: avarat rantakadut aurinkoa tulvillaan, ruo'ot, joista tihkuu
ruskea sokeri, maissin tähkät, jotka nuojuvat kullankarvaisessa
autereessa, vieläpä puolipäivän jälkeiset lepohetket, kiiltävät
rullakartiinit, olkimatot, samoin tähti-illat, kimaltelevat kärpäset ja
tuhannet pienet siivet, jotka surisevat kukkien välissä ja
hyttysverkkojen tyllikankaan silmukoissa.

Ja sill'aikaa kuin hän noin unelmoi pesävalkean ääressä, seuraavat


talvipäivät toisiaan yhä lyhyempinä, yhä tummempina. Joka aamu
tavataan yksi kolibri kuolleena häkissä; kohta niitä on jälellä vain
kaksi, kaksi vihreähöyhenistä villatukkua, jotka kyyröttävät kiinni
toisissaan häkin nurkassa…
Eräänä aamuna pikku kreolitar ei enää jaksakkaan nousta.
Pakkanen puristaa ja lamaa hänet samoinkuin pohjan jäät niihin
takertuneen kepeän välimereläisaluksen. Huone on synkeä ja kolkko.
Huurre on muodostanut ikkunoihin paksun verhon himmeää silkkiä.
Kaupunki näyttää kuolleelta, ja hiljaisilla kaduilla viuhuu valittaen
lumipyry… Huviksensa leikittelee kreolitar vuoteellaan korealla
viuhkallansa ja viettää aikansa katsellen kuvaansa kotoa tuoduissa
peileissään, joiden kehyksiä suuret indianisulat koristavat.

Yhä lyhyempinä, yhä himmeämpinä seuraavat talvipäivät toisiaan.


Pitsiuutimiensa sisällä pikku kreolitar hiutuu ja käy lohduttomaksi.
Varsinkin surettaa häntä se, ettei hän vuoteeltaan voi nähdä tulta.
Hänestä tuntuu kuin olisi hän kadottanut toistamiseen isänmaansa…
Vähän väliä hän kysyy: "Onko huoneessa tulta?" — Tietysti,
lapsukaiseni, kyllä on. Uunissa roihuaa iso valkea. Etkö kuule kuinka
halot räiskyvät ja männynsilmut paukahtelevat? — "Oh,
katsokaamme, katsokaamme." Mutta kuinka hyvänsä hän
kallistaiksen katsomaan, liekki on hänestä liian kaukana; hän ei voi
nähdä sitä, ja se se saattaa hänet epätoivoon. Siksipä eräänä iltana,
kun hän venyy siinä mietteliäänä ja kalpeana, pää korvatyynyn
laidalla ja silmät alati käännettyinä tuota näkymätöntä tulta kohti,
hänen ystävänsä lähestyy häntä ja ottaa yhden vuoteella olevista
kuvastimista: "Tahdot nähdä tulen, armahaiseni… No hyvä, varrohan
vähän…" Ja polvistuen uunin eteen hän koettaa lähettää hänelle
kuvastimen avulla heijastuksen tuosta tenhoisasta liekistä: "Voitko
nähdä? — En! En näe mitään. — Entäpä nyt? — En! En vieläkään…"
Sitten äkkiä, saadessaan vasten kasvojaan tulen loimun, joka
ympäröi hänet, sanoo kreolitar perin iloisena: "Oi, nyt sen jo näen!"
ja hän kuolee hymyillen, syvällä silmissä kaksi tuikkivaa valopilkkua.
*** END OF THE PROJECT GUTENBERG EBOOK MAANANTAI-
TARINOITA: VALIKOIMA ***

Updated editions will replace the previous one—the old editions will
be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright in
these works, so the Foundation (and you!) can copy and distribute it
in the United States without permission and without paying
copyright royalties. Special rules, set forth in the General Terms of
Use part of this license, apply to copying and distributing Project
Gutenberg™ electronic works to protect the PROJECT GUTENBERG™
concept and trademark. Project Gutenberg is a registered trademark,
and may not be used if you charge for an eBook, except by following
the terms of the trademark license, including paying royalties for use
of the Project Gutenberg trademark. If you do not charge anything
for copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such as
creation of derivative works, reports, performances and research.
Project Gutenberg eBooks may be modified and printed and given
away—you may do practically ANYTHING in the United States with
eBooks not protected by U.S. copyright law. Redistribution is subject
to the trademark license, especially commercial redistribution.

START: FULL LICENSE

You might also like