add sample table creation with example of joined query