This figure illustrates a typical star schema with some columns and relationships detailed. In it, the dimension:

The fact table is sales, which contains cust_id and prod_id.

This example is from the sh sample schema.