Find all customers whose balances are less than their limits

Assignment Help Computer Engineering
Reference no: EM132095862

"Please help with this database "

Lab - Single Table SQL Queries: Premiere database

Construct the following queries in SQL and execute them in MySQL database you have created (The Premiere database).

Your output for each query must contain the SQL code and the resulting table. You can copy & paste your SQL code and output table below each query question. You can submit your lab report in a MS Word or PDF file via Blackboard. I will also look at your work in class.

a) List the names of customers with credit limits of $7,500 0r less.

(P&L page 125 # 3)

b) List the order number for each order placed by customer 148 on 10/23/2007.

Hint: The default DATE data type in MySQL stores dates in the format ‘yyyy-mm-dd', enclosed in single quotes. (P&L page 125 # 4)

c) Find all customers whose balances are less than their credit limits.

d) How many customers have balances which are less than their credit limits.

(P&L page 125 #14)

e) Find the total of the balances for all customers whose sales rep is 65 and whose balances are less than their credit limits. (P&L page 125 #15)

Reference no: EM132095862

Questions Cloud

Representations of business data flow and processes : Assignment - Literature Bonanza - Select appropriate IT solutions for business functions - Apply business information software for data visualization
Prepare january journal entry to record the bond issuance : Legacy issues $710,000 of 8.0%, four year bonds dated January 1, 2015, Prepare the January 1, 2015, journal entry to record the bond's issuance
Understanding of the key topics : This assessment aims to develop and gauge student understanding of the key topics covered so far by answering the following questions.
Prepare a multiple-step income statement : Presented below is information for Furlow Company for the month of March 2014. Prepare a multiple-step income statement
Find all customers whose balances are less than their limits : Find all customers whose balances are less than their credit limits. How many customers have balances which are less than their credit limits.
Prepare separate entries for each transaction on the books : On June 10, Tuzun Company purchased $9,700 of merchandise from Epps Company, Prepare separate entries for each transaction on the books of Tuzun Company
Write a program with an array of seven payroll objects : Design a PayRoll class that has data members for an employee's first and last name, hourly pay rate, number of hours worked.
Assessment-idea generation : The objective of this individual assessment submission is to learn how to develop a business idea, complemented by brainstorming and leveraging the insights
How much depreciation expense should the company recognize : A company purchased a delivery van for $28,000 with a salvage value of $3,000 on September 1, how much depreciation expense should the company recognize

Reviews

Write a Review

Computer Engineering Questions & Answers

  You will need to design an interface to a systemyou will

you will need to design an interface to a system.you will need to justify every item that you choose to put into this

  Compute the record size r in bytes

suppose the file is ordered by SSN; calculate the number of blocks it takes to search for a record given its SSN value by doing a binary search.

  How is emerging technology managed in your organization

How is emerging technology managed in your organization? How could they be made better? What are some organizations that were affected in major positive or major negative ways by disruptive technology changes?

  Eurofins scientific is a bioanalytical service provider

Require a Project plan for the project (it doesn't need to be in ms project, word is fine). Including timelines, tasks and constraints. The project is a fictional business and idea that I needed to come up with and make a project plan, please allo..

  Write a simulation program for this model

MAP 6264 Homework. Consider the M/D/1/n queue (finite waiting room, that is, a buffer with n waiting positions). Write a simulation program for this model, and compare the simulation results with the predictions of queueing theory

  How are rhel and centos different

How does this impact free linux distributions? How are RHEL and CentOS different? In linux, what is the default, super user account name?

  What are some of the problems that you have experienced

what are some of the problems that you have experienced when writing or receiving poorly perhaps hastily written

  What are advantages and disadvantages of given arrangement

Microprocessors like the 68000 use address and data buses and special-purpose dedicated control pins to implement a memory interface.

  How does the flow rate differ for these two passages

A particular heat exchanger is built of parallel plates, which serve to separate the two fluids, and parallel continuous fins, which extend between the plates.

  What would a killer app for pki acceptance look like

What are challenges and solutions for businesses in the use of cryptography for data storage and communications? What about law enforcement?

  Compare the performance of the two quantizers

Using either the mean squared error or the SNR as a measure of performance, compare the performance of the two quantizers.

  Create and test an html document that describes a list

Create and test an HTML document that describes an unordered list of at least four states. Each element of the list must have a nested list of cities in state.

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