ember-parr / SQL_Intro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SQL_Intro

Setup

  1. Open Visual Studio.
  2. At the start screen select Continue without code.
  3. Open the View menu and select SQL Server Object Explorer.
  4. Expand the node for your SQL Server instance.
  5. Right-click on "Databases" and select Add new database.
  6. Name the new database MusicHistory.
  7. Right click the MusicHistory database and choose New Query.
  8. Run this SQL script to create tables in your database and insert some seed data.

Instructions

  • Using the SQL Server Object Explorer in Visual Studio, examine the tables, columns, and foreign keys of the database.
  • Using the dbdiagram.io site, create an ERD for the database. For each of the following exercises, provide the appropriate query. Yes, even the ones that are expressed in the form of questions. Everything from class and the references listed above is fair game.

About