for example I'd like to add comments like
** the purpose of this sql query is xyx . . .
SELECT DISTINCT G.elect_name, G.elect_date, G.elect_amt, H.unit_top_up
FROM elect AS G, unit AS H
WHERE G.elect_date =
( SELECT MAX( X.elect_date )
FROM elect AS X
WHERE X.elect_name = G.elect_name
and X.elect_date < Now() Or X.elect_date =
Now()
)
and G.elect_name = H.unit_name
and H.unit_top_up = '15th';