Neil.Lv
unread,Nov 9, 2009, 1:44:38 AM11/9/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Lift
Hi all,
There is some example code:
###
SELECT id, name, sex, created_at, DAYOFWEEK(created_at,) as week,
(CURRENT_DATE) as t
FROM users
WHERE created_at > (CURRENT_DATE ) AND created_at < (CURRENT_DATE +
interval 2 day)
ORDER BY created_at ASC
###
How can i specify the SELECT statement that i don't want all the
columns and i want add the column as week
in the example code ?
Any help would be much appreciated!
Cheers,
Neil