Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using mysql cmd Create the table below and insert the following: CREATE TABLE IF NOT EXISTS `empdata` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` char(25)

using mysql cmd

image text in transcribed

Create the table below and insert the following: CREATE TABLE IF NOT EXISTS `empdata` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` char(25) NOT NULL, `email` varchar(100) NOT NULL, `phone` int(11) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; INSERT INTO `empdata` (`id`, `name`, `email`, `phone`) VALUES (1, 'Anjali', 'anjali@example.com', 878433948), (2, 'Priska', 'priska@example.com', 493905490), (3, 'Abhi', 'abhi@example.com', 403022139), (4, 'Joya', 'joya@example.com', 342345329), (5, 'Ammy', 'ammy@example.com', 239848342), (6, 'Lussi', 'lussi@example.com', 490290331); Update the multiple rows using one query. For instance, update all phone numbers. Upload the screenshot of your MySQL script and the output (upload only one file).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Basic Mechanical Engineering

Authors: PRAVIN KUMAR

2nd Edition

938687329X, 978-9386873293

Students also viewed these Programming questions

Question

Why do some individuals confess to a crime they did not commit?

Answered: 1 week ago

Question

* What is the importance of soil testing in civil engineering?

Answered: 1 week ago

Question

Explain the concept of shear force and bending moment in beams.

Answered: 1 week ago