Presentation is loading. Please wait.

Presentation is loading. Please wait.

Design of a Relational Database Schema for Magnet Inventory Data Catherine Pao July 26, 2006.

Similar presentations


Presentation on theme: "Design of a Relational Database Schema for Magnet Inventory Data Catherine Pao July 26, 2006."— Presentation transcript:

1 Design of a Relational Database Schema for Magnet Inventory Data Catherine Pao July 26, 2006

2 Agenda  Relational databases  Database organization  What’s been done  How to: - View / lookup data - Access phpMyAdmin - Enter new data into the database

3 It’s a database system in which any database file can be a component of more than one of the database's tables. What is a relational database?

4 Example MagnetCORE IDPicture 112423 2456 323463 This is one table of a database…

5 Magnet- 1 CORE ID- 12423 This page utilizes another table in the SAME database… Hence, the word RELATIONAL…

6 Magnet- 2 CORE ID- 456 Yet another…

7 Magnet- 3 CORE ID- 23463 And another…

8 mySQL vs. Excel  DATA  Dynamic  Interrelated Tables  CENTRAL  ANALYSIS  NOT Dynamic  Distinct Tables  SCATTERED

9 Old vs. New OLD: http://www.jlab.org/MagTest/www/S pareItemsIndex.html NEW http://www.jlab.org/MagTest/www/In ventory/

10  PHP Programming  Internet based front end database management system  Input of all current magnet inventory  Initial field maps What’s Been Done

11 How to… START: www.jlab.org/MagTestwww.jlab.org/MagTest View and lookup data through the web pages

12 Scroll down. Under Magnet Measurement on the left panel, click Magnet Measurement Facility Inventory.Magnet Measurement Facility Inventory You can now do one of two things- 1. Click ‘SEE ALL’ to view ALL inventory. OR 2. Indicate type and name by selecting from the drop down bars.

13 You should now see a table for either all inventory or the specified search. Magnet Style Core ID LocationOn Loan OperationalDrawing Number Picture CoilQD 21Test Labnoyes0 Coil34-98Test Labnoyes0 Click to see pictures

14 How to…. Enter new data into the database through phpMyAdmin https://jmysql.jlab.org/phpMyAdmin/ START:

15 Type in username & password. Select ‘MagtestDB’ on the left panel drop down bar. Select a table. Choose an action.  BROWSE  STRUCTURE  SEARCH  INSERT  EMPTY  DELETE

16 Another Another method… http://www.jlab.org/MagTest/www/Inventory/ Insert Magnet Inventory Billet/Misc. Inventory Field Maps Comments

17 Conclusion


Download ppt "Design of a Relational Database Schema for Magnet Inventory Data Catherine Pao July 26, 2006."

Similar presentations


Ads by Google