I can not get this to run, in MYSQL DATE_ISSUED is a column that exists that I need the year to add to so I am confused as to why this format is not working please advise.SELECT O.OWNER_ID,O.EMAIL,V.PERMIT_ID,V.PERMIT_DATEFROM OWNER O, VEHICLE V(SELECT DATE_ADD (DATE_ISSUED + INTERVAL 1 YEAR)ORDER BY LAST_NAME, FIRST_NAME, PERMIT_ID);
Hi, try ...DATE_ADD(DATE_ISSUED,INTERVAL 1 YEAR)... Code (markup): Don't use + or - : date_add ads interval, date_sub subtracts. Regards
In addition to the above comment, it looks like your query needs to be modified as well, it doesn't look like a complete query, the main query and sub select are missing "from."