Hello All. I’m new here and new to Base, so please be a bit patient with me. I am developing a database to help run my family farm. I have created a table for planting which is the problem now. I want to input the date something was planted, and have the database generate the harvest date by adding the # of days it takes a given plant to mature. I keep getting syntax errors. This is the sql code I have tried so far…any help will be appreciated.
SELECT
"Plants"."PlantName"
, "Plants"."Variety"
, "Planting"."LocationPlanted"
, "Planting"."QtyPlanted"
, "Planting"."DatePlanted"
, "Planting"."TimeToMaturity"
, "DatePlanted" + "TimeToMaturity" AS "Harvest Date"
FROM “Planting”,
WHERE “Planting”.“PlantID” = “Plants”.“PlantID”
and ‘DatePlanted’ + ‘TimeToMaturity’ >= 'Current_Date
