Usetutoringspotscode to get 8% OFF on your first order!

  • time icon24/7 online - support@tutoringspots.com
  • phone icon1-316-444-1378 or 44-141-628-6690
  • login iconLogin

SQL Statements

SQL Statements
Assignment Details
I will upload assignment from week1,2,3. Some helpful links and PowerPoint presentation provided by the professor.
Key Assignment Draft
You have been asked to develop a database system plan for a local company (or a company of your choosing) that wants to track its customers/clients, appointments, billing, and employees. Structured query language (SQL) is used to create the database schema, maintain the database records, and perform administrative tasks. In addition to the Database System Plan template that includes section headings (project outline), submit a SQL Statements document of 4–5 pages based on the entity relationship (ER) model completed in Week 3. Complete the following:
• Include SQL statements that use data definition language (DDL) commands to create the database schema specified in the ER diagram created in Week 3.
o Include indexes, constraints, and relationships.
• Include SQL statements that use data manipulation language (DML) to do the following:
o INSERT 15 records into each table.
o UPDATE 5 sets of records in each table using one specific criteria per update statement (e.g., EXACT MATCH, LIKE, BETWEEN, IN, or HAVING).
o DELETE 2 records from 1 table based on specific criteria (e.g., EXACT MATCH or LIKE).
• Create stored procedures to support retrieval of the data from the database, using SELECT statements to accomplish the following:
o Aggregate (group) functions (count, avg, min, max, sum)
? Write 4 queries using group functions.
o Group By
? Write 2 queries using the Group By, Having, and Order By syntax.
o Simple queries
? Write 4 queries that manipulate data in 1 table.
o Join queries
? Write 4 queries that join 2 or more tables.
• Add this section to the SQL Statements section of your database system plan.
• Name the document as follows:
o yourname_IT600__IP4.doc
• All sources should be cited both in-text and in the References section by using APA format.
• Submit the document for grading.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes