Mapa mental
Databases
Contenido del mapa
Databases
Data Structure Table
Primary Key
- Unique to one person ONLY
Splitting up the data
- Can't just have one massive table
- Takes up too much space.
- Normalisation
- From a massive group to split it up into smaller group which is more manageable
Relationships
- One to One Relationship
- One to many
- Many to Many
Foreign Key
- The foreign key is like this.
- One tutor group can have MANY students.
- The foreign key is like this.
QUERIES
- SQL
- SQL is a standardised method of interrogating a database regardless what software/platform you have used to create the database
- Commands
- Select
- list the fields you want to displayed here.
- From
- List the table or tables the data will come from here
- Where
- List search criteria here
- Order by
- List field(s) you want the results sorted by here
- Select
- Example
- SELECT Details.ID, Details.[Student Name], Details.[Student Age],
- A semi-colon will appear at the end of the last line of SQL Code.
- New Data (Syntax)
- Insert into
- Table name (Fieldname, Fieldname, Fieldname)
- Values
- (value, value, value)
- Insert into
- My Examples
- SELECT Details.ID Details.[Student Name] Details.[Student Age] Details.[Hair Colour] Details.[Eye Colour]
- FROM Details
- WHERE (((Details.[Student Name]) = "ADAM") AND ((Details.[Eye Colour])= "Blue"))
- ORDER BY
- WHERE (((Details.[Student Name]) = "ADAM") AND ((Details.[Eye Colour])= "Blue"))
- FROM Details
- SELECT Details.ID Details.[Student Name] Details.[Student Age] Details.[Hair Colour] Details.[Eye Colour]
- SQL
Imágenes y archivos del mapa
Información
- Descripción
- Mapa Mental sobre Databases, creado por KierenV69 el 04/12/2014.
- Creado por
- KierenV69 · dic 2014
- Actualizado
- 19 feb 2016
- Visitas
- 9
- Valoración