databases Flashcards
what is a database
collection of data organised in a way that makes easy to store retrieve and manipulate data either electronic or paper based
what is the advantage of electronic database
more efficent easy to store, mangae and retreive files
single table database
single table makes up database eg. spreadsheet
table
collection of rows and columns
what is a row called in databases
records
what is a record, how should you count its quantity
record is collection of related fields about an entity
do not count first row, as its headers of columns
what do you call columns in databases
fields or attributes
what are fields or attributes
piece of info about an entity (columns)
each field is made up of same datatype
entity
anything about which data can be collected
what is a data dictionary
table that shows collection of fields and their data types and metadata
metadata
data about data, info about existing data
what are the different data types
real, character, integer text/ alphanumeric, boolean, date/time
character
single letter, number, value, eg. s, 7
real
decimals eb. 12.6
integer
whole number can be zero and negative
text/ alphanumeric
string of characters can contain combination of letters with numbers and symbols
Num, Num1, Num_1
data/time
represent date or time, must specify seperator used in between eg. / or - or :
eg. 17/06/24
17-6-43
15:00:34