INFO 1620: Hands-on Midterm
Introduction to Database Design
Now that you know how to model a database, write create statements and add records to a database, letâs look at an example end to end!
Task 1: Create an ERD (15 pts)
1.Using the business rules below, create an ERD using LucidChart.
âMake sure to include all needed entities, attributes, relationships and keys needed.
âDouble check that you have the right data types assigned for each attribute.
âLook for M:N to relationships and repeating groups. Adjust your model as needed.
Business Rules for the GrubHub Database
You have been asked by the GrubHub drivers of Omaha to help them track customer orders. In a recent meeting, you were able to develop these business rules with their help:
ï·Customers can order from many restaurants.
ï·Restaurants may have orders from many customers.
ï·A driver is assigned to the unique order between a single customer and restaurant at a given date and time.
ï·Customers should be tracked by their number, name, address, phone number and payment ID.
ï·Restaurants should be tracked by their number, name, payment ID, address, phone number and cuisine.
ï·Orders will be assigned a unique number and timestamped.
ï·Drivers want to track the status (placed, out, cancelled and fulfilled) of each order.
ï·Drivers have a unique ID number assigned by corporate. We will also need to track their name, phone number, license plate number, drivers license number, payment ID and status (active/inactive).
ï·GrubHub has a proprietary accounting module that will handle all monetary transactions using the assigned payment IDs.
2.Export your ERD as pdf file and save that file named with your last name. This will be one of the files you submit for this assignment.
Task 2: Make the CREATE sÑrÑpt (15 pts)
3.Using the ERD you created in Task 1, develop a create.sql file that will create a database named grubhub.
4.Using the grubhub database, include statements in your file to create all the entities, attributes and primary and foreign key constraints detailed in your ERD.
âMake sure to end each statement with a semicolon (;)
âThe creation sÑrÑpts we have used in class are a great guide!
5.Test running your create.sql file in our development environment. Adjust your sÑrÑpt as needed.
Task 3: Add Sample Data (15 pts)
6.Add insert statements to your create.sql file to add the data pictured below. This data is present in tables at the end of this document.
7.Test running your create.sql file in our development environment. Adjust your sÑrÑpt as needed.
Task 4: Submission (5 pts)
1.2.3.4.5.6.7.8.Upload all of the files needed to complete the steps above to the dropbox in our online class. Please do not zip together these files. Your files should include:
ï·An ERD PDF document.
ï·A Create.sql containing SQL to create your tables and insert data.
9.Then Submit!
record Name Address Phone pmt_id restaurant name address phone
1 April Ludgate 123 S 55 Ave, Omaha, NE 68132 402-553-4397 23456 Paunch Burger 6872 Lard Lane, Pawnee, IN 46011 678-893-1568
2 April Ludgate 123 S 55 Ave, Omaha, NE 68132 402-553-4397 23456 Paunch Burger 6872 Lard Lane, Pawnee, IN 46011 678-893-1568
3 Leslie Knope 4387 Waffles Drive, Pawnee, IN, 46011 234-432-5437 98754 JJâ²s Diner 23428 Main St. Pawnee, IN 46011 456-987-3185
4 Ron Swanson 987 Bacon Avenue, Pawnee, IN 46011 456-987-3265 234789 Mulliganâ²s 6876 Classy Rd., Indianapolis, IN 46077 786-235-4862
5 Andy Dwyer 2468 The Pit, Pawnee, IN 46011 12390 JJâ²s Diner 23428 Main St. Pawnee, IN 46011 456-987-3185
6
record cuisine rest. Pmt_id driver phone license plate drivers license drv. Pmt_id drv. Status order date order status
1 Fast food 4826 Henry Roth (286) 937-2250 IUC989 C04790049 444862 active 9/30/2020 6:44 out
2 Fast food 4826 Charity Osborne (815) 605-0336 REW222 D89973937 959227 active 9/30/2020 10:44 placed
3 Breakfast 78623 Fritz Macias (943) 893-6193 XUA177 U06119817 718371 active 9/30/2020 10:54 fulfilled
4 Steakhouse 48623 Brenden Hill (513) 284-9064 IOL455 X22173227 334452 active 9/30/2020 10:46 placed
5 Breakfast 78623 Henry Roth (286) 937-2250 IUC989 C04790049 444862 active 9/30/2020 11:44 cancelled
6 Leah Peters (909) 477-8843 AJA879 V44276914 603268 inactive
Pmt_id driver phone license plate drivers license drv.
Why us
Why Use Our AI Assignment Helper?
Saves Hours of Brainstorming
No more staring at a blank page. Our AI gives you a strong starting point — so you can focus on refining, not figuring out what to say.
Boosts Writing Clarity and Structure
Messy thoughts? Confusing prompts? Our tool delivers clear, logically structured content that flows — just like a polished draft should.
Ideal for Complex or Technical Prompts
Struggling with statistics, nursing case studies, or legal briefs? Our AI understands nuance and handles specific academic formats with ease.
Ideal for Complex or Technical Prompts
Struggling with statistics, nursing case studies, or legal briefs? Our AI understands nuance and handles specific academic formats with ease.
Helps You Meet Tight Deadlines
Whether it’s due in two hours or overnight, you’ll get instant, reliable help when you need it most — no panic necessary.
Supports Research-Based Work
Every answer includes reference links, source ideas, or research cues — so you're not just done, you're also better informed.
Do I need it?
Who It’s For
Our Ai modal has been specifically trained for academic purpose across all levels of education
College Students
University Undergraduates
Master’s Students
PhD Candidates
Working Professionals in Continuing Education
"Gain Academic Advantages From IntelliAssign`s Top Features"
Don't waste endless hours struggling with homework problems. Question AI assists students with all kinds of academic tasks with 98% accuracy rates. Get detailed answers to challenging homework and exam questions with our powerful AI homework technology.
How it all works
This is how to unlock comprehensive answers and master your studies with our homework AI, in a fast, accurate, and educational fashion.
1
Step 1
Enter your question, upload instructions, or paste your prompt
2
Step 2
Choose output type: Draft, Detailed Solution, or Step-by-Step Guide
3
Step 3
Our AI generates your content with research links and references
Features of Our AI Assignment Helper
No Signups. No Barriers.
Jump straight in — no accounts, no logins. Just paste your assignment and
get instant help. It’s that simple.
Instant Results, 24/7
Whether it’s midnight before a deadline or mid-morning study break, our AI
delivers fast, accurate solutions in seconds — anytime, anywhere.
References Included
Every answer comes with real research links, sources, or citations to guide
your learning or help support your submission.
Trained for Assignments
Unlike generic AI tools, our model is fine-tuned for real academic
assignments. Essays, case studies, care plans, reflections — it gets it.
Built for All Levels
From first-year college students to PhD candidates, our AI adjusts to your
academic level and writing expectations.
Multiple Output Styles
Need a draft? A detailed answer? A step-by-step guide? We’ve got modes
for how you like to work.
Real Stories, Real Results
5/5
4/5
5/5
4/5
4/5
FAQs
Do I need to sign up to use the tool?
Nope! You can use the tool instantly — no accounts, no logins, and no personal data required.
Is it really free?
Yes! You can generate assignment help for free. We believe academic support should be
accessible to everyone.
What types of assignments can it handle?
Our AI supports a wide range of academic tasks — including essays, research papers,
reflections, case studies, reports, presentations, and more — for college, university, master’s,
and even PhD levels.
How accurate are the answers?
The AI is trained specifically for academic assignments. It delivers high-quality, structured
responses and even includes references and research links where possible to back up its
solutions.
Can I get step-by-step explanations?
Absolutely! Choose the Step-by-Step Mode to get a breakdown of how to approach or solve
the question — great for learning and understanding the topic better.
Is it plagiarism-free?
Yes — the content is generated uniquely each time. However, we always recommend
reviewing, editing, and citing properly to match your academic standards.
Can I use it for any subject?
Yes! Whether its Nursing, Business, Computer Science, Literature, or Law — the tool is built to
adapt to different academic disciplines and writing styles.