how to calculate the difference between two dates? : Sql dba
Answer / 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 |
What is the syntax to add a record to a table?
What is nvl function?
What is normalization ?
9 Answers BirlaSoft, CTS, HCL,
which will fire first ? Trigger or Constraint
24 Answers i2, IBM,
how would you write a query to select all teams that won either 2, 4, 6 or 8 games? : Sql dba
Does oracle use sql?
What is an index? What are the types of indexes? How many clustered indexes can be created on a table?
while loading data into database how can u skip header and footer records in sql*loader
Can we connect to postgresql using sql developer?
What is trigger in sql and its types?
What is NOCOPY?
Why is sharding used?
Oracle (3253)
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)