Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
60 views
5 pages
SQL For Beginners
Uploaded by
Patrick Naggar
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save SQL for Beginners For Later
Download
Save
Save SQL for Beginners For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
60 views
5 pages
SQL For Beginners
Uploaded by
Patrick Naggar
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save SQL for Beginners For Later
Carousel Previous
Carousel Next
Download
Save
Save SQL for Beginners For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 5
Search
Fullscreen
[Basic SAL for Begunwers what i¢ SQL? @ rect Kanth SQL Stands for Shuckwred gong Language DE ig used for Storing and manogind “data in xcl- ational data, base management Sxyctem (2DBM=), SAL commands . © Sevect- Fatvach data tom Serect Columms £xample dactabate. The following SAL Statemenb The data velarned is gtoved| Selects the “customer WN , - a seals TMs catted “aty ", ard " couritiy "columns Mesut -Dets from the “Customers” table: SELect Syntax Example SELECT column, columnp,.-] [Sevett Customer Name, City , FRom tabte_name, Country FRM customers 5 Here, column ,tolumn2,..... @UPDATE- updates dala a the fied names oe a database. ble you want to Seleck the uppare statement is data “from. Df you wart — used to modify “the existing to Select atl the’ felds ami- yecords in a table. lable in the table, ux the Uppy following Syntant: eevee Syoiy : Select ' Prom table. nome@ INSERT INTO- inserts Example new data into a databa. UPDATE Customer } in a table. @ Detete- delela data = INSERT TNTO Syntar from a databate. a i ean is poscible to wiile the The DELETE Statement ig TASeeT INTO Statemunt in feo wed to delete enisting WOys: records int) a table % heii bath the column 2 nama and the value to be DELETE Syntoe | inserted: DELETE FROM table_name INSEET INTO table nome WHERE condition ¢ Ccolumny, column2, colunma,.....) Vanue . Example UES (valuel, values, valurs,...) DELETE FROM customer WHERE Customer name = “kant; INseeT INT table_name | \VALves (value, Valuer, values, )3 < ssK Wlow- bepec. inExomple @AlttTer tase = - ——___ | Modifies a table InseeT Into customers Ceustomey Name, contact Name, Address, city , postal code, Te ued to add, del, o County’) | | Modify column in an evating Varves (“anth’, ‘Tom B., | Fable. And alo used to add | Sdrop vavious conshaints on ahem “HOS eiliding table, e ALTER TABLE - ADD Column Te DATABAS CREATE DATieese~ ALTER TABLE table _ name Creates a Qa New “ee base. . Ee ADD colurmn_name datertippe ; statement’ ts uted to onal Example @ New Gar Database. ALTER Taaie cultomou Syntax i“ Email yaychet (255); CREATE DATABASE ALTER Ta TABLE table name Exomple DRoP Column Column name, [create paTaBese tet DB] — Fxomple WER TABLE customers DROP coLuMN Emails [aa 3 7© Create TABLE - Creates a new table. The ¢ 26 e @ DeoP. TABLE- Deletes, a 1 table. i8 uted to create a noo i he to table ina databaue. Syntow p an envsting table in a data bue. Syntax | CReate TABLE table name (| Dep TABLE table vame; Column data tape, Columne data type, Cotumn3 data tape, de Exom ple ae CREATE TABLE Porson ( Person£D int, hast Nome Vavchas (255), Fivst Nome verchos (295) Addvess vatchas (5), 9 city varchar Co55) > | Example @ cReme Pndex- creates an Tn. Cech ht) is wed D orate Lrdenes in table. Indeves ave wed to vetview data fom “tw data boleThe wow cannot see @ DROP TNDEx - the indews » they are jut wed to “fe up ime gpusnies deletes an Tndexw ROP Index Statement ‘ a to ddele an mdot ina table, dntos, CREATE INDEY Inden_nome} ON toble name Alte? TABLE table_ name (column, column’,-)} PROP INDEX i ndex_Names Frample CREATE TuDE~ idx tostro ON Person (east Nome First Name); { seme x www. bepec.in
You might also like
SQL Cheat Sheet
PDF
No ratings yet
SQL Cheat Sheet
15 pages
Learn SQL - Manipulation Cheatsheet - Codecademy
PDF
No ratings yet
Learn SQL - Manipulation Cheatsheet - Codecademy
2 pages
CompTIA A+ 1001 Practice Questions - Sample Questions - Training - CompTIA
PDF
No ratings yet
CompTIA A+ 1001 Practice Questions - Sample Questions - Training - CompTIA
5 pages
SQL Cheatsheet Zero To Mastery V1.01
PDF
No ratings yet
SQL Cheatsheet Zero To Mastery V1.01
19 pages
SQL Quick Reference
PDF
No ratings yet
SQL Quick Reference
6 pages
Learn SQL - Queries Cheatsheet - Codecademy
PDF
No ratings yet
Learn SQL - Queries Cheatsheet - Codecademy
5 pages
SQL Learining Resources
PDF
No ratings yet
SQL Learining Resources
3 pages
SQL Cheatsheet
PDF
No ratings yet
SQL Cheatsheet
16 pages
SQL Quick Reference by Tableau Gurus
PDF
No ratings yet
SQL Quick Reference by Tableau Gurus
7 pages
SQL Programming For Beginners The Ultimate Beginners Guide To Analyze and Manipulate Data With SQL (2020)
PDF
100% (1)
SQL Programming For Beginners The Ultimate Beginners Guide To Analyze and Manipulate Data With SQL (2020)
88 pages
Scripting Guide PDF
PDF
No ratings yet
Scripting Guide PDF
253 pages
DataStage Stages 12-Dec-2013 12PM
PDF
No ratings yet
DataStage Stages 12-Dec-2013 12PM
47 pages
Unit 3 - OLAP
PDF
No ratings yet
Unit 3 - OLAP
107 pages
CISSP Exam Cram, 5th Edition Michael Gregg [Michael Gregg]instant download
PDF
100% (2)
CISSP Exam Cram, 5th Edition Michael Gregg [Michael Gregg]instant download
49 pages
Database Objective Type Questions
PDF
No ratings yet
Database Objective Type Questions
17 pages
SQL Fundamentals
PDF
No ratings yet
SQL Fundamentals
61 pages
NetworkPlus_N10-009_StudyChecklist
PDF
No ratings yet
NetworkPlus_N10-009_StudyChecklist
4 pages
Python Programming
PDF
No ratings yet
Python Programming
17 pages
Database Management System1
PDF
No ratings yet
Database Management System1
11 pages
SQL - Quick Guide
PDF
No ratings yet
SQL - Quick Guide
163 pages
Dbms Unit-5 Notes
PDF
100% (2)
Dbms Unit-5 Notes
27 pages
Download full OCA Oracle Database SQL Exam Guide (Exam 1Z0-071) 1st Edition Steve O’Hearn ebook all chapters
PDF
100% (6)
Download full OCA Oracle Database SQL Exam Guide (Exam 1Z0-071) 1st Edition Steve O’Hearn ebook all chapters
55 pages
Sophia Introduction To Programming With Python Syllabus
PDF
No ratings yet
Sophia Introduction To Programming With Python Syllabus
4 pages
SQL Cheat Sheet
PDF
No ratings yet
SQL Cheat Sheet
11 pages
SQL Learning Roadmap for Beginners
PDF
No ratings yet
SQL Learning Roadmap for Beginners
3 pages
SQL Subquery
PDF
No ratings yet
SQL Subquery
7 pages
CS8492 Database Management System Unit I
PDF
No ratings yet
CS8492 Database Management System Unit I
178 pages
Tcp/ip Problems
PDF
No ratings yet
Tcp/ip Problems
23 pages
SQL Joins
PDF
No ratings yet
SQL Joins
12 pages
Ruby On Rails: Database Indexing Techniques
PDF
No ratings yet
Ruby On Rails: Database Indexing Techniques
19 pages
Presentation ON RDBMS: Submitted By-Dilpreet Singh Joginder Singh Class - Mba (Bu) 3 SEM
PDF
100% (3)
Presentation ON RDBMS: Submitted By-Dilpreet Singh Joginder Singh Class - Mba (Bu) 3 SEM
11 pages
SQL Server Automation (Maintenance Plan)
PDF
No ratings yet
SQL Server Automation (Maintenance Plan)
18 pages
Chapter 05 Database Systems and Applications
PDF
100% (1)
Chapter 05 Database Systems and Applications
20 pages
Intro To Information Technology
PDF
No ratings yet
Intro To Information Technology
96 pages
Using Basic Structured Query Language
PDF
No ratings yet
Using Basic Structured Query Language
55 pages
SQL Beginners Class One
PDF
No ratings yet
SQL Beginners Class One
26 pages
SQL Tutorial PDF
PDF
No ratings yet
SQL Tutorial PDF
31 pages
Manual Informatica Powercenter
PDF
No ratings yet
Manual Informatica Powercenter
318 pages
SQL Basic: SQL Introduction SQL Select SQL Where SQL Insert Into SQL Update SQL Delete
PDF
No ratings yet
SQL Basic: SQL Introduction SQL Select SQL Where SQL Insert Into SQL Update SQL Delete
23 pages
100 SQL Oracle
PDF
No ratings yet
100 SQL Oracle
30 pages
SQL Server Certification
PDF
50% (2)
SQL Server Certification
9 pages
Mana Mohan R
PDF
No ratings yet
Mana Mohan R
147 pages
DBMS Unit1
PDF
No ratings yet
DBMS Unit1
48 pages
SQL Cleaning Data
PDF
No ratings yet
SQL Cleaning Data
7 pages
SQL Interview Question
PDF
No ratings yet
SQL Interview Question
2 pages
SQL
PDF
No ratings yet
SQL
141 pages
Network Security
PDF
No ratings yet
Network Security
28 pages
07 - Using Table Expressions
PDF
100% (1)
07 - Using Table Expressions
18 pages
The Relational Database Model
PDF
No ratings yet
The Relational Database Model
36 pages
MySQL SubQuery Tutorial With Examples
PDF
No ratings yet
MySQL SubQuery Tutorial With Examples
3 pages
Foreign Keys Prevents Any Actions That Would Destroy Links Between Tables With
PDF
100% (1)
Foreign Keys Prevents Any Actions That Would Destroy Links Between Tables With
22 pages
SQL Subqueries
PDF
No ratings yet
SQL Subqueries
5 pages
DDL - Data Definition Language
PDF
No ratings yet
DDL - Data Definition Language
9 pages
SQL Joins
PDF
No ratings yet
SQL Joins
17 pages
SQL Introduction
PDF
No ratings yet
SQL Introduction
96 pages
DBMS Notes
PDF
No ratings yet
DBMS Notes
3 pages
SQL Commands List
PDF
No ratings yet
SQL Commands List
12 pages
SQL Server - Error Codes
PDF
100% (7)
SQL Server - Error Codes
6 pages
SQL Tutorial
PDF
No ratings yet
SQL Tutorial
8 pages
?basics of SQL? Series - 2 Part - 1
PDF
No ratings yet
?basics of SQL? Series - 2 Part - 1
7 pages
Atm Hacking
PDF
100% (1)
Atm Hacking
21 pages
1670911992314-Privacy and Security Aspects of 5G Technology
PDF
No ratings yet
1670911992314-Privacy and Security Aspects of 5G Technology
63 pages
1671096995786-Tale of Phishing
PDF
No ratings yet
1671096995786-Tale of Phishing
16 pages
1671434977811-WAF Bypass Methods Techniques
PDF
No ratings yet
1671434977811-WAF Bypass Methods Techniques
15 pages