I have created two tables:
Orders:
CustomerID
OrderId
OrderDate
Revenue
Industry:
CustomerID
Industry
Now I want to write a query for-
- How many customers placed at least 1 order?
- How many "Real Estate" customers placed an order?
I am trying to write but not able to get correct result.
Please help me on this. I am new in coding.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…