Question
Tables you will be using: Debtor Usage The debtor table resides in the A database The usage table resides in the B database 1: Put
Tables you will be using: Debtor Usage The debtor table resides in the A database The usage table resides in the B database
1: Put the following in order: Having, Group by, Where, Select
2: Write a query that pulls back the debtor, premise, service type and usage rate
3:Write a query to pull back debtors that have an email
4: write a query to pull back the total number of unique debtors
5:write a query that tells how many unique debtors there are, per state
6:Write a query that pulls back debtors with an active account status that have usage over 50Kwh of usage
7: write a query that pulls back only residential debtors with an active account and an email address
8: Write the following queries: returns the debtor with the lowest usage amount/largest usage amount/total usage amount for all debtors
9. Write a query to create a table that holds the debtor number, premise number service state and service rate |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started