Question
What is a 'star schema' in data warehouse
design?Solution
In a Star Schema the Fact Table stores measurable, quantitative data (transaction_amount, loan_amount, quantity) with foreign keys to dimensions. Dimension Tables are descriptive in context (Customer_dim: name, age, city; Branch_dim: branch_name, region; Date_dim: day, month, quarter, year; Product_dim: product_name, category).ย Advantages: Simple queries, fast read performance (fewer joins than normalized OLTP), easy for BI tools.ย Banking example: Transaction fact table linked to Customer, Branch, Account, Date, and Channel dimensions enables questions like "What is the total transaction value by branch, product, and quarter?"ย
The cost price of an article is Rs. (4n + 90). It is marked 25% above its cost price and sold after allowing a discount of Rs. 150. If the selling price...
An electronic item is listed at Rs. 6000. After two successive discounts, the final price paid is Rs. 4080. If the first discount is 15%, what is the pe...
10% of a product's cost price is Rs.1245.80. What would be the selling price if the product is sold at a loss of 15%? (rounded off to the nearest rupee)
An article is sold for Rs. 480 at 20% loss. If this article was sold at 12.5% profit, what would have been its selling price?
A shopkeeper bought two articles for Rs. 350 each. If he sold one of them at 40% profit and the other at 40% loss, then find the difference between the ...
In a business there are two partners โPโ and โQโ. โPโ started the business with the capital of Rs. 20000 and after 3 months โQโ joined h...
An item was marked 60% above its cost price and sold after giving a discount of Rs. 600. If the selling price of the item is Rs. 1800, find the cost pri...
A shopkeeper bought an article and marked it at Rs. 650. By selling the article at a discount of 4%, he earns a profit of 20%. Find the cost price of th...
- A person throws a biased coin on which head appears in 30% of situations. If the person gets Rs. 20 for each tail and loses Rs. 30 for each head, then find...
An article is marked 40% above its cost price and sold after offering a discount of Rs. 60 such that its selling price is Rs. 100 more compared to its s...