update tableA set Gender = (case gender ='Male' then 'Female' else 'Male' end)
Subscribe to:
Post Comments (Atom)
How to use SQL pagination using LIMIT and OFFSET
How to extract just a portion of a larger result set from a SQL SELECT. LIMIT n is an alternative syntax to the FETCH FIRST n ROWS ONLY. T...
-
Difference Between Primary key & Foreign key Primary Key Foreign Key Helps you to uniquely identify a record in the table. It is...
-
Ans: A trigger is a special kind of Stored Procedure or stored program that is automatically fired or executed when some event (insert, d...
-
A tuple is a data structure that contains a sequence of elements of different data types. It can be used where you want to have a data s...
No comments:
Post a Comment