SQL SELECT COUNT

In this SQL tutorial, you are going to learn how to use SQL SELECT COUNT Function along with syntax and examples. SQL COUNT Function is used to find the number of record returned in the result set. This function is … Read more »

SQL SELECT DISTINCT

SQL SELECT DISTINCT: The aim of this tutorial is to teach you how to use the SQL SELECT DISTINCT clause along with syntax and examples. The SQL SELECT DISTINCT clause is used to remove the duplicate records from the result … Read more »

SQL SELECT STATEMENT

The SQL SELECT statement is used to fetch records from one or more SQL tables or views in your database. The records fetched are known as resultset which is shown in tabular format. SQL or Structured Query Language is used … Read more »

SQL TEMP Tables

As the name suggests, Temporary Tables are temporary in nature but act as full features table until the connection is closed. The main difference between a permanent and a temporary table is that table definition and data stored is persistent … Read more »

SQL ALTER TABLE

The SQL ALTER TABLE statement is used to add, delete/drop, or modify columns in an existing SQL table. It is also used to add or drop constraints on an existing table. SQL ALTER TABLE – Add Column The ADD statement … Read more »

SQL COPY TABLE

The SQL COPY TABLE statement is used to copy data from one table to another table within the same database server. If you want to copy a SQL table to another table in the MySQL database, it is possible by … Read more »

SQL TRUNCATE TABLE

The SQL TRUNCATE TABLE table statement is used to remove all the rows (complete data) from a table. It performs the same work as SQL DELETE TABLE without the WHERE clause. Warning: You should double-check before executing the SQL TRUNCATE … Read more »

SQL RENAME TABLE

This SQL tutorial explains how to use the SQL RENAME Table statement to change the name of a SQL table with syntax and example. SQL RENAME TABLE statement is used to change the name of an existing table. Sometime, we … Read more »

SQL DELETE Table

SQL DELETE TABLE statement is used to delete rows from an existing table.  If you want to delete some specific row(s) from a table, you can use WHERE condition along with the SQL DELETE Table statement. SQL DELETE TABLE Syntax … Read more »

SQL DROP Table

SQL DROP Table statement is used to delete or drop a table from a database or SQL Schema. DROP Table statement removes all the data, indexes, triggers, constraints along with the definition of the table. So while issuing this statement … Read more »