Difference between revisions of "Basic Database Terminology"

From OpenCircuits
Jump to navigation Jump to search
(Created page with "= Work Flow Overview = == Just a bit of theory the may be helpful - Some Definitions == Databases These encode data in a structured and efficiently searchable format. I...")
 
Line 1: Line 1:
= Work Flow Overview =
 
  
== Just a bit of theory the may be helpful - Some Definitions ==
 
  
Databases
+
=  Just a bit of theory the may be helpful - Some Definitions =
    These encode data in a structured and efficiently searchable format.  It also easily select subsets of
 
    data and can sort those results. There are lots of different kinds, but one fairly standard one is a SQL or
 
    relational database.
 
  
Database File
+
== Databases ==
    The file ( or one of the files ) where database information is keptWe are using sqllite, which keeps a whole database
+
These encode data in a structured and efficiently searchable format.  It also easily select subsets of
    in one file.  This makes it very easy to move and/or backup a database.
+
data and can sort those resultsThere are lots of different kinds, but one fairly standard one is a SQL or
 +
relational database.
  
Table, Record, Column
+
== Database File ==
    in a SQL data base data is stored in Tables ( many tables may be put in one database ).  A table consists of records ( also called rows. ) Each row is information about some "thing"For example if the "thing" is a person a record
+
The file ( or one of the files ) where database information is keptWe are using sqllite, which keeps a whole database
    might contain the person's first name, last name, date of birth.... The table is much like a spread sheet with
+
in one fileThis makes it very easy to move and/or backup a database.
    the information on each person in a rowEach of the items ( first name, last name, date of birth.... ) is called a column.
 
  
SQL - Structured Query Language
+
== Table, Record, Column ==
    This is the language used by relational databases.  Typically the system generated the required SQL and runs
+
in a SQL data base data is stored in Tables ( many tables may be put in one database ).  A table consists of records ( also called rows. )  Each row is information about some "thing".  For example if the "thing" is a person a record
    it.  The user interface often shows the SQL which is quite a bit easier to read than it is to write.
+
might contain the person's first name, last name, date of birth.... The table is much like a spread sheet with
    It may give you useful feedback on what the system is doing.
+
the information on each person in a row.  Each of the items ( first name, last name, date of birth.... ) is called a column.
 +
 
 +
== SQL - Structured Query Language ==
 +
This is the language used by relational databases.  Typically the system generated the required SQL and runs
 +
it.  The user interface often shows the SQL which is quite a bit easier to read than it is to write.
 +
It may give you useful feedback on what the system is doing.
  
 
[[Category:Python Easy DB]]
 
[[Category:Python Easy DB]]

Revision as of 07:54, 2 December 2019


Just a bit of theory the may be helpful - Some Definitions

Databases

These encode data in a structured and efficiently searchable format. It also easily select subsets of data and can sort those results. There are lots of different kinds, but one fairly standard one is a SQL or relational database.

Database File

The file ( or one of the files ) where database information is kept. We are using sqllite, which keeps a whole database in one file. This makes it very easy to move and/or backup a database.

Table, Record, Column

in a SQL data base data is stored in Tables ( many tables may be put in one database ). A table consists of records ( also called rows. ) Each row is information about some "thing". For example if the "thing" is a person a record might contain the person's first name, last name, date of birth.... The table is much like a spread sheet with the information on each person in a row. Each of the items ( first name, last name, date of birth.... ) is called a column.

SQL - Structured Query Language

This is the language used by relational databases. Typically the system generated the required SQL and runs it. The user interface often shows the SQL which is quite a bit easier to read than it is to write. It may give you useful feedback on what the system is doing.