Lets Viz Technologies Logo
Home
Dashboards
Contact
Get Demo
Lets Viz

Custom Gen AI + BI Solutions to Automate Workflows and Unlock Insights. We help businesses automate repetitive processes and gain real-time insights through AI-driven workflows and intelligent dashboards.

Company

  • About
  • Careers
  • Contact

Services

  • AI Automation
  • Custom Dashboards
  • BI Consulting
  • IT Outstaffing

Dashboards

  • Finance
  • Marketing
  • Sales
  • Operations

Learn

  • Blog
  • Tech Tutorials

Legal & Social

  • Privacy Policy
  • Terms & Conditions

Contact Us

Location

Noida, Uttar Pradesh 201301
WeWork Berger Delhi One, C-001/A2, Sector 16B

Phone

+91 0124 502 5592

Email

info@lets-viz.com

Review Us On

Clutch logoTrustpilot logoGoogle Reviews logo

© 2026 Lets Viz Technologies. All rights reserved.

Dashboard

SQL CREATE Table

SQL CREATE Table
January 1, 2023·By Lets Viz·2 min read
DashboardReportingWorkflow

All the clauses and operations in SQL can only be performed in the presence well-designed table. Creating a table involves defining the columns and the datatype for every particular column. The CREATE TABLE in SQL is used to generate a new enumeration in the database.

  • Syntax to CREATE TABLE – 

CREATE TABLE table_name
(column1 datatype,
column2 datatype,
column3 datatype,
....,
columnN datatype);

Here the syntax has the different columns that show the different names for the columns in the new table whereas the data types specify what type of data will be associated with each column.

Example – Let’s create a table name as Customers which has the “ID” column as the primary key and should have NOT NULL as its constraints. The following table will have 5 columns i.e.- “ID”,”FirstName”,”LastName”,”Age”,”City”.

  • NOT NULL constraints limit the fields not to have NULL as it’s any of the values.

CREATE TABLE Customers
(ID int NOT NULL,
LastName varchar(255),
FirstName varchar(255),
Age int,
City varchar (255),
PRIMARY KEY (ID));

 

Right now if we run the SELECT statement with this table, there will be no value as we have not yet inserted any values in the table.

 

Other SQL topics to check out:

  • What is RDBMS (Relational Database Management System)?
  • SQL SELECT Statement
  • SQL INSERT INTO SELECT Statement
  • SQL ALL Operator
  • SQL WHERE Clause
  • SQL AND Operator
  • SQL OR Operator

Follow us on Twitter, Facebook, Linkedin, and Tableau Public to stay updated with our latest blog and what’s new in Tableau.

Automate data analysis pipeline and create report ready dashboards

If you are looking forward to getting your data pipeline built and setting up the dashboard for business intelligence, book a call now from here.

#analytics #data #business #artificialintelligence #machinelearning #startup #deeplearning #deeplearning #datascience #ai #growth #dataanalytics #india #datascientist #powerbi #dataanalysis #tableau #SQL #businessanalytics #businessanalyst #businessandmanagement #dataanalyst #businessanalysis #analyst #analysis #powerbideveloper #powerbidesktop #letsviz

Related blogs

Executive Dashboard Best Practices: How to Design Dashboards Leaders Actually Use
Dashboard
Executive Dashboard Best Practices: How to Design Dashboards Leaders Actually Use

TL;DR: An executive dashboard must deliver clarity, context, and confidence — fast. The best executive dashboards focus on business outcomes, not just metrics. Follow these best practices: align KPIs with...

Data AnalyticsKPIReporting
6 min read
Read More
Data Quality that Scales: 12 Tests to Add Before Any Power BI Dashboard Goes Live
Dashboard
Data Quality that Scales: 12 Tests to Add Before Any Power BI Dashboard Goes Live

TL;DR: Before publishing any Power BI dashboard, run a 12-step data quality validation checklist to ensure accuracy, consistency, and trust in your analytics. From schema consistency to null handling and...

Business IntelligencePower BIReporting
6 min read
Read More
An Introduction to Aggregators in Make: How I Learned to Group, Combine, and Simplify Data
Dashboard
An Introduction to Aggregators in Make: How I Learned to Group, Combine, and Simplify Data

When I first started building scenarios in Make, I often ran into the same problem: I had too much data scattered across multiple bundles, and I needed a way to...

Business IntelligenceReporting
8 min read
Read More

Ready to Transform Your Data?

Book a free demo and see how we can help you unlock insights from your data.

Book a Demo