Suppose I have this query:
SELECT CURRENT_DATE-DOB as age FROM customerDetails
WHERE customerid = (SELECT max(customerid) FROM
customerDetails)
which in SQLTE3 converted a customers date of birth in the format e.g. 2002-08-11 (as a date field) into their current age, e.g. 17, could I repeat the same logic for an MYSQL query...
Is the syntax different...because the same query produces this when ran in MYSQL Workbench rather than DB Broswswer for SQLite3
20198120