Grokking SQL for Tech Interviews
Ask Author
Back to course home

0% completed

UPDATE
Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

UPDATE

The UPDATE statement in SQL is used to modify existing records in a table. It allows you to change the values of one or more columns in a specific row.

The basic syntax for the UPDATE statement is as follows:

UPDATE table_name SET column1 = value1, column2 = value2, ... WHERE condition;

Let's break down the components of the UPDATE statement:

  • UPDATE: This keyword indicates that you want to update existing records in a table.
  • table_name: Specifies the name of the table.
  • SET: This keyword is followed by a list of columns and their new values

.....

.....

.....

Like the course? Get enrolled and start learning!

Table of Contents

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible

Contents are not accessible