Advanced High Comp Databases Flashcards
What is the scope of a project?
The scope clarifies what the project must cover.
What are the boundaries of a project?
The boundaries clarify what the project will not cover.
What are the 4 things a project can be constrained by?
Time, Scope, Cost, Legal (compatibility with GDPR, etc)
What are the 4 types of feasibility study?
Technical, Economic, Legal, Time
When is a dashed line that points towards the dependent use case used in a Use Case Diagram?
This is when «include» is used to show a dependency between a Base Use Case & a Dependent Use Case.
When is a dashed line that points toward the Base Use Case used in a Use Case Diagram?
This is when «extend» is used to show a dependency between a Base Use Case & a Dependent Use Case. Certain criteria must be met before this is actioned (ran).
When is a dashed line used in an ER Diagram?
To show a weak relationship.
When the end of a relationship is marked with a crossed line in an ER diagram, what does this mean?
Mandatory relationship: is required in the relationship.
When the end of a relationship in an ER Diagram is marked with a circle, what does this mean?
Optional relationship: is optional in the relationship.
What is a weak entity?
An entity that relies on an Owner Entity (entity that provides it with a foreign key) to create a primary key.
What are the 5 new SQL datatypes?
VARCHAR (basically size), INTEGER(TINYINT, SMALLINT, MEDIUMINT, INT, BIGINT), FLOAT, DATE, TIME
What is the HAVING clause used for in SELECT statements?
It’s used as a filter for groups of rows or aggregated data.
AKA: MIN, MAX, AVG, SUM, COUNT.
(Often used with the group by clause so that data is selected based on a specified condition)
What does the NOT clause do?
Reverses or negates a condition in a query:
EG: NOT( name = “Mylo Turnbull”)
this will provide results where the name is not my name.
What does the BETWEEN clause do?
Specify whether a value is within a range:
EG: WHERE number BETWEEN “5” AND “8”
What does the IN clause do?
IN is used in replacement of the OR clause, to specify multiple values you want in the WHERE clause.
EG: WHERE number IN(1, 2, 3)