Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Create a table with the following structure in PhPMyAdmin. Assign userID as the primary key. 2. Verify other fields (userID and password) one by

1. Create a table with the following structure in PhPMyAdmin. Assign userID as the primary key.

image text in transcribed

2. Verify other fields (userID and password) one by one, and write your query to show all information from the given userID from the user table.

image text in transcribed

3. Write a query to show the name from the user table based on the given userID and password.

image text in transcribed

4. Write a query to list all users' names and their ID's.

Write a query which updates a user's password based on a given userID.

Write a query to delete a user's record based on the given userID

Also fill in the blanks for the IF statements in the code.

image text in transcribed

image text in transcribed

image text in transcribed

3. Create a table with the following structure in PhPMyAdmin. Assign userID as the primary key. user (userID, name, password) Type varchar(10) varchar(10) latin1_swedish_ci Collation Attributes Null Default Name userID 2 name # No None No None No None 1 latin 1-swedish-ci 3 password varchar( 10) latin1_swedish_ci

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Elucidate the steps involved in quantification of variables.

Answered: 1 week ago

Question

Describe how to measure the quality of work life.

Answered: 1 week ago

Question

What attracts you about this role?

Answered: 1 week ago