SlideShare a Scribd company logo
Interacting with
My-SQL Database
By,
Vikas S Kumar
Software Engineer
• Go to start and type mysql
client
• Select MySQL Command
Line Client
• Press enter
• The client window opens
Select mysql client
Give the password (Which you had given while installing)
• Data base has to be created before creating table
• All your tables will be created inside the database
• You can create as many number of database as you want
• Command
• create database <data-Base-Name>;
• Eg : create database vikas;
Create data base
• To execute any queries first we need to connect to database
• After connecting to database we can execute any queries
• To create table
• Insert data
• Delete data
• Update data
• Connect to database
• syntax: connect <data-base-name>;
Connect to database
• Create table
Syntax : create table <table-name> (column_1_name
datatype (size),column_2_name datatype (size),….);
• Insert data
• Syntax : insert into <table-name>
values(‘value1’,’value1’,……)
• If you are inserting the string or alpha value the value
should be encoded inside the single quotes ‘ ‘ Eg: ‘vikas’
• If the value is numeric it can be written with out single
quotes.
• To display the data
• Select * from <table-name>;
• To display only name
• To display only name and rol number
• To display all columns
• Update
• Syntax : update <table-name> set <column-name>=NewValue where <column-
name>=value;
• After update
• Delete
• Syntax : delete from <table-name> where <column-
name>=value;
• After delete

More Related Content

PPTX
No SQL
PPTX
MSSQL SERVER
KEY
Sharding
PPTX
Stack sync using openstack
PPTX
Diving into sql server 2016
PPT
Jsp applet
PDF
Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...
PPTX
CASD Research Writing Workshop.KA.2016.
No SQL
MSSQL SERVER
Sharding
Stack sync using openstack
Diving into sql server 2016
Jsp applet
Optimizing Your Workforce Productivity & Retention - Human Capital Insights -...
CASD Research Writing Workshop.KA.2016.

Viewers also liked (16)

PDF
CAN A FOREST BE CREATED WITH RECYCLING
PDF
見守りサービスMiimaミーマ 資料
PPT
poster-linked
PDF
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
PDF
Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?
PPTX
Challenges and Best Practices of Database Continuous Delivery
PDF
Oracle Engineered Systems - Chance oder Risiko?
PDF
Datenbank-Refactoring mit LiquiBase
PPS
QSpiders - Variable Length-Subnet-Masks
PPT
Liquibase – a time machine for your data
PPSX
New features of sql server 2016 bi features
PPTX
NoSQL Data Architecture Patterns
PPT
01 リスティング広告マニュアル 基礎編
PDF
Dan seracu autocontrolul pas cu pas
PDF
高速移動網路新時代 - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...
PDF
コンテンツ マーケティング革命
CAN A FOREST BE CREATED WITH RECYCLING
見守りサービスMiimaミーマ 資料
poster-linked
Trivadis TechEvent 2016 A few thoughts on the subject Continuous integration ...
Lizenzfallen aus der Praxis - Was ist denn jetzt mit der Virtualisierung?
Challenges and Best Practices of Database Continuous Delivery
Oracle Engineered Systems - Chance oder Risiko?
Datenbank-Refactoring mit LiquiBase
QSpiders - Variable Length-Subnet-Masks
Liquibase – a time machine for your data
New features of sql server 2016 bi features
NoSQL Data Architecture Patterns
01 リスティング広告マニュアル 基礎編
Dan seracu autocontrolul pas cu pas
高速移動網路新時代 - 雲端與物聯網發展新趨勢 (An Integration Trend of Terminal Devices, IoT and C...
コンテンツ マーケティング革命
Ad

Similar to QSpiders - Interacting with My SQL Database (20)

PDF
working with database using mysql
PDF
Php, mysq lpart5(mysql)
PPTX
Using Mysql.pptx
PPT
MySql slides (ppt)
PDF
mysqlanditsbasiccommands-150226033905-conversion-gate02.pdf
PPT
MySQL and its basic commands
PPTX
Introduction To MySQL Lecture 1
PPT
MySQL Database System Hiep Dinh
PPT
mysqlHiep.ppt
PPTX
Getting Started with MySQL I
PDF
MySQL for beginners
PPTX
Mysql-overview.pptx
PPT
My sql with querys
PPT
PPTX
ADV PPT 2 LAB.pptx
PPTX
MySQL Essential Training
PDF
Class XII-UNIT III - SQL and MySQL Notes_0.pdf
PDF
ADBMS unit 1.pdfsdgdsgdsgdsgdsgdsgdsgdsg
PDF
Chapter – 6 SQL Lab Tutorial.pdf
PDF
Introduction to MySQL and introduction to basic queries
working with database using mysql
Php, mysq lpart5(mysql)
Using Mysql.pptx
MySql slides (ppt)
mysqlanditsbasiccommands-150226033905-conversion-gate02.pdf
MySQL and its basic commands
Introduction To MySQL Lecture 1
MySQL Database System Hiep Dinh
mysqlHiep.ppt
Getting Started with MySQL I
MySQL for beginners
Mysql-overview.pptx
My sql with querys
ADV PPT 2 LAB.pptx
MySQL Essential Training
Class XII-UNIT III - SQL and MySQL Notes_0.pdf
ADBMS unit 1.pdfsdgdsgdsgdsgdsgdsgdsgdsg
Chapter – 6 SQL Lab Tutorial.pdf
Introduction to MySQL and introduction to basic queries
Ad

More from Qspiders - Software Testing Training Institute (20)

PPS
QSpiders - Unix Operating Systems and Commands
PPS
QSpiders - Upper layer-protocols
PPTX
QSpiders - Day1 Network Basics
PPTX
QSpiders - Aptitude Assignments
PPTX
PPTX
QSpiders - Chapter 7 Debugging
PPTX
QSpiders - Chapter 4 Checkpoints
PPTX
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
PPTX
QSpiders - Wonderlic Sample Question
PPTX
QSpiders - Chapter- 3 Synchronization point
PPTX
QSpiders - Presentation JMeter
PPTX
QSpiders - Memory (JVM architecture)
PPTX
QSpiders - Jdk Jvm Jre and Jit
PPTX
QSpiders - Simple replay and run time settings Loadrunner
PPTX
PPTX
QSpiders - Introduction to HP Load Runner
PPT
QSpiders - Automation using Selenium
PPTX
QSpiders - Server Architecture
PPTX
QSpiders - Installation and Brief Dose of Load Runner
QSpiders - Unix Operating Systems and Commands
QSpiders - Upper layer-protocols
QSpiders - Day1 Network Basics
QSpiders - Aptitude Assignments
QSpiders - Chapter 7 Debugging
QSpiders - Chapter 4 Checkpoints
QSpiders - Simple Recording and Configuration of recording options for HP Loa...
QSpiders - Wonderlic Sample Question
QSpiders - Chapter- 3 Synchronization point
QSpiders - Presentation JMeter
QSpiders - Memory (JVM architecture)
QSpiders - Jdk Jvm Jre and Jit
QSpiders - Simple replay and run time settings Loadrunner
QSpiders - Introduction to HP Load Runner
QSpiders - Automation using Selenium
QSpiders - Server Architecture
QSpiders - Installation and Brief Dose of Load Runner

Recently uploaded (20)

PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Cell Types and Its function , kingdom of life
PPTX
Cell Structure & Organelles in detailed.
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
01-Introduction-to-Information-Management.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Microbial disease of the cardiovascular and lymphatic systems
102 student loan defaulters named and shamed – Is someone you know on the list?
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Cell Types and Its function , kingdom of life
Cell Structure & Organelles in detailed.
Basic Mud Logging Guide for educational purpose
Final Presentation General Medicine 03-08-2024.pptx
PPH.pptx obstetrics and gynecology in nursing
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Renaissance Architecture: A Journey from Faith to Humanism
01-Introduction-to-Information-Management.pdf
Classroom Observation Tools for Teachers
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
human mycosis Human fungal infections are called human mycosis..pptx
O5-L3 Freight Transport Ops (International) V1.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Module 4: Burden of Disease Tutorial Slides S2 2025
Microbial disease of the cardiovascular and lymphatic systems

QSpiders - Interacting with My SQL Database

  • 1. Interacting with My-SQL Database By, Vikas S Kumar Software Engineer
  • 2. • Go to start and type mysql client • Select MySQL Command Line Client • Press enter • The client window opens Select mysql client
  • 3. Give the password (Which you had given while installing)
  • 4. • Data base has to be created before creating table • All your tables will be created inside the database • You can create as many number of database as you want • Command • create database <data-Base-Name>; • Eg : create database vikas; Create data base
  • 5. • To execute any queries first we need to connect to database • After connecting to database we can execute any queries • To create table • Insert data • Delete data • Update data • Connect to database • syntax: connect <data-base-name>; Connect to database
  • 6. • Create table Syntax : create table <table-name> (column_1_name datatype (size),column_2_name datatype (size),….);
  • 7. • Insert data • Syntax : insert into <table-name> values(‘value1’,’value1’,……) • If you are inserting the string or alpha value the value should be encoded inside the single quotes ‘ ‘ Eg: ‘vikas’ • If the value is numeric it can be written with out single quotes.
  • 8. • To display the data • Select * from <table-name>; • To display only name • To display only name and rol number • To display all columns
  • 9. • Update • Syntax : update <table-name> set <column-name>=NewValue where <column- name>=value; • After update
  • 10. • Delete • Syntax : delete from <table-name> where <column- name>=value; • After delete