Archive
Sql Project 1 Of 5
Using the SQL CREATE statement, create the following two tables using the following fields:
Note: Supply the SQL Server data types when creating the tables. In the Employee table, create an Employee ID field that will generate a unique number for each employee and designate the field as the Primary Key. In the Job Title table, you will need to either utilize one of the listed fields as the table’s primary key or you will need to create an additional field to use as the primary key. The primary key from the Job Title table will appear as the foreign key in the Employee table.
Two Sql Projects
Project #1
Save all of your code in Notepad as a *.txt file and attach it when you submit the project. Take screen shots of all successful implementation of each set of SQL.
Data Changes and SQL Statements
Resource: Table Queries assignment
Use the database and tables that are attached to write SQL statements and enter records into the Employee table for workers identified in the employee files for the administrative offices and the store. Check results by selecting all columns from both tables.
Between, Like, and Union:
Write a SQL query that joins two tables in the example database and uses BETWEEN to restrict record selection. Use salary to restrict data.
Write a SQL query that joins two tables in the example database and uses BETWEEN to restrict record selection. Use hire dates to restrict data.
Write a SQL query that joins two tables in the example database and uses LIKE to restrict record selection. Use telephone area codes to restrict data.
Write a SQL query that joins two tables in the example database and uses LIKE to restrict record selection. Use age to restrict data.
Write a SQL query that uses the UNION of the two tables to produce a third table.
Save each query in a txt file and take a screen shot of its results and submit them as an attachment.
Group:
Use the updated database to write the following queries, using the SQL GROUP statement:
Select employees’ last names and group them by EEO-1 classification.
Select employees’ last names and group them by salary.
Select employees’ last names and group them by salary in their EEO-1 classification.
Select employees’ last names and group them by salary in job titles, grouped into exempt and non-exempt.
Save all the SQL statements in a txt file and submit as an attachment.
Screen Shot
Employee Database Sql
I need a SQL database completed in Express 2008. The details are as follows and it must be completed by Saturday the 25th:
Create an SQL server database for the Kudler Fine Foods Virtual Organization.
–Comment goes here
CREATE DATABASE CASEKudlerFineFoods
ON PRIMARY
(NAME = Case_KudlerDB_dat,
FILENAME = “C:POS410MyStuffCase_KudlerDB_dat.mdf”,
SIZE = 10MB,
MAXSIZE = 100MB
FILEGROWTH = 10%)
–Comment goes here
LOG ON
(NAME=”Case_KudlerDB_log”,
FILENAME=”C:POS410MyStuffCase_KudlerDB_log.ldf”,
SIZE = 5MB,
MAXSIZE = 100MB,
FILEGROWTH = 20%)
(Note: Table connected by key means that if you have a primary key of Employee ID in the EMPLOYEE table, and Employee ID as a foreign key in the Job Title table, indicate the join in the data dictionary.)


