Answered step by step
Verified Expert Solution
Link Copied!

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 address_id
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: 1) 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; 2) do NOT
include the location field in your query result as this geometry field can cause errors. 3) if you
search for a customer whose last starts with "hu" and postal code starts with "4", 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

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

Step: 3

blur-text-image

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

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago