MS SQL SERVER: Introduction To Database Concepts


Published on

MS SQL SERVER: Introduction To Database Concepts

Published in: Technology
1 Like
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

MS SQL SERVER: Introduction To Database Concepts

  2. 2. What is Data?<br />Data is any fact or statistic which can be operated on to <br /> derive meaningful information. It is a raw fact.<br />Simply put:<br />Data is any raw fact<br />Eg: Size = 12 is data<br /> Name = ‘Dennis’ is another data<br /> We cannot derive conclusions directly from the data without processing them<br />Example of a Data<br />
  3. 3. Why is Data important?<br /><ul><li> Data is important because every decision that happens in the world is based on some data
  4. 4. For example, if Jenny wants to buy a laptop, she needs the right data to make appropriate decision on the model. Like its cost, market value, etc.
  5. 5. Hence, every decision depends on the data</li></ul> corresponding to it<br />WHICH SHALL I BUY? <br />Cost = $360<br />Cost = $450<br />
  6. 6. Data in real-world<br /><ul><li> In the real world, data has become ubiquitous, i.e, data is every-where
  7. 7. All aspects of the modern business and domestic life-styles feed of huge amounts of data
  8. 8. The Amount of data is increasing exponentially and we needed a flexible, reliable and secure way to organize this data.
  9. 9. That is where Databases came to our rescue! </li></li></ul><li>What is a Database<br /><ul><li> A Database is a collection of interrelated data
  10. 10. For example:
  11. 11. A Database on students may contain the names, rollnumbers and GPAs of students in a university
  12. 12. A Zoo database may contain the names, RFID tag numbers, weights and ages of animals in a zoo
  13. 13. The List goes on
  14. 14. What is so special about a database? </li></ul> Why can’t we just use files? (like text files and word documents). The Next slide answers this Qn.<br />
  15. 15. Problems with files<br />Inconsistency<br /> In a system, a user may use different applications and these may use different formats of data. Hence, interoperability between their data is difficult<br />For Example: Willy, Tim and Rose have been asked to write an essay on MJ, and they use different platforms, they’d have difficulty combining the Data into a single-final document: Incompatibilty<br />X<br />Willy <br />Uses MicrosoftWord<br />Tim <br />Uses WordStar<br />Rose<br />Uses Mellel, a Word processor for Macintosh systems<br />
  16. 16. Problems with files<br />Data Redundancy<br />When handling large amount of data, there might be recurrences of data in case of files. This wastes memory space.<br />Integrity <br />The data is susceptible to corruption due to system failures<br />Concurrent Access anomalies<br />When many people try to write a piece of data concurrently – we’ll have problems in case of files<br />Security problem<br />Ill minded people may get access to our files if they are not secured properly.<br />
  17. 17. Applications of DBMS in real life<br />The DBMS stands for: Database Management System<br />DBMS is a collection of related data (a database) and programs which allow users to work on that data (the management system)<br />DBMS eliminates the various problems that are associated with file storages<br />In real-life, DBMS have a wide spectrum of applications:<br /><ul><li> In Movie theatres for holding ticket reservation details
  18. 18. In Prisons for managing info about the prisoners
  19. 19. In Banks, to manage customer and account info</li></li></ul><li>Database Features<br />A Database consists mainly of Tables<br />A Table is a set of values that is organized using a model of vertical columns (which are identified by their name) and horizontal rows. <br />A Table has a specified number of columns, but can have any number of rows. <br />Each row is identified by the values appearing in a particular column subset which has been identified as a candidate key.<br />Let’s take an example<br />
  20. 20. Database Features<br />Example<br />Consider a database for the dreams that ‘George’ had this week. It has a table called ‘History’ where he stores the date and time at which he dreamt. This table will look as follows:<br />An ‘ATTRIBUTE’ which can uniquely identify a record in a table is called a ‘KEY’. <br />Eg: Dream Number<br />The ‘TYPE’ of data is called as ‘ATTRIBUTE’ or ‘FIELD’. Eg: Date, Time,etc<br />The ‘VALUES’ of a set of attributes, which define a unique object is a ‘RECORD’<br />
  21. 21. Summary<br />Database Concepts<br /><ul><li>Data is a fact
  22. 22. Data is important
  23. 23. Database is a collection of related data
  24. 24. DBMS is used to manage database
  25. 25. Usage: Anyplace where data are concerned
  26. 26. A Database consists mainly of Tables
  27. 27. A Table consists of: </li></ul>Records (Rows in a table)<br />Attributes (Columns in a table)<br />Keys (Used to uniquely identify a record in a table)<br />End<br />
  28. 28. Visit more self help tutorials<br />Pick a tutorial of your choice and browse through it at your own pace.<br />The tutorials section is free, self-guiding and will not involve any additional support.<br />Visit us at<br />