Design structured relational data models and guarantee data integrity using transaction properties.
Design an e-commerce schema (Users, Orders, Products, Order_Items), write the SQL to create the tables, and query the total revenue per user.