ou need to use Java to connect with the mysql and create a simple mysql system. Databases "POS" have 4 tables 1. Staff_Info Staff_ID Staff_Name Staff_Pw   Staff_Title 001 AA 1111   Manager 002 BB 2222   General   Once the pos system opened, you need to ask the staff to enter the password. The manager can see the payment record if needed, which the general staff cannot.   Food_Info Food_ID Food_Cat Food_Name Price 001 burger Classic burger 32 002 burger Chicken burger 38 003 side Fires 10 004 side Salad 15 005 beverage Coke 5 006 beverage Lemon Tea 8   There are only three categories of food, and 6 in total. Order_Info Order_ID Payment_ID Order_Item Order_Quantity   Order_ID and Payment_ID should be automatically generated from 0001.   Payment_Info Payment_ID Payment_Amount Payment_Date Payment_Time Payment_Method   There are two types of Payment_Method which is Cash and Credit Card. Payment_Date and Payment_Time should be record automatically. Payment_Amount should automatically aggregate the entire order.   Only need the java code, no need to show the mysql code, thanks.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

You need to use Java to connect with the mysql and create a simple mysql system.

Databases "POS" have 4 tables

1. Staff_Info

Staff_ID

Staff_Name

Staff_Pw

 

Staff_Title

001

AA

1111

 

Manager

002

BB

2222

 

General

 

Once the pos system opened, you need to ask the staff to enter the password. The manager can see the payment record if needed, which the general staff cannot.

 

Food_Info

Food_ID

Food_Cat

Food_Name

Price

001

burger

Classic burger

32

002

burger

Chicken burger

38

003

side

Fires

10

004

side

Salad

15

005

beverage

Coke

5

006

beverage

Lemon Tea

8

 

There are only three categories of food, and 6 in total.

Order_Info

Order_ID

Payment_ID

Order_Item

Order_Quantity

 

Order_ID and Payment_ID should be automatically generated from 0001.

 

Payment_Info

Payment_ID

Payment_Amount

Payment_Date

Payment_Time

Payment_Method

 

There are two types of Payment_Method which is Cash and Credit Card.

Payment_Date and Payment_Time should be record automatically.

Payment_Amount should automatically aggregate the entire order.

 

Only need the java code, no need to show the mysql code, thanks.

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY