MeetCode
Update a single row
C
C++
Computer Mathematics
CSS
DSA
HTML
Java
JavaScript
NodeJS
PHP
Programming Interview
Python
ReactJS
SQL
Run
Submit
Dark
Problem Statement
Solutions
Submissions
Update a single row
Easy
SQL
DML
19 views
Explanation
Complexity
Problem Statement
Update customer city to 'Delhi' where customer_id=101.
Input Format
SQL DML
Output Format
DML statement(s)
Example
Input
Customers
Output
Row updated
Constraints
None
Input / Output Format
Input Format
SQL DML
Output Format
DML statement(s)
Constraints
None
Examples
Input:
Customers
Output:
Row updated
Example Solution (Public)
SQL
UPDATE Customers SET city = 'Delhi' WHERE customer_id = 101;
Official Solution Code
Wrap
Copy
UPDATE Customers SET city = 'Delhi' WHERE customer_id = 101;
Please
login
to submit solutions.
Editor
C
C++
Computer Mathematics
CSS
DSA
HTML
Java
JavaScript
NodeJS
PHP
Programming Interview
Python
ReactJS
SQL
Test Cases
Output
Submission Result
Input
Customers
Expected Output
Row updated
Compile Output
Error
Output
Please
login
to submit solutions.