I have the following code:
my $terms = $dbh->prepare(" SELECT date, term, appId, sum(impressi
+ons), sum(clicks) FROM ?
WHERE appId = ?
GROUP BY HOUR(date), term, appId;
my $result = $terms->execute("`2010-07-22`", 3);
Question: When using a MySQL reserved word, you use grave's around the reserved word. In my case, I have tables that are named in a standard MySQL timestamp.
How do I use the prepare statement properly to include the graves? Everything I have tried results in an error.