SlideShare a Scribd company logo
1 of 3
Can someone please help me with this? Much much appreciated!!!!
http://eecs.csuohio.edu/~sschung/cis430/LabAssignment1_CIS430.pdf
Solution
1.Creating Tables for Company :
CREATE TABLE Employee
(
FName, Char, NOT NULL,
MINIT,Char, Unique,
LNAME ,Char,Primary Key,
SSN,Int,Primary Key,
BDATE,DateTime,Not Null,
ADDRESS,Text,Not Null,
SEX,Char,Not Null,
SALARY,Int,Foreign Key,
SUPERSSN,Int,Primary Key
DNO,Numeric,Not Null
);
Department Table :
Create Table Department
(
DNAME,Char,Primary Key,
DNUMBER,INT,Not null,
MGRSSN,INT,Primary Key,
MGRSTARTDATE,DateTime,Not Null
);
DEPENDENT TABLE:
Create Table DEPENDENT
(
ESSN,INT,Not Null,
DEPENDENT_NAME,Char,Primary Key,
SEX,Char,Not Null,
BDATE,DateTime,Not Null,
RELATIONSHIP,Char,Not Null,
);
DEPT_LOCATIONS TABLE :
Create Table DEPT_LOCATIONS
(
DNUMBER,INT,Primary Key,
DLOCATION,Char,Not Null,
);
PROJECT TABLE :
Create Table Project
(
PNAME,Char,Primary Key,
PNUMBER,INT,Not Null,
PLOCATION,Char,Foreign Key
DNUM,INT,Not Null
);
WORKS_ON TABLE :
Create Table WORKS_ON
(
ESSN,INT,Not Null,
PNO,INT,Not Null,
Hours,DateTime,Not Null
);

More Related Content

More from tienlivick

The ER physician has asked for a surgical consult- so that a surgeon w.docx
The ER physician has asked for a surgical consult- so that a surgeon w.docxThe ER physician has asked for a surgical consult- so that a surgeon w.docx
The ER physician has asked for a surgical consult- so that a surgeon w.docx
tienlivick
 

More from tienlivick (20)

The Hardy-Weinberg principleapplies to which populations- Populations.docx
The Hardy-Weinberg principleapplies to which populations- Populations.docxThe Hardy-Weinberg principleapplies to which populations- Populations.docx
The Hardy-Weinberg principleapplies to which populations- Populations.docx
 
The Giant Kelp forests of the US Pacific coast have really cold water-.docx
The Giant Kelp forests of the US Pacific coast have really cold water-.docxThe Giant Kelp forests of the US Pacific coast have really cold water-.docx
The Giant Kelp forests of the US Pacific coast have really cold water-.docx
 
The function T(n) satisfies T(n)-2T(3n)+O(n2)- Which of the following.docx
The function T(n) satisfies T(n)-2T(3n)+O(n2)- Which of the following.docxThe function T(n) satisfies T(n)-2T(3n)+O(n2)- Which of the following.docx
The function T(n) satisfies T(n)-2T(3n)+O(n2)- Which of the following.docx
 
The following table summarizes the ages of a sample of 57 adults that.docx
The following table summarizes the ages of a sample of 57 adults that.docxThe following table summarizes the ages of a sample of 57 adults that.docx
The following table summarizes the ages of a sample of 57 adults that.docx
 
The following table presents output per hour in the country of Mistani.docx
The following table presents output per hour in the country of Mistani.docxThe following table presents output per hour in the country of Mistani.docx
The following table presents output per hour in the country of Mistani.docx
 
The following selected transactions occurred during 2024 and 2025 for.docx
The following selected transactions occurred during 2024 and 2025 for.docxThe following selected transactions occurred during 2024 and 2025 for.docx
The following selected transactions occurred during 2024 and 2025 for.docx
 
The following refer to the following data set- What is the mean (x) of.docx
The following refer to the following data set- What is the mean (x) of.docxThe following refer to the following data set- What is the mean (x) of.docx
The following refer to the following data set- What is the mean (x) of.docx
 
The following questions are based on the case study- The Human Right t.docx
The following questions are based on the case study- The Human Right t.docxThe following questions are based on the case study- The Human Right t.docx
The following questions are based on the case study- The Human Right t.docx
 
The following items are taken from the financial statements of Pharoah.docx
The following items are taken from the financial statements of Pharoah.docxThe following items are taken from the financial statements of Pharoah.docx
The following items are taken from the financial statements of Pharoah.docx
 
The following financial assets appeared in a recent balance sheet of A.docx
The following financial assets appeared in a recent balance sheet of A.docxThe following financial assets appeared in a recent balance sheet of A.docx
The following financial assets appeared in a recent balance sheet of A.docx
 
The following graph shows an aggregate demand (AD) curve and a short-r.docx
The following graph shows an aggregate demand (AD) curve and a short-r.docxThe following graph shows an aggregate demand (AD) curve and a short-r.docx
The following graph shows an aggregate demand (AD) curve and a short-r.docx
 
The first production department of Stone Incorporated reports the foll.docx
The first production department of Stone Incorporated reports the foll.docxThe first production department of Stone Incorporated reports the foll.docx
The first production department of Stone Incorporated reports the foll.docx
 
The following are reasons that we focus on identifying high risk group.docx
The following are reasons that we focus on identifying high risk group.docxThe following are reasons that we focus on identifying high risk group.docx
The following are reasons that we focus on identifying high risk group.docx
 
The epidermis in a section of thin skin includes the following four la.docx
The epidermis in a section of thin skin includes the following four la.docxThe epidermis in a section of thin skin includes the following four la.docx
The epidermis in a section of thin skin includes the following four la.docx
 
The Energetics of Coupled Transport Guccos concentration is higher in.docx
The Energetics of Coupled Transport Guccos concentration is higher in.docxThe Energetics of Coupled Transport Guccos concentration is higher in.docx
The Energetics of Coupled Transport Guccos concentration is higher in.docx
 
The following budget will be submitted with a grant proposal- You need.docx
The following budget will be submitted with a grant proposal- You need.docxThe following budget will be submitted with a grant proposal- You need.docx
The following budget will be submitted with a grant proposal- You need.docx
 
The financial staff of Cairn Communications has identified the followi.docx
The financial staff of Cairn Communications has identified the followi.docxThe financial staff of Cairn Communications has identified the followi.docx
The financial staff of Cairn Communications has identified the followi.docx
 
The ER physician has asked for a surgical consult- so that a surgeon w.docx
The ER physician has asked for a surgical consult- so that a surgeon w.docxThe ER physician has asked for a surgical consult- so that a surgeon w.docx
The ER physician has asked for a surgical consult- so that a surgeon w.docx
 
The Earth's carrying capacity for human population has been determined.docx
The Earth's carrying capacity for human population has been determined.docxThe Earth's carrying capacity for human population has been determined.docx
The Earth's carrying capacity for human population has been determined.docx
 
The diagram (Figure 2) below is a model of how Octl may be involved in.docx
The diagram (Figure 2) below is a model of how Octl may be involved in.docxThe diagram (Figure 2) below is a model of how Octl may be involved in.docx
The diagram (Figure 2) below is a model of how Octl may be involved in.docx
 

Recently uploaded

Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 

Can someone please help me with this- Much much appreciated!!!! http-.docx

  • 1. Can someone please help me with this? Much much appreciated!!!! http://eecs.csuohio.edu/~sschung/cis430/LabAssignment1_CIS430.pdf Solution 1.Creating Tables for Company : CREATE TABLE Employee ( FName, Char, NOT NULL, MINIT,Char, Unique, LNAME ,Char,Primary Key, SSN,Int,Primary Key, BDATE,DateTime,Not Null, ADDRESS,Text,Not Null, SEX,Char,Not Null, SALARY,Int,Foreign Key, SUPERSSN,Int,Primary Key DNO,Numeric,Not Null ); Department Table : Create Table Department
  • 2. ( DNAME,Char,Primary Key, DNUMBER,INT,Not null, MGRSSN,INT,Primary Key, MGRSTARTDATE,DateTime,Not Null ); DEPENDENT TABLE: Create Table DEPENDENT ( ESSN,INT,Not Null, DEPENDENT_NAME,Char,Primary Key, SEX,Char,Not Null, BDATE,DateTime,Not Null, RELATIONSHIP,Char,Not Null, ); DEPT_LOCATIONS TABLE : Create Table DEPT_LOCATIONS ( DNUMBER,INT,Primary Key, DLOCATION,Char,Not Null, ); PROJECT TABLE : Create Table Project
  • 3. ( PNAME,Char,Primary Key, PNUMBER,INT,Not Null, PLOCATION,Char,Foreign Key DNUM,INT,Not Null ); WORKS_ON TABLE : Create Table WORKS_ON ( ESSN,INT,Not Null, PNO,INT,Not Null, Hours,DateTime,Not Null );