• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/15

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

15 Cards in this Set

  • Front
  • Back

Logical operators in database queries

< Less than


> Greater than


NOT


AND


OR



SELECT * FROM Pets


WHERE Age < 7 AND Type NOT(Dog)


Primary & Foreign keys

Primary and Foreign keys are used to link related records in different tables.



Primary key is a unique identifier.



Foreign key is a value which is the primary key of a record in another table.


Data validation


Data validation is used to make sure the data entered meets set rules.


What is a relational database?

A database which contains multiple tables linked by primary and foreign keys.



Relational databases remove the repetition and inconsistency usually found in flat-file (single table) databases.

What is an entity?



A real world object about which data is being held.


Represented as a table in a database.

Tables


Tables hold data about a specific entity, ie a Student.



They are made up of rows (records) and columns (fields) .

Forms


A form is an input screen that allows data to be displayed and edited.



They use text boxes, drop down menus and checkboxes to update the database.

Queries


A query is a command used to search the database and return relevant results.



SELECT * FROM Students


WHERE Age > 17

Report


An output of data in the database in a specific format (layout), usually printed.

Modules


Used to add functionality to a database.



Modules contain statements and subroutines that are stored together as a unit and can be executed by a user.

What is a DBMS?



DataBase Management System



Used to manage the database by creating tables, inserting data, executing queries.


It also keeps data secure and is used to create relationships.

Separating the application and database


Separating the application and the database means that the data can be accessed from lots of different applications.



For example desktop application and online.

Customised data handling applications


Using the DBMS to create a set of tools for setting up and maintaining a specific database.



These can be created by experts to make editing the database easy for non-specialists.

What is a database?


A persistent, organised, structured store of data.

Data handling software


Data handling software (like Microsoft Access or BaseBear) is used to create databases, add new information and edit existing information.