Changing a MySQL Table Structure
Option #2: Changing a MySQL Table Structure Using the "classicmodels" database you installed in Module 1 and your MySQL Workbench, add a JSON field named "customers_contacts" to the "customers" table with the following keys: customerNumber, contactLastName, and contactFirstName. Write a SQL statement to insert at least three values for the "customers_contacts" field. Use data from the customers table. If you need a hint on how to write the SQL insert statement for a JSON data type, refer to the examples in Submit a 1-page Microsoft Word document that shows the following: The SQL command you used to insert data into the "customers_contacts" field and a listing of rows from the customer table where the "customers_contacts" column has data. What is JSON? What are the advantages of using JSON as a field type? What are the disadvantages of using JSON as a field type?
Written for
- Institution
- ITS410 Database Management
- Course
- ITS410 Database Management
Document information
- Uploaded on
- February 16, 2022
- Number of pages
- 5
- Written in
- 2021/2022
- Type
- Other
- Person
- Unknown
Subjects
- programming
-
its 410 critical thinking 2
-
its410 database management
-
using the classicmodels database you installed in module 1 and your mysql workbench
-
add a json field named customersc
Also available in package deal