PERSON
OID_PERSON
PREFIX
FIRSTNAME
LASTNAME
SUFFIX
GENDER
ADDRESS
OID_ADDRESS
OID_PERSON (FK)
ADDRESS1
ADDRESS2
CITY
STATE
ZIP
PLUS4
TRANSACTIONS
OID_TRANSACTION
OID_PERSON (FK)
TRANSACTION_DATE
TRANSACTION_AMOUNT
TRANSACTION_TYPE
With SQL, how can you return FirstName, LastName and Address components for records with the LastName of “Jackson” and the zip of 75063?
With SQL, how can you identify the Person with the largest total amount of money spent and return their FirstName, LastName, Address components, and the total amount of all their transactions?
With SQL, how can you identify the Person with the most purchase transactions and return their FirstName, LastName, Address components, and the number of transactions they have made?
OID_PERSON
PREFIX
FIRSTNAME
LASTNAME
SUFFIX
GENDER
ADDRESS
OID_ADDRESS
OID_PERSON (FK)
ADDRESS1
ADDRESS2
CITY
STATE
ZIP
PLUS4
TRANSACTIONS
OID_TRANSACTION
OID_PERSON (FK)
TRANSACTION_DATE
TRANSACTION_AMOUNT
TRANSACTION_TYPE
With SQL, how can you return FirstName, LastName and Address components for records with the LastName of “Jackson” and the zip of 75063?
With SQL, how can you identify the Person with the largest total amount of money spent and return their FirstName, LastName, Address components, and the total amount of all their transactions?
With SQL, how can you identify the Person with the most purchase transactions and return their FirstName, LastName, Address components, and the number of transactions they have made?