adspace


how to decrement dates by 1 in mysql? : Sql dba

Answer Posted / Akhilesh Kumar Yadav

To decrement dates by 1 in MySQL, you can use the DATE_SUB() function.nn```sqlnSELECT DATE_SUB(date_column, INTERVAL 1 DAY);n```

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we rollback truncate?

1083


What is your daily office routine?

2353


Is primary key clustered index?

1028


what are all the common sql function? : Sql dba

1141


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2102


Does group by remove duplicates?

1120


What is the current version of postgresql?

1188


what is collation? : Sql dba

1242


what is bcp? When does it used? : Sql dba

1065


Can we use distinct and group by together?

1146


what is sql server agent? : Sql dba

1189


If a cursor is open, how can we find in a pl/sql block?

1252


Is primary key always clustered index?

1101


how to use regular expression in pattern match conditions? : Sql dba

1125


how many tables will create when we create table, what are they? : Sql dba

1156