可学答题网 > 问答 > 1z0-883题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Review the definition of the phone_li


Review the definition of the phone_list view. CHEATE OR REPLACE ALGORITHM=MERGE DEFINER= 'root'@localhost' SQL SECURITY DEFINER VIEW 'phone_list' AS SELECT e . id as id 'e . first_name AS 'first_name' 'e . last_name AS 'last_name' 'coalesce ( ph1.phone_no, ' – ') AS 'office_no' 'coalesce (ph2 .phone_no, ' – ') AS 'cell_no' FROM employees e LEFT JOIN employee_phone ph1 ON ph1.emp_id = e.id AND ph1.type = 'office' LEFT JOIN employee_phone ph2 ON ph2 .emp_id = e.id AND ph2 .type = 'mobile' The tables employees and employee_phone are InnoDB tables; all columns are used in this view. The contents of the phone_list view are as follows: Mysql> select * from phone_list; 1 row in set (0.00 sec) Which method can you use to change the cell_no value to '555-8888' for John Doe?()

  • AINSERT INTO employee_phone (emp_id, phone_no, type) VALUES (1, '555-8888','mobile')
  • BUPDATE phone_list SET cell_name '555-8888' WHERE first_name= 'John' and last_name= 'Doe'
  • CDELETE FROM phone_list WHERE first_name= 'John' and last_name= 'Doe'; INSERT INTO phone_list (first_name, last_name, office_no, cell_no) VALUES ('John' , 'Doe' , 'x1234' , '555-8888)
  • DUPDATE employee_phone SET phone_no= '555-8888' where emp_id=1
参考答案
参考解析:
分类:1z0-883题库
相关推荐

1、Which of the following definitions can

Which of the following definitions can be used to define the term ‘offset ’ as a characteristic of controller action?()AThe period of time...

2、Given the following table definitions

Given the following table definitions:EMPLOYEEID NAME DEPTID01Smith 1002Bossy 2003 20Peterson04Goss 3005Pape 4006Avery 5007O'Neal 6008Carter 50DEPA...

3、According to the literary review, Shak

According to the literary review, Shakespeare his characters live through their language in his plays.A will make B had made C was making D makes

4、The best definition for the word unfor

The best definition for the word unfortunates is ______.A those who have no facial hairB those who are unluckyC very young peopleD very poor people

5、What is the definition of a path?

What is the definition of a path?AA sequence of vertices and the edges formed by each successive pair of vertices.BA walk with distinct vertices.CA walk with distinct edges.DNone of the above

6、You review the Failed&

You review the Failed Attempts logs on an AAA server and find: "unknown network access se...