SlideShare a Scribd company logo
PRACTICAL 3a  – CREATING DATABASE <br />Objective: To build a database file. <br />INSTRUCTIONS:<br />Create a database file below: COMMERCE DEPARTMENT STUDENTS <br />Create TableStudent<br />Field NameData typeDiscriptionField Properties NameTextName of student size 30MatrixTextStudent’s id size 11Registration DateDate / TimeDate enrolled in polytechnicsFormat medium dateProgramTextProgrammes in polytechnicsSaiz 3<br />Decide the suitable primary key for each table<br />Course Taken Field NameData typeDiscriptionField PropertiesMatrixTextStudent’s idSize 11Course CodeTextCourse code taken Size 5<br />Decide the suitable primary key for each table<br />Course<br />Field NameData typeDiscriptionField PropertiesCourse Code TextCourse Code Size 5Course NameTextCourse NameSize 20LecturerTextNames of lecturers Size 30<br />Decide the suitable primary key for each table<br />Save the table structure you have built and close the database.
What are the functions of data type and field properties?   Why it should be set?
What are the functions of primary key?
Type your answers into the Ms Word.PRACTICAL 3b  – CREATING DATABASE <br />Objective: Insert a record into the table and creating relationship in the databases (1-to-many)<br />INSTRUCTIONS:<br />Open the database COMMERCE DEPARTMENT STUDENTS

More Related Content

PPTX
normaliztion
PPTX
Database.ppt
PDF
Normalization in SQL | Edureka
PPT
Normalization Accepted
PPTX
Entity relationship diagram - Concept on normalization
PPT
Normalization
PPTX
Normalization presentation in Database Management System
normaliztion
Database.ppt
Normalization in SQL | Edureka
Normalization Accepted
Entity relationship diagram - Concept on normalization
Normalization
Normalization presentation in Database Management System

Viewers also liked (16)

DOCX
PPTX
Nicolas Illitch Martinez Lopez
PDF
Паспорт отхода
PDF
Women's Mini-Retreat Discover
PPT
Aa自主記帳成本會計實務開班
PPTX
教育部:課綱微調大哉問
PPTX
Punctuation presentation
PPTX
SDI4Apps presented at the Geomatics in Projects conference
PDF
Justin Finch. Selected work.
PDF
Российские передовые технологии для нефтепровода «Куюмба – Тайшет»
PDF
В борьбе импортозамещающих технологий побеждают надежность и стабильное развитие
PPTX
Любимые блюда моей семьи
PPTX
如何設計讓人成癮的 App 加強版
PPTX
20160622 小賴-成長駭客-第三章-獲取用戶
PPTX
Open Educational Resources Initiative in Macedonia
PDF
Port4 textos educacao_literaria
Nicolas Illitch Martinez Lopez
Паспорт отхода
Women's Mini-Retreat Discover
Aa自主記帳成本會計實務開班
教育部:課綱微調大哉問
Punctuation presentation
SDI4Apps presented at the Geomatics in Projects conference
Justin Finch. Selected work.
Российские передовые технологии для нефтепровода «Куюмба – Тайшет»
В борьбе импортозамещающих технологий побеждают надежность и стабильное развитие
Любимые блюда моей семьи
如何設計讓人成癮的 App 加強版
20160622 小賴-成長駭客-第三章-獲取用戶
Open Educational Resources Initiative in Macedonia
Port4 textos educacao_literaria
Ad

Similar to Practical3 (20)

DOCX
Written by Dr. Preiser 1 CIS 3100 MS Access Assignment .docx
DOCX
Week 9.docx
PDF
Illustrated Microsoft Office 365 and Access 2016 Intermediate 1st Edition Fri...
DOCX
Database system the final assignment for this course is an eight to
PPT
Training MS Access 2007
PDF
DBMS Class Presentation for English Version.
PDF
IGCSE ICT (0417/0983) - Databases - Ajiro Tech
PPT
Creating and editing a database
DOCX
EDUC 210 Computers in EducationDatabase HandoutDefinition.docx
PPTX
Teknik-Tekniknya
PDF
Database use
PDF
Ms access
DOCX
CIS 336 Wonderful Education--cis336.com
PPTX
O Level Paper 2 database All topics of chapter
PDF
Advanced database
PPT
Ms access tutorial
DOCX
Dbm 380 week 3 learning team ms access tables
DOCX
Bis 245 week 5 lab – er diagram and er matrix
PPTX
Templates Powerpoint
Written by Dr. Preiser 1 CIS 3100 MS Access Assignment .docx
Week 9.docx
Illustrated Microsoft Office 365 and Access 2016 Intermediate 1st Edition Fri...
Database system the final assignment for this course is an eight to
Training MS Access 2007
DBMS Class Presentation for English Version.
IGCSE ICT (0417/0983) - Databases - Ajiro Tech
Creating and editing a database
EDUC 210 Computers in EducationDatabase HandoutDefinition.docx
Teknik-Tekniknya
Database use
Ms access
CIS 336 Wonderful Education--cis336.com
O Level Paper 2 database All topics of chapter
Advanced database
Ms access tutorial
Dbm 380 week 3 learning team ms access tables
Bis 245 week 5 lab – er diagram and er matrix
Templates Powerpoint
Ad

Recently uploaded (20)

PPTX
1. Introduction to Computer Programming.pptx
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Zenith AI: Advanced Artificial Intelligence
PPTX
TLE Review Electricity (Electricity).pptx
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
Getting started with AI Agents and Multi-Agent Systems
PDF
1 - Historical Antecedents, Social Consideration.pdf
PPTX
observCloud-Native Containerability and monitoring.pptx
PPTX
cloud_computing_Infrastucture_as_cloud_p
PPT
What is a Computer? Input Devices /output devices
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Web App vs Mobile App What Should You Build First.pdf
PDF
project resource management chapter-09.pdf
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
1. Introduction to Computer Programming.pptx
Hindi spoken digit analysis for native and non-native speakers
Zenith AI: Advanced Artificial Intelligence
TLE Review Electricity (Electricity).pptx
gpt5_lecture_notes_comprehensive_20250812015547.pdf
A comparative study of natural language inference in Swahili using monolingua...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
O2C Customer Invoices to Receipt V15A.pptx
Getting started with AI Agents and Multi-Agent Systems
1 - Historical Antecedents, Social Consideration.pdf
observCloud-Native Containerability and monitoring.pptx
cloud_computing_Infrastucture_as_cloud_p
What is a Computer? Input Devices /output devices
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
Univ-Connecticut-ChatGPT-Presentaion.pdf
Group 1 Presentation -Planning and Decision Making .pptx
Web App vs Mobile App What Should You Build First.pdf
project resource management chapter-09.pdf
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
A contest of sentiment analysis: k-nearest neighbor versus neural network

Practical3

  • 1. PRACTICAL 3a – CREATING DATABASE <br />Objective: To build a database file. <br />INSTRUCTIONS:<br />Create a database file below: COMMERCE DEPARTMENT STUDENTS <br />Create TableStudent<br />Field NameData typeDiscriptionField Properties NameTextName of student size 30MatrixTextStudent’s id size 11Registration DateDate / TimeDate enrolled in polytechnicsFormat medium dateProgramTextProgrammes in polytechnicsSaiz 3<br />Decide the suitable primary key for each table<br />Course Taken Field NameData typeDiscriptionField PropertiesMatrixTextStudent’s idSize 11Course CodeTextCourse code taken Size 5<br />Decide the suitable primary key for each table<br />Course<br />Field NameData typeDiscriptionField PropertiesCourse Code TextCourse Code Size 5Course NameTextCourse NameSize 20LecturerTextNames of lecturers Size 30<br />Decide the suitable primary key for each table<br />Save the table structure you have built and close the database.
  • 2. What are the functions of data type and field properties? Why it should be set?
  • 3. What are the functions of primary key?
  • 4. Type your answers into the Ms Word.PRACTICAL 3b – CREATING DATABASE <br />Objective: Insert a record into the table and creating relationship in the databases (1-to-many)<br />INSTRUCTIONS:<br />Open the database COMMERCE DEPARTMENT STUDENTS
  • 5. Enter data as follows:Student<br />NameMatrixRegistration DateProgramDINA BT AMIRUDIN10SKM06F00316/01/2007SKMALINA BT WAHAB10DPM06F00415/01/2007DPMONG LEE KEAN10DIT06F00217/01/2007DIT<br />Course Taken<br />MatrixCourse Code10SKM06F003A201310DPM06F004A201410DIT06F002A2015<br />Course<br />Course CodeCourse Name LecturerA2013BAHASA INGGERISMISS KIM BEEN LEEA2014KEMAHIRAN GENERIKPN. HUSNA BT ALIA2015KETAMADUNAN ISLAMUST KHAIRUDIN OSMAN<br />3.Connect as the figure below.<br />Save the table structure you have built and close the database.
  • 6. Explain the relationship that have been created and how this could happen?
  • 7. What is the meaning of relationship “one-to-many” and “many-to-one”.
  • 8. What is the relationship between the primary key and the relationship?
  • 9. Type your answers into the Ms Word.PRACTICAL 3c – CREATING DATABASE <br />Objective: Insert a record into the table and creating relationship in the databases (1-to-one)<br />INSTRUCTIONS:<br />Create a database file below: SYARIKAT DHIYA HOLDINGS <br />Create TableEmployee<br />Employee Num NameIDAddressPositionBH9011ABDUL KARIM BIN MUSA541129-03-2661KAMPUNG PERTAMA, KULIMPENGURUSBH9007SAZALI BIN YUSOF751129-03-2613TMN LANGAT, SERDANGPENYELIABH9102KAMARIAH BT HASSAN671129-03-2654BT 23, JALAN SIMPANGPENOLONG PENGARAH<br />J<br />Salary<br />Employee NumSalaryEPFBH9011$ 4,000$ 370BH9007$ 3,500$ 250BH9102$ 3,700$ 300<br />Determine the appropriate primary key so that an employee has only one salary, as the diagram below.
  • 10. Save the table structure you have built and close the database.
  • 11. Determine the resulting relationships. Type your answer in the word.