Question

RealGree uses the paper form as below to record the weekly (just one week in this 5. A lawn and tree care company ion) inform

4. Develop a database to support the tracking needs of a university. The university wants to know: the names of student clubs

Please answer this questions as required

a database to support the tracking needs of a university. The university wants to know: the names of student 4. Develop a a s

s A lawn and tree care company RealGreen uses the paper form as below to record the weekly (just one week in this question)

I couldn't delete the old pic so the new one is butter and for the same question.

RealGree uses the paper form as below to record the weekly (just one week in this 5. A lawn and tree care company ion) informati application to keep track of the information of the part-time employees. Please (a) develop the E-R diagram (8 points). ion about is part-time employees (one form for one employee). The company asks you to create a o the table structures. Each table should include table name, attributes, and the primary key (6 points). Employee ID: Employee Name: Employee Pay Rate: Employee Weekly Working Hours: Department ID: Department Name: (c). write the SQL statements to answer (16 points) cl. List name of employees in "Tree" Department (only department name is known) (use a join). c2. List name of employees in Tree" Department (only department name is known) (use a subquery) c3. Calculate the weekly pay (PayRate Hours) for each employee. c4. Calculate the average pay rate grouped by department name.
4. Develop a database to support the tracking needs of a university. The university wants to know: the names of student clubs does a student join (suppose a student can join several student clubs, a club has many students)? Which professor is the advisor of a club? (suppose a professor can advise several clubs, and a club can only have one professor as the advisor) What courses does a professor teach? (suppose a professor can teach several courses, and a course can be taught by several professors). (1). Develop the E-R Diagram (10 points). (2). Map the ERD to table structures, each entity table needs an ID field as the primary key and a Name field (8 Points). (3). Write the SQL statements to answer: (12 points) a. List clubs' names that the student "Tom" (only student name is known) belongs to. b. List Club "Badminton's (only club name is known) advisor c. List the course names which Professor "Smith" (only professor name is known) teaches.
a database to support the tracking needs of a university. The university wants to know: the names of student 4. Develop a a student join (suppose a student can join several student clabs, a club has many students)? Which professor is clubs does of a club? (suppose a professar can advise several clubs, and a club can cnly have one professor as the advisor). t courses does a professor teach? (suppose a professor can teach several courses, and a course can be taught by several professors). (1). Develop the E-R Diagram (10 points). (2). Map the ERD to table structures, esch entity table needs an ID field as the primary key and a Name field (8 Points). (3). Write the SOL statements to answer: (12 points) a. List clubs' names that the student "Tom (only student name is known) belongs to. b. List Club "Badminton"'s (only club name is known) advisor c. List the course names which Professor "Smith (only professor namme is known) teaches.
s A lawn and tree care company RealGreen uses the paper form as below to record the weekly (just one week in this question') information about its part-time employees (one form for one employee) The companyssou to create a dstabase application to keep track of the information of the part-time employees. Please (a) develop the E-R diagram (8 points) (b) develop the table structures. Each table should include table name, attnbutes, and the primary key (6 points) Employee ID Employee Name Employee Pay Rate Employee Weekly Working Hours Department LD Department Name: (c). write the SQL statements to answer (16 poinms) cl. List name of employees in Tree" Department (only department name is kaown) (use a join). c2. List name of employees in "Tree" Department (only department name is known) (use a subquery) c3. Caleulate the weekly pay (PayRate Hours) for each employee c4, Calculate the average pay rate grouped by department name.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

5) a) e-R dra gaam Depot mm lon 3r to employee Nome Emplbyee Poy Ra e This is n: retahonship because an emmpiDyee belons to oToble Nome: Depostment ttilautes : Deportment D CINEMER) Depotl mert Nowe CHAR(40) Paimany k De parlment ID (c) .Select Emplo) Select AnEmoyre Pay Rate) oon Employee INNER JOTN Depontment ON Emplose. DepostmentiD oid Student Name Nime goche ome OU1SeFosetgh key to pinpetor.ro, rounei o) (b) Select propessos nome som ula NNEP o N tuhese lub ctubniome Bointon Teaches Ca) Sel

Add a comment
Know the answer?
Add Answer to:
Please answer this questions as required I couldn't delete the old pic so the new one is butter and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 5.A lawn and tree care company RealGreen uses the paper form as below to record the...

    5.A lawn and tree care company RealGreen uses the paper form as below to record the weekly (just one week in this question!) information about its part-time employees (one form for one employee). The company asks you to create a database application to keep track of the information of the part-time employees. Please (a) develop the E-R diagram (8 points). (b) develop the table structures. Each table should include table name, attributes, and the primary key (6 points). Employee ID:...

  • 1) A university database contains information about professors (identified by emp_id) and courses (identified by course_id)....

    1) A university database contains information about professors (identified by emp_id) and courses (identified by course_id). Professors teach courses. Each of the following situations concerns the Teaches relationship set. For each situation, draw an ER diagram that describes it (assuming no further constraints hold). a) Professors can teach the same course in several semesters, and each offering must be recorded. b) Professors can teach the same course in several semesters, and only the most recent such offering needs to be...

  • You will be developing an Advising Scheduling Management System (ASMS) that can be used managing the advising appointments for Salisbury University professors and their advisees (students). ASMS shoul...

    You will be developing an Advising Scheduling Management System (ASMS) that can be used managing the advising appointments for Salisbury University professors and their advisees (students). ASMS should have the following functionalities: - There are three kinds of users: professor, student and admin. When ASMS starts, a login screen asks user which kinds of users and then asks user id and password. If id or password are incorrect, issue a warning and redisplay the login screen. - When an admin...

  • Please write ONE SQL statement for each of the following tasks using the below tables. Note...

    Please write ONE SQL statement for each of the following tasks using the below tables. Note that you can only use conditions specified in the task description and cannot manually look up data and add conditions. Task 1: return title of textbooks with price over $100. Task 2: return number of courses sections scheduled for each year and semester. Please return year, semester, and number of courses. Task 3: Return names of all courses in Information Systems undergraduate program. Task...

  • Problem 1. Please create the following tables for UMBC bookstore’s textbook management system with appropriate primary...

    Problem 1. Please create the following tables for UMBC bookstore’s textbook management system with appropriate primary keys & foreign keys. Please include drop table statements with cascade constraints before your create table statements so it is easier to grade your create table statements. E.g., suppose you will create table tab1, tab2, including the following before creating them: Drop table tab1 cascade constraints; Drop table tab2 cascade constraints; Assumptions: Each teacher can teach one or more scheduled course sections. Each scheduled...

  • Create an Entity-Relationship Diagram (ERD). In the ERD include the following:

    Create an Entity-Relationship Diagram (ERD).In the ERD include the following: entities primary keys for all entities attributes - use "good" names for attributes, use only single-valued attributes relationships - use Crow's foot or UML notation; name relationships that could be ambiguous cardinality - minimum (optional/mandatory) and maximum (one or many) on both ends of the relationship - use reasonable assumptions if there is insufficient information in the descriptionStudent/Course registration system for a universityStudents have a unique identification number, first name, middle initial, last name, year...

  • Please help me answer the following questions regarding data relationship tables. Employee ID First Name Last...

    Please help me answer the following questions regarding data relationship tables. Employee ID First Name Last Name email Title Address Extension Department Department ID Hiring Date Department Phone # 0001 John Smith jsmith Accountant 1300 West st 5775 Accounting 2100 8/1998 407-366-5700 0002 Brian Miller badams Admin Assistant 1552 Palm dr 5367 Human resource 2300 4/1995 407-366-5300 0003 James Miller miller Inventory Manager 2713 Buck rd 5432 Production 2520 8/1998 407-366-5400 0004 John Jackson jackson_sam Sales Person 433 tree dr...

  • If possible please just send the SQL statement. Thank you Each question within deliverable 3 must begin on a new page and be sure to document the question as the title of each item at the top o...

    If possible please just send the SQL statement. Thank you Each question within deliverable 3 must begin on a new page and be sure to document the question as the title of each item at the top of each page. Also, using a 12-point font, include the SQL statement and then provide a screen shot of each query. The screen shots must include both the SQL statement and the results for each item below based on the data entered in...

  • Would you please help me with this homework ? 1- Explain what requirements this ER diagram...

    Would you please help me with this homework ? 1- Explain what requirements this ER diagram is implementing 2- Draw an ER diagram (relationships) for the following business rules in a company: • A salesperson manages one or many other salespeople while a salesperson is managed by only one salespeople. • A salesperson can be an agent for many customers but a customer is managed by only one salesperson. • A customer can place many orders. But an order can...

  • Question 1.Write a SQL statement for each of the following questions based on the above tables...

    Question 1.Write a SQL statement for each of the following questions based on the above tables (50 Points). 1) Create “Enrollment” table. 2) Change the credits of “Database” course from 2 to 3. 3) List the course titles (not Course_No) and grades John Doe had taken. 4) Calculate average of Café Balance, and name new field as Average Balance. 5) Create a roster for “Database” course (list student ID, last name, first name, major, and status for each student enrolled...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT