Share
Explore BrainMass

SQL

Create the following SQL queries.

Create the following queries on the attached ITD640_B database and save them all in a file called ITD640_P5.SQL . Remember to define what database to use with a USE statement. - Using a join, get the full details of all the employees who are working on the Harvest Ball promotion. - Get the promotion names (duplicates elimi

Create SQL Database System

I need help with the following for review and understanding. For the project, you will be creating a database system to solve a business problem of your choice. The database system must meet the criteria shown below. In addition to the database solution, each student will prepare a system summary. Database System Requirements

SQL Database queries

Attached in the zip is the the sample database ITD640_B from the assignment. The sample database represents a company with employees and different stores. Each employee works at just one store. The employees have various jobs in different promotional activities (promotions) and may work on more than one promotion at a time. d

If Else then, parameter queries, object priveleges: Perform the following tasks below by using the correct SQL statements. Create the statements in Oracle by using the following steps (SQL > SQL commands > Enter Command).

L_lunches table LUNCH_ID LUNCH_DATE EMPLOYEE_ID DATE_ENTERED 1 16-NOV-05 201 13-OCT-05 2 16-NOV-05 207 13-OCT-05 3 16-NOV-05 203 13-OCT-05 4 16-NOV-05 204 13-OCT-05 6 16-NOV-05 202 13-OCT-05 7 16-NOV-05 210 13-OCT-05 8 25-NOV-05 201 14-OCT-05 9 25-NOV-05 208 14-OCT-05 12 25-NOV-05 204 14-OCT-05 13 25-NOV-05

Tables, Forms, and Reports

Word document, SQL Statement (zipped) Start Access, and then open the FirmPays database located in the LE4 folder extracted from the zip file in IP3. Open the query named "June 2". View the query in SQL, and answer the following questions: 1. Which tables are used in the query? 2. Which fields are displayed in the query

Writing query for SQL using NESTED-SELECT statement

I have a list of incomes (in column labeled Income) in a table labeled Jobs. I need to find the second highest number in the income column. I know that the MAX function finds the highest, but how would I find the second highest income using a NESTED-SELECT statement???

Improvements to SQL queries for Student data

I have tried there two queries, but I am told that I am not doing something right. Here are the criteria I used to write the queries and my current answers. 1. Write a SELECT statement that lists the StudentID, FirstName, LastName, and GPA of freshman (FR) whose GPA is 3.5 or higher. Use only the Student table. My query: SEL

Microsoft Access

Start Access, and then open the FirmPays database located in the LE4 folder extracted from the zip file in IP3. Open the query named "June 2". View the query in SQL, and answer the following questions: Which tables are used in the query? Which fields are displayed in the query results What type of join is used between th

Sql Queries for Employees, Salary, Job tables

Need help quickly with some SQL queries. I am using SQL 2005 express. Please help. Using the database, tables, and data, write SQL statements to: ? Calculate the average salary for employees for each state. ? Calculate the maximum salary for exempt employees and the maximum salary for non-exempt employees. ? Calculat

SQL Database Needed

please use SQL server 2008 to create the database, below is the URL or website for the Kudler Fine Foods. https://ecampus.phoenix.edu/secure/aapd/cist/vop/Business/Kudler/Internet/KudlerPort.htm Individual Assignment: Table Creation ? Create an SQL server database for the Kudler Fine Foods Virtual Organization. ? Cr

SQL

Start Access, and then open the FirmPays database located in the LE4 folder extracted from the zip file in IP3. Open the query named "June 2". View the query in SQL, and answer the following questions: Which tables are used in the query? Which fields are displayed in the query results What type of join is used between th

SQL Table Client Creation

CREATE TABLE CLIENT ( CLIENT_NO CHAR(8) PRIMARY KEY, CLIENT_COMPANY VARCHAR(35) NOT NULL, CLIENT_NAME VARCHAR(35) NOT NULL, CLIENT_EMAIL VARCHAR(35), CLIENT_PROGRAM CHAR(3) NOT NULL, CLIENT_SCORE NUMBER NOT NULL); CREATE TABLE COURSE ( COURSE_CODE CHAR(8)PRIMARY KEY, COURSE_NAME VARCHAR(35) NOT NULL,

Five SQL queries explained

4.1) Consider the insurance database below, where the primary keys are underlines. Construct the following SQL queries for this relational database. INSURANCE DATABASE Person ( ss#, name, address) Car (license, year, model) Accident (data, driver, damage - amount) Owns (ss#, license) Log (license, date, driver) I

MUST USE SQL CREATE TWO TABLES.

I tried posting this question once already and I paid pretty much for nothing! This has to be done in MS SQL. Using SQL coding, create two tables using the following fields: (Note: Supply the SQL Server data types when creating the tables. Apply the primary keys to the tables.)Create database and two tables (Employee & Job

Movie Rental Database - Part-2 This is the second part of the Movie Rental Database set of questions answered using Oracle. The set of queries primarily deals with triggers and exception handling.

Submit all of your codes, Oracle responses, and listing of your testing session in a single text or Microsoft Word document. please see attached file Now that business is becoming strong and the movie stock is growing for More Movie Rentals, the manager wants to do more inventory evaluations. One item of interest concerns

SQL Database

Ramesh, I'm having trouble with my coding. Could you please look over my SQL Statement. Also I'm unsure how to use the GROUP Coding. Instructions are down below and PLEASE USE SQL SERVER 2008 Use the database and tables from last week's assignment to write SQL queries using Between, Like, and Union: - Write a SQL query tha

Writing SQL Queries Using a Database and Tables

Write SQL queries (SELECT statements) using BETWEEN, LIKE, UNION, and GROUP. Using the database and tables (see attachment) write SQL INSERT statements to insert records into the employee table for the workers identified in the Employee Files for the administrative offices and the Del Mar location. Check your results by selec

SQL Accounting Database

PLEASE USE SQL 2008 ATTACHED FOR ALL SQL DATABASE CREATION Design an SQL database that contains the fields found in the company's Chart of Accounts. Add a balance field to the database. Create a query that will display all of the fields of the database and run a report totaling the balance field using test data added to the d

Creating a databse using Microsoft SQL Server

Using Microsoft SQL Server CREATE DATABASE, CREATE TABLE, and SQL INSERT statements. Use the CREATE DATABASE statement to create a SQL Server database for Kudler Fine Foods. In the Kudler Fine Foods Database, use the CREATE TABLE statement to create the following two tables with the fields identified below: Note: Spe

Write SQL queries using BETWEEN, LIKE and UNION

Using the database and tables from the attached file, write SQL queries using 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 the data.) Write a SQL query that joins two tables in the example database and uses B