How would you Update the rows which are divisible by 10,
given a set of numbers in column?
Answers were Sorted based on User's Feedback
Answer / pandian s
UPDATE TableName SET Column1 = <Value>
WHERE ColumnName % 10 = 0
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / bala
update <table> set <col> = <value> where round(<col>/10,0)
= (<col>/10)
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / picture12345
select * from TableName where ColumnName%10=0
| Is This Answer Correct ? | 7 Yes | 10 No |
How to link up the text file to a Database table?
Write a SQL query in order to merge two different columns into single column?
In performance wise distinct is good or group by is good? eg:select name from emp group by name; select distinct name from emp;
Tell me the use of keyword with encryption. Create a store procedure with encryption?
Why is replication required on the sql server?
What is sql server profiler?
Define inner join? Explain with an example?
What is the use of partition by in sql server?
What are the different types of join?
Write an sql query to find the names of employees start with ‘a’?
How can I create a report based on a query? : sql server management studio
What is the difference between grant and with grant while giving permissions to the user?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)