Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Table: customer _ test customer _ id customer _ first _ name customer _ last _ name 1 Johnny Walker 2 Amber Rose Table: account
Table: customertest
customerid customerfirstname customerlastname
Johnny Walker
Amber Rose
Table: accounttest
accountid billamount customerid
Corporate
Table: paymenttest
paymentid paymentamount paymentdate accountid
Table: billtest
billid billamount accountid billdate
based on table above, Write a query to display firstname, last name, payment date and payment amount from the tables customertest and paymenttest Where the records from latest payment to be on top first result
Expected Result
paymentamount customerlastname paymentdate customerfirstname
Smith Peter
Smith PeterThe table here is just an example of how your answer is expected. You use this as a reference only!
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