23 Pages

110A lect 7 access tables

Course: BUS 110A, Fall 2010
School: San Jose State
Rating:
 
 
 
 
 

Word Count: 935

Document Preview

Lecture Access 1 Database Overview and Creating Tables Create an Employee Table Why database for 110A Because businesses generate a lot of data What are some ways in which businesses use data they collect? Data is needed to generate meaningful information The bottom layer of a three tiered app You'll be more prepared for BUS112 So it is important to have working knowledge of databases. Overview of Access...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> San Jose State >> BUS 110A

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Lecture Access 1 Database Overview and Creating Tables Create an Employee Table Why database for 110A Because businesses generate a lot of data What are some ways in which businesses use data they collect? Data is needed to generate meaningful information The bottom layer of a three tiered app You'll be more prepared for BUS112 So it is important to have working knowledge of databases. Overview of Access What is a database? A collection of related tables. The SJSU student database has many tables. Some table it might include are: Students personal information table with your name, contact information and student ID Transcripts table WST status Components of a Database Field (aka column, attribute): Several Characters (e.g. Name) Record (aka row): Several Fields (e.g. your school record) Primary key: Unique identifier for the record (e.g. SSN) Table: Group of records e.g. (my class record). Database: Group of related tables An example of data stored in a database table Different DBMS available in market? Oracle, DB2, Microsoft Access, Microsoft SQL Server, Firebird, PostgreSQL, MySQL, SQLite, FileMaker and Sybase Adaptive Server Enterprise (From Wikipedia Click on link to read more) For this class we focus on MS Access (2007) but you will learn a bit about SQL queries as well. Let's look at one... This is a student database...Called Our_students_in_class_exercise Steps in creating database Plan: Purpose of the database, its scope. Remember adding a bathroom after a house is built costs 10 times as much as planning the house with it. Design: Build conceptual data models, report formats, data dictionary. Develop: Create tables, queries, reports Implement: Populate the database and test Review: Periodic checks to ensure compliance Creating your own databases Say you are hired by a company to automate their employee payroll system. What are some of the fields that you can think of? Creating your own databases Some potential fields EmployeeID Hire Date first name last name address phone number birth date Picture pay scale Hours worked You can get this information by analyzing the existing records of the company. Creating your own database You may need several tables to create this database. Why? Creating several tables ensures easier access, faster processing, and removes redundancy You can join these tables with relationships using primary and foreign keys Creating your own employee database New database blank database select location where file needs to be saved. Name the database as employee. Create a new table using design view. Explore other views for enhanced learning. Notice different types of data types and associated properties. The first field is employeeID. Right click to make it primary key. Creating a table Add the remaining fields Hire date : Date/time Last/FirstName: Text Street/City/State/Zip: (e.g. Text State 2chars) Phone: Text Birth Date: Text Save the table as EmpMain Populating Tables This means to add records You don't need to save as access automatically updates the table. You can delete, modify, add records now. You can delete, modify, and add fields too. However before you do this, you have to take into account the data integrity issues. You can play around with format, custom properties, and other options to enhance the experience. Let's add some records Add 3 records, completing the following fields: EmployeeID HireDate LastName FirstName Street/City/State/Zip Phone BirthDate PayRateID (1A, 2B, 3A) Relationships PRIMARY KEY: It is a field (or combination of fields) that makes each record in a table unique. Every table must have a primary key and each record must have a unique value as its primary key Tables and their relationships to each other are stored Tables are related in a one-to-many (or one-to-one) relationship A foreign key is required to establish the relationship one table's foreign key is another table's primary key. Primary Keys PRIMARY KEY: It is a field (or combination of fields) that makes each record in a table unique. Every table must have a primary key and each record must have a unique value as its primary key. Primary keys Examples of Properties Properties of the CustomerID Field Properties of the Gender Field Data Types DATA TYPE: Determines the type of data that can be entered and the operations that can be performed on that data Access recognizes the following data types: Number (can be used in calculations) Text the default data type for new fields (alphanumeric characters up to 255 per field) Memo (alphanumeric value of unlimited length) Date/Time AutoNumber (numeric value, automatically increases) Yes/No OLE Object Currency Hyperlink Data Type Importing Data For your course project you'll be importing data for your student table into your database. First click on the "External Data" Tab in Access Select the Excel as the file type that you'll be getting the data from This starts a wizard Importing Data There are 3 options...create a new table with the imported data, add the imported data to an existing table (this requires that the imported and existing data are similar), or link a table. We'll do the first Browse to where the import file is and open Click open and OK Importing Data You should be a preview of the data, Click Next Select the checkbox that says "first row contains column headings" and Next Now you can see the column headings as your field names and you can modify each fields datatype if you need to and Next Select the key if you wish Importing Data Now name your table something helpful and your done. You can now go into the table in access and modify its design you'll probably need to...
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

San Jose State - BUS - 172A
A R SD var corr 9.08 10.28 105.68 -0.53B 4.25 2.42 5.86 Varp Sdp 10.000 9.000 8.000 7.000 6.000 5.000 4.000 3.000 2.000 1.000p1 (10-90) p2 (20-80) p3 (30-70) p4 (40-60) p5 50-50) p6 (60-40) p7 (70-30) p9(90-10) 4.73 5.22 5.7 6.18 6.67 7.15 7.63 8.6SDp
San Jose State - SCWK - 242
SAN JOS STATE UNIVERSITYSchool of Social Work Research Sequence ScWk 242 Spring 2008Assignment #1: Interview Protocol ( Due at the start of class, 2/8/08 )This exercise is the development of an interview protocol. Although interviews are often associat
San Jose State - JS - 113
JS 196 e Forensic Molecular Biology 050707 I. Announcements and Assignments a. Assignments- Read Butler C 8 amd 9, Butler Ch 16, A IV&V, In10-11 b. Read Validation Presentation by Butler- REQUIRED- Due 051407 http:/www.cstl.nist.gov/div831/strbase/pub_pre
San Jose State - PHIL - 10
San Jose State - POLS - 122
I. The Federalist No. 78II. The Judiciary DepartmentIII.Independent Journal Saturday, June 14, 1788 [Alexander Hamilton]IV.To the People of the State of New York:WE PROCEED now to an examination of the judiciary department of the proposed government
San Jose State - AMS - 169
AMS 169 Guenter Some focus points for discussion of Edward Albee's play "The American Dream." (These are not meant to be restrictive, but rather suggestive of ways you might help organize your thoughts for seminar discussion.) What are the different chara
San Jose State - CE - 251
Home Work Lecture 6 Closed Conduit Hydraulics 6. A nozzle at the end of a 3-inch hose produces a jet 1 inch in diameter. Determine the longitudinal stress in the joint at the base of the nozzle when it is discharging 300 gallons of water per minute. Assum
San Jose State - HIST - 99
San Jose State - AMS - 159
AMS/EnvS/HUM 159: Nature and World CulturesSJSU SPRING 2009TakeHome FINAL EXAM due online no later than 10:00 pm on Thursday, May 21, 2009The five essay questions are worth 40 points each, for a total of 200 points You must reference course readings an
San Jose State - NURS - 126
SAN JOSE STATE UNIVERSITY School of Nursing NURS 126-Nursing Theory IV-4 units COURSE DESCRIPTION Focus on direct health care of children and the childbearing family in various health care settings. Exploration of bio-psychosocial processes involved in he
San Jose State - SCWK - 242
The Relationship between the Use of Alcohol and Other Drugs and Seeking Mental Health Services by Young AdultsBy Edward CohenNote to reader: This example demonstrates an explanatory study with an exploratory (qualitative) component. The first research q
San Jose State - NURS - 297
Graduate Admissions and Program EvaluationsGRADUATION DATE CHANGE REQUEST FOR AWARD MASTER'S DEGREEInstructions for student: Please fill out this form completely and pay $10 at the Cashier's Office. Return stamped form directly to Graduate Admissions an
San Jose State - ASIA - 70B
CLOSE READING OF A TEXTClose Reading is a strategy for interpretation that helps you get more out of reading any text, but especially a literary or religious text. As such, this is a strategy that you can use profitably in any Humanities or Social Scienc
San Jose State - COMM - 100W
Empowering Editing: On Building a Proofreading GuideA Proofreading Guide is: An empowering approach to editing; A customized list of your unique patterns of error; A process that grows and changes to suit your needsFive Simple Steps Reflect carefully on
San Jose State - ECON - 203
Chapter 6ProbabilityCopyright 2005 Brooks/Cole, a division of Thomson Learning, Inc.6.2 Assigning probabilities to Events Random experiment a random experiment is a process or course of action, whose outcome is uncertain. ExamplesExperiment Flip a
San Jose State - BUS - 173C
Business 173c Entrepreneurial Finance (aka Small Business Finance)Professor Steve BennetClick to edit Master subtitle styleAgendal SyllabuslOverviewBlackboard demol Introductionto Entrepreneurial Finance l Financing Sources l Opportunity Identifi
San Jose State - ENGL - 1B
English 1B Sams section 39 2/27/07My FatherEveryone can relate to life and the hardships that are involved. The most heart-felt stories we remember today are of those who have persevered and overcome the greatest obstacles of life. If it truly a lesson
San Jose State - BIOL - 21
Name:Communicatibn 20, Sec 3LINFORMATIVE OUTLINE-eut Comments:of 50 pointsttUniversal Format Proofread (11 ,/tt-2=2t5 "y5 3 components (1)Conclusion:Creativity/deve lopment (2)pointsReview/Relevance(2),'/out of 10 points APA Format: At leas
San Jose State - BUS - 160
2-25-2008 FedEx and UPS: Communication 1. UPS history a. Established in 1907 started with bicycles b. Only competition for USPS mostly worked with trucks c. When FedEx came in, UPS started using airplanes d. Emphasized quality and efficiency e. Used barco
San Jose State - SCWK - 175
Part OneAlcoholism and Ideology Approaches to TreatmentHistory 150 years ago Social/ Public/ Community Control Moral Character of drinker not Alcohol Prohibition Moral issue/ Down fall of Society/ Alcohol the demon Women in charge of education Depr
San Jose State - PSYC - 190
Values What are values? Why do we have values? (moral and ethical guidelines) What is the relationship between values and behaviors? (Values can be inferred from behaviors) ecocultural forces Socialization beliefs rooted in cultural values Use values to c
San Jose State - PHIL - 66
Carole S. Vance "The War on Culture" 1989 "Carole S. Vance, Ph.D., M.P.H. Associate Research Scientist of Public Health (Sociomedical Sciences and Anthropology) Expertise Sexuality and public policy; sexuality, health and human rights; medical anthropolog
San Jose State - SCWK - 175
Planning and Program DesignLewis, Packard, and Lewis (2007)Types of Planning Strategic: overall direction of the organization Long-range: concerned with stability of overall direction, with minor changes Operational: day-to-day activities Program: regu
San Jose State - AMS - 1B
San Jose State - COMM - 020
Final Tournament Reflection After attending the Intramural Speech Tournament on April 30th please write at least a one-page, double spaced reflection answering the following questions to satisfy your final exam: What did you like about participating in th
San Jose State - BUS - 173C
Week 14: May 11 Course Summary Financial Model Presentations Deliverables o Financial model and assumptions o 5-10 minute presentation o Upload (not email) financial model, assumptions and presentation to group area of WebCT by 11 AM on December 8 o Hard
San Jose State - HPRF - 135
NarrativeMattersDoctoring Across The Language DivideTrained medical interpreters can be the key to communication between physicians and patients.by Alice ChenPREFACE: Its fortuitous that patients and patience are pronounced the same. Their link as ho
San Jose State - HRTM - 170C
Board Liaison Vicki Scott, M.S., CTRS Hook Rehabilitation Center 1500 North Ritter Avenue Indianapolis, IN 46219 (317) 3553843 (w) (317) 3515485 (fax) vscott@ecommunity.com Fact Sheet Aquatic TherapyFact SheetErin J. Ferguson, CTRS, ATRIC P.O. Box 42
San Jose State - ANTH - 175
Northeastern Indians [slide 1]Note introductory metaphor-Native group with greatest early impact of direct frontier colonization. Viewed with high need for distortion and political justification, and misunderstanding (Woodland horticultural stewardship a
San Jose State - AAS - 33B
I. The Constitution (A country of laws, not a country of men) A. Separation of Power - Concentrated power of any kind is dangerous and that they way prevent tyranny is to fragment central powers by 3 parts: executive, legislative, and judicial 1. To furth
San Jose State - COMM - 100W
Listen Speak EngageMedia Criticism: Resources for panel discussionCOMMrecommended example: Spigel, L. (2004). Entertainment wars: Television culture after 9/11. American Quarterly, 56, 235-270. Example of student work: These student papers are available
San Jose State - URBP - 236
San Francisco Bay AreaFOCUSFocusing Our VisionAssociation of Bay Area Governments Metropolitan Transportation Commission Bay Area Air Quality Management District Bay Conservation and Development CommissionFOCUSprogram overview multi-agency initiativ
San Jose State - PHIL - 66
Donald Crawford "Nature and Art" 1983Ph.D., University of Wisconsin-Madison, Specialization: aesthetics, environmental aesthetics, 18th century philosophy. Crawford teaches and administrates at U.C. Santa Barbara. "My area of specialization is philosophi
San Jose State - ECON - 203
Chapter 8Continuous Probability Distributions1Copyright 2005 Brooks/Cole, a division of Thomson Learning, Inc.8.2 Continuous Probability Distributions A continuous random variable has an uncountably infinite number of values in the interval (a,b). Th
San Jose State - NURS - 297
Graduate Studies & ResearchChange of Classification in Master's ProgramFrom:_, Graduate Coordinatorfor _ programStudent Name: _ SSN: _ was admitted as `conditionally classified' student, needing to meet the following conditions: 1. _ 2. _ 3. _ 4. _ 5
San Jose State - ME - 15
ME 15 Dr. Barez Monthly Report 4: December The shortest and longest month of the semester is passing. It seems so long because most of the time it is spent at school. It is short in terms of days we spend in school. The break is coming near but only after
San Jose State - NUFS - 31
Consumption of fat-free fluid milk after resistance exercise promotes greater lean mass accretion than does consumption of soy or carbohydrate in young, novice, male weightlifters13Joseph W Hartman, Jason E Tang, Sarah B Wilkinson, Mark A Tarnopolsky, Ra
San Jose State - BUS - 188
Midterm Review 188 Chapter 1 Benchmarking.Baseline metrics (pp. 14-15) benchmarks are baseline values the system seeks to attain efficiency IT metrics (focuses on technology): throughput, transaction speed, system availability, information accuracy, web t
San Jose State - LING - 129
COLLECTING AND ANALYZING DATA ON RACIAL SLURS AND LABELS Note: This activity was developed to be used in conjunction with Chapter 10 of the book How real is race?, by Mukhopadhyay, Henze, & Moses (2007, Rowman and Littlefield Education). However, it can a
San Jose State - NUFS - 139
Sustainable Dining at SchoolsIntroductionIncreasing rate of obesity Decrease in local farms Farm-to-school/college programs as a solutionWhat is Sustainable Dining?Looking back at history connection between agriculture and the food at one's table Buyi
San Jose State - ME - 114
San Jose State - ZOOL - 115
ZOO 115 Invertebrate ZoologyMollusca Polyplacophora GastropodaMollusca Classes Polyplacophora (chitons) Monoplacophora Gastropoda Bivalvia CephalopodaMollusca - Polyplacophora Lives in rockyintertidal region It is an herbivore (except for one speci
San Jose State - CLIT - 124
San Jose State - ENGL - 1B
MLA Works Cited Example PageWorks Cited "Business Coalition for Climate Action Doubles." Environmental Defense. 8 May 2007. Environmental Defense Organization. 24 May 2007 <http:/www.environmentaldefense.org/article.cfm?ContentID=5828>. Clinton, Bill. In
San Jose State - NURS - 297
SAN JOS STATE UNIVERSITY School of Nursing Graduate Newsletter Number 49 Spring (December 2009) Mission: Provide innovative education in the art and science of professional nursing while empowering our baccalaureate and masters graduates to be socially an
San Jose State - HRTM - 197
EDUCATIONAL TOPIC LIST 2010 1. Leisure Values Identification/Values Clarification 2. Leisure Resources Awareness/Identification 3. Defense mechanisms 4. Breathing Techniques 5. Meditation 6. Social Skills Training (Specific skill) 7. Nonviolent communicat
San Jose State - BUS - 21
(rManagerial Accounting Practice Exam1.I Chapters 1r2r3Managerial accounting places considerable weight on: A. generally accepted accounting principles. B. the financiai history of the entity. C. ensuring that all transactions are properl,v- recorded.
San Jose State - CS - 149
Chapter 7: DeadlocksOperating System Concepts with Java 7th Edition, Nov 15, 2006Silberschatz, Galvin and Gagne 2007Chapter 7: DeadlocksThe Deadlock Problem System Model Deadlock Characterization Methods for Handling Deadlocks Deadlock Prevention Dead
San Jose State - COMM - 20
Demonstration SpeechAssignment PurposeThe Primary purpose of speaking is to help clarify a complex process, idea, or event for your audience. In other words, in this approximately 5 minute speech, you are to demonstrate (or teach us) how to do something
San Jose State - ENGL - 1B
English 1B-DraeganSpring 2010Reading Response #5After engaging in a critical, careful, thorough read of "Strange Bedfellows," respond to the following questions. Please give full, detailed responses.1. From your reading of the first section, what do y
San Jose State - PHIL - 66
George Dickie "Art As a Social Institution" [from Aesthetics: An Introduction 1971] Missing Material from the Weitz selection in our text. This material is referred to by Dickie. "None of the criteria of recognition is a defining one, either necessary or
San Jose State - NURS - 147A
SAN JOSE STATE UNIVERSITY School of Nursing Psychiatric and Mental Health Nursing Phyllis M. Connolly PhD, RN, CS CLINICAL SUPERVISION OBJECTIVES The clinical supervision group is a training education group which meets for one hour at the end of the pract
San Jose State - POLS - 101
SAN JOSE STATE UNIVERSITY - FALL 2008 POLITICAL SCIENCE 1 American Government Section 3 Mon. & Wed. 10:30-11:45 p.m. CL 303 Course Code 41352Instructor: Email: Office Hours: Dr. Patricia McKenzie Office: Clark Hall 406 L patricia.mckenzie@sjsu.edu Phone:
San Jose State - NUFS - 139
The Lancet's Series on Maternal and Child Undernutrition Executive SummaryThe problem of maternal and child undernutrition in developing countriesMore than 3.5 million mothers and children under five die unnecessarily each year due to the underlying cau
San Jose State - CLIT - 124
San Jose State - CHEM - 30A
Ed Chichester Office: DH 608 Phone: (408) 9244957 Chemistry 30A Laboratory Greensheet Spring 2010 YOU MUST BE ENROLLED IN BOTH THE LECTURE AND A LABORATORY TO RECEIVE CREDIT FOR THIS COURSE This laboratory stresses consumer microscale experiments. Man
San Jose State - NUFS - 144
NuFS 144, section 1 Summer 2010Extra CreditClass Cookbook: Foodways Autobiography and Cultural Artifacts Due Date: 6/10/2010 by midnightStudents will provide a recipe of a favorite traditional family food as per class discussion. These should be obtain
San Jose State - NURS - 137
http:/www.assembly. ca.gov/clerk/BILLSLE GISLATURE/Leg_Pro cedure.pdfCalifornia State Assembly Legislative Procedure Office of the Chief ClerkREVISED JANUARY 2007 This information reflectsprocedures contained in the State Constitution, the most recentl
San Jose State - BUS - 172B
Business 172B Portfolio ManagementInvestment Policy StatementDr. Frank JonesDr. Trance 12/9/2009Dear Mr. Anderson,I am writing you this letter to inform you that I have chosen you to manage my portfolio while I am on vacation for the next year. I hav
San Jose State - PSYC - 180
San Jose State - PSYC - 175
Day 2 Completed homework? Turn in Student Information Form Focused Free Writing Read some journal entries Review Chapter Ch. 1 Understanding Behavior I. Role of Genetics Project A A. Twin Studies II. Physiological influences and Physical Appearance A. Hea