SQL BLOGS

SQL NOT Operator

The NOT Operator returns the results when the condition mentioned in the WHERE CLAUSE is not TRUE . The condition is matched and returns those values from the columns that are not true to the condition. Syntax of NOT Operator – SELECT column1,column2,column3,…,columnN FROM table_name WHERE NOT condition; Here, as in the syntax shown, in the WHERE clause, we can add

Read More »

SQL – UPDATE Statement

The UPDATE Query in SQL is used to modify and change the existing values in the columns. The WHERE clause is used with the UPDATE Statement which has a condition to update the selected columns. The WHERE clause determines which records will be updated. Syntax of UPDATE statement – UPDATE table_name SET column1 = value1, column1 = value1 ,…, columnN

Read More »

SQL ALTER (RENAME)

Changing the table name to a relevant name can be needed often in the databases. Not only the table but the column names can be also changed as per the added information. For the same, we can use ALTER (RENAME) in SQL to rename the names of tables or columns. The ways of altering or changing the table can differ

Read More »

SQL TOP Clause

The TOP clause in SQL is used to fetch the limited result from the table. It is often used when dealing with larger databases and tables. Syntax of TOP Clause –  SELECT TOP value column1,column2,…,columnN FROM table_name WHERE condition ; OR, Syntax of TOP (percent) Clause –  SELECT TOP value PERCENT column1,column2,…,columnN FROM table_name WHERE condition; Demo table – Product

Read More »

SQL ALTER TABLE (ADD/DROP/MODIFY) Command

As discussed in previous articles, we are aware that the changes to a table or column can be done using ALTER TABLE command. The ALTER TABLE can be even used to add or drop the table or the columns or even it can be used to modify the constraints of the existing table or columns. ALTER TABLE (ADD) – The

Read More »

SQL CREATE Table

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, ….,

Read More »

SQL ANY Operator

The ANY Operator is used in SQL to compare values with single columns and the range of values. The statement returns to be “TRUE” if any of the values are true in the range. The ANY Operator returns boolean values as its result. Syntax of ANY Operator –  SELECT column1,column2,column3,…,columnN FROM table_name WHERE column1,column2 OPERATOR ANY (SELECT column1,column2,column3,…,columnN FROM table_name

Read More »

SQL – Aliases

Aliases in SQL are used to give a temporary name to a table or a column name. The temporary name added to the table or column is valid till the duration of the query. Aliases so as not to change the table name or the column names permanently. An Alias can be created by using AS keyword. Syntax to write

Read More »

SQL Syntax

The operation performed on the databases uses some set rules and guidelines that are known as SQL Syntax. These set rules and guidelines are not case-sensitive. These syntaxes are defined by ISO and ANSI standards. Let’s look up some important features of Syntax – The syntax is not case-sensitive which means the keywords used in syntax can be easily written

Read More »

SQL AND Operators

The AND operator is used to check different conditions provided in the WHERE clause and if the condition returns to be not matched then the result turns out to be ‘NULL’. Specifically AND is used to compare multiple conditions provided to get the result. The results are only available when all the conditions placed with AND are true. It allows

Read More »

SQL OR Operator

The OR operator is used to operate multiple statements in the WHERE clause. The results are returned when anyone conditions mentioned within OR Operator are true. These operators are used to combine multiple statements in SQL. Syntax of OR Operator SELECT column1,column2,column3,…,columnN FROM table_name WHERE condition1 OR condition2….OR conditionN Here, as in the syntax shown, in the WHERE clause, we

Read More »

SQL LIKE Operator

The LIKE operators are often used in the WHERE clause to search for a pattern specified with “LIKE”  in a column. There are some conjectures that are used with the LIKE operators. These wildcards are used with LIKE Operators in different combinations. Syntax of LIKE Operator –  SELECT column1,column2,column3,…,columnN FROM table_name WHERE columnN LIKE pattern ; Let’s see the purpose

Read More »
What is SQL ALL Operator and how to use it?

SQL ALL Operator

The ALL Operator in SQL is used to carry out the comparison between a single column with a range of values. The result obtained by this operator is in the boolean value. It returns TRUE if all the specified queries meet the condition. The ALL Operator can be used with SELECT, HAVING, and WHERE clauses. Syntax of ALL Operator(with SELECT

Read More »

SQL INSERT INTO SELECT STATEMENT

The SQL INSERT INTO SELECT is used when copying the selected columns from one table and inserting them into another table. The data types for the source and target tables must match for the SQL INSERT INTO SELECT query to work. Syntax of SQL INSERT INTO SELECT –  The SQL statement in this case moves all data from the Old

Read More »

SQL WHERE Clause

The SQL WHERE clause is used to specify a condition that further is used to fetch the data from a single or by joining multiple tables. When the condition aligned with the where clause is true then it returns the values from the table that matches that particular condition. The WHERE clause should be only when it is necessary. We

Read More »

What is RDBMS (Relational Database Management Systems)?

What is RDBMS? Well, technically it stands for Relational Database Management Systems. It is the name of the system used to store, administer, query, and retrieve data from a relational database (RDBMS). The RDBMS offers administrative features for controlling data storage, access, and performance as well as an interface between users, applications, and the database. This relational model was introduced

Read More »

Established in 2020, Lets Viz Technologies provides a full range of high-quality data analysis and data visualization services. We are also an authorized Zoho Partner.

 

Contact

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

+91-9560-300-962
info@lets-viz.com

We are Social

Trust Pilot Reviews