Tutorials On Database Management

A Member? Please Login  
type your username and password to login
Date: October 14, 2008, 06:09 AM
249618 members and 148293 Topics
Latest Member: ZedayLake
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Programming  |  Tutorials On Database Management
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Tutorials On Database Management  (Read 723 views)
Jackelony (m)
Tutorials On Database Management
« on: May 10, 2007, 11:06 AM »

Hey guys,
Please could someone who's competent enough start a tutorial on database management. I'm a budding programmer, with no basic knowledge of database and would really want to know. Guess there're a lot more people out there waiting to benefit.
Thanks
OlowoTee (f)
Re: Tutorials On Database Management
« #1 on: May 16, 2007, 04:09 PM »

I'll try to be as simple as possible with my little knowledge of DBMS:

A database is similar to a data file in that it is a storage place for data. database does

not present information directly to a user; the user runs an application that accesses data

from the database and presents it to the user in an understandable format.


A Relational Database is the most effective way of organizing your data in a database. In a

relational Database, data is collected into tables called Relations. Hope you remember that

your table is built of columns and rows,  bla blahh blah. But, before i go on, there are

some terms you've got to be familiar with in DataBase Management System (DBMS) which are:


1. Data Entity: Some 'thing' that is to be stored for later reference.The Storage medium may

be either a disk or tape, or on a paper for manual systems.). It is a logical representation

of data. Which later becomes your table. i'll explain later. Example in a school system: The

Student, Lecturer, Course are all examples of Entitites.


2. Data Attributes: It is a piece of information that describes a data entity. The identified

attributes of the Entity Student are: MatricNo, StudentFullName, Age, Gender etc.


3. Data Association/Relationship: This indicates that a relationship exists between two

entities.For example: There is a Relationship between the Student and the COurse Entities. A

student is expected to offer at least 1 course. Hence, the fact that a student can offer more

than one course makes the relationship a one to many relationship.

* Your entity/Attribute is always uniquely named in the singular and written in Capital Letters. e.g STUDENT and not STUDENTS, likewise COURSE and not COURSES.

Types of Relationship includes:
One-to-One
One-to-Many
Many-to-Many (this can be further broken down into 2(one-to-many relationship)

to be continued,

you can try this out.
List out the entities in a Supermarket system, and state their different attributes.


Byee!
Jackelony (m)
Re: Tutorials On Database Management
« #2 on: May 17, 2007, 01:50 PM »

Thank you so much OlowoTee for taking this bold step. I appreciate.
You gave me an assignment and I have done it.
Please can we continue?   Smiley
OlowoTee (f)
Re: Tutorials On Database Management
« #3 on: May 17, 2007, 05:19 PM »

I'D have loved to see the solution to the question. Nonetheless, let's see how far i can go for 2day!

Key Attributes: add this to your list of terms
You remember what attributes? By key attributes: it implies those attributes that makes you to uniquely identify an entity. There are 4 types of Key attr.
1. Primary Key; 2. Foreign Key; 3. Candidate Key; 4. Compound Key (when you have two primary keys to identify a particular entity/Table)

Primary Key: This is the unique identifier of an entity/table. e.g the difference between 2 students in the same department is the Matric Number. Hence, Matric no is the primary key for the entity STUDENT. The student name(another attribute) cannot be a primary key because, it's quite possible to have 2 or more students with the same surname & initials, that is while name won't serve as a good primary key but the student Matric because 2 students is expected to share the same Matric no.

Let's consider a university STUDENT with the following details.

STUDENT
MatricNo
FirstName
MiddleName
LastName
Age
Gender
CourseCode
CourseTitle
LectuerId
LecturerName
Department

*******the STUDENT is the ENTITY while the underlining details are refer to as attributes***
(All this terms come to your mind when u are considering a typical university student, But most of the attributes we have in here can as well stand as seperate ENTITIES e.g. LECTURER, COURSE etc. this is what we call an UNNORMALIZED entity, because there are some attributes inside that are supposed to be separate entity ). this will lead us to NORMALIZATION in our next class! Note,each entity is expected to have a unique identifier(Primary Key)
When you have more than one Identifier for an entity, you call Compound Keys
A Foreign key is when you have the primary key of an entity/table in another entity/table for easy referencing.blah blah blah, see you next time.

try this out. from the unnormalised list above, identify the attributes that can serve as a separate entity and write out their attributes.

I'll do this:
DEPARTMENT
departmentID
departmentName
HeadOfDepartment etc.
Jackelony (m)
Re: Tutorials On Database Management
« #4 on: May 18, 2007, 11:11 AM »

please go on I'm following. More power to your elbow.
OlowoTee (f)
Re: Tutorials On Database Management
« #5 on: May 22, 2007, 11:52 AM »

Hi, sorry for the suspense, just that i've been quite busy.

On Normalization,
A Normalised data is a clean data, you'll often hear this word 'Normalised/Normalisation' in DBMS because a normalised data is good for OLTP -Online transaction processing, (While your Unnormalised data is good for analytical processing).Normalization provides you with a consistent data without redundancy. There are Normalization rules which you must apply to your unnormalised data(e.g STUDENT entity) to make it Normalised! (I'll summarise the rules here, but u can pick up your textbook to learn more)
The first rule says that you must identify and remove all Repeating Group attributes into another Entity.i.e There should be a one-to-one relationship between the instances of an entity and the rows of the table.
The 2nd rule says that you must identify and remove attributes into another entity which are only partially dependent on the primary key and are also dependent on one or more other key attributes; or which are dependent on only part of the compound primary key and possibly one or more key attributes.

the 3rd rule says that you identify and remove into another entity those attributes which are dependent on a key other that the primary(Compound) key.

The explanation to this would have been a lot easier with some diagrams(The Entity Relationship Diagram), but can't place my diagrams here.

Database management is actually all about managing your database. Remember, Database (DB) is just like a container where you store information.DBMS helps you to well organise your data in the DB server. (


otuonye (m)
Re: Tutorials On Database Management
« #6 on: May 24, 2007, 05:50 PM »

I have a comprehensive tutorial on SQL server 2000. Anyone interested?


JOJO
fellow (m)
Re: Tutorials On Database Management
« #7 on: May 30, 2007, 11:42 PM »

Quote from: otuonye on May 24, 2007, 05:50 PM
I have a comprehensive tutorial on SQL server 2000. Anyone interested?


JOJO

I would love to have that, my email is olatundelanre@yahoo.com

Thanks
smartsoft (m)
Re: Tutorials On Database Management
« #8 on: June 01, 2007, 12:09 PM »

I will like to have that too  ucee85@yahoo.com
Jackelony (m)
Re: Tutorials On Database Management
« #9 on: June 02, 2007, 12:29 PM »

@OlowoTee,
Thanks so much for your help thus far. But sorry, i have to take a break at thins point, because I have exams to write.
I hope we can resume afterwards.

@Otuonye

Guy, I wouldn't mind if you'D be gracious enough to forward the SQL material to me via: jackelony@yahoo.com
Gracias
OlowoTee (f)
Re: Tutorials On Database Management
« #10 on: June 04, 2007, 05:09 PM »

hi Jackelony,

It's really being a long time though, i was waiting for a feedback from you. Wishing you all the best in your exams.

I'D hv love to send some e-books to you and some other friends, but i have this problem of uploading them online. They are large in volume. (in Megabytes)

Any idea please??  i'll be grateful. tanx
Adura_ngba (f)
Re: Tutorials On Database Management
« #11 on: June 04, 2007, 05:12 PM »

OlowoTee (f)
Re: Tutorials On Database Management
« #12 on: June 04, 2007, 05:57 PM »

tanx dear (Adura ngba), you did a very good job!

so Jackelony, you can visit the website. It's quite explanatory.
bijorium (m)
Re: Tutorials On Database Management
« #13 on: June 05, 2007, 10:58 PM »

I'D be most grateful to benefit from the SQL Server 2000 material. My e-mail address is bijorium@gmail.com . Thanks
OhGrey (m)
Re: Tutorials On Database Management
« #14 on: June 06, 2007, 09:07 AM »

@ Otuonye
Could u also forward the SQL tutorial to aikoguama@yahoo.com

@OlowoTee
Why not try uploading it at rapidshare or megaupload and don't forget to drop the link for us
kings2nice (m)
Re: Tutorials On Database Management
« #15 on: June 06, 2007, 08:26 PM »

Please I need the complete tutorial on SQL server 2000.
I want to be an ardent Database Administrator and Network Expert, majoring on the information(data) security.
my e-mail address is  royalkings2nice@yahoo.com
Thanks Jo
apristos
Re: Tutorials On Database Management
« #16 on: June 08, 2007, 03:03 PM »

fellow can you please send the SQL to apristos@yahoo.com
Thanks
OlowoTee (f)
Re: Tutorials On Database Management
« #17 on: June 08, 2007, 03:24 PM »

Thanks OhGrey for sharing that piece of information with me. I've been able to upload the ebook now tanx to Rapidshare.com.

To all those interested in SQL Server 2000 tutorial in 21 days, you can access it via: http://rapidshare.com/files/35532769/SQL21days.pdf

Directive:
access the website: http://rapidshare.com/files/35532769/SQL21days.pdf
scroll down the page, click 'FREE' and On the next page enter in the higlighed letters into the box provided for the 'No Premium users'.

Wish you a successful download, 


Enjoy!!
otuonye (m)
Re: Tutorials On Database Management
« #18 on: June 29, 2007, 11:01 PM »

Please forgive me for not logging into nairaland for a long time. I did not know that people indicated interest in this tutorial.

Anyway, to those that put their emails here, I have sent the tutorials on SQL server 2000 to them. If you need others, just call me or write me on otuonye2000@yahoo.com or 08037971139

I will be willing to give them out FREE of charge.

For we came into the world with nothing, and we shall go out of the world with NOTHING.

Keep the love
Jojo
otuonye (m)
Re: Tutorials On Database Management
« #19 on: June 30, 2007, 07:03 AM »

I have another tutorial that teaches dummies [I am not calling you a dummy ooo] how to install and configure networks to an advanced level. If anyone needs it [FREE OF CHARGE], write or call me.

Or you can post it here. Remember, I do not charge a fee for these documents. I just give them away FREE OF CHARGE.

For we came into the world with "NOTHING", and we shall leave the world with "NOTHING"
Jojo
08037971139
yaro248 (m)
Re: Tutorials On Database Management
« #20 on: July 01, 2007, 04:37 PM »

@Jackelony: hope this will help? It's the DB I use for my work

Firebird-1.5-QuickStart.pdf
* Firebird-1.5-QuickStart.pdf (189.1 KB - downloaded )
yaro248 (m)
Re: Tutorials On Database Management
« #21 on: July 01, 2007, 04:41 PM »

another

Firebird-2min.pdf
* Firebird-2min.pdf (172.9 KB - downloaded )
 Java/Java Mobile Developers in the House  Need Help On MS Access And Outlook VBA (Sending Email)  Do You Need Unix Account?  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Job Talk Jobs/Vacancies (2) Career Talk Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.