Identify sql statements to build tables in database

Assignment Help Database Management System
Reference no: EM131665383

The Final Project of this course requires you to identify SQL Statements to build tables in your proposed database.

Remember, entities in your conceptual and logical models become tables in your physical model. Attributes in your conceptual and logical models become fields in a table.

Each week's course assignments allow the chance to get feedback from your peer's as you progress through the sections of the Final Project.

For this Interactive Assignment, you will share and swap knowledge with your instructor and peers on the SQL section of your Final Project.

In your post, at minimum, discuss the following with your instructor and peers. Seek their feedback on suggestions to improve your thought direction:

Provide the SQL CREATE TABLE commands for two of the tables in your proposed database.

An example would be:Use AdventureWorks2008

CREATE TABLE Students ([id] int NOT NULL,
[FirstName] nvarchar(50) NOT NULL,
[LastName] nvarchar(50) NOT NULL,
[HireDate] date NOT NULL,
[EnrolmentDate] date NOT NULL,
[PersonType] nvarchar(30) NOT NULL, Primary key(id))
GO

Include PRIMARY KEY and NOT NULL commands.

Provide the SQL INSERT commands to insert five rows of data into your two tables.

An example would be:Use AdventureWorks2008

INSERT INTO Students (id, FirstName,LastName, HireDate, EnrolmentDate, personType)
values (1, ‘Tony', ‘Greig', ‘2013-01-03',
‘2013-01-03', ‘Student')
GO

INSERT INTO Students (id,Firstname,Lastname,HireDate,EnrolmentDate, personType)
Values(2,'William','Charlie','2012-01-03',
‘2012-01-03', ‘Instructor')
GO

INSERT INTO Students (id,Firstname,Lastname,HireDate,EnrolmentDate, personType)
Values(3,'Your first name','Your last name','2016-01-03',‘2016-01-03', ‘Instructor')
GO

Reference no: EM131665383

Questions Cloud

Have you ever worked in an organic organization : Have you ever worked in an organic organization? What did you like or dislike about the organic organization?
Which of the following pairs is mismatched : Which of the following pairs is mismatched? Which of the following organisms is photoautotrophic protozoan
Concepts of the bcg matrix and ge matrix : Describe the concepts of the BCG matrix and GE matrix that are used to determine organizational strategy. What is an advantage of the GE matrix model.
Some of the challenges that a start-up community : Somnio, a start-up running shoe company in California, decided to start selling its products around the world from the very beginning.
Identify sql statements to build tables in database : Provide the SQL CREATE TABLE commands for two of the tables in your proposed database.Identify SQL Statements to build tables in your proposed database.
Discuss the potential and real challenges this transition : Discuss the potential and real challenges this transition will face from hospitals, payers, and staff
Successfully manage a project team : How would a preferred leadership style enhance and detract from your ability to successfully manage a project team?
How much would hospitals be charged for each mealman meal : Using the same approach to calculating budgeted fixed cost per meal and pricing as in 2017, how much would hospitals be charged for each Mealman meal in 2018?
Issuance of stocks or the financing of debt : As a healthcare administrator, examine if you would endorse the issuance of stocks or the financing of debt.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd