- creating index when the table is created