mySQL - All Forum
SQL
Structured query language (SQL) is used for interacting with RDBMS.it use to create, retrieve,update data. It can also design manage and create database tables,Sql implementation vary between systems.DQL,DDL,DCL,DML are categories of SQL
- 0 Comments
- 111 Views
- Share:
- 0
- 0
Joins
Inner join is mostly used in mysql. And it only returns whatever is common in both tables under consideration
- 0 Comments
- 111 Views
- Share:
- 0
- 0
MySQL
SQL (structured query language) is a database computer language designed for managing data in relational database management system, SQL can execute, create, retrieve, insert, update, delete, create(new database, new tables, stored procedures) in a database. We have different query types: INSERT, SELECT, UPDATE and DELETE
- 0 Comments
- 90 Views
- Share:
- 0
- 0
Star vs snowflake schema
What would be the major difference between a snowflake schema and a star schema?
- 6 Comments
- 204 Views
- Share:
- 0
- 0
mySQL
A database in SQL is made up of a collection of tables that stores a specific set of structured data which are organized in such a way that it can be easily accessed, managed and retrievedDatabase consist of different elements which includes tables, fields, rows and columns. Each columns in the table is designed to store a certain type of information e.g names, dates, numbers
- 0 Comments
- 109 Views
- Share:
- 0
- 0
- 0 Comments
- 155 Views
- Share:
- 0
- 0
- 0 Comments
- 132 Views
- Share:
- 0
- 0
- 0 Comments
- 105 Views
- Share:
- 0
- 0
- 0 Comments
- 149 Views
- Share:
- 0
- 0
- 0 Comments
- 143 Views
- Share:
- 0
- 0
Tables and schemas types
Fact tables contain foreign keys and data that can be summarized. For example, the fact inventory table contains foreign keys to the date, location, and product dimension tables. The summarizable data item is the quantity in stock. The primary key of the table is the concatenation of two or more of the foreign keys (all of which are arbitrary integer keys). Data warehouse uses referential integrit...
- 0 Comments
- 139 Views
- Share:
- 0
- 0
fact table and dimension table
<p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;">FACT TABLE</p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;">A fact table is a central table that stores quantitative data for analysis. It typically contains facts (measurements or metrics) and foreign keys to dimension tables (will be explaine...
- 0 Comments
- 146 Views
- Share:
- 0
- 0
Fact and dimension tables
Fact table contains numerical data, it is a numeric attribute of a fact, it contains measures that can be summed up to analyze or to carry out some process and they are primarily joined to dimension table through foreign keys. The fact table contains the description of the primary key of all tables and it is in normalized form Dimension table have qualitative data, they provide context an...
- 0 Comments
- 131 Views
- Share:
- 0
- 0
Data types in SQL
The structured query language comprises of several different data types that allow it to store different types of information in a database, the data type chosen for a table column is based on requirements. Numeric data types: FLOAT, INT, BOOLEANCharacter and string type: CHAR, VARCHARDate & Time: DATETIME, DATE, TIME, TIMESTAMP
- 0 Comments
- 181 Views
- Share:
- 0
- 0
Facts and dimension tables in relation with Star and Snowflake Schema.
<b><i></i></b><b><i>FACTS AND DIMENSION TABLE</i></b>Fact tables hold numerical data, whereas dimension tables provide descriptive context to the information stored in fact tables. When tackling queries related to 'what' and 'how much,' refer to the fact table. For insights into 'who,' 'where,' 'when,'...
- 0 Comments
- 168 Views
- Share:
- 0
- 0
FACT AND DIMENSIONAL TABLES
A fact table contains the primary keys and collection of variables derived from dimensional table . Both fact and dimensional tables play different but important roles in data warehouse. Facts table contain numerical data background while Dimension table provides context and background information.. A fact table clearly shows clearly shows the progression or otherwise of a business using...
- 0 Comments
- 114 Views
- Share:
- 0
- 0
Facts and Dimensions Table
<p class="MsoNormal" style="line-height:150%"> </p><p class="MsoListParagraph" style="text-indent:-.25in;line-height:150%; mso-list:l6 level1 lfo6">- Difference between Facts and Dimensions Table <b></b></p><p class="MsoNormal" style="...
- 0 Comments
- 88 Views
- Share:
- 0
- 0
Star and Snowflake Schema
<b>What is A Star Schema ?</b>A Star Schema is a database schema used to store data in a star format. This schema consists of a central table called the <b>"Fact Table"</b> and a number of directly connected other table called <b>"Dimension Table". </b>The Fact Table contains information about metrics or measure while the Dimension table cont...
- 0 Comments
- 111 Views
- Share:
- 0
- 0
FACTS AND DIMENSION TABLES
In SQL, when working with data warehousing and business intelligence, two essential types of tables are used to organize and analyze data:FACT TABLES.- Contain measurable data (facts) about a business process or event.- Typically have numerical values (e.g., sales amounts, quantities, dates).- Examples: sales data, order data, customer behavior data.DIMENSION TABLES.- Contain descriptive data (att...
- 0 Comments
- 127 Views
- Share:
- 0
- 0
STAR SCHEMA AND SNOWFLAKE SCHEMA AND THEIR DIFFERENCES.
In SQL, when designing data warehouses and business intelligence solutions, two common schema designs are used to organize fact and dimension tables:STAR SCHEMA.- One central fact table.- Multiple dimension tables connected directly to the fact table.- Each dimension table is connected to the fact table through a foreign key.- Resembles a star shape, with the fact table at the center.Example:Fact...
- 0 Comments
- 114 Views
- Share:
- 0
- 0