Sharp Tutorial
Update query in sql

Python

Java

C

C++

HTML/CSS

Java Script

PHP

SQL

C Programs

SQL

  • SQL home
  • SQL introduction
  • SQL install and Run
  • create table
  • drop table
  • alter table
  • Insert into table
  • select query
  • Where Clause
  • Order By /Group By
  • Delete Query
  • Update query
  • Aggregate Function
  • Join Tables
  • SQL Examples
  • SQL Exercise

DBMS

update query in sql

Update Query may be used to update the existing records in a given table.To update only selected records where clause may also be used in the query as in case of delete query.

Update Query Syntax:

update table-name 

set column-name=new value ,column-name=new value,…………  where clause(optional);

SQL Delete Query as following

 
    update student set address='delhi' , fee=30000 where course='bca'  
 

Above query update the address to delhi and fee to 30000 where course is bca.

Enquiry about Course

Ask your Question

Click Here

Sharp (2) Tutorials

Video/ C Introduction

Watch video in full size

Video tutorial

Follow by Email
Facebook
Facebook
fb-share-icon
YouTube
Copyright © Sharp Tutorial
Build with WordPress
Wordpress Social Share Plugin powered by Ultimatelysocial
Sharp Tutorial