You are on page 1of 3

Database Queries

Here is a database that stores data about chemical elements.

1. What are the entities in this table? The names of the elements
2. How many records are there in this table? 8
3. How many fields are there in this table? 7
4. Make a data table with this information, using a spreadsheet program such as Excel or a database program
such as Access.
5. Do some research and add three more records to the table.
6. List the fields and give the field name and data type for each.
Lithium – atomic number = 3, atomic weight = 6.941, Name= Lithium, Symbol = Li, Melting Point = 180.5,
Boiling Point = 1330, When discovered = 1817
Atomic number = 26, atomic weight = 55.845, Name = Iron, Symbol = Fe, Melting Point = 1538, Boiling Point
= 2862, When discovered = 1300BC (approx.)
Atomic number = 20, Atomic weight = 40.078, Name = Calcium, Symbol = Ca, Melting Point = 842, Boiling
Point = 1484
7. Think of three more fields to add to your database table. List their field name and data type
Freezing point = Integer, Density = Integer, Type of Element (eg. Metal or non metal), string
8. Add the three new fields to your database table and research the correct data to fill in the fields for every
record.
9. Identify a primary key for your database table. Atomic Number
10. Create tables that show the data displayed from each of the following queries:
a.
b.

c.

d.
11. Create a query-by-example grid to be used to provide a list of all the elements with a boiling point above 0 oC.
The output is to include the name of the element, its symbol, its atomic number, its atomic weight and the
boiling point, and should be sorted alphabetically by name.

12.

You might also like