Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Answer the question 11,12,13 2.The ACME Machine Shop is a small job shop that does machining of components for custom- ers that assemble fished products.

Answer the question 11,12,13 image text in transcribed
image text in transcribed
image text in transcribed
2.The ACME Machine Shop is a small job shop that does machining of components for custom- ers that assemble fished products. The customers give ACME engineering drawings of parts and request production of parts from ACME as needed. The manager of the machine shop has used a database to try to organize some basic information on the customers' parts and their machining requirements as well as scheduling information based on orders, The tables and their design requirements are shown here. The meaning of the tables is as follows: ART-The parts produced by ACME PROCESS_PLAN-The oerations that must be performed to manufacture the parts MACHINE-The machines used to manufacture the parts SCHEDULE-A set of production schedules for part manufacture CREATE TABLE PART ([PART NO] PART DESC] (MATERIAL-ID) PROCESS PLAN ID] CHAR(10), DRAWING_NO] CONSTRAINT [INDEXI] PRIMARY KEY PARTDO) CHAR(4). CHAR (20), CHAR(10), CHAR (10), CREATE TABLE PROCESS PLAN IPROCESSPLAN ID TOP NO] [OP DESC) [MACHINE ID] [TOOLING_ID] STD SU MIN STD_UNIT MACH NIN CONSTRAINT [INDEX2] PRIMARY KEY (PROCESS-PLAN-ID, OP,MO)); CHAR (10), SMALLINT CHAR (20), CHAR(S). CHAR (5), SMALLINT SMALLINT CREATE TABLE MACHINE IMACHINE ID] CHAR(5) CHAR (20), CONSTRAINT [NDEX3] PRIMARY KEY (MACHINE-ID)); CREATE TABLE SCHEDULE ((SCHEDULE ID PART NO) IS LOT SIZE] S_RELEASE DATE CHAR(5), CHAR(4) DATE DATE CONSTRAINT [INDEX 4) PRIMARY KEY (SCHEDULE-ID)); MACHINE M1 J&L Turret lathe M2 Milwaukee Cross Turret Bridgeport Saw J&L Profiler Cincinn ati Grinde Yamaguc hi Drill Bridge port Mall MS Mt MB The Relational Database Model 002 010 011 RM302 RM210 109 Plate Shat Mounting Bracket RM501 PP180 105 /106 52111002 45/06 S214 1022 PROCESS PLAN 1 cut round stock PP101 PP101 PP1062 plane PP105 PP105 PP125 PP125 PP125 pp180 pp160 drill pin hole M 1cut bar stock M T400 dril mounting M 1cut round stock M4 2 turn round stock 102 T210 inish grind 2 turn ound stock M 2. turn stock M1 T210 T210 PP230 1 cut plate 2 mill surface M T602 T101 PP280 drill holes (a) Create the database and tables in Access DBMS. (b) Write the SQL code that will generate answers to the following questions: (1) List all the entries from the parts table. (2) List the instances of parts that use raw material RM302. (3) List the instances of all parts, alphabetically ordered by part description. (4) List the instances of all schedules with lot sizes greater than 15 (5) List the instances of all parts that require machine M. (6) List the machines and their average, minimum, and maximum unit machining times. (7) For each schedule, list the schedule ID, part number, operation number, machine ID, setup time, total machining time, and total time (setup plus machining). Be sure that each attribute column has a title. 57 The Relational Database Model (8) List the tooling that is used with each raw material without repetition in the tuple. (9) List the schedule release date, part number that will be machined, and machine ID (10) List the part number and machine ID that will be used in production on schedule an List jus the machine ID (wihout duplication) that will e used by schcdales relecased (12) Using a query/suhquery, list all the part numbers that have operations with a setup (13) List the material ID and the number of pieces of raw material that will be required that will be used by schedule release date descending. release date 4/1/06 on 4/1/06 time greater than 8 minutes for all the scheduled job releases on 4/1/06

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Antipatterns Avoiding The Pitfalls Of Database Programming

Authors: Bill Karwin

1st Edition

1680508989, 978-1680508987

More Books

Students also viewed these Databases questions

Question

in windows 1 0 stability index is

Answered: 1 week ago