Answered step by step
Verified Expert Solution
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started