UPDATE JOIN SQL statement with JMP tables
Hi, I would like to update via SQL statement the :age column in dt1 with the values of dt2. dt1 = Open( "$SAMPLE_DATA/Big Class.jmp", output table("t1"));
dt2 = subset(dt1);
dt2:age[1] = 99;
Query(
Table( dt1, "t1" ),
Table( dt2, "t2" ),
"\[
UPDATE t1
SET
t1.age = t2.age
FROM
t1
INNER JOIN
t2
ON
t1.name = t2.name
]\"
);
I got an syntax error near "." Thanks