SQL Tutorial 2: Overview of SQL

  Рет қаралды 69,320

G C Reddy Software Testing

G C Reddy Software Testing

Күн бұрын

www.gcreddy.co...
Overview of SQL, Structured Query Language Syntax, SQL Data Types, SQL Operators, SQL Built in Functions, SQL Queries and Sub Queries. Data Definition Language, Data Manipulation Language and Data Control Language Commands.
Overview of Structured Query Language
• SQL (Structured Query Language) is a standard language for accessing databases.
• All Relational Database Management Systems like MS Access, MS SQL Server, Oracle, Sybase, MySQL, DB2
use SQL as standard database language.
i. Environment Setup
We can practice SQL Commands in any Database Management System, Install any Database Engine and
practice.
ii. SQL Syntax
• A database contains one or more tables. Each table is identified by a name, Tables contain records (rows.
with data.
• Most of the actions we need to perform on a database are done with SQL statements.
• SQL keywords are Not case sensitive: select is the same as SELECT
• All the SQL statements start with any of the keywords like SELECT, INSERT, UPDATE, DELETE etc...
and all the statements end with a semicolon (;., it is the standard way to separate SQL Statements.
iii. SQL Data Types
• A data type defines what kind of value a column can contain, we have to use data types while creating
database tables, choose a particular data type for a table column based on our requirement.
Example:
Character Data Types
Numeric Data Types
Date and Time Data Types Etc...
• Data Types vary from One Database Management System to another
iv. Operators
Operators are used to perform Arithmetic, Comparison and Logical Operations.
Categories of Operators in SQL
1. Arithmetic Operators
2. Comparison Operators
3. Logical Operators
v SQL Functions
SQL has many built-in functions for performing processing on data.
Categories of Built-in Functions in SQL
1. Aggregate Functions
2. String Functions
3. Date Functions Etc...
vi. Data Definition Language
The Data Definition Language (DDL) is used to create and destroy databases and database objects.
Important Operations
• Create Database
• Use Database (Specify the Database you wish to work with within your DBMS)
• Alter Database
• Drop Table, Drop Database
vii. Data Manipulation Language
The Data Manipulation Language (DML. is used to insert, retrieve and modify database information)
Important Operations
• Insert Records to an existing Table
• Retrieve the specific information from an operational database.
• Modify information contained within a Table.
• Delete information contained within a Table.
viii. Data Control Language
The Data Control Language (DCL) allows database administrators to configure security access to
relational databases.
Important Operations
• Provide access on the Database objects to the Users
• Remove User access rights to the Database Objects
• Deny Permissions to Users.
ix. SQL SELECT Statement
The SELECT statement is used to select data from a database.
• General Selection
• Conditional Selection Etc...
(We use clauses, Operators and keywords...)
x. SQL Joins
The SQL Joins clause is used to combine records from two or more tables in a database.
Different SQL Joins:
1. Inner Join
2. Left Join
3. Right Join
4. Full Join
----------------------------------------------------

Пікірлер: 31
@sudeepkumar1525
@sudeepkumar1525 4 жыл бұрын
G C Reddy Garu , Your way of presention is so Good and we can easily understand by your teaching.
@gcreddy
@gcreddy 4 жыл бұрын
Thank you,
@urvesh0607
@urvesh0607 5 жыл бұрын
This is so helpful for beginners. Thank you so much GC REDDY. Love from USA
@gcreddy
@gcreddy 5 жыл бұрын
Welcome
@coolvideos9773
@coolvideos9773 6 жыл бұрын
Sir you are full of knowledge. I am learning Selenium and SQL from your videos. Well explained. Excellent work and Keep it up Sir . Best wishes and prayers from Pakistan
@gcreddy
@gcreddy 6 жыл бұрын
Welcome and I Wish You A Bright Future...
@davidprasad65
@davidprasad65 6 жыл бұрын
Well done Sir, your lectures is doing a great job for me . Thank you !
@gcreddy
@gcreddy 6 жыл бұрын
Welcome
@mrleonardgonzalez
@mrleonardgonzalez 6 жыл бұрын
Thank you Reddy Sir, thank you for teaching the basics, your lessons are really simple and easy to understand. Keep up the good work. God bless.
@gcreddy
@gcreddy 6 жыл бұрын
Welcome...
@gcreddy
@gcreddy 8 жыл бұрын
Class Notes: SQL Tutorial 2: Overview of SQL ----------------------------------- > SQL (Structured Query Language) is a standard language for accessing databases. > All Relational Database Management Systems (RDBMS) like MS SQL Server, Oracle, MySQL, Sybase, DB2, MS Access use SQL as standard database language. ----------------------------------------------------- i) Environment Setup: We can practice SQL Commands in any Database Management System (Oracle/MySQL/MS SQL Server etc...), install Database Engine and practice. ----------------------------------------------------- ii) SQL Syntax > A Database contains one or more tables, each table is identified by a name, Tables contain Records (Rows) with data. > Most of the actions we need to perform on a Database are done with SQL Statements. > SQL Keywords are not case sensitive. Ex: select is the same as SELECT > All SQL Statements start with any of the keywords like SELECT, UPDATE, DELETE, INSERT etc... All Statements end with a semicolon (;), it is the standard way to separate SQL Statements --------------------------------------------------------------- iii) SQL Data Types > A Data type defines what kind value a column can contain, we have to use data types while creating database tables, choose a particular data type for a table column based on your requirement. Example: Character Data Types Numeric Data Types Date and Time Data Types Etc... Note: Data Types vary from One Database Management system to another. ----------------------------------------------------------------------------- iv) SQL Operators Operators are used to perform Arithmetic, Comparison and Logical Operations Categories of Operators in SQL: 1) Arithmetic Operators 2) Comparison Operators 3) Logical Operators ----------------------------------------------- v) SQL Functions SQL has many built in functions for performing processing on data. Categories of Built-in Functions 1) Aggregate Functions 2) String Functions 3) Date Functions Etc... ----------------------------------------------------- Subsets of SQL Data Definition Language Data Manipulation Language Data Control Language ---------------------------------------- vi) Data Definition Language The Database Definition Language (DDL) is used to create and destroy databases and database objects. Important Operations > Create Database > Use Database (Specify the Database you wish to work with within your Database management System) > Alter Database > Drop Table, drop Database -------------------------------------- vii) Data Manipulation Language The Data Manipulation Language (DML) is used to insert, retrieve and modify database information. Important Operations: > Insert Records to an existing Table > Retrieve the specific information from an operational database > Modify information contained within a Table > Delete Information contained within a Table ---------------------------------------------------------- viii) Data Control Language The Data Control Language (DCL) allows database administrators to configure security access to relational databases. Important Operations > Provide access on the Database objects to the Users > Remove User access rights to the Database objects > Deny permissions to Users -------------------------------------- ix) SQL SELECT Statement The Select statement is used to select data from a database > General Selection > Conditional Selection etc... (We use clauses, Operators and keywords etc...) x) SQL Joins The SQL Joins clause is used to combine records from two or more tables in a database, Types of Joins 1) Inner Join 2) Left Join 3) Right Join 4) Full Join ----------------------------------------------
@anurag1052
@anurag1052 8 жыл бұрын
Sir, please upload tutorial 3 for SQL & oblige. Thanks
@sunamkoirala3465
@sunamkoirala3465 8 жыл бұрын
We are waiting for more of yours SQL tutorial. Please upload it ASAP. :)
@chowdary_Chinna_VK
@chowdary_Chinna_VK 6 жыл бұрын
G C Redd
@maturimahesh6162
@maturimahesh6162 5 жыл бұрын
is this sql is used for tableau?
@absbristol
@absbristol 7 жыл бұрын
Well done Sir, your lectures is doing a great job for me x
@gcreddy
@gcreddy 7 жыл бұрын
Welcome
@chandus7307
@chandus7307 6 жыл бұрын
Thank you sir.that is very helpfull and Very good work done by you :)
@damayantimohanty9590
@damayantimohanty9590 7 жыл бұрын
so nice
@aditharun7354
@aditharun7354 5 жыл бұрын
Thank you Sir!
@gcreddy
@gcreddy 5 жыл бұрын
Welcome
@konduruvijaya4963
@konduruvijaya4963 6 жыл бұрын
very nice sir
@damayantimohanty9590
@damayantimohanty9590 7 жыл бұрын
very very nice
@kirangiri8394
@kirangiri8394 6 жыл бұрын
Sir if you have pdf file of tutorial then pls give me..
@gcreddy
@gcreddy 6 жыл бұрын
I don't have the pdf file for this tutorial, you can get the notes from this Video Page (I posted the tutorial notes as comment)
@vanshikagupta1758
@vanshikagupta1758 7 жыл бұрын
are these complete classes for SQL ?
@gcreddy
@gcreddy 7 жыл бұрын
No, Some more videos are there, I will add them in future.
@MrRcherukuri09
@MrRcherukuri09 7 жыл бұрын
what is phone number to reach you sir? or email
SQL Tutorial 3: SQL Environment Setup / MS SQL Server Installation
11:22
G C Reddy Software Testing
Рет қаралды 57 М.
Introduction to SQL | SQL Tutorial for Beginners | G C Reddy |
32:51
G C Reddy Software Testing
Рет қаралды 222 М.
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 7 МЛН
Girl, dig gently, or it will leak out soon.#funny #cute #comedy
00:17
Funny daughter's daily life
Рет қаралды 38 МЛН
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
Пришёл к другу на ночёвку 😂
01:00
Cadrol&Fatich
Рет қаралды 10 МЛН
SQL Tutorial 4: Database Fundamentals, and SQL Language Elements
1:11:49
G C Reddy Software Testing
Рет қаралды 52 М.
SQL - Data Definition Language
1:57:41
G C Reddy Software Testing
Рет қаралды 43 М.
SQL Crash Course - Beginner to Intermediate
58:39
Traversy Media
Рет қаралды 850 М.
SQL Tutorial for Beginners
44:57
Kevin Stratvert
Рет қаралды 2,1 МЛН
Database Lesson #1 of 8 - Introduction to Databases
38:43
Dr. Daniel Soper
Рет қаралды 1,2 МЛН
SQL - Data Manipulation Language
47:28
G C Reddy Software Testing
Рет қаралды 22 М.
SQL Server Management Studio (SSMS) | Full Course
1:22:44
Joey Blue
Рет қаралды 559 М.
Introduction to SQL / Structured Query Language
1:28:35
G C Reddy Software Testing
Рет қаралды 19 М.
The 25 SQL Questions You MUST Know for Data Analyst Interviews
32:47
KSR Datavizon
Рет қаралды 223 М.
Фейковый воришка 😂
00:51
КАРЕНА МАКАРЕНА
Рет қаралды 7 МЛН