Our Services

Get 15% Discount on your First Order

[rank_math_breadcrumb]

sql

create an ERD  with oracle data modeler 

DROP TABLE gym_user;
DROP TABLE administration;
DROP TABLE FAQ;
DROP TABLE feedback;
DROP TABLE schedule;
DROP TABLE crowd_meter;

CREATE TABLE gym_user (
user_id INT(8) NOT NULL,
fname VARCHAR(15) NOT NULL,
lname VARCHAR(15) NOT NULL,
email VARCHAR(50) NOT NULL,
address VARCHAR(400) NOT NULL,
phone_num VARCHAR(12) NOT NULL,
DOB DATE NOT NULL,
PRIMARY KEY (user_id)
) ENGINE=InnoDB;

CREATE TABLE administration (
username VARCHAR(30) PRIMARY KEY,
fname VARCHAR(15) NOT NULL,
lname VARCHAR(15) NOT NULL,
email VARCHAR(50) NOT NULL,
password VARCHAR(255) NOT NULL
) ENGINE=InnoDB;

CREATE TABLE FAQ (
question VARCHAR(255) PRIMARY KEY,
answer VARCHAR(255) NOT NULL
) ENGINE=InnoDB;

CREATE TABLE feedback (
feedback_id INT PRIMARY KEY,
feedback_text VARCHAR(255) NOT NULL,
feedback_date DATE NOT NULL
) ENGINE=InnoDB;

CREATE TABLE schedule (
schedule_id INT PRIMARY KEY,
duration INT NOT NULL,
announcement_text TEXT NOT NULL
) ENGINE=InnoDB;

CREATE TABLE crowd_meter (
current INT(3) PRIMARY KEY,
user_id INT(8) NOT NULL,
time_entery VARCHAR(4),
FOREIGN KEY (user_id) REFERENCES gym_user(user_id)
) ENGINE=InnoDB;

INSERT INTO gym_user (user_id, fname, lname, email, address, phone_num, DOB) VALUES
(‘87959403’, ‘Travis’, ‘James’, ‘[email protected]’, ‘203 Kimberly Rd, Winchester VA’, ‘540-533-6738’, ‘2003-03-01’);

INSERT INTO crowd_meter (current, user_id, time_entery) VALUES
(‘1’, ‘87959403’, ‘1300’);

INSERT INTO administration (username, fname, lname, email, password) VALUES
(‘coach.spring’, ‘Coach’, ‘Spring’, ‘[email protected]’, ‘securepass456’);

INSERT INTO FAQ (question, answer) VALUES
(‘Is the Gym only for student athletes?’, ‘No the gym is for everyone’);

INSERT INTO schedule (schedule_id, duration, announcement_text) VALUES
(‘1’, ‘1’, ‘*Special Announcement: Due to the unforeseen snowstorm the gym along with the school will be closed.’);

INSERT INTO feedback (feedback_id, feedback_text, feedback_date) VALUES
(‘1’, ‘Great practice today!’, ‘2025-03-20’);

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

computering

SEE ATTACTED Module 4 Homework Here are the instructions for Module 4 Homework. You will use the Module 4 Homework Submit link to submit your work. If you do not see a link, this means you have missed completing a previous assignment or task.  Fix the emails! We have covered some email

Survey Intrument & BibiloGraphy

Survey Instrument Bibilography  Human Comput inter & Usability Survey Instrument  One of the ways in which usability professionals collect data, and for that matter academic professionals, is the use of a survey instrument. In this assignment, you’ll create a paper-based survey instrument evaluating a mobile application or Website. In the

need responses

in the file 1..I need two responses for each question as you provide last time like they are answering an interview This is for my field test. 2….And couple of statements 2 paragraphs should be enough thanks. Like if you achieved what you want through the responses from this field

Resume update

Quantavis Neely 595 Thicket Run York, South Carolina 29745 neelytavis33 @gmail.com (803) 524-4909 Objective: To secure a professional position in a company that seeks an ambitious and career conscious individual where acquired skills will be utilized toward growth, and expand upon my learnings, knowledge, and competencies. Skills: Ability to work

project 2 movie

Follow the attach instructions to complete this work. Note: Make sure it aligns with the Rubric Draft/Outline Top of Form Instructions For the Final Project, you will select at least one film that represents your career or career goals.  For example, if you are working toward a cybersecurity degree or already

SQL 11 Help

Statements query You are required to complete the exercises 1-15 from Chapter 18. Save the script from #2 as CIS276DA_Lesson11Exercise2_JAM2334209.sql Save the script from #5 as CIS276DA_Lesson11Exercise5_ JAM2334209.sql Save the output from #5 as CIS276DA_Lesson11Exercise5_ JAM2334209.csv Save the script from #6 as CIS276DA_Lesson11Exercise6_ JAM2334209.sql Save the output from #6 as

SQL 12 Help

statement query You are required to complete Exercises 1 through 7 from Chapter 19. For each exercise, you need to submit specific files. Here’s what you need to do: Exercise 1: Submit the backup script file as CIS276DA_Lesson12Backup_JAM2334209. Exercise 4: Submit the SQL file as CIS276DA_Lesson12Exercise4_ JAM2334209.sql and the CSV

MOvie Project stage one

Follow the attach instructions to complete this work.  Note: Make sure it aligns with the attach Rubric. A project to do on Movie Instructions For the Final Project, you will select at least one film that represents your career or career goals.  For example, if you are working toward a cybersecurity

New website issue in the referral redemption section.

Hi, I need help. I created a new website and added a referral earning option, but it’s not working. When a new user creates an account using a referral code, the account is created, but the referral is not recorded for either the referrer or the new user. Sometimes, it

Project 2 of CSIA

follow the attach document to complete this work.  Please note: Make sure it aligns with the attach rubric. Project 2: Compare / Contrast Two State Government IT Security Policies For this research-based report, you will perform a comparative analysis that examines the strengths and weaknesses of two existing IT Security

Project 1 of CSIA

Follow the attach instructions to complete this work. Please make sure it aligns with the rubric. Project 1: Cybersecurity for OPEN Data Scenario: A federal agency has asked your cybersecurity consulting firm to provide a research report examining Open Data services’ usefulness and security issues. The report is intended for

Computer Crime and Digital Evidence

Module Code: UFCFP4-30-1 Student id-24059073 Date: March 2025 Module Details · Module Name: Computer Crime and Digital Evidence · Module Code: UFCFP4-30-1 Section 1: Overview of Assessment Students are entrusted with performing comprehensive evaluations of forensic tools, applying them in practical scenarios, and meticulously documenting their observations. The key emphasis

What is Backlink SEO?

   Backlink SEO refers to the process of acquiring high-quality backlinks to improve a website’s search engine rankings. Backlinks act as votes of confidence from other websites, signaling to search engines like Google that your site is valuable and trustworthy. The more authoritative backlinks you have, the higher your chances

SQL 10 help

SQL statements In this project, you will create a Node.js application that interacts with a MySQL database. You’ll practice executing various types of queries, such as INSERT, SELECT, UPDATE, and DELETE, to manage employee records in the database. Instructions: Setup: Make sure you have Node.js and MySQL installed on your

PHISHING EMAIL

From: Bannffield Pet Hospital ( [email protected]) To: Optimumm Wellness Plan Members Subject: CANCELLATION OF OPTIMUMM WELLNESS PLAN SUSPENSION OF Optimumm Wellness Plan (OWP) Dear Customer We are writing to inform you that the payment information for your pet’s Optimumm Wellness Plan (OWP) was unable to be processed. In order to

SQL3 Help

SQL statements help You are required to complete exercises 8, 9, 10, and 11 from Chapter 3. For each exercise, you need to create SQL statements and related CSV files. Here’s what you need to do: · Exercise 8: Write your SQL statement in a file named CIS276DA_Lesson3Exercise8_ JAM2334209.sql. Run

SQL 9 Help

Help statements Complete Exercises 1, 2, and 5 from Chapter 11. Complete Exercises 1, 2, 3, and 5 from Chapter 12. Write your script in a file named CIS276DA_Lesson9Chapter#Exercise#_JAM2334209.sql. Run the script and export the results to CIS276DA_Lesson9Chapter#Exercise#_JAM2334209.csv.

D 7 of 459

Follow the attach document to complete this work. Questions: 1. What is Generative AI and how is it similar/different to Traditional AI? 2. Do you believe that work created by Generative AI (e.g. ChatGPT) is comparable in quality to human created content?  What challenges and opportunities does Generative AI pose to