Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You need to create an application to access the MySQL server and its sakila database. Read information from the customer table and the address table,
You need to create an application to access the MySQL server and its sakila database. Read
information from the customer table and the address table, display the result records accordingly.
Please note that the customer table and address table are linked referenced via the addressid
key fields in both tables.
The following five fields should be selected from the customer table: first name, last name,
email, active, and create date;
The following four fields should be selected from the address table: address, district, postal code,
and phone.
You need to allow users to search customers with the last name the field from the customer
table and postal code the field from the address table You receive the last name AND postal
code as the search criteria, and the search results will appear automatically.
Please note: your output records should be consistently the same no matter they are displayed
for the first time when the form is loaded or when users conduct any search lately; do NOT
include the location field in your query result as this geometry field can cause errors. if you
search for a customer whose last starts with hu and postal code starts with then you should
keep both the search criteria. The bottom line is that your search results should match the search
criteria you put in the textboxes.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started