Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 1 ) write postgresql code In the last 7 days how many users made more than one purchase in a day ( per day
Q write postgresql code
In the last days how many users made more than one purchase in a day per day What is the total daily revenue from such users? Please arrange the output by date
The output will have rows and columns: Date, total revenue, unique users
Table Name: purchase info
tableUseridAction,date purchasetype,dollaramount,purchaseidabcpurchasecomplete, Gold,xtabcpurchasecomplete, Gold,xy
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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