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

  Research various command-line interfaces

List and explain some of the commands that are easier using a command-line interface versus using a GUI. List and explain some of the commands that are easier using a GUI versus using a command-line interface.

  Professional working in a network security center

role of a professional working in a Network Security Center - majority of employees may not read the specific details

  How to compute the subnet mask

how to Compute the subnet mask and number of subnets and number of hosts in each subnet, in each of the given scenarios.

  Implement the queue adt using an array

Implement the stack ADT using the Java ArrayList class (without using the built-in Java Stack class). Implement the queue ADT using an array.

  Create a mips asm program that requests for three numbers

Create a MIPS asm program that requests for three numbers from the user. Month, Day, and Year. You may assume that a valid date is given.

  Review activity diagram and use case description documents

Review the activity diagram and Use Case description documents. Both of these are partially completed. By analyzing them together, you can fill in the missing pieces to complete the diagrams

  Questiontranslate following c program to pep8 assembly

questiontranslate following c program to pep8 assembly language-include ltiostreamgtusing namespace stdint myagevoid

  Write a program that allows two individuals to play

Write a program that allows two individuals to play a single game of Tic-Tac-Toe.

  Information technology it systems are considered to consist

information technology it systems are considered to consist of four major components. what are the four components of

  Calculate number of vertices that appear on fourth level

Calculate the number of vertices that will appear on the fourth level. You may reduce the size of the tree by taking advantage of symmetries.

  Implement a circular linked-list class

Implement a circular linked-list class. Note that the begin() and end() functions will return iterators that reference the same node.

  Determining different sales transactions

By using example of the retail clothing store in a mall, state the relevant data flows, data stores, processes, and the sources/sinks. Find out the different sales transactions.

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