Your Perfect Assignment is Just a Click Away

We Write Custom Academic Papers

100% Original, Plagiarism Free, Customized to your instructions!

glass
pen
clip
papers
heaphones

AU Week 4 Data Manipulation Language Discussion

AU Week 4 Data Manipulation Language Discussion

Question Description

I’m working on a databases multi-part question and need a sample draft to help me learn.

part 1

DML Versus DDL

Prior to beginning this discussion, read Chapter 7: Introduction to Structure Query Language (SQL) from the course text. SQL statements are divided into three major categories: Data Definition Language (DDL), Data Manipulation Language (DML), and Data Control Language (DCL). In your initial post, explain the differences between DDL, DML, and DCL commands, and provide practical examples of each.

Parts 2

Database: Add, Display, Delete Records

Prior to beginning this assignment, review Chapter 7: Introduction to Structure Query Language (SQL) from the course text and the 8.1 Visual SQL Editor web page. In addition, you may also want to complete problems 1 to 8 in Chapter 7. These problems will assist you in completing this interactive assignment.

For this interactive assignment, you will create three MySQL database tables and write SQL scripts to read, insert, and delete data. The first database table will contain the names of at least four of your favorite movies. The second table will be a list of actors who appear in the movies. The third table will be an associative table that describes the relationship between the actors and their movies (which actors appear in which movies). Actors and movies have a “many-to-many relationship,” meaning an actor can be in multiple movies and a movie can have multiple actors.

  • Use the MySQL Database Instructions to create the three tables.
  • Once you have completed your three tables, create a “join” statement that joins data from all three tables. Remember that field names used in more than one table (ASIN, ActorID) must be fully qualified (i.e., dvdtitle, ASIN).
  • The previous SQL query returns a separate record for each actor. Provide a way to group results from several records into a single row.

General guidelines for this interactive assignment:

  • String values in SQL statements are always enclosed within single quotes. ASIN and Title are both strings and require single quotes. For instance, your insert statement will look something like this:
    $sql = “Insert into dvdtitles (asin, title, price) VALUES (‘$asin’, ‘$title’, $price)”;
  • SQL debugging tip: check your SQL statement before you execute it. Put the following line of code immediately before the mysql_query($strSQL) statement.
  • When retrieving ASIN from the querystring, remember that ASIN is a string, not a number.

Once you have completed the assignment, include the following in your initial post:

  • A Word document with screenshots of the tables you created.
  • A Word document with the SQL statements that you used to create the tables and populate them with data.
  • Explain how you grouped results from several records into a single row.

Order Solution Now

Our Service Charter

1. Professional & Expert Writers: School Class Pro only hires the best. Our writers are specially selected and recruited, after which they undergo further training to perfect their skills for specialization purposes. Moreover, our writers are holders of masters and Ph.D. degrees. They have impressive academic records, besides being native English speakers.

2. Top Quality Papers: Our customers are always guaranteed papers that exceed their expectations. All our writers have +5 years of experience. This implies that all papers are written by individuals who are experts in their fields. In addition, the quality team reviews all the papers before sending them to the customers.

3. Plagiarism-Free Papers: All papers provided by School Class Pro are written from scratch. Appropriate referencing and citation of key information are followed. Plagiarism checkers are used by the Quality assurance team and our editors just to double-check that there are no instances of plagiarism.

4. Timely Delivery: Time wasted is equivalent to a failed dedication and commitment. School Class Pro is known for timely delivery of any pending customer orders. Customers are well informed of the progress of their papers to ensure they keep track of what the writer is providing before the final draft is sent for grading.

5. Affordable Prices: Our prices are fairly structured to fit all groups. Any customer willing to place their assignments with us can do so at very affordable prices. In addition, our customers enjoy regular discounts and bonuses.

6. 24/7 Customer Support: At School Class Pro, we have put in place a team of experts who answer all customer inquiries promptly. The best part is the ever-availability of the team. Customers can make inquiries anytime.