You are on page 1of 21

UNIT 21 DATABASES

Vocabulary Bank Unit 21

1. indexed filing cabinet 1. індексована картотека


2. averaging 2. усереднення
3. background 3. фон
4. bearing (n) 4. підшипник (n)
5. BLOB (binary large objects) 5. BLOB (бінарні великі об'єкти)
6. Boolean data 6. Булеві дані
7. card index system 7. картотечна система
8. challenging task 8. складне завдання
9. commission field 9. комісійне поле
10. consistent position 10. послідовна позиція
11. conversion routine 11. процедура перетворення
12. decision making 12. прийняття рішення
13. enormous 13. величезний
14. envision 14. уявляти
15. essential 15. суттєвий
16. export routine 16. процедура експорту
17. extensive 17. великий
18. fixed-length 18. фіксована довжина
19. flexibly 19. гнучко
20. fluency 20. вільне володіння
21. inaccurate 21. неточний
22. integer 22. цілий
23. intricacy 23. складність
24. invoice 24. рахунок-фактура
25. joining table 25. зведена таблиця
26. lookup 26. пошук
27. manual filing system 27. ручна система реєстрації
28. meaningful 28. значущий
29. merging 29. об'єднання
30. messy 30. безладний
31. pay check 31. платіжний чек
32. percentage 32. відсоток
33. perspective 33. перспектива
34. redundancy 34. надмірність
35. relational database 35. реляційна база даних
36. sophisticated query language 36. складна мова запитів
37. SQL (structured query language) 37. SQL (мова структурованих запитів)
38. table’s sort key 38. ключ сортування таблиці
39. term parameter 39. параметр терміна
40. timely 40. своєчасно
41. to accomplish 41. виконати
42. to compile 42. компілювати
43. to concise 43. стисло
44. to contain 44. містити
45. to delineate 45. розмежовувати
46. to prevent 46. запобігати
47. to retrieve 47. отримувати
48. to specify 48. вказувати
49. to stand for 49. відстоювати
50. to think ahead 50. думати наперед
51. treatment 51. лікування
52. user-defined 52. визначений користувачем
53. validation rule 53. правило перевірки
54. validity 54. дійсність
55. variable-length 55. змінної довжини
56. well-defined 56. чітко визначений

TEXT 21 A. DATABASE DESIGN

With a database you can store, organize and retrieve a large collection of related
information on computer. If you like, it is the electronic equivalent of an indexed filing
cabinet. Let us look at some features and applications.

За допомогою бази даних ви можете зберігати, організовувати та знаходити


велику колекцію пов'язаної інформації на комп'ютері. Якщо хочете, це електронний
еквівалент індексованої картотеки. Давайте розглянемо деякі функції та застосування.

Information is entered into the database via fields. Each field holds a separate piece
of information, and the fields are collected together into records. For example, a record
about an employee might consist of several fields which give their name, address, telephone
number, age, salary and length of employment with the company. Records are grouped
together into files which hold large amounts of information. Files can easily be updated: you
can always change fields, add new records or delete old ones. With the right database
software, you are able to keep track of stock, sales, market trends, orders, invoices and many
more details that can make your company successful.

Інформація вноситься до бази даних за допомогою полів. Кожне поле містить


окремий фрагмент інформації, а поля збираються разом у записи. Наприклад, запис
про працівника може складатися з кількох полів, які містять його ім'я, адресу, номер
телефону, вік, заробітну плату та стаж роботи в компанії. Записи групуються у файли, які
містять великі обсяги інформації. Файли можна легко оновлювати: ви завжди можете
змінити поля, додати нові записи або видалити старі. За допомогою правильного
програмного забезпечення для роботи з базами даних ви зможете відстежувати
запаси, продажі, ринкові тенденції, замовлення, рахунки-фактури та багато інших
деталей, які можуть зробити вашу компанію успішною.

Another feature of database programs is that you can automatically look up and find records
containing particular information. You can also search on more than one field at a time. For
example, if a managing director wanted to know all the customers who spend more than $
17,000 per month, the program would search on the name field and the money field
simultaneously.

Ще одна особливість програм для роботи з базами даних полягає в тому, що ви


можете автоматично шукати і знаходити записи, що містять певну інформацію. Ви
також можете шукати в декількох полях одночасно. Наприклад, якщо керуючий
директор хоче знати всіх клієнтів, які витрачають більше 17 000 доларів на місяць,
програма буде шукати в полі імені та в полі суми одночасно.

A computer database is much faster to consult and update than a card index system.
It occupies a lot less space, and records can be automatically sorted into numerical or
alphabetical order using any field.
Комп'ютерну базу даних набагато швидше переглядати та оновлювати, ніж
картотеку. Вона займає набагато менше місця, а записи можна автоматично сортувати
в числовому або алфавітному порядку за будь-яким полем.
The best packages also include networking facilities which add a new dimension of
productivity to businesses. For example, managers of different departments can have direct
access to a common database, which represents an enormous advantage. Thanks to security
devices, you can share a part of your files on a network and control who sees the
information. Most aspects of the program can be protected by user-defined passwords. For
example, if you wanted to share employee’s personal details, but not their commission, you
could protect the commission field. In short, a database manager helps you control the data
you have at home, in the library or in your business.
Найкращі пакети також включають мережеві можливості, які додають новий
вимір продуктивності бізнесу. Наприклад, менеджери різних відділів можуть мати
прямий доступ до спільної бази даних, що є величезною перевагою. Завдяки
пристроям безпеки ви можете ділитися частиною своїх файлів у мережі та
контролювати, хто бачить інформацію. Більшість аспектів програми можна захистити за
допомогою паролів, визначених користувачем. Наприклад, якщо ви хочете надати
доступ до особистих даних співробітників, але не до їхніх комісійних, ви можете
захистити поле комісійних. Коротше кажучи, менеджер баз даних допомагає вам
контролювати дані, які ви маєте вдома, в бібліотеці чи на підприємстві.

The key to an effective database is its initial design. In a well-designed database, data
can be flexibly manipulated to produce timely, meaningful, and accurate information for
decision making. A bad database design can lead to messy database, lost records, and
inaccurate data. The goal of a database design is to store information so that it is easy to
access and maintain, but concise enough to take up as little disk space as possible.

Ключем до ефективної бази даних є її початковий дизайн. У добре


спроектованій базі даних даними можна гнучко маніпулювати для отримання
своєчасної, змістовної та точної інформації для прийняття рішень. Поганий дизайн
бази даних може призвести до безладу в ній, втрачених записів і неточних даних.
Метою проектування бази даних є зберігання інформації таким чином, щоб вона була
легкою для доступу та обслуговування, але достатньо лаконічною, щоб займати
якомога менше місця на диску.
The term database structure refers to the arrangement of fields, tables, and
relationships in a database. The first step in structuring a relational database is to determine
what data must be collected and stored. To do so, a database designer might start with
consulting users and studying the current filing system to compile a list of available data as
well as any additional data necessary to produce on- screen output or printed reports.
Термін "структура бази даних" означає розташування полів, таблиць і зв'язків у
базі даних. Першим кроком у структуруванні реляційної бази даних є визначення того,
які дані необхідно збирати та зберігати. Для цього розробник бази даних може почати
з консультацій з користувачами та вивчення поточної системи зберігання даних, щоб
скласти список доступних даних, а також будь-яких додаткових даних, необхідних для
створення екранних або друкованих звітів.

After the designer determines what data to store, the next step is to organize that
data into fields. It is usually easy to break data into fields just by using common sense and
considering how people might want to access the data. Any data that people would search
for, sort on, or use in a calculation should be in its own field. The treatment of the first and
last name illustrates the concept of breaking data into fields. A database designer could
define a field called Name to hold an entire customer’s name.
Після того, як дизайнер визначив, які дані зберігати, наступним кроком є
організація цих даних у поля. Зазвичай легко розбити дані на поля, просто
використовуючи здоровий глузд і враховуючи, як люди можуть захотіти отримати
доступ до даних. Будь-які дані, які люди шукатимуть, сортуватимуть або
використовуватимуть у розрахунках, мають бути у власному полі. Обробка імені та
прізвища ілюструє концепцію розбиття даних на поля. Розробник бази даних може
визначити поле під назвою "Ім'я", яке міститиме повне ім'я клієнта.

With the entire name in one field, however, the database would not be able to access
individual parts of the name, making it difficult to alphabetize customers by the last name or
to produce a report in which names appear in one field. That’s why the last names are
stored in a different field than the first names.
Однак, якщо все ім'я зберігати в одному полі, база даних не зможе отримати
доступ до окремих частин імені, що ускладнить впорядкування клієнтів за прізвищами
в алфавітному порядку або створення звіту, в якому імена з'являтимуться в одному
полі. Саме тому прізвища зберігаються в іншому полі, ніж імена.

Although two people might have, for example, the same name or two paychecks
might contain the same amount, a computer must have some way to differentiate between
records. A primary key is a field that contains data unique to a record.
Хоча дві людини можуть мати, наприклад, однакове ім'я або дві зарплатні
квитанції можуть містити однакову суму, комп'ютер повинен мати спосіб розрізняти
записи. Первинний ключ - це поле, яке містить дані, унікальні для запису.

The data that can be entered into a field depends on the field’s data type. From a
technical perspective, a data type specifies the way the data is represented on the disk and
in RAM. From a user perspective, the data type determines the way data can be
manipulated. When designing a database, each field is assigned a data type. Data can be
broadly classified as numeric or character. Character data contains letters, numerals and
symbols not used for calculations. Numeric data contains numbers that can be manipulated
mathematically by adding, averaging, multiplying and so forth. There are several numeric
data types, including real, integer, and date. The real data type is used for fields that contain
numbers with decimal places- prices, percentages, and so on. The integer data type is used
for fields that contain whole numbers-quantities, repetitions, rankings, and so on. The date
data type is used to store dates in a format that allows them to be manipulated, such as you
want to calculate the numbers of days between two dates.
Дані, які можна ввести в поле, залежать від типу даних поля. З технічної точки
зору, тип даних визначає спосіб представлення даних на диску та в оперативній пам'яті.
З точки зору користувача, тип даних визначає спосіб маніпулювання даними. Під час
проектування бази даних кожному полю присвоюється тип даних. Дані можна
класифікувати як числові або символьні. Символьні дані містять літери, цифри та
символи, які не використовуються для обчислень. Числові дані містять числа, з якими
можна математично маніпулювати, додаючи, усереднюючи, множачи тощо. Існує
кілька числових типів даних, зокрема дійсний, цілий і дата. Дійсний тип даних
використовується для полів, які містять числа з десятковими знаками - ціни, відсотки
тощо. Цілий тип даних використовується для полів, які містять цілі числа - кількості,
повторення, рейтинги тощо. Тип даних дата використовується для зберігання дат у
форматі, який дозволяє маніпулювати ними, наприклад, якщо ви хочете обчислити
кількість днів між двома датами.

The text data type is typically assigned to fixed-length fields that hold character data-
people’s names, albums titles, and so on. Text fields sometimes hold data that looks like
numbers, but doesn’t need to be mathematically manipulated. Telephone numbers and ZIP
codes are examples of the data that looks numeric, but should be stored in text fields. A
memo data type usually provides a variable- length field into which users can enter
comments. The logical data type (sometimes called a Boolean or yes/no data type) is used
for true/false or yes/no data using minimal storage space. Some file and database
management systems also include additional data types, such as BLOBs and hyperlinks. A
BLOB (binary large object) is a collection of binary data stored in a single field of a database.
BLOBs can be just about any kind of data you would store as a file, such as an MP3 music
track. The hyperlink data type stores URLs used to link directly from a database to a Web
page.
Текстовий тип даних зазвичай призначається для полів фіксованої довжини, які
містять символьні дані - імена людей, назви альбомів тощо. Текстові поля іноді містять
дані, які виглядають як числа, але не потребують математичних маніпуляцій. Телефонні
номери та поштові індекси є прикладами даних, які виглядають як числа, але повинні
зберігатися в текстових полях. Тип даних примітки зазвичай містить поле змінної
довжини, в яке користувачі можуть вводити коментарі. Логічний тип даних (іноді його
називають булевим або так/ні) використовується для даних типу "істина/хибність" або
"так/ні", які займають мінімум місця в пам'яті. Деякі системи управління файлами і
базами даних також включають додаткові типи даних, такі як BLOB і гіперпосилання.
BLOB (бінарний великий об'єкт) - це набір двійкових даних, що зберігаються в одному
полі бази даних. BLOB може бути практично будь-яким типом даних, які ви зберігаєте у
вигляді файлу, наприклад, музичний трек у форматі MP3. Тип даних гіперпосилання
зберігає URL-адреси, які використовуються для прямого переходу з бази даних на веб-
сторінку.
The information produced by reports and processing routines is only as accurate as
the information in the database. Unfortunately, data entry errors can compromise the
accuracy and validity of a database. When designing a database, it is important to think
ahead and envision potential data entry errors. Preventing every typographical error is not
possible. However, it is possible to catch some of these errors by using field validation rules,
list boxes, or lookups. A process called normalization helps to create a database structure
that can save storage space and increase processing efficiency. The goal of normalization is
to minimize data redundancy – the amount of data that is repeated or duplicated in a
database.
Інформація, отримана зі звітів і процедур обробки, є настільки точною, наскільки
точною є інформація в базі даних. На жаль, помилки при введенні даних можуть
поставити під загрозу точність і достовірність бази даних. При розробці бази даних
важливо думати наперед і передбачити потенційні помилки при введенні даних.
Запобігти кожній друкарській помилці неможливо. Однак деякі з них можна виявити за
допомогою правил перевірки полів, списків або пошуку. Процес, який називається
нормалізацією, допомагає створити структуру бази даних, яка може заощадити місце в
сховищі і підвищити ефективність обробки. Метою нормалізації є мінімізація
надмірності даних - кількості даних, які повторюються або дублюються в базі даних.

Records in a database can be organized in different way depending on how people


want to use them. No single way of organizing the data accommodates everyone’s needs,
but tables can be sorted or indexed in multiple ways. A table’s sort order is the order in
which records are stored on a disk. Sorted tables typically produce faster queries and
updates. In a sorted table, new records are inserted to maintain the order. Most DBMSs use
a sort key to determine the order in which records are stored. A table’s sort key is one or
more fields used to specify where new records are inserted in a table. A database index can
be used to organize data in alphabetic or numeric order. A database index contains a list of
keys, and each key provides a pointer to the record that contains the rest of the fields
related to that key.
Записи в базі даних можуть бути організовані по-різному, залежно від того, як
люди хочуть їх використовувати. Жоден спосіб організації даних не може задовольнити
всі потреби, але таблиці можна сортувати або індексувати кількома способами.
Порядок сортування таблиці - це порядок, у якому записи зберігаються на диску.
Відсортовані таблиці зазвичай прискорюють виконання запитів та оновлення. У
відсортовану таблицю нові записи вставляються для збереження порядку. Більшість
СУБД використовують ключ сортування для визначення порядку зберігання записів.
Ключ сортування таблиці - це одне або декілька полів, які використовуються для
визначення місця вставки нових записів у таблицю. Індекс бази даних можна
використовувати для організації даних в алфавітному або числовому порядку. Індекс
бази даних містить список ключів, і кожен ключ надає вказівник на запис, який містить
решту полів, пов'язаних з цим ключем.

Designing the database user interface can be a challenging task. If a company’s


database includes multiple tables used by many different people, a professional user
interface designer usually creates and maintains the user interface. Large databases might
even require a group of user interface designers, meanwhile the interfaces for smaller
databases, such as those used by small business or individuals, is most likely created by a
single one.
Розробка інтерфейсу користувача бази даних може бути складним завданням.
Якщо база даних компанії складається з декількох таблиць, якими користується багато
різних людей, професійний дизайнер користувацького інтерфейсу зазвичай створює і
підтримує інтерфейс користувача. Для великих баз даних може знадобитися навіть
група дизайнерів користувацького інтерфейсу, в той час як інтерфейси для менших баз
даних, таких як ті, що використовуються малим бізнесом або приватними особами,
найімовірніше, створюються одним дизайнером.
A well-defined user interface for a database should be clear, intuitive, and efficient. A
designer might consider the following principles:
Arrange fields in a logical order beginning at the top-left of the screen. The first field
should be those used most often or those that come first in the data entry sequence.
Provide visual clues to the entry areas. An edit box, line, or shaded area can delineate
data entry areas.
Entry areas should appear in a consistent position relative to their labels. By
convention, labels are placed left of the entry areas or above them.
Provide a quick way to move through the fields in order. By convention, the tab key
performs this function.
If all fields do not fit on a single screen, use scrolling or create a second screen.
Provide buttons or other easy-to-use controls for moving from one record to another.
Supply on-screen instructions to help ensure that data is entered correctly. Web
database can
benefit from links to help pages.
Добре розроблений користувацький інтерфейс для бази даних повинен бути
зрозумілим, інтуїтивно зрозумілим та ефективним. Дизайнер може розглянути наступні
принципи:
Розташовуйте поля в логічному порядку, починаючи з лівого верхнього кута
екрану. Першими повинні бути ті поля, які використовуються найчастіше, або ті, які
стоять першими в послідовності введення даних.
Надайте візуальні підказки до полів для введення даних. Поле для редагування,
лінія або заштрихована область можуть розмежовувати поля для введення даних.
Області введення повинні мати однакове розташування відносно їхніх міток.
Зазвичай, мітки розміщуються зліва від полів введення або над ними.
Забезпечити швидкий спосіб переміщення між полями по порядку. Зазвичай цю
функцію виконує клавіша табуляції.
Якщо всі поля не вміщуються на одному екрані, використовуйте прокрутку або
створіть другий екран.
Надайте кнопки або інші прості у використанні елементи керування для
переходу від одного запису до іншого.
Надайте екранні інструкції, які допоможуть переконатися, що дані вносяться
правильно. Веб-база даних може
отримати вигоду від посилань на сторінки довідки.

After the design for the database structure is completed, it is time to load the
database with an
initial set of data. Data can be loaded into a database manually by using generic data
entry tools supplied with the DBMS or by using a customized data entry module created by a
database designer. Entering data manually can take a long time, however, and mistakes such
as misspelling are common. If the data exists electronically in another type of a database or
in flat files, it is usually possible to transfer the data using a custom-written conversion
routine or import and export routines. A conversion routine converts the data from its
current format into a format that can be automatically incorporate into a new database. It
takes some time and requires knowledge about database formats to write conversion
routines, but for large databases, it’s much quicker to convert data than to re-enter it
manually. Converting data also results in fewer errors.
Після завершення проектування структури бази даних настав час завантажити
базу даних початковим набором даних
початковим набором даних. Дані можна завантажити в базу даних вручну за
допомогою стандартних інструментів введення даних, що постачаються разом із СУБД,
або за допомогою спеціального модуля введення даних, створеного розробником бази
даних. Однак введення даних вручну може зайняти багато часу, а помилки, такі як
орфографічні помилки, є поширеним явищем. Якщо дані існують в електронному
вигляді в іншому типі бази даних або у пласких файлах, зазвичай їх можна перенести за
допомогою спеціально написаної процедури перетворення або процедур імпорту та
експорту. Процедура конвертації перетворює дані з поточного формату у формат, який
можна автоматично включити в нову базу даних. Написання процедур конвертації
займає певний час і вимагає знань про формати баз даних, але для великих баз даних
конвертувати дані набагато швидше, ніж вводити їх вручну. Перетворення даних також
призводить до меншої кількості помилок.

Some DBMSs provide built-in import and export routines that automatically convert
data from one file format to another. An import routine brings data into a database. For
example, if data was previously stored as a spread-sheet file, an import routine in Microsoft
Access can be used to transfer data from the spreadsheet to an Access database. In contrast,
an export routine copies data out of a software package, such as spreadsheet software, and
transfers it into the database. Typically, you would use either an import routine or an export
routine to move data from one location to another, but not both.
Деякі СУБД мають вбудовані процедури імпорту та експорту, які автоматично
перетворюють дані з одного формату файлу в інший. Процедура імпорту вносить дані
до бази даних. Наприклад, якщо дані раніше зберігалися у вигляді файлу електронної
таблиці, процедуру імпорту в Microsoft Access можна використати для перенесення
даних з електронної таблиці до бази даних Access. На відміну від цього, процедура
експорту копіює дані з програмного пакету, наприклад, з електронної таблиці, і
переносить їх до бази даних. Зазвичай для переміщення даних з одного місця в інше
використовують або процедуру імпорту, або процедуру експорту, але не обидві.

Task 2. Match the meaning of the following English words with the Ukrainian equivalents.

1. conversion routine - d) конверсійна програма


2. data redundancy - а) надмірність даних
3. BLOB - g) великий двійковий об’єкт
4. variable-length field - j) поле змінної довжини
5. primary key - e) первинний ключ
6. sort order - b) порядок сортування
7. validation rule - i) правило ратифікації
8. fixed-length field - h) поле нерухомої довжини
9. integer data type - f) цілочисельний тип даних
10. database index - c) індекс бази даних

Task 3. Choose the ending for each sentence from the two versions given.

1. The key to an effective database is a) its initial design.


2. The term database structure refers to a) the arrangement of fields, tables, and
relationships in a database.
3. From a technical perspective, a data type specifies b) the way data is represented on
the disk and in RAM.
4. Character data contains a) letters, numerals and symbols not used for calculations.
5. The goal of normalization is b) to minimize data redundancy - the amount of data
that is repeated or duplicated in a database.
6. After the design for the database structure is completed, it is time b) to load the
database with an initial set of data.

Task 4. Decide if the sentences are true or false.

1. False. Information is entered into the database via fields, not records.
2. True. Records are grouped together into files or tables.
3. False. A computer database is much faster to consult and update than a card index
system.
4. True. Having direct access to a common database is an advantage for managers of
different departments.
5. True. A database program can be protected by user-defined passwords.
6. True. You can protect specific fields in a database, such as the commission field, to
control access to that information.

Task 5. Complete the sentences with the words in the box. Translate.

1. In order to personalize a standard letter you can use 'mail merge' (a technique which
consists of combining a database with a document made with a word processor).
(Щоб персоналізувати стандартний лист, ви можете використовувати 'злиття
пошти' (техніку, яка полягає в поєднанні бази даних з документом, створеним у
текстовому процесорі)).
2. Records can be automatically sorted into any order. (Записи можуть автоматично
сортуватися в будь-якому порядку).
3. You can decide how many fields you want to have on a layout. (Ви можете
вирішити, скільки полів ви хочете мати на макеті).
4. Files can easily be updated by adding new information or deleting the old one.
(Файли можна легко оновлювати, додавши нову інформацію або видаливши
стару).
5. Most aspects of the program can be protected by user-defined passwords.
(Більшість аспектів програми можна захистити користувацькими паролями).
6. Thanks to security devices, you can share part of your files on a network and control
who sees the information. (Завдяки пристроям безпеки, ви можете ділитися
частиною своїх файлів у мережі і контролювати, хто бачить інформацію).
7. A database program can be used to store, organize, and retrieve information of any
kind. (Програму баз даних можна використовувати для зберігання, організації та
отримання інформації будь-якого виду).
8. The layout of the records can be designed by the user. (Макет записів може бути
розроблений користувачем).
9. Each piece of information is given in a separate field. (Кожна частина інформації
подається в окремому полі).

Task 6. Discuss the following questions:

1. A database is a structured collection of related information stored on a computer. It


allows for the efficient organization, storage, retrieval, and manipulation of data.
2. Information is entered into the database through fields. Each field holds a separate
piece of information, and these fields are collected together into records. Data can
be entered manually or imported from other sources.
3. Each field holds a specific piece of information. For example, in a database about
employees, fields may include name, address, telephone number, age, salary, and
length of employment.
4. 'Updating' a file means making changes to the data within it. This can involve adding
new records, modifying existing records, or deleting outdated records.
5. Advantages of a database program over a manual filing system include faster data
access and retrieval, efficient data organization, reduced storage space, the ability to
search and sort data easily, and the capability to have multiple users access and
update data simultaneously.
6. Access to a common database can be protected through security devices such as
user-defined passwords. Access permissions can be granted selectively to control
who can view and modify specific parts of the database.
7. The goal of a well-designed database is to store information in a way that is easy to
access and maintain while minimizing data redundancy and ensuring data accuracy.
8. The term "database structure" refers to the arrangement of fields, tables, and the
relationships between them in a database.
9. The first step in structuring a relational database is to determine what data must be
collected and stored. The next step is to organize that data into fields and design the
database's structure.
10. Last names are stored in a different field than first names to allow for easy sorting by
last name and to facilitate generating reports where names appear correctly in the
desired order.
11. Each record is made unique by a primary key, which is a field containing data unique
to that record. For example, in an employee database, an employee ID could serve as
the primary key.
12. A database designer selects data types based on how the data will be represented on
the disk and in RAM, as well as how it can be manipulated. For example, numeric
data types are chosen for fields that involve mathematical operations, while text data
types are used for non-numeric character data.
13. While a database designer can't prevent all data entry errors, they can implement
validation rules, list boxes, or lookups to catch some errors and ensure data accuracy.
14. Normalization is the process of structuring a database to minimize data redundancy
by organizing data efficiently into related tables. This reduces the likelihood of errors
and optimizes storage space.
15. Principles that a designer might consider to improve a database include arranging
fields logically, providing visual cues for data entry, maintaining consistency in field
labels, offering efficient navigation, using on-screen instructions, and ensuring a clear
and intuitive user interface.
16. Data is loaded into database tables manually using data entry tools or customized
data entry modules. It can also be imported from other electronic sources or
converted from existing formats using conversion routines or built-in import/export
routines provided by database management systems.
Task 7. Say which word does not belong to the group.
a) subsequent (The other words relate to the beginning or early stages.)
b) advice (The other words are synonyms for "give permission.")
c) efficiently (The other words relate to perception or appearance.)
d) specify (The other words are synonyms for "perform" or "complete.")
e) grow up (The other words are synonyms for "make smaller.")
f) equipment (The other words are synonyms for "instrument" or "appliance.")

Task 8. Fill in the blanks choosing from the variants given.

1. In a well-designed database, the data can be a) flexibly manipulated to produce


timely, meaningful, and accurate information for decision making.
2. The term database structure refers to the c) arrangement of fields, tables, and
relationships in a database.
3. A primary key is a b) field that contains the data unique to a record.
4. When designing a database, you should a) think ahead and envision any potential
data entry errors.
5. Entering data d) manually can take a long time, however, and mistakes such as
misspelling are common.
6. A conversion routine c) converts the data from its current format into a format that
can be automatically incorporated into a new database.

Task 9. Transform the given sentences using the word in brackets without any change in
meaning. You may omit, change or add words as required.
1. The aim of a database design is to store information so that it is easy to access and
maintain.
2. The treatment of the first and the last name demonstrates the concept of breaking
data into fields.
3. BLOBs can be just about any kind of data you would typically store as a file, such as
an MP3 music track.
4. The information produced by reports and processing routines is only as precise as
the information in the database.
5. No single way of organizing the data fulfills everyone’s needs, but the tables can be
sorted or indexed in multiple ways.
6. Normally, you would use either an import routine or an export routine to move data
from one location to another, but not both.

Task 10. Fill in the gaps in the text.

The first step in designing a relational database is to define its fields by specifying a
name and data type. Integer, date, and real data types are used for the fields that might be
mathematically manipulated. The text data type is used for fixed-length fields containing
text that is not intended to be mathematically manipulated. The memo data type is a
variable-length field for entering text. The logical data type is used to store true/false or
yes/no data. The BLOB data type is used to store binary data, such as MP3 files or graphics.
When designing fields, a database designer can also include field formats, field validation
rules, and lookup routines to reduce data entry errors.

Task 11. Read the text and do the tasks below.

TEXT 21 B. SQL

Adding records, finding information and making updates are all the important
aspects of database use. Most people who access a database on a “casual” basis interact
with very simple user interfaces. These user interfaces shield users from the intricacies of
sophisticated query languages. Nevertheless, a little background in query languages can help
you understand the power and capabilities of databases.
Додавання записів, пошук інформації та оновлення - це важливі аспекти
використання бази даних. Більшість людей, які отримують доступ до бази даних
"випадково", взаємодіють з дуже простими користувацькими інтерфейсами. Ці
інтерфейси захищають користувачів від тонкощів складних мов запитів. Тим не менш,
невеликі знання мов запитів можуть допомогти вам зрозуміти силу і можливості баз
даних.
Query languages like SQL (Structured Query Language) typically work behind the
scenes as an intermediary between the database client software provided to users and the
database itself. Database client software provides an easy-to-use interface for entering
search specifications, new records, data updates, and so on. The client software collects your
input, and then converts it into an SQL query, which can operate directly on the database to
carry out your instructions.
Мови запитів, такі як SQL (Structured Query Language - мова структурованих
запитів), зазвичай працюють за лаштунками як посередник між клієнтським
програмним забезпеченням бази даних, що надається користувачам, і самою базою
даних. Клієнтське програмне забезпечення бази даних надає простий у використанні
інтерфейс для введення специфікацій пошуку, нових записів, оновлення даних тощо.
Клієнтське програмне забезпечення збирає ваші дані, а потім перетворює їх на SQL-
запит, який може працювати безпосередньо з базою даних, виконуючи ваші інструкції.

An SQL query is a sequence of words, much like a sentence. Most implementations of


SQL accept either uppercase or lowercase keywords.

The SQL query language provides a collection of special command words called SQL
keywords, such as SELECT, FROM, INSERT, and WHERE, which issue instructions to the
database. Most SQL queries can be divided into three simple elements that specify an action,
the name of database table, and a set of parameters. Let’s look at each of these elements.

SQL-запит - це послідовність слів, подібно до речення. Більшість реалізацій


SQL приймають як великі, так і малі літери.

Мова запитів SQL надає набір спеціальних командних слів, які називаються
ключовими словами SQL, таких як SELECT, FROM, INSERT і WHERE, які видають
інструкції базі даних. Більшість SQL-запитів можна розділити на три прості елементи,
які визначають дію, назву таблиці бази даних і набір параметрів. Давайте розглянемо
кожен з цих елементів.

An SQL query typically begins with an action keyword, or command, which specifies
the operation you want to carry out. For example, the command word DELETE removes a
record from the table, the command word CREATE creates a database or a table, the
command word INSERT is used to add a record, the command word JOIN uses the data from
two tables, SELECT searches for records and UPDATE changes data in the field.

SQL-запит зазвичай починається з ключового слова дії, або команди, яке вказує
на операцію, яку ви хочете виконати. Наприклад, слово DELETE видаляє запис з
таблиці, слово CREATE створює базу даних або таблицю, слово INSERT
використовується для додавання запису, слово JOIN використовує дані з двох таблиць,
SELECT здійснює пошук записів, а UPDATE змінює дані в полі.

SQL keywords such as USE, FROM, or INTO can be used to construct a clause
specifying the table you want to access. The clause consists of a keywords followed by the
name of the table. For example, the clause FROM Tracks indicates that you want to use the
Tracks table from the Vintage Music Shop’s database.

Ключові слова SQL, такі як USE, FROM або INTO, можна використовувати для
створення речення, що визначає таблицю, до якої ви хочете отримати доступ. Речення
складається з ключових слів, за якими слідує назва таблиці. Наприклад, речення FROM
Tracks вказує на те, що ви хочете використовувати таблицю Tracks з бази даних
магазину вінтажної музики.

The term parameter refers to the detailed specifications for a command. Keyword
such as WHERE usually begin an SQL clause containing the parameters for a command.
One of the most common database operations is to query for a particular record or a
group of records by using the SELECT command. The phrase, for example,
SELECTAlbumTitle, Album Cover specifies that the database should show you only the
album title and cover, and until you confirm that is the album you are interested in, it will not
show you additional information such as the price or the list of tracks.

Термін "параметр" відноситься до детальної специфікації команди. Ключове


слово, наприклад WHERE, зазвичай починає речення SQL, що містить параметри
команди.

Однією з найпоширеніших операцій з базами даних є запит на вибірку певного


запису або групи записів за допомогою команди SELECT. Фраза, наприклад,
SELECTAlbumTitle, Album Cover вказує, що база даних повинна показати вам тільки
назву альбому і обкладинку, і поки ви не підтвердите, що це саме той альбом, який вас
цікавить, вона не покаже вам додаткову інформацію, таку як ціна або список треків.

You can change records in a database only if you have authorization to do so. At
Vintage Music Shop’s site, for example, customers do not have authorization to change
album prices or alter the name of the songs on an album. The process of purchasing an
album, however, does cause an update in the whole database. Your purchase just reduces the
number of albums in the shop’s inventory. To accomplish this update, one of the software
modules in the shop’s inventory system issues an SQL UPDATE command to reduce the
number in the InStock field record. In addition to changing the data in a single record, SQL
can perform a global update that changes the date in more than one record at a time. It means
that it is possible to update a group of records. Suppose you’re Vintage Music Shop’s
marketing manager, and you want to put all The Rolling Stones albums on sale by reducing
the DiscountPrice to $9.95. You could do it the hard way by searching for an ArtistName
field that contains “Rolling Stones”, adjusting the DiscountPrice field for that record, and
then looking for the next Rolling Stones album. However, it would be easier to change all
records with a single command. The following SQL statement accomplishes this global
update:

UPDATE Albums
SET DiscountPrice=9.95
WHERE ArtistName=”Rolling Stones”

Ви можете змінювати записи в базі даних, тільки якщо у вас є на це дозвіл. На


сайті Vintage Music Shop, наприклад, покупці не мають права змінювати ціни на
альбоми або змінювати назви пісень в альбомі. Однак процес купівлі альбому
призводить до оновлення всієї бази даних. Ваша покупка просто зменшує кількість
альбомів в інвентарі магазину. Щоб виконати це оновлення, один з програмних
модулів у системі обліку магазину видає команду SQL UPDATE, щоб зменшити
кількість у записі поля InStock. Окрім зміни даних в одному записі, SQL може
виконати глобальне оновлення, яке змінює дату в декількох записах одночасно. Це
означає, що можна оновити групу записів. Припустимо, ви менеджер з маркетингу
магазину вінтажної музики і хочете виставити на розпродаж усі альбоми The Rolling
Stones, знизивши DiscountPrice до $9.95. Ви можете зробити це складним способом:
знайти поле ArtistName, яке містить "Rolling Stones", відкоригувати поле DiscountPrice
для цього запису, а потім знайти наступний альбом Rolling Stones. Однак, було б
простіше змінити всі записи за допомогою однієї команди. Наступний SQL-запит
виконує це глобальне оновлення:

Let’s see how this command performs a global update. The UPDATE command
means you want to change the data in some or all of the records. “Albums” is the name of the
record type containing the data you want to change. SET DiscountPrice=9.95 tells the DBMS
to change the data in the DiscountePrice field to $9.95. WHERE ArtistName=”Rolling
Stones” tells the DBMS to change only those records where the artist’s name is Rolling
Stones. Although the global update function is powerful, it works only for records that have
similar characteristics.

Давайте подивимося, як ця команда виконує глобальне оновлення. Команда


UPDATE означає, що вихочете змінити дані у деяких або всіх записах. "Альбоми" - це
назва типу запису, що містить дані, які ви хочете змінити. SET DiscountPrice=9.95
вказує СУБД змінити дані у полі DiscountePrice на $9.95. WHERE ArtistName="Rolling
Stones" вказує СУБД змінити лише ті записи, де ім'я виконавця Rolling Stones. Хоча
функція глобального оновлення є потужною, вона працює лише для записів зі схожими
характеристиками.

Recall that the process of normalization creates the tables that can be related to the
fields that exist in both tables. In SQL terminology, the creating a relationship between tables
is referred to as joining tables. To take the advantage of the relationship between two tables,
you first have to join the tables. Why? Remember that in a relational database, the tables are
essentially independent unless you join them together. The SQL JOIN command allows you
to join temporarily and simultaneously access the data in more than one table.

Нагадаємо, що в процесі нормалізації створюються таблиці, які можуть бути


пов'язані з полями, що існують в обох таблицях. У термінології SQL створення зв'язку
між таблицями називається об'єднанням таблиць. Щоб скористатися перевагами зв'язку
між двома таблицями, спочатку потрібно об'єднати таблиці. Навіщо це потрібно?
Пам'ятайте, що в реляційній базі даних таблиці по суті є незалежними, якщо ви не
об'єднаєте їх разом. Команда SQL JOIN дозволяє тимчасово об'єднати і одночасно
отримати доступ до даних у більш ніж одній таблиці.

SQL is a very extensive and powerful language that can be used not only to
manipulate data, but also to create databases, tables and reports. Because SQL is one of the
most popular database tools, many computer professionals consider SQL fluency as essential
career skill.

SQL - це дуже обширна і потужна мова, яку можна використовувати не тільки


для маніпулювання даними, але й для створення баз даних, таблиць і звітів. Оскільки
SQL є одним з найпопулярніших інструментів для роботи з базами даних, багато
комп'ютерних спеціалістів вважають вільне володіння нею необхідною професійною
навичкою.
Task 12. Match the meaning of the following English words with their Russian definitions.

1. SQL query (g) SQL-запит


2. Database client software (f) програмне забезпечення клієнта бази даних
3. Relation database (d) регуляційна база даних
4. Record (a) запис
5. Global update (b) повне оновлення
6. Parameter (j) параметр
7. Keyword (e) ключове слово
8. Query language (c) мова запитів
9. Command word (h) слово-команда
10. Joining tables (i) об’єднання таблиць

Task 13. Match the beginning of the sentences in the first column with the endings in the
second one.

1. Adding records, finding information, and making updates (b) are all important
aspects of database use.
2. Query languages like SQL typically work behind the scenes (a) as an intermediary
between database client software provided to users and the database itself.
3. Database client software provides (e) an easy-to-use interface for entering search
specifications, new records, data updates, and so on.
4. An SQL query is (c) a sequence of words, much like a sentence.
5. The process of purchasing an album (f) does cause an update in the whole database.
Your purchase just reduces the numbers of albums in the shop’s inventory.
6. The SQL JOIN command allows you (d) only if you have authorization to do so.

Task 14. Put the letters in the words in brackets into the correct order.

1. A little background in query languages can help you understand the power and
capabilities of databases (background).
2. An SQL query typically begins with an action keyword, or command, which specifies
the operation you want to carry out (keyword).
3. The clause consists of keywords followed by the name of the table (table).
4. Your purchase just reduces the numbers of albums in the shop’s inventory
(purchase).
5. The term parameter refers to detailed specifications for a command (parameter).
6. Although the global update function is powerful, it works only for records that have
similar characteristics (records).

Task 15. Fill in the blanks choosing from the variants given.

1. Most people who access a database on a “casual” basis interact with a very simple
user interface.
2. A little background in query languages can help you understand the capabilities of
databases.
3. The SQL query language provides a collection of special command words called SQL
keywords, such as SELECT, FROM, INSERT, and WHERE, which issue instructions to the
database.
4. Most SQL queries can be divided into three simple elements that specify an action,
the name of the database table, and a set of parameters.
5. Customers do not have authorization to change album prices or alter the name of
the songs on an album.
6. SQL is a very extensive and powerful language that can be used not only to
manipulate data but also to create databases, tables, and reports.

Task 16. Match the beginnings and the endings of the steps given and put them into
correct order.

1 The UPDATE command means (d) you want to change the data in some or all of the
records.
2 “Albums” is (a) the name of the record type containing the data you want to change.
3 SET DiscountPrice=9.95 tells (b) to change the data in the DiscountePrice field to
$9.95.
4 WHERE ArtistName=”Rolling Stones” tells (c) to change only those records where the
artist’s name is Rolling Stones.
5 SQL can perform a global update (e) that changes the data in more than one record
at a time.
6 It means that (f) is possible to update a group of records.

Task 17. Fill in the gaps in the text.

SQL is a database query language that typically works behind the scenes as an
intermediary between the database client software provided to users and the database
itself. Although the specifications for searchers and other database tasks are collected by
easy-to-use graphical user interfaces, those specifications are converted into SQL queries
which can communicate directly with the database. An SQL query contains SQL keywords
such as SELECT, FROM, INSERT, JOIN, and WHERE, plus parameters that specify the details of
the command. Records can be removed from a database using the SQL DELETE command.
Records can be added to a table using the SQL INSERT command. To search for data, you can
use the SQL SELECT command. To change or replace the data in a field requires the SQL
UPDATE command.

Task 18. Speaking. Discuss the following questions.

1. The most important aspects of database use include adding records, finding
information, and making updates. These actions are essential for managing and
utilizing data effectively.
2. Having a little background in query languages is important because it helps users
understand the capabilities and power of databases. It allows users to interact with
databases more efficiently and perform specific tasks without relying solely on
graphical user interfaces.
3. SQL stands for "Structured Query Language."
4. A query language like SQL works as an intermediary between the user and the
database. Database client software collects user input and converts it into SQL
queries, which directly interact with the database to carry out instructions.
5. A simple SQL query typically begins with a command word specifying the operation
to be performed, followed by keywords that indicate the table to be accessed and
parameters that provide details for the command.
6. SQL specifies the action using command words such as DELETE (removing a record),
CREATE (creating a database or table), INSERT (adding a record), JOIN (using data
from two tables), SELECT (searching for records), and UPDATE (changing data in a
field). These command words issue instructions to the database.
7. SQL specifies which table to use through clauses constructed using keywords like
USE, FROM, or INTO, followed by the name of the table. For example, "FROM Tracks"
indicates using the Tracks table from a specific database.
8. SQL queries carry out searches by using the SELECT command, which specifies the
data to be retrieved and displayed. Users can define parameters within the WHERE
clause to filter and narrow down search results.
9. Yes, it is possible to change the contents of records or update a group of records
using SQL commands. For example, the SQL UPDATE command can modify data in a
single record or perform a global update for multiple records. The process of
purchasing an item can cause updates in the database, such as reducing the number
of available items in the inventory.
10. To retrieve data from more than one table simultaneously, SQL allows users to join
tables. The SQL JOIN command is used to establish relationships between tables and
access data from multiple tables in a single query, leveraging the related information
stored in each table.

Task 19. Do the tasks in the following test.

1. A(n) flat file is a structured file containing only one record type.
2. All of the following consider the advantages of using static Web publishing to display
data on a Web page, EXCEPT c) users can change your data.
3. Modern database software supports data encapsulation, which means keeping data
separated from the program modules that manipulate the data.
4. False (The first step to organize a relational database is to organize the data into
tables, not fields.)
5. False (In a relational database, an attribute is equivalent to a column, not a record.)
6. A(n) entity is a collection of data fields that pertain to an entity, such as a person,
place, or thing.
7. One of the goals of a normalization process is to minimize data redundancy.
8. SQL syntax includes SELECT, FROM, and INSERT.
9. False (ASP, CGI, and PHP are used to create dynamic web pages, not XML
documents.)
10. True (In SQL, the JOIN command is used to combine data from multiple tables.)
11. True (Spreadsheet software often includes features for working with data, including
functions suitable for relational databases.)
12. True (A database index doesn't affect the physical sequence of records on a disk.)
13. Data mining refers to the use of statistical tools for automated extraction of
predictive information from a database.
14. True (An SQL query is indeed a sequence of words, like a sentence.)
15. False (In some database systems, you can change the sort key of a table.)
16. In an ERD, relationships and entities are shown by connecting lines.
17. A primary key contains data unique to a record.
18. True (The term "parameter" does refer to detailed specifications for a command.)
19. Real, integer, text, logical, BLOB, and date are examples of data types.
20. A database consists of one or more records (rows) that contain data.

LANGUAGE SKILLS DEVELOPMENT

Exercise 1. Choose the right variant.

1. Let's have lunch in half an hour, shall we?


2. It is the first time that she has driven a car. - I never drove a car either, too.
3. Mr. Grey was the last person to arrive at the party. He waited for a taxi for an
hour.
4. Soho has been a cosmopolitan area since the first immigrants, who were
French Huguenots, arrived here in the 1680s.
5. Coffee seeds which are also known as beans first need to be roasted, and
then they are ground to make coffee.
6. Coffee grounds then can be processed in a variety of different ways.
Sometimes they are filtered and sometimes they are soaked in water to
make the drink which is popular with so many people.
7. His innocence was proven in court, and he was set free.
8. Five hundred thousand pounds were donated to build a new hospital wing.
9. I found a briefcase on the train. -You ought to take it to the police station as
soon as possible.
10. You must pay the bills today. - I know, I promise. I won't forget.
11. Will you give me a lift to work tomorrow? - Yes, I will pick you up at eight
o'clock.
12. They have been married for ten years already. He is deeply in love with her.

13. She hasn't been feeling well lately. She has arrived late for the meeting.
14. A historian is a person who studies history.
15. We stayed at a hotel by the sea. The room was very comfortable, and the
view was fantastic.
16. I don't believe in ghosts. I think that the supernatural is a product of people's
imagination.
17. Of course, most heating systems come on and off automatically nowadays.
18. One should do one's best at all times.
19. The two bank clerks blamed themselves for the robbery.
20. You are typing so fast. If you type more slowly, you won't make so many
mistakes.
21. Many famous men have lived in Soho as it has had a reputation for attracting
artists, writers, poets, and people in the media.
22. A Sheftesbury Avenue is the heart of London's theatre land, and there are
endless clubs, pubs, and cafes.
23. It is said if you wait long enough at Piccadilly Circus, you will meet
everyone you ever knew.
24. Travelling abroad has gotten easier and easier for young people nowadays.
25. Great importance is placed on exam results in this school.
26. The wedding reception will be held in a small hotel in a week.
27. The construction of the new shopping centre has been completed already in
our city.
28. Unless you are more careful, you will have accidents.
29. The Prime Minister must give a speech at the conference tomorrow.
30. Would you mind my staying here for some days?
31. They might have forgotten about the meeting; that's why they didn't come.
32. We admired the stars twinkling highly in the dark sky.
33. Our neighbour is operated on by a highly respected doctor. He is in the
hospital now.
34. The clothes I bought yesterday were very cheap. There was a sale in one of
the department stores in the city centre.
35. Rome wasn't built in a day.
36. Actions speak louder than words.
37. You can take what you want out of the fruit in that box.
38. Operations were difficult in the 18th century. In those days there was no
anesthetic.
39. Sam would like to marry a girl younger than himself.
40. I can't buy everything you want. If I buy everything you ask, I will be ruined
soon.

Exercise 2. Rewrite these sentences to emphasize the underlined words.

1. These days, it's due to viruses, sabotage, or natural disasters that you never know
when your computer system will go down.
2. It's the regular backup of their files that we suggest everyone do.
3. Over the past 10 years, it's their lost data that ECO Data Recovery has saved for many
individuals and companies.
4. It's the installation of a firewall coupled with anti-virus protection that will greatly
reduce your chances of becoming a hacker's next victim.
5. In early 2000, it was a series of DDoS attacks that knocked such popular Web sites as
Yahoo, CNN, and Amazon off the air that made most people aware of the dangers.
6. Excessive heat due to a bearing failure can result in spindle motor failure.
7. What everyone knows is that computers are constantly getting faster, more powerful,
and less expensive.
8. Most sound cards give you the power to plug in speakers and a microphone if you
want to personalize your audio experience.
9. Movies on DVD can also have more than one sound track for you to customize your
viewing experience.
10. What most computer users never change is how their file and folder windows look.

Exercise 3. Complete the sentences using the following -ize verb forms:

 The real value of a good software application is often its ability to organize
information in a way that facilitates easy extraction and analysis by people.
 People are using biometric software, such as fingerprints and facial recognition, to
prevent unauthorized logging onto their computer systems.
 Even though the majority of PC software has the flexibility to generate, store, and
distribute data formatted to the user's requirements, specialized applications are still
favored by businesses.
 It could be said that computer programmers working on medical research projects
are highly specialized.
 Manually kept records such as patient medical histories can be computerized for
quick and easy access.
 You can minimize the screen by clicking on the box icon beside the white X in the top
right-hand corner of this screen.
 Users will want to customize their systems for a number of reasons, including
becoming more productive and solving problems particular to their needs.
 Most people do not really understand that computers cannot actually randomize
anything; the best thing they can do is to simulate the generation of random
information for humans.

You might also like