Structured Query Language for Data Management
After creating the database schema, use Insert, Update, and Delete commands to populate the tables with the following information. Notice that the values for the primary key columns (ClassId in the Classes table, AdvisorId in the Advisors table and StudentId in the Students table) are not listed. It is assumed that they will be “Identity” or “Auto-increment” columns and the DBMS will determine the proper identity value when the row is inserted. You may have to either modify your original data types for some of your table columns or modify the values below to fit your data types. For example, if you defined your gender column to be a 1-character column, you will need to use the values M or F instead of Male and Female. The IsActive column is another column that may require different values, depending on the type of DBMS used. 1. Insert the following classes' records:
2. Insert the following advisors' records:
3. Insert the following students' records:
4. Delete the course named Investments from the system. 5. Change Harriet Smith’s birthdate to April 25, 1982 and her GPA to 3.25. Copy and paste the work into your Key Assignment document and include screen shots of each step, describe what you did for each step and paste in the actual SQL text used to perform each step. Provide an introduction explaining the important of these commands in relation to your overall Key Assignment. |
11 years ago 40
Purchase the answer to view it
- sql_job_phase_1_1.docx
- Finished
- Assignment3: Business Intelligence and Data Warehouses
- Tutor Mania New Assignment #2
- ACC-281-Write an eight- to ten-page case analysis of the following article ( can be found in the Ashford Online ProQuest database)Souza, M. & McCarty, B. (2007). From bottom to top: How one provider retooled its collections [Electronic version]. Health
- HR Assignment
- HRMN 367 Assignment Solutions- GLOBE Assignment: Part 1
- Due tuesday by 6pm set
- my math lab
- Homework
- ACC 544 Week 4 Learning Team Assignment Controls for Inflows