Answer:
The number of invoices for each vendor that have a larger balance due than the average balance due for all invoices.
Explanation:
This part of the code below
WHERE InvoiceTotal - PaymentTotal - CreditTotal >
(SELECT AVG (InvoiceTotal - PaymentTotal- CreditTotal)
FROM Invoices)
gives the condition to pick the invoices with balance that are greater than the average balance for all invoice.
This part of the code below
GROUP BY VendorName
ORDER BY BalanceDue DESC;
then enables the program to group the result of the above condition by VendorName and sort the resulting rows in the order of BalanceDue. You will therefore, obtain for each row in the NumberOfInvoices column, the number of invoices for each vendor that have a larger balance due than the average balance due for all invoices.
Answer:
thanks you too mah dude! :)
Explanation:
Answer:
In other words, the CSS rules can "cascade" in their order of precedence. Where the rules are located is one factor in the order of precedence. The location order of precedence is: browser default rules, external style sheet rules, embedded styles, and inline style rules.
Jsjsjsoos I jdkkskso I iDisks I iiddikdk I ididkkd
Answer:
def check_password(pwd):
c=0
d=0
for i in pwd:
if (i>='a' and i<='z') or (i>='A' and i<='Z'):
c+=1
elif i>='0' and i<='9':
d+=1
c+=1
if len(pwd)==c and d>=2 and len(pwd)>=8:
print("valid password")
else:
print("Invalid password")
ps=input("Enter password for checking : ")
check_password(ps)
Explanation:
- Loop through the password and check if it contains any alphabet.
- Increment the counter if it contains any alphabet.
- If it contains a number, increment both c and d variables.
- Finally display the relevant message.