adspace
how to calculate the difference between two dates? : Sql dba
Answer Posted / Sandeep Bhatnagar
To calculate the difference between two dates in MySQL, you can use the DATEDIFF() function. Example: SELECT DATEDIFF('2023-05-15', '2023-04-15'); will return 30.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we use distinct and group by together?
what is schema? : Sql dba
what is sql server agent? : Sql dba
how many tables will create when we create table, what are they? : Sql dba
Is primary key clustered index?
how to use regular expression in pattern match conditions? : Sql dba
Is primary key always clustered index?
what are the advantages of sql ? : Sql dba
Does group by remove duplicates?
Can we rollback truncate?
how to start mysql server? : Sql dba
what is dbms? : Sql dba
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
If a cursor is open, how can we find in a pl/sql block?
what is collation? : Sql dba