Relationships Forms And Queries Flashcards
Relationship
A relationship links two tables in a database using a field that exits in each of the tables, the primary key of the one table will be stored as a foreign key in another table
1 to 1
X—————————x
1 to many
———
X——————-x
———
Many to many
——- ———
X———————x
——- ———
Forms
Are a common way to collect data. They can be used to enter a new record , modify an existing record or a view record already stored in a table
What are the advantages of creating a data capture form
When different tables makes easier to collect data, database designer can control exactly how the form looks
Query
A query is a question used to retrieve selected information from a database . It is used to search for records .
=
Equal to
Between
Between x and y
And
Both must be true
Or
One must be true
>
Greater than
<
Less than
> =
Greater than or equal to
<=
Less then or equal to