Presentation is loading. Please wait.

Presentation is loading. Please wait.

# 1# 1 CS 105 Databases Introduction What is a database? What is a front-end? What does open source mean? How do you pronounce SQL? CS 105 Spring 2010.

Similar presentations


Presentation on theme: "# 1# 1 CS 105 Databases Introduction What is a database? What is a front-end? What does open source mean? How do you pronounce SQL? CS 105 Spring 2010."— Presentation transcript:

1 # 1# 1 CS 105 Databases Introduction What is a database? What is a front-end? What does open source mean? How do you pronounce SQL? CS 105 Spring 2010

2 # 2# 2 Our favorite online databases ESPN Major League Baseball Statistics Internet Movie Database

3 # 3# 3 CS 105 Spring 2010 What Is a Database? Database: a collection of information like a phone book or UIDirect or an address book or A database is a collection of objects such as tables, queries, forms, and reports READ in Computer Concepts about databases!!

4 # 4# 4 CS 105 Spring 2010 What does a database look like? A database is a container to store data in an organized fashion

5 # 5# 5 CS 105 Spring 2010 What does a table look like?

6 # 6# 6 CS 105 Spring 2010 Tables Data is organized into tables The rows of a table correspond to records-- each record is an individual entry, a row

7 # 7# 7 CS 105 Spring 2010 Tables: Datasheet View Field (column) Names The columns of a table correspond to fields

8 # 8# 8 CS 105 Spring 2010 Sequel? Essquell? Yes, SQL SQL (pronounced "ess-que-el" or "seequel") stands for Structured Query Language. SQL is the standard language to communicate with relational database management systems. SQL statements are used to perform tasks such as update data in a database, or retrieve data from a database.

9 # 9# 9 CS 105 Spring 2010 Database—misusing the word MySQL is a database management system- -DBMS SQLyog is a GUI—a graphical user interface or front-end for MySQL The word “Database” refers to the data itself, not the software than manages the data

10 # 10 CS 105 Spring 2010 Where they are MySQL is a database management system--DBMS SQLyog is a GUI—a graphical user interface or front- end for MySQL

11 # 11 CS 105 Spring 2010 And now to appearance--GUI Unix is user-friendly; it's just a little particular about which users it is friendly to. Your Concepts Book has more about operating systems and appearance.

12 # 12 CS 105 Spring 2010 What is a front-end? A UNIX environment— not very user-friendly. Unix view of a directory:

13 # 13 CS 105 Spring 2010 Windows view of the same directory

14 # 14 CS 105 Spring 2010 Editing a file in a Unix environment

15 # 15 CS 105 Spring 2010 Editing the same file in FrontPage

16 # 16 CS 105 Spring 2010 Thunderbird front-end for email

17 # 17 CS 105 Spring 2010 What is MySQL? MySQL is the most popular Open Source SQL database management system, is developed and provided by MySQL AB—a “virtual” company that began in Sweden and hopes to make money from providing services. READ about Open Source in Computer Concepts Licenses and copyright laws are part of our world. They are vital to both legal and illegal use of computers.

18 # 18 CS 105 Spring 2010 Login

19 # 19 CS 105 Spring 2010 SQLyog To download the software, login to Compass and you can click on the icon for it.

20 # 20 CS 105 Spring 2010 Standard Database Objects Each of these objects must have a unique name We can do these in SQLyog: Table: Used to store and manipulate data. Query: Used to retrieve information. We can do these in other DBMS front-ends: Form: Used to view one record of data. Report: Used to present, calculate, summarize, and print table data.

21 # 21 CS 105 Spring 2010 Tables of student scores

22 # 22 CS 105 Spring 2010 You can pull out individual student scores on a FORM (one record at at time)

23 # 23 CS 105 Spring 2010 Example of a form from the Internet The user sees the form and not the underlying tables

24 # 24 CS 105 Spring 2010 What good are forms? Lets you view one record at a time Customizes the display. Prevents error Hides data from viewer Allows you to use Input Masks and guide data entry

25 # 25 CS 105 Spring 2010 Input Mask, Form: Online Shopping

26 # 26 CS 105 Spring 2010 A report: An on-screen or printed display of organized data from a table or query May contain text, data, graphics, borders, colors. Examples include--depending on the DBMS you are using-- sales summaries, invoices, mailing labels, personal address books, inventory listings

27 # 27 CS 105 Spring 2010 Sample Internet Report -- UIUC http://www.dmi.uiuc.edu/stuenr/index.htm#class

28 # 28 CS 105 Spring 2010 To summarize What is a database? What is a front-end?? How do you pronounce SQL?


Download ppt "# 1# 1 CS 105 Databases Introduction What is a database? What is a front-end? What does open source mean? How do you pronounce SQL? CS 105 Spring 2010."

Similar presentations


Ads by Google