Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MySQL FINAL CHALLENGE User settings are another example of data that needs to be updated. Users often decide to change their username, password, email accounts,

MySQL

FINAL CHALLENGE

User settings are another example of data that needs to be updated. Users often decide to change their username, password, email accounts, email notification frequency and so on.

Complete the final challenges and evaluate your understanding of the UPDATE, ALTER and RENAME SQL keywords.

User settings

A mysql> prompt has been opened for you.

Complete the following SQL statements (try using dot syntax):

1 - Create an App database

2 - Use the App database and create a settings table with these features:

+-----------------+---------------------+------+-----+----------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------------+---------------------+------+-----+----------+-------+ | user_id | int(7) | NO | | NULL | | | email_frequency | tinyint(2) unsigned | YES | | 15 | | | layout | varchar(70) | YES | | vertical | | | updated_at | datetime | YES | | NULL | | +-----------------+---------------------+------+-----+--------

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

Database Management With Website Development Applications

Authors: Greg Riccardi

1st Edition

0201743876, 978-0201743876

More Books

Students also viewed these Databases questions

Question

4. What actions should Bouleau & Huntley take now?

Answered: 1 week ago