Question: 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

Create the table below and insert the following: CREATE TABLE IF NOT

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!