sql meaing code example

Example 1: what is sql

SQL stands for:
Structured Query Language

It's language which enables a user to create,
modify and essentially interact with a database.
As a tester we are usually using Data manipulation
language part of SQL

SQL has 2 parts:
1-DATA MANIPULATION LANGUAGE
It is used to add, retrieve or update the data.
= insert, select, update, delete

2-DATA DEFINITION LANGUAGE
It is used to create database schema and can
be used to define some constraints as well.	
=create, alter, drop, truncate

create table
create window etc.

Example 2: whats sql

SQL stands for Structured Query Language. It’s the language of choice on today’s web for storing,
manipulating and retrieving data within relational databases. Most, if not all of the websites you visit
will use it in some way.
Using SQL, you are able to interact with the database by writing queries, which when executed,
return any results which meet its criteria.