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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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