Changing a MySQL Table Structure

vng225


Using the world_x database you installed in Module 1 and your MySQL Workbench, create a new table named “independence” with the following attributes (columns):

  • A field named “id” which has data type auto_increment,
  • A field named “country_name” which has data type varchar(50), and
  • A field named “independence_date” which has type “date.”

After you create the table, run the following SQL command:

INSERT INTO independence(country_name, independence_date) 
VALUE (‘United States’,’1776-07-04’)

Submit a 1-page Microsoft Word document that shows the following:

  • The SQL command you used to create the “independence” table and a list of the rows in the “independence” table.
  • Explain the purpose of the field named “id.” Why do you not have to include it in an insert statements? How would change the incrementing value to a number greater than one?
    • 7 years ago
    • 60
    Answer(9)

    Purchase the answer to view it

    NOT RATED
    • Order1018216.docx

    Purchase the answer to view it

    NOT RATED

      Purchase the answer to view it

      NOT RATED

        Purchase the answer to view it

        NOT RATED

          Purchase the answer to view it

          NOT RATED

            Purchase the answer to view it

            NOT RATED
            • mysql-indepedence-table.zip

            Purchase the answer to view it

            NOT RATED

              Purchase the answer to view it

              NOT RATED
              • sqltablestructure.docx

              Purchase the answer to view it

              NOT RATED
              • MySQLTableStructure.docx